@hhgtech/hhg-components 1.27.133 → 1.27.135
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 +24 -24
- package/build/cache/index.d.ts +1 -1
- package/build/cache.js +1 -1
- package/build/care/api/utils.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/index.d.ts +3 -3
- package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/reducer.d.ts +3 -3
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/searchResults/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/searchResults/mockData.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/useSearchBarApi.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBarV2/index.d.ts +4 -4
- package/build/care/components/organisms/bookingSearchBarV2/reducer.d.ts +3 -3
- package/build/care/components/organisms/bookingSearchBarV2/searchInputs/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBarV2/searchLocation/index.d.ts +3 -3
- package/build/care/components/organisms/bookingSearchBarV2/searchResult/index.d.ts +3 -3
- package/build/care/components/organisms/bookingSearchBarV2/searchResultSpecialties/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBarV2/searchSpecialty/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBarV2/searchTag/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBarV2/useSearchBarApi.d.ts +3 -3
- package/build/care/index.d.ts +4 -4
- package/build/care/interfaces/constants.d.ts +2 -2
- package/build/care/interfaces/types.d.ts +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/authorBadge/index.d.ts +1 -1
- package/build/components/atoms/badge/index.styled.d.ts +1 -1
- package/build/components/atoms/borderHeading/index.d.ts +1 -1
- package/build/components/atoms/displayWrapper/index.d.ts +1 -1
- package/build/components/atoms/divider/index.styled.d.ts +1 -1
- package/build/components/atoms/drawer/helpers.d.ts +1 -1
- package/build/components/atoms/drawer/index.styled.d.ts +1 -1
- package/build/components/atoms/dropdownMB/index.d.ts +1 -1
- package/build/components/atoms/genderOptionControl/index.d.ts +1 -1
- package/build/components/atoms/icons/ACharacter.d.ts +1 -1
- package/build/components/atoms/icons/Activities.d.ts +1 -1
- package/build/components/atoms/icons/ArrowDown.d.ts +1 -1
- package/build/components/atoms/icons/ArrowLeft.d.ts +1 -1
- package/build/components/atoms/icons/ArrowRight.d.ts +1 -1
- package/build/components/atoms/icons/ArrowRightTail.d.ts +1 -1
- package/build/components/atoms/icons/Article.d.ts +1 -1
- package/build/components/atoms/icons/Ask.d.ts +1 -1
- package/build/components/atoms/icons/BabyBoyMB.d.ts +1 -1
- package/build/components/atoms/icons/BabyGirlMB.d.ts +1 -1
- package/build/components/atoms/icons/BarChart.d.ts +1 -1
- package/build/components/atoms/icons/Booking.d.ts +1 -1
- package/build/components/atoms/icons/Bookmark.d.ts +1 -1
- package/build/components/atoms/icons/Boy.d.ts +1 -1
- package/build/components/atoms/icons/Business.d.ts +1 -1
- package/build/components/atoms/icons/Calendar.d.ts +1 -1
- package/build/components/atoms/icons/CalendarMB.d.ts +1 -1
- package/build/components/atoms/icons/CameraCircle.d.ts +1 -1
- package/build/components/atoms/icons/Chat.d.ts +1 -1
- package/build/components/atoms/icons/Check.d.ts +1 -1
- package/build/components/atoms/icons/CheckActiveMB.d.ts +1 -1
- package/build/components/atoms/icons/CircleBorder.d.ts +1 -1
- package/build/components/atoms/icons/Clickable.d.ts +1 -1
- package/build/components/atoms/icons/ClinicPin.d.ts +1 -1
- package/build/components/atoms/icons/Close.d.ts +1 -1
- package/build/components/atoms/icons/Comment.d.ts +1 -1
- package/build/components/atoms/icons/Community.d.ts +1 -1
- package/build/components/atoms/icons/CrossLogo.d.ts +1 -1
- package/build/components/atoms/icons/Current.d.ts +1 -1
- package/build/components/atoms/icons/EditSpecial.d.ts +1 -1
- package/build/components/atoms/icons/Endorse.d.ts +1 -1
- package/build/components/atoms/icons/Envelop.d.ts +1 -1
- package/build/components/atoms/icons/Eye.d.ts +1 -1
- package/build/components/atoms/icons/Family.d.ts +1 -1
- package/build/components/atoms/icons/Font.d.ts +1 -1
- package/build/components/atoms/icons/FullScreen.d.ts +1 -1
- package/build/components/atoms/icons/GenderBoy.d.ts +1 -1
- package/build/components/atoms/icons/GenderChooseBoy.d.ts +1 -1
- package/build/components/atoms/icons/GenderChooseGirl.d.ts +1 -1
- package/build/components/atoms/icons/GenderGirl.d.ts +1 -1
- package/build/components/atoms/icons/Girl.d.ts +1 -1
- package/build/components/atoms/icons/GroupPeople.d.ts +1 -1
- package/build/components/atoms/icons/GroupPeopleSolid.d.ts +1 -1
- package/build/components/atoms/icons/Heart.d.ts +1 -1
- package/build/components/atoms/icons/Home.d.ts +1 -1
- package/build/components/atoms/icons/Hospital.d.ts +1 -1
- package/build/components/atoms/icons/Info.d.ts +1 -1
- package/build/components/atoms/icons/Kebab.d.ts +1 -1
- package/build/components/atoms/icons/Like.d.ts +1 -1
- package/build/components/atoms/icons/Link.d.ts +1 -1
- package/build/components/atoms/icons/Minus.d.ts +1 -1
- package/build/components/atoms/icons/Missed.d.ts +1 -1
- package/build/components/atoms/icons/MyCommunity.d.ts +1 -1
- package/build/components/atoms/icons/MyHealth.d.ts +1 -1
- package/build/components/atoms/icons/Oppose.d.ts +1 -1
- package/build/components/atoms/icons/Parents.d.ts +1 -1
- package/build/components/atoms/icons/Plus.d.ts +1 -1
- package/build/components/atoms/icons/PlusSpecial.d.ts +1 -1
- package/build/components/atoms/icons/Post.d.ts +1 -1
- package/build/components/atoms/icons/Recalculate.d.ts +1 -1
- package/build/components/atoms/icons/Reply.d.ts +1 -1
- package/build/components/atoms/icons/Scale.d.ts +1 -1
- package/build/components/atoms/icons/Screener.d.ts +1 -1
- package/build/components/atoms/icons/Share.d.ts +1 -1
- package/build/components/atoms/icons/ShieldCheck.d.ts +1 -1
- package/build/components/atoms/icons/Smile.d.ts +1 -1
- package/build/components/atoms/icons/Sparkle.d.ts +1 -1
- package/build/components/atoms/icons/Star.d.ts +1 -1
- package/build/components/atoms/icons/Stethoscope.d.ts +1 -1
- package/build/components/atoms/icons/StethoscopeActive.d.ts +1 -1
- package/build/components/atoms/icons/ToggleOff.d.ts +1 -1
- package/build/components/atoms/icons/ToggleOn.d.ts +1 -1
- package/build/components/atoms/icons/Trash.d.ts +1 -1
- package/build/components/atoms/icons/Upcoming.d.ts +1 -1
- package/build/components/atoms/icons/User.d.ts +1 -1
- package/build/components/atoms/icons/UserCheck.d.ts +1 -1
- package/build/components/atoms/icons/Vaccinated.d.ts +1 -1
- package/build/components/atoms/icons/Video.d.ts +1 -1
- package/build/components/atoms/icons/VideoCall.d.ts +1 -1
- package/build/components/atoms/icons/WhatsApp.d.ts +1 -1
- package/build/components/atoms/icons/Woman.d.ts +1 -1
- package/build/components/atoms/index.d.ts +45 -45
- package/build/components/atoms/input/index.d.ts +1 -1
- package/build/components/atoms/inputMB/index.d.ts +1 -1
- package/build/components/atoms/logo/logoIcon.d.ts +1 -1
- package/build/components/atoms/menu/index.d.ts +1 -1
- package/build/components/atoms/tag/index.d.ts +1 -1
- package/build/components/atoms/tag/index.styled.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthChart/chartConfig.d.ts +2 -2
- package/build/components/babyGrowth/babyGrowthChart/index.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthForm/index.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthForm/index.styled.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthGender/index.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthLegend/index.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthProfileRadio/index.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthTooltip/index.d.ts +1 -1
- package/build/components/babyGrowth/index.d.ts +19 -19
- package/build/components/index.d.ts +3 -3
- package/build/components/mantine/anchor/index.d.ts +1 -1
- package/build/components/mantine/breadcrumbs/index.d.ts +1 -1
- package/build/components/mantine/breadcrumbs/item.d.ts +1 -1
- package/build/components/mantine/chipButton/index.d.ts +1 -1
- package/build/components/mantine/index.d.ts +63 -63
- package/build/components/mantine/input/index.d.ts +6 -6
- package/build/components/mantine/text/index.d.ts +2 -2
- package/build/components/mantine/theme/other.d.ts +2 -2
- package/build/components/molecules/__deprecated_breadcrumbs/index.d.ts +1 -1
- package/build/components/molecules/articleCard/horizontal.d.ts +1 -1
- package/build/components/molecules/articleCard/index.d.ts +1 -1
- package/build/components/molecules/articleCard/vertical.d.ts +1 -1
- package/build/components/molecules/bmiForm/index.d.ts +1 -1
- package/build/components/molecules/bmrForm/index.d.ts +1 -1
- package/build/components/molecules/dateRangePicker/calendar/index.d.ts +1 -1
- package/build/components/molecules/dateRangePicker/index.d.ts +1 -1
- package/build/components/molecules/dateRangePicker/utils.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/index.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/utils.d.ts +1 -1
- package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.d.ts +1 -1
- package/build/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +1 -1
- package/build/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +1 -1
- package/build/components/molecules/index.d.ts +64 -64
- package/build/components/molecules/languageSwitcher/index.d.ts +1 -1
- package/build/components/molecules/mobileBottomNavigation/index.d.ts +1 -1
- package/build/components/molecules/ovulationCalculator/index.d.ts +1 -1
- package/build/components/molecules/premiumNewsletterModal/index.d.ts +1 -1
- package/build/components/molecules/seoHead/index.d.ts +1 -1
- package/build/components/molecules/sidemenu/index.d.ts +4 -4
- package/build/components/molecules/sidemenu/menuLink.d.ts +2 -2
- package/build/components/molecules/surveyOrPremiumBanner/bannerLayout.d.ts +1 -1
- package/build/components/molecules/surveyOrPremiumBanner/bannerWithOption/index.d.ts +3 -3
- package/build/components/molecules/surveyOrPremiumBanner/constants.d.ts +1 -1
- package/build/components/molecules/surveyOrPremiumBanner/context.d.ts +2 -2
- package/build/components/molecules/surveyOrPremiumBanner/index.d.ts +1 -1
- package/build/components/molecules/surveyOrPremiumBanner/toolBanner.d.ts +1 -1
- package/build/components/molecules/surveyOrPremiumBanner/types.d.ts +2 -2
- package/build/components/molecules/surveyQuestionCard/index.d.ts +2 -2
- package/build/components/molecules/surveyQuestionCard/surveyQuestionCard.d.ts +1 -1
- package/build/components/molecules/surveyQuestionCard/surveyQuestionContent.d.ts +1 -1
- package/build/components/molecules/table/index.d.ts +5 -5
- package/build/components/molecules/tabs/index.d.ts +4 -4
- package/build/components/molecules/thrForm/index.d.ts +1 -1
- package/build/components/molecules/weightGainForm/index.d.ts +1 -1
- package/build/components/navigationV2/components/atoms/HamburgerIcon.d.ts +2 -2
- package/build/components/navigationV2/components/atoms/ItemNav/index.d.ts +1 -1
- package/build/components/navigationV2/components/molecules/menuCareList/index.d.ts +1 -1
- package/build/components/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.d.ts +1 -1
- package/build/components/navigationV2/components/molecules/menuCategoriesList/index.d.ts +1 -1
- package/build/components/navigationV2/components/molecules/menuCommunitiesList/Item/index.d.ts +1 -1
- package/build/components/navigationV2/components/molecules/menuHealthToolsList/index.d.ts +2 -2
- package/build/components/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +1 -1
- package/build/components/navigationV2/components/molecules/menuServiceList/index.d.ts +1 -1
- package/build/components/navigationV2/components/molecules/navigationBar/hamburgerMenu/index.d.ts +1 -1
- package/build/components/navigationV2/hooks/useNavConfig.d.ts +1 -1
- package/build/components/navigationV2/hooks/useNavServices.d.ts +1 -1
- package/build/components/navigationV2/index.d.ts +5 -5
- package/build/components/navigationV2/navigationContext.d.ts +2 -2
- package/build/components/navigationV2/types.d.ts +1 -1
- package/build/components/navigationV2/utils.d.ts +2 -2
- package/build/components/onboardingV2/frisoForm/index.d.ts +2 -2
- package/build/components/onboardingV2/frisoForm/schema.d.ts +1 -1
- package/build/components/onboardingV2/index.d.ts +15 -15
- package/build/components/onboardingV2/onboardingForm/index.d.ts +1 -1
- package/build/components/onboardingV2/onboardingForm/schema.d.ts +1 -1
- package/build/components/onboardingV2/otpForm/schema.d.ts +1 -1
- package/build/components/onboardingV2/personalInfoForm/schema.d.ts +1 -1
- package/build/components/onboardingV2/resultScreen/index.d.ts +1 -1
- package/build/components/onboardingV2/similacForm/index.d.ts +1 -1
- package/build/components/onboardingV2/similacForm/schema.d.ts +1 -1
- package/build/components/onboardingV2/thankyou/index.d.ts +1 -1
- package/build/components/onboardingV2/updatePasswordForm/schema.d.ts +1 -1
- package/build/components/organisms/footer/discoverFooter/index.d.ts +1 -1
- package/build/components/organisms/footer/index.d.ts +1 -1
- package/build/components/organisms/footer/maryBabyFooter/index.d.ts +2 -2
- package/build/components/organisms/index.d.ts +6 -6
- package/build/components/organisms/navigationProfileButton/profilePopup.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/constants.d.ts +2 -2
- package/build/components/organisms/userProfileNavigation/index.d.ts +4 -4
- package/build/components/organisms/userProfileNavigation/navHeader/index.d.ts +2 -2
- package/build/components/organisms/userProfileNavigation/navMenu/index.d.ts +2 -2
- package/build/components/organisms/userProfileNavigation/navMenu/items.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/navigationCard/index.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/types.d.ts +2 -2
- package/build/components/organisms/userProfileNavigation/userStats/index.d.ts +1 -1
- package/build/components/pregnancyWeightGain/index.d.ts +2 -2
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/chartConfig.d.ts +1 -1
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chart.d.ts +2 -2
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chartLegend.d.ts +1 -1
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/index.d.ts +3 -3
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/index.d.ts +2 -2
- package/build/components/ui/cardAuthor/index.d.ts +1 -1
- package/build/components/ui/index.d.ts +1 -1
- package/build/components/vaccination/index.d.ts +13 -13
- package/build/components/vaccination/shared/index.d.ts +2 -2
- package/build/components/vaccination/vaccineCard/immunization.d.ts +1 -1
- package/build/components/vaccination/vaccineCard/modal.d.ts +1 -1
- package/build/components/vaccination/vaccineCard/timeline.d.ts +1 -1
- package/build/components/vaccination/vaccineDetailPopup/index.d.ts +2 -2
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-c17c06fa.js → core-f7c1b420.js} +1 -1
- package/build/ecom/dataFormatter/index.d.ts +2 -2
- package/build/ecom/dataFormatter/lib/apiTypes.d.ts +1 -1
- package/build/ecom/dataFormatter/lib/dataTypes.d.ts +2 -2
- package/build/ecom/dataFormatter/lib/utils.d.ts +1 -1
- package/build/ecom/index.d.ts +5 -5
- package/build/ecom/interfaces/constants.d.ts +1 -1
- package/build/ecom/interfaces/types.d.ts +2 -2
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +6 -6
- package/build/esm/cache/index.d.ts +1 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care/api/utils.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/index.d.ts +3 -3
- package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +2 -2
- package/build/esm/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/reducer.d.ts +3 -3
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.d.ts +2 -2
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +2 -2
- package/build/esm/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +2 -2
- package/build/esm/care/components/organisms/bookingSearchBar/searchResults/index.d.ts +2 -2
- package/build/esm/care/components/organisms/bookingSearchBar/searchResults/mockData.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/useSearchBarApi.d.ts +2 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/index.d.ts +4 -4
- package/build/esm/care/components/organisms/bookingSearchBarV2/reducer.d.ts +3 -3
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchInputs/index.d.ts +2 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchLocation/index.d.ts +3 -3
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchResult/index.d.ts +3 -3
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchResultSpecialties/index.d.ts +2 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchSpecialty/index.d.ts +2 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchTag/index.d.ts +2 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/useSearchBarApi.d.ts +3 -3
- package/build/esm/care/index.d.ts +4 -4
- package/build/esm/care/interfaces/constants.d.ts +2 -2
- package/build/esm/care/interfaces/types.d.ts +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/authorBadge/index.d.ts +1 -1
- package/build/esm/components/atoms/badge/index.styled.d.ts +1 -1
- package/build/esm/components/atoms/borderHeading/index.d.ts +1 -1
- package/build/esm/components/atoms/displayWrapper/index.d.ts +1 -1
- package/build/esm/components/atoms/divider/index.styled.d.ts +1 -1
- package/build/esm/components/atoms/drawer/helpers.d.ts +1 -1
- package/build/esm/components/atoms/drawer/index.styled.d.ts +1 -1
- package/build/esm/components/atoms/dropdownMB/index.d.ts +1 -1
- package/build/esm/components/atoms/genderOptionControl/index.d.ts +1 -1
- package/build/esm/components/atoms/icons/ACharacter.d.ts +1 -1
- package/build/esm/components/atoms/icons/Activities.d.ts +1 -1
- package/build/esm/components/atoms/icons/ArrowDown.d.ts +1 -1
- package/build/esm/components/atoms/icons/ArrowLeft.d.ts +1 -1
- package/build/esm/components/atoms/icons/ArrowRight.d.ts +1 -1
- package/build/esm/components/atoms/icons/ArrowRightTail.d.ts +1 -1
- package/build/esm/components/atoms/icons/Article.d.ts +1 -1
- package/build/esm/components/atoms/icons/Ask.d.ts +1 -1
- package/build/esm/components/atoms/icons/BabyBoyMB.d.ts +1 -1
- package/build/esm/components/atoms/icons/BabyGirlMB.d.ts +1 -1
- package/build/esm/components/atoms/icons/BarChart.d.ts +1 -1
- package/build/esm/components/atoms/icons/Booking.d.ts +1 -1
- package/build/esm/components/atoms/icons/Bookmark.d.ts +1 -1
- package/build/esm/components/atoms/icons/Boy.d.ts +1 -1
- package/build/esm/components/atoms/icons/Business.d.ts +1 -1
- package/build/esm/components/atoms/icons/Calendar.d.ts +1 -1
- package/build/esm/components/atoms/icons/CalendarMB.d.ts +1 -1
- package/build/esm/components/atoms/icons/CameraCircle.d.ts +1 -1
- package/build/esm/components/atoms/icons/Chat.d.ts +1 -1
- package/build/esm/components/atoms/icons/Check.d.ts +1 -1
- package/build/esm/components/atoms/icons/CheckActiveMB.d.ts +1 -1
- package/build/esm/components/atoms/icons/CircleBorder.d.ts +1 -1
- package/build/esm/components/atoms/icons/Clickable.d.ts +1 -1
- package/build/esm/components/atoms/icons/ClinicPin.d.ts +1 -1
- package/build/esm/components/atoms/icons/Close.d.ts +1 -1
- package/build/esm/components/atoms/icons/Comment.d.ts +1 -1
- package/build/esm/components/atoms/icons/Community.d.ts +1 -1
- package/build/esm/components/atoms/icons/CrossLogo.d.ts +1 -1
- package/build/esm/components/atoms/icons/Current.d.ts +1 -1
- package/build/esm/components/atoms/icons/EditSpecial.d.ts +1 -1
- package/build/esm/components/atoms/icons/Endorse.d.ts +1 -1
- package/build/esm/components/atoms/icons/Envelop.d.ts +1 -1
- package/build/esm/components/atoms/icons/Eye.d.ts +1 -1
- package/build/esm/components/atoms/icons/Family.d.ts +1 -1
- package/build/esm/components/atoms/icons/Font.d.ts +1 -1
- package/build/esm/components/atoms/icons/FullScreen.d.ts +1 -1
- package/build/esm/components/atoms/icons/GenderBoy.d.ts +1 -1
- package/build/esm/components/atoms/icons/GenderChooseBoy.d.ts +1 -1
- package/build/esm/components/atoms/icons/GenderChooseGirl.d.ts +1 -1
- package/build/esm/components/atoms/icons/GenderGirl.d.ts +1 -1
- package/build/esm/components/atoms/icons/Girl.d.ts +1 -1
- package/build/esm/components/atoms/icons/GroupPeople.d.ts +1 -1
- package/build/esm/components/atoms/icons/GroupPeopleSolid.d.ts +1 -1
- package/build/esm/components/atoms/icons/Heart.d.ts +1 -1
- package/build/esm/components/atoms/icons/Home.d.ts +1 -1
- package/build/esm/components/atoms/icons/Hospital.d.ts +1 -1
- package/build/esm/components/atoms/icons/Info.d.ts +1 -1
- package/build/esm/components/atoms/icons/Kebab.d.ts +1 -1
- package/build/esm/components/atoms/icons/Like.d.ts +1 -1
- package/build/esm/components/atoms/icons/Link.d.ts +1 -1
- package/build/esm/components/atoms/icons/Minus.d.ts +1 -1
- package/build/esm/components/atoms/icons/Missed.d.ts +1 -1
- package/build/esm/components/atoms/icons/MyCommunity.d.ts +1 -1
- package/build/esm/components/atoms/icons/MyHealth.d.ts +1 -1
- package/build/esm/components/atoms/icons/Oppose.d.ts +1 -1
- package/build/esm/components/atoms/icons/Parents.d.ts +1 -1
- package/build/esm/components/atoms/icons/Plus.d.ts +1 -1
- package/build/esm/components/atoms/icons/PlusSpecial.d.ts +1 -1
- package/build/esm/components/atoms/icons/Post.d.ts +1 -1
- package/build/esm/components/atoms/icons/Recalculate.d.ts +1 -1
- package/build/esm/components/atoms/icons/Reply.d.ts +1 -1
- package/build/esm/components/atoms/icons/Scale.d.ts +1 -1
- package/build/esm/components/atoms/icons/Screener.d.ts +1 -1
- package/build/esm/components/atoms/icons/Share.d.ts +1 -1
- package/build/esm/components/atoms/icons/ShieldCheck.d.ts +1 -1
- package/build/esm/components/atoms/icons/Smile.d.ts +1 -1
- package/build/esm/components/atoms/icons/Sparkle.d.ts +1 -1
- package/build/esm/components/atoms/icons/Star.d.ts +1 -1
- package/build/esm/components/atoms/icons/Stethoscope.d.ts +1 -1
- package/build/esm/components/atoms/icons/StethoscopeActive.d.ts +1 -1
- package/build/esm/components/atoms/icons/ToggleOff.d.ts +1 -1
- package/build/esm/components/atoms/icons/ToggleOn.d.ts +1 -1
- package/build/esm/components/atoms/icons/Trash.d.ts +1 -1
- package/build/esm/components/atoms/icons/Upcoming.d.ts +1 -1
- package/build/esm/components/atoms/icons/User.d.ts +1 -1
- package/build/esm/components/atoms/icons/UserCheck.d.ts +1 -1
- package/build/esm/components/atoms/icons/Vaccinated.d.ts +1 -1
- package/build/esm/components/atoms/icons/Video.d.ts +1 -1
- package/build/esm/components/atoms/icons/VideoCall.d.ts +1 -1
- package/build/esm/components/atoms/icons/WhatsApp.d.ts +1 -1
- package/build/esm/components/atoms/icons/Woman.d.ts +1 -1
- package/build/esm/components/atoms/index.d.ts +45 -45
- package/build/esm/components/atoms/input/index.d.ts +1 -1
- package/build/esm/components/atoms/inputMB/index.d.ts +1 -1
- package/build/esm/components/atoms/logo/logoIcon.d.ts +1 -1
- package/build/esm/components/atoms/menu/index.d.ts +1 -1
- package/build/esm/components/atoms/tag/index.d.ts +1 -1
- package/build/esm/components/atoms/tag/index.styled.d.ts +1 -1
- package/build/esm/components/babyGrowth/babyGrowthChart/chartConfig.d.ts +2 -2
- package/build/esm/components/babyGrowth/babyGrowthChart/index.d.ts +1 -1
- package/build/esm/components/babyGrowth/babyGrowthChooseProfileDrawer/index.d.ts +1 -1
- package/build/esm/components/babyGrowth/babyGrowthForm/index.d.ts +1 -1
- package/build/esm/components/babyGrowth/babyGrowthForm/index.styled.d.ts +1 -1
- package/build/esm/components/babyGrowth/babyGrowthGender/index.d.ts +1 -1
- package/build/esm/components/babyGrowth/babyGrowthLegend/index.d.ts +1 -1
- package/build/esm/components/babyGrowth/babyGrowthProfileRadio/index.d.ts +1 -1
- package/build/esm/components/babyGrowth/babyGrowthTooltip/index.d.ts +1 -1
- package/build/esm/components/babyGrowth/index.d.ts +19 -19
- package/build/esm/components/index.d.ts +3 -3
- package/build/esm/components/mantine/anchor/index.d.ts +1 -1
- package/build/esm/components/mantine/breadcrumbs/index.d.ts +1 -1
- package/build/esm/components/mantine/breadcrumbs/item.d.ts +1 -1
- package/build/esm/components/mantine/chipButton/index.d.ts +1 -1
- package/build/esm/components/mantine/index.d.ts +63 -63
- package/build/esm/components/mantine/input/index.d.ts +6 -6
- package/build/esm/components/mantine/text/index.d.ts +2 -2
- package/build/esm/components/mantine/theme/other.d.ts +2 -2
- package/build/esm/components/molecules/__deprecated_breadcrumbs/index.d.ts +1 -1
- package/build/esm/components/molecules/articleCard/horizontal.d.ts +1 -1
- package/build/esm/components/molecules/articleCard/index.d.ts +1 -1
- package/build/esm/components/molecules/articleCard/vertical.d.ts +1 -1
- package/build/esm/components/molecules/bmiForm/index.d.ts +1 -1
- package/build/esm/components/molecules/bmrForm/index.d.ts +1 -1
- package/build/esm/components/molecules/dateRangePicker/calendar/index.d.ts +1 -1
- package/build/esm/components/molecules/dateRangePicker/index.d.ts +1 -1
- package/build/esm/components/molecules/dateRangePicker/utils.d.ts +1 -1
- package/build/esm/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +1 -1
- package/build/esm/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +1 -1
- package/build/esm/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +1 -1
- package/build/esm/components/molecules/dueDateCalculator/index.d.ts +1 -1
- package/build/esm/components/molecules/dueDateCalculator/utils.d.ts +1 -1
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-growth/index.d.ts +1 -1
- package/build/esm/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +1 -1
- package/build/esm/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +1 -1
- package/build/esm/components/molecules/index.d.ts +64 -64
- package/build/esm/components/molecules/languageSwitcher/index.d.ts +1 -1
- package/build/esm/components/molecules/mobileBottomNavigation/index.d.ts +1 -1
- package/build/esm/components/molecules/ovulationCalculator/index.d.ts +1 -1
- package/build/esm/components/molecules/premiumNewsletterModal/index.d.ts +1 -1
- package/build/esm/components/molecules/seoHead/index.d.ts +1 -1
- package/build/esm/components/molecules/sidemenu/index.d.ts +4 -4
- package/build/esm/components/molecules/sidemenu/menuLink.d.ts +2 -2
- package/build/esm/components/molecules/surveyOrPremiumBanner/bannerLayout.d.ts +1 -1
- package/build/esm/components/molecules/surveyOrPremiumBanner/bannerWithOption/index.d.ts +3 -3
- package/build/esm/components/molecules/surveyOrPremiumBanner/constants.d.ts +1 -1
- package/build/esm/components/molecules/surveyOrPremiumBanner/context.d.ts +2 -2
- package/build/esm/components/molecules/surveyOrPremiumBanner/index.d.ts +1 -1
- package/build/esm/components/molecules/surveyOrPremiumBanner/toolBanner.d.ts +1 -1
- package/build/esm/components/molecules/surveyOrPremiumBanner/types.d.ts +2 -2
- package/build/esm/components/molecules/surveyQuestionCard/index.d.ts +2 -2
- package/build/esm/components/molecules/surveyQuestionCard/surveyQuestionCard.d.ts +1 -1
- package/build/esm/components/molecules/surveyQuestionCard/surveyQuestionContent.d.ts +1 -1
- package/build/esm/components/molecules/table/index.d.ts +5 -5
- package/build/esm/components/molecules/tabs/index.d.ts +4 -4
- package/build/esm/components/molecules/thrForm/index.d.ts +1 -1
- package/build/esm/components/molecules/weightGainForm/index.d.ts +1 -1
- package/build/esm/components/navigationV2/components/atoms/HamburgerIcon.d.ts +2 -2
- package/build/esm/components/navigationV2/components/atoms/ItemNav/index.d.ts +1 -1
- package/build/esm/components/navigationV2/components/molecules/menuCareList/index.d.ts +1 -1
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.d.ts +1 -1
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/index.d.ts +1 -1
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/Item/index.d.ts +1 -1
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/index.d.ts +2 -2
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +1 -1
- package/build/esm/components/navigationV2/components/molecules/menuServiceList/index.d.ts +1 -1
- package/build/esm/components/navigationV2/components/molecules/navigationBar/hamburgerMenu/index.d.ts +1 -1
- package/build/esm/components/navigationV2/hooks/useNavConfig.d.ts +1 -1
- package/build/esm/components/navigationV2/hooks/useNavServices.d.ts +1 -1
- package/build/esm/components/navigationV2/index.d.ts +5 -5
- package/build/esm/components/navigationV2/navigationContext.d.ts +2 -2
- package/build/esm/components/navigationV2/types.d.ts +1 -1
- package/build/esm/components/navigationV2/utils.d.ts +2 -2
- package/build/esm/components/onboardingV2/frisoForm/index.d.ts +2 -2
- package/build/esm/components/onboardingV2/frisoForm/schema.d.ts +1 -1
- package/build/esm/components/onboardingV2/index.d.ts +15 -15
- package/build/esm/components/onboardingV2/onboardingForm/index.d.ts +1 -1
- package/build/esm/components/onboardingV2/onboardingForm/schema.d.ts +1 -1
- package/build/esm/components/onboardingV2/otpForm/schema.d.ts +1 -1
- package/build/esm/components/onboardingV2/personalInfoForm/schema.d.ts +1 -1
- package/build/esm/components/onboardingV2/resultScreen/index.d.ts +1 -1
- package/build/esm/components/onboardingV2/similacForm/index.d.ts +1 -1
- package/build/esm/components/onboardingV2/similacForm/schema.d.ts +1 -1
- package/build/esm/components/onboardingV2/thankyou/index.d.ts +1 -1
- package/build/esm/components/onboardingV2/updatePasswordForm/schema.d.ts +1 -1
- package/build/esm/components/organisms/footer/discoverFooter/index.d.ts +1 -1
- package/build/esm/components/organisms/footer/index.d.ts +1 -1
- package/build/esm/components/organisms/footer/maryBabyFooter/index.d.ts +2 -2
- package/build/esm/components/organisms/index.d.ts +6 -6
- package/build/esm/components/organisms/navigationProfileButton/profilePopup.d.ts +1 -1
- package/build/esm/components/organisms/userProfileNavigation/constants.d.ts +2 -2
- package/build/esm/components/organisms/userProfileNavigation/index.d.ts +4 -4
- package/build/esm/components/organisms/userProfileNavigation/navHeader/index.d.ts +2 -2
- package/build/esm/components/organisms/userProfileNavigation/navMenu/index.d.ts +2 -2
- package/build/esm/components/organisms/userProfileNavigation/navMenu/items.d.ts +1 -1
- package/build/esm/components/organisms/userProfileNavigation/navigationCard/index.d.ts +1 -1
- package/build/esm/components/organisms/userProfileNavigation/types.d.ts +2 -2
- package/build/esm/components/organisms/userProfileNavigation/userStats/index.d.ts +1 -1
- package/build/esm/components/pregnancyWeightGain/index.d.ts +2 -2
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/chartConfig.d.ts +1 -1
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chart.d.ts +2 -2
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chartLegend.d.ts +1 -1
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/index.d.ts +3 -3
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/index.d.ts +2 -2
- package/build/esm/components/ui/cardAuthor/index.d.ts +1 -1
- package/build/esm/components/ui/index.d.ts +1 -1
- package/build/esm/components/vaccination/index.d.ts +13 -13
- package/build/esm/components/vaccination/shared/index.d.ts +2 -2
- package/build/esm/components/vaccination/vaccineCard/immunization.d.ts +1 -1
- package/build/esm/components/vaccination/vaccineCard/modal.d.ts +1 -1
- package/build/esm/components/vaccination/vaccineCard/timeline.d.ts +1 -1
- package/build/esm/components/vaccination/vaccineDetailPopup/index.d.ts +2 -2
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-751de8a0.js → core-4a0d9763.js} +1 -1
- package/build/esm/ecom/dataFormatter/index.d.ts +2 -2
- package/build/esm/ecom/dataFormatter/lib/apiTypes.d.ts +1 -1
- package/build/esm/ecom/dataFormatter/lib/dataTypes.d.ts +2 -2
- package/build/esm/ecom/dataFormatter/lib/utils.d.ts +1 -1
- package/build/esm/ecom/index.d.ts +5 -5
- package/build/esm/ecom/interfaces/constants.d.ts +1 -1
- package/build/esm/ecom/interfaces/types.d.ts +2 -2
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-1d5d0a4d.js +1 -0
- package/build/esm/{getSocialList-7b4c63b0.js → getSocialList-c62d86da.js} +1 -1
- package/build/esm/hooks/index.d.ts +11 -11
- package/build/esm/hooks/useFbDataLayer.d.ts +1 -1
- package/build/esm/hooks/useGeolocation.d.ts +1 -1
- package/build/esm/hooks/useTranslations.d.ts +2 -2
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n/index.d.ts +2 -2
- package/build/esm/i18n/indexV2.d.ts +2 -2
- package/build/esm/i18n/translationsContext.d.ts +2 -2
- package/build/esm/i18n/translationsProvider.d.ts +2 -2
- package/build/esm/i18n/translationsProviderV2.d.ts +2 -2
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/icons/index.d.ts +15 -15
- package/build/esm/{index-bb913b1c.js → index-064afb3d.js} +1 -1
- package/build/esm/index-0c0b9e1b.js +1 -0
- package/build/esm/index-182cff37.js +118 -0
- package/build/esm/{index-2d562f92.js → index-18fd004a.js} +3 -3
- package/build/esm/index-2496a47b.js +113 -0
- package/build/esm/index-26fec022.js +1 -0
- package/build/esm/{index-7e6ef4fe.js → index-28fdf8d0.js} +1 -1
- package/build/esm/{index-cc1aff02.js → index-3916c205.js} +193 -193
- package/build/esm/index-407adb2a.js +1 -0
- package/build/esm/index-5920348e.js +3685 -0
- package/build/esm/{index-d40900aa.js → index-5cd5eae8.js} +1 -1
- package/build/esm/index-811fb472.js +1 -0
- package/build/esm/index-9307ecd1.js +1 -0
- package/build/esm/{index-ba50e0db.js → index-a2022cc1.js} +1 -1
- package/build/esm/index-b406fdf9.js +1 -0
- package/build/esm/index-bd74d231.js +1 -0
- package/build/esm/index-c397360c.js +1 -0
- package/build/esm/index-d3620bb2.js +1 -0
- package/build/esm/index-dbf35f15.js +1 -0
- package/build/esm/index-ef082b02.js +1 -0
- package/build/esm/{index-efc99972.js → index-f0eb853a.js} +1 -1
- package/build/esm/{index-739bb5e8.js → index-f5d7fe61.js} +1 -1
- package/build/esm/index.d.ts +8 -8
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-39a47f05.js → index.styled-5c91a19e.js} +19 -19
- package/build/esm/index.styled-a6258456.js +69 -0
- package/build/esm/index.styles-1ce44a1d.js +1007 -0
- package/build/esm/interfaces/constants/index.d.ts +4 -4
- package/build/esm/interfaces/constants/riskScreener.d.ts +1 -1
- package/build/esm/interfaces/constants/site.d.ts +1 -1
- package/build/esm/interfaces/types/index.d.ts +5 -5
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc/index.d.ts +13 -13
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +34 -34
- package/build/esm/premiumNewsletter/interfaces/constants.d.ts +1 -1
- package/build/esm/pwg.js +2 -2
- package/build/esm/{routing-351976df.js → routing-6ca54153.js} +1 -1
- package/build/esm/together/api/dataTransform.d.ts +1 -1
- package/build/esm/together/components/atoms/index.d.ts +8 -8
- package/build/esm/together/components/atoms/tagTopic/index.d.ts +1 -1
- package/build/esm/together/components/molecules/cardAuthor/index.d.ts +4 -4
- package/build/esm/together/components/molecules/createNewPostContent/index.d.ts +1 -1
- package/build/esm/together/components/molecules/index.d.ts +22 -22
- package/build/esm/together/components/molecules/inputCommentBar/index.d.ts +1 -1
- package/build/esm/together/components/molecules/popupDanger/index.d.ts +1 -1
- package/build/esm/together/components/molecules/postContent/index.d.ts +2 -2
- package/build/esm/together/components/molecules/profileDetail/about/index.d.ts +1 -1
- package/build/esm/together/components/molecules/profileDetail/context.d.ts +2 -2
- package/build/esm/together/components/molecules/profileDetail/index.d.ts +2 -2
- package/build/esm/together/components/molecules/profileDetail/types.d.ts +1 -1
- package/build/esm/together/components/molecules/profileDetail/utils/dataTransform.d.ts +1 -1
- package/build/esm/together/components/molecules/topicSelectList/index.d.ts +1 -1
- package/build/esm/together/components/organisms/cardPost/cardPostPopover.d.ts +1 -1
- package/build/esm/together/components/organisms/cardPost/index.d.ts +2 -2
- package/build/esm/together/components/organisms/cardReply/index.d.ts +2 -2
- package/build/esm/together/components/organisms/cardReply/verifiedTag/index.d.ts +1 -1
- package/build/esm/together/components/organisms/index.d.ts +7 -7
- package/build/esm/together/components/organisms/popoverMenu/index.d.ts +1 -1
- package/build/esm/together/components/organisms/popoverMenu/treePopoverMenu.d.ts +1 -1
- package/build/esm/together/components/organisms/sourceList/recommentCategories/index.d.ts +1 -1
- package/build/esm/together/components/organisms/sourceList/sourceItem/index.d.ts +1 -1
- package/build/esm/together/index.d.ts +8 -8
- package/build/esm/together/interfaces/constants.d.ts +1 -1
- package/build/esm/together/togetherComponentGlobalContext.d.ts +1 -1
- package/build/esm/together/utils/notification.d.ts +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-1a608206.js → types-1631babb.js} +83 -83
- package/build/esm/types-38448ef8.js +1 -0
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-07fae2b9.js → useCategory-d0c0a3cf.js} +1 -1
- package/build/esm/useHealthToolCache-b02ce9f8.js +1 -0
- package/build/esm/{useRafState-76de05f2.js → useRafState-53c939b1.js} +1 -1
- package/build/esm/{useTranslations-10e9f360.js → useTranslations-756fc193.js} +1 -1
- package/build/esm/utils-23eb0cb7.js +95 -0
- package/build/esm/{utils-0f296d7f.js → utils-e101ff6d.js} +1 -1
- package/build/esm/vaccination.js +42 -42
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-51439008.js → getDynamicHealthTool-c6a15d8c.js} +1 -1
- package/build/{getSocialList-f8eaad9b.js → getSocialList-5de134dd.js} +1 -1
- package/build/hooks/index.d.ts +11 -11
- package/build/hooks/useFbDataLayer.d.ts +1 -1
- package/build/hooks/useGeolocation.d.ts +1 -1
- package/build/hooks/useTranslations.d.ts +2 -2
- package/build/hooks.js +1 -1
- package/build/i18n/index.d.ts +2 -2
- package/build/i18n/indexV2.d.ts +2 -2
- package/build/i18n/translationsContext.d.ts +2 -2
- package/build/i18n/translationsProvider.d.ts +2 -2
- package/build/i18n/translationsProviderV2.d.ts +2 -2
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/icons/index.d.ts +15 -15
- package/build/index-14a82499.js +1 -0
- package/build/{index-2fe1dfe5.js → index-2aabab5b.js} +4 -4
- package/build/index-2c3f32c6.js +1 -0
- package/build/{index-ae441a45.js → index-3c5a27e0.js} +1 -1
- package/build/index-3cbddfdc.js +1 -0
- package/build/{index-90194f1f.js → index-51ae0b51.js} +1 -1
- package/build/index-63cf7957.js +1 -0
- package/build/index-681334eb.js +1 -0
- package/build/{index-41a28d6b.js → index-68f10637.js} +1 -1
- package/build/index-6c63803e.js +113 -0
- package/build/{index-781b5c02.js → index-7698b4e9.js} +1 -1
- package/build/{index-195b5014.js → index-78277be1.js} +175 -175
- package/build/index-87f91cd0.js +1 -0
- package/build/index-9d56c82c.js +1 -0
- package/build/{index-bffe21f2.js → index-a2169288.js} +1 -1
- package/build/index-bf7a6063.js +118 -0
- package/build/index-c44d93a2.js +1 -0
- package/build/index-c4de5500.js +1 -0
- package/build/index-da74ef24.js +1 -0
- package/build/{index-5c19c607.js → index-e6b48212.js} +112 -112
- package/build/{index-3eb8ea9e.js → index-ec45420c.js} +1 -1
- package/build/{index-b8645633.js → index-ecff9a6b.js} +1 -1
- package/build/index.d.ts +8 -8
- package/build/index.js +1 -1
- package/build/index.styled-4663c689.js +69 -0
- package/build/{index.styled-a22002f5.js → index.styled-f82615e7.js} +135 -135
- package/build/index.styles-e273b78f.js +1007 -0
- package/build/interfaces/constants/index.d.ts +4 -4
- package/build/interfaces/constants/riskScreener.d.ts +1 -1
- package/build/interfaces/constants/site.d.ts +1 -1
- package/build/interfaces/types/index.d.ts +5 -5
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/index.d.ts +13 -13
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +19 -19
- package/build/premiumNewsletter/interfaces/constants.d.ts +1 -1
- package/build/pwg.js +3 -3
- package/build/{routing-c79a1161.js → routing-36322240.js} +1 -1
- package/build/together/api/dataTransform.d.ts +1 -1
- package/build/together/components/atoms/index.d.ts +8 -8
- package/build/together/components/atoms/tagTopic/index.d.ts +1 -1
- package/build/together/components/molecules/cardAuthor/index.d.ts +4 -4
- package/build/together/components/molecules/createNewPostContent/index.d.ts +1 -1
- package/build/together/components/molecules/index.d.ts +22 -22
- package/build/together/components/molecules/inputCommentBar/index.d.ts +1 -1
- package/build/together/components/molecules/popupDanger/index.d.ts +1 -1
- package/build/together/components/molecules/postContent/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/about/index.d.ts +1 -1
- package/build/together/components/molecules/profileDetail/context.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/types.d.ts +1 -1
- package/build/together/components/molecules/profileDetail/utils/dataTransform.d.ts +1 -1
- package/build/together/components/molecules/topicSelectList/index.d.ts +1 -1
- package/build/together/components/organisms/cardPost/cardPostPopover.d.ts +1 -1
- package/build/together/components/organisms/cardPost/index.d.ts +2 -2
- package/build/together/components/organisms/cardReply/index.d.ts +2 -2
- package/build/together/components/organisms/cardReply/verifiedTag/index.d.ts +1 -1
- package/build/together/components/organisms/index.d.ts +7 -7
- package/build/together/components/organisms/popoverMenu/index.d.ts +1 -1
- package/build/together/components/organisms/popoverMenu/treePopoverMenu.d.ts +1 -1
- package/build/together/components/organisms/sourceList/recommentCategories/index.d.ts +1 -1
- package/build/together/components/organisms/sourceList/sourceItem/index.d.ts +1 -1
- package/build/together/index.d.ts +8 -8
- package/build/together/interfaces/constants.d.ts +1 -1
- package/build/together/togetherComponentGlobalContext.d.ts +1 -1
- package/build/together/utils/notification.d.ts +1 -1
- package/build/together.js +1 -1
- package/build/types-88add7e7.js +1 -0
- package/build/{types-44e9d732.js → types-c030ccaf.js} +62 -62
- package/build/types.js +1 -1
- package/build/{useCategory-bf65c1d4.js → useCategory-be75349c.js} +1 -1
- package/build/useHealthToolCache-e970e249.js +1 -0
- package/build/{useRafState-d0b3c83d.js → useRafState-6d2be290.js} +1 -1
- package/build/{useTranslations-548041ba.js → useTranslations-aefec60a.js} +1 -1
- package/build/utils-0329f8b4.js +95 -0
- package/build/{utils-ae95453a.js → utils-e3a30add.js} +1 -1
- package/build/vaccination.js +12 -12
- package/package.json +1 -1
- package/build/esm/getDynamicHealthTool-7b5571b2.js +0 -1
- package/build/esm/index-0007c24c.js +0 -1
- package/build/esm/index-2e2b0db2.js +0 -113
- package/build/esm/index-499f276f.js +0 -1
- package/build/esm/index-777eabad.js +0 -1
- package/build/esm/index-8fd63502.js +0 -1
- package/build/esm/index-9ff731cc.js +0 -3685
- package/build/esm/index-a2534c7c.js +0 -1
- package/build/esm/index-b1d38b58.js +0 -1
- package/build/esm/index-ba4ada7c.js +0 -1
- package/build/esm/index-cff1d249.js +0 -1
- package/build/esm/index.styles-e345cd05.js +0 -1286
- package/build/esm/types-ef0b0b06.js +0 -1
- package/build/esm/useHealthToolCache-fb9195d3.js +0 -1
- package/build/index-3ade7964.js +0 -1
- package/build/index-4b6fc508.js +0 -1
- package/build/index-81deb983.js +0 -113
- package/build/index-8f601a7e.js +0 -1
- package/build/index-b2c74982.js +0 -1
- package/build/index-b736e1ed.js +0 -1
- package/build/index-e64aa768.js +0 -1
- package/build/index-fb7fe95d.js +0 -1
- package/build/index.styles-7e65e8b3.js +0 -1286
- package/build/types-7a936692.js +0 -1
- package/build/useHealthToolCache-f54a0e23.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-d3476448.js → BMI_BOYS.percentile.monthly-a7b3bcf6.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-b2869713.js → BMI_BOYS.percentile.weekly-1dca7bec.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-0cf5ddcd.js → BMI_BOYS.percentile.yearly-137f253e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-c4c943b7.js → BMI_BOYS.zscore.monthly-be3706b5.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-ab4785f0.js → BMI_BOYS.zscore.weekly-8be0166f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-0622848a.js → BMI_BOYS.zscore.yearly-82cc3020.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-a6c23ca8.js → BMI_GIRLS.percentile.monthly-7a4c1fec.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-7fa7d98e.js → BMI_GIRLS.percentile.weekly-8b1b3da6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-d08140fe.js → BMI_GIRLS.percentile.yearly-2ee47a08.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-abe8a404.js → BMI_GIRLS.zscore.monthly-594f5590.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-d8ff3087.js → BMI_GIRLS.zscore.weekly-d21809e8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-7c1f0a47.js → BMI_GIRLS.zscore.yearly-ae6e4fa5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-1a2ccdbe.js → HEAD CIRCUM_BOYS.percentile.monthly-095a735c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-556d9756.js → HEAD CIRCUM_BOYS.percentile.weekly-c1b68a83.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-934846ef.js → HEAD CIRCUM_BOYS.percentile.yearly-c3a54843.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-b1830af8.js → HEAD CIRCUM_BOYS.zscore.monthly-b021eb9f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-0d8c4db0.js → HEAD CIRCUM_BOYS.zscore.weekly-b54def55.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-13d2a05d.js → HEAD CIRCUM_BOYS.zscore.yearly-1c6901dc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-1494d067.js → HEAD CIRCUM_GIRLS.percentile.monthly-c55771f9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-8495fb92.js → HEAD CIRCUM_GIRLS.percentile.weekly-24d8a70f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-dedf8639.js → HEAD CIRCUM_GIRLS.percentile.yearly-29fd54f0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-57b2f684.js → HEAD CIRCUM_GIRLS.zscore.monthly-90637cbd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-8bf235ac.js → HEAD CIRCUM_GIRLS.zscore.weekly-2a7a58ba.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-33407c58.js → HEAD CIRCUM_GIRLS.zscore.yearly-bfa09b06.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-fcb2ad58.js → HEIGHT_BOYS.percentile.monthly-b22708d0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-9e4ab926.js → HEIGHT_BOYS.percentile.weekly-655aa607.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-5d81ff55.js → HEIGHT_BOYS.percentile.yearly-29ea7a90.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-d9307ca1.js → HEIGHT_BOYS.zscore.monthly-eb2c0db3.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-bbd07e44.js → HEIGHT_BOYS.zscore.weekly-6a0983f2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-4020447e.js → HEIGHT_BOYS.zscore.yearly-6815eb76.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-8af4d78a.js → HEIGHT_GIRLS.percentile.monthly-493edc9a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-965e6633.js → HEIGHT_GIRLS.percentile.weekly-11bbc9da.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-a47f4c9a.js → HEIGHT_GIRLS.percentile.yearly-8bb7fe1e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-729a8bb5.js → HEIGHT_GIRLS.zscore.monthly-10ef7eca.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-f94a5348.js → HEIGHT_GIRLS.zscore.weekly-e50e5919.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-a9ab73f8.js → HEIGHT_GIRLS.zscore.yearly-51f99fe7.js} +0 -0
- /package/build/{Onboarding-b1d559e7.js → Onboarding-14b02690.js} +0 -0
- /package/build/{Visible-5628232f.js → Visible-99c5afd3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3872ff0c.js → WEIGHT_BOYS.percentile.monthly-190f3235.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-98caba45.js → WEIGHT_BOYS.percentile.weekly-79da216d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-f5726dec.js → WEIGHT_BOYS.percentile.yearly-bc1a3d43.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-78907fac.js → WEIGHT_BOYS.zscore.monthly-fa57b622.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-87742630.js → WEIGHT_BOYS.zscore.weekly-40266199.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-6c42a27c.js → WEIGHT_BOYS.zscore.yearly-3378eef2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-737cdae7.js → WEIGHT_GIRLS.percentile.monthly-95bb8126.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-9b337ca5.js → WEIGHT_GIRLS.percentile.weekly-c85954ca.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-c3f0bf40.js → WEIGHT_GIRLS.percentile.yearly-4cae8e21.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-30d18d7b.js → WEIGHT_GIRLS.zscore.monthly-3cfef20c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e62e35bc.js → WEIGHT_GIRLS.zscore.weekly-3e297de4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-68025da5.js → WEIGHT_GIRLS.zscore.yearly-23531d3b.js} +0 -0
- /package/build/{constants-747308e3.js → constants-219d03fa.js} +0 -0
- /package/build/{cookieHelper-84a6a64e.js → cookieHelper-47a413fe.js} +0 -0
- /package/build/{dataTransform-38950674.js → dataTransform-016e5396.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a41b0df5.js → BMI_BOYS.percentile.monthly-17ba8935.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-5cb93233.js → BMI_BOYS.percentile.weekly-95362992.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-7acab009.js → BMI_BOYS.percentile.yearly-67e97cd3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-06fc44ed.js → BMI_BOYS.zscore.monthly-ec079573.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-3b078181.js → BMI_BOYS.zscore.weekly-892e1350.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-7635211d.js → BMI_BOYS.zscore.yearly-9e4e840c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-55339604.js → BMI_GIRLS.percentile.monthly-cb5f1bf4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-e2611fc7.js → BMI_GIRLS.percentile.weekly-1f072f7d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-329b3569.js → BMI_GIRLS.percentile.yearly-8c9daf30.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-3b1a5c93.js → BMI_GIRLS.zscore.monthly-2f3412dc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-8378decd.js → BMI_GIRLS.zscore.weekly-829ebf12.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-52cc14cb.js → BMI_GIRLS.zscore.yearly-0dbc52e1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-61d7fe7f.js → HEAD CIRCUM_BOYS.percentile.monthly-12c1423e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-7b726611.js → HEAD CIRCUM_BOYS.percentile.weekly-854ddada.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-4cc976a8.js → HEAD CIRCUM_BOYS.percentile.yearly-37dc6459.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e7e49ca1.js → HEAD CIRCUM_BOYS.zscore.monthly-db8fbf38.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-d70c1eae.js → HEAD CIRCUM_BOYS.zscore.weekly-72731c5f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-e033ecfe.js → HEAD CIRCUM_BOYS.zscore.yearly-209bee90.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-46829c05.js → HEAD CIRCUM_GIRLS.percentile.monthly-46246bf1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-0364573c.js → HEAD CIRCUM_GIRLS.percentile.weekly-1d1f50f6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-f1b5739a.js → HEAD CIRCUM_GIRLS.percentile.yearly-bd5a36d8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4f617935.js → HEAD CIRCUM_GIRLS.zscore.monthly-0487262e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-98031837.js → HEAD CIRCUM_GIRLS.zscore.weekly-c302dc84.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0513f8e5.js → HEAD CIRCUM_GIRLS.zscore.yearly-c2ee2b81.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0feff9f6.js → HEIGHT_BOYS.percentile.monthly-3b874478.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-974ec4ca.js → HEIGHT_BOYS.percentile.weekly-90296f86.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-962d1b63.js → HEIGHT_BOYS.percentile.yearly-ad05f31c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a110c21a.js → HEIGHT_BOYS.zscore.monthly-390997dc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-5d5a66c8.js → HEIGHT_BOYS.zscore.weekly-5efe2f33.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-6b40fe58.js → HEIGHT_BOYS.zscore.yearly-6f53482c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c88cdfb5.js → HEIGHT_GIRLS.percentile.monthly-220a2a2a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-10589f87.js → HEIGHT_GIRLS.percentile.weekly-c4dd9457.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-06416dce.js → HEIGHT_GIRLS.percentile.yearly-a9be43b7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-6b6b8944.js → HEIGHT_GIRLS.zscore.monthly-4d43f11a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-05b8b1e8.js → HEIGHT_GIRLS.zscore.weekly-fe7228ed.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-0d1754a8.js → HEIGHT_GIRLS.zscore.yearly-0414a9f6.js} +0 -0
- /package/build/esm/{Onboarding-fd579f72.js → Onboarding-3d3e6c2b.js} +0 -0
- /package/build/esm/{Visible-87dd55d4.js → Visible-923ccaf7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-d0422149.js → WEIGHT_BOYS.percentile.monthly-43326dd0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c39d2f84.js → WEIGHT_BOYS.percentile.weekly-39286bd9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-5ae01058.js → WEIGHT_BOYS.percentile.yearly-322a17c8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-0124c542.js → WEIGHT_BOYS.zscore.monthly-91de3cea.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-9ef5a25f.js → WEIGHT_BOYS.zscore.weekly-0ae18050.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-fb69bbc5.js → WEIGHT_BOYS.zscore.yearly-0677c03c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-3dd2ec93.js → WEIGHT_GIRLS.percentile.monthly-35a23c8c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-6ad06231.js → WEIGHT_GIRLS.percentile.weekly-9e12b459.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f19bf1ca.js → WEIGHT_GIRLS.percentile.yearly-ee2b9198.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9b2c414a.js → WEIGHT_GIRLS.zscore.monthly-578a7681.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-21b23f91.js → WEIGHT_GIRLS.zscore.weekly-a0273820.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-2e67337b.js → WEIGHT_GIRLS.zscore.yearly-4285f585.js} +0 -0
- /package/build/esm/{constants-126b1bf1.js → constants-b2f78bab.js} +0 -0
- /package/build/esm/{cookieHelper-6c64533f.js → cookieHelper-3c8a0098.js} +0 -0
- /package/build/esm/{dataTransform-99b1cf6a.js → dataTransform-38d285f1.js} +0 -0
- /package/build/esm/{index-46ca8299.js → index-6998e522.js} +0 -0
- /package/build/esm/{isProduction-ee053516.js → isProduction-32680346.js} +0 -0
- /package/build/esm/{localizeNumberFormat-5a52ff92.js → localizeNumberFormat-002ae05a.js} +0 -0
- /package/build/esm/{normalizeLink-e3ff1c11.js → normalizeLink-ac29bb2d.js} +0 -0
- /package/build/esm/{number-895411ae.js → number-5960f6cc.js} +0 -0
- /package/build/esm/{paths-8848792b.js → paths-b71decd1.js} +0 -0
- /package/build/esm/{screenSizeContext-9a12cff0.js → screenSizeContext-39dfc639.js} +0 -0
- /package/build/esm/{theme-552e8fb4.js → theme-9fc24894.js} +0 -0
- /package/build/esm/{translationsContext-cd4c35ad.js → translationsContext-17f85d9d.js} +0 -0
- /package/build/esm/{tslib.es6-ff502d3f.js → tslib.es6-098ba6eb.js} +0 -0
- /package/build/esm/{types-543400b8.js → types-12c4655c.js} +0 -0
- /package/build/esm/{useIsInit-8814c69e.js → useIsInit-35b5adad.js} +0 -0
- /package/build/esm/{useOutsideClick-eb1e8600.js → useOutsideClick-ef7a3933.js} +0 -0
- /package/build/esm/{useScrollbarSize-45acc65f.js → useScrollbarSize-50162df5.js} +0 -0
- /package/build/{index-79f5bb6a.js → index-a8d2990c.js} +0 -0
- /package/build/{isProduction-162f7f61.js → isProduction-5eb52262.js} +0 -0
- /package/build/{localizeNumberFormat-904473e8.js → localizeNumberFormat-9aa38084.js} +0 -0
- /package/build/{normalizeLink-4f491971.js → normalizeLink-94b5b632.js} +0 -0
- /package/build/{number-0eeeecf7.js → number-121ac00f.js} +0 -0
- /package/build/{paths-60a0f975.js → paths-50c261da.js} +0 -0
- /package/build/{screenSizeContext-99e2010b.js → screenSizeContext-28c06621.js} +0 -0
- /package/build/{theme-b23d8bfb.js → theme-dc381d37.js} +0 -0
- /package/build/{translationsContext-ba58eaf1.js → translationsContext-9ee948b8.js} +0 -0
- /package/build/{tslib.es6-16ffcffb.js → tslib.es6-1b34f9a8.js} +0 -0
- /package/build/{types-e49fce99.js → types-a5b0dd64.js} +0 -0
- /package/build/{useIsInit-e651aafb.js → useIsInit-993eec15.js} +0 -0
- /package/build/{useOutsideClick-553f8660.js → useOutsideClick-2e178680.js} +0 -0
- /package/build/{useScrollbarSize-086d4a91.js → useScrollbarSize-33ff925d.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as e,_ as t}from"./tslib.es6-
|
|
1
|
+
import{a as e,_ as t}from"./tslib.es6-098ba6eb.js";import a,{useState as o,useEffect as i,useMemo as n,useRef as l,memo as r,useContext as s,useCallback as d}from"react";import{g as c}from"./core-4a0d9763.js";import{I as m,F as p,B as g,a as h}from"./index-182cff37.js";import u from"styled-components";import{T as v,U as y}from"./index-ef082b02.js";import{CommonGAssets as b}from"./gAssets.js";import{d as f,C as x,b as w,T as E,E as C,L as k,S as $,U as P}from"./index-28fdf8d0.js";import{n as N,a as B}from"./normalizeLink-ac29bb2d.js";import{g as _,a as M,b as A,c as T,d as L}from"./routing-6ca54153.js";import{P as H,U as S,a as U,b as z}from"./index-064afb3d.js";import{L as D}from"./index-bd74d231.js";import{u as j,b as R}from"./useTranslations-756fc193.js";import O from"lodash/throttle";import{j as I,M as F}from"./screenSizeContext-39dfc639.js";import{L as V}from"./Onboarding-3d3e6c2b.js";import{t as G}from"./theme-9fc24894.js";import{K as W,y as Y,L as Z,P as K,H as q}from"./index.styles-1ce44a1d.js";import{g as Q}from"./cookieHelper-3c8a0098.js";import{Portal as J}from"@mantine/core";import{B as X}from"./index-a2022cc1.js";import"./index-2496a47b.js";import"./utils-23eb0cb7.js";import"@mantine/dates";import ee from"dayjs";import"./isProduction-32680346.js";import"@mantine/hooks";import"./index.styled-a6258456.js";import"./index-0c0b9e1b.js";import te from"lodash/debounce";import"./useCategory-d0c0a3cf.js";import{L as ae}from"./constants-b2f78bab.js";import oe from"string-format";import{I as ie}from"./index-26fec022.js";import{u as ne}from"./useIsInit-35b5adad.js";import le from"dayjs/plugin/relativeTime";import{C as re}from"./index-811fb472.js";const se={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},de=({type:e="square",size:t,avatarImg:n,avatarUrl:l,firstLetter:r,backgroundColor:s,onClick:d,style:c,className:p,width:g,height:h,alt:u})=>{const v=t?se[t]:void 0,[y,b]=o(!1);i((()=>{if(l){const e=document.createElement("img");e.setAttribute("src",l),e.addEventListener("error",(()=>{b(!0)}))}}),[l,b]);const f=(!l&&!n||y)&&r;return a.createElement(W,{style:Object.assign(Object.assign({},c),{"--size":v?v+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":h?h+"px":void 0,"--background-color":s}),"data-has-max":!(!g||!h),"data-avatar-type":e,onClick:d,className:p,avatarUrl:l,"data-custom-size":!!t},n,l&&!y&&a.createElement(m,{src:l,alt:u||"avatar"}),f&&r)},ce=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],me=(e="")=>ce.some((t=>new URL(e).origin.endsWith(t))),pe=u.a`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
position: relative;
|
|
4
4
|
flex-direction: row;
|
|
@@ -17,12 +17,12 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
17
17
|
text-decoration: none;
|
|
18
18
|
|
|
19
19
|
cursor: pointer;
|
|
20
|
-
`,ge=
|
|
20
|
+
`,ge=u.div`
|
|
21
21
|
position: relative;
|
|
22
22
|
display: inline-block;
|
|
23
|
-
`,he=
|
|
23
|
+
`,he=u.div`
|
|
24
24
|
position: relative;
|
|
25
|
-
`,ue=
|
|
25
|
+
`,ue=u.div`
|
|
26
26
|
position: absolute;
|
|
27
27
|
z-index: 21;
|
|
28
28
|
top: 100%;
|
|
@@ -50,7 +50,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
50
50
|
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
`,ve=
|
|
53
|
+
`,ve=u.div`
|
|
54
54
|
display: flex;
|
|
55
55
|
height: 40px;
|
|
56
56
|
align-items: center;
|
|
@@ -67,7 +67,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
67
67
|
&[data-selected='false'] {
|
|
68
68
|
background-color: ${e=>e.theme.colors.gray100};
|
|
69
69
|
}
|
|
70
|
-
`,ye=
|
|
70
|
+
`,ye=u.div`
|
|
71
71
|
position: fixed;
|
|
72
72
|
z-index: 20;
|
|
73
73
|
top: 0;
|
|
@@ -75,9 +75,9 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
75
75
|
width: 100%;
|
|
76
76
|
height: 100%;
|
|
77
77
|
cursor: default;
|
|
78
|
-
`,be=({options:e,label:t,labelRenderer:i,selected:n,onChange:l,showSelected:r=!0,style:s={},showIndicator:d=!0})=>{const[c,m]=o(!1);return a.createElement(a.Fragment,null,a.createElement(ge,null,a.createElement(he,{onClick:()=>m((e=>!e))},t||(null==i?void 0:i(c))||null,a.createElement(ue,{"data-is-open":c,style:s,"data-show-indicator":d},e.map(((e,t)=>a.createElement(ve,{key:t,"data-selected":r&&n===e.value,onClick:t=>{n!==e.value&&(l(e.value),m((e=>!e))),t.stopPropagation()}},a.createElement(
|
|
78
|
+
`,be=({options:e,label:t,labelRenderer:i,selected:n,onChange:l,showSelected:r=!0,style:s={},showIndicator:d=!0})=>{const[c,m]=o(!1);return a.createElement(a.Fragment,null,a.createElement(ge,null,a.createElement(he,{onClick:()=>m((e=>!e))},t||(null==i?void 0:i(c))||null,a.createElement(ue,{"data-is-open":c,style:s,"data-show-indicator":d},e.map(((e,t)=>a.createElement(ve,{key:t,"data-selected":r&&n===e.value,onClick:t=>{n!==e.value&&(l(e.value),m((e=>!e))),t.stopPropagation()}},a.createElement(v,{size:"p3"},e.label),r&&n===e.value&&a.createElement("img",{src:b.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),c&&a.createElement(ye,{onClick:()=>m(!1)}))},fe=({languageOptions:e,locale:t})=>{var o,i;const n=null==e?void 0:e.find((e=>e.locale===t));return(null==e?void 0:e.length)?a.createElement(be,{options:e,selected:n.value,label:a.createElement(xe,{locale:t,label:n.label||(null===(i=null===(o=t.split("-"))||void 0===o?void 0:o[0])||void 0===i?void 0:i.toUpperCase())}),onChange:e=>{"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},xe=({locale:e,label:t,href:o})=>{var i,n,l;return a.createElement(pe,{href:o},a.createElement(p,{country:null===(n=null===(i=null==e?void 0:e.split("-"))||void 0===i?void 0:i[1])||void 0===n?void 0:n.toUpperCase(),width:16,height:16,rounded:!0,language:null===(l=null==e?void 0:e.split("-"))||void 0===l?void 0:l[0]}),a.createElement("span",null,t))},we=u.div`
|
|
79
79
|
${e=>`\n ${0!==e.lowerBound?`@media (max-width: ${e.lowerBound-1}px) { display: none; }`:""}\n ${0!==e.upperBound?`@media (min-width: ${e.upperBound}px) { display: none; }`:""}\n `}
|
|
80
|
-
`,Ee=({forceDisplay:e,mediaQueryKey:t,children:o,className:i,style:l})=>{const[r,s]=n((()=>
|
|
80
|
+
`,Ee=({forceDisplay:e,mediaQueryKey:t,children:o,className:i,style:l})=>{const[r,s]=n((()=>I(t)),[t]);return a.createElement(we,{lowerBound:e?0:r,upperBound:e?0:s,className:i,style:l},o)},Ce=e=>{const{allowBgScroll:t}=e||{},a=l();return{containerRef:a,onContainerFocus:()=>{t||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{t||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},ke="hhgcomp-navprofilebutton-popup",$e=Y(u.div`
|
|
81
81
|
position: absolute;
|
|
82
82
|
right: 0;
|
|
83
83
|
background-color: ${e=>e.theme.colors.white};
|
|
@@ -109,13 +109,13 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
109
109
|
|
|
110
110
|
&[data-type='welcome'] {
|
|
111
111
|
position: fixed;
|
|
112
|
-
${
|
|
112
|
+
${F.mbDown} {
|
|
113
113
|
width: 100%;
|
|
114
114
|
height: 424px;
|
|
115
115
|
bottom: 0;
|
|
116
116
|
top: unset;
|
|
117
117
|
}
|
|
118
|
-
${
|
|
118
|
+
${F.mbUp} {
|
|
119
119
|
top: 50%;
|
|
120
120
|
left: 50%;
|
|
121
121
|
transform: translate(-50%, -50%);
|
|
@@ -127,14 +127,14 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
127
127
|
|
|
128
128
|
&[data-type='due-date'] {
|
|
129
129
|
position: fixed;
|
|
130
|
-
${
|
|
130
|
+
${F.mbDown} {
|
|
131
131
|
width: 100%;
|
|
132
132
|
height: 100%;
|
|
133
133
|
overflow-y: scroll;
|
|
134
134
|
bottom: 0;
|
|
135
135
|
top: unset;
|
|
136
136
|
}
|
|
137
|
-
${
|
|
137
|
+
${F.mbUp} {
|
|
138
138
|
top: 50%;
|
|
139
139
|
left: 50%;
|
|
140
140
|
transform: translate(-50%, -50%);
|
|
@@ -148,7 +148,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
148
148
|
.popup-content {
|
|
149
149
|
z-index: 111;
|
|
150
150
|
height: 100%;
|
|
151
|
-
${
|
|
151
|
+
${F.mbDown} {
|
|
152
152
|
max-height: calc(100vh - var(--header-bottom, 64px));
|
|
153
153
|
}
|
|
154
154
|
overflow: auto;
|
|
@@ -166,7 +166,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
166
166
|
|
|
167
167
|
&[data-type='profile'] {
|
|
168
168
|
/* min-height: 415px; */
|
|
169
|
-
${
|
|
169
|
+
${F.mbUp} {
|
|
170
170
|
border-radius: ${e=>e.theme.borderRadius};
|
|
171
171
|
box-shadow: 0px 4px 8px
|
|
172
172
|
${e=>e.theme.colors.gray200};
|
|
@@ -183,13 +183,13 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
183
183
|
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
${
|
|
186
|
+
${F.mbDown} {
|
|
187
187
|
position: fixed;
|
|
188
188
|
left: 0;
|
|
189
189
|
width: 100%;
|
|
190
|
-
border-top: 1px solid ${
|
|
190
|
+
border-top: 1px solid ${G.colors.neutral100};
|
|
191
191
|
}
|
|
192
|
-
${
|
|
192
|
+
${F.mbUp} {
|
|
193
193
|
width: 368px;
|
|
194
194
|
}
|
|
195
195
|
}
|
|
@@ -208,7 +208,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
208
208
|
border-radius: 50%;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
`,ke),Pe="hhgcomp-navprofilebutton-popupwrapper";
|
|
211
|
+
`,ke),Pe="hhgcomp-navprofilebutton-popupwrapper";Y(u.div`
|
|
212
212
|
position: fixed;
|
|
213
213
|
z-index: 150;
|
|
214
214
|
top: var(--header-bottom, 69px);
|
|
@@ -217,7 +217,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
217
217
|
height: 100%;
|
|
218
218
|
align-items: center;
|
|
219
219
|
|
|
220
|
-
${
|
|
220
|
+
${F.mbUp} {
|
|
221
221
|
background-color: transparent;
|
|
222
222
|
&[data-type='welcome'] {
|
|
223
223
|
background: rgba(38, 38, 38, 0.3);
|
|
@@ -227,7 +227,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
${
|
|
230
|
+
${F.mbDown} {
|
|
231
231
|
background: rgba(38, 38, 38, 0.3);
|
|
232
232
|
}
|
|
233
233
|
|
|
@@ -238,7 +238,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
238
238
|
&[data-open='false'] {
|
|
239
239
|
display: none;
|
|
240
240
|
}
|
|
241
|
-
`,Pe);const Ne=
|
|
241
|
+
`,Pe);const Ne=u.div`
|
|
242
242
|
width: 40px;
|
|
243
243
|
height: 40px;
|
|
244
244
|
cursor: pointer;
|
|
@@ -263,7 +263,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
263
263
|
font-size: 20px;
|
|
264
264
|
font-weight: bold;
|
|
265
265
|
}
|
|
266
|
-
`,Be=
|
|
266
|
+
`,Be=u.a`
|
|
267
267
|
display: inline-flex;
|
|
268
268
|
position: relative;
|
|
269
269
|
width: 40px;
|
|
@@ -292,7 +292,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
292
292
|
visibility: visible;
|
|
293
293
|
display: initial;
|
|
294
294
|
&[data-type='profile'] {
|
|
295
|
-
${
|
|
295
|
+
${F.mbDown} {
|
|
296
296
|
top: 100%;
|
|
297
297
|
}
|
|
298
298
|
}
|
|
@@ -301,34 +301,34 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
301
301
|
display: initial;
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
`,_e=
|
|
304
|
+
`,_e=u.a`
|
|
305
305
|
display: inline-flex;
|
|
306
306
|
.login-btn[data-color='tertiary'][data-size='md'] {
|
|
307
307
|
padding-left: 12px;
|
|
308
308
|
padding-right: 12px;
|
|
309
309
|
}
|
|
310
310
|
.mobile-only {
|
|
311
|
-
${
|
|
311
|
+
${F.mbUp} {
|
|
312
312
|
display: none;
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
.login-btn {
|
|
316
316
|
display: none;
|
|
317
|
-
${
|
|
317
|
+
${F.mbUp} {
|
|
318
318
|
display: block;
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
|
-
`,Me=({type:e="lead",closeIcon:t,isOpen:o=!0,onClose:i,children:n,enableAnimation:l=!0,targetAvatar:r,id:s,className:d})=>a.createElement($e,{"data-open":o,"data-type":e,"data-animation":l,"data-target":r,id:s,className:d},a.createElement("div",{className:"popup-content"},!!t&&a.createElement("div",{className:"close-button",onClick:i},t),n)),Ae={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"/shop/ho-so/"};var Te="uJQBNNg",He="TfG3dM5",Le="aMtjFNf",Se="cSz2RR-",Ue="GyFm00F";function ze({userInfo:e,onClickMyProfileButton:t,themeName:o="helloSites"}){const{t:i}=G(),l=n((()=>{const t=(null==e?void 0:e.name)||(null==e?void 0:e.username);return t&&t.length?t[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return a.createElement("div",{className:Te,onClick:()=>{t&&t()}},a.createElement(de,{className:He,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:l,backgroundColor:"marryBaby"===o?Q.mbColors.pink:Q.colors.secondaryBase}),a.createElement("div",{className:Le},a.createElement("div",{className:Se},(null==e?void 0:e.name)||(null==e?void 0:e.username)),a.createElement("div",{className:Ue,style:{"--bg-hellosites":`url(${k.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg")})`,"--bg-marrybaby":`url(${k.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg")})`}},i("userProfile.nav.header.viewProfile"))))}var De="fVk18fq",je="v8TCvUb",Re="mx7T4V3";const Oe={myHealth:Q.mbColors.toneYellow,myCommunity:Q.mbColors.toneBlue,mySaved:Q.mbColors.toneGreen},Ie={helloSites:{myBooking:()=>k.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>k.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>k.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>k.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>k.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>k.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>k.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>k.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>k.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},Fe=({type:e,themeName:t,className:o,onClick:i=(()=>{})})=>{const{t:l}=G(),r=n((()=>{var a,o;return(null===(o=null===(a=Ie[t])||void 0===a?void 0:a[e])||void 0===o?void 0:o.call(a))||""}),[e,t]),s=n((()=>"marryBaby"!==t?"transparent":Oe[e]),[e,t]);return a.createElement("div",{onClick:function(){i(e)},className:`${De} ${o}`},a.createElement("div",{className:Re,style:{backgroundColor:s,backgroundImage:`url("${r}")`}}),a.createElement("h3",{className:je},l(`userProfile.nav.card.${e}`)))};var Ve="gn6HmGG",Ge="FCx8FEM",We="zMiRxaE",Ye="lZ2Z9MQ",Ze="rwm-agG",qe="qMOscoq";const Ke=({themeName:e,locale:t,onClickItem:i})=>{const[l,r]=o(""),s=n((()=>"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:k.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:k.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:k.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"common.profileNavigator.newsletterSubscription",link:"subscriptions",disableLocale:["id-ID","ms-MY","km-KH","en-PH","tl-PH","th-TH","my-MM","zh-TW","hi-IN"]},{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:k.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]),[e]);function d(e){e.subMenu?r((t=>t?"":e.key)):i&&i(e)}return a.createElement("div",{className:Ve},s.map((e=>a.createElement(Qe,{key:e.key,item:e,openKey:l,onClickItem:d,locale:t}))))},Qe=({item:e,openKey:t,onClickItem:o,locale:i})=>{var n;const{t:l}=G();return(null===(n=e.disableLocale)||void 0===n?void 0:n.includes(i))?null:a.createElement("div",{className:`${Ge} nav-menu-item`,"data-is-open":t===e.key,key:e.key,"data-has-submenu":!!e.subMenu},a.createElement("div",{className:We,onClick:()=>o(e)},e.icon&&a.createElement("div",{className:Ye,style:{backgroundImage:`url("${e.icon}")`}}),l(e.key),e.subMenu&&a.createElement("div",{className:Ze,style:{"--after-bg":`url(${k.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg")})`}})),e.subMenu&&a.createElement("div",{className:qe},e.subMenu.map((e=>a.createElement(Qe,{key:e.key,item:e,openKey:t,onClickItem:o,locale:i})))))};var Je="-AZt1au",Xe="IvSIfCI",et="eahCJov",tt="XIyViFs",at="_4y-O0w3",ot="kO8iNgD",it="a1d4E10",nt="Tdguxxf",lt="-mOxsaU",rt="yPeDBNZ";const st={helloSites:{member:()=>k.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>k.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>k.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>k.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>k.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>k.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>k.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>k.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>k.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>k.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},dt=({themeName:e,rank:t="member",numberOfPosts:o=0})=>{const{t:i}=G(),l=n((()=>{var a,o;return(null===(o=null===(a=st[e])||void 0===a?void 0:a[t])||void 0===o?void 0:o.call(a))||""}),[t,e]);return a.createElement("div",{className:at,"data-user-rank":t},a.createElement("div",{className:ot},a.createElement("div",{className:it},a.createElement("div",{className:nt,style:{backgroundImage:`url("${l}")`}}),a.createElement("h3",{className:lt},i(`userProfile.userRank.${t}`)),o>0&&a.createElement("p",{className:rt},o," ",i("userProfile.nav.header.count.posts")))))},ct="profile/posts?website_url={websiteUrl}",mt=99,pt=300,gt=400,ht=210,ut=e=>{var t,a,o,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?(i=e.sponsor,i?{title:i.title,logo:i.logo,link:i.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>ut(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(a=e.cat_parent)||void 0===a?void 0:a.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(o=e.reviewed_by,{postTitle:o.post_title,permalink:o.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},vt=e=>{var t,a;if(!e)return{};const o=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),i=null===(a=e.link)||void 0===a?void 0:a.startsWith("/fil/"),n=e.link?e.link.startsWith("http")||o?e.link:i?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:n,subtitle:e.subtitle,title:e.title}},yt=e=>{var t,a,o,i,n;return e&&(null==e?void 0:e.object_id)?{thumbnail:(null===(t=null==e?void 0:e.object_id)||void 0===t?void 0:t.logo)||"",link:(null===(a=null==e?void 0:e.object_id)||void 0===a?void 0:a.slug)||"",subtitle:(null===(o=e.object_id)||void 0===o?void 0:o.name)||"",name:(null===(i=e.object_id)||void 0===i?void 0:i.name)||"",slug:(null===(n=e.object_id)||void 0===n?void 0:n.slug)||""}:{}},bt=e=>{var t,a,o,i;return e&&(null==e?void 0:e.object_id)?{id:e.id,name:(null===(t=e.object_id)||void 0===t?void 0:t.name)||"",logo:(null===(a=null==e?void 0:e.object_id)||void 0===a?void 0:a.logo)||"",description:(null===(o=e.object_id)||void 0===o?void 0:o.description)||"",slug:(null===(i=e.object_id)||void 0===i?void 0:i.slug)||""}:{}},ft=({type:e,specialtySlug:t,locale:a})=>{var o,i;return`${null===(o=oe[a])||void 0===o?void 0:o.ALL}/${(null===(i=oe[a])||void 0===i?void 0:i[e])||"doctor"}/${null!=t?t:""}`},xt=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}:{},wt=e=>{const t=new Date;if(null==e?void 0:e.startDate){const a=new Date(e.startDate);if(t.getTime()<a.getTime())return!1}if(null==e?void 0:e.endDate){const a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0},Et=({SSO_URL:e,UP_BASEPATH:t="user",themeName:l="helloSites",cardUrls:r=Ae,enableCare:s,enableTogether:d,enableEcom:c,enableMySaved:m,userInfo:p,togetherApiDomain:g,userPostsNumber:h,onClickNavigationCard:u,onClickMyProfileButton:v,onClickMenuItem:y,onClickLogout:b,isUserProfileNavigatorMenuHidden:f=!1,isMyHealthEnabled:x=!1,locale:w})=>{const{t:E}=G(),[C,P]=o(h||0),N="marryBaby"===l;i((()=>{if(p&&void 0===h){const e=J("hhg_user_token");e&&fetch(H(((e,t,a,o)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+ie(ct,Object.assign(Object.assign({},o),{websiteUrl:t?"https://marrybaby.vn":`https://${$[e]}`})))(w,N,g)),{headers:{Authorization:`Bearer ${e}`}}).then((e=>e.json())).then((e=>{var t,a,o;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&P((null===(o=null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.pagination)||void 0===o?void 0:o.total_items)||0)})).catch((e=>console.error("Error fetching post number",e)))}}),[w,null!==p,h,g,N]);const B=n((()=>{let e;return e=N?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"],e.filter((e=>"myBooking"===e?s:"myCommunity"===e?d:"myHealth"===e?x:"eCom"===e?c:"mySaved"!==e||m))}),[N,x]),_=n((()=>"marryBaby"===l?null:a.createElement(ee,{color:"tertiary",icon:a.createElement("img",{src:k.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15,loading:"lazy"}),size:"md",onClick:b,className:tt},E("userProfile.nav.menu.logout"))),[l]),M=a=>{a.startsWith("http")||a.startsWith("/")?window.location.href=L(a):e&&(window.location.href=L(`${e}${t}/${a}`))},A=e=>{const t=r[e];u?u(t):M(t)};return p?a.createElement("div",{className:Je,"data-theme":l},a.createElement(ze,{userInfo:p,themeName:l,onClickMyProfileButton:()=>{v?v():M("profile")}}),a.createElement(dt,{themeName:l,rank:"member",numberOfPosts:C}),a.createElement("div",{className:Xe},B.map((e=>a.createElement(Fe,{className:et,key:e,themeName:l,type:e,onClick:A})))),!f&&a.createElement(a.Fragment,null,a.createElement(Ke,{themeName:l,locale:w,onClickItem:e=>{"logout"===e.link&&b?b():e.link&&!e.subMenu&&(y?y(e.link):M(e.link))}}),_)):null},Ct=({SSO_URL:e,UP_BASEPATH:t,isOpen:o,targetAvatar:i,userInfo:n,enableCare:l,enableTogether:r,enableEcom:s,enableMySaved:d,closePopup:c,siteType:m="helloSites",dispatchLogout:p,userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:u=!1,togetherApiDomain:v,locale:y})=>{const b=a=>{a.startsWith("http")||a.startsWith("/")?window.location.href=L(a):g?g(`/${a}`):e&&(window.location.href=L(`${e}${t}/${a}`))},f=e=>{b(e),c()};return a.createElement(Me,{isOpen:o,type:"profile",enableAnimation:!0,targetAvatar:i,onClose:c},a.createElement(Et,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:n,enableCare:l,enableTogether:r,enableEcom:s,enableMySaved:d,onClickLogout:()=>{p&&(p(),c())},onClickMenuItem:f,onClickNavigationCard:f,onClickMyProfileButton:()=>{b("profile"),c()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:u,togetherApiDomain:v,locale:y}))},kt=x.div`
|
|
321
|
+
`,Me=({type:e="lead",closeIcon:t,isOpen:o=!0,onClose:i,children:n,enableAnimation:l=!0,targetAvatar:r,id:s,className:d})=>a.createElement($e,{"data-open":o,"data-type":e,"data-animation":l,"data-target":r,id:s,className:d},a.createElement("div",{className:"popup-content"},!!t&&a.createElement("div",{className:"close-button",onClick:i},t),n)),Ae={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"/shop/ho-so/"};var Te="uJQBNNg",Le="TfG3dM5",He="aMtjFNf",Se="cSz2RR-",Ue="GyFm00F";function ze({userInfo:e,onClickMyProfileButton:t,themeName:o="helloSites"}){const{t:i}=j(),l=n((()=>{const t=(null==e?void 0:e.name)||(null==e?void 0:e.username);return t&&t.length?t[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return a.createElement("div",{className:Te,onClick:()=>{t&&t()}},a.createElement(de,{className:Le,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:l,backgroundColor:"marryBaby"===o?G.mbColors.pink:G.colors.secondaryBase}),a.createElement("div",{className:He},a.createElement("div",{className:Se},(null==e?void 0:e.name)||(null==e?void 0:e.username)),a.createElement("div",{className:Ue,style:{"--bg-hellosites":`url(${b.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg")})`,"--bg-marrybaby":`url(${b.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg")})`}},i("userProfile.nav.header.viewProfile"))))}var De="fVk18fq",je="v8TCvUb",Re="mx7T4V3";const Oe={myHealth:G.mbColors.toneYellow,myCommunity:G.mbColors.toneBlue,mySaved:G.mbColors.toneGreen},Ie={helloSites:{myBooking:()=>b.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>b.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>b.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>b.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>b.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>b.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>b.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>b.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>b.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},Fe=({type:e,themeName:t,className:o,onClick:i=(()=>{})})=>{const{t:l}=j(),r=n((()=>{var a,o;return(null===(o=null===(a=Ie[t])||void 0===a?void 0:a[e])||void 0===o?void 0:o.call(a))||""}),[e,t]),s=n((()=>"marryBaby"!==t?"transparent":Oe[e]),[e,t]);return a.createElement("div",{onClick:function(){i(e)},className:`${De} ${o}`},a.createElement("div",{className:Re,style:{backgroundColor:s,backgroundImage:`url("${r}")`}}),a.createElement("h3",{className:je},l(`userProfile.nav.card.${e}`)))};var Ve="gn6HmGG",Ge="FCx8FEM",We="zMiRxaE",Ye="lZ2Z9MQ",Ze="rwm-agG",Ke="qMOscoq";const qe=({themeName:e,locale:t,onClickItem:i})=>{const[l,r]=o(""),s=n((()=>"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:b.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:b.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:b.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"common.profileNavigator.newsletterSubscription",link:"subscriptions",disableLocale:["id-ID","ms-MY","km-KH","en-PH","tl-PH","th-TH","my-MM","zh-TW","hi-IN"]},{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:b.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]),[e]);function d(e){e.subMenu?r((t=>t?"":e.key)):i&&i(e)}return a.createElement("div",{className:Ve},s.map((e=>a.createElement(Qe,{key:e.key,item:e,openKey:l,onClickItem:d,locale:t}))))},Qe=({item:e,openKey:t,onClickItem:o,locale:i})=>{var n;const{t:l}=j();return(null===(n=e.disableLocale)||void 0===n?void 0:n.includes(i))?null:a.createElement("div",{className:`${Ge} nav-menu-item`,"data-is-open":t===e.key,key:e.key,"data-has-submenu":!!e.subMenu},a.createElement("div",{className:We,onClick:()=>o(e)},e.icon&&a.createElement("div",{className:Ye,style:{backgroundImage:`url("${e.icon}")`}}),l(e.key),e.subMenu&&a.createElement("div",{className:Ze,style:{"--after-bg":`url(${b.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg")})`}})),e.subMenu&&a.createElement("div",{className:Ke},e.subMenu.map((e=>a.createElement(Qe,{key:e.key,item:e,openKey:t,onClickItem:o,locale:i})))))};var Je="-AZt1au",Xe="IvSIfCI",et="eahCJov",tt="XIyViFs",at="_4y-O0w3",ot="kO8iNgD",it="a1d4E10",nt="Tdguxxf",lt="-mOxsaU",rt="yPeDBNZ";const st={helloSites:{member:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},dt=({themeName:e,rank:t="member",numberOfPosts:o=0})=>{const{t:i}=j(),l=n((()=>{var a,o;return(null===(o=null===(a=st[e])||void 0===a?void 0:a[t])||void 0===o?void 0:o.call(a))||""}),[t,e]);return a.createElement("div",{className:at,"data-user-rank":t},a.createElement("div",{className:ot},a.createElement("div",{className:it},a.createElement("div",{className:nt,style:{backgroundImage:`url("${l}")`}}),a.createElement("h3",{className:lt},i(`userProfile.userRank.${t}`)),o>0&&a.createElement("p",{className:rt},o," ",i("userProfile.nav.header.count.posts")))))},ct="profile/posts?website_url={websiteUrl}",mt=99,pt=300,gt=400,ht=210,ut=e=>{var t,a,o,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?(i=e.sponsor,i?{title:i.title,logo:i.logo,link:i.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>ut(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(a=e.cat_parent)||void 0===a?void 0:a.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(o=e.reviewed_by,{postTitle:o.post_title,permalink:o.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},vt=e=>{var t,a;if(!e)return{};const o=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),i=null===(a=e.link)||void 0===a?void 0:a.startsWith("/fil/"),n=e.link?e.link.startsWith("http")||o?e.link:i?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:n,subtitle:e.subtitle,title:e.title}},yt=e=>{var t,a,o,i,n;return e&&(null==e?void 0:e.object_id)?{thumbnail:(null===(t=null==e?void 0:e.object_id)||void 0===t?void 0:t.logo)||"",link:(null===(a=null==e?void 0:e.object_id)||void 0===a?void 0:a.slug)||"",subtitle:(null===(o=e.object_id)||void 0===o?void 0:o.name)||"",name:(null===(i=e.object_id)||void 0===i?void 0:i.name)||"",slug:(null===(n=e.object_id)||void 0===n?void 0:n.slug)||""}:{}},bt=e=>{var t,a,o,i;return e&&(null==e?void 0:e.object_id)?{id:e.id,name:(null===(t=e.object_id)||void 0===t?void 0:t.name)||"",logo:(null===(a=null==e?void 0:e.object_id)||void 0===a?void 0:a.logo)||"",description:(null===(o=e.object_id)||void 0===o?void 0:o.description)||"",slug:(null===(i=e.object_id)||void 0===i?void 0:i.slug)||""}:{}},ft=({type:e,specialtySlug:t,locale:a})=>{var o,i;return`${null===(o=ae[a])||void 0===o?void 0:o.ALL}/${(null===(i=ae[a])||void 0===i?void 0:i[e])||"doctor"}/${null!=t?t:""}`},xt=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}:{},wt=e=>{const t=new Date;if(null==e?void 0:e.startDate){const a=new Date(e.startDate);if(t.getTime()<a.getTime())return!1}if(null==e?void 0:e.endDate){const a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0},Et=({SSO_URL:e,UP_BASEPATH:t="user",themeName:l="helloSites",cardUrls:r=Ae,enableCare:s,enableTogether:d,enableEcom:c,enableMySaved:m,userInfo:p,togetherApiDomain:g,userPostsNumber:h,onClickNavigationCard:u,onClickMyProfileButton:v,onClickMenuItem:y,onClickLogout:x,isUserProfileNavigatorMenuHidden:w=!1,isMyHealthEnabled:E=!1,locale:C})=>{const{t:k}=j(),[$,P]=o(h||0),_="marryBaby"===l;i((()=>{if(p&&void 0===h){const e=Q("hhg_user_token");e&&fetch(N(((e,t,a,o)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+oe(ct,Object.assign(Object.assign({},o),{websiteUrl:t?"https://marrybaby.vn":`https://${f[e]}`})))(C,_,g)),{headers:{Authorization:`Bearer ${e}`}}).then((e=>e.json())).then((e=>{var t,a,o;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&P((null===(o=null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.pagination)||void 0===o?void 0:o.total_items)||0)})).catch((e=>console.error("Error fetching post number",e)))}}),[C,null!==p,h,g,_]);const M=n((()=>{let e;return e=_?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"],e.filter((e=>"myBooking"===e?s:"myCommunity"===e?d:"myHealth"===e?E:"eCom"===e?c:"mySaved"!==e||m))}),[_,E]),A=n((()=>"marryBaby"===l?null:a.createElement(X,{color:"tertiary",icon:a.createElement("img",{src:b.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15,loading:"lazy"}),size:"md",onClick:x,className:tt},k("userProfile.nav.menu.logout"))),[l]),T=a=>{a.startsWith("http")||a.startsWith("/")?window.location.href=B(a):e&&(window.location.href=B(`${e}${t}/${a}`))},L=e=>{const t=r[e];u?u(t):T(t)};return p?a.createElement("div",{className:Je,"data-theme":l},a.createElement(ze,{userInfo:p,themeName:l,onClickMyProfileButton:()=>{v?v():T("profile")}}),a.createElement(dt,{themeName:l,rank:"member",numberOfPosts:$}),a.createElement("div",{className:Xe},M.map((e=>a.createElement(Fe,{className:et,key:e,themeName:l,type:e,onClick:L})))),!w&&a.createElement(a.Fragment,null,a.createElement(qe,{themeName:l,locale:C,onClickItem:e=>{"logout"===e.link&&x?x():e.link&&!e.subMenu&&(y?y(e.link):T(e.link))}}),A)):null},Ct=({SSO_URL:e,UP_BASEPATH:t,isOpen:o,targetAvatar:i,userInfo:n,enableCare:l,enableTogether:r,enableEcom:s,enableMySaved:d,closePopup:c,siteType:m="helloSites",dispatchLogout:p,userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:u=!1,togetherApiDomain:v,locale:y})=>{const b=a=>{a.startsWith("http")||a.startsWith("/")?window.location.href=B(a):g?g(`/${a}`):e&&(window.location.href=B(`${e}${t}/${a}`))},f=e=>{b(e),c()};return a.createElement(Me,{isOpen:o,type:"profile",enableAnimation:!0,targetAvatar:i,onClose:c},a.createElement(Et,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:n,enableCare:l,enableTogether:r,enableEcom:s,enableMySaved:d,onClickLogout:()=>{p&&(p(),c())},onClickMenuItem:f,onClickNavigationCard:f,onClickMyProfileButton:()=>{b("profile"),c()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:u,togetherApiDomain:v,locale:y}))},kt=u.div`
|
|
322
322
|
background-color: white;
|
|
323
323
|
text-align: center;
|
|
324
324
|
.cancle-img {
|
|
325
325
|
margin-top: 24px;
|
|
326
|
-
${
|
|
326
|
+
${F.mbDown} {
|
|
327
327
|
width: 80px;
|
|
328
328
|
height: 80px;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
-
${
|
|
331
|
+
${F.mbUp} {
|
|
332
332
|
width: 100px;
|
|
333
333
|
height: 100px;
|
|
334
334
|
}
|
|
@@ -339,12 +339,12 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
339
339
|
color: ${e=>e.theme.colors.gray800};
|
|
340
340
|
font-style: normal;
|
|
341
341
|
font-weight: bold;
|
|
342
|
-
${
|
|
342
|
+
${F.mbDown} {
|
|
343
343
|
font-size: 24px;
|
|
344
344
|
line-height: 32px;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
-
${
|
|
347
|
+
${F.mbUp} {
|
|
348
348
|
font-size: 32px;
|
|
349
349
|
line-height: 42px;
|
|
350
350
|
}
|
|
@@ -355,24 +355,24 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
355
355
|
color: ${e=>e.theme.colors.gray600};
|
|
356
356
|
font-style: normal;
|
|
357
357
|
font-weight: normal;
|
|
358
|
-
${
|
|
358
|
+
${F.mbDown} {
|
|
359
359
|
font-size: 16px;
|
|
360
360
|
line-height: 24px;
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
-
${
|
|
363
|
+
${F.mbUp} {
|
|
364
364
|
font-size: 16px;
|
|
365
365
|
line-height: 24px;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
`,$t=
|
|
368
|
+
`,$t=u.div`
|
|
369
369
|
display: flex;
|
|
370
370
|
|
|
371
|
-
${
|
|
371
|
+
${F.mbDown} {
|
|
372
372
|
margin-top: 24px;
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
-
${
|
|
375
|
+
${F.mbUp} {
|
|
376
376
|
margin-top: 32px;
|
|
377
377
|
}
|
|
378
378
|
justify-content: space-around;
|
|
@@ -382,7 +382,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
${e=>"marryBaby"===e.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""}
|
|
385
|
-
`,Pt=({openLogoutPopup:e,onCloseHandler:t,onLogoutHandler:o,siteType:n="helloSites"})=>{const{t:l}=
|
|
385
|
+
`,Pt=({openLogoutPopup:e,onCloseHandler:t,onLogoutHandler:o,siteType:n="helloSites"})=>{const{t:l}=j();return i((()=>{document.body.classList.toggle("noscroll",e)}),[e]),a.createElement(J,null,a.createElement(H,{type:"confirm",isOpen:e,closeIcon:a.createElement("img",{src:b.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:t},a.createElement(kt,null,"helloSites"===n&&a.createElement("img",{src:b.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),a.createElement("h2",null,l("helloSites"===n?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,l("logout.popup.ask2")),a.createElement($t,{siteType:n},a.createElement(X,{className:"logout-button",color:"tertiary",size:"lg",onClick:o},l("logout.popup.button.logout")),a.createElement(X,{className:"cancel-button",color:"primary",size:"lg",onClick:t},l("logout.popup.button.cancel"))))))},Nt=({userInfo:t,siteType:n,onLoginClick:l,SSO_URL:r,currentUrl:s,isMinifyLogin:d,enableCare:c,enableTogether:m,enableEcom:p,isUserProfileNavigatorMenuHidden:u,UP_BASEPATH:f,isMyHealthEnabled:x,togetherApiDomain:w,onLogout:E,style:C,userProfileRouterPush:k,isLoading:$,locale:P,enableMySaved:B})=>{const{t:_}=j(),[M,A]=o(!1),T=(null==t?void 0:t.name)||(null==t?void 0:t.username),[L,H]=o(!1);i((()=>{H(!0)}),[]);const{containerRef:S,onContainerFocus:U,onContainerBlur:z,onButtonMouseDown:D,onClose:R}=Ce();return $?a.createElement(g,{size:"sm",color:"transparent",loading:$}):(null==t?void 0:t.id)?a.createElement(a.Fragment,null,a.createElement(Be,{ref:S,style:C,tabIndex:0,onBlur:z,onFocus:U},a.createElement("div",{onMouseDown:D},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),a.createElement(h,{size:40,className:"user-avatar",src:null==t?void 0:t.avatar,color:"marryBaby"===n?G.mbColors.pink:G.colors.secondaryBase,placeholderText:T&&T.length?T[0].toUpperCase():"A"})),a.createElement(Ct,{UP_BASEPATH:f,SSO_URL:r,dispatchLogout:()=>{R(),A(!0)},isOpen:!1,isMyHealthEnabled:x,enableCare:c,enableTogether:m,enableEcom:p,enableMySaved:B,closePopup:R,userInfo:t,siteType:n,isUserProfileNavigatorMenuHidden:u,togetherApiDomain:w,userProfileRouterPush:k,locale:P})),a.createElement(Pt,{openLogoutPopup:M,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),A(!1)},siteType:n,onLogoutHandler:()=>e(void 0,void 0,void 0,(function*(){A(!1),document.body.classList.toggle("noscroll",!1),yield E()}))})):a.createElement(_e,{style:Object.assign({textDecoration:"none"},C),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":s,href:L?void 0:N(`${r}?returnUrl=${s}`),"data-site-type":n},d?a.createElement(Ne,{onClick:l},a.createElement("img",{src:b.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===n&&(P===V.Indonesia||P===V.PhilippinesTagalog||P===V.PhilippinesEnglish?a.createElement("img",{className:"mobile-only",src:b.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:l}):a.createElement(g,{className:"mobile-only",size:"sm",onClick:l,leftIcon:a.createElement(y,{useCurrentColor:!0,isSolid:!0,size:22}),sx:{paddingLeft:"8px",paddingRight:"12px"}},_("navigation.loginJoin"))),"marryBaby"===n&&a.createElement("div",{className:"mobile-only",onClick:l,style:{paddingLeft:16}},a.createElement(v,{size:"p3",color:G.mbColors.pink},_("navigation.loginJoin"))),a.createElement(g,{className:"login-btn",size:"md",onClick:l,leftIcon:a.createElement(y,{useCurrentColor:!0,isSolid:!0,size:22})},_("navigation.loginJoin"))))};var Bt="spdlGfq",_t="vgS16jX";const Mt=({onCareHeaderClick:e,currentUrl:t,careUrlFe:o,btnName:i})=>e?a.createElement(X,{className:Bt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},i):a.createElement("a",{href:o,className:`${_t} care-button no-replace-click`},a.createElement(X,{className:Bt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},i));var At="y5VJdvw",Tt="oVhOSCy",Lt="pX8OXTM";const Ht=a.createContext({}),St=e=>{var{children:o}=e,l=t(e,["children"]);const[r,s]=a.useState((()=>l.currentUrl||`https://${"marryBaby"===l.siteType?Z[l.locale||"en-PH"]:f[l.locale||"en-PH"]}${"together"===l.projectType?"/community":"ecom"===l.projectType?"/ecom":"care"===l.projectType?"/care":""}/`));i((()=>{const e=()=>{s(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const d=(({locale:e,projectType:t,isMobile:a,siteType:o,enableBookingBtn:i})=>n((()=>{const n=!(!a&&"profile"===t),l="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,r="marryBaby"!==o&&"marryBaby"!==t&&x.includes(e),s=i&&"marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&w.includes(e),d="marryBaby"===t||E.includes(e),c="marryBaby"!==o&&C.includes(e),m="marryBaby"!==o&&C.includes(e);let p=_(e,"marryBaby"===o);"undefined"!=typeof window&&(p.includes("//id.")&&(p=p.replace("id.","")),p.includes("//staging-id.")&&(p=p.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:n,enableSearchBar:l,enableNavCare:r,enableNavCareBooking:s,enableNavTogether:d,enableNavEcom:c,enableProfileEcom:m,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:p,CARE_URL_FE:`${p}/care`,TOGETHER_URL_FE:`${p}/community`,SSO_URL:M(e,"marryBaby"===o),TOGETHER_API:A(),DISCOVER_API:T(e)}}}),[e,t,a]))({locale:l.locale,projectType:l.projectType,isMobile:l.isMobile,siteType:l.siteType,enableBookingBtn:l.enableBookingBtn});return a.createElement(Ht.Provider,{value:Object.assign(Object.assign({},l),{configs:Object.assign(Object.assign({},d),l.configs),currentUrl:l.currentUrl||r})},o)};function Ut({className:e}){return a.createElement("div",null,a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function zt({siteType:e,type:t,enableSearch:o,className:i}){return"helloSites"===e?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:o?b.getAssetPath("hamburgerMenuNewWithSearch.svg"):b.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:i,loading:"lazy"})):a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}const Dt=u.div`
|
|
386
386
|
position: fixed;
|
|
387
387
|
z-index: 201;
|
|
388
388
|
top: calc(100% + 1px); // border 1px
|
|
@@ -398,7 +398,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
398
398
|
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
399
399
|
position: unset;
|
|
400
400
|
}
|
|
401
|
-
`;
|
|
401
|
+
`;u.div`
|
|
402
402
|
position: fixed;
|
|
403
403
|
bottom: 0;
|
|
404
404
|
left: 0;
|
|
@@ -421,7 +421,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
421
421
|
height: 48px;
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
`,
|
|
424
|
+
`,u.div`
|
|
425
425
|
display: flex;
|
|
426
426
|
|
|
427
427
|
&[data-card-array-no-margin-style='true'] {
|
|
@@ -442,11 +442,11 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
442
442
|
margin: 0 4px;
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
|
-
`,
|
|
445
|
+
`,u.div`
|
|
446
446
|
margin-top: 64px;
|
|
447
|
-
`,
|
|
447
|
+
`,u.div`
|
|
448
448
|
padding: 24px 0;
|
|
449
|
-
`,
|
|
449
|
+
`,u.div`
|
|
450
450
|
display: flex;
|
|
451
451
|
width: 100%;
|
|
452
452
|
align-items: center;
|
|
@@ -455,7 +455,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
455
455
|
& > div:first-child {
|
|
456
456
|
margin-right: 8px;
|
|
457
457
|
}
|
|
458
|
-
`,
|
|
458
|
+
`,u.div`
|
|
459
459
|
z-index: ${ht};
|
|
460
460
|
align-items: center;
|
|
461
461
|
|
|
@@ -464,14 +464,14 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
464
464
|
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
465
465
|
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
466
466
|
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
467
|
-
`,
|
|
467
|
+
`,u.div`
|
|
468
468
|
position: relative;
|
|
469
469
|
display: flex;
|
|
470
470
|
flex-wrap: wrap;
|
|
471
471
|
align-items: flex-start;
|
|
472
472
|
justify-content: flex-start;
|
|
473
473
|
padding: 48px 0;
|
|
474
|
-
`,
|
|
474
|
+
`,u.div`
|
|
475
475
|
position: relative;
|
|
476
476
|
display: flex;
|
|
477
477
|
flex-wrap: wrap;
|
|
@@ -480,7 +480,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
480
480
|
&[data-disabled-divider='false'] {
|
|
481
481
|
border-right: 1px solid #e4e8ec;
|
|
482
482
|
}
|
|
483
|
-
`,
|
|
483
|
+
`,u.div`
|
|
484
484
|
width: 20%;
|
|
485
485
|
padding-right: 16px;
|
|
486
486
|
margin-bottom: 12px;
|
|
@@ -508,9 +508,9 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
508
508
|
margin-right: 16px;
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
|
-
`,
|
|
511
|
+
`,u.div`
|
|
512
512
|
display: none;
|
|
513
|
-
`,
|
|
513
|
+
`,u.div`
|
|
514
514
|
width: 33%;
|
|
515
515
|
height: 48px;
|
|
516
516
|
padding-right: 16px;
|
|
@@ -532,7 +532,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
532
532
|
& > a > p:hover {
|
|
533
533
|
color: ${e=>e.theme.colors.primaryBase};
|
|
534
534
|
}
|
|
535
|
-
`,
|
|
535
|
+
`,u.div`
|
|
536
536
|
display: flex;
|
|
537
537
|
align-items: center;
|
|
538
538
|
|
|
@@ -546,21 +546,21 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
546
546
|
&[data-theme='marryBaby'] {
|
|
547
547
|
color: ${e=>e.theme.mbColors.pink};
|
|
548
548
|
}
|
|
549
|
-
`,
|
|
549
|
+
`,u.div`
|
|
550
550
|
display: flex;
|
|
551
551
|
align-items: center;
|
|
552
552
|
|
|
553
553
|
margin-left: 10px;
|
|
554
|
-
`,
|
|
554
|
+
`,u.div`
|
|
555
555
|
position: absolute;
|
|
556
556
|
top: 16px;
|
|
557
557
|
right: 0;
|
|
558
558
|
display: flex;
|
|
559
559
|
align-items: center;
|
|
560
560
|
cursor: pointer;
|
|
561
|
-
`,
|
|
561
|
+
`,u.div`
|
|
562
562
|
display: block;
|
|
563
|
-
`,
|
|
563
|
+
`,u.div`
|
|
564
564
|
.categories__spotlight {
|
|
565
565
|
display: grid;
|
|
566
566
|
margin: 16px;
|
|
@@ -640,13 +640,13 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
|
-
`,
|
|
643
|
+
`,u.div`
|
|
644
644
|
width: 20%;
|
|
645
645
|
height: 2px;
|
|
646
646
|
|
|
647
647
|
background-color: ${e=>e.theme.mbColors.pink};
|
|
648
648
|
border-radius: 2px;
|
|
649
|
-
`;const jt=
|
|
649
|
+
`;const jt=u.div`
|
|
650
650
|
padding: 16px;
|
|
651
651
|
padding-bottom: 12px;
|
|
652
652
|
.fake-search-input {
|
|
@@ -664,7 +664,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
664
664
|
border: none;
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
|
-
`,Rt=
|
|
667
|
+
`,Rt=u.div`
|
|
668
668
|
display: block;
|
|
669
669
|
overflow-y: auto;
|
|
670
670
|
flex: 1;
|
|
@@ -673,15 +673,15 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
673
673
|
width: 0;
|
|
674
674
|
display: none;
|
|
675
675
|
}
|
|
676
|
-
`,Ot=r((()=>a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),It=()=>{const{locale:e,configs:{statics:t},siteType:o}=s(
|
|
676
|
+
`,Ot=r((()=>a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),It=()=>{const{locale:e,configs:{statics:t},siteType:o}=s(Ht),i=R(),{t:n}=j();return a.createElement(K,{className:"fake-search-input",name:"search-input-menu-service"+i,size:"md",placeholder:"marryBaby"===o?n("navigation.search.input.placeholder"):n("home.search",{site:k[e||"en-PH"]?k[e||"en-PH"].SITE_NAME:""}),onChange:()=>{},onKeyDown:e=>"Enter"===e.key&&(window.location.href=`${t.HOME_PAGE_URL}/search/?s=${e.target.value}`),type:"search",onFocus:e=>{e.preventDefault()},displayIcon:a.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},a.createElement(Ot,null))})},Ft=u.div`
|
|
677
677
|
padding-right: 1rem;
|
|
678
678
|
margin-top: 10px;
|
|
679
679
|
background: #ffffff;
|
|
680
680
|
padding: 5px 15px;
|
|
681
|
-
${
|
|
681
|
+
${F.mbUp} {
|
|
682
682
|
border-right: 1px solid #e4e8ec;
|
|
683
683
|
}
|
|
684
|
-
`,Vt=
|
|
684
|
+
`,Vt=u.a`
|
|
685
685
|
padding: 10px 0;
|
|
686
686
|
position: relative;
|
|
687
687
|
|
|
@@ -729,19 +729,19 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
|
-
`,Gt=
|
|
732
|
+
`,Gt=u.div`
|
|
733
733
|
margin: 15px 0;
|
|
734
|
-
${
|
|
734
|
+
${F.mbDown} {
|
|
735
735
|
display: none;
|
|
736
736
|
}
|
|
737
|
-
`,Wt=
|
|
737
|
+
`,Wt=u.div`
|
|
738
738
|
display: flex;
|
|
739
739
|
position: absolute;
|
|
740
740
|
right: 0;
|
|
741
|
-
${
|
|
741
|
+
${F.mbUp} {
|
|
742
742
|
display: none;
|
|
743
743
|
}
|
|
744
|
-
`,Yt=
|
|
744
|
+
`,Yt=u.div`
|
|
745
745
|
display: flex;
|
|
746
746
|
align-items: center;
|
|
747
747
|
color: ${e=>e.theme.colors.primaryBase};
|
|
@@ -756,11 +756,11 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
756
756
|
&[data-theme='marryBaby'] {
|
|
757
757
|
color: ${e=>e.theme.mbColors.pink};
|
|
758
758
|
}
|
|
759
|
-
`,Zt=
|
|
759
|
+
`,Zt=u.div`
|
|
760
760
|
display: flex;
|
|
761
761
|
align-items: center;
|
|
762
762
|
margin-left: 10px;
|
|
763
|
-
`,
|
|
763
|
+
`,Kt=u.a`
|
|
764
764
|
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
765
765
|
&[data-theme='marryBaby'] {
|
|
766
766
|
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
@@ -776,10 +776,10 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
776
776
|
padding: 6px;
|
|
777
777
|
border-radius: 5px;
|
|
778
778
|
margin-top: 20px;
|
|
779
|
-
${
|
|
779
|
+
${F.mbDown} {
|
|
780
780
|
display: none;
|
|
781
781
|
}
|
|
782
|
-
`;var
|
|
782
|
+
`;var qt="wnUb-dV",Qt="cjbOxWe",Jt="gB4rp89";const Xt=({item:e,menu:t})=>{const{containerRef:o,onContainerFocus:i,onContainerBlur:n,onButtonMouseDown:l,onClose:r}=Ce({allowBgScroll:!0}),s=ne();return!e.popupType&&e.link?a.createElement(ea,{isNew:e.isNew},a.createElement("a",{className:`hhgcomp-navigation-itemnav-headeritem ${s?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:Qt},"care"===e.id&&a.createElement("div",{className:Jt},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name))):a.createElement(ea,{isNew:e.isNew},a.createElement("div",{ref:o,className:`hhgcomp-navigation-itemnav-headeritem ${s?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,key:e.id,onBlur:n,onFocus:i,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:l,className:Qt},"care"===e.id&&a.createElement("a",{className:Jt,href:N(e.link+"/")},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name,e.popupType&&a.createElement("div",{className:qt},a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),a.isValidElement(t)?a.cloneElement(t,{onClose:r}):null))},ea=({isNew:e,children:t})=>{const{t:o}=j();return e?a.createElement(ie,{color:"green",label:o("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},t):a.createElement(a.Fragment,null,t)},ta=({hrefViewMore:e,titleBtnViewMore:t,UrlFE:o,onClosePopup:i,menuItems:n,headingTitle:l})=>{const{siteType:r}=s(Ht);return a.createElement(Ft,null,a.createElement(Gt,null,a.createElement(q,{tag:"marryBaby"===r?"h5":"h6",as:"p",fontWeight:"semibold"},l)),null==n?void 0:n.slice(0,6).map(((e,t)=>{const n=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${o}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return a.createElement(Vt,Object.assign({className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":n,"data-is-heading-category":!1,href:n},!me(n)&&{target:"_blank"},{"data-theme":r,key:t,onClick:i}),a.createElement("div",{className:"icon"},a.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32,overflow:"hidden"}})),a.createElement(ea,{isNew:e.isNew},a.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),a.createElement(Wt,null,a.createElement("img",{src:b.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),t&&a.createElement(Kt,{"data-theme":r,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},a.createElement(Yt,{onClick:i,"data-theme":r,"data-is-heading-category":!1},t,a.createElement(Zt,null,a.createElement("img",{className:"svg",src:"marryBaby"===r?b.getAssetPath("chevronRightPink.svg"):b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))};u.div`
|
|
783
783
|
& > a:not(:last-child) > div {
|
|
784
784
|
border-bottom: 1px solid
|
|
785
785
|
${e=>e.theme.colors.neutral100};
|
|
@@ -792,16 +792,16 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
792
792
|
&[data-is-displayed='false'] {
|
|
793
793
|
display: none;
|
|
794
794
|
}
|
|
795
|
-
`;const aa=
|
|
795
|
+
`;const aa=u.div`
|
|
796
796
|
display: grid;
|
|
797
797
|
|
|
798
798
|
grid-template-columns: repeat(3, 1fr);
|
|
799
799
|
gap: 24px;
|
|
800
800
|
margin-bottom: 3.5rem;
|
|
801
|
-
${
|
|
801
|
+
${F.tdDown} {
|
|
802
802
|
grid-template-columns: repeat(1, 1fr);
|
|
803
803
|
}
|
|
804
|
-
`,oa=
|
|
804
|
+
`,oa=u.div`
|
|
805
805
|
height: 152px; // 120 + 16 * 2
|
|
806
806
|
position: absolute;
|
|
807
807
|
top: 0;
|
|
@@ -822,22 +822,22 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
822
822
|
display: block;
|
|
823
823
|
object-fit: contain;
|
|
824
824
|
}
|
|
825
|
-
${
|
|
825
|
+
${F.tdDown} {
|
|
826
826
|
margin-bottom: 0;
|
|
827
827
|
padding: 0;
|
|
828
828
|
height: 100%;
|
|
829
829
|
position: unset;
|
|
830
830
|
width: 150px;
|
|
831
831
|
}
|
|
832
|
-
${
|
|
832
|
+
${F.mbDown} {
|
|
833
833
|
width: 80px;
|
|
834
834
|
}
|
|
835
|
-
`,ia=
|
|
835
|
+
`,ia=u.div`
|
|
836
836
|
background-color: #ffffff;
|
|
837
837
|
border-radius: 4px;
|
|
838
838
|
width: 100%;
|
|
839
839
|
height: 100%;
|
|
840
|
-
`,na=
|
|
840
|
+
`,na=u.div`
|
|
841
841
|
display: flex;
|
|
842
842
|
margin-top: 1rem;
|
|
843
843
|
align-items: center;
|
|
@@ -845,18 +845,18 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
845
845
|
font-weight: 400;
|
|
846
846
|
font-size: 14px;
|
|
847
847
|
text-decoration: none;
|
|
848
|
-
${
|
|
848
|
+
${F.tdDown} {
|
|
849
849
|
display: none;
|
|
850
850
|
}
|
|
851
|
-
`,la=
|
|
851
|
+
`,la=u.p`
|
|
852
852
|
font-size: 16px;
|
|
853
853
|
font-weight: 600;
|
|
854
854
|
line-height: 1.6;
|
|
855
855
|
color: ${e=>e.theme.colors.gray800};
|
|
856
|
-
${
|
|
856
|
+
${F.tdDown} {
|
|
857
857
|
padding: 0;
|
|
858
858
|
}
|
|
859
|
-
`,ra=
|
|
859
|
+
`,ra=u.p`
|
|
860
860
|
font-size: 14px;
|
|
861
861
|
line-height: 1.6;
|
|
862
862
|
font-weight: 400;
|
|
@@ -868,23 +868,23 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
868
868
|
-webkit-line-clamp: 2;
|
|
869
869
|
-webkit-box-orient: vertical;
|
|
870
870
|
margin-bottom: auto;
|
|
871
|
-
${
|
|
871
|
+
${F.tdDown} {
|
|
872
872
|
height: unset;
|
|
873
873
|
padding: 0;
|
|
874
874
|
}
|
|
875
|
-
`,sa="hhgcomp-navigation-menucareitem-contentwrapper",da=
|
|
875
|
+
`,sa="hhgcomp-navigation-menucareitem-contentwrapper",da=Y(u.div`
|
|
876
876
|
display: flex;
|
|
877
877
|
flex-direction: column;
|
|
878
878
|
gap: 8px;
|
|
879
879
|
flex: 1;
|
|
880
880
|
z-index: 1;
|
|
881
|
-
${
|
|
881
|
+
${F.tdDown} {
|
|
882
882
|
gap: 4px;
|
|
883
883
|
}
|
|
884
|
-
`,sa),ca=
|
|
884
|
+
`,sa),ca=u.a`
|
|
885
885
|
text-decoration: none;
|
|
886
886
|
border-radius: 4px;
|
|
887
|
-
background: ${
|
|
887
|
+
background: ${G.colors.white};
|
|
888
888
|
position: relative;
|
|
889
889
|
overflow: hidden;
|
|
890
890
|
padding: 16px;
|
|
@@ -893,7 +893,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
893
893
|
* {
|
|
894
894
|
pointer-events: none;
|
|
895
895
|
}
|
|
896
|
-
${
|
|
896
|
+
${F.tdUp} {
|
|
897
897
|
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),
|
|
898
898
|
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
899
899
|
gap: 30px;
|
|
@@ -903,7 +903,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
903
903
|
width: 100%;
|
|
904
904
|
}
|
|
905
905
|
}
|
|
906
|
-
${
|
|
906
|
+
${F.tdDown} {
|
|
907
907
|
padding-top: 16px;
|
|
908
908
|
a {
|
|
909
909
|
display: none;
|
|
@@ -921,7 +921,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
921
921
|
width: 150px;
|
|
922
922
|
}
|
|
923
923
|
}
|
|
924
|
-
${
|
|
924
|
+
${F.mbDown} {
|
|
925
925
|
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),
|
|
926
926
|
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
927
927
|
display: flex;
|
|
@@ -931,8 +931,8 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
931
931
|
height: 80px;
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
|
-
${
|
|
935
|
-
border: 1px solid ${
|
|
934
|
+
${F.tdOnly} {
|
|
935
|
+
border: 1px solid ${G.colors.neutral100};
|
|
936
936
|
}
|
|
937
937
|
.bg-svg {
|
|
938
938
|
width: 100%;
|
|
@@ -943,7 +943,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
943
943
|
position: absolute;
|
|
944
944
|
display: inline-block;
|
|
945
945
|
}
|
|
946
|
-
`,ma=({item:e,index:t=0})=>{var o;const{t:i}=
|
|
946
|
+
`,ma=({item:e,index:t=0})=>{var o;const{t:i}=j(),{locale:n,configs:{statics:l}}=s(Ht);if(!e)return null;const r=`${l.CARE_URL_FE}/${null===(o=ae[n])||void 0===o?void 0:o.HOSPITAL}/${e.slug}-${e.id}`;return a.createElement(ca,{key:e.id,href:r,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${t+1}`,"data-event-label":r},a.createElement("img",{src:b.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),a.createElement(oa,null,a.createElement(ia,null,a.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),a.createElement(da,null,a.createElement(la,null,e.name),a.createElement(ra,null,e.description),a.createElement(na,null,i("home.seeMore"),a.createElement("img",{src:b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},pa=u.div`
|
|
947
947
|
padding: 16px;
|
|
948
948
|
border-radius: 8px;
|
|
949
949
|
position: relative;
|
|
@@ -960,7 +960,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
960
960
|
left: 0;
|
|
961
961
|
z-index: -1;
|
|
962
962
|
}
|
|
963
|
-
${
|
|
963
|
+
${F.mbDown} {
|
|
964
964
|
display: block;
|
|
965
965
|
.bg-svg {
|
|
966
966
|
right: -24px;
|
|
@@ -970,45 +970,45 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
972
|
|
|
973
|
-
${
|
|
973
|
+
${F.mbUp} {
|
|
974
974
|
display: grid;
|
|
975
975
|
grid-gap: 10px;
|
|
976
976
|
grid-template-columns: 1fr 3fr;
|
|
977
977
|
}
|
|
978
|
-
`,ga=
|
|
978
|
+
`,ga=u.div`
|
|
979
979
|
font-weight: 400;
|
|
980
980
|
font-size: 14px;
|
|
981
981
|
line-height: 24px;
|
|
982
982
|
color: ${e=>e.theme.colors.gray600};
|
|
983
983
|
margin-bottom: 15px;
|
|
984
|
-
`,ha=
|
|
984
|
+
`,ha=u.div`
|
|
985
985
|
font-weight: 600;
|
|
986
986
|
font-size: 16px;
|
|
987
987
|
line-height: 26px;
|
|
988
988
|
color: #000000;
|
|
989
989
|
margin-bottom: 4px;
|
|
990
|
-
`,ua=
|
|
990
|
+
`,ua=u.div`
|
|
991
991
|
background: #fff;
|
|
992
992
|
padding: 5px;
|
|
993
993
|
display: flex;
|
|
994
994
|
align-items: center;
|
|
995
995
|
justify-content: center;
|
|
996
996
|
border-radius: 50px;
|
|
997
|
-
`,va=
|
|
997
|
+
`,va=u.div`
|
|
998
998
|
display: flex;
|
|
999
999
|
justify-content: center;
|
|
1000
1000
|
align-items: center;
|
|
1001
1001
|
position: relative;
|
|
1002
|
-
${
|
|
1002
|
+
${F.mbDown} {
|
|
1003
1003
|
justify-content: end;
|
|
1004
1004
|
min-height: 100px;
|
|
1005
1005
|
}
|
|
1006
|
-
`,ya=({title:e,link:t,description:o,cta:i,icon:n})=>{const{siteType:l}=s(
|
|
1006
|
+
`,ya=({title:e,link:t,description:o,cta:i,icon:n})=>{const{siteType:l}=s(Ht);return a.createElement(pa,{"data-theme":l},a.createElement(va,null,a.createElement("img",{src:"marryBaby"===l?b.getAssetPath("navMBSpotlightBgNoData.svg"):b.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(ua,null,n&&a.createElement("img",{src:n,width:64,height:64,loading:"lazy"}))),a.createElement("div",null,e&&a.createElement(ha,null,e),o&&a.createElement(ga,null,o),i&&a.createElement("div",null,a.createElement("a",{href:t},a.createElement(X,{theme:l,className:"survey-contact-submit",size:"md"},i)))))},ba=u.div`
|
|
1007
1007
|
margin-top: 10px;
|
|
1008
1008
|
background: #ffffff;
|
|
1009
1009
|
padding: 5px 15px;
|
|
1010
1010
|
position: relative;
|
|
1011
|
-
${
|
|
1011
|
+
${F.mbDown} {
|
|
1012
1012
|
&:after {
|
|
1013
1013
|
position: absolute;
|
|
1014
1014
|
top: 0;
|
|
@@ -1019,10 +1019,10 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1019
1019
|
content: '';
|
|
1020
1020
|
}
|
|
1021
1021
|
}
|
|
1022
|
-
`,fa=
|
|
1022
|
+
`,fa=u.div`
|
|
1023
1023
|
margin: 15px 0;
|
|
1024
1024
|
display: flex;
|
|
1025
|
-
`,xa=
|
|
1025
|
+
`,xa=u.a`
|
|
1026
1026
|
padding-left: 10px;
|
|
1027
1027
|
display: flex;
|
|
1028
1028
|
align-items: center;
|
|
@@ -1036,10 +1036,10 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1036
1036
|
img {
|
|
1037
1037
|
padding-left: 5px;
|
|
1038
1038
|
}
|
|
1039
|
-
${
|
|
1039
|
+
${F.mbDown} {
|
|
1040
1040
|
margin-left: auto;
|
|
1041
1041
|
}
|
|
1042
|
-
`,wa=({title:e,viewMore:t,children:o,link:i,dataEventAction:n=""})=>{const{siteType:l}=s(
|
|
1042
|
+
`,wa=({title:e,viewMore:t,children:o,link:i,dataEventAction:n=""})=>{const{siteType:l}=s(Ht);return a.createElement(ba,null,a.createElement(fa,null,a.createElement(q,{tag:"marryBaby"===l?"h5":"h6",as:"p",fontWeight:"semibold"},e),t&&a.createElement(xa,{"data-event-category":"Hamburger Navigation","data-event-action":n,"data-event-label":i,href:i,"data-theme":l},t,a.createElement("img",{src:"marryBaby"===l?b.getAssetPath("chevronRightPink.svg"):b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),o)},Ea=({spotlights:e=[],hrefViewMore:t})=>{const{t:o}=j(),{siteType:i}=s(Ht);return a.createElement(wa,{title:o("home.navigator.menu.spotlightHospitals")},0!==e.length?a.createElement(a.Fragment,null,a.createElement(aa,null,null==e?void 0:e.slice(0,3).map(((e,t)=>a.createElement(ma,{key:t,index:t,item:e})))),a.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},a.createElement("a",{href:t},a.createElement(X,{theme:i,className:"survey-contact-submit",size:"md"},o("home.navigator.menu.care.homeButton"))))):a.createElement(ya,{title:o("home.navigator.menu.care.noDatas.title"),description:o("home.navigator.menu.care.noDatas.description"),link:t,cta:o("home.navigator.menu.care.homeButton"),icon:b.getAssetPath("community.svg")}))};u.div`
|
|
1043
1043
|
&[data-category-list-type='sub'] {
|
|
1044
1044
|
padding-bottom: 72px;
|
|
1045
1045
|
}
|
|
@@ -1047,21 +1047,21 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1047
1047
|
&[data-is-displayed='false'] {
|
|
1048
1048
|
display: none;
|
|
1049
1049
|
}
|
|
1050
|
-
`,
|
|
1050
|
+
`,u.div`
|
|
1051
1051
|
& > div {
|
|
1052
1052
|
width: 100%;
|
|
1053
1053
|
margin-bottom: 8px;
|
|
1054
1054
|
}
|
|
1055
|
-
`;const Ca=
|
|
1055
|
+
`;const Ca=u.div`
|
|
1056
1056
|
display: grid;
|
|
1057
1057
|
|
|
1058
1058
|
grid-template-columns: repeat(4, 1fr);
|
|
1059
1059
|
gap: 24px;
|
|
1060
|
-
${
|
|
1060
|
+
${F.tdDown} {
|
|
1061
1061
|
gap: 12px;
|
|
1062
1062
|
grid-template-columns: 1fr;
|
|
1063
1063
|
}
|
|
1064
|
-
`,ka=
|
|
1064
|
+
`,ka=u.a`
|
|
1065
1065
|
width: 100%;
|
|
1066
1066
|
display: flex;
|
|
1067
1067
|
align-items: center;
|
|
@@ -1069,7 +1069,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1069
1069
|
* {
|
|
1070
1070
|
pointer-events: none;
|
|
1071
1071
|
}
|
|
1072
|
-
`,$a=
|
|
1072
|
+
`,$a=u.div`
|
|
1073
1073
|
border-radius: 5px;
|
|
1074
1074
|
display: block;
|
|
1075
1075
|
overflow: hidden;
|
|
@@ -1086,21 +1086,21 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1086
1086
|
top: 0;
|
|
1087
1087
|
left: 0;
|
|
1088
1088
|
}
|
|
1089
|
-
${
|
|
1089
|
+
${F.tdDown} {
|
|
1090
1090
|
width: 72px;
|
|
1091
1091
|
padding-top: 100px;
|
|
1092
1092
|
}
|
|
1093
|
-
`,Pa=
|
|
1093
|
+
`,Pa=u.p`
|
|
1094
1094
|
font-size: 16px;
|
|
1095
1095
|
font-weight: 400;
|
|
1096
1096
|
padding: 4px 15px;
|
|
1097
1097
|
line-height: 1.4;
|
|
1098
1098
|
color: ${e=>e.theme.colors.gray800};
|
|
1099
1099
|
flex: 1;
|
|
1100
|
-
${
|
|
1100
|
+
${F.tdUp} {
|
|
1101
1101
|
display: none;
|
|
1102
1102
|
}
|
|
1103
|
-
`,Na=({item:e,index:t=0})=>e?a.createElement(ka,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${t+1}`,"data-event-label":e.link},a.createElement($a,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),a.createElement(Pa,null,e.title)):null,Ba=({spotlightsList:e=[],hrefViewMore:t})=>{const{t:o}=
|
|
1103
|
+
`,Na=({item:e,index:t=0})=>e?a.createElement(ka,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${t+1}`,"data-event-label":e.link},a.createElement($a,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),a.createElement(Pa,null,e.title)):null,Ba=({spotlightsList:e=[],hrefViewMore:t})=>{const{t:o}=j(),{configs:{statics:i}}=s(Ht);return a.createElement(wa,{title:o("home.navigator.menu.spotlights"),viewMore:o("home.navigator.menu.spotlights.seeAll"),link:t,dataEventAction:"Spotlight See More Click"},0!==e.length?a.createElement(Ca,null,null==e?void 0:e.slice(0,4).map(((e,t)=>a.createElement(Na,{key:t,index:t,item:{id:e.id,link:i.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):a.createElement(ya,{title:o("home.navigator.menu.category.noDatas.title"),description:o("home.navigator.menu.category.noDatas.description"),link:t,cta:o("home.navigator.menu.category.noDatas.cta"),icon:b.getAssetPath("Spotlight.svg")}))};u.div`
|
|
1104
1104
|
& > :not(:last-child) {
|
|
1105
1105
|
border-bottom: 1px solid
|
|
1106
1106
|
${e=>e.theme.colors.neutral100};
|
|
@@ -1118,31 +1118,31 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1118
1118
|
&[data-is-displayed='false'] {
|
|
1119
1119
|
display: none;
|
|
1120
1120
|
}
|
|
1121
|
-
`,
|
|
1121
|
+
`,u.div`
|
|
1122
1122
|
& > div {
|
|
1123
1123
|
width: 100%;
|
|
1124
1124
|
margin-bottom: 8px;
|
|
1125
1125
|
}
|
|
1126
|
-
`;const _a=
|
|
1126
|
+
`;const _a=u.div`
|
|
1127
1127
|
display: grid;
|
|
1128
1128
|
grid-template-columns: repeat(2, 1fr);
|
|
1129
1129
|
grid-gap: 48px;
|
|
1130
|
-
${
|
|
1130
|
+
${F.tdDown} {
|
|
1131
1131
|
grid-template-columns: 1fr;
|
|
1132
1132
|
grid-gap: 32px;
|
|
1133
1133
|
}
|
|
1134
|
-
${
|
|
1134
|
+
${F.mbDown} {
|
|
1135
1135
|
grid-gap: 24px;
|
|
1136
1136
|
}
|
|
1137
|
-
`,Ma=
|
|
1137
|
+
`,Ma=u.div`
|
|
1138
1138
|
padding: 5px;
|
|
1139
1139
|
flex: 1;
|
|
1140
|
-
`,Aa=
|
|
1140
|
+
`,Aa=u.img`
|
|
1141
1141
|
width: 88px;
|
|
1142
1142
|
height: 88px;
|
|
1143
1143
|
border-radius: 4px;
|
|
1144
1144
|
object-fit: cover;
|
|
1145
|
-
`,Ta=
|
|
1145
|
+
`,Ta=u.div`
|
|
1146
1146
|
font-size: 12px;
|
|
1147
1147
|
font-weight: 600;
|
|
1148
1148
|
color: ${e=>e.theme.colors.gray800};
|
|
@@ -1151,7 +1151,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1151
1151
|
font-weight: 400;
|
|
1152
1152
|
letter-spacing: -0.2px;
|
|
1153
1153
|
}
|
|
1154
|
-
`,
|
|
1154
|
+
`,La=u.div`
|
|
1155
1155
|
text-decoration: none;
|
|
1156
1156
|
font-size: 12px;
|
|
1157
1157
|
font-weight: 400;
|
|
@@ -1160,15 +1160,15 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1160
1160
|
font-weight: 400;
|
|
1161
1161
|
letter-spacing: -0.2px;
|
|
1162
1162
|
}
|
|
1163
|
-
`,
|
|
1163
|
+
`,Ha=u.div`
|
|
1164
1164
|
font-size: 12px;
|
|
1165
1165
|
font-weight: 400;
|
|
1166
1166
|
color: ${e=>e.theme.colors.gray600};
|
|
1167
|
-
`,Sa=
|
|
1167
|
+
`,Sa=u.div`
|
|
1168
1168
|
font-size: 12px;
|
|
1169
1169
|
font-weight: 400;
|
|
1170
1170
|
color: ${e=>e.theme.colors.gray600};
|
|
1171
|
-
`,Ua=
|
|
1171
|
+
`,Ua=u.a`
|
|
1172
1172
|
display: flex;
|
|
1173
1173
|
gap: 10px;
|
|
1174
1174
|
text-decoration: none;
|
|
@@ -1182,10 +1182,10 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1182
1182
|
${e=>e.theme.colors.neutral100};
|
|
1183
1183
|
position: absolute;
|
|
1184
1184
|
bottom: -24px;
|
|
1185
|
-
${
|
|
1185
|
+
${F.tdOnly} {
|
|
1186
1186
|
bottom: -16px;
|
|
1187
1187
|
}
|
|
1188
|
-
${
|
|
1188
|
+
${F.mbDown} {
|
|
1189
1189
|
bottom: -12px;
|
|
1190
1190
|
}
|
|
1191
1191
|
}
|
|
@@ -1194,19 +1194,19 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1194
1194
|
display: none;
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
1197
|
-
${
|
|
1197
|
+
${F.tdUp} {
|
|
1198
1198
|
&:nth-last-child(2) {
|
|
1199
1199
|
&::after {
|
|
1200
1200
|
display: none;
|
|
1201
1201
|
}
|
|
1202
1202
|
}
|
|
1203
1203
|
}
|
|
1204
|
-
`,za=
|
|
1204
|
+
`,za=u.div`
|
|
1205
1205
|
display: flex;
|
|
1206
1206
|
gap: 10px;
|
|
1207
1207
|
vertical-align: middle;
|
|
1208
1208
|
align-items: center;
|
|
1209
|
-
`,Da=
|
|
1209
|
+
`,Da=u.div`
|
|
1210
1210
|
margin-top: 8px;
|
|
1211
1211
|
font-size: 16px;
|
|
1212
1212
|
font-weight: 600;
|
|
@@ -1218,29 +1218,29 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1218
1218
|
line-height: 24px;
|
|
1219
1219
|
letter-spacing: -0.2px;
|
|
1220
1220
|
}
|
|
1221
|
-
`,ja=
|
|
1221
|
+
`,ja=u.div`
|
|
1222
1222
|
display: flex;
|
|
1223
1223
|
flex-wrap: wrap;
|
|
1224
1224
|
align-items: center;
|
|
1225
1225
|
column-gap: 5px;
|
|
1226
|
-
`,Ra=
|
|
1226
|
+
`,Ra=u.div`
|
|
1227
1227
|
display: flex;
|
|
1228
1228
|
gap: 4px;
|
|
1229
1229
|
flex-direction: column;
|
|
1230
|
-
`;
|
|
1230
|
+
`;ee.extend(le);const Oa=({post:e,index:t=0})=>{var o,i,n,l,r,d,c;const{siteType:m,configs:{statics:p}}=s(Ht);if(!e)return null;const g=[p.TOGETHER_URL_FE,null===(o=e.community)||void 0===o?void 0:o.slug].join("/"),h=[g,e.slug].join("/"),u=e.createdAt,v=u?isNaN(new Date(u).getTime())?null:new Date(u):null,y=v?ee(v).toNow(!0):u;return a.createElement(Ua,{href:h,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":h},a.createElement(Ma,null,a.createElement(za,null,a.createElement(S,{avatar:null===(i=e.author)||void 0===i?void 0:i.avatar,username:(null===(n=e.author)||void 0===n?void 0:n.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),a.createElement(Ra,null,a.createElement(Ta,{"data-theme":m},null===(r=e.author)||void 0===r?void 0:r.name),a.createElement(ja,null,a.createElement(La,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":g,onClick:e=>{e.preventDefault(),location.href=g},"data-theme":m},null===(d=e.community)||void 0===d?void 0:d.name),a.createElement(Sa,null,"•"),a.createElement(Ha,{"data-theme":m},y)))),a.createElement(Da,null,e.title)),!!(null===(c=e.photos)||void 0===c?void 0:c.length)&&a.createElement(Aa,{loading:"lazy",src:e.photos[0]}))},Ia=({spotlights:e=[]})=>{const{configs:{statics:t}}=s(Ht),{t:o}=j();return a.createElement(wa,{title:o("home.navigator.menu.trendingPosts"),viewMore:o("home.navigator.menu.trendingPosts.seeMore"),link:B(t.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?a.createElement(_a,null,null==e?void 0:e.slice(0,4).map(((e,t)=>a.createElement(Oa,{index:t,post:e,key:e.id})))):a.createElement(ya,{title:o("home.navigator.menu.together.noPosts.title"),description:o("home.navigator.menu.together.noPosts.description"),link:`${t.HOME_PAGE_URL}/community/`,cta:o("home.navigator.menu.together.noPosts.cta"),icon:b.getAssetPath("community.svg")}))};u.div`
|
|
1231
1231
|
&[data-is-display='false'] {
|
|
1232
1232
|
display: none;
|
|
1233
1233
|
}
|
|
1234
|
-
`;const Fa=
|
|
1234
|
+
`;const Fa=u.div`
|
|
1235
1235
|
display: grid;
|
|
1236
1236
|
|
|
1237
1237
|
grid-template-columns: repeat(3, 1fr);
|
|
1238
1238
|
gap: 24px;
|
|
1239
|
-
${
|
|
1239
|
+
${F.tdDown} {
|
|
1240
1240
|
grid-template-columns: 1fr;
|
|
1241
1241
|
gap: 12px;
|
|
1242
1242
|
}
|
|
1243
|
-
`,Va=
|
|
1243
|
+
`,Va=u.a`
|
|
1244
1244
|
text-decoration: none;
|
|
1245
1245
|
border-radius: 4px;
|
|
1246
1246
|
background: ${e=>e.theme.colors.primary50};
|
|
@@ -1256,7 +1256,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1256
1256
|
right: 0;
|
|
1257
1257
|
height: 100%;
|
|
1258
1258
|
position: absolute;
|
|
1259
|
-
${
|
|
1259
|
+
${F.tdDown} {
|
|
1260
1260
|
top: calc(51% - 68px);
|
|
1261
1261
|
right: -8px;
|
|
1262
1262
|
}
|
|
@@ -1266,12 +1266,12 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1266
1266
|
display: flex;
|
|
1267
1267
|
width: 100%;
|
|
1268
1268
|
}
|
|
1269
|
-
${
|
|
1269
|
+
${F.tdDown} {
|
|
1270
1270
|
padding-top: 16px;
|
|
1271
1271
|
display: flex;
|
|
1272
1272
|
align-items: center;
|
|
1273
1273
|
}
|
|
1274
|
-
`,Ga=
|
|
1274
|
+
`,Ga=u.div`
|
|
1275
1275
|
width: 64px;
|
|
1276
1276
|
height: 64px;
|
|
1277
1277
|
background: white;
|
|
@@ -1289,24 +1289,24 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1289
1289
|
display: block;
|
|
1290
1290
|
transform: translate(-50%, -50%);
|
|
1291
1291
|
}
|
|
1292
|
-
${
|
|
1292
|
+
${F.tdDown} {
|
|
1293
1293
|
position: relative;
|
|
1294
1294
|
top: unset;
|
|
1295
1295
|
right: unset;
|
|
1296
1296
|
}
|
|
1297
|
-
`,Wa=
|
|
1297
|
+
`,Wa=u.div`
|
|
1298
1298
|
display: flex;
|
|
1299
1299
|
align-items: center;
|
|
1300
1300
|
color: ${e=>e.theme.colors.primaryBase};
|
|
1301
1301
|
font-weight: 400;
|
|
1302
1302
|
font-size: 14px;
|
|
1303
1303
|
text-decoration: none;
|
|
1304
|
-
`,Ya=
|
|
1304
|
+
`,Ya=u.p`
|
|
1305
1305
|
font-size: 16px;
|
|
1306
1306
|
font-weight: 600;
|
|
1307
1307
|
line-height: 1.4;
|
|
1308
1308
|
color: ${e=>e.theme.colors.gray800};
|
|
1309
|
-
`,Za=
|
|
1309
|
+
`,Za=u.p`
|
|
1310
1310
|
font-size: 14px;
|
|
1311
1311
|
line-height: 1.4;
|
|
1312
1312
|
font-weight: 400;
|
|
@@ -1318,22 +1318,22 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1318
1318
|
-webkit-line-clamp: 2;
|
|
1319
1319
|
-webkit-box-orient: vertical;
|
|
1320
1320
|
margin-bottom: auto;
|
|
1321
|
-
${
|
|
1321
|
+
${F.tdDown} {
|
|
1322
1322
|
display: none;
|
|
1323
1323
|
}
|
|
1324
|
-
`,
|
|
1324
|
+
`,Ka=u.div`
|
|
1325
1325
|
display: flex;
|
|
1326
1326
|
flex-direction: column;
|
|
1327
1327
|
flex: 1;
|
|
1328
1328
|
z-index: 1;
|
|
1329
|
-
${
|
|
1329
|
+
${F.tdUp} {
|
|
1330
1330
|
gap: 8px;
|
|
1331
1331
|
}
|
|
1332
|
-
${
|
|
1332
|
+
${F.tdDown} {
|
|
1333
1333
|
gap: 4px;
|
|
1334
1334
|
flex: 1;
|
|
1335
1335
|
}
|
|
1336
|
-
`,
|
|
1336
|
+
`,qa=({item:e,index:t=0})=>{const{t:o}=j(),{configs:{statics:i}}=s(Ht);if(!e)return null;const n=e.link?e.link.startsWith("http")?e.link:`${i.HOME_PAGE_URL}${e.link}`:void 0;return a.createElement(Va,{href:n,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":n},a.createElement("img",{src:b.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(Ka,null,a.createElement(Ya,null,e.title),a.createElement(Za,null,e.subtitle),a.createElement(Wa,null,o("home.seeMore"),a.createElement("img",{src:b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))),a.createElement(Ga,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},Qa=u.a`
|
|
1337
1337
|
text-decoration: none;
|
|
1338
1338
|
border-radius: 12px;
|
|
1339
1339
|
|
|
@@ -1382,13 +1382,13 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1382
1382
|
display: flex;
|
|
1383
1383
|
width: 100%;
|
|
1384
1384
|
}
|
|
1385
|
-
${
|
|
1385
|
+
${F.tdDown} {
|
|
1386
1386
|
padding-top: 16px;
|
|
1387
1387
|
display: flex;
|
|
1388
1388
|
align-items: flex-start;
|
|
1389
1389
|
justify-content: flex-start;
|
|
1390
1390
|
}
|
|
1391
|
-
${
|
|
1391
|
+
${F.mbDown} {
|
|
1392
1392
|
padding-top: 0;
|
|
1393
1393
|
padding-left: 80px;
|
|
1394
1394
|
height: 96px;
|
|
@@ -1400,20 +1400,20 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1400
1400
|
left: 16px;
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
|
-
${
|
|
1403
|
+
${F.tdUp} {
|
|
1404
1404
|
min-height: 296px;
|
|
1405
1405
|
}
|
|
1406
1406
|
.mobile-only {
|
|
1407
|
-
${
|
|
1407
|
+
${F.tdUp} {
|
|
1408
1408
|
display: none;
|
|
1409
1409
|
}
|
|
1410
1410
|
}
|
|
1411
1411
|
.desktop-only {
|
|
1412
|
-
${
|
|
1412
|
+
${F.tdDown} {
|
|
1413
1413
|
display: none;
|
|
1414
1414
|
}
|
|
1415
1415
|
}
|
|
1416
|
-
`,Ja=
|
|
1416
|
+
`,Ja=u.div`
|
|
1417
1417
|
width: 48px;
|
|
1418
1418
|
height: 48px;
|
|
1419
1419
|
background: white;
|
|
@@ -1431,17 +1431,17 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1431
1431
|
display: block;
|
|
1432
1432
|
transform: translate(-50%, -50%);
|
|
1433
1433
|
}
|
|
1434
|
-
${
|
|
1434
|
+
${F.tdDown} {
|
|
1435
1435
|
position: relative;
|
|
1436
1436
|
top: unset;
|
|
1437
1437
|
right: unset;
|
|
1438
1438
|
}
|
|
1439
|
-
${
|
|
1439
|
+
${F.mbDown} {
|
|
1440
1440
|
position: absolute;
|
|
1441
1441
|
left: 32px;
|
|
1442
1442
|
top: 28px;
|
|
1443
1443
|
}
|
|
1444
|
-
`,Xa=
|
|
1444
|
+
`,Xa=u.div`
|
|
1445
1445
|
display: flex;
|
|
1446
1446
|
align-items: center;
|
|
1447
1447
|
background: white;
|
|
@@ -1456,7 +1456,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1456
1456
|
fill: ${e=>e.theme.mbColors.gray};
|
|
1457
1457
|
}
|
|
1458
1458
|
|
|
1459
|
-
${
|
|
1459
|
+
${F.tdDown} {
|
|
1460
1460
|
background: none;
|
|
1461
1461
|
width: 100%;
|
|
1462
1462
|
font-weight: 400;
|
|
@@ -1465,13 +1465,13 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1465
1465
|
color: ${e=>e.theme.mbColors.pink};
|
|
1466
1466
|
padding-left: 16px;
|
|
1467
1467
|
}
|
|
1468
|
-
`,eo=
|
|
1468
|
+
`,eo=u.p`
|
|
1469
1469
|
font-weight: 600;
|
|
1470
1470
|
font-size: 14px;
|
|
1471
1471
|
line-height: 24px;
|
|
1472
1472
|
letter-spacing: -0.2px;
|
|
1473
1473
|
color: ${e=>e.theme.colors.gray800};
|
|
1474
|
-
`,to=
|
|
1474
|
+
`,to=u.p`
|
|
1475
1475
|
font-weight: 400;
|
|
1476
1476
|
font-size: 12px;
|
|
1477
1477
|
line-height: 18px;
|
|
@@ -1484,54 +1484,54 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1484
1484
|
-webkit-line-clamp: 3;
|
|
1485
1485
|
-webkit-box-orient: vertical;
|
|
1486
1486
|
margin-bottom: auto;
|
|
1487
|
-
${
|
|
1487
|
+
${F.tdDown} {
|
|
1488
1488
|
display: none;
|
|
1489
1489
|
}
|
|
1490
|
-
`,ao=
|
|
1490
|
+
`,ao=u.div`
|
|
1491
1491
|
display: flex;
|
|
1492
1492
|
flex: 1;
|
|
1493
1493
|
z-index: 1;
|
|
1494
1494
|
align-items: flex-end;
|
|
1495
1495
|
justify-content: flex-end;
|
|
1496
|
-
${
|
|
1496
|
+
${F.tdUp} {
|
|
1497
1497
|
gap: 8px;
|
|
1498
1498
|
flex-direction: row;
|
|
1499
1499
|
}
|
|
1500
1500
|
|
|
1501
|
-
${
|
|
1501
|
+
${F.tdDown} {
|
|
1502
1502
|
align-items: flex-start;
|
|
1503
1503
|
justify-content: flex-start;
|
|
1504
1504
|
gap: 4px;
|
|
1505
1505
|
}
|
|
1506
|
-
`,oo=
|
|
1506
|
+
`,oo=u.div`
|
|
1507
1507
|
display: flex;
|
|
1508
1508
|
flex-direction: column;
|
|
1509
1509
|
flex: 1;
|
|
1510
1510
|
z-index: 1;
|
|
1511
|
-
${
|
|
1511
|
+
${F.tdUp} {
|
|
1512
1512
|
gap: 8px;
|
|
1513
1513
|
}
|
|
1514
|
-
${
|
|
1514
|
+
${F.tdDown} {
|
|
1515
1515
|
gap: 4px;
|
|
1516
1516
|
flex: 1;
|
|
1517
1517
|
padding-left: 16px;
|
|
1518
1518
|
}
|
|
1519
|
-
`,io=
|
|
1519
|
+
`,io=u.div`
|
|
1520
1520
|
display: flex;
|
|
1521
1521
|
flex-direction: row;
|
|
1522
1522
|
flex: 1;
|
|
1523
1523
|
z-index: 1;
|
|
1524
|
-
${
|
|
1524
|
+
${F.tdUp} {
|
|
1525
1525
|
gap: 8px;
|
|
1526
1526
|
justify-content: flex-end;
|
|
1527
1527
|
align-items: flex-end;
|
|
1528
1528
|
}
|
|
1529
|
-
${
|
|
1529
|
+
${F.tdDown} {
|
|
1530
1530
|
flex-direction: column;
|
|
1531
1531
|
justify-content: flex-start;
|
|
1532
1532
|
align-items: flex-start;
|
|
1533
1533
|
}
|
|
1534
|
-
`,no=({item:e,index:t=0,color:o})=>{const{t:i}=
|
|
1534
|
+
`,no=({item:e,index:t=0,color:o})=>{const{t:i}=j(),{configs:{statics:n}}=s(Ht);if(!e)return null;const l=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0,r=()=>a.createElement(Ja,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),d=()=>a.createElement(io,null,a.createElement(oo,null,a.createElement(eo,null,e.title),a.createElement(to,null,e.subtitle)),a.createElement(Xa,null,a.createElement("div",{className:"mobile-only"},i("home.seeMore")),a.createElement("img",{src:b.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return a.createElement(Qa,{href:l,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":l,"data-color":o},a.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),a.createElement("img",{src:b.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),a.createElement(ao,null,a.createElement("div",{className:"mobile-only"},r()),a.createElement("div",{className:"desktop-only"},d())),a.createElement("div",{className:"mobile-only"},d()),a.createElement("div",{className:"desktop-only"},r()))},lo=({hrefViewMore:e,spotlightHealthTools:t=[]})=>{const{t:o}=j(),i=["pink","orange","green"],{siteType:n}=s(Ht);return a.createElement(wa,{title:o("home.navigator.menu.spotlightTools")},0!==t.length&&a.createElement(Fa,null,null==t?void 0:t.slice(0,3).map(((e,t)=>"marryBaby"===n?a.createElement(no,{key:t,index:t,item:e,color:i[t]}):a.createElement(qa,{key:t,index:t,item:e})))),0===t.length&&a.createElement(ya,{title:o("home.navigator.menu.healthTools.noDatas.title"),description:o("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:o("home.navigator.menu.healthTools.noDatas.cta"),icon:b.getAssetPath("community.svg")}))},ro=({closePopup:e,menuItems:t=[]})=>{var o,i;const{siteType:n,ssrMenuContent:{categories:l,healthTools:r,care:d,together:c},activeMenuService:m,configs:{statics:p,enableSearchBar:g},locale:h}=s(Ht),{t:u}=j();return a.createElement(Dt,{id:"categories-menu"},g?a.createElement(jt,{"data-theme":n,onClick:()=>{window.location.href=`${p.HOME_PAGE_URL}/search`}},a.createElement(It,null)):null,a.createElement(Rt,null,a.createElement(ta,{UrlFE:p.HOME_PAGE_URL,titleBtnViewMore:u("home.navigator.menuItem.allCategories"),menuItems:t,headingTitle:u("home.navigator.menuItem.healthCategories"),onClosePopup:e}),"categories"===m&&a.createElement(Ba,{spotlightsList:(null==l?void 0:l.spotlights)||[],hrefViewMore:`${p.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}/spotlight/`}),"tools"===m&&a.createElement(lo,{spotlightHealthTools:null==r?void 0:r.spotlights,hrefViewMore:`${p.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}${(null===(o=$[h])||void 0===o?void 0:o.HEALTH_TOOLS)||""}`}),"care"===m&&a.createElement(Ea,{spotlights:null==d?void 0:d.spotlights,hrefViewMore:`${p.CARE_URL_FE}/${null===(i=ae[h])||void 0===i?void 0:i.SPECIALTIES}`}),"together"===m&&a.createElement(Ia,{spotlights:null==c?void 0:c.spotlights})))},so=({type:e="home",menuItems:t})=>{const{siteType:o,configs:{enableSearchBar:i}}=s(Ht),{containerRef:n,onContainerFocus:l,onContainerBlur:r,onButtonMouseDown:d,onClose:c}=Ce();return a.createElement(Ee,{mediaQueryKey:"mbDown"},a.createElement("header",{className:At},a.createElement("div",{className:Tt,ref:n,role:"button",tabIndex:0,onBlur:r,onFocus:l},a.createElement("div",{className:Lt,onMouseDown:d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},a.createElement(Ut,{className:"mobile-close-icon"}),a.createElement(zt,{siteType:o,type:e,enableSearch:i,className:"mobile-hamburger-icon"})),a.createElement(ro,{menuItems:t,closePopup:c}))))},co=u.div`
|
|
1535
1535
|
z-index: 201;
|
|
1536
1536
|
width: 100%;
|
|
1537
1537
|
align-items: center;
|
|
@@ -1551,12 +1551,12 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1551
1551
|
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
1552
1552
|
}
|
|
1553
1553
|
|
|
1554
|
-
${
|
|
1554
|
+
${F.mbUp} {
|
|
1555
1555
|
&[data-sitewide-banner-shown='true'][data-collapsed='true'] {
|
|
1556
1556
|
transform: translateY(-64px);
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
|
-
${
|
|
1559
|
+
${F.mbDown} {
|
|
1560
1560
|
&[data-site-type='marryBaby'] {
|
|
1561
1561
|
border-bottom: none;
|
|
1562
1562
|
}
|
|
@@ -1617,7 +1617,7 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1617
1617
|
right: 16px;
|
|
1618
1618
|
}
|
|
1619
1619
|
}
|
|
1620
|
-
`,mo=
|
|
1620
|
+
`,mo=u.div`
|
|
1621
1621
|
display: flex;
|
|
1622
1622
|
height: 100%;
|
|
1623
1623
|
align-items: center;
|
|
@@ -1625,11 +1625,11 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1625
1625
|
justify-content: space-between;
|
|
1626
1626
|
padding: 0 2rem;
|
|
1627
1627
|
height: 69px;
|
|
1628
|
-
${
|
|
1628
|
+
${F.pcDown} {
|
|
1629
1629
|
padding: 0 1rem;
|
|
1630
1630
|
}
|
|
1631
1631
|
|
|
1632
|
-
${
|
|
1632
|
+
${F.mbDown} {
|
|
1633
1633
|
position: relative;
|
|
1634
1634
|
height: 64px;
|
|
1635
1635
|
background: white;
|
|
@@ -1640,50 +1640,50 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1640
1640
|
width: 100%;
|
|
1641
1641
|
margin: 0 auto;
|
|
1642
1642
|
padding: 0 16px;
|
|
1643
|
-
${
|
|
1643
|
+
${F.tdUp} {
|
|
1644
1644
|
max-width: 1064px;
|
|
1645
1645
|
}
|
|
1646
1646
|
}
|
|
1647
|
-
`,po=
|
|
1647
|
+
`,po=u.div`
|
|
1648
1648
|
display: flex;
|
|
1649
1649
|
align-items: center;
|
|
1650
1650
|
height: 100%;
|
|
1651
1651
|
gap: 24px;
|
|
1652
|
-
${
|
|
1652
|
+
${F.pcDown} {
|
|
1653
1653
|
flex-shrink: 0;
|
|
1654
1654
|
gap: 16px;
|
|
1655
1655
|
}
|
|
1656
|
-
${
|
|
1656
|
+
${F.pcDown} {
|
|
1657
1657
|
gap: 12px;
|
|
1658
1658
|
}
|
|
1659
1659
|
&[data-site-type='marryBaby'] {
|
|
1660
1660
|
gap: 26px;
|
|
1661
1661
|
}
|
|
1662
|
-
`,go=
|
|
1662
|
+
`,go=u.div``,ho=u.div`
|
|
1663
1663
|
display: flex;
|
|
1664
1664
|
align-items: center;
|
|
1665
1665
|
height: 100%;
|
|
1666
1666
|
flex-shrink: 0;
|
|
1667
1667
|
/* gap: 16px; */
|
|
1668
|
-
${
|
|
1668
|
+
${F.tdDown} {
|
|
1669
1669
|
flex-shrink: 0.6;
|
|
1670
1670
|
}
|
|
1671
1671
|
.hhgcomp-navigation-itemnav-headeritem {
|
|
1672
1672
|
gap: 2px;
|
|
1673
|
-
${
|
|
1673
|
+
${F.pcUp} {
|
|
1674
1674
|
padding: 0 10px;
|
|
1675
1675
|
}
|
|
1676
|
-
${
|
|
1676
|
+
${F.pcDown} {
|
|
1677
1677
|
padding: 0 6px;
|
|
1678
1678
|
}
|
|
1679
|
-
${
|
|
1679
|
+
${F.mbDown} {
|
|
1680
1680
|
display: none;
|
|
1681
1681
|
}
|
|
1682
1682
|
a {
|
|
1683
1683
|
text-decoration: none;
|
|
1684
1684
|
}
|
|
1685
1685
|
}
|
|
1686
|
-
`;
|
|
1686
|
+
`;u.div`
|
|
1687
1687
|
.fake-search-input {
|
|
1688
1688
|
pointer-events: none;
|
|
1689
1689
|
input {
|
|
@@ -1692,33 +1692,33 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1692
1692
|
padding-bottom: 10px;
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
-
`;const uo=
|
|
1695
|
+
`;const uo=u.div`
|
|
1696
1696
|
margin-left: 16px;
|
|
1697
1697
|
display: flex;
|
|
1698
1698
|
gap: 12px;
|
|
1699
1699
|
align-items: center;
|
|
1700
1700
|
flex-shrink: 0;
|
|
1701
|
-
${
|
|
1701
|
+
${F.pcDown} {
|
|
1702
1702
|
margin-left: 8px;
|
|
1703
1703
|
gap: 8px;
|
|
1704
1704
|
}
|
|
1705
|
-
${
|
|
1705
|
+
${F.mbDown} {
|
|
1706
1706
|
margin-left: 0;
|
|
1707
1707
|
gap: 10px;
|
|
1708
1708
|
}
|
|
1709
|
-
`,vo=
|
|
1709
|
+
`,vo=u.div`
|
|
1710
1710
|
display: flex;
|
|
1711
1711
|
align-items: center;
|
|
1712
1712
|
height: 100%;
|
|
1713
1713
|
&[data-site-type='marryBaby'] {
|
|
1714
1714
|
gap: 26px;
|
|
1715
1715
|
}
|
|
1716
|
-
`;var yo="q3nL5cp",bo="_2DNf80G",fo="Q-glX-n";const xo=({onClosePopup:e})=>a.createElement("div",{className:`${fo} close-btn`,onClick:e},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),wo=({onClosePopup:e,isDisplay:t,children:o,isNavMenu:i,hideCloseBtn:n})=>a.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!i},a.createElement(
|
|
1716
|
+
`;var yo="q3nL5cp",bo="_2DNf80G",fo="Q-glX-n";const xo=({onClosePopup:e})=>a.createElement("div",{className:`${fo} close-btn`,onClick:e},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),wo=({onClosePopup:e,isDisplay:t,children:o,isNavMenu:i,hideCloseBtn:n})=>a.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!i},a.createElement(re,null,!n&&a.createElement("div",{className:bo},a.createElement(xo,{onClosePopup:e})),a.createElement(re,{className:yo},o))),Eo=({careSpecialties:e=[],isOpen:t,onClose:o,spotlights:i=[]})=>{var n;const{t:l}=j(),{locale:r,configs:{statics:d}}=s(Ht);return a.createElement(wo,{onClosePopup:o,isDisplay:t,isNavMenu:!0},a.createElement(ta,{headingTitle:l("home.navigator.menuItem.specialties"),hrefViewMore:`${d.CARE_URL_FE}/`,UrlFE:d.CARE_URL_FE,onClosePopup:o,titleBtnViewMore:l("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map((e=>e?{name:String(e.name)||"",link:ft({type:"DOCTOR",specialtySlug:e.slug,locale:r}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),a.createElement(Ea,{spotlights:i,hrefViewMore:`${d.CARE_URL_FE}/${null===(n=ae[r])||void 0===n?void 0:n.SPECIALTIES}/`}))},Co=({categories:e=[],spotlightsList:t=[],onClose:o,isOpen:i})=>{const{t:n}=j(),{locale:l,configs:{statics:r}}=s(Ht);return a.createElement(wo,{onClosePopup:o,isDisplay:i,isNavMenu:!0},a.createElement(ta,{hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}/categories/`,UrlFE:r.HOME_PAGE_URL,onClosePopup:o,titleBtnViewMore:n("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.displayName||null,link:(null==e?void 0:e.customizedUrl)||(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{})))||[],headingTitle:n("home.navigator.menuItem.healthCategories")}),a.createElement(Ba,{spotlightsList:t,hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}/spotlight/`}))},ko=({communities:e=[],onClose:t,isOpen:o,spotlights:i=[]})=>{const{t:n}=j(),{configs:{statics:l}}=s(Ht);return a.createElement(wo,{onClosePopup:t,isDisplay:o,isNavMenu:!0},a.createElement(ta,{hrefViewMore:B(l.TOGETHER_URL_FE),UrlFE:N(l.TOGETHER_URL_FE),onClosePopup:t,titleBtnViewMore:n("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{})))||[],headingTitle:n("home.navigator.menuItem.allCommunitiesheadingTitle")}),a.createElement(Ia,{spotlights:i}))},$o=({locale:e,onClose:t,isOpen:o,spotlightHealthTools:i=[],healthTools:n=[]})=>{var l;const{t:r}=j(),{configs:{statics:d}}=s(Ht),c=`${d.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(l=$[e])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`;return a.createElement(wo,{onClosePopup:t,isDisplay:o,isNavMenu:!0},a.createElement(ta,{hrefViewMore:c,UrlFE:d.HOME_PAGE_URL,onClosePopup:t,headingTitle:r("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:r("home.navigator.menuItem.allHealthTools"),menuItems:n.map((e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${d.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon})))}),a.createElement(lo,{spotlightHealthTools:i,hrefViewMore:c}))},Po=({onTopBarAppears:e,type:t="home",languageMenu:n,menuItems:r})=>{var c;const{siteType:m,isMobile:p=!1,locale:g,sitewideBanner:h,sitewideBannerShown:u=!0,sponsorComponent:v,onBookingClick:y,currentUrl:f,onLoginClick:x,configs:{statics:w,enableNavCareBooking:E,enableSearchBar:C,enableNavCare:$,enableProfileMyHealth:_,enableProfileMySaved:M,enableNavTogether:A,enableProfileEcom:T,enableProfileNavigatorMenu:L},userState:{userInfo:H},onLogout:S,userProfileRouterPush:U,isUserLoading:z}=s(Ht),{t:R}=j(),{SSO_URL:I,HOME_PAGE_URL:F}=w,V=!!v,[G,W]=o(!1),Y=l(47),Z=l(null),K=l(!1),q="helloSites"===m?null===(c=k[g])||void 0===c?void 0:c.LOGO_TYPE:m,Q="undefined"!=typeof window,J=d(O((()=>{if("home"===t&&Q){if(!Z.current)return;const e=Z.current.getBoundingClientRect();e.top<=0&&window.scrollY>Y.current&&window.scrollY>e.height+20&&!K.current&&(K.current=!0,W(!0)),window.scrollY<Y.current&&K.current&&(K.current=!1,W(!1)),window.scrollY>=0&&(Y.current=window.scrollY)}}),200),[]);i((()=>{null==e||e(!G)}),[G]),i((()=>(window.addEventListener("scroll",J,{passive:!0}),()=>{window.removeEventListener("scroll",J)})),[]),i((()=>{p&&J()}),[p]);const X=u&&!!h;return a.createElement(co,{"data-site-type":m,"data-sponsored":V,"data-sitewide-banner-shown":X,"data-header-type":t,"data-collapsed":G,"data-with-search-input":"popup-sub-level"!==t,"data-is-displayed":!0,id:"site-header",ref:Z},h,a.createElement(mo,{"data-site-type":m},a.createElement(po,{"data-site-type":m},a.createElement(so,{menuItems:r,type:t}),a.createElement("a",{style:{flexShrink:0},href:F},a.createElement(go,null,a.createElement(D,{style:{display:"flex"},type:q,badge:"id-ID"===g&&a.createElement("img",{src:b.getAssetPath("sehat-badge.png"),width:"56",height:"23",loading:"lazy"}),dateForSeasonal:new Date,locale:g,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===m?a.createElement(Bo,{menuItems:r}):C&&a.createElement(No,{siteType:m})),a.createElement(ho,{"data-site-type":m},"marryBaby"===m?C&&a.createElement(No,{siteType:m}):a.createElement(Bo,{menuItems:r}),a.createElement(uo,null,E&&a.createElement(Ee,{mediaQueryKey:"mbUp"},a.createElement(Mt,{careUrlFe:w.CARE_URL_FE,currentUrl:f,btnName:R("login.booking"),onCareHeaderClick:y})),n,a.createElement(Nt,{userInfo:H,siteType:m,onLoginClick:x||(()=>{const e=window.location.href;window.location.href=I?N(`${I}?returnUrl=${e}`):e}),SSO_URL:B(w.SSO_URL),currentUrl:f,onLogout:S,UP_BASEPATH:P,isMyHealthEnabled:_,enableCare:$,enableTogether:A,enableEcom:T,enableMySaved:M,togetherApiDomain:B(w.TOGETHER_API),isUserProfileNavigatorMenuHidden:!L,userProfileRouterPush:U,isLoading:z,locale:g})))),v?a.isValidElement(v)?a.cloneElement(v,{isCollapsed:G,locale:g,isMobile:p}):v:null)},No=({siteType:e})=>a.createElement(Ee,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},a.createElement(It,null)),Bo=({menuItems:e})=>{const{siteType:t,locale:o,ssrMenuContent:{categories:i,healthTools:n,care:l,together:r}}=s(Ht);return a.createElement(Ee,{mediaQueryKey:"mbUp",style:{height:"100%"}},a.createElement(vo,{"data-site-type":t},null==e?void 0:e.map(((e,t)=>a.createElement(Xt,{key:t,item:e,menu:"categories"===e.popupType?a.createElement(Co,{categories:null==i?void 0:i.items,spotlightsList:null==i?void 0:i.spotlights}):"tools"===e.popupType?a.createElement($o,{locale:o,healthTools:null==n?void 0:n.items,spotlightHealthTools:null==n?void 0:n.spotlights}):"together"===e.popupType?a.createElement(ko,{communities:null==r?void 0:r.items,spotlights:null==r?void 0:r.spotlights}):"care"===e.popupType?a.createElement(Eo,{careSpecialties:null==l?void 0:l.items,spotlights:null==l?void 0:l.spotlights}):null})))))},_o=u.div`
|
|
1717
1717
|
--header-z-index: 305;
|
|
1718
1718
|
top: 0;
|
|
1719
1719
|
z-index: var(--header-z-index);
|
|
1720
1720
|
|
|
1721
|
-
${
|
|
1721
|
+
${F.mbDown} {
|
|
1722
1722
|
width: 100vw;
|
|
1723
1723
|
max-width: 100%;
|
|
1724
1724
|
}
|
|
@@ -1738,11 +1738,11 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1738
1738
|
> section * {
|
|
1739
1739
|
pointer-events: auto;
|
|
1740
1740
|
}
|
|
1741
|
-
`;
|
|
1741
|
+
`;u.div`
|
|
1742
1742
|
display: flex;
|
|
1743
1743
|
align-items: center;
|
|
1744
1744
|
gap: 8px;
|
|
1745
|
-
`,
|
|
1745
|
+
`,u.a`
|
|
1746
1746
|
&[data-is-active='true'] {
|
|
1747
1747
|
color: unset;
|
|
1748
1748
|
}
|
|
@@ -1750,4 +1750,4 @@ import{a as e,_ as t}from"./tslib.es6-ff502d3f.js";import a,{useState as o,useEf
|
|
|
1750
1750
|
font-weight: 700;
|
|
1751
1751
|
line-height: 22px;
|
|
1752
1752
|
text-decoration: none;
|
|
1753
|
-
`;const Mo=e=>{var t,r;const{isMobile:c,locale:m,onTopBarAppears:p,languageOptions:g,sponsorComponent:h,sitewideBanner:u,sitewideBannerShown:v,className:y}=e,
|
|
1753
|
+
`;const Mo=e=>{var t,r;const{isMobile:c,locale:m,onTopBarAppears:p,languageOptions:g,sponsorComponent:h,sitewideBanner:u,sitewideBannerShown:v,className:y}=e,f=(()=>{const{t:e}=j(),{siteType:t,locale:a,configs:{enableNavDiscover:o,enableNavHealthTools:i,enableNavCare:l,enableNavTogether:r,enableNavEcom:d,statics:c}}=s(Ht),m="marryBaby"===t;return n((()=>{var t;const n=[];return o&&n.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${c.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/categories`,niceName:"",thumbnail:m?b.getAssetPath("categories-mb.svg"):b.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),i&&n.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${c.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}${(null===(t=$[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:m?b.getAssetPath("healthtools-mb.svg"):b.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:N(c.TOGETHER_URL_FE+"/"),thumbnail:m?b.getAssetPath("community-mb.svg"):b.getAssetPath("nav-icons/community.svg"),popupType:"together"}),d&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:N(c.HOME_PAGE_URL+"/shop"),thumbnail:b.getAssetPath("nav-icons/shop.svg"),popupType:null}),l&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:N("ms-MY"===a?c.HOME_PAGE_URL+"/care/current-location/hospital/":c.HOME_PAGE_URL+"/care"),thumbnail:b.getAssetPath("nav-icons/care.svg"),popupType:"zh-TW"===a||"ms-MY"===a?null:"care"}),n}),[a,l,r,d])})();(()=>{const{isFirstLogin:e,userState:t}=s(Ht),{userInfo:a}=t;i((()=>{(null==a?void 0:a.id)&&(e?(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})})}),[])})();const x=v&&!!u,w=!!h,E=!!(null===(r=null===(t=null==h?void 0:h.props)||void 0===t?void 0:t.sponsoredBy)||void 0===r?void 0:r.length),{headerRef:C,defaultHeaderHeight:k,headerHeight:P,headerBottom:B}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:a,isMobile:r})=>{const s=l(null),[c,m]=o(0),[p,g]=o(64),h=d(te((()=>{var e,t,a,o;const i=(null===(e=s.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=s.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=i+200&&(m(i),g((null===(o=s.current)||void 0===o?void 0:o.getBoundingClientRect().bottom)||c))}),200),[]);i((()=>(window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),()=>{window.removeEventListener("resize",h),window.removeEventListener("scroll",h)})),[]),i((()=>{h()}),[r,a,t,e,s.current]);const u=n((()=>{let o=r?64:69;return a&&(o+=64),t&&(o+=40,e&&(o+=57)),o}),[r,a,e,t]);return{defaultHeaderHeight:u,headerHeight:c||u,headerBottom:p,headerRef:s}})({isShowingSiteWideBanner:x,isSponsored:w,hasSponsoredBanners:E,isMobile:c});return a.createElement(_o,{id:"navigation-v2",style:{"--default-header-height":k+"px","--header-height":`calc(${P}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":B+"px"},className:y},a.createElement("section",{ref:C},a.createElement(Po,{menuItems:f,type:"home",onTopBarAppears:p,languageMenu:a.createElement(fe,{languageOptions:g,locale:m})})))},Ao=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return a.createElement(St,Object.assign({},t),a.createElement(Mo,Object.assign({},t)))},To=t=>e(void 0,void 0,void 0,(function*(){var e,a,o,i,n,l,r,s,d,c,m,p,g,h,u,v,y,b,w,C,k,$,P;const B={},_="vi-VN_MB"===t;try{const M="tl-PH"===t?"lang=fil":"";try{const[m,p,g,h]=yield Promise.all([fetch(N(`${T(t)}/wp-json/api/categories${M?"?"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${M?"&"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/${_?"health-tools":"healthtools"}${M?"?"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/${_?"health-tools":"healthtools"}/favorites${M?"?"+M:""}`)).then((e=>e.json()))]);B.categories={items:(null===(a=null===(e=null==m?void 0:m.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,ut))||[],spotlights:(null===(l=null===(n=null===(i=null===(o=null==p?void 0:p.data)||void 0===o?void 0:o.articles)||void 0===i?void 0:i.map)||void 0===n?void 0:n.call(i,xt))||void 0===l?void 0:l.filter(wt))||[]},B.healthTools={items:(null===(s=null===(r=null==g?void 0:g.data)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,vt))||[],spotlights:(null===(c=null===(d=null==h?void 0:h.data)||void 0===d?void 0:d.map)||void 0===c?void 0:c.call(d,vt))||[]}}catch(e){}if(_||E.includes(t))try{const[e,a]=yield Promise.all([fetch(N(`${A()}/api/v1/community?website_url=https://${f[t]}`)).then((e=>e.json())),fetch(N(`${A()}/api/v1/options?website_url=https://${f[t]}&meta_key=popular_post`)).then((e=>e.json()))]);B.together={items:(null===(g=null===(p=null===(m=null==e?void 0:e.data)||void 0===m?void 0:m.communities)||void 0===p?void 0:p.map)||void 0===g?void 0:g.call(p,U))||[],spotlights:(null===(v=null===(u=null===(h=null==a?void 0:a.data)||void 0===h?void 0:h.posts)||void 0===u?void 0:u.map)||void 0===v?void 0:v.call(u,z))||[]}}catch(e){}if(x.includes(t))try{const[e,a]=yield Promise.all([fetch(N(L()+`/api/options/setting_menu?site=${f[t]}&type=0`)).then((e=>e.json())),fetch(N(L()+`/api/options/setting_menu?site=${f[t]}&type=1`)).then((e=>e.json()))]);B.care={items:(null===(C=null===(w=null===(b=null===(y=null==e?void 0:e._data)||void 0===y?void 0:y.setting_menu)||void 0===b?void 0:b.menu_specialty)||void 0===w?void 0:w.map)||void 0===C?void 0:C.call(w,yt))||[],spotlights:(null===(P=null===($=null===(k=null==a?void 0:a._data.setting_menu)||void 0===k?void 0:k.menu_hospital)||void 0===$?void 0:$.map)||void 0===P?void 0:P.call($,bt))||[]}}catch(e){}}catch(e){console.error(e)}return B})),Lo=t=>e(void 0,void 0,void 0,(function*(){return(yield c("nav-menu-content",(()=>To(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}}));export{de as A,fe as L,Ao as N,Ct as P,Et as U,Lo as a,ze as b,dt as c,Pt as d,Nt as e,To as g,me as i};
|