@hhgtech/hhg-components 1.26.3-beta-1 → 1.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +6 -5
- package/build/cache.js +1 -1
- package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +6 -39
- package/build/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +8 -21
- package/build/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +1 -4
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +5 -29
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +8 -38
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +7 -34
- package/build/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +6 -28
- package/build/care.js +1 -1
- package/build/components/atoms/alert/index.d.ts +1 -1
- package/build/components/atoms/avatar/index.d.ts +1 -1
- package/build/components/atoms/avatar/index.styled.d.ts +1 -5
- package/build/components/atoms/backdrop/index.styled.d.ts +1 -5
- package/build/components/atoms/badge/index.styled.d.ts +1 -5
- package/build/components/atoms/borderHeading/index.styled.d.ts +1 -5
- package/build/components/atoms/btnChoice/index.styled.d.ts +1 -5
- package/build/components/atoms/checkbox/index.styled.d.ts +1 -5
- package/build/components/atoms/displayWrapper/index.styled.d.ts +2 -6
- package/build/components/atoms/divider/index.d.ts +1 -1
- package/build/components/atoms/divider/index.styled.d.ts +2 -6
- package/build/components/atoms/drawer/helpers.d.ts +1 -1
- package/build/components/atoms/drawer/index.styled.d.ts +5 -15
- package/build/components/atoms/dropdownMB/index.styled.d.ts +2 -3
- package/build/components/atoms/fileDropdown/index.d.ts +1 -1
- package/build/components/atoms/fileDropdown/index.styled.d.ts +5 -21
- package/build/components/atoms/grid/index.styled.d.ts +1 -8
- package/build/components/atoms/heading/index.d.ts +1 -1
- package/build/components/atoms/icons/Plus.d.ts +1 -4
- package/build/components/atoms/input/index.styled.d.ts +6 -22
- package/build/components/atoms/inputMB/index.styled.d.ts +2 -26
- package/build/components/atoms/logo/index.styled.d.ts +2 -9
- package/build/components/atoms/marryBabyText/index.d.ts +1 -1
- package/build/components/atoms/marryBabyText/index.styled.d.ts +5 -8
- package/build/components/atoms/menu/index.styled.d.ts +3 -10
- package/build/components/atoms/newBabyProfileRadio/index.styled.d.ts +1 -5
- package/build/components/atoms/pagination/index.d.ts +1 -1
- package/build/components/atoms/pagination/index.styled.d.ts +3 -13
- package/build/components/atoms/pill/index.styled.d.ts +2 -9
- package/build/components/atoms/progress/index.styled.d.ts +1 -5
- package/build/components/atoms/pureInput/index.styled.d.ts +5 -21
- package/build/components/atoms/radio/index.styled.d.ts +1 -5
- package/build/components/atoms/radioImageGroup/index.styled.d.ts +2 -9
- package/build/components/atoms/rateStars/index.styled.d.ts +1 -5
- package/build/components/atoms/shadow/index.styled.d.ts +1 -5
- package/build/components/atoms/tag/index.styled.d.ts +1 -5
- package/build/components/atoms/toggle/index.styled.d.ts +4 -17
- package/build/components/atoms/underlinedLink/index.styled.d.ts +1 -5
- package/build/components/atoms/uploader/index.styled.d.ts +4 -17
- package/build/components/babyGrowth/babyGrowthChart/index.styled.d.ts +1 -5
- package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.styled.d.ts +2 -8
- package/build/components/babyGrowth/babyGrowthForm/index.styled.d.ts +7 -40
- package/build/components/babyGrowth/babyGrowthGender/index.styled.d.ts +2 -7
- package/build/components/babyGrowth/babyGrowthLegend/index.styled.d.ts +2 -9
- package/build/components/babyGrowth/babyGrowthProfileRadio/index.styled.d.ts +1 -5
- package/build/components/babyGrowth/babyGrowthRecord/index.styled.d.ts +1 -5
- package/build/components/babyGrowth/babyGrowthSwitch/index.styled.d.ts +1 -5
- package/build/components/babyGrowth/babyGrowthTooltip/index.styled.d.ts +1 -5
- package/build/components/babyGrowth/childCard/index.styled.d.ts +3 -14
- package/build/components/mantine/accordion/index.styled.d.ts +3 -4
- package/build/components/mantine/aspectRatio/index.styled.d.ts +1 -5
- package/build/components/mantine/breadcrumbs/index.styled.d.ts +1 -5
- package/build/components/mantine/button/index.styled.d.ts +1 -5
- package/build/components/mantine/datepicker/index.styled.d.ts +2 -6
- package/build/components/mantine/index.d.ts +1 -2
- package/build/components/mantine/modal/index.styled.d.ts +2 -3
- package/build/components/mantine/slider/index.styled.d.ts +2 -7
- package/build/components/mantine/text/index.styled.d.ts +8 -3
- package/build/components/mantine/textArea/index.styled.d.ts +1 -3
- package/build/components/mantine/theme/index.d.ts +14 -0
- package/build/components/molecules/articleCard/index.d.ts +1 -1
- package/build/components/molecules/bmiForm/index.styled.d.ts +6 -47
- package/build/components/molecules/bmrForm/index.styled.d.ts +5 -43
- package/build/components/molecules/carousel/index.styled.d.ts +3 -13
- package/build/components/molecules/categoryCard/index.d.ts +1 -1
- package/build/components/molecules/categoryCard/index.styled.d.ts +1 -5
- package/build/components/molecules/checkboxGroup/index.styled.d.ts +1 -5
- package/build/components/molecules/cookieAcceptConfirm/index.styled.d.ts +8 -26
- package/build/components/molecules/datePicker/index.styled.d.ts +2 -9
- package/build/components/molecules/dateRangePicker/calendar/index.styled.d.ts +13 -61
- package/build/components/molecules/dateRangePicker/index.styled.d.ts +2 -9
- package/build/components/molecules/dropdown/index.d.ts +1 -1
- package/build/components/molecules/dropdown/index.styled.d.ts +12 -19
- package/build/components/molecules/dropdownSearch/index.styled.d.ts +7 -27
- package/build/components/molecules/dueDateCalculator/index.styled.d.ts +6 -33
- package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +4 -11
- package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.styled.d.ts +15 -46
- package/build/components/molecules/embeddedHeathToolCards/index.styled.d.ts +4 -15
- package/build/components/molecules/floatButtonGroup/index.d.ts +1 -1
- package/build/components/molecules/floatButtonGroup/index.styled.d.ts +8 -33
- package/build/components/molecules/iconText/index.styled.d.ts +1 -5
- package/build/components/molecules/languageSwitcher/index.styled.d.ts +1 -5
- package/build/components/molecules/languageSwitcher/tooltipSelection/index.d.ts +1 -1
- package/build/components/molecules/languageSwitcher/tooltipSelection/index.styled.d.ts +5 -21
- package/build/components/molecules/mobileBottomNavigation/index.styled.d.ts +7 -23
- package/build/components/molecules/modal/index.styled.d.ts +4 -17
- package/build/components/molecules/pillCarousel/index.styled.d.ts +3 -24
- package/build/components/molecules/popup/index.styled.d.ts +2 -9
- package/build/components/molecules/progressBar/index.styled.d.ts +12 -49
- package/build/components/molecules/radioGroup/index.styled.d.ts +1 -5
- package/build/components/molecules/radioImageGroupForTool/index.styled.d.ts +2 -9
- package/build/components/molecules/scrollList/index.styled.d.ts +1 -5
- package/build/components/molecules/shareContainer/index.styled.d.ts +1 -5
- package/build/components/molecules/shareDrawer/index.styled.d.ts +1 -5
- package/build/components/molecules/starsRatingBox/index.styled.d.ts +4 -17
- package/build/components/molecules/statisticCard/index.styled.d.ts +4 -17
- package/build/components/molecules/surveyQuestionCard/index.styled.d.ts +4 -21
- package/build/components/molecules/tabs/index.d.ts +1 -1
- package/build/components/molecules/tabs/index.styled.d.ts +4 -17
- package/build/components/molecules/thrForm/index.styled.d.ts +6 -47
- package/build/components/molecules/toolBannerCard/index.styled.d.ts +17 -63
- package/build/components/molecules/weightGainForm/index.styled.d.ts +20 -81
- package/build/components/onboarding/dynamicForm/index.styled.d.ts +1 -5
- package/build/components/onboarding/onboardingForm/index.styled.d.ts +1 -7
- package/build/components/onboarding/onboardingModal/index.styled.d.ts +7 -29
- package/build/components/onboarding/otpForm/index.styled.d.ts +1 -7
- package/build/components/onboarding/personalInfoForm/index.styled.d.ts +1 -5
- package/build/components/organisms/heroBannerHealthTool/index.styled.d.ts +10 -41
- package/build/components/organisms/navigationLogoutPopup/index.styled.d.ts +2 -9
- package/build/components/organisms/navigationProfileButton/index.styled.d.ts +7 -29
- package/build/components/organisms/navigationV2/components/molecules/Categories/index.styled.d.ts +7 -29
- package/build/components/organisms/navigationV2/components/molecules/Spotlights/index.styled.d.ts +3 -13
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.styled.d.ts +8 -33
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.styled.d.ts +2 -9
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +3 -13
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.styled.d.ts +3 -13
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +11 -45
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.styled.d.ts +3 -13
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.styled.d.ts +6 -25
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +8 -33
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.styled.d.ts +2 -9
- package/build/components/organisms/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +23 -81
- package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.d.ts +8 -33
- package/build/components/organisms/navigationV2/components/molecules/spotlightNoData/index.styled.d.ts +5 -21
- package/build/components/organisms/navigationV2/index.styled.d.ts +3 -13
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/index.styled.d.ts +3 -13
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/index.styled.d.ts +1 -5
- package/build/components/ui/onboarding/index.styled.d.ts +3 -11
- package/build/components/vaccination/vaccineCard/index.styled.d.ts +4 -17
- package/build/components/vaccination/vaccineImmunization/index.styled.d.ts +2 -9
- package/build/components/vaccination/vaccineRecordsByAgeGroup/index.styled.d.ts +5 -21
- package/build/components/vaccination/vaccineTimelineBanner/index.styled.d.ts +1 -5
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-9e7fa00d.js → core-9be346e4.js} +1 -1
- package/build/{dataTransform-4c39297e.js → dataTransform-dbac12f1.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +6 -5
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-8ee6ccec.js → core-0a1f6877.js} +1 -1
- package/build/esm/{dataTransform-154e1a90.js → dataTransform-143e7001.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-1cfb1b84.js → getDynamicHealthTool-0800288e.js} +1 -1
- package/build/esm/{getSocialList-c602ab14.js → getSocialList-2d8250db.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-1bdeadcd.js +1 -0
- package/build/esm/index-20daa6ec.js +1 -0
- package/build/esm/{index-46c98c71.js → index-53bc3a0e.js} +1 -1
- package/build/esm/index-55030e92.js +177 -0
- package/build/esm/{index-86787371.js → index-591818b5.js} +1 -1
- package/build/esm/{index-47161cce.js → index-606890d4.js} +4 -4
- package/build/esm/{index-fb42e44f.js → index-780d2943.js} +1 -1
- package/build/esm/{index-7e7fbe76.js → index-7ee78952.js} +1 -1
- package/build/esm/{index-e46cec66.js → index-8475e477.js} +1 -1
- package/build/esm/{index-6bdb021f.js → index-9260e0f3.js} +1 -1
- package/build/esm/{index-9fa8c47c.js → index-972c4671.js} +18 -18
- package/build/esm/{index-b6e39606.js → index-9848d867.js} +1 -1
- package/build/esm/{index-3f756f44.js → index-9c54b441.js} +1 -1
- package/build/esm/index-a0414cf8.js +1 -0
- package/build/esm/index-a82909fa.js +1 -0
- package/build/esm/index-b8da25f1.js +1 -0
- package/build/esm/{index-d5e46cad.js → index-bc9e5a39.js} +1 -1
- package/build/esm/{index-5dc75abe.js → index-bd08d6c6.js} +1 -1
- package/build/esm/index-c3abed8f.js +1 -0
- package/build/esm/{index-f7b582e1.js → index-d3ff4e2e.js} +1 -1
- package/build/esm/{index-fa9941e0.js → index-d65d2b97.js} +1 -1
- package/build/esm/{index-cd54b72a.js → index-df831729.js} +23 -23
- package/build/esm/{index-fe02b6fa.js → index-e2032775.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-28e52e67.js → index.styled-0969b940.js} +227 -229
- package/build/esm/{index.styled-49ab3911.js → index.styled-3eaa2af8.js} +108 -116
- package/build/esm/{index.styled-c050d393.js → index.styled-6411d60b.js} +239 -238
- package/build/esm/{index.styled-d4398861.js → index.styled-6edc9494.js} +6 -6
- package/build/esm/{index.styled-87917eed.js → index.styled-883ecbd8.js} +5 -5
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-2d155820.js → routing-69514246.js} +1 -1
- package/build/esm/{screenSizeContext-e8baa898.js → screenSizeContext-b15d0883.js} +3 -3
- package/build/esm/{theme-b980cf81.js → theme-5ffd7cff.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-9b24aea1.js → translationsProvider-4609a558.js} +1 -1
- package/build/esm/{types-ed671f0a.js → types-380e16b8.js} +71 -71
- package/build/esm/{types-ffb1105c.js → types-cc9ed722.js} +119 -115
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-6502fad8.js +1 -0
- package/build/esm/{useRafState-217e6e79.js → useRafState-3e3963cc.js} +1 -1
- package/build/esm/{useScreenSize-a478a48e.js → useScreenSize-1ab9403d.js} +1 -1
- package/build/esm/{useTranslations-b34a9124.js → useTranslations-aa76f400.js} +1 -1
- package/build/esm/{utils-7fe6a860.js → utils-90fae562.js} +13 -13
- package/build/esm/vaccination.js +41 -41
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-f132954d.js +1 -0
- package/build/{getSocialList-7f09333d.js → getSocialList-90374f3f.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/index-0174f42a.js +1 -0
- package/build/{index-76151732.js → index-087cf21b.js} +1 -1
- package/build/{index-aecd4287.js → index-0c735bbd.js} +1 -1
- package/build/index-0eab51d1.js +1 -0
- package/build/{index-fd684eec.js → index-10147a1b.js} +1 -1
- package/build/{index-a01143fe.js → index-1058db59.js} +13 -13
- package/build/{index-79674ad8.js → index-11b17567.js} +1 -1
- package/build/index-208a25f1.js +1 -0
- package/build/{index-d002cf7c.js → index-22b27551.js} +1 -1
- package/build/{index-aa485ce2.js → index-5d7416d9.js} +4 -4
- package/build/{index-dc5654c7.js → index-5ecccd86.js} +1 -1
- package/build/{index-09712937.js → index-67e124f6.js} +1 -1
- package/build/{index-f78caa67.js → index-930f36a5.js} +22 -22
- package/build/index-a5d027ee.js +115 -0
- package/build/{index-a2de03ce.js → index-b3fe30aa.js} +1 -1
- package/build/{index-3ed5176a.js → index-b922bcbb.js} +1 -1
- package/build/{index-6207a63d.js → index-b9ee391a.js} +1 -1
- package/build/{index-2f9e1df7.js → index-d7ce00bd.js} +1 -1
- package/build/{index-bdda9ac5.js → index-ed7c2740.js} +1 -1
- package/build/{index-b0471eb6.js → index-f2490a6d.js} +1 -1
- package/build/{index-18005712.js → index-f85e1b7b.js} +1 -1
- package/build/{index-00698e01.js → index-f9458fe5.js} +1 -1
- package/build/index-fb88d9d1.js +1 -0
- package/build/index.js +1 -1
- package/build/index.styled-16819094.js +50 -0
- package/build/{index.styled-f073fde4.js → index.styled-1b89fcb1.js} +280 -282
- package/build/{index.styled-24aab5e3.js → index.styled-a841eebe.js} +5 -5
- package/build/index.styled-b316507f.js +1249 -0
- package/build/{index.styled-d3db6485.js → index.styled-f8ec29a3.js} +143 -142
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/animation.d.ts +9 -9
- package/build/misc/theme.d.ts +3 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-cc9be7a5.js → routing-026adc18.js} +1 -1
- package/build/{screenSizeContext-f0ebed7f.js → screenSizeContext-78de4b8a.js} +10 -10
- package/build/{theme-a77c4057.js → theme-44ea4c11.js} +1 -1
- package/build/together/components/atoms/cardLink/index.styled.d.ts +2 -6
- package/build/together/components/atoms/labelSortPin/index.styled.d.ts +1 -5
- package/build/together/components/atoms/loading/index.styled.d.ts +2 -9
- package/build/together/components/atoms/notificationBar/index.styled.d.ts +5 -18
- package/build/together/components/atoms/sensitiveMask/index.styled.d.ts +3 -13
- package/build/together/components/atoms/tagTopic/index.styled.d.ts +1 -5
- package/build/together/components/atoms/userAvatar/index.styled.d.ts +2 -6
- package/build/together/components/molecules/createNewPostContent/index.styled.d.ts +3 -13
- package/build/together/components/molecules/createPostDescription/index.styled.d.ts +2 -9
- package/build/together/components/molecules/createPostTitle/index.styled.d.ts +1 -5
- package/build/together/components/molecules/inputCommentBar/index.styled.d.ts +1 -5
- package/build/together/components/molecules/popupDanger/index.styled.d.ts +1 -5
- package/build/together/components/molecules/popupDoctor/index.styled.d.ts +8 -33
- package/build/together/components/molecules/popupExpert/index.styled.d.ts +7 -29
- package/build/together/components/molecules/popupFrame/index.styled.d.ts +3 -10
- package/build/together/components/molecules/popupFrame/popupShare.d.ts +1 -4
- package/build/together/components/molecules/popupHospital/index.styled.d.ts +7 -29
- package/build/together/components/molecules/postContent/index.styled.d.ts +2 -6
- package/build/together/components/molecules/postImagePreview/index.styled.d.ts +3 -11
- package/build/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.styled.d.ts +5 -21
- package/build/together/components/molecules/shareBox/index.styled.d.ts +2 -9
- package/build/together/components/molecules/socialLinkPreview/index.styled.d.ts +2 -6
- package/build/together/components/molecules/submitReportForm/index.d.ts +1 -1
- package/build/together/components/molecules/submitReportForm/index.styled.d.ts +1 -5
- package/build/together/components/molecules/topicSelectList/index.styled.d.ts +1 -5
- package/build/together/components/organisms/cardPost/index.styled.d.ts +1 -5
- package/build/together/components/organisms/cardReply/index.styled.d.ts +2 -12
- package/build/together/components/organisms/popoverMenu/index.styled.d.ts +2 -9
- package/build/together/components/organisms/sourceList/index.styled.d.ts +5 -21
- package/build/together/components/organisms/sourceList/recommentCategories/index.styled.d.ts +6 -25
- package/build/together/components/organisms/sourceList/sourceItem/index.styled.d.ts +2 -9
- package/build/together.js +1 -1
- package/build/{translationsProvider-5383b211.js → translationsProvider-c6edfeb5.js} +1 -1
- package/build/{types-c584b21c.js → types-3cf4f67f.js} +71 -71
- package/build/{types-3e9f1637.js → types-abc0f22f.js} +119 -115
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-495c0af3.js → useHealthToolCache-3a7daa3c.js} +1 -1
- package/build/{useRafState-710b9f6c.js → useRafState-d3974369.js} +1 -1
- package/build/{useScreenSize-80d668cf.js → useScreenSize-89f21234.js} +1 -1
- package/build/useTranslations-8e54d501.js +1 -0
- package/build/{utils-58837b5e.js → utils-2ab9d71f.js} +22 -22
- package/build/vaccination.js +34 -34
- package/package.json +7 -5
- package/build/components/mantine/theme/colors.d.ts +0 -14
- package/build/esm/index-07dfdf97.js +0 -1
- package/build/esm/index-19ad623c.js +0 -1
- package/build/esm/index-483f0c71.js +0 -1
- package/build/esm/index-d25aa5cb.js +0 -1
- package/build/esm/index-e9210384.js +0 -177
- package/build/esm/index-f3ce73c1.js +0 -1
- package/build/esm/index-f9abddb6.js +0 -1
- package/build/esm/useHealthToolCache-b1120a23.js +0 -1
- package/build/getDynamicHealthTool-5f50986e.js +0 -1
- package/build/index-47caacd3.js +0 -1
- package/build/index-6fa70b52.js +0 -1
- package/build/index-78d09170.js +0 -115
- package/build/index-87c5e5fa.js +0 -1
- package/build/index-af641795.js +0 -1
- package/build/index.styled-2741756f.js +0 -1257
- package/build/index.styled-c0481ce8.js +0 -50
- package/build/useTranslations-11d21172.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-ad3d0ae7.js → BMI_BOYS.percentile.monthly-2a1af316.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-acef6653.js → BMI_BOYS.percentile.weekly-e17840d2.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-8c64c0c3.js → BMI_BOYS.percentile.yearly-d199c794.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-ec78a3b3.js → BMI_BOYS.zscore.monthly-f18619db.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-17cbed22.js → BMI_BOYS.zscore.weekly-12116cd3.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-59206f2e.js → BMI_BOYS.zscore.yearly-55d58cce.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-f8cc96db.js → BMI_GIRLS.percentile.monthly-1ba19d68.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-848047ee.js → BMI_GIRLS.percentile.weekly-4d3a1e1b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-564da965.js → BMI_GIRLS.percentile.yearly-c0a9027d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-76ce0ef4.js → BMI_GIRLS.zscore.monthly-1304f5c1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-862a6bba.js → BMI_GIRLS.zscore.weekly-d30e3b65.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-0fbdefc4.js → BMI_GIRLS.zscore.yearly-14a2e799.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-cf3c1317.js → HEAD CIRCUM_BOYS.percentile.monthly-ac36c9f6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-4915d20b.js → HEAD CIRCUM_BOYS.percentile.weekly-4fa29877.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-5953fbd3.js → HEAD CIRCUM_BOYS.percentile.yearly-7b195261.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-2dad7fb4.js → HEAD CIRCUM_BOYS.zscore.monthly-97d96dfd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-5c54cbe2.js → HEAD CIRCUM_BOYS.zscore.weekly-1c72ed38.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-cba2e265.js → HEAD CIRCUM_BOYS.zscore.yearly-804a6f2d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-8df9c99a.js → HEAD CIRCUM_GIRLS.percentile.monthly-252270ec.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9904dca5.js → HEAD CIRCUM_GIRLS.percentile.weekly-9cc81b02.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-fec72f46.js → HEAD CIRCUM_GIRLS.percentile.yearly-c8985a30.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e68e0a7f.js → HEAD CIRCUM_GIRLS.zscore.monthly-96b2f6b7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-210a9721.js → HEAD CIRCUM_GIRLS.zscore.weekly-538b2a8c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b29ee605.js → HEAD CIRCUM_GIRLS.zscore.yearly-52873887.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-719cfe0f.js → HEIGHT_BOYS.percentile.monthly-e3ec2a9c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-2b62cbfb.js → HEIGHT_BOYS.percentile.weekly-e3c59d5c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-b98576c9.js → HEIGHT_BOYS.percentile.yearly-9c4c576d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-6d4e4b71.js → HEIGHT_BOYS.zscore.monthly-8d722f14.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-35bd8b2c.js → HEIGHT_BOYS.zscore.weekly-13b1b874.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-578f252a.js → HEIGHT_BOYS.zscore.yearly-f0f60bd5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-dac1d9a6.js → HEIGHT_GIRLS.percentile.monthly-bcb4521e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-5cbe7e02.js → HEIGHT_GIRLS.percentile.weekly-d90ab311.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-68ccecad.js → HEIGHT_GIRLS.percentile.yearly-a0fcfd0a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-35c47378.js → HEIGHT_GIRLS.zscore.monthly-ff5f3825.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-33cb076c.js → HEIGHT_GIRLS.zscore.weekly-cf1b9f81.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-85d838d6.js → HEIGHT_GIRLS.zscore.yearly-8435e3dc.js} +0 -0
- /package/build/{Onboarding-e0bc49b6.js → Onboarding-0f601f68.js} +0 -0
- /package/build/{Visible-0c20268e.js → Visible-d058e32a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-d63afafb.js → WEIGHT_BOYS.percentile.monthly-3b538896.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-e924c535.js → WEIGHT_BOYS.percentile.weekly-7e0579d6.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-3a609de3.js → WEIGHT_BOYS.percentile.yearly-2bf38332.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-2bfb2d82.js → WEIGHT_BOYS.zscore.monthly-5429f9b9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-920ea6ef.js → WEIGHT_BOYS.zscore.weekly-96b37cc9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-bda55c99.js → WEIGHT_BOYS.zscore.yearly-b5c16bb7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8cd415a7.js → WEIGHT_GIRLS.percentile.monthly-a2c684b9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-a1eee50a.js → WEIGHT_GIRLS.percentile.weekly-33cd21d7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-ebe46be2.js → WEIGHT_GIRLS.percentile.yearly-ff6dbd95.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-150deae9.js → WEIGHT_GIRLS.zscore.monthly-b9fb7303.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-9403945c.js → WEIGHT_GIRLS.zscore.weekly-c45ad97e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-199a1599.js → WEIGHT_GIRLS.zscore.yearly-1367dd93.js} +0 -0
- /package/build/{constants-8bb095c0.js → constants-b92a918a.js} +0 -0
- /package/build/{cookieHelper-ad5f2efe.js → cookieHelper-05635f8f.js} +0 -0
- /package/build/{dataTransform-7ae9991a.js → dataTransform-42e46fac.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f07925b6.js → BMI_BOYS.percentile.monthly-b3221675.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-186afa5a.js → BMI_BOYS.percentile.weekly-329d0db7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-79577e9e.js → BMI_BOYS.percentile.yearly-e08d0956.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c143e5fa.js → BMI_BOYS.zscore.monthly-9dde2c17.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-c310b94d.js → BMI_BOYS.zscore.weekly-220a8eed.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-951dcf5f.js → BMI_BOYS.zscore.yearly-f623f755.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-6e7cc93b.js → BMI_GIRLS.percentile.monthly-a5264f7f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-03f7cc6b.js → BMI_GIRLS.percentile.weekly-3c1c48a9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-f3ed06b3.js → BMI_GIRLS.percentile.yearly-2e27dbae.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-aea3084b.js → BMI_GIRLS.zscore.monthly-1b201a5d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-1fd57c87.js → BMI_GIRLS.zscore.weekly-1db20644.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e5689945.js → BMI_GIRLS.zscore.yearly-4fe9d3fb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-e0ad764c.js → HEAD CIRCUM_BOYS.percentile.monthly-6d0d9911.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b98e312c.js → HEAD CIRCUM_BOYS.percentile.weekly-a8ba0f28.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-7eeaa219.js → HEAD CIRCUM_BOYS.percentile.yearly-dddbfcff.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-daf5b201.js → HEAD CIRCUM_BOYS.zscore.monthly-5ec338ca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-1775b919.js → HEAD CIRCUM_BOYS.zscore.weekly-7d91e269.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-09f43181.js → HEAD CIRCUM_BOYS.zscore.yearly-3a094328.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-cae4b638.js → HEAD CIRCUM_GIRLS.percentile.monthly-c26ef03c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-f0e716ad.js → HEAD CIRCUM_GIRLS.percentile.weekly-99566160.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-3506e4ae.js → HEAD CIRCUM_GIRLS.percentile.yearly-6c639fd3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-13d8b464.js → HEAD CIRCUM_GIRLS.zscore.monthly-fa62a1ed.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-1327fd6e.js → HEAD CIRCUM_GIRLS.zscore.weekly-2b933944.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-f20aaf9c.js → HEAD CIRCUM_GIRLS.zscore.yearly-b7f627dd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-982f50f8.js → HEIGHT_BOYS.percentile.monthly-62e964c4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-64103ce8.js → HEIGHT_BOYS.percentile.weekly-52ace35a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-609c1872.js → HEIGHT_BOYS.percentile.yearly-92b2c398.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-4447429d.js → HEIGHT_BOYS.zscore.monthly-bcdfc2b9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-8d39275e.js → HEIGHT_BOYS.zscore.weekly-951ad348.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a3d1d3e4.js → HEIGHT_BOYS.zscore.yearly-c9017e4f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e3506bf7.js → HEIGHT_GIRLS.percentile.monthly-38031c2e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0e75bd3c.js → HEIGHT_GIRLS.percentile.weekly-70423a7c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-4b37b61e.js → HEIGHT_GIRLS.percentile.yearly-19a99257.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-aac66fd4.js → HEIGHT_GIRLS.zscore.monthly-05079efb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-e726dc50.js → HEIGHT_GIRLS.zscore.weekly-74a9cf5a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-3a5f029c.js → HEIGHT_GIRLS.zscore.yearly-d14d12fc.js} +0 -0
- /package/build/esm/{Onboarding-e50f8d93.js → Onboarding-fa568150.js} +0 -0
- /package/build/esm/{Visible-6381c638.js → Visible-62db6050.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4a61a17e.js → WEIGHT_BOYS.percentile.monthly-b2f0ba4b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-07c2ed40.js → WEIGHT_BOYS.percentile.weekly-09398a84.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-bb121124.js → WEIGHT_BOYS.percentile.yearly-01a2db9b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-01b24493.js → WEIGHT_BOYS.zscore.monthly-9eaf61c3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a9681785.js → WEIGHT_BOYS.zscore.weekly-a17d0d04.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f9f75d56.js → WEIGHT_BOYS.zscore.yearly-4bce00a5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-4289e8dd.js → WEIGHT_GIRLS.percentile.monthly-58d20464.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f6e4d119.js → WEIGHT_GIRLS.percentile.weekly-f32cb4b4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-2efd2654.js → WEIGHT_GIRLS.percentile.yearly-9a658e27.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-c6e2c073.js → WEIGHT_GIRLS.zscore.monthly-c7061494.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-19d8d782.js → WEIGHT_GIRLS.zscore.weekly-4b32dba4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-97799c72.js → WEIGHT_GIRLS.zscore.yearly-ee303c45.js} +0 -0
- /package/build/esm/{constants-6a90d60e.js → constants-a293cad0.js} +0 -0
- /package/build/esm/{cookieHelper-ec98dfd4.js → cookieHelper-4945f21b.js} +0 -0
- /package/build/esm/{dataTransform-0384faa0.js → dataTransform-ba9ed302.js} +0 -0
- /package/build/esm/{index-8e5ff5d9.js → index-8aedf42e.js} +0 -0
- /package/build/esm/{index-4f3db35b.js → index-a4428527.js} +0 -0
- /package/build/esm/{isProduction-4810c43b.js → isProduction-f9c45435.js} +0 -0
- /package/build/esm/{localizeNumberFormat-2ef6abb8.js → localizeNumberFormat-b402e742.js} +0 -0
- /package/build/esm/{normalizeLink-035b9468.js → normalizeLink-bee22283.js} +0 -0
- /package/build/esm/{translationsContext-62d92141.js → translationsContext-1dac06a8.js} +0 -0
- /package/build/esm/{tslib.es6-6d4ee5aa.js → tslib.es6-dd9464b6.js} +0 -0
- /package/build/esm/{types-36c407ed.js → types-c64bfa11.js} +0 -0
- /package/build/esm/{useIsInit-6da34c03.js → useIsInit-81039d19.js} +0 -0
- /package/build/esm/{useOutsideClick-14dc42f3.js → useOutsideClick-25f0e1b4.js} +0 -0
- /package/build/esm/{useScrollbarSize-3c8b6d23.js → useScrollbarSize-9680a9ec.js} +0 -0
- /package/build/esm/{useUniqueId-6aa5cd4b.js → useUniqueId-94d9130c.js} +0 -0
- /package/build/esm/{utils-e3db87a3.js → utils-c8d8e1a8.js} +0 -0
- /package/build/{index-24088255.js → index-659514c8.js} +0 -0
- /package/build/{index-2a8be674.js → index-782d8805.js} +0 -0
- /package/build/{isProduction-caf23831.js → isProduction-5353c011.js} +0 -0
- /package/build/{localizeNumberFormat-bc743d5f.js → localizeNumberFormat-d3a36ea4.js} +0 -0
- /package/build/{normalizeLink-a2e5fdea.js → normalizeLink-baf05e80.js} +0 -0
- /package/build/{translationsContext-77b34459.js → translationsContext-6a297022.js} +0 -0
- /package/build/{tslib.es6-340fd43c.js → tslib.es6-f49437f6.js} +0 -0
- /package/build/{types-4e9ce85f.js → types-d320ec2a.js} +0 -0
- /package/build/{useIsInit-163a86a0.js → useIsInit-6bbd3697.js} +0 -0
- /package/build/{useOutsideClick-d81e2ff3.js → useOutsideClick-5e789c80.js} +0 -0
- /package/build/{useScrollbarSize-0848f444.js → useScrollbarSize-1f9d1a8b.js} +0 -0
- /package/build/{useUniqueId-e2bb002a.js → useUniqueId-2ccbcdf7.js} +0 -0
- /package/build/{utils-be54ffe5.js → utils-03936f87.js} +0 -0
package/build/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Onboarding-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Onboarding-0f601f68.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}}),Object.defineProperty(exports,"OnboardingStep",{enumerable:!0,get:function(){return e.OnboardingStep}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-f49437f6.js"),t=require("react"),o=require("./getDynamicHealthTool-f132954d.js");exports.useHealthToolsCache=a=>{const[i,l]=t.useState([]);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){const e=yield o.getDynamicHealthToolWithCache(a);l(e)}))}),[o.getDynamicHealthToolWithCache,a]);const r=t.useCallback((e=>{var t;return(null===(t=i.find((t=>t.template===e)))||void 0===t?void 0:t.link)||""}),[i]);return{allTools:i,getHealthToolLink:r}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-f49437f6.js"),t=require("react"),r=require("./cookieHelper-05635f8f.js"),n=require("./useUniqueId-2ccbcdf7.js");function i(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}exports.useFbDataLayer=n=>{const o=t.useRef("");t.useEffect((()=>(e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,a,u,l;if(!o.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),o.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(a=o.current)||void 0===a?void 0:a.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==n?void 0:n.id){const[e,t,o,a,c,s]=yield Promise.all([n.email?i(n.email):null,n.phone?i(n.phone):null,n.birthday?i(n.birthday.split("-").join("")):null,n.gender?"m":"f",n.city_name?i(n.city_name).then((e=>e.replace(/\s/g,""))):null,n.name?i(n.name):null]);r.getCookie("_fbc"),r.getCookie("_fbp");const d={user_id:n.id};s&&(d.fn=s),e&&(d.em=e),t&&(d.ph=t),o&&(d.db=o),c&&(d.ct=c),null===(l=null===(u=window.localStorage)||void 0===u?void 0:u.setItem)||void 0===l||l.call(u,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[n])},exports.usePrevious=e=>{const r=t.useRef(),i=t.useRef(e);return n.useInitialMount()||i.current===e||(r.current=i.current,i.current=e),r.current},exports.useRafState=e=>{const[r,n]=t.useState(e),i=t.useRef(0),o=t.useCallback((e=>{cancelAnimationFrame(i.current),i.current=requestAnimationFrame((()=>{n(e)}))}),[]);return t.useEffect((()=>()=>cancelAnimationFrame(i.current))),[r,o]};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),i=require("./utils-
|
|
1
|
+
"use strict";var e=require("react"),i=require("./utils-03936f87.js");const n=()=>"undefined"!=typeof window&&window.innerWidth<i.Breakpoints.BREAK_POINT_MOBILE,t=()=>"undefined"!=typeof window&&window.innerWidth>=i.Breakpoints.BREAK_POINT_MOBILE&&window.innerWidth<i.Breakpoints.BREAK_POINT_PC;exports.useScreenSize=()=>{const[i,r]=e.useState(n()),[s,o]=e.useState(t());return e.useEffect((()=>{const e=()=>{r(n()),o(t())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:i,isLargeMobile:s}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react"),a=require("./translationsContext-6a297022.js");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(require("string-format"));exports.useTranslations=function(){const{values:t,locale:o}=e.useContext(a.TranslationsContext)||{locale:"en-PH"};return e.useMemo((()=>({t:(e,r)=>t?t[e]?r?n.default(t[e]||e,r):t[e]||e:(console.warn(`[useTranslations] Missing translation for key ${e} and locale ${o}`),r?n.default(a.defaultTranslations[e]||e,r):a.defaultTranslations[e]||e):(console.error("[useTranslations] t method called before translation values are loaded"),e),locale:o})),[t,o])};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";require("dayjs"),require("./screenSizeContext-78de4b8a.js");var e=require("react"),t=require("styled-components"),r=require("./theme-44ea4c11.js"),n=require("./index-ed7c2740.js"),a=require("./utils-03936f87.js");require("./isProduction-5353c011.js");var i=require("./Onboarding-0f601f68.js");require("./gAssets.js");var o=require("./tslib.es6-f49437f6.js"),s=require("@mantine/form");require("./index.styled-b316507f.js");var d=require("./index-d7ce00bd.js"),l=require("@mantine/core");require("./index-930f36a5.js");var u=require("./index-5d7416d9.js");require("./index.styled-a841eebe.js");var p=require("./useTranslations-8e54d501.js");require("./index-659514c8.js");var m=require("./index-a5d027ee.js");require("./index-087cf21b.js"),require("@mantine/hooks"),require("lodash/debounce");var c=require("./Visible-d058e32a.js"),g=require("yup");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function f(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}require("./translationsContext-6a297022.js"),require("string-format");var h=b(e),x=b(t),E=f(g);const L=e.createContext({}),[y,O,w]=s.createFormContext(),C=x.default.div`
|
|
2
2
|
margin-top: 70px;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
align-items: center;
|
|
6
6
|
justify-content: center;
|
|
7
|
-
`,P=
|
|
7
|
+
`,P=x.default(l.Container)`
|
|
8
8
|
&.hhg-comp-onboarding-container.hhg-comp-onboarding-container {
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
.header {
|
|
17
17
|
margin-bottom: 32px;
|
|
18
18
|
text-align: center;
|
|
19
|
-
${
|
|
19
|
+
${a.MediaQueries.mbDown} {
|
|
20
20
|
margin-bottom: 16px;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -45,41 +45,41 @@
|
|
|
45
45
|
.form-button {
|
|
46
46
|
width: 100%;
|
|
47
47
|
}
|
|
48
|
-
`,v=
|
|
48
|
+
`,v=x.default.img`
|
|
49
49
|
margin-bottom: 38px;
|
|
50
|
-
`,j=
|
|
50
|
+
`,j=t=>{var a,{heading:i,description:s,children:d,className:p,imgSrc:c}=t,g=o.__rest(t,["heading","description","children","className","imgSrc"]);const{isMarryBaby:b,siteType:f}=e.useContext(L);return h.default.createElement(P,Object.assign({},g,{className:`hhg-comp-onboarding-container ${p}`,size:"sm"}),h.default.createElement(u.LogoIcon,{type:b?f:(null===(a=n.LOCALE_SPECS[process.env.UNIFY_LOCALE])||void 0===a?void 0:a.LOGO_TYPE)||"hellobacsi"}),h.default.createElement(C,null,c&&h.default.createElement(v,{src:c,loading:"lazy"}),h.default.createElement("div",{className:"header"},h.default.createElement(l.Title,{order:3},i),h.default.createElement(m.Text,{size:"p3",mt:8,color:r.theme.colors.gray600},s)),d))},q=x.default.div`
|
|
51
51
|
position: fixed;
|
|
52
52
|
inset: 0;
|
|
53
53
|
z-index: 1000;
|
|
54
54
|
background: white;
|
|
55
55
|
overflow-y: auto;
|
|
56
|
-
`,A=
|
|
56
|
+
`,A=x.default.div`
|
|
57
57
|
height: 100%;
|
|
58
|
-
${
|
|
58
|
+
${a.MediaQueries.lgPcUp} {
|
|
59
59
|
display: table;
|
|
60
60
|
width: 100%;
|
|
61
61
|
height: calc(100% - 25px);
|
|
62
62
|
}
|
|
63
|
-
`,M=
|
|
63
|
+
`,M=x.default.div`
|
|
64
64
|
padding: 48px 24px 24px;
|
|
65
65
|
|
|
66
|
-
${
|
|
66
|
+
${a.MediaQueries.lgPcUp} {
|
|
67
67
|
display: table-cell;
|
|
68
68
|
|
|
69
69
|
&[data-has-banner='true'] {
|
|
70
70
|
width: calc(100% - 640px);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
`,I=
|
|
73
|
+
`,I=x.default.div`
|
|
74
74
|
width: 640px;
|
|
75
75
|
padding: 16px 16px 0 16px;
|
|
76
76
|
display: none;
|
|
77
77
|
|
|
78
|
-
${
|
|
78
|
+
${a.MediaQueries.lgPcUp} {
|
|
79
79
|
width: 640px;
|
|
80
80
|
display: table-cell;
|
|
81
81
|
}
|
|
82
|
-
`,T=
|
|
82
|
+
`,T=x.default.div`
|
|
83
83
|
background-color: ${r.theme.colors.primary50};
|
|
84
84
|
border-radius: 12px;
|
|
85
85
|
height: 100%;
|
|
@@ -90,17 +90,17 @@
|
|
|
90
90
|
&[data-is-marry-baby='true'] {
|
|
91
91
|
background-color: ${r.theme.mbColors.tonePink};
|
|
92
92
|
}
|
|
93
|
-
`,S=
|
|
93
|
+
`,S=x.default.div`
|
|
94
94
|
margin-top: 40px;
|
|
95
95
|
padding: 24px 40px;
|
|
96
|
-
`,k=
|
|
96
|
+
`,k=x.default.img`
|
|
97
97
|
width: 100%;
|
|
98
98
|
display: block;
|
|
99
|
-
`,N=
|
|
99
|
+
`,N=x.default.div`
|
|
100
100
|
.phone-input {
|
|
101
101
|
width: 100%;
|
|
102
102
|
margin-bottom: 32px;
|
|
103
|
-
${
|
|
103
|
+
${a.MediaQueries.mbDown} {
|
|
104
104
|
margin-bottom: 16px;
|
|
105
105
|
}
|
|
106
106
|
.PhoneInput {
|
|
@@ -113,11 +113,11 @@
|
|
|
113
113
|
border-radius: 0 4px 4px 0;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
`,z={[i.LOCALE.Vietnam]:"VN",[i.LOCALE.Cambodia]:"KH",[i.LOCALE.Indonesia]:"ID",[i.LOCALE.Malaysia]:"MY",[i.LOCALE.PhilippinesEnglish]:"PH",[i.LOCALE.PhilippinesTagalog]:"PH",[i.LOCALE.Taiwan]:"TW",[i.LOCALE.Thailand]:"TH",[i.LOCALE.Myanmar]:"MM"},B=({inputOrder:e=["phone"]})=>{const{t:t}=p.useTranslations(),r=O(),
|
|
116
|
+
`,z={[i.LOCALE.Vietnam]:"VN",[i.LOCALE.Cambodia]:"KH",[i.LOCALE.Indonesia]:"ID",[i.LOCALE.Malaysia]:"MY",[i.LOCALE.PhilippinesEnglish]:"PH",[i.LOCALE.PhilippinesTagalog]:"PH",[i.LOCALE.Taiwan]:"TW",[i.LOCALE.Thailand]:"TH",[i.LOCALE.Myanmar]:"MM"},B=({inputOrder:e=["phone"]})=>{const{t:t}=p.useTranslations(),r=O(),n=h.default.createElement("div",{className:"phone-input"},h.default.createElement(m.Phone,Object.assign({defaultCountry:z[process.env.UNIFY_LOCALE]||"VN"},r.getInputProps("phone"))),h.default.createElement(l.Input.Error,null,r.errors.phone)),a=h.default.createElement(m.Input,Object.assign({label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold",as:"span"},t("onboarding.formEmail.yourName")),withAsterisk:!0},r.getInputProps("name"))),i=h.default.createElement(m.Input,Object.assign({label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold",as:"span"},t("onboarding.formEmail.yourEmail")),withAsterisk:!0},r.getInputProps("email"))),o=h.default.createElement(m.DatePicker,Object.assign({label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold",as:"span"},t("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},r.getInputProps("dob"))),s=h.default.createElement(m.Radio.Group,Object.assign({className:"radio-group",label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold",as:"span"},t("bmi.selectGender"))},r.getInputProps("gender")),h.default.createElement(m.Radio,{value:"0",label:t("onboarding.formEmail.genderMale")}),h.default.createElement(m.Radio,{value:"1",label:t("onboarding.formEmail.genderFemale")})),d=h.default.createElement("div",{className:"otp-input"},h.default.createElement(m.OTP,Object.assign({enterKeyHint:void 0,nonce:void 0},r.getInputProps("otp"))),h.default.createElement(l.Input.Error,null,r.errors.otp)),u=h.default.createElement(m.Input.Password,Object.assign({label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold",as:"span"},t("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:h.default.createElement(c.Visible,null)},r.getInputProps("password"))),g=h.default.createElement(m.Input.Password,Object.assign({label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold",as:"span"},t("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:h.default.createElement(c.Visible,null)},r.getInputProps("confirmPassword"))),b=e.map((e=>{switch(e){case"phone":return n;case"full_name":return a;case"email":return i;case"dob":return o;case"gender":return s;case"otp":return d;case"password":return u;case"confirm_password":return g;default:return null}}));return h.default.createElement(N,null,b)},D=e=>E.object().shape({phone:E.string().required(e("onboarding.updatePhone.error")).default("")}),_=x.default(j)`
|
|
117
117
|
.phone-input {
|
|
118
118
|
width: 100%;
|
|
119
119
|
margin-bottom: 32px;
|
|
120
|
-
${
|
|
120
|
+
${a.MediaQueries.mbDown} {
|
|
121
121
|
margin-bottom: 16px;
|
|
122
122
|
}
|
|
123
123
|
.PhoneInput {
|
|
@@ -130,10 +130,10 @@
|
|
|
130
130
|
border-radius: 0 4px 4px 0;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
-
`,F={[i.LOCALE.Vietnam]:"VN",[i.LOCALE.Cambodia]:"KH",[i.LOCALE.Indonesia]:"ID",[i.LOCALE.Malaysia]:"MY",[i.LOCALE.PhilippinesEnglish]:"PH",[i.LOCALE.PhilippinesTagalog]:"PH",[i.LOCALE.Taiwan]:"TW",[i.LOCALE.Thailand]:"TH",[i.LOCALE.Myanmar]:"MM"},$=
|
|
133
|
+
`,F={[i.LOCALE.Vietnam]:"VN",[i.LOCALE.Cambodia]:"KH",[i.LOCALE.Indonesia]:"ID",[i.LOCALE.Malaysia]:"MY",[i.LOCALE.PhilippinesEnglish]:"PH",[i.LOCALE.PhilippinesTagalog]:"PH",[i.LOCALE.Taiwan]:"TW",[i.LOCALE.Thailand]:"TH",[i.LOCALE.Myanmar]:"MM"},$=x.default(j)`
|
|
134
134
|
.otp-input {
|
|
135
135
|
margin-bottom: 36px;
|
|
136
|
-
${
|
|
136
|
+
${a.MediaQueries.mbDown} {
|
|
137
137
|
margin-bottom: 20px;
|
|
138
138
|
}
|
|
139
139
|
.otpContainer {
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
display: flex;
|
|
145
145
|
gap: 6px;
|
|
146
146
|
margin-bottom: 32px;
|
|
147
|
-
${
|
|
147
|
+
${a.MediaQueries.mbDown} {
|
|
148
148
|
margin-bottom: 16px;
|
|
149
149
|
}
|
|
150
150
|
a {
|
|
@@ -163,4 +163,4 @@
|
|
|
163
163
|
margin-bottom: 3px;
|
|
164
164
|
margin-left: 3px;
|
|
165
165
|
}
|
|
166
|
-
`;i.LOCALE.Vietnam,i.LOCALE.Cambodia,i.LOCALE.Indonesia,i.LOCALE.Malaysia,i.LOCALE.PhilippinesEnglish,i.LOCALE.PhilippinesTagalog,i.LOCALE.Taiwan,i.LOCALE.Thailand,i.LOCALE.Myanmar;exports.DynamicForm=B,exports.FormProvider=y,exports.MAPPED_LOCALE=F,exports.Onboarding=j,exports.OnboardingContext=L,exports.OnboardingForm=({onClose:e,onSubmit:t,canSkip:r=!0,customFormTexts:
|
|
166
|
+
`;i.LOCALE.Vietnam,i.LOCALE.Cambodia,i.LOCALE.Indonesia,i.LOCALE.Malaysia,i.LOCALE.PhilippinesEnglish,i.LOCALE.PhilippinesTagalog,i.LOCALE.Taiwan,i.LOCALE.Thailand,i.LOCALE.Myanmar;exports.DynamicForm=B,exports.FormProvider=y,exports.MAPPED_LOCALE=F,exports.Onboarding=j,exports.OnboardingContext=L,exports.OnboardingForm=({onClose:e,onSubmit:t,canSkip:r=!0,customFormTexts:n})=>{const{t:a}=p.useTranslations(),i=w({initialValues:{phone:""},validate:s.yupResolver(D(a))});return h.default.createElement(_,{heading:(null==n?void 0:n.heading)||a("onboarding.updatePhone.heading"),description:(null==n?void 0:n.description)||a("onboarding.updatePhone.description")},h.default.createElement(y,{form:i},h.default.createElement("form",{onSubmit:i.onSubmit((e=>o.__awaiter(void 0,void 0,void 0,(function*(){t(e.phone)}))),(e=>{console.log(e)}))},h.default.createElement(B,{inputOrder:["phone"]}),h.default.createElement(d.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},a("onboarding.button.continue")),r&&h.default.createElement(d.Button,{color:"ghost",isBlock:!0,size:"lg",onClick:e,type:"button"},a("onboarding.button.skip")))))},exports.StyledBannerCol=I,exports.StyledBannerImg=k,exports.StyledBannerInner=T,exports.StyledContainer=A,exports.StyledContent=M,exports.StyledIntro=S,exports.StyledOnboardingModal=q,exports.StyledOtpForm=$,exports.hiddenEmailChar=(e="")=>{const t=e.indexOf("@"),r=e.substring(0,t),n=r.length>3?3:r.length;return e.replace(e.substring(n,t),e.slice(n,t).replace(/./g,"x"))},exports.onboardingEmailSchema=e=>E.object().shape({email:E.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:E.string().required(e("onboarding.errorMessage.requiredName"))}),exports.onboardingUpdatePasswordSchema=e=>E.object().shape({password:E.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:E.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([E.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),exports.otpSchema=e=>E.object().shape({otp:E.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),exports.useForm=w;
|