@hhgtech/hhg-components 1.21.0-beta-9 → 1.21.0-beta-11
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/Locale-11b51016.js +1 -0
- package/build/Stethoscope-d829ee20.js +1 -0
- package/build/animation-b53aef6e.js +1 -0
- package/build/assets/svg/index.d.ts +1 -7
- package/build/babyGrowth.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/alert.js +1 -0
- package/build/components/atoms/avatar.js +1 -0
- package/build/components/atoms/babyGrowthChart/chartConfig.d.ts +5 -2
- package/build/components/atoms/babyGrowthChart.js +1 -0
- package/build/components/atoms/babyGrowthGender.js +1 -0
- package/build/components/atoms/babyGrowthLegend.js +1 -0
- package/build/components/atoms/babyGrowthProfileRadio.js +1 -0
- package/build/components/atoms/babyGrowthRecord/index.d.ts +4 -0
- package/build/components/atoms/babyGrowthRecord.js +1 -0
- package/build/components/atoms/babyGrowthSwitch.js +1 -0
- package/build/components/atoms/babyGrowthTooltip.js +1 -0
- package/build/components/atoms/backdrop.js +1 -0
- package/build/components/atoms/badge.js +1 -0
- package/build/components/atoms/borderHeading.js +1 -0
- package/build/components/atoms/button/index.d.ts +1 -1
- package/build/components/atoms/button.js +1 -0
- package/build/components/atoms/checkbox.js +1 -0
- package/build/components/atoms/container.js +1 -0
- package/build/components/atoms/displayWrapper.js +1 -0
- package/build/components/atoms/divider.js +1 -0
- package/build/components/atoms/drawer/index.styled.d.ts +3 -1
- package/build/components/atoms/drawer.js +1 -0
- package/build/components/atoms/fileDropdown.js +1 -0
- package/build/components/atoms/flag.js +1 -0
- package/build/components/atoms/grid.js +1 -0
- package/build/components/atoms/heading.js +1 -0
- package/build/components/atoms/icons/FullScreen.d.ts +4 -0
- package/build/components/atoms/icons/index.d.ts +2 -0
- package/build/components/atoms/icons.js +1 -0
- package/build/components/atoms/index.d.ts +2 -0
- package/build/components/atoms/input.js +1 -0
- package/build/components/atoms/label.js +1 -0
- package/build/components/atoms/logo.js +1 -0
- package/build/components/atoms/marryBabyText.js +1 -0
- package/build/components/atoms/menu.js +1 -0
- package/build/components/atoms/newBabyProfileRadio/index.d.ts +9 -0
- package/build/components/atoms/newBabyProfileRadio/index.styled.d.ts +1 -0
- package/build/components/atoms/newBabyProfileRadio.js +1 -0
- package/build/components/atoms/pagination.js +1 -0
- package/build/components/atoms/progress.js +1 -0
- package/build/components/atoms/pureInput.js +1 -0
- package/build/components/atoms/radio.js +1 -0
- package/build/components/atoms/radioImageGroup.js +1 -0
- package/build/components/atoms/rateStars.js +1 -0
- package/build/components/atoms/shadow.js +1 -0
- package/build/components/atoms/slider.js +1 -0
- package/build/components/atoms/tag.js +1 -0
- package/build/components/atoms/text.js +1 -0
- package/build/components/atoms/textArea.js +1 -0
- package/build/components/atoms/textDivider.js +1 -0
- package/build/components/atoms/toggle.js +1 -0
- package/build/components/atoms/underlinedLink.js +1 -0
- package/build/components/atoms/uploader.js +1 -0
- package/build/components/atoms.js +1 -0
- package/build/components/mantine/index.d.ts +2 -0
- package/build/components/mantine/select/index.d.ts +4 -0
- package/build/components/mantine/select/index.styled.d.ts +2 -0
- package/build/components/mantine/select.js +1 -0
- package/build/components/molecules/ampNextPage.js +1 -0
- package/build/components/molecules/articleCard.js +1 -0
- package/build/components/molecules/babyGrowthChooseProfileDrawer/index.d.ts +9 -5
- package/build/components/molecules/babyGrowthChooseProfileDrawer/index.styled.d.ts +1 -1
- package/build/components/molecules/babyGrowthChooseProfileDrawer.js +1 -0
- package/build/components/molecules/breadcrumbs.js +1 -0
- package/build/components/molecules/carousel.js +1 -0
- package/build/components/molecules/categoryCard.js +1 -0
- package/build/components/molecules/checkboxGroup.js +1 -0
- package/build/components/molecules/childCard/index.d.ts +5 -0
- package/build/components/molecules/childCard.js +1 -0
- package/build/components/molecules/cookieAcceptConfirm.js +1 -0
- package/build/components/molecules/datePicker.js +1 -0
- package/build/components/molecules/dateRangePicker.js +1 -0
- package/build/components/molecules/doctorInfo.js +1 -0
- package/build/components/molecules/dropdown.js +1 -0
- package/build/components/molecules/dropdownSearch/index.styled.d.ts +1 -1
- package/build/components/molecules/dropdownSearch.js +1 -0
- package/build/components/molecules/floatButtonGroup.js +1 -0
- package/build/components/molecules/iconText.js +1 -0
- package/build/components/molecules/languageSwitcher.js +1 -0
- package/build/components/molecules/mobileBottomNavigation.js +1 -0
- package/build/components/molecules/modal/index.d.ts +3 -2
- package/build/components/molecules/modal.js +1 -0
- package/build/components/molecules/popup.js +1 -0
- package/build/components/molecules/progressBar.js +1 -0
- package/build/components/molecules/radioGroup.js +1 -0
- package/build/components/molecules/scrollList.js +1 -0
- package/build/components/molecules/seoHead.js +1 -0
- package/build/components/molecules/shareContainer/index.d.ts +2 -0
- package/build/components/molecules/shareContainer.js +1 -0
- package/build/components/molecules/shareDrawer.js +1 -0
- package/build/components/molecules/sidemenu.js +1 -0
- package/build/components/molecules/starsRatingBox.js +1 -0
- package/build/components/molecules/statisticCard.js +1 -0
- package/build/components/molecules/surveyQuestionCard.js +1 -0
- package/build/components/molecules/table.js +1 -0
- package/build/components/molecules/tabs.js +1 -0
- package/build/components/molecules.js +1 -0
- package/build/components/organisms/footer.js +1 -0
- package/build/components/organisms/index.d.ts +0 -6
- package/build/components/organisms/navigationBookingButton.js +1 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/CustomFooter.d.ts +1 -1
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/ampSideBar/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/ampSideBar/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/constants.d.ts +0 -0
- package/build/components/organisms/navigationLayout_deprecated/exportLegacy.d.ts +6 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/footer/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/footer/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/languageWrapper.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/languages/default.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/layout.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/marryBabyText/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/marryBabyText/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/maryBabyFooter/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/maryBabyFooter/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCareList/categorySkeleton.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCareList/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCareList/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/categorySkeleton.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/helloSites.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/marryBaby.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/marryBaby.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/spotlightsList/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/spotlightsList/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/spotlightsList/spotlightSkeleton.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/categorySkeleton.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/helloSites.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/marryBaby.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/marryBaby.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/categorySkeleton.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/helloSites.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/marryBaby.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/marrybaby.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuSectionCard/cardSkeleton.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuSectionCard/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuSectionCard/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuServiceList/categoriesSubList.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuServiceList/communitySubList.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuServiceList/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuServiceList/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuServiceList/marryBabyMobileMenuSection.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/ArrowLeftPopupIcon.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/ClosePopupIcon.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/HamburgerIcon.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/NavigationBar.types.d.ts +1 -1
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/NavigationBarMobile.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/SearchIcon.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationLogoutPopup/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationLogoutPopup/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/profilePopup/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/profilePopupWrapper/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/profilePopupWrapper/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/siteWide/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/siteWide/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/sponsoredBy/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/sponsoredBy/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/tooltipSelection/index.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/tooltipSelection/index.styled.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/types.d.ts +0 -0
- package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/utils.d.ts +0 -0
- package/build/components/organisms/navigationLayout_deprecated.js +1 -0
- package/build/components/organisms/navigationLogoutPopup.js +1 -0
- package/build/components/organisms/navigationProfileButton/index.d.ts +3 -2
- package/build/components/organisms/navigationProfileButton/profilePopup.d.ts +3 -2
- package/build/components/organisms/navigationProfileButton.js +1 -0
- package/build/components/organisms/navigationV2/components/molecules/Categories/index.styled.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +1 -0
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +1 -0
- package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.d.ts +1 -0
- package/build/components/organisms/navigationV2/index.d.ts +0 -5
- package/build/components/organisms/navigationV2.js +1 -0
- package/build/components/organisms/userProfileNavigation/index.d.ts +3 -3
- package/build/components/organisms/userProfileNavigation/navHeader/index.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/navMenu/index.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/types.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation.js +1 -0
- package/build/components/organisms.js +1 -0
- package/build/components.js +1 -1
- package/build/{theme-fe7c279c.js → constants-5675963f.js} +1 -1
- package/build/constants-ca5ea110.js +1 -0
- package/build/constants.js +1 -0
- package/build/core.js +1 -1
- package/build/{core.d.ts → core_deprecated.d.ts} +0 -0
- package/build/ecom.js +1 -1
- package/build/{ecom → ecom_temp_excluded}/dataFormatter/index.d.ts +0 -0
- package/build/{ecom → ecom_temp_excluded}/dataFormatter/lib/apiTypes.d.ts +0 -0
- package/build/{ecom → ecom_temp_excluded}/dataFormatter/lib/dataTypes.d.ts +0 -0
- package/build/{ecom → ecom_temp_excluded}/dataFormatter/lib/utils.d.ts +0 -0
- package/build/{ecom → ecom_temp_excluded}/index.d.ts +0 -0
- package/build/{ecom → ecom_temp_excluded}/interfaces/constants.d.ts +0 -0
- package/build/{ecom → ecom_temp_excluded}/interfaces/types.d.ts +0 -0
- package/build/en-PH-365f6e52.js +1 -0
- package/build/esm/Locale-69030fff.js +1 -0
- package/build/esm/Stethoscope-43935dbb.js +1 -0
- package/build/esm/animation-e703e19e.js +1 -0
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/alert.js +1 -0
- package/build/esm/components/atoms/avatar.js +1 -0
- package/build/esm/components/atoms/babyGrowthChart.js +1 -0
- package/build/esm/components/atoms/babyGrowthGender.js +1 -0
- package/build/esm/components/atoms/babyGrowthLegend.js +1 -0
- package/build/esm/components/atoms/babyGrowthProfileRadio.js +1 -0
- package/build/esm/components/atoms/babyGrowthRecord.js +1 -0
- package/build/esm/components/atoms/babyGrowthSwitch.js +1 -0
- package/build/esm/components/atoms/babyGrowthTooltip.js +1 -0
- package/build/esm/components/atoms/backdrop.js +1 -0
- package/build/esm/components/atoms/badge.js +1 -0
- package/build/esm/components/atoms/borderHeading.js +1 -0
- package/build/esm/components/atoms/button.js +1 -0
- package/build/esm/components/atoms/checkbox.js +1 -0
- package/build/esm/components/atoms/container.js +1 -0
- package/build/esm/components/atoms/displayWrapper.js +1 -0
- package/build/esm/components/atoms/divider.js +1 -0
- package/build/esm/components/atoms/drawer.js +1 -0
- package/build/esm/components/atoms/fileDropdown.js +1 -0
- package/build/esm/components/atoms/flag.js +1 -0
- package/build/esm/components/atoms/grid.js +1 -0
- package/build/esm/components/atoms/heading.js +1 -0
- package/build/esm/components/atoms/icons.js +1 -0
- package/build/esm/components/atoms/input.js +1 -0
- package/build/esm/components/atoms/label.js +1 -0
- package/build/esm/components/atoms/logo.js +1 -0
- package/build/esm/components/atoms/marryBabyText.js +1 -0
- package/build/esm/components/atoms/menu.js +1 -0
- package/build/esm/components/atoms/newBabyProfileRadio.js +1 -0
- package/build/esm/components/atoms/pagination.js +1 -0
- package/build/esm/components/atoms/progress.js +1 -0
- package/build/esm/components/atoms/pureInput.js +1 -0
- package/build/esm/components/atoms/radio.js +1 -0
- package/build/esm/components/atoms/radioImageGroup.js +1 -0
- package/build/esm/components/atoms/rateStars.js +1 -0
- package/build/esm/components/atoms/shadow.js +1 -0
- package/build/esm/components/atoms/slider.js +1 -0
- package/build/esm/components/atoms/tag.js +1 -0
- package/build/esm/components/atoms/text.js +1 -0
- package/build/esm/components/atoms/textArea.js +1 -0
- package/build/esm/components/atoms/textDivider.js +1 -0
- package/build/esm/components/atoms/toggle.js +1 -0
- package/build/esm/components/atoms/underlinedLink.js +1 -0
- package/build/esm/components/atoms/uploader.js +1 -0
- package/build/esm/components/atoms.js +1 -0
- package/build/esm/components/mantine/select.js +1 -0
- package/build/esm/components/molecules/ampNextPage.js +1 -0
- package/build/esm/components/molecules/articleCard.js +1 -0
- package/build/esm/components/molecules/babyGrowthChooseProfileDrawer.js +1 -0
- package/build/esm/components/molecules/breadcrumbs.js +1 -0
- package/build/esm/components/molecules/carousel.js +1 -0
- package/build/esm/components/molecules/categoryCard.js +1 -0
- package/build/esm/components/molecules/checkboxGroup.js +1 -0
- package/build/esm/components/molecules/childCard.js +1 -0
- package/build/esm/components/molecules/cookieAcceptConfirm.js +1 -0
- package/build/esm/components/molecules/datePicker.js +1 -0
- package/build/esm/components/molecules/dateRangePicker.js +1 -0
- package/build/esm/components/molecules/doctorInfo.js +1 -0
- package/build/esm/components/molecules/dropdown.js +1 -0
- package/build/esm/components/molecules/dropdownSearch.js +1 -0
- package/build/esm/components/molecules/floatButtonGroup.js +1 -0
- package/build/esm/components/molecules/iconText.js +1 -0
- package/build/esm/components/molecules/languageSwitcher.js +1 -0
- package/build/esm/components/molecules/mobileBottomNavigation.js +1 -0
- package/build/esm/components/molecules/modal.js +1 -0
- package/build/esm/components/molecules/popup.js +1 -0
- package/build/esm/components/molecules/progressBar.js +1 -0
- package/build/esm/components/molecules/radioGroup.js +1 -0
- package/build/esm/components/molecules/scrollList.js +1 -0
- package/build/esm/components/molecules/seoHead.js +1 -0
- package/build/esm/components/molecules/shareContainer.js +1 -0
- package/build/esm/components/molecules/shareDrawer.js +1 -0
- package/build/esm/components/molecules/sidemenu.js +1 -0
- package/build/esm/components/molecules/starsRatingBox.js +1 -0
- package/build/esm/components/molecules/statisticCard.js +1 -0
- package/build/esm/components/molecules/surveyQuestionCard.js +1 -0
- package/build/esm/components/molecules/table.js +1 -0
- package/build/esm/components/molecules/tabs.js +1 -0
- package/build/esm/components/molecules.js +1 -0
- package/build/esm/components/organisms/footer.js +1 -0
- package/build/esm/components/organisms/navigationBookingButton.js +1 -0
- package/build/esm/components/organisms/navigationLayout_deprecated.js +1 -0
- package/build/esm/components/organisms/navigationLogoutPopup.js +1 -0
- package/build/esm/components/organisms/navigationProfileButton.js +1 -0
- package/build/esm/components/organisms/navigationV2.js +1 -0
- package/build/esm/components/organisms/userProfileNavigation.js +1 -0
- package/build/esm/components/organisms.js +1 -0
- package/build/esm/components.js +1 -1
- package/build/esm/{theme-82709ce4.js → constants-3be6f6a9.js} +1 -1
- package/build/esm/constants-a0a981fa.js +1 -0
- package/build/esm/constants.js +1 -0
- package/build/esm/core-fd895ef9.js +1 -0
- package/build/esm/core.js +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/en-PH-15a5d362.js +1 -0
- package/build/esm/getDynamicHealthTool-346a5692.js +1 -0
- package/build/esm/getSocialList-ff22842b.js +1 -0
- package/build/esm/hooks.js +1 -0
- package/build/esm/i18n.js +1 -1
- package/build/esm/imgHHG.js +1 -0
- package/build/esm/index-01a46dcb.js +1 -0
- package/build/esm/index-5231f7b6.js +1 -0
- package/build/esm/index-5990a15d.js +1 -0
- package/build/esm/index-62c22dbe.js +1 -0
- package/build/esm/index-6a77c6f4.js +1 -0
- package/build/esm/index-9e6be097.js +1 -0
- package/build/esm/index-b1f8b4ff.js +1 -0
- package/build/esm/index-cb8a92f0.js +1 -0
- package/build/esm/index-e7b4b60b.js +1 -0
- package/build/esm/index-ec22c621.js +1 -0
- package/build/esm/index-edf514dd.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-070ed8ad.js +1 -0
- package/build/esm/index.styled-14385ba4.js +1 -0
- package/build/esm/index.styled-1479f73a.js +1 -0
- package/build/esm/index.styled-1735bb7f.js +1 -0
- package/build/esm/index.styled-18eeca5a.js +1 -0
- package/build/esm/index.styled-21bf0a76.js +1 -0
- package/build/esm/index.styled-3247d7d7.js +1 -0
- package/build/esm/index.styled-33916835.js +1 -0
- package/build/esm/index.styled-35802967.js +1 -0
- package/build/esm/index.styled-3a7f1be6.js +1 -0
- package/build/esm/index.styled-3a97799e.js +1 -0
- package/build/esm/index.styled-41fcfc4d.js +1 -0
- package/build/esm/index.styled-4516ef5a.js +1 -0
- package/build/esm/index.styled-5c128da3.js +1 -0
- package/build/esm/index.styled-5cc30198.js +1 -0
- package/build/esm/index.styled-719c9640.js +1 -0
- package/build/esm/index.styled-74cafd8f.js +1 -0
- package/build/esm/index.styled-76f02a1e.js +1 -0
- package/build/esm/index.styled-7b4d2a6a.js +1 -0
- package/build/esm/index.styled-7eda6b11.js +1 -0
- package/build/esm/index.styled-8a2fdae1.js +1 -0
- package/build/esm/index.styled-8c13a042.js +1 -0
- package/build/esm/index.styled-8f74f167.js +1 -0
- package/build/esm/index.styled-9e89a217.js +1 -0
- package/build/esm/index.styled-a6be0beb.js +1 -0
- package/build/esm/index.styled-b1c59945.js +1 -0
- package/build/esm/index.styled-b47d1432.js +1 -0
- package/build/esm/index.styled-b8c131bf.js +1 -0
- package/build/esm/index.styled-b9ee0859.js +1 -0
- package/build/esm/index.styled-bc1e34ec.js +1 -0
- package/build/esm/index.styled-bcfdf661.js +1 -0
- package/build/esm/index.styled-c0b0df7e.js +1 -0
- package/build/esm/index.styled-c1df498b.js +1 -0
- package/build/esm/index.styled-c2186de7.js +1 -0
- package/build/esm/index.styled-c3dcdb30.js +1 -0
- package/build/esm/index.styled-c7311908.js +1 -0
- package/build/esm/index.styled-c9c43e63.js +1 -0
- package/build/esm/index.styled-db5aa049.js +1 -0
- package/build/esm/index.styled-e4f1d848.js +1 -0
- package/build/esm/index.styled-ee90d157.js +1 -0
- package/build/esm/index.styled-f3b75621.js +1 -0
- package/build/esm/index.styled-f41c3ca8.js +1 -0
- package/build/esm/index.styled-f9636b35.js +1 -0
- package/build/esm/lazyLoad-59e8ff6d.js +1 -0
- package/build/esm/localizeNumberFormat-77c129ef.js +1 -0
- package/build/esm/lock-e8f828ec.js +1 -0
- package/build/esm/mantine.js +1 -0
- package/build/esm/menuLink-cb440241.js +1 -0
- package/build/esm/misc.js +1 -0
- package/build/esm/navigation.js +1 -1
- package/build/esm/navigationLayout_deprecated.js +1 -0
- package/build/esm/routing-31d4caa0.js +1 -0
- package/build/esm/surveyQuestionCard-a9220787.js +1 -0
- package/build/esm/surveyThankyouCard-6c29909f.js +1 -0
- package/build/esm/tableBody-a16e38b4.js +1 -0
- package/build/esm/theme-a50a1aa5.js +1 -0
- package/build/esm/together-200b1b78.js +1 -0
- package/build/esm/together.js +1 -1
- package/build/esm/togetherComponentGlobalContext-656ef1d0.js +1 -0
- package/build/esm/translationsContext-d658f58d.js +1 -0
- package/build/esm/translationsProvider-5d2f9e25.js +1 -0
- package/build/esm/{tslib.es6-6ae0d506.js → tslib.es6-260fa47f.js} +1 -1
- package/build/esm/types-1b968cc0.js +1 -0
- package/build/esm/types-3aa5aa3a.js +1 -0
- package/build/esm/types.js +1 -0
- package/build/esm/useHealthToolCache-3583a3fc.js +1 -0
- package/build/esm/useScreenSize-fc434740.js +1 -0
- package/build/esm/useTranslations-32d4da23.js +1 -0
- package/build/esm/utils-432904d8.js +1 -0
- package/build/esm/zalo-7f0726ae.js +1 -0
- package/build/getDynamicHealthTool-87cf062a.js +1 -0
- package/build/getSocialList-2a3b759f.js +1 -0
- package/build/hooks/useHealthToolCache.d.ts +1 -1
- package/build/hooks.js +1 -0
- package/build/i18n.js +1 -1
- package/build/imgHHG.js +1 -0
- package/build/index-1dcd4d14.js +1 -0
- package/build/index-3a039505.js +1 -0
- package/build/index-45b1d207.js +1 -0
- package/build/index-57503957.js +1 -0
- package/build/index-77217283.js +1 -0
- package/build/index-afeb5842.js +1 -0
- package/build/index-b08daeef.js +1 -0
- package/build/index-b2bfa272.js +1 -0
- package/build/index-cbfaf5d2.js +1 -0
- package/build/index-e14b4b59.js +1 -0
- package/build/index-f157b9d5.js +1 -0
- package/build/index.d.ts +0 -1
- package/build/index.js +1 -1
- package/build/index.styled-008ef19d.js +1 -0
- package/build/index.styled-066b3539.js +1 -0
- package/build/index.styled-0e458732.js +1 -0
- package/build/index.styled-12564c85.js +1 -0
- package/build/index.styled-153551ce.js +1 -0
- package/build/index.styled-1b85e0c8.js +1 -0
- package/build/index.styled-1d015c53.js +1 -0
- package/build/index.styled-3c5397f9.js +1 -0
- package/build/index.styled-3ee5723a.js +1 -0
- package/build/index.styled-4c7d3d62.js +1 -0
- package/build/index.styled-5f87a409.js +1 -0
- package/build/index.styled-61d64e64.js +1 -0
- package/build/index.styled-623fef75.js +1 -0
- package/build/index.styled-695c7b97.js +1 -0
- package/build/index.styled-69d9ccc8.js +1 -0
- package/build/index.styled-71dccfe1.js +1 -0
- package/build/index.styled-746e44a4.js +1 -0
- package/build/index.styled-749e4611.js +1 -0
- package/build/index.styled-78176bcd.js +1 -0
- package/build/index.styled-78875f21.js +1 -0
- package/build/index.styled-7a935330.js +1 -0
- package/build/index.styled-7be82491.js +1 -0
- package/build/index.styled-7d510632.js +1 -0
- package/build/index.styled-7e46b5b8.js +1 -0
- package/build/index.styled-80d36b16.js +1 -0
- package/build/index.styled-97d71ef5.js +1 -0
- package/build/index.styled-a757296d.js +1 -0
- package/build/index.styled-a8c022ac.js +1 -0
- package/build/index.styled-ad582518.js +1 -0
- package/build/index.styled-b1cca2d9.js +1 -0
- package/build/index.styled-b5ed3e2a.js +1 -0
- package/build/index.styled-c0a48e50.js +1 -0
- package/build/index.styled-c138a33c.js +1 -0
- package/build/index.styled-cb37a32a.js +1 -0
- package/build/index.styled-d814136c.js +1 -0
- package/build/index.styled-dc219b10.js +1 -0
- package/build/index.styled-df85fa38.js +1 -0
- package/build/index.styled-e0103298.js +1 -0
- package/build/index.styled-ec8b738a.js +1 -0
- package/build/index.styled-f4dc1d65.js +1 -0
- package/build/index.styled-f502a042.js +1 -0
- package/build/index.styled-fb8fdc21.js +1 -0
- package/build/index.styled-fbf8794a.js +1 -0
- package/build/interfaces/constants.d.ts +12 -0
- package/build/lazyLoad-f5c59bb0.js +1 -0
- package/build/localizeNumberFormat-d34a738e.js +1 -0
- package/build/lock-f96868e8.js +1 -0
- package/build/mantine.js +1 -0
- package/build/menuLink-8bd7d73e.js +1 -0
- package/build/misc/index.d.ts +2 -0
- package/build/misc/localizeNumberFormat.d.ts +2 -0
- package/build/misc/theme.d.ts +1 -0
- package/build/misc.js +1 -0
- package/build/modules/imgHHG/index.d.ts +22 -0
- package/build/navigation.js +1 -1
- package/build/navigationLayout_deprecated.js +1 -0
- package/build/routing-7d9b5fab.js +1 -0
- package/build/surveyQuestionCard-dc8ee056.js +1 -0
- package/build/surveyThankyouCard-2a90aec4.js +1 -0
- package/build/tableBody-5653fcab.js +1 -0
- package/build/theme-696d81a9.js +1 -0
- package/build/together/api/utils.d.ts +1 -1
- package/build/together/components/molecules/popupFrame/index.d.ts +3 -2
- package/build/together/components/molecules/popupFrame/index.styled.d.ts +5 -1
- package/build/together-643762e2.js +1 -0
- package/build/together.js +1 -1
- package/build/togetherComponentGlobalContext-6197b982.js +1 -0
- package/build/translationsContext-2d7ea471.js +1 -0
- package/build/translationsProvider-06140ba2.js +1 -0
- package/build/types-b9a2a66a.js +1 -0
- package/build/types-cace91f1.js +1 -0
- package/build/types.js +1 -0
- package/build/useHealthToolCache-f0e420ac.js +1 -0
- package/build/useScreenSize-1a87cd03.js +1 -0
- package/build/useTranslations-8eec642f.js +1 -0
- package/build/utils-1cac3068.js +1 -0
- package/build/zalo-e7b9d144.js +1 -0
- package/package.json +63 -5
- package/build/ageGenerate-94d2448b.js +0 -1
- package/build/constants-ea7b35a2.js +0 -1
- package/build/esm/ageGenerate-e149ca5f.js +0 -1
- package/build/esm/constants-dc22740c.js +0 -1
- package/build/esm/core-286f158c.js +0 -1
- package/build/esm/index-38ea4462.js +0 -1
- package/build/esm/index-613a8df5.js +0 -1
- package/build/esm/index-73638a82.js +0 -1
- package/build/esm/index-9ee79492.js +0 -1
- package/build/esm/index-ad2b001d.js +0 -1
- package/build/esm/index-ebb97544.js +0 -1
- package/build/esm/index-f92f5049.js +0 -1
- package/build/esm/index.styled-df180c76.js +0 -1
- package/build/esm/index.styled-ecba7a5d.js +0 -1
- package/build/esm/lazyLoad-d80d3fd1.js +0 -1
- package/build/esm/routing-f63546d5.js +0 -1
- package/build/esm/translationsContext-65bea19b.js +0 -1
- package/build/esm/translationsProvider-c3eb69ec.js +0 -1
- package/build/esm/types-1a8aa042.js +0 -1
- package/build/esm/types-4dc78fab.js +0 -1
- package/build/esm/types-ec2bbf0d.js +0 -1
- package/build/esm/useTranslations-e61cf3ed.js +0 -1
- package/build/index-143c02dc.js +0 -1
- package/build/index-3474408b.js +0 -1
- package/build/index-389edd10.js +0 -1
- package/build/index-7f1cb726.js +0 -1
- package/build/index-94e56980.js +0 -1
- package/build/index-b71b4420.js +0 -1
- package/build/index-e6f9ac7f.js +0 -1
- package/build/index.styled-a613a33c.js +0 -1
- package/build/index.styled-af1f423b.js +0 -1
- package/build/lazyLoad-0454885d.js +0 -1
- package/build/routing-9fbc897b.js +0 -1
- package/build/translationsContext-e97f3b58.js +0 -1
- package/build/translationsProvider-8ab0200d.js +0 -1
- package/build/types-39b008c8.js +0 -1
- package/build/types-dc5c360a.js +0 -1
- package/build/types-fc6dac4f.js +0 -1
- package/build/useTranslations-9e64b19e.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../tslib.es6-f7929e76.js"),require("react"),require("../../together-643762e2.js");var e=require("../../index-b2bfa272.js");require("../atoms/text.js"),require("../../theme-696d81a9.js"),require("../../utils-1cac3068.js"),require("styled-components"),require("../../index.styled-a757296d.js"),require("../../index.styled-3c5397f9.js"),require("../../index.styled-746e44a4.js"),require("../../index.styled-69d9ccc8.js"),require("../../index.styled-0e458732.js"),require("../../index.styled-b1cca2d9.js"),require("../../index.styled-153551ce.js"),require("../../index.styled-fbf8794a.js"),require("../../index.styled-c138a33c.js"),require("../atoms/heading.js"),require("../../index.styled-cb37a32a.js"),require("../atoms/label.js"),require("../../index.styled-97d71ef5.js"),require("../atoms/logo.js"),require("../../index.styled-f502a042.js"),require("../atoms/pureInput.js"),require("../../index.styled-61d64e64.js"),require("../../index.styled-ec8b738a.js"),require("react-range"),require("../../index.styled-4c7d3d62.js"),require("../../index.styled-1d015c53.js"),require("../../index.styled-7be82491.js"),require("../../index.styled-f4dc1d65.js"),require("../../index.styled-066b3539.js"),require("../atoms/textArea.js"),require("../atoms/container.js"),require("../../index.styled-b5ed3e2a.js"),require("../atoms/textDivider.js"),require("../../index.styled-12564c85.js"),require("../../Stethoscope-d829ee20.js"),require("../../index.styled-749e4611.js"),require("react-dom"),require("../../index.styled-1b85e0c8.js"),require("../../index.styled-c0a48e50.js"),require("../../animation-b53aef6e.js"),require("../atoms/menu.js"),require("../../index.styled-78176bcd.js"),require("../../translationsContext-2d7ea471.js"),require("string-format"),require("lodash/debounce"),require("../../constants-5675963f.js"),require("date-fns"),require("../../lazyLoad-f5c59bb0.js"),require("vanilla-lazyload"),require("../../Locale-11b51016.js"),require("../../index.styled-71dccfe1.js"),require("../../constants-ca5ea110.js"),require("../atoms/button.js"),require("../../zalo-e7b9d144.js"),require("../atoms/divider.js"),require("../../index-afeb5842.js"),require("../../togetherComponentGlobalContext-6197b982.js"),require("../../cookieHelper-612b90fa.js"),require("slugify"),require("react-loading-skeleton"),require("../../lock-f96868e8.js"),require("../atoms/avatar.js"),require("lodash"),require("../molecules/popup.js"),require("../../translationsProvider-06140ba2.js"),require("../../en-PH-365f6e52.js"),require("../../index-45b1d207.js"),require("../../useTranslations-8eec642f.js"),exports.NavigationLayout=e.NavigationLayout;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("react"),e=require("../atoms/button.js"),t=require("../molecules/popup.js"),o=require("react-dom"),i=require("../../useTranslations-8eec642f.js");require("date-fns"),require("../../animation-b53aef6e.js"),require("../../lazyLoad-f5c59bb0.js");var l=require("styled-components");require("../../constants-5675963f.js");var r=require("../../utils-1cac3068.js");require("../../Locale-11b51016.js");var a=require("../../tslib.es6-f7929e76.js");function p(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}require("../../index.styled-0e458732.js"),require("../../en-PH-365f6e52.js"),require("../../translationsContext-2d7ea471.js"),require("string-format"),require("vanilla-lazyload");var s,u,c=p(n),d=p(l),g=d.default.div(s||(s=a.__makeTemplateObject(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),r.MediaQueries.mbDown,r.MediaQueries.mbUp,(function(n){return n.theme.colors.gray800}),r.MediaQueries.mbDown,r.MediaQueries.mbUp,(function(n){return n.theme.colors.gray600}),r.MediaQueries.mbDown,r.MediaQueries.mbUp),m=d.default.div(u||(u=a.__makeTemplateObject(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),r.MediaQueries.mbDown,r.MediaQueries.mbUp,(function(n){return"marryBaby"===n.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 ":""}));exports.NavigationLogoutPopup=function(l){var a=l.openLogoutPopup,p=l.onCloseHandler,s=l.onLogoutHandler,u=l.siteType,d=void 0===u?"helloSites":u,f=i.useTranslations().t;return n.useEffect((function(){document.body.classList.toggle("noscroll",a)}),[a]),"undefined"==typeof window?null:o.createPortal(c.default.createElement(t.Popup,{type:"confirm",isOpen:a,closeIcon:c.default.createElement("img",{src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:24,height:24},alt:"close-icon"}),onClose:p},c.default.createElement(g,null,"helloSites"===d&&c.default.createElement("img",{src:"data:image/svg+xml,%3csvg viewBox='0 0 101 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M69.3281 2.93067V85.3526C69.3281 86.9929 68.0395 88.2823 66.3985 88.2823H42.9609C41.3199 88.2823 40.0313 86.9929 40.0313 85.3526L4.875 2.93067C4.875 1.28958 6.1636 0.000976562 7.80469 0.000976562H66.3985C68.0395 0.000976562 69.3281 1.28958 69.3281 2.93067Z' fill='%23284A75'/%3e%3cpath d='M69.3281 2.93067V85.3526C69.3281 86.9929 68.0395 88.2823 66.3984 88.2823H42.9609C41.3199 88.2823 40.0312 86.9929 40.0312 85.3526L31.2422 64.8447V0.000976562H66.3984C68.0395 0.000976562 69.3281 1.28958 69.3281 2.93067Z' fill='%231B3250'/%3e%3cpath d='M44.2496 17.8727L9.09329 0.294542C8.21515 -0.115919 7.10126 -0.115919 6.2811 0.412035C5.40219 0.99721 4.875 1.93486 4.875 2.93126V85.3531C4.875 86.6418 5.69516 87.7556 6.86704 88.1066L31.2422 96.2517L42.0233 99.8253C42.8862 100.171 43.9917 99.9756 44.66 99.4744C45.4222 98.8885 45.8906 98.0096 45.8906 97.0719V20.5094C45.8906 19.3963 45.246 18.3999 44.2496 17.8727Z' fill='%232B94FF'/%3e%3cpath d='M45.8906 20.5089V97.0714C45.8906 98.0091 45.4214 98.888 44.66 99.4739C43.9978 99.9706 42.8946 100.174 42.0233 99.8249L31.2422 96.2513V11.3682L44.2495 17.8722C45.2459 18.3994 45.8906 19.3958 45.8906 20.5089Z' fill='%232D87F3'/%3e%3cpath d='M76.7355 64.4988C75.7826 63.9899 75.1875 62.9974 75.1875 61.9155V58.9858H54.6797C53.06 58.9858 51.75 57.6751 51.75 56.0561V44.3374C51.75 42.7177 53.06 41.4077 54.6797 41.4077H75.1875V38.478C75.1875 37.3961 75.7826 36.4036 76.7355 35.8939C77.6854 35.3881 78.8443 35.4453 79.7423 36.0404L97.3204 47.7592C98.136 48.3024 98.625 49.2179 98.625 50.1968C98.625 51.1748 98.136 52.0904 97.3204 52.6336L79.7423 64.3523C78.8336 64.9589 77.6747 65.0031 76.7355 64.4988Z' fill='%23F44D2C'/%3e%3cpath d='M34.1719 44.3379V56.0567C34.1719 57.697 32.8833 58.9864 31.2422 58.9864C29.6011 58.9864 28.3125 57.697 28.3125 56.0567V44.3379C28.3125 42.6968 29.6011 41.4082 31.2422 41.4082C32.8833 41.4082 34.1719 42.6968 34.1719 44.3379Z' fill='%23F7F9FC'/%3e%3cpath d='M34.1719 44.3379V56.0567C34.1719 57.697 32.8833 58.9864 31.2422 58.9864V41.4082C32.8833 41.4082 34.1719 42.6968 34.1719 44.3379Z' fill='%23E4E8EC'/%3e%3c/svg%3e",className:"cancle-img",alt:"close-account"}),c.default.createElement("h2",null,f("helloSites"===d?"logout.popup.ask1":"logout.popup.ask.mb")),c.default.createElement("p",null,f("logout.popup.ask2")),c.default.createElement(m,{siteType:d},c.default.createElement(e.Button,{className:"logout-button",color:"tertiary",size:"lg",onClick:s},f("logout.popup.button.logout")),c.default.createElement(e.Button,{className:"cancel-button",color:"primary",size:"lg",onClick:p},f("logout.popup.button.cancel"))))),r.getPopupWrapperDom())};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { SiteType, UserInfo } from 'src/interfaces/types';
|
|
2
|
+
import { LOCALE, SiteType, UserInfo } from 'src/interfaces/types';
|
|
3
3
|
export declare type Props = {
|
|
4
4
|
userInfo: UserInfo;
|
|
5
5
|
siteType: SiteType;
|
|
@@ -19,5 +19,6 @@ export declare type Props = {
|
|
|
19
19
|
style?: CSSProperties;
|
|
20
20
|
userProfileRouterPush?: (s: string) => void;
|
|
21
21
|
isLoading?: boolean;
|
|
22
|
+
locale: LOCALE;
|
|
22
23
|
};
|
|
23
|
-
export declare const NavigationProfileButton: ({ userInfo, siteType, isAmp, goToLogin, SSO_URL, currentUrl, isMinifyLogin, enableCare, enableTogether, enableEcom, isUserProfileNavigatorMenuHidden, UP_BASEPATH, isMyHealthEnabled, togetherApiDomain, onLogout, style, userProfileRouterPush, isLoading, }: Props) => JSX.Element;
|
|
24
|
+
export declare const NavigationProfileButton: ({ userInfo, siteType, isAmp, goToLogin, SSO_URL, currentUrl, isMinifyLogin, enableCare, enableTogether, enableEcom, isUserProfileNavigatorMenuHidden, UP_BASEPATH, isMyHealthEnabled, togetherApiDomain, onLogout, style, userProfileRouterPush, isLoading, locale, }: Props) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { UserInfo } from 'interfaces/types';
|
|
2
|
+
import { LOCALE, UserInfo } from 'interfaces/types';
|
|
3
3
|
export declare type Props = {
|
|
4
4
|
SSO_URL?: string;
|
|
5
5
|
UP_BASEPATH?: string;
|
|
@@ -16,6 +16,7 @@ export declare type Props = {
|
|
|
16
16
|
isUserProfileNavigatorMenuHidden?: boolean;
|
|
17
17
|
isMyHealthEnabled?: boolean;
|
|
18
18
|
togetherApiDomain?: string;
|
|
19
|
+
locale: LOCALE;
|
|
19
20
|
};
|
|
20
|
-
declare const ProfilePopup: ({ SSO_URL, UP_BASEPATH, isOpen, targetAvatar, userInfo, enableCare, enableTogether, enableEcom, closePopup, siteType, dispatchLogout, userProfileRouterPush, isUserProfileNavigatorMenuHidden, isMyHealthEnabled, togetherApiDomain, }: Props) => JSX.Element;
|
|
21
|
+
declare const ProfilePopup: ({ SSO_URL, UP_BASEPATH, isOpen, targetAvatar, userInfo, enableCare, enableTogether, enableEcom, closePopup, siteType, dispatchLogout, userProfileRouterPush, isUserProfileNavigatorMenuHidden, isMyHealthEnabled, togetherApiDomain, locale, }: Props) => JSX.Element;
|
|
21
22
|
export { ProfilePopup };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../tslib.es6-f7929e76.js"),require("react"),require("../../lock-f96868e8.js");var e=require("../../index-b08daeef.js");require("../atoms/text.js"),require("../../index.styled-a757296d.js"),require("../atoms/avatar.js"),require("../../index.styled-746e44a4.js"),require("../../index.styled-69d9ccc8.js"),require("../atoms/button.js"),require("../../index.styled-b1cca2d9.js"),require("../../index.styled-153551ce.js"),require("../../index.styled-fbf8794a.js"),require("../../index.styled-c138a33c.js"),require("../../index.styled-cb37a32a.js"),require("../atoms/label.js"),require("../../index.styled-97d71ef5.js"),require("../atoms/logo.js"),require("../../utils-1cac3068.js"),require("../../index.styled-f502a042.js"),require("../atoms/pureInput.js"),require("../../index.styled-61d64e64.js"),require("../../index.styled-ec8b738a.js"),require("react-range"),require("../../index.styled-4c7d3d62.js"),require("../../index.styled-1d015c53.js"),require("../../index.styled-7be82491.js"),require("../../index.styled-f4dc1d65.js"),require("../../index.styled-066b3539.js"),require("../atoms/textArea.js"),require("../atoms/container.js"),require("../../index.styled-b5ed3e2a.js"),require("../atoms/textDivider.js"),require("../../index.styled-12564c85.js"),require("../../Stethoscope-d829ee20.js"),require("../../index.styled-749e4611.js"),require("react-dom"),require("../../index.styled-1b85e0c8.js"),require("../../index.styled-c0a48e50.js"),require("../atoms/menu.js"),require("../../index.styled-78176bcd.js"),require("../../useTranslations-8eec642f.js"),require("lodash/debounce"),require("../../constants-5675963f.js"),require("date-fns"),require("../../animation-b53aef6e.js"),require("../../lazyLoad-f5c59bb0.js"),require("styled-components"),require("../../theme-696d81a9.js"),require("../../Locale-11b51016.js"),require("../../index.styled-71dccfe1.js"),require("./navigationLogoutPopup.js"),require("../../index-45b1d207.js"),require("../../cookieHelper-612b90fa.js"),require("../../constants-ca5ea110.js"),require("string-format"),require("../../index.styled-0e458732.js"),require("../../translationsContext-2d7ea471.js"),require("../../index.styled-3c5397f9.js"),require("../../en-PH-365f6e52.js"),require("vanilla-lazyload"),require("../molecules/popup.js"),exports.NavigationProfileButton=e.NavigationProfileButton;
|
package/build/components/organisms/navigationV2/components/molecules/Categories/index.styled.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const StyledItemGridLeft: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const StyledItem: import("styled-components").StyledComponent<"
|
|
2
|
+
export declare const StyledItem: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
3
3
|
export declare const StyledHeading: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const StyledIconNav: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
export declare const StyledItemAll: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -8,3 +8,4 @@ export declare const StyledItem: import("styled-components").StyledComponent<"a"
|
|
|
8
8
|
export declare const StyledInfoUser: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
9
|
export declare const StyledTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
10
|
export declare const StyledInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
export declare const StyledWrapInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -5,3 +5,4 @@ export declare const StyledTitle: import("styled-components").StyledComponent<"p
|
|
|
5
5
|
export declare const StyledDes: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
6
6
|
export declare const StyledContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
7
|
export declare const StyledContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const StyledWrapName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.d.ts
CHANGED
|
@@ -12,4 +12,5 @@ export declare const StyledLogoWrapper: import("styled-components").StyledCompon
|
|
|
12
12
|
export declare const StyledRightGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
13
|
export declare const StyledServiceListMenuSearchInputWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
14
|
export declare const StyledProfileNavGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
|
+
export declare const StyledWrapMenuItems: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
16
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Hospital } from 'care/interfaces/types';
|
|
3
|
-
import { Category as EcomCategory, Product as EcomProduct } from 'ecom/dataFormatter/lib/dataTypes';
|
|
4
3
|
import { LocaleType, ProjectType } from 'interfaces/types';
|
|
5
4
|
import { Option } from 'src/components/molecules/languageSwitcher/tooltipSelection';
|
|
6
5
|
import { Community, Post } from 'together/interfaces/types';
|
|
@@ -22,10 +21,6 @@ export declare type NavMenuContentType = {
|
|
|
22
21
|
items?: Community[];
|
|
23
22
|
spotlights?: Post[];
|
|
24
23
|
};
|
|
25
|
-
ecom?: {
|
|
26
|
-
items?: EcomCategory[];
|
|
27
|
-
spotlights?: EcomProduct[];
|
|
28
|
-
};
|
|
29
24
|
};
|
|
30
25
|
export declare type Props = {
|
|
31
26
|
isMobile?: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../tslib.es6-f7929e76.js"),require("react"),require("../../core-8fcc56eb.js"),require("../../index.styled-cb37a32a.js"),require("../atoms/text.js"),require("../../index.styled-78875f21.js"),require("react-id-generator"),require("../../index.styled-7d510632.js"),require("../../index.styled-e0103298.js"),require("../../index.styled-695c7b97.js"),require("../../index.styled-b5ed3e2a.js"),require("../../index.styled-a8c022ac.js"),require("date-fns"),require("react-day-picker/DayPickerInput"),require("../../index.styled-d814136c.js"),require("../../index.styled-008ef19d.js"),require("../molecules/popup.js"),require("lodash/debounce"),require("react-dom"),require("../../index.styled-ad582518.js"),require("lodash"),require("../../index.styled-623fef75.js"),require("../molecules/radioGroup.js"),require("../../menuLink-8bd7d73e.js"),require("../molecules/scrollList.js"),require("keen-slider/react"),require("../../index.styled-3ee5723a.js"),require("../../index.styled-dc219b10.js"),require("../../tableBody-5653fcab.js"),require("../../index.styled-a757296d.js"),require("../../index.styled-3c5397f9.js"),require("../../index.styled-746e44a4.js"),require("../../index.styled-69d9ccc8.js"),require("../../index.styled-0e458732.js"),require("../../index.styled-b1cca2d9.js"),require("../../index.styled-153551ce.js"),require("../../index.styled-fbf8794a.js"),require("../../index.styled-c138a33c.js"),require("../atoms/label.js"),require("../../index.styled-97d71ef5.js"),require("../atoms/logo.js"),require("../../utils-1cac3068.js"),require("../../index.styled-f502a042.js"),require("../atoms/pureInput.js"),require("../../index.styled-61d64e64.js"),require("../../index.styled-ec8b738a.js"),require("react-range"),require("../../index.styled-4c7d3d62.js"),require("../../index.styled-1d015c53.js"),require("../../index.styled-7be82491.js"),require("../../index.styled-f4dc1d65.js"),require("../../index.styled-066b3539.js"),require("../atoms/textArea.js"),require("../atoms/container.js"),require("../atoms/textDivider.js"),require("../../index.styled-12564c85.js"),require("../../Stethoscope-d829ee20.js"),require("../../index.styled-749e4611.js"),require("../../index.styled-1b85e0c8.js"),require("../../index.styled-c0a48e50.js"),require("../atoms/menu.js"),require("../../index.styled-78176bcd.js"),require("../../translationsContext-2d7ea471.js"),require("string-format"),require("../../routing-7d9b5fab.js"),require("../../animation-b53aef6e.js"),require("../../lazyLoad-f5c59bb0.js"),require("styled-components"),require("../../Locale-11b51016.js"),require("../../index.styled-71dccfe1.js"),require("../../index.styled-7a935330.js"),require("../molecules/doctorInfo.js"),require("../../surveyQuestionCard-dc8ee056.js"),require("../../index.styled-df85fa38.js"),require("../../index.styled-fb8fdc21.js"),require("../../index-77217283.js"),require("../../index-afeb5842.js"),require("../../constants-5675963f.js"),require("../molecules/languageSwitcher.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("../../index.styled-7e46b5b8.js"),require("../../index.styled-5f87a409.js"),require("../../index.styled-80d36b16.js"),require("../../index-f157b9d5.js");var e=require("../../navigation.js");require("../../index-45b1d207.js"),require("../../theme-696d81a9.js"),require("../atoms/radio.js"),require("smoothscroll-polyfill"),require("vanilla-lazyload"),require("../atoms/button.js"),require("../atoms/heading.js"),require("../atoms/input.js"),require("../atoms/flag.js"),require("../atoms/drawer.js"),require("../atoms/backdrop.js"),require("../atoms/avatar.js"),require("date-fns/locale/hi"),require("date-fns/locale/ms"),require("date-fns/locale/th"),require("../../useTranslations-8eec642f.js"),require("../../en-PH-365f6e52.js"),require("../../togetherComponentGlobalContext-6197b982.js"),require("../../cookieHelper-612b90fa.js"),require("slugify"),require("../../constants-ca5ea110.js"),require("../../together-643762e2.js"),require("../../index-cbfaf5d2.js"),require("../../useScreenSize-1a87cd03.js"),require("./navigationBookingButton.js"),require("../../index-b08daeef.js"),require("../../lock-f96868e8.js"),require("./navigationLogoutPopup.js"),exports.NavigationV2=e.NavigationV2,exports.getNavMenuContent=e.getNavMenuContent,exports.getNavMenuContentWithCache=e.getNavMenuContentWithCache;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { LocaleType } from 'interfaces/types';
|
|
3
|
-
import { UserInfo } from '../navigationLayout/types';
|
|
2
|
+
import { LOCALE, LocaleType, UserInfo } from 'interfaces/types';
|
|
4
3
|
import { NavHeader } from './navHeader';
|
|
5
4
|
import { UserProfileMenuCard, UserProfileTheme } from './types';
|
|
6
5
|
import { UserStats } from './userStats';
|
|
@@ -28,6 +27,7 @@ export declare type UserProfileNavigationProps = {
|
|
|
28
27
|
ENABLE_COMMUNITY_PROFILE_MENU_LOCALES?: LocaleType[];
|
|
29
28
|
ENABLE_ECOM_PROFILE_MENU_LOCALES?: LocaleType[];
|
|
30
29
|
userProfileRouterPush?: (s: string) => void;
|
|
30
|
+
locale: LOCALE;
|
|
31
31
|
};
|
|
32
|
-
declare const UserProfileNavigation: ({ SSO_URL, UP_BASEPATH, themeName, cardUrls, enableCare, enableTogether, enableEcom, userInfo, togetherApiDomain, userPostsNumber, onClickNavigationCard, onClickMyProfileButton, onClickMenuItem, onClickLogout, isUserProfileNavigatorMenuHidden, isMyHealthEnabled, }: UserProfileNavigationProps) => JSX.Element;
|
|
32
|
+
declare const UserProfileNavigation: ({ SSO_URL, UP_BASEPATH, themeName, cardUrls, enableCare, enableTogether, enableEcom, userInfo, togetherApiDomain, userPostsNumber, onClickNavigationCard, onClickMyProfileButton, onClickMenuItem, onClickLogout, isUserProfileNavigatorMenuHidden, isMyHealthEnabled, locale, }: UserProfileNavigationProps) => JSX.Element;
|
|
33
33
|
export { UserProfileNavigation, NavHeader as UserProfileNavigationHeader, UserStats as UserProfileNavigationStats, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { LocaleType } from '
|
|
2
|
+
import { LocaleType } from 'interfaces/types';
|
|
3
3
|
import { UserProfileNavMenuItem, UserProfileTheme } from '../types';
|
|
4
4
|
export declare type NavMenuProps = {
|
|
5
5
|
themeName: UserProfileTheme;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TranslationsKey } from 'i18n/translations';
|
|
2
|
-
import { LocaleType } from '
|
|
2
|
+
import { LocaleType } from 'interfaces/types';
|
|
3
3
|
export declare type UserProfileTheme = 'helloSites' | 'marryBaby';
|
|
4
4
|
export declare type UserProfileRank = 'member' | 'ambassador' | 'influencer' | 'expert' | 'doctor';
|
|
5
5
|
export declare type UserProfileMenuCard = 'mySaved' | 'myBooking' | 'myCommunity' | 'myHealth' | 'myFamily' | 'eCom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("react"),require("../../useTranslations-8eec642f.js"),require("../../cookieHelper-612b90fa.js");var e=require("../../index-45b1d207.js");require("../../en-PH-365f6e52.js"),require("../../translationsContext-2d7ea471.js"),require("string-format"),require("../../tslib.es6-f7929e76.js"),require("../../constants-ca5ea110.js"),require("../../constants-5675963f.js"),require("../atoms/button.js"),require("../../index.styled-0e458732.js"),require("styled-components"),require("../../theme-696d81a9.js"),require("../atoms/text.js"),require("../../utils-1cac3068.js"),require("../../index.styled-a757296d.js"),require("../atoms/avatar.js"),require("../../index.styled-3c5397f9.js"),require("../../index.styled-746e44a4.js"),require("../../index.styled-69d9ccc8.js"),require("../../index.styled-b1cca2d9.js"),require("../../index.styled-153551ce.js"),require("../../index.styled-fbf8794a.js"),require("../../index.styled-c138a33c.js"),require("../../index.styled-cb37a32a.js"),require("../atoms/label.js"),require("../../index.styled-97d71ef5.js"),require("../atoms/logo.js"),require("../../index.styled-f502a042.js"),require("../atoms/pureInput.js"),require("../../index.styled-61d64e64.js"),require("../../index.styled-ec8b738a.js"),require("react-range"),require("../../index.styled-4c7d3d62.js"),require("../../index.styled-1d015c53.js"),require("../../index.styled-7be82491.js"),require("../../index.styled-f4dc1d65.js"),require("../../index.styled-066b3539.js"),require("../atoms/textArea.js"),require("../atoms/container.js"),require("../../index.styled-b5ed3e2a.js"),require("../atoms/textDivider.js"),require("../../index.styled-12564c85.js"),require("../../Stethoscope-d829ee20.js"),require("../../index.styled-749e4611.js"),require("react-dom"),require("../../index.styled-1b85e0c8.js"),require("../../index.styled-c0a48e50.js"),require("../../animation-b53aef6e.js"),require("../atoms/menu.js"),require("../../index.styled-78176bcd.js"),require("lodash/debounce"),require("date-fns"),require("../../lazyLoad-f5c59bb0.js"),require("vanilla-lazyload"),require("../../Locale-11b51016.js"),require("../../index.styled-71dccfe1.js"),exports.UserProfileNavigation=e.UserProfileNavigation,exports.UserProfileNavigationHeader=e.NavHeader,exports.UserProfileNavigationStats=e.UserStats;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../navigation.js"),r=require("../index-45b1d207.js"),i=require("./organisms/footer.js"),s=require("./organisms/navigationLogoutPopup.js"),t=require("../index-b08daeef.js");require("../tslib.es6-f7929e76.js"),require("react"),require("../core-8fcc56eb.js"),require("../index.styled-cb37a32a.js"),require("../theme-696d81a9.js"),require("../utils-1cac3068.js"),require("styled-components"),require("./atoms/text.js"),require("../index.styled-78875f21.js"),require("react-id-generator"),require("../index.styled-7d510632.js"),require("../index.styled-e0103298.js"),require("../index.styled-695c7b97.js"),require("../index.styled-b5ed3e2a.js"),require("../index.styled-a8c022ac.js"),require("date-fns"),require("react-day-picker/DayPickerInput"),require("../index.styled-d814136c.js"),require("../index.styled-008ef19d.js"),require("./molecules/popup.js"),require("lodash/debounce"),require("react-dom"),require("../index.styled-ad582518.js"),require("lodash"),require("../index.styled-623fef75.js"),require("./molecules/radioGroup.js"),require("./atoms/radio.js"),require("../index.styled-61d64e64.js"),require("../menuLink-8bd7d73e.js"),require("../index.styled-a757296d.js"),require("../index.styled-3c5397f9.js"),require("../index.styled-746e44a4.js"),require("../index.styled-69d9ccc8.js"),require("../index.styled-0e458732.js"),require("../index.styled-b1cca2d9.js"),require("../index.styled-153551ce.js"),require("../index.styled-fbf8794a.js"),require("../index.styled-c138a33c.js"),require("./atoms/label.js"),require("../index.styled-97d71ef5.js"),require("./atoms/logo.js"),require("../index.styled-f502a042.js"),require("./atoms/pureInput.js"),require("../index.styled-ec8b738a.js"),require("react-range"),require("../index.styled-4c7d3d62.js"),require("../index.styled-1d015c53.js"),require("../index.styled-7be82491.js"),require("../index.styled-f4dc1d65.js"),require("../index.styled-066b3539.js"),require("./atoms/textArea.js"),require("./atoms/container.js"),require("./atoms/textDivider.js"),require("../index.styled-12564c85.js"),require("../Stethoscope-d829ee20.js"),require("../index.styled-749e4611.js"),require("../index.styled-1b85e0c8.js"),require("../index.styled-c0a48e50.js"),require("../animation-b53aef6e.js"),require("./atoms/menu.js"),require("../index.styled-78176bcd.js"),require("../translationsContext-2d7ea471.js"),require("string-format"),require("../constants-5675963f.js"),require("../lazyLoad-f5c59bb0.js"),require("vanilla-lazyload"),require("../Locale-11b51016.js"),require("../index.styled-71dccfe1.js"),require("./molecules/doctorInfo.js"),require("./molecules/scrollList.js"),require("smoothscroll-polyfill"),require("keen-slider/react"),require("../index.styled-3ee5723a.js"),require("../index.styled-dc219b10.js"),require("../tableBody-5653fcab.js"),require("../routing-7d9b5fab.js"),require("../index.styled-7a935330.js"),require("../surveyQuestionCard-dc8ee056.js"),require("./atoms/button.js"),require("./atoms/heading.js"),require("./atoms/input.js"),require("../index.styled-df85fa38.js"),require("../index.styled-fb8fdc21.js"),require("../index-77217283.js"),require("../index-afeb5842.js"),require("./molecules/languageSwitcher.js"),require("./atoms/flag.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("../index.styled-7e46b5b8.js"),require("../index.styled-5f87a409.js"),require("../index.styled-80d36b16.js"),require("./atoms/drawer.js"),require("./atoms/backdrop.js"),require("../index-f157b9d5.js"),require("./atoms/avatar.js"),require("date-fns/locale/hi"),require("date-fns/locale/ms"),require("date-fns/locale/th"),require("../useTranslations-8eec642f.js"),require("../en-PH-365f6e52.js"),require("../togetherComponentGlobalContext-6197b982.js"),require("../cookieHelper-612b90fa.js"),require("slugify"),require("../constants-ca5ea110.js"),require("../together-643762e2.js"),require("../index-cbfaf5d2.js"),require("../useScreenSize-1a87cd03.js"),require("./organisms/navigationBookingButton.js"),require("../lock-f96868e8.js"),require("../zalo-e7b9d144.js"),require("./atoms/divider.js"),require("./atoms/marryBabyText.js"),exports.NavigationV2=e.NavigationV2,exports.getNavMenuContent=e.getNavMenuContent,exports.getNavMenuContentWithCache=e.getNavMenuContentWithCache,exports.UserProfileNavigation=r.UserProfileNavigation,exports.UserProfileNavigationHeader=r.NavHeader,exports.UserProfileNavigationStats=r.UserStats,exports.Footer=i.Footer,exports.NavigationLogoutPopup=s.NavigationLogoutPopup,exports.NavigationProfileButton=t.NavigationProfileButton,exports.ProfilePopup=t.ProfilePopup;
|
package/build/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./components/atoms/alert.js"),r=require("./components/atoms/avatar.js"),o=require("./components/atoms/badge.js"),s=require("./components/atoms/borderHeading.js"),t=require("./components/atoms/button.js"),i=require("./components/atoms/divider.js"),n=require("./components/atoms/fileDropdown.js"),a=require("./components/atoms/flag.js"),u=require("./components/atoms/grid.js"),d=require("./components/atoms/heading.js"),c=require("./components/atoms/input.js"),p=require("./components/atoms/label.js"),l=require("./components/atoms/logo.js"),q=require("./components/atoms/pagination.js"),m=require("./components/atoms/pureInput.js"),x=require("./components/atoms/radio.js"),j=require("./components/atoms/shadow.js"),g=require("./components/atoms/slider.js"),b=require("./components/atoms/tag.js"),y=require("./components/atoms/text.js"),f=require("./components/atoms/toggle.js"),C=require("./components/atoms/underlinedLink.js"),v=require("./components/atoms/uploader.js"),P=require("./components/atoms/textArea.js"),h=require("./components/atoms/container.js"),S=require("./components/atoms/checkbox.js"),k=require("./components/atoms/textDivider.js"),B=require("./components/atoms/rateStars.js"),N=require("./components/atoms/icons.js"),D=require("./components/atoms/progress.js"),T=require("./components/atoms/drawer.js"),w=require("./components/atoms/menu.js"),L=require("./components/atoms/radioImageGroup.js"),I=require("./components/atoms/newBabyProfileRadio.js"),G=require("./components/molecules/articleCard.js"),A=require("./components/molecules/breadcrumbs.js"),M=require("./components/molecules/categoryCard.js"),R=require("./components/molecules/checkboxGroup.js"),H=require("./components/molecules/datePicker.js"),U=require("./components/molecules/dropdown.js"),F=require("./components/molecules/iconText.js"),z=require("./components/molecules/popup.js"),Q=require("./components/molecules/modal.js"),W=require("./components/molecules/progressBar.js"),O=require("./components/molecules/radioGroup.js"),V=require("./index-1dcd4d14.js"),_=require("./components/molecules/scrollList.js"),E=require("./components/molecules/carousel.js"),J=require("./components/molecules/statisticCard.js"),K=require("./index-3a039505.js"),X=require("./components/molecules/tabs.js"),Y=require("./components/molecules/doctorInfo.js"),Z=require("./surveyQuestionCard-dc8ee056.js"),$=require("./surveyThankyouCard-2a90aec4.js"),ee=require("./components/molecules/floatButtonGroup.js"),re=require("./components/molecules/cookieAcceptConfirm.js"),oe=require("./index-77217283.js"),se=require("./components/molecules/seoHead.js"),te=require("./components/molecules/languageSwitcher.js"),ie=require("./components/molecules/ampNextPage.js"),ne=require("./components/molecules/dateRangePicker.js"),ae=require("./components/molecules/shareContainer.js"),ue=require("./components/molecules/shareDrawer.js"),de=require("./navigation.js"),ce=require("./index-45b1d207.js"),pe=require("./components/organisms/footer.js"),le=require("./components/organisms/navigationLogoutPopup.js"),qe=require("./index-b08daeef.js");require("react"),require("./index.styled-a757296d.js"),require("./tslib.es6-f7929e76.js"),require("styled-components"),require("./theme-696d81a9.js"),require("./utils-1cac3068.js"),require("./index.styled-3c5397f9.js"),require("./index.styled-746e44a4.js"),require("./index.styled-69d9ccc8.js"),require("./index.styled-0e458732.js"),require("./index.styled-b1cca2d9.js"),require("./index.styled-153551ce.js"),require("./index.styled-fbf8794a.js"),require("./index.styled-c138a33c.js"),require("./index.styled-cb37a32a.js"),require("./index.styled-97d71ef5.js"),require("./index.styled-f502a042.js"),require("./index.styled-61d64e64.js"),require("./index.styled-ec8b738a.js"),require("react-range"),require("./index.styled-4c7d3d62.js"),require("./index.styled-1d015c53.js"),require("./index.styled-7be82491.js"),require("./index.styled-f4dc1d65.js"),require("./index.styled-066b3539.js"),require("./index.styled-b5ed3e2a.js"),require("./index.styled-12564c85.js"),require("./Stethoscope-d829ee20.js"),require("./index.styled-749e4611.js"),require("react-dom"),require("./components/atoms/backdrop.js"),require("./index.styled-1b85e0c8.js"),require("./index.styled-c0a48e50.js"),require("./animation-b53aef6e.js"),require("./index.styled-78176bcd.js"),require("./useTranslations-8eec642f.js"),require("./en-PH-365f6e52.js"),require("./translationsContext-2d7ea471.js"),require("string-format"),require("lodash/debounce"),require("./constants-5675963f.js"),require("date-fns"),require("./lazyLoad-f5c59bb0.js"),require("vanilla-lazyload"),require("./Locale-11b51016.js"),require("./index.styled-71dccfe1.js"),require("./index.styled-78875f21.js"),require("react-id-generator"),require("./index.styled-e0103298.js"),require("./index.styled-7d510632.js"),require("./index.styled-695c7b97.js"),require("./index.styled-a8c022ac.js"),require("react-day-picker/DayPickerInput"),require("./index.styled-d814136c.js"),require("./index.styled-008ef19d.js"),require("./useScrollbarSize-586f6706.js"),require("./index.styled-ad582518.js"),require("lodash"),require("./index.styled-623fef75.js"),require("./menuLink-8bd7d73e.js"),require("smoothscroll-polyfill"),require("keen-slider/react"),require("./index.styled-3ee5723a.js"),require("./index.styled-dc219b10.js"),require("./tableBody-5653fcab.js"),require("./index.styled-7a935330.js"),require("./index.styled-df85fa38.js"),require("./index.styled-fb8fdc21.js"),require("./index-afeb5842.js"),require("./useOutsideClick-528bfd6c.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./useScreenSize-1a87cd03.js"),require("./index.styled-7e46b5b8.js"),require("./getSocialList-2a3b759f.js"),require("./index.styled-5f87a409.js"),require("./index.styled-80d36b16.js"),require("./core-8fcc56eb.js"),require("./routing-7d9b5fab.js"),require("./index-f157b9d5.js"),require("date-fns/locale/hi"),require("date-fns/locale/ms"),require("date-fns/locale/th"),require("./togetherComponentGlobalContext-6197b982.js"),require("./cookieHelper-612b90fa.js"),require("slugify"),require("./constants-ca5ea110.js"),require("./together-643762e2.js"),require("./index-cbfaf5d2.js"),require("./components/organisms/navigationBookingButton.js"),require("./lock-f96868e8.js"),require("./zalo-e7b9d144.js"),require("./components/atoms/marryBabyText.js"),exports.Alert=e.Alert,exports.Avatar=r.Avatar,exports.Badge=o.Badge,exports.BorderHeading=s.BorderHeading,exports.Button=t.Button,exports.Divider=i.Divider,exports.FileDropdown=n.FileDropdown,exports.Flag=a.Flag,exports.Grid=u.Grid,exports.Heading=d.Heading,exports.Input=c.Input,exports.Label=p.Label,exports.Logo=l.Logo,exports.Pagination=q.Pagination,exports.PureInput=m.PureInput,exports.Radio=x.Radio,exports.Shadow=j.Shadow,exports.Slider=g.Slider,exports.Tag=b.Tag,exports.Text=y.Text,exports.Toggle=f.Toggle,exports.UnderlinedLink=C.UnderlinedLink,exports.Uploader=v.Uploader,exports.TextArea=P.TextArea,exports.Container=h.Container,exports.Checkbox=S.Checkbox,exports.TextDivider=k.TextDivider,exports.RateStars=B.RateStars,exports.Icon=N.Icon,exports.Progress=D.Progress,exports.Drawer=T.Drawer,exports.Menu=w.Menu,exports.RadioImageGroup=L.RadioImageGroup,exports.NewBabyProfileRadio=I.NewBabyProfileRadio,exports.ArticleCard=G.ArticleCard,exports.Breadcrumbs=A.Breadcrumbs,exports.CategoryCard=M.CategoryCard,exports.CheckboxGroup=R.CheckboxGroup,exports.DatePicker=H.DatePicker,exports.Dropdown=U.Dropdown,exports.IconText=F.IconText,exports.Popup=z.Popup,exports.Modal=Q.Modal,exports.ProgressBar=W.ProgressBar,exports.RadioGroup=O.RadioGroup,exports.SideMenu=V.index,exports.ScrollList=_.ScrollList,exports.Carousel=E.Carousel,exports.StatisticCard=J.StatisticCard,exports.Table=K.index,exports.Tabs=X.Tabs,exports.DoctorInfo=Y.DoctorInfo,exports.SurveyQuestionCard=Z.SurveyQuestionCard,exports.SurveyThankyouCard=$.SurveyThankyouCard,exports.FloatButtonGroup=ee.FloatButtonGroup,exports.CookieAcceptConfirm=re.CookieAcceptConfirm,exports.MobileBottomNavigation=oe.MobileBottomNavigation,exports.MobileBottomNavigationIcon=oe.MobileBottomNavigationIcon,exports.SeoHead=se.SeoHead,exports.LanguageSwitcher=te.LanguageSwitcher,exports.AmpNextPage=ie.AmpNextPage,exports.DateRangePicker=ne.DateRangePicker,exports.ShareContainer=ae.ShareContainer,exports.ShareDrawer=ue.ShareDrawer,exports.NavigationV2=de.NavigationV2,exports.getNavMenuContent=de.getNavMenuContent,exports.getNavMenuContentWithCache=de.getNavMenuContentWithCache,exports.UserProfileNavigation=ce.UserProfileNavigation,exports.UserProfileNavigationHeader=ce.NavHeader,exports.UserProfileNavigationStats=ce.UserStats,exports.Footer=pe.Footer,exports.NavigationLogoutPopup=le.NavigationLogoutPopup,exports.NavigationProfileButton=qe.NavigationProfileButton,exports.ProfilePopup=qe.ProfilePopup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,o={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},l={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},a={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},t=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],E=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],i=["vi-VN","id-ID"],n=("undefined"!=typeof window?function(e){var o,l;return null!==(l=null===(o=null==e?void 0:e.match(/^https?:\/\/([^/?#]+)(?:[/?#]|$)/i))||void 0===o?void 0:o[1])&&void 0!==l?l:""}(null===(e=null===window||void 0===window?void 0:window.location)||void 0===e?void 0:e.href):"").split("."),I=process.env.NEXT_PUBLIC_DEPLOY_ENV?"production"===process.env.NEXT_PUBLIC_DEPLOY_ENV:n&&!("dev"===n[0]||"dev"===n[1]||"staging"===n[0]||"staging-id"===n[0]||"staging-id-hotfix"===n[0]||"localhost"===n[0].split(":")[0]||"staging"===n[1]||"fe"===n[0]||"fe-hotfix"===n[0]||"discover"===n[0]||"discover-hotfix"===n[0]),T=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:"userGeoLocationCoordinates",domainLocales:o,LOCALE_SPECS:l,STATIC_PAGES:a,UP_BASEPATH:"user",TOGETHER_LOCALES:t,CARE_LOCALES:E,CARE_BOOKING_LOCALES:i,isProduction:I});exports.CARE_BOOKING_LOCALES=i,exports.CARE_LOCALES=E,exports.LOCALE_SPECS=l,exports.STATIC_PAGES=a,exports.TOGETHER_LOCALES=t,exports.UP_BASEPATH="user",exports.USER_GEOLOCATION_COORDINATES_COOKIE="userGeoLocationCoordinates",exports.constants=T,exports.domainLocales=o,exports.isProduction=I,exports.theme={colors:{primaryBase:"#2d87f3",primaryHover:"#2c74df",primaryActive:"#2b62cd",primaryVisited:"#5e38ba",secondaryBase:"#284a75",secondaryDark:"#1b3250",accentLight:"#b1ebf8",accentMain:"#00AECD",success:"#00b16a",error:"#f71210",gray100:"#f2f2f2",gray200:"#d9d9d9",gray300:"#bfbfbf",gray400:"#8c8c8c",gray500:"#737373",gray600:"#595959",gray700:"#404040",gray800:"#262626",blue50:"#e3f2ff",blue100:"#bcdeff",blue200:"#91caff",blue300:"#65b5ff",blue400:"#45a4ff",blue500:"#2b94ff",blue600:"#2d87f3",blue700:"#2c74df",blue800:"#2b62cd",blue900:"#2743ad",alertWarning:"#fe921d",green50:"#e0f8ee",green100:"#b3eed5",green200:"#7ce2b9",green300:"#2ed69e",green400:"#00CB8A",green500:"#00C076",green600:"#00B16A",green700:"#009E5C",green800:"#008C50",green900:"#006C39",yellow50:"#fff8e2",yellow100:"#ffecb6",yellow200:"#ffe187",yellow300:"#ffd658",yellow400:"#ffc326",yellow500:"#fe921d",yellow600:"#ffb521",yellow700:"#fea21e",yellow800:"#fe921d",yellow900:"#fc7419",red50:"#fae9e8",red100:"#feccbf",red200:"#ff5331",red300:"#f44d2c",red400:"#ff6f4d",red500:"#ff5331",red600:"#f44d2c",red700:"#e64728",red800:"#d84023",red900:"#bf331b",neutral50:"#f8f9fc",neutral100:"#e4e8ec",neutral150:"#fafafa",neutral200:"#d2d6dc",neutral300:"#bfc5cc",neutral400:"#adb3bc",neutral500:"#9aa2ac",neutral600:"#87909c",neutral700:"#757f8c",neutral800:"#626d7c",teal50:"#e0f7fc",teal100:"#b1ebf8",teal200:"#7ddff3",teal300:"#44d1ec",teal400:"#00c7e6",teal500:"#00bee0",teal600:"#00aecd",teal700:"#0099b2",teal800:"#008599",teal900:"#00626c",pink50:"#fff1f6",pink100:"#fec7dc",pink200:"#fec7dc",pink300:"#fec2cf",pink400:"#fe9dc2",pink500:"#fd87b4",pink600:"#fd72a7",pink700:"#fc5d9a",pink800:"#fc488d",violet50:"#f5edff",violet100:"#e7d2f7",violet200:"#d8b7f0",violet300:"#ca9ce8",violet400:"#bb82e1",violet500:"#ad67d9",violet600:"#9e4cd1",violet700:"#9031ca",violet800:"#8116c2",indigo700:"#35639c",indigo800:"#284a75",indigo900:"#1b3250",brown50:"#faecde",brown100:"#ecd8c5",brown200:"#dec5ab",brown300:"#d0b192",brown400:"#c39d79",brown500:"#b5895f",brown600:"#a77646",brown700:"#99622c",brown800:"#8b4e13",white:"#fff"},mbColors:{pink:"#e85388",cobalt:"#2661ad",dark:"#202135",gray:"#3e3f58",midGray:"#9495a0",lightGray:"#f3f3f3",lightMint:"#f2fcf8",lightPink:"#ffeaf1",lightOrange:"#fffaeb",lightBlue:"#e0e9fc",mint:"#5ec08f",peach:"#ffaaa9",orange:"#fb8c00",ceruleanBlue:"#b6ceff",red:"#eb5757",lightRed:"#fdeeee",yellow:"#ff8a2b",green:"#f2fcf7",blue:"#4096fe",toneYellow:"#fff9eb",toneGreen:"#f2fcf7",toneBlue:"#e0e9fb",tonePink:"#ffeaf1"},sizes:{fwBold:"700",fwSemiBold:"600",fsCaption2:"13px",fsHeading1:"40px",fsHeading2:"28px",fsHeading4:"24px",fsHeading5:"18px",fsHeading6:"16px",fsParagraph3:"16px",fsParagraph4:"14px",fwRegular:"400"},zIndexes:{belowHeader:"1",zIndex100:"100",onTop:"1000",drawer:305},defaultColor:""};
|
|
1
|
+
"use strict";var o,e={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},l={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},i={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},n=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],t=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],a=["vi-VN","id-ID"],s=("undefined"!=typeof window?function(o){var e,l;return null!==(l=null===(e=null==o?void 0:o.match(/^https?:\/\/([^/?#]+)(?:[/?#]|$)/i))||void 0===e?void 0:e[1])&&void 0!==l?l:""}(null===(o=null===window||void 0===window?void 0:window.location)||void 0===o?void 0:o.href):"").split("."),E=process.env.NEXT_PUBLIC_DEPLOY_ENV?"production"===process.env.NEXT_PUBLIC_DEPLOY_ENV:s&&!("dev"===s[0]||"dev"===s[1]||"staging"===s[0]||"staging-id"===s[0]||"staging-id-hotfix"===s[0]||"localhost"===s[0].split(":")[0]||"staging"===s[1]||"fe"===s[0]||"fe-hotfix"===s[0]||"discover"===s[0]||"discover-hotfix"===s[0]),c={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]},I=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:"userGeoLocationCoordinates",domainLocales:e,LOCALE_SPECS:l,STATIC_PAGES:i,UP_BASEPATH:"user",TOGETHER_LOCALES:n,CARE_LOCALES:t,CARE_BOOKING_LOCALES:a,isProduction:E,FAVICONS:c});exports.CARE_BOOKING_LOCALES=a,exports.CARE_LOCALES=t,exports.FAVICONS=c,exports.LOCALE_SPECS=l,exports.STATIC_PAGES=i,exports.TOGETHER_LOCALES=n,exports.UP_BASEPATH="user",exports.USER_GEOLOCATION_COORDINATES_COOKIE="userGeoLocationCoordinates",exports.constants=I,exports.domainLocales=e,exports.isProduction=E;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var a={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"tl-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"zh-TW":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},i=Object.freeze({__proto__:null,basePath:"/care",LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},LOCALIZED_SLUGS:a,ID_OPTION_CURRENT_LOCATION:-1});exports.ID_OPTION_CURRENT_LOCATION=-1,exports.LOCALIZED_SLUGS=a,exports.constants=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var O=require("./constants-5675963f.js");exports.CARE_BOOKING_LOCALES=O.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=O.CARE_LOCALES,exports.FAVICONS=O.FAVICONS,exports.LOCALE_SPECS=O.LOCALE_SPECS,exports.STATIC_PAGES=O.STATIC_PAGES,exports.TOGETHER_LOCALES=O.TOGETHER_LOCALES,exports.UP_BASEPATH=O.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=O.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=O.domainLocales,exports.isProduction=O.isProduction;
|
package/build/core.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-57503957.js"),r=require("./constants-5675963f.js"),t=require("./useTranslations-8eec642f.js"),o=require("./useScrollbarSize-586f6706.js"),s=require("./useHealthToolCache-f0e420ac.js"),a=require("./localizeNumberFormat-d34a738e.js"),i=require("./animation-b53aef6e.js"),l=require("./cookieHelper-612b90fa.js"),n=require("./lazyLoad-f5c59bb0.js");require("react"),require("styled-components");var u=require("./theme-696d81a9.js"),p=require("./number-87b13133.js"),c=require("./routing-7d9b5fab.js"),x=require("./utils-1cac3068.js"),d=require("./getDynamicHealthTool-87cf062a.js"),g=require("./getSocialList-2a3b759f.js");require("./Locale-11b51016.js"),require("./en-PH-365f6e52.js"),require("./translationsContext-2d7ea471.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-f7929e76.js"),require("date-fns"),require("vanilla-lazyload"),require("./core-8fcc56eb.js"),exports.Types=e.index,exports.Constants=r.constants,exports.useTranslations=t.useTranslations,exports.MEASURE_ELEMENT_CLASS=o.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=o.useScrollbarSize,exports.useFbDataLayer=s.useFbDataLayer,exports.useHealthToolsCache=s.useHealthToolsCache,exports.ageGenerate=a.ageGenerate,exports.convertLocalizedStringToNumber=a.convertLocalizedStringToNumber,exports.localizeNumberFormat=a.localizeNumberFormat,exports.fadeIn=i.fadeIn,exports.slideInDown=i.slideInDown,exports.slideInLeft=i.slideInLeft,exports.slideInRight=i.slideInRight,exports.slideInUp=i.slideInUp,exports.slideOutDown=i.slideOutDown,exports.slideOutLeft=i.slideOutLeft,exports.slideOutRight=i.slideOutRight,exports.slideOutUp=i.slideOutUp,exports.deleteCookie=l.deleteCookie,exports.getCookie=l.getCookie,exports.setCookie=l.setCookie,Object.defineProperty(exports,"lazyLoadInstance",{enumerable:!0,get:function(){return n.lazyLoadInstance}}),exports.theme=u.theme,exports.abbreviateNumber=p.abbreviateNumber,exports.getCareApiDomain=c.getCareApiDomain,exports.getCurrentBaseUrl=c.getCurrentBaseUrl,exports.getCurrentSsoUrl=c.getCurrentSsoUrl,exports.getDiscoverApiDomain=c.getDiscoverApiDomain,exports.getTogetherApiDomain=c.getTogetherApiDomain,exports.Breakpoints=x.Breakpoints,exports.MediaQueries=x.MediaQueries,exports.formatUrlWithPageParam=x.formatUrlWithPageParam,exports.getBoundariesFromMediaQueryKey=x.getBoundariesFromMediaQueryKey,exports.getPopupWrapperDom=x.getPopupWrapperDom,exports.makeParams=x.makeParams,exports.startCase=x.startCase,exports.toggleNoScroll=x.toggleNoScroll,exports.formatHealthTool=d.formatHealthTool,exports.getDynamicHealthTool=d.getDynamicHealthTool,exports.getDynamicHealthToolWithCache=d.getDynamicHealthToolWithCache,exports.getSocialList=g.getSocialList;
|
|
File without changes
|
package/build/ecom.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-dc5c360a.js");require("./tslib.es6-f7929e76.js"),require("./theme-fe7c279c.js"),exports.EcomApiTypes=e.apiTypes,exports.EcomConstants=e.constants,exports.EcomDataFormatter=e.index,exports.EcomDataTypes=e.dataTypes,exports.EcomTypes=e.types;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,o=require("./tslib.es6-f7929e76.js"),t=require("./theme-696d81a9.js"),i=require("./constants-5675963f.js"),l=Object.freeze({__proto__:null}),n=Object.freeze({__proto__:null}),a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,r="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",u=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",c=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,d=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",m={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},p=a?"http://localhost:3001":i.isProduction?"https://".concat(m[s]):"https://discover.".concat(m[s]),_=i.isProduction?"https://wp.".concat(m[s],"/"):"https://staging.".concat(m[s],"/"),h=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:"https://together.".concat(m[s],"/"),E="".concat(p,"/community"),v=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(e||(e={}));var I={"vi-VN":{HOME:function(){return JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]})},CATEGORY:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]})},BRAND:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]})},BRAND_DETAIL:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop".concat(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop".concat(e)}}]},{"@type":"BrandDetail",url:"https://hellobacsi.com/shop".concat(e),numberOfItems:o,itemListElement:null!=t?t:{}}]})},PRODUCT_DETAIL:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop/san-pham/".concat(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/san-pham/".concat(e)}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}}},T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:r,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:u,GOOGLE_ADMIN_LOCATION_KEY:c,GOOGLE_CLIENT_ID:d,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:m,DISCOVER_URL_FE:p,DISCOVER_URL_BE:_,TOGETHER_URL_BE:h,TOGETHER_URL_FE:E,SSO_URL:v,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return e},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"}},FAVICONS:{"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:I});function g(e){return null!=e}var O,A={formatAutoCompleteAddress:function(e){return e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null},formatPrice:function(e,o){var t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:function(e){return{text:(null==e?void 0:e.name)||""}},formatHelpfulUrl:function(e){return{name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}},formatCategory:function(e,o,i){var l,n,a,r=i?i+"/"+e.slug:e.slug,s=(null===(n=null===(l=null==e?void 0:e.children)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,(function(o){return A.formatCategory(o,e.id,r)})))||[];return{id:null==e?void 0:e.id,name:(null==e?void 0:e.name)||"",logo:(null==e?void 0:e.logo)||"",slug:(null==e?void 0:e.slug)||"",fullSlug:r||"",children:s,backgroundColor:e.color||t.theme.colors.teal50,parentId:o||0,products:(null===(a=e.products)||void 0===a?void 0:a.map(A.formatProduct))||[]}},formatFooterInfo:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g=(null===(i=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(e){return{flag:e.flag||"",name:e.name||"",url:e.url||""}})))||[],O=(null===(a=null===(n=null===(l=null==e?void 0:e.general)||void 0===l?void 0:l.verified)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return{image:e.image||"",url:e.url||""}})))||[],A=(null===(s=null===(r=null==e?void 0:e.menu)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,(function(e){var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{title:e.title,url:e.url}}))}})))||[],f=(null===(d=null===(c=null===(u=null==e?void 0:e.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(function(e){return{icon:e.icon||"",name:e.name||"",url:e.url||""}})))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(I=null===(v=null==e?void 0:e.general)||void 0===v?void 0:v.copyright)&&void 0!==I?I:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:f}}},formatNavigation:function(e){var o,t,i,l,n,a;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatHotSearchKeyword))||[],helpfulUrls:(null===(l=null===(i=null==e?void 0:e.helpful_urls)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatHelpfulUrl))||[],categories:(null===(a=null===(n=null==e?void 0:e.categories)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return A.formatCategory(e)})))||[],footer:A.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:function(e){return e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null},formatProduct:function(e){var o,t,i,l;if(!e)return null;var n={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&A.formatPriceInfo(e.price)||n,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatProductPromotion).filter(g))||[],categories:(null===(l=null===(i=e.categories)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(e){return A.formatCategory(e)})).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:function(e){return e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null},formatBlogPost:function(e){var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(function(e){return{termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}})):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:function(e){return e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null},formatBrand:function(e){var o,t,i,l;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatBanner).filter(g))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g))||[]}:null},formatHomePage:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,O;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,A.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(l=(i=e.hot_deals).map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g):[],newProducts:e.new_products?null===(a=(n=e.new_products).map)||void 0===a?void 0:a.call(n,A.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(s=(r=e.slide_banners).map)||void 0===s?void 0:s.call(r,A.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,A.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,A.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,A.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(function(e){return A.formatCategory(e)})).filter(g):[],suggestProducts:e.suggest_products?null===(I=(v=e.suggest_products).map)||void 0===I?void 0:I.call(v,(function(e){return A.formatCategory(e)})).filter(g):[],promotions:e.promotions?null===(O=(T=e.promotions).map)||void 0===O?void 0:O.call(T,(function(e){return A.formatPromotion(e)})).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,i,l;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatBanner).filter(g))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?A.formatBrand(e):null},formatPagination:function(e){return e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null},formatProductDetailPage:function(e){var t,i,l,n,a,r,s,u;return e?o.__assign(o.__assign({},A.formatProduct(e)),{relatedProducts:(null===(i=null===(t=e.related_products)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,A.formatProduct).filter(g))||[],bestsellerProducts:(null===(n=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,A.formatProduct).filter(g))||[],viewedProducts:(null===(r=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===r?void 0:r.call(a,A.formatProduct).filter(g))||[],promotions:(null===(u=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===u?void 0:u.call(s,A.formatPromotion).filter(g))||[]}):null},formatProductReview:function(e){var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}})))||[],images:e.images||[]}:null},formatProductPromotion:function(e){return e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null},formatPromotion:function(e){return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null},formatCustomAttributes:function(e,o){var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((function(e){return e.attribute_code===o})))||void 0===t?void 0:t.value)||""},formatAddress:function(e){var o,t,i,l;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:A.formatCustomAttributes(e.custom_attributes,"district_id"),label:A.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:A.formatCustomAttributes(e.custom_attributes,"ward_id"),label:A.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(i=null==e?void 0:e.street)||void 0===i?void 0:i.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(l=null==e?void 0:e.extension_attributes)||void 0===l?void 0:l.full_address)||""}:null},formatProvince:function(e){return(null==e?void 0:e.available_regions)?e.available_regions.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatDistrict:function(e){return(null==e?void 0:e.districts)?e.districts.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatCommune:function(e){return(null==e?void 0:e.communes)?e.communes.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatOrder:function(e){var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}})))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:function(e){var o,t,i,l,n;return e?{pending:Number(null===(o=null==e?void 0:e.find((function(e){return"pending"===e.status})))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((function(e){return"processing"===e.status})))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(i=null==e?void 0:e.find((function(e){return"delivering"===e.status})))||void 0===i?void 0:i.amount)||0,complete:Number(null===(l=null==e?void 0:e.find((function(e){return"complete"===e.status})))||void 0===l?void 0:l.amount)||0,canceled:Number(null===(n=null==e?void 0:e.find((function(e){return"canceled"===e.status})))||void 0===n?void 0:n.amount)||0}:{}},formatCartItem:function(e){var o,t,i,l,n,a,r,s;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(i=e.extension_attributes)||void 0===i?void 0:i.row_total)||0,promotions:(null===(a=null===(n=null===(l=e.extension_attributes)||void 0===l?void 0:l.promotions)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,A.formatProductPromotion))||[],isInStock:(null===(r=e.extension_attributes)||void 0===r?void 0:r.is_in_stock)||!1,urlProduct:(null===(s=e.extension_attributes)||void 0===s?void 0:s.url_key)||""}:null},formatCartAddress:function(e){var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:function(e){return e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null},formatCartLoggedInCustomer:function(e){var o,t,i;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(i=e.extension_attributes)||void 0===i?void 0:i.is_subscribed)||!1}:null},formatCart:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(i=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatCartItem))||void 0===i?void 0:i.sort((function(e,o){return Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock)})))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?A.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?A.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(l=e.currency)||void 0===l?void 0:l.global_currency_code)||"",baseCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.base_currency_code)||"",storeCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.store_currency_code)||"",quoteCurrencyCode:(null===(r=e.currency)||void 0===r?void 0:r.quote_currency_code)||"",storeToBaseRate:(null===(s=e.currency)||void 0===s?void 0:s.store_to_base_rate)||0,storeToQuoteRate:(null===(u=e.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=e.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(function(e){var o,t,i;return{shipping:{address:e.shipping.address?A.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(i=(t=e.items).map)||void 0===i?void 0:i.call(t,A.formatCartItem))||[]}}))}:null},formatCartTotal:function(e){var o,t,i;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(i=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(e){return{itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}})))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:function(e){return e?null==e?void 0:e.map((function(e){return{code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}})):null},formatPaymentInformation:function(e){var o;return e?{paymentMethods:A.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:A.formatCartTotal(e.totals)}:null},formatOrderConfirmation:function(e){return e?{isSuccess:e.is_success||!1,orderInfo:A.formatOrder(e.order_info)}:null},formatCoupons:function(e){var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((function(e){return{code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}})):null},formatShippings:function(e){return e?e.map((function(e){var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]}},f=Object.freeze({__proto__:null,dataFormatter:A});!function(e){e.MALE="gender.male",e.FEMALE="gender.female",e.OTHER="gender.other"}(O||(O={}));var b=Object.freeze({__proto__:null,get GenderLabel(){return O},DATE_FORMAT_API:"yyyy-MM-dd",DATE_FORMAT:"dd-MM-yyyy"});exports.EcomApiTypes=l,exports.EcomConstants=T,exports.EcomDataFormatter=f,exports.EcomDataTypes=n,exports.EcomTypes=b;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|