@hhgtech/hhg-components 1.27.64 → 1.27.65-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +24 -24
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/index.d.ts +0 -2
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-36b70a72.js → core-c6e46663.js} +1 -1
- package/build/{dataTransform-fb9d2eaa.js → dataTransform-9659e9f8.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +24 -24
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/index.d.ts +0 -2
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-26252874.js → core-435a9757.js} +1 -1
- package/build/esm/{dataTransform-584a8942.js → dataTransform-1efe87c7.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-67036e03.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-8bbcfc64.js +1 -0
- package/build/esm/{getSocialList-964f1d26.js → getSocialList-13616a3f.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/icons/index.d.ts +1 -10
- package/build/esm/{index-3cd612ba.js → index-05df5c39.js} +1 -1
- package/build/esm/index-115c9957.js +7 -0
- package/build/esm/index-4ea72ac1.js +1 -0
- package/build/esm/{index-5568265c.js → index-568344cb.js} +165 -165
- package/build/esm/index-77de871e.js +112 -0
- package/build/esm/{index-fab041f7.js → index-7d206d36.js} +1 -1
- package/build/esm/index-80c08ea3.js +1 -0
- package/build/esm/{index-a4cd52e2.js → index-8e70c931.js} +1 -1
- package/build/esm/{index-c048cc84.js → index-911f99d1.js} +1 -1
- package/build/esm/index-9496ba09.js +1 -0
- package/build/esm/index-9f08feee.js +53 -0
- package/build/esm/index-a201656a.js +1 -0
- package/build/esm/index-a46aad44.js +177 -0
- package/build/esm/{index-1edc629f.js → index-a6fd1083.js} +1 -1
- package/build/esm/{index-33b4eeca.js → index-b3e93f2e.js} +1 -1
- package/build/esm/{index-7b18af53.js → index-b8c74aae.js} +1 -1
- package/build/esm/index-bcd8093a.js +1 -0
- package/build/esm/{index-b54d6ed4.js → index-cfa3922a.js} +1 -1
- package/build/esm/index-d1d42d5e.js +93 -0
- package/build/esm/index-d1da6c31.js +1 -0
- package/build/esm/index-d2d90c6e.js +1 -0
- package/build/esm/{index-0c9bddd5.js → index-e57de2a9.js} +1 -1
- package/build/esm/index-e5ef589f.js +1 -0
- package/build/esm/{index-a965ea18.js → index-ebb5427c.js} +1 -1
- package/build/esm/{index-0da327c2.js → index-f18f86bb.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-05ef0d58.js +69 -0
- package/build/esm/{index.styled-3ecad288.js → index.styled-21e0ebce.js} +4 -4
- package/build/esm/{index.styled-80ad3b8e.js → index.styled-c2900e76.js} +5 -5
- package/build/esm/{index.styled-e5feba36.js → index.styled-d6e645cb.js} +4 -4
- 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/onboardingV2.js +30 -30
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-eb8a078e.js → routing-dac302ab.js} +1 -1
- package/build/esm/{screenSizeContext-3337bf90.js → screenSizeContext-1f204ab9.js} +3 -3
- package/build/esm/together.js +1 -1
- package/build/esm/{types-30d034e9.js → types-3764896b.js} +1 -1
- package/build/esm/types-c22068f7.js +3078 -0
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-92db8113.js +1 -0
- package/build/esm/{useRafState-a399c00f.js → useRafState-34b01d31.js} +1 -1
- package/build/esm/{useTranslations-16eca5b5.js → useTranslations-3663beec.js} +1 -1
- package/build/esm/utils-bfbc2fde.js +1007 -0
- package/build/esm/{utils-588386e1.js → utils-ee4ad902.js} +1 -1
- package/build/esm/vaccination.js +49 -49
- package/build/fixedBottomAdBlock-f65d2d6f.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-6034f06a.js → getDynamicHealthTool-87429707.js} +1 -1
- package/build/{getSocialList-378966a9.js → getSocialList-a16b5091.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/icons/index.d.ts +1 -10
- package/build/index-0811c4a8.js +1 -0
- package/build/{index-ad80e678.js → index-0c92b23e.js} +1 -1
- package/build/index-112eba4d.js +1 -0
- package/build/{index-5ca35179.js → index-18a28fa0.js} +180 -180
- package/build/index-2284659e.js +112 -0
- package/build/index-2c8f09b3.js +1 -0
- package/build/index-30a1618d.js +1 -0
- package/build/index-32b93b37.js +1 -0
- package/build/{index-75eccc5e.js → index-3862d2a0.js} +1 -1
- package/build/{index-33b0c279.js → index-3a7fa03d.js} +1 -1
- package/build/index-3b22c77d.js +1 -0
- package/build/index-3ba8b7f8.js +177 -0
- package/build/{index-70171072.js → index-5eb6c558.js} +1 -1
- package/build/{index-509a0b0a.js → index-71d5f659.js} +1 -1
- package/build/index-7ee8b163.js +7 -0
- package/build/{index-9c887f7f.js → index-80c3a79d.js} +1 -1
- package/build/{index-7de88c1c.js → index-8446893a.js} +1 -1
- package/build/{index-9a15f4f9.js → index-8c90469b.js} +1 -1
- package/build/index-90b2b2ab.js +93 -0
- package/build/index-936be83a.js +1 -0
- package/build/{index-2a4ce365.js → index-9992e091.js} +1 -1
- package/build/{index-27b37035.js → index-d1654e2b.js} +1 -1
- package/build/index-d7f87c6e.js +1 -0
- package/build/index-f9114392.js +53 -0
- package/build/index-f9afaa93.js +1 -0
- package/build/index.js +1 -1
- package/build/index.styled-3d922e82.js +50 -0
- package/build/{index.styled-4dba8b73.js → index.styled-864b18ab.js} +3 -3
- package/build/{index.styled-2f40cf9b.js → index.styled-a4e578a2.js} +1 -1
- package/build/index.styled-fa1e62c2.js +69 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +16 -16
- package/build/pwg.js +3 -3
- package/build/{routing-02efe154.js → routing-70ed84c4.js} +1 -1
- package/build/{screenSizeContext-6187e101.js → screenSizeContext-ce407dc9.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-1c50147e.js → types-75a7fca6.js} +8 -8
- package/build/{types-9313bf01.js → types-cb33f5dd.js} +129 -129
- package/build/types.js +1 -1
- package/build/useHealthToolCache-aeecad76.js +1 -0
- package/build/{useRafState-2d31dfc5.js → useRafState-c7d9ba80.js} +1 -1
- package/build/{useTranslations-5cc61c9f.js → useTranslations-587f52f7.js} +1 -1
- package/build/utils-3ef222b0.js +1 -0
- package/build/utils-ec4454fe.js +1007 -0
- package/build/vaccination.js +12 -12
- package/package.json +2 -1
- package/build/components/atoms/icons/ACharacter.d.ts +0 -4
- package/build/components/atoms/icons/Activities.d.ts +0 -4
- package/build/components/atoms/icons/ArrowDown.d.ts +0 -4
- package/build/components/atoms/icons/ArrowLeft.d.ts +0 -4
- package/build/components/atoms/icons/ArrowRight.d.ts +0 -4
- package/build/components/atoms/icons/Article.d.ts +0 -4
- package/build/components/atoms/icons/Ask.d.ts +0 -4
- package/build/components/atoms/icons/BabyBoyMB.d.ts +0 -4
- package/build/components/atoms/icons/BabyGirlMB.d.ts +0 -4
- package/build/components/atoms/icons/BarChart.d.ts +0 -4
- package/build/components/atoms/icons/Booking.d.ts +0 -4
- package/build/components/atoms/icons/Bookmark.d.ts +0 -4
- package/build/components/atoms/icons/Boy.d.ts +0 -4
- package/build/components/atoms/icons/Business.d.ts +0 -4
- package/build/components/atoms/icons/Calendar.d.ts +0 -4
- package/build/components/atoms/icons/CalendarMB.d.ts +0 -4
- package/build/components/atoms/icons/CameraCircle.d.ts +0 -4
- package/build/components/atoms/icons/Chat.d.ts +0 -4
- package/build/components/atoms/icons/Check.d.ts +0 -4
- package/build/components/atoms/icons/CheckActiveMB.d.ts +0 -4
- package/build/components/atoms/icons/CircleBorder.d.ts +0 -4
- package/build/components/atoms/icons/Clickable.d.ts +0 -4
- package/build/components/atoms/icons/ClinicPin.d.ts +0 -4
- package/build/components/atoms/icons/Close.d.ts +0 -4
- package/build/components/atoms/icons/Comment.d.ts +0 -4
- package/build/components/atoms/icons/Community.d.ts +0 -4
- package/build/components/atoms/icons/CrossLogo.d.ts +0 -4
- package/build/components/atoms/icons/Current.d.ts +0 -4
- package/build/components/atoms/icons/EditSpecial.d.ts +0 -4
- package/build/components/atoms/icons/Endorse.d.ts +0 -4
- package/build/components/atoms/icons/Envelop.d.ts +0 -4
- package/build/components/atoms/icons/Family.d.ts +0 -4
- package/build/components/atoms/icons/Font.d.ts +0 -4
- package/build/components/atoms/icons/FullScreen.d.ts +0 -4
- package/build/components/atoms/icons/GenderBoy.d.ts +0 -4
- package/build/components/atoms/icons/GenderChooseBoy.d.ts +0 -4
- package/build/components/atoms/icons/GenderChooseGirl.d.ts +0 -4
- package/build/components/atoms/icons/GenderGirl.d.ts +0 -4
- package/build/components/atoms/icons/Girl.d.ts +0 -4
- package/build/components/atoms/icons/GroupPeople.d.ts +0 -4
- package/build/components/atoms/icons/GroupPeopleSolid.d.ts +0 -4
- package/build/components/atoms/icons/Heart.d.ts +0 -4
- package/build/components/atoms/icons/Home.d.ts +0 -4
- package/build/components/atoms/icons/Hospital.d.ts +0 -4
- package/build/components/atoms/icons/Info.d.ts +0 -4
- package/build/components/atoms/icons/Kebab.d.ts +0 -4
- package/build/components/atoms/icons/Like.d.ts +0 -4
- package/build/components/atoms/icons/Link.d.ts +0 -4
- package/build/components/atoms/icons/Minus.d.ts +0 -4
- package/build/components/atoms/icons/Missed.d.ts +0 -4
- package/build/components/atoms/icons/MyCommunity.d.ts +0 -4
- package/build/components/atoms/icons/MyHealth.d.ts +0 -4
- package/build/components/atoms/icons/Oppose.d.ts +0 -4
- package/build/components/atoms/icons/Parents.d.ts +0 -4
- package/build/components/atoms/icons/Plus.d.ts +0 -5
- package/build/components/atoms/icons/PlusSpecial.d.ts +0 -4
- package/build/components/atoms/icons/Post.d.ts +0 -4
- package/build/components/atoms/icons/Recalculate.d.ts +0 -4
- package/build/components/atoms/icons/Reply.d.ts +0 -4
- package/build/components/atoms/icons/Scale.d.ts +0 -4
- package/build/components/atoms/icons/Screener.d.ts +0 -4
- package/build/components/atoms/icons/Share.d.ts +0 -4
- package/build/components/atoms/icons/ShieldCheck.d.ts +0 -4
- package/build/components/atoms/icons/Smile.d.ts +0 -4
- package/build/components/atoms/icons/Sparkle.d.ts +0 -4
- package/build/components/atoms/icons/Star.d.ts +0 -4
- package/build/components/atoms/icons/Stethoscope.d.ts +0 -4
- package/build/components/atoms/icons/StethoscopeActive.d.ts +0 -4
- package/build/components/atoms/icons/ToggleOff.d.ts +0 -4
- package/build/components/atoms/icons/ToggleOn.d.ts +0 -4
- package/build/components/atoms/icons/Trash.d.ts +0 -4
- package/build/components/atoms/icons/Upcoming.d.ts +0 -4
- package/build/components/atoms/icons/User.d.ts +0 -4
- package/build/components/atoms/icons/UserCheck.d.ts +0 -4
- package/build/components/atoms/icons/Vaccinated.d.ts +0 -4
- package/build/components/atoms/icons/Video.d.ts +0 -4
- package/build/components/atoms/icons/VideoCall.d.ts +0 -4
- package/build/components/atoms/icons/Woman.d.ts +0 -4
- package/build/components/atoms/icons/index.d.ts +0 -70
- package/build/esm/components/atoms/icons/ACharacter.d.ts +0 -4
- package/build/esm/components/atoms/icons/Activities.d.ts +0 -4
- package/build/esm/components/atoms/icons/ArrowDown.d.ts +0 -4
- package/build/esm/components/atoms/icons/ArrowLeft.d.ts +0 -4
- package/build/esm/components/atoms/icons/ArrowRight.d.ts +0 -4
- package/build/esm/components/atoms/icons/Article.d.ts +0 -4
- package/build/esm/components/atoms/icons/Ask.d.ts +0 -4
- package/build/esm/components/atoms/icons/BabyBoyMB.d.ts +0 -4
- package/build/esm/components/atoms/icons/BabyGirlMB.d.ts +0 -4
- package/build/esm/components/atoms/icons/BarChart.d.ts +0 -4
- package/build/esm/components/atoms/icons/Booking.d.ts +0 -4
- package/build/esm/components/atoms/icons/Bookmark.d.ts +0 -4
- package/build/esm/components/atoms/icons/Boy.d.ts +0 -4
- package/build/esm/components/atoms/icons/Business.d.ts +0 -4
- package/build/esm/components/atoms/icons/Calendar.d.ts +0 -4
- package/build/esm/components/atoms/icons/CalendarMB.d.ts +0 -4
- package/build/esm/components/atoms/icons/CameraCircle.d.ts +0 -4
- package/build/esm/components/atoms/icons/Chat.d.ts +0 -4
- package/build/esm/components/atoms/icons/Check.d.ts +0 -4
- package/build/esm/components/atoms/icons/CheckActiveMB.d.ts +0 -4
- package/build/esm/components/atoms/icons/CircleBorder.d.ts +0 -4
- package/build/esm/components/atoms/icons/Clickable.d.ts +0 -4
- package/build/esm/components/atoms/icons/ClinicPin.d.ts +0 -4
- package/build/esm/components/atoms/icons/Close.d.ts +0 -4
- package/build/esm/components/atoms/icons/Comment.d.ts +0 -4
- package/build/esm/components/atoms/icons/Community.d.ts +0 -4
- package/build/esm/components/atoms/icons/CrossLogo.d.ts +0 -4
- package/build/esm/components/atoms/icons/Current.d.ts +0 -4
- package/build/esm/components/atoms/icons/EditSpecial.d.ts +0 -4
- package/build/esm/components/atoms/icons/Endorse.d.ts +0 -4
- package/build/esm/components/atoms/icons/Envelop.d.ts +0 -4
- package/build/esm/components/atoms/icons/Family.d.ts +0 -4
- package/build/esm/components/atoms/icons/Font.d.ts +0 -4
- package/build/esm/components/atoms/icons/FullScreen.d.ts +0 -4
- package/build/esm/components/atoms/icons/GenderBoy.d.ts +0 -4
- package/build/esm/components/atoms/icons/GenderChooseBoy.d.ts +0 -4
- package/build/esm/components/atoms/icons/GenderChooseGirl.d.ts +0 -4
- package/build/esm/components/atoms/icons/GenderGirl.d.ts +0 -4
- package/build/esm/components/atoms/icons/Girl.d.ts +0 -4
- package/build/esm/components/atoms/icons/GroupPeople.d.ts +0 -4
- package/build/esm/components/atoms/icons/GroupPeopleSolid.d.ts +0 -4
- package/build/esm/components/atoms/icons/Heart.d.ts +0 -4
- package/build/esm/components/atoms/icons/Home.d.ts +0 -4
- package/build/esm/components/atoms/icons/Hospital.d.ts +0 -4
- package/build/esm/components/atoms/icons/Info.d.ts +0 -4
- package/build/esm/components/atoms/icons/Kebab.d.ts +0 -4
- package/build/esm/components/atoms/icons/Like.d.ts +0 -4
- package/build/esm/components/atoms/icons/Link.d.ts +0 -4
- package/build/esm/components/atoms/icons/Minus.d.ts +0 -4
- package/build/esm/components/atoms/icons/Missed.d.ts +0 -4
- package/build/esm/components/atoms/icons/MyCommunity.d.ts +0 -4
- package/build/esm/components/atoms/icons/MyHealth.d.ts +0 -4
- package/build/esm/components/atoms/icons/Oppose.d.ts +0 -4
- package/build/esm/components/atoms/icons/Parents.d.ts +0 -4
- package/build/esm/components/atoms/icons/Plus.d.ts +0 -5
- package/build/esm/components/atoms/icons/PlusSpecial.d.ts +0 -4
- package/build/esm/components/atoms/icons/Post.d.ts +0 -4
- package/build/esm/components/atoms/icons/Recalculate.d.ts +0 -4
- package/build/esm/components/atoms/icons/Reply.d.ts +0 -4
- package/build/esm/components/atoms/icons/Scale.d.ts +0 -4
- package/build/esm/components/atoms/icons/Screener.d.ts +0 -4
- package/build/esm/components/atoms/icons/Share.d.ts +0 -4
- package/build/esm/components/atoms/icons/ShieldCheck.d.ts +0 -4
- package/build/esm/components/atoms/icons/Smile.d.ts +0 -4
- package/build/esm/components/atoms/icons/Sparkle.d.ts +0 -4
- package/build/esm/components/atoms/icons/Star.d.ts +0 -4
- package/build/esm/components/atoms/icons/Stethoscope.d.ts +0 -4
- package/build/esm/components/atoms/icons/StethoscopeActive.d.ts +0 -4
- package/build/esm/components/atoms/icons/ToggleOff.d.ts +0 -4
- package/build/esm/components/atoms/icons/ToggleOn.d.ts +0 -4
- package/build/esm/components/atoms/icons/Trash.d.ts +0 -4
- package/build/esm/components/atoms/icons/Upcoming.d.ts +0 -4
- package/build/esm/components/atoms/icons/User.d.ts +0 -4
- package/build/esm/components/atoms/icons/UserCheck.d.ts +0 -4
- package/build/esm/components/atoms/icons/Vaccinated.d.ts +0 -4
- package/build/esm/components/atoms/icons/Video.d.ts +0 -4
- package/build/esm/components/atoms/icons/VideoCall.d.ts +0 -4
- package/build/esm/components/atoms/icons/Woman.d.ts +0 -4
- package/build/esm/components/atoms/icons/index.d.ts +0 -70
- package/build/esm/fixedBottomAdBlock-60979769.js +0 -1
- package/build/esm/getDynamicHealthTool-5a5304d0.js +0 -1
- package/build/esm/icons/Cambodia.d.ts +0 -4
- package/build/esm/icons/India.d.ts +0 -4
- package/build/esm/icons/Indonesia.d.ts +0 -4
- package/build/esm/icons/Malaysia.d.ts +0 -4
- package/build/esm/icons/Myanmar.d.ts +0 -4
- package/build/esm/icons/Phillipines.d.ts +0 -4
- package/build/esm/icons/Taiwan.d.ts +0 -4
- package/build/esm/icons/Thailand.d.ts +0 -4
- package/build/esm/icons/Vietnam.d.ts +0 -4
- package/build/esm/index-03812bdc.js +0 -1
- package/build/esm/index-0f134243.js +0 -1
- package/build/esm/index-1d68ad86.js +0 -1
- package/build/esm/index-2c89ccd4.js +0 -1
- package/build/esm/index-5b595e94.js +0 -53
- package/build/esm/index-7c07fc3f.js +0 -75
- package/build/esm/index-85277962.js +0 -1
- package/build/esm/index-b8de3b3e.js +0 -1
- package/build/esm/index-c6368912.js +0 -1
- package/build/esm/index-ddcb3128.js +0 -177
- package/build/esm/types-89cc0ffb.js +0 -3078
- package/build/esm/useHealthToolCache-c4e915e2.js +0 -1
- package/build/esm/utils-e90f7b7a.js +0 -1214
- package/build/fixedBottomAdBlock-5d31f76e.js +0 -1
- package/build/icons/Cambodia.d.ts +0 -4
- package/build/icons/India.d.ts +0 -4
- package/build/icons/Indonesia.d.ts +0 -4
- package/build/icons/Malaysia.d.ts +0 -4
- package/build/icons/Myanmar.d.ts +0 -4
- package/build/icons/Phillipines.d.ts +0 -4
- package/build/icons/Taiwan.d.ts +0 -4
- package/build/icons/Thailand.d.ts +0 -4
- package/build/icons/Vietnam.d.ts +0 -4
- package/build/index-38402874.js +0 -1
- package/build/index-3daba579.js +0 -1
- package/build/index-4ab65948.js +0 -1
- package/build/index-53e8f11c.js +0 -1
- package/build/index-5ee72b9c.js +0 -75
- package/build/index-63b91e27.js +0 -1
- package/build/index-7c68db10.js +0 -1
- package/build/index-973817ad.js +0 -1
- package/build/index-a28a6d36.js +0 -177
- package/build/index-a44d34cc.js +0 -53
- package/build/index-ecfef562.js +0 -1
- package/build/index.styled-69804a49.js +0 -50
- package/build/useHealthToolCache-a6b67a0b.js +0 -1
- package/build/utils-26319b1a.js +0 -1214
- package/build/utils-bcdb95ca.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-883a7d5d.js → BMI_BOYS.percentile.monthly-778fde94.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-3431cbf3.js → BMI_BOYS.percentile.weekly-11cf3b39.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d18e4941.js → BMI_BOYS.percentile.yearly-edfd1b3a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-7b6a101a.js → BMI_BOYS.zscore.monthly-80d858e4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-a5217019.js → BMI_BOYS.zscore.weekly-d11e3751.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-11ef12f2.js → BMI_BOYS.zscore.yearly-6a236f02.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-f5e716c3.js → BMI_GIRLS.percentile.monthly-d6ead9f6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-398b5137.js → BMI_GIRLS.percentile.weekly-b43a5429.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-180759a7.js → BMI_GIRLS.percentile.yearly-54c10be8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-b10cdadc.js → BMI_GIRLS.zscore.monthly-84bf9392.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-1d938a35.js → BMI_GIRLS.zscore.weekly-4a33ff93.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-bae676a9.js → BMI_GIRLS.zscore.yearly-ed8ad03b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-eaf2fb40.js → HEAD CIRCUM_BOYS.percentile.monthly-6f25da7d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-61326f41.js → HEAD CIRCUM_BOYS.percentile.weekly-c2621908.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-babe5336.js → HEAD CIRCUM_BOYS.percentile.yearly-2a9f2e5f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-103f72d4.js → HEAD CIRCUM_BOYS.zscore.monthly-2e417311.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-aa255ea6.js → HEAD CIRCUM_BOYS.zscore.weekly-29aff10c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-49964835.js → HEAD CIRCUM_BOYS.zscore.yearly-70e90ac8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-0f804779.js → HEAD CIRCUM_GIRLS.percentile.monthly-69cda97f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-42269a91.js → HEAD CIRCUM_GIRLS.percentile.weekly-a3b17ccb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-477b46d4.js → HEAD CIRCUM_GIRLS.percentile.yearly-e6995daa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c8349198.js → HEAD CIRCUM_GIRLS.zscore.monthly-58950baf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-effd5b38.js → HEAD CIRCUM_GIRLS.zscore.weekly-467571e1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ff63ab65.js → HEAD CIRCUM_GIRLS.zscore.yearly-3af77b90.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-100312ef.js → HEIGHT_BOYS.percentile.monthly-fac587d4.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-25804e10.js → HEIGHT_BOYS.percentile.weekly-8bde9175.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-790abaab.js → HEIGHT_BOYS.percentile.yearly-3e660390.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-1937cd05.js → HEIGHT_BOYS.zscore.monthly-37b1007d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-b30e141c.js → HEIGHT_BOYS.zscore.weekly-bf22b59c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-b206a8f2.js → HEIGHT_BOYS.zscore.yearly-6a617b28.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-2e0489e9.js → HEIGHT_GIRLS.percentile.monthly-f0cca055.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-4d76b68d.js → HEIGHT_GIRLS.percentile.weekly-4eaacea1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-2bd725ca.js → HEIGHT_GIRLS.percentile.yearly-33d578c4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e3a97b8c.js → HEIGHT_GIRLS.zscore.monthly-71afe3ef.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-26aa77b5.js → HEIGHT_GIRLS.zscore.weekly-25e12fef.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-25699d17.js → HEIGHT_GIRLS.zscore.yearly-287b9195.js} +0 -0
- /package/build/{Onboarding-5e479463.js → Onboarding-e8480a3f.js} +0 -0
- /package/build/{Visible-963cc805.js → Visible-b066c015.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f5ec350e.js → WEIGHT_BOYS.percentile.monthly-ac2e7922.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d3225a3e.js → WEIGHT_BOYS.percentile.weekly-9ab08385.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-90a29085.js → WEIGHT_BOYS.percentile.yearly-fb032b2f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-57ac1f4c.js → WEIGHT_BOYS.zscore.monthly-92c5185a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-efc0c806.js → WEIGHT_BOYS.zscore.weekly-91275afb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-cf3d5e7f.js → WEIGHT_BOYS.zscore.yearly-14c29c29.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-58c7aa25.js → WEIGHT_GIRLS.percentile.monthly-e79e5744.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-117867ba.js → WEIGHT_GIRLS.percentile.weekly-6dcc9880.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-e52005a0.js → WEIGHT_GIRLS.percentile.yearly-be81aae5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-cb0632b8.js → WEIGHT_GIRLS.zscore.monthly-41be0f6e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e4a924c1.js → WEIGHT_GIRLS.zscore.weekly-f91998af.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c4a4bb3e.js → WEIGHT_GIRLS.zscore.yearly-eee34a18.js} +0 -0
- /package/build/{constants-e6dfdef6.js → constants-d54bff11.js} +0 -0
- /package/build/{cookieHelper-254d109b.js → cookieHelper-4c28f684.js} +0 -0
- /package/build/{dataTransform-8faadee4.js → dataTransform-8e65f0ae.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-325f5ebe.js → BMI_BOYS.percentile.monthly-8eff36b1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-56ac91ef.js → BMI_BOYS.percentile.weekly-c1c20791.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-3b7b04ab.js → BMI_BOYS.percentile.yearly-b71b42bf.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-90ff64f1.js → BMI_BOYS.zscore.monthly-ccd48659.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-4f6a6684.js → BMI_BOYS.zscore.weekly-975133c5.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-528465ad.js → BMI_BOYS.zscore.yearly-ed47635c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-fc8dbf70.js → BMI_GIRLS.percentile.monthly-6bd5cc14.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-25c529f5.js → BMI_GIRLS.percentile.weekly-279a4454.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-f8e41e97.js → BMI_GIRLS.percentile.yearly-b6aa4d2e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-4a2056f8.js → BMI_GIRLS.zscore.monthly-9087fc3f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-cef72585.js → BMI_GIRLS.zscore.weekly-99470f2b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-ed430c3d.js → BMI_GIRLS.zscore.yearly-6bd7348e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-07bca9f8.js → HEAD CIRCUM_BOYS.percentile.monthly-03fad309.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-51ed6bd7.js → HEAD CIRCUM_BOYS.percentile.weekly-af13e66e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2312ef41.js → HEAD CIRCUM_BOYS.percentile.yearly-771bd9d9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ea118459.js → HEAD CIRCUM_BOYS.zscore.monthly-ab175da6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-35d84ac7.js → HEAD CIRCUM_BOYS.zscore.weekly-b8764405.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-827dbe4a.js → HEAD CIRCUM_BOYS.zscore.yearly-899130aa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-9653cba0.js → HEAD CIRCUM_GIRLS.percentile.monthly-6a199f3b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-55417ee8.js → HEAD CIRCUM_GIRLS.percentile.weekly-503768a0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-aae78d36.js → HEAD CIRCUM_GIRLS.percentile.yearly-64cb2f25.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-1fabf8df.js → HEAD CIRCUM_GIRLS.zscore.monthly-c1e0c956.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-be584760.js → HEAD CIRCUM_GIRLS.zscore.weekly-5dfe1744.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-fb88c238.js → HEAD CIRCUM_GIRLS.zscore.yearly-99ef478a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-ef9a1b5b.js → HEIGHT_BOYS.percentile.monthly-6a8406fe.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-b5648877.js → HEIGHT_BOYS.percentile.weekly-524566b3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d90d3425.js → HEIGHT_BOYS.percentile.yearly-e77ae24f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a3438cd2.js → HEIGHT_BOYS.zscore.monthly-e1ed40d7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-e7901014.js → HEIGHT_BOYS.zscore.weekly-f9ab03ff.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-2c5b855b.js → HEIGHT_BOYS.zscore.yearly-d8cb9559.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-0a6208b7.js → HEIGHT_GIRLS.percentile.monthly-09e87d65.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9a054278.js → HEIGHT_GIRLS.percentile.weekly-89fef7c6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-0cae0852.js → HEIGHT_GIRLS.percentile.yearly-80814338.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-86ec4817.js → HEIGHT_GIRLS.zscore.monthly-33d8b755.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-cc2e6824.js → HEIGHT_GIRLS.zscore.weekly-0de09380.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-88a5cc2e.js → HEIGHT_GIRLS.zscore.yearly-42e67fe0.js} +0 -0
- /package/build/esm/{Onboarding-815a1838.js → Onboarding-d65212e9.js} +0 -0
- /package/build/esm/{Visible-8c624f0f.js → Visible-9382e1a1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-1b81ebeb.js → WEIGHT_BOYS.percentile.monthly-b84ae654.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7b54b1ff.js → WEIGHT_BOYS.percentile.weekly-a5d34ac7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-96c126da.js → WEIGHT_BOYS.percentile.yearly-b324f396.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c02237fe.js → WEIGHT_BOYS.zscore.monthly-e1db2e9d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-7523460f.js → WEIGHT_BOYS.zscore.weekly-d38657ac.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-19567e91.js → WEIGHT_BOYS.zscore.yearly-c8cf52fe.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-37d959fb.js → WEIGHT_GIRLS.percentile.monthly-fdea673f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-7371a10b.js → WEIGHT_GIRLS.percentile.weekly-bdf121a1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-15f75ac8.js → WEIGHT_GIRLS.percentile.yearly-c43856a1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-a0bbc77f.js → WEIGHT_GIRLS.zscore.monthly-6f29934c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-bb87503f.js → WEIGHT_GIRLS.zscore.weekly-c51f9694.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-547a1fbc.js → WEIGHT_GIRLS.zscore.yearly-546e1b5b.js} +0 -0
- /package/build/esm/{constants-36505bfb.js → constants-554d1b8e.js} +0 -0
- /package/build/esm/{cookieHelper-c0937aad.js → cookieHelper-e4ea7c58.js} +0 -0
- /package/build/esm/{dataTransform-0646d6c4.js → dataTransform-bba9a756.js} +0 -0
- /package/build/esm/{index-6aded33a.js → index-039a03de.js} +0 -0
- /package/build/esm/{isProduction-f91b95cd.js → isProduction-e0ddb380.js} +0 -0
- /package/build/esm/{localizeNumberFormat-0da4e43f.js → localizeNumberFormat-01e2fedc.js} +0 -0
- /package/build/esm/{normalizeLink-083ce503.js → normalizeLink-f5519f4a.js} +0 -0
- /package/build/esm/{paths-5e16c4a6.js → paths-f5c63a3f.js} +0 -0
- /package/build/esm/{theme-c780a012.js → theme-a9aa3182.js} +0 -0
- /package/build/esm/{translationsContext-b1bd96cb.js → translationsContext-abf38c7d.js} +0 -0
- /package/build/esm/{tslib.es6-9c1790be.js → tslib.es6-e3cdf2bc.js} +0 -0
- /package/build/esm/{types-1f213f81.js → types-92fccdaa.js} +0 -0
- /package/build/esm/{useIsInit-fb358274.js → useIsInit-87a2289b.js} +0 -0
- /package/build/esm/{useOutsideClick-086d4bef.js → useOutsideClick-bf5eb0b5.js} +0 -0
- /package/build/esm/{useScrollbarSize-2b796e8b.js → useScrollbarSize-05cf5c5f.js} +0 -0
- /package/build/esm/{useUniqueId-eef5d661.js → useUniqueId-fab61983.js} +0 -0
- /package/build/esm/{utils-35a508ae.js → utils-2fec0962.js} +0 -0
- /package/build/{index-1d2d6c71.js → index-7e862d25.js} +0 -0
- /package/build/{isProduction-517872ce.js → isProduction-dd2eed50.js} +0 -0
- /package/build/{localizeNumberFormat-6a3526e0.js → localizeNumberFormat-ab51ae1d.js} +0 -0
- /package/build/{normalizeLink-ef31244a.js → normalizeLink-93463883.js} +0 -0
- /package/build/{paths-597a9110.js → paths-5dead899.js} +0 -0
- /package/build/{theme-791de2a4.js → theme-deb6edaf.js} +0 -0
- /package/build/{translationsContext-84598533.js → translationsContext-80c50abb.js} +0 -0
- /package/build/{tslib.es6-5cc34723.js → tslib.es6-1d1dd39b.js} +0 -0
- /package/build/{types-f385e06e.js → types-d782ce0a.js} +0 -0
- /package/build/{useIsInit-c4d6088c.js → useIsInit-3057483a.js} +0 -0
- /package/build/{useOutsideClick-5185a271.js → useOutsideClick-21df25f4.js} +0 -0
- /package/build/{useScrollbarSize-2cfc3ebb.js → useScrollbarSize-1c8ca92c.js} +0 -0
- /package/build/{useUniqueId-9b2409a5.js → useUniqueId-cb44424a.js} +0 -0
- /package/build/{utils-1d3a9504.js → utils-a146b136.js} +0 -0
package/build/index-5ee72b9c.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-5cc34723.js"),t=require("react"),l=require("styled-components"),n=require("@mantine/carousel"),r=require("@mantine/core"),i=require("@mantine/hooks");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=a(t),s=a(l);const d=s.default.img`
|
|
2
|
-
&[data-has-placeholder='true'] {
|
|
3
|
-
background-position: center;
|
|
4
|
-
background-repeat: no-repeat;
|
|
5
|
-
background-size: cover;
|
|
6
|
-
}
|
|
7
|
-
`,c=s.default((t=>{var{type:l}=t,n=e.__rest(t,["type"]);return o.default.createElement(l,n)}))`
|
|
8
|
-
color: var(--text-color, ${e=>e.theme.mbColors.dark});
|
|
9
|
-
font-family: Krub;
|
|
10
|
-
font-weight: 600;
|
|
11
|
-
letter-spacing: -0.2px;
|
|
12
|
-
|
|
13
|
-
&[data-type='headline-1'] {
|
|
14
|
-
font-size: 40px;
|
|
15
|
-
line-height: 60px;
|
|
16
|
-
}
|
|
17
|
-
&[data-type='headline-2'] {
|
|
18
|
-
font-size: 32px;
|
|
19
|
-
line-height: 48px;
|
|
20
|
-
}
|
|
21
|
-
&[data-type='headline-3'] {
|
|
22
|
-
font-size: 24px;
|
|
23
|
-
line-height: 40px;
|
|
24
|
-
}
|
|
25
|
-
&[data-type='headline-4'] {
|
|
26
|
-
font-size: 18px;
|
|
27
|
-
line-height: 32px;
|
|
28
|
-
}
|
|
29
|
-
`,u=s.default.p`
|
|
30
|
-
color: var(--text-color, ${e=>e.theme.mbColors.dark});
|
|
31
|
-
letter-spacing: -0.2px;
|
|
32
|
-
|
|
33
|
-
&[data-type='subtitle-1'] {
|
|
34
|
-
font-size: 16px;
|
|
35
|
-
font-weight: 600;
|
|
36
|
-
line-height: 26px;
|
|
37
|
-
}
|
|
38
|
-
&[data-type='subtitle-2'] {
|
|
39
|
-
font-size: 14px;
|
|
40
|
-
font-weight: 500;
|
|
41
|
-
line-height: 24px;
|
|
42
|
-
}
|
|
43
|
-
&[data-type='subtitle-3'] {
|
|
44
|
-
font-size: 12px;
|
|
45
|
-
font-weight: 500;
|
|
46
|
-
line-height: 20px;
|
|
47
|
-
}
|
|
48
|
-
&[data-type='bodytext-1'] {
|
|
49
|
-
font-size: 16px;
|
|
50
|
-
font-weight: 400;
|
|
51
|
-
line-height: 28px;
|
|
52
|
-
}
|
|
53
|
-
&[data-type='bodytext-2'] {
|
|
54
|
-
font-size: 14px;
|
|
55
|
-
font-weight: 400;
|
|
56
|
-
line-height: 24px;
|
|
57
|
-
}
|
|
58
|
-
&[data-type='bodytext-3'] {
|
|
59
|
-
font-size: 12px;
|
|
60
|
-
font-weight: 400;
|
|
61
|
-
line-height: 20px;
|
|
62
|
-
}
|
|
63
|
-
&[data-type='caption-1'] {
|
|
64
|
-
font-size: 10px;
|
|
65
|
-
font-weight: 500;
|
|
66
|
-
letter-spacing: -0.1px;
|
|
67
|
-
line-height: 14px;
|
|
68
|
-
}
|
|
69
|
-
&[data-type='caption-2'] {
|
|
70
|
-
font-size: 10px;
|
|
71
|
-
font-weight: 400;
|
|
72
|
-
letter-spacing: -0.1px;
|
|
73
|
-
line-height: 14px;
|
|
74
|
-
}
|
|
75
|
-
`,p=t.forwardRef((function(e,t){return o.default.createElement("circle",Object.assign({},e,{ref:t}),o.default.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))})),h=n.Carousel.Slide,f=t.createContext({}),g=(e,t)=>e>=t?e-t:e,x=l=>{var{children:a,blurFromCenter:s,blurFromIndex:d,blurLength:c=3,maxBlurOpacity:u=.5,onSlideChange:p,selectSlideWhenClick:h}=l,x=e.__rest(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:v}=i.useViewportSize(),[y]=i.useResizeObserver(),m=t.useRef(null),[b,S]=t.useState(0),C=()=>{var e,t,l,n,r;const i=(null===(e=null==m?void 0:m.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(t=null==m?void 0:m.current)||void 0===t?void 0:t.slideNodes().length)<=(null===(l=null==m?void 0:m.current)||void 0===l?void 0:l.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const a=null===(n=null==m?void 0:m.current)||void 0===n?void 0:n.selectedScrollSnap();S(a);const o=i.length,p=(null===(r=null==m?void 0:m.current)||void 0===r?void 0:r.slidesInView()).length,h=Math.floor(p/2),f=s?d+c-1:h,x=a+f,v=x===o?0:x>o?x-o:x,y=a-f,b=y<0?o+y:y>0?a-f:0,C=[...new Set(Array(2*f+1).fill("").map(((e,t)=>g(b+t,o))))];i.map(((e,t)=>{if(t===a?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==C.indexOf(t)){const r=u/c;for(let i=0;i<c;i++){if(t===g(b+i,o)||t===(n=o,(l=v-i)<0?n+l:l)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}}else e.style.opacity="0";var l,n}))},k={getEmblaApi:e=>{m.current=e},onSlideChange:e=>{C(),null==p||p(e)}};t.useEffect((()=>{(null==m?void 0:m.current)&&C()}),[v]);const z=r.createStyles((()=>{var e,t;return{control:Object.assign({},(null===(e=null==m?void 0:m.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(t=null==m?void 0:m.current)||void 0===t?void 0:t.slidesInView().length)&&{display:"none"})}})),{classes:w}=z();return o.default.createElement(f.Provider,{value:{slider:null==m?void 0:m.current,centerSlide:b,selectSlideWhenClick:h}},o.default.createElement(n.Carousel,Object.assign({classNames:{control:w.control},ref:y,slideSize:"auto",containScroll:"trimSnaps"},k,x,{loop:!0}),"function"==typeof a?a(b):a))};x.Slide=l=>{var{children:n,onClick:r,innerSlideProps:i}=l,a=e.__rest(l,["children","onClick","innerSlideProps"]);const{slider:s,selectSlideWhenClick:d}=t.useContext(f),c=t.useRef(),u=t.useRef(""),[p,g]=t.useState(0);t.useEffect((()=>{u.current=String(Math.round(1e4*Math.random()))}),[]),t.useEffect((()=>{const e=(null==s?void 0:s.slideNodes())||[];g(e.findIndex((e=>e.dataset.key===u.current)))}),[s]);const x={ref:c,"data-key":u.current,"data-index":p};return o.default.createElement(h,Object.assign({},x,a),o.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{d&&(null==s||s.scrollTo(p)),null==r||r(p)}},i),n))},exports.CentralCarousel=x,exports.CustomReferenceDot=p,exports.ImageWrap=l=>{var{alt:n,backupSrc:r,src:i,placeholderSrc:a,style:s,ref:c}=l,u=e.__rest(l,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[p,h]=t.useState(!1);return o.default.createElement(d,Object.assign({loading:"lazy",alt:n,onError:()=>!p&&h(!0),src:p?r||i:i||r,style:Object.assign(Object.assign({},a?{backgroundImage:`url(${a})`}:{}),s),"data-has-placeholder":!!a,ref:c},u))},exports.StyledHeading=c,exports.StyledText=u;
|
package/build/index-63b91e27.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-5cc34723.js"),t=require("react"),s=require("@mantine/core"),l=require("./gAssets.js"),a=require("./utils-26319b1a.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);exports.Modal=t=>{var{title:n,styles:o}=t,u=e.__rest(t,["title","styles"]);const{classes:i}=a.useStyles$1(void 0,{name:"Modal",styles:o});return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Modal,Object.assign({centered:!0,classNames:i},u,{withCloseButton:!1,title:u.withCloseButton&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Text,{size:"s2",weight:"semiBold",as:"span"},n),r.default.createElement(s.CloseButton,Object.assign({},u.closeButtonProps,{onClick:()=>{var e;return null===(e=u.onClose)||void 0===e?void 0:e.call(u)},sx:{":focus":{outline:0}}}),r.default.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};
|
package/build/index-7c68db10.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-5cc34723.js"),t=require("react"),r=require("@mantine/core"),s=require("./index-75eccc5e.js");require("@mantine/dates");var a=require("./index-9a15f4f9.js"),i=require("./Onboarding-5e479463.js");require("./gAssets.js");var c=require("./utils-26319b1a.js");require("dayjs"),require("./screenSizeContext-6187e101.js"),require("styled-components"),require("./theme-791de2a4.js"),require("./utils-1d3a9504.js"),require("./isProduction-517872ce.js");var n=require("./useTranslations-5cc61c9f.js");require("./index-5ee72b9c.js"),require("@mantine/hooks"),require("lodash/debounce");var d=require("./utils-bcdb95ca.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);const u={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},p=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},v=({provinces:r})=>{const[s,c]=t.useReducer(p,u),{provinceByName:n,provinces:l,districts:o,wards:v,selectedProvince:E,selectedDistrict:b,selectedWard:h}=s,[j,y]=t.useState();t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,s,n;try{const l=yield fetch((n=process.env.UNIFY_LOCALE||i.LOCALE.Vietnam,`${a.CDN_ADDRESS}/cities-data-${d.MAPPED_LOCALE[n]}.json`)).then((e=>e.json()));y(l);const{list:o}=l,u=r?((e,t)=>{const r={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(r[t]=e)}const s={};return e.map((e=>{s[e.name]=r[e.id]})),s})(r,o):o,p=Object.keys(u),v=Object.keys((null===(e=o[p[0]])||void 0===e?void 0:e.list)||{}),E=Object.keys((null===(s=null===(t=o[p[0]])||void 0===t?void 0:t[v[0]])||void 0===s?void 0:s.list)||{});c({type:"SET_DATA",payload:{provinceByName:u,provinces:p,districts:v,wards:E}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:l,districts:o,wards:v,selectedProvince:E,selectedDistrict:b,selectedWard:h,handleProvinceChange:e=>{var t;const r=Object.keys((null===(t=n[e])||void 0===t?void 0:t.list)||{});c({type:"SET_DISTRICTS",payload:r}),c({type:"SET_WARDS",payload:[]}),c({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,r;const s=Object.keys((null===(r=null===(t=n[E])||void 0===t?void 0:t.list[e])||void 0===r?void 0:r.list)||{});c({type:"SET_WARDS",payload:s}),c({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{c({type:"SELECT_WARD",payload:e})}}};exports.AddressInput=a=>{var{error:i,provinces:d,placeholder:l}=a,u=e.__rest(a,["error","provinces","placeholder"]);const{t:p}=n.useTranslations(),{provinces:E,districts:b,wards:h,selectedProvince:j,selectedDistrict:y,selectedWard:g,handleProvinceChange:S,handleDistrictChange:C,handleWardChange:O}=v({provinces:d}),[f,m]=t.useState("");return t.useEffect((()=>{j&&y&&g&&f?u.onChange({selectedProvince:j,selectedDistrict:y,selectedWard:g,extraInfo:f}):u.onChange(null)}),[j,y,g,f]),o.default.createElement(c.Input.Wrapper,Object.assign({withAsterisk:!0},u),o.default.createElement(r.Stack,null,o.default.createElement(s.Select,{placeholder:(null==l?void 0:l.province)||p("onboarding.similac.input.city"),data:d?E:E.sort(),searchable:!0,onChange:S,value:j}),o.default.createElement(s.Select,{placeholder:(null==l?void 0:l.district)||p("onboarding.similac.input.district"),data:b.sort(),searchable:!0,onChange:C,value:y,disabled:!j}),o.default.createElement(s.Select,{placeholder:(null==l?void 0:l.ward)||p("onboarding.similac.input.ward"),searchable:!0,data:h.sort(),value:g,onChange:O,disabled:!j||!y}),o.default.createElement(c.Input,{placeholder:(null==l?void 0:l.address)||p("onboarding.similac.input.no"),disabled:!j||!y||!g,value:f,onChange:m,style:{marginBottom:0}})),o.default.createElement(r.Input.Error,{size:"md"},i))};
|
package/build/index-973817ad.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-5cc34723.js"),t=require("react"),r=require("./index-5ee72b9c.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t);exports.MarryBabyHeading=t=>{var{type:a,color:l,style:c}=t,n=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledHeading,Object.assign({type:a,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[a],style:Object.assign(Object.assign({},l&&{"--text-color":l}),c)},n))},exports.MarryBabyText=t=>{var{type:a,color:l,style:c}=t,n=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledText,Object.assign({"data-type":a,style:Object.assign(Object.assign({},c),l&&{"--text-color":l})},n))};
|
package/build/index-a28a6d36.js
DELETED
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-1d3a9504.js"),l=require("./utils-26319b1a.js"),o=require("./index-ad80e678.js"),r=require("styled-components"),i=require("./useTranslations-5cc61c9f.js"),n=require("./Onboarding-5e479463.js"),d=require("./index-973817ad.js"),s=require("./theme-791de2a4.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=c(e),m=c(r);const p=({open:e=!1,onClickOutside:t})=>u.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),h=({value:t,options:a,className:r,direction:i="horizontal",onChange:n,isDisabled:c,siteType:m})=>{const[p,h]=e.useState(t),f="marryBaby"===m;return u.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":i},a.map(((e,a)=>u.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||p)===e.value,"data-is-mb":f,"data-disabled":c,key:a,onClick:()=>{var t;t=e.value,c||(h(t),n&&n(t))}},u.default.createElement("div",null,e.content,e.label&&u.default.createElement(u.default.Fragment,null,f?u.default.createElement(d.MarryBabyText,{type:"subtitle-2",color:(t||p)===e.value?s.theme.mbColors.dark:s.theme.mbColors.midGray},e.label):u.default.createElement(o.Text,{type:"bold",color:(t||p)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},f=m.default.div`
|
|
2
|
-
position: relative;
|
|
3
|
-
z-index: 200;
|
|
4
|
-
background-color: ${e=>e.theme.colors.white};
|
|
5
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
6
|
-
box-shadow: 0px 4px 8px ${e=>e.theme.colors.gray200};
|
|
7
|
-
&[data-site-type='marryBaby'] {
|
|
8
|
-
border-radius: 16px;
|
|
9
|
-
.hhg-modal__content {
|
|
10
|
-
position: relative;
|
|
11
|
-
z-index: 111;
|
|
12
|
-
height: 100%;
|
|
13
|
-
|
|
14
|
-
padding: 24px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
.hhg-modal__content {
|
|
18
|
-
position: relative;
|
|
19
|
-
z-index: 111;
|
|
20
|
-
height: 100%;
|
|
21
|
-
padding: 16px;
|
|
22
|
-
}
|
|
23
|
-
.hhg-modal__video {
|
|
24
|
-
position: relative;
|
|
25
|
-
z-index: 111;
|
|
26
|
-
height: 100%;
|
|
27
|
-
background-color: none;
|
|
28
|
-
box-shadow: none;
|
|
29
|
-
}
|
|
30
|
-
`,g="hhgcomp-modal-modal",y=l.getDefaultClassWrapper(f,g),b=m.default.div`
|
|
31
|
-
position: fixed;
|
|
32
|
-
top: 0;
|
|
33
|
-
left: 0;
|
|
34
|
-
z-index: 201;
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
width: 100%;
|
|
39
|
-
height: 100%;
|
|
40
|
-
overflow-x: hidden;
|
|
41
|
-
overflow-y: auto;
|
|
42
|
-
outline: 0;
|
|
43
|
-
visibility: hidden;
|
|
44
|
-
background-color: rgba(38, 38, 38, 0.3);
|
|
45
|
-
|
|
46
|
-
.hhg-modal__close {
|
|
47
|
-
position: absolute;
|
|
48
|
-
top: 16px;
|
|
49
|
-
right: 16px;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
img {
|
|
52
|
-
width: 100%;
|
|
53
|
-
height: 100%;
|
|
54
|
-
border-radius: 50%;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
&[data-type='video'] {
|
|
58
|
-
z-index: 1001;
|
|
59
|
-
}
|
|
60
|
-
&[data-open='true'] {
|
|
61
|
-
visibility: visible;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.slideTop {
|
|
65
|
-
.${g} {
|
|
66
|
-
transform: translate(0, -100vh);
|
|
67
|
-
transition: all 0.5s ease;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&[data-open='true'] {
|
|
71
|
-
.${g} {
|
|
72
|
-
transform: translate(0);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&.scaleUp {
|
|
78
|
-
.${g} {
|
|
79
|
-
transform: scale(0.9);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&[data-open='true'] {
|
|
83
|
-
.${g} {
|
|
84
|
-
transition: all 0.3s ease-out;
|
|
85
|
-
transform: scale(1);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&[data-type='tail'] {
|
|
91
|
-
justify-content: flex-end;
|
|
92
|
-
.${g} {
|
|
93
|
-
width: 420px;
|
|
94
|
-
height: 100%;
|
|
95
|
-
border-radius: 0;
|
|
96
|
-
overflow: hidden auto;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
&[data-type='form'] {
|
|
100
|
-
.${g} {
|
|
101
|
-
width: 496px;
|
|
102
|
-
height: 548px;
|
|
103
|
-
max-height: 100%;
|
|
104
|
-
overflow-y: auto;
|
|
105
|
-
${a.MediaQueries.mbDown} {
|
|
106
|
-
width: 340px;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
&[data-type='video'] {
|
|
111
|
-
.${g} {
|
|
112
|
-
height: 100%;
|
|
113
|
-
max-height: 539px;
|
|
114
|
-
${a.MediaQueries.mbDown} {
|
|
115
|
-
height: 192px;
|
|
116
|
-
width: 100%;
|
|
117
|
-
height: 100%;
|
|
118
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
119
|
-
max-height: 192px;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
&[data-type='confirm'] {
|
|
124
|
-
.${g} {
|
|
125
|
-
width: 100%;
|
|
126
|
-
max-width: 407px;
|
|
127
|
-
${a.MediaQueries.mbDown} {
|
|
128
|
-
width: calc(100% - 32px);
|
|
129
|
-
max-width: calc(100% - 32px);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
`,x=m.default.div`
|
|
134
|
-
position: fixed;
|
|
135
|
-
top: 0;
|
|
136
|
-
left: 0;
|
|
137
|
-
width: 100vw;
|
|
138
|
-
height: 100vh;
|
|
139
|
-
align-items: center;
|
|
140
|
-
|
|
141
|
-
&[data-open='false'] {
|
|
142
|
-
display: none;
|
|
143
|
-
}
|
|
144
|
-
&[data-type='video'] {
|
|
145
|
-
background-color: ${e=>e.theme.colors.secondaryDark};
|
|
146
|
-
}
|
|
147
|
-
`,C=m.default.div`
|
|
148
|
-
& > :not(:last-child) {
|
|
149
|
-
margin-bottom: 8px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.gender-selector {
|
|
153
|
-
& > :not(:last-child) {
|
|
154
|
-
margin-right: 16px;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
& > div {
|
|
158
|
-
width: calc(50% - 8px);
|
|
159
|
-
|
|
160
|
-
${a.MediaQueries.mbUp} {
|
|
161
|
-
justify-self: left;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
`,v=m.default(h)`
|
|
166
|
-
& > div > div {
|
|
167
|
-
display: flex;
|
|
168
|
-
flex-direction: row;
|
|
169
|
-
justify-content: center;
|
|
170
|
-
align-content: center;
|
|
171
|
-
gap: 8px;
|
|
172
|
-
padding-block: 5px;
|
|
173
|
-
}
|
|
174
|
-
.radio-group-item-heading {
|
|
175
|
-
margin-top: 0;
|
|
176
|
-
}
|
|
177
|
-
`;exports.BabyGrowthGender=({value:e,onChange:t,siteType:a})=>{const{t:r}=i.useTranslations(),c="marryBaby"==a;return u.default.createElement(C,{"data-is-marryBaby":c},c?u.default.createElement(d.MarryBabyHeading,{type:"h4",color:s.theme.mbColors.dark},r("babyVaccineTool.selectGender")):u.default.createElement(o.Text,{size:"label2",type:"bold",style:{marginBottom:"0.5rem"}},r("babyVaccineTool.selectGender")),u.default.createElement(v,{siteType:a,options:[{value:n.Gender.Boy,label:r("gender.male"),content:c?u.default.createElement(l.Icon.BabyBoyMB,null):u.default.createElement(l.Icon.GenderChooseBoy,null)},{value:n.Gender.Girl,label:r("gender.female"),content:c?u.default.createElement(l.Icon.BabyGirlMB,null):u.default.createElement(l.Icon.GenderChooseGirl,null)}],value:e,onChange:t,className:"gender-selector"}))},exports.Drawer=({children:r,title:i,onClose:n,open:d=!1,placement:s="left",destroyOnClose:c=!1,isPropagationEvent:m=!0,className:h})=>{const f=e.useRef();e.useEffect((()=>(a.toggleNoScroll(d),()=>a.toggleNoScroll(!1))),[d]);const g=()=>{f.current.classList.add("slideOut"),setTimeout((()=>{n()}),800)};return!d&&c?null:u.default.createElement(t.Portal,null,u.default.createElement(l.StyledDrawer,{className:h,open:d},u.default.createElement(p,{open:d,onClickOutside:g}),u.default.createElement(l.StyledDrawerPanel,{open:d,placement:s,ref:f,hasTitle:Boolean(i)},u.default.createElement("div",{className:"title"},i&&u.default.createElement(o.Text,{size:"s2",type:"semiBold"},i),u.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:g},u.default.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),u.default.createElement(l.StyledDrawerContent,{onClick:e=>{m&&e.stopPropagation()}},r&&(u.default.isValidElement(r)?r:"function"==typeof r?r({internalClose:g}):null)))))},exports.RadioImageGroup=h,exports.StyledModal=y,exports.StyledModalMask=x,exports.StyledModalWrapper=b;
|
package/build/index-a44d34cc.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-5cc34723.js"),r=require("react"),t=require("@mantine/core"),i=require("./utils-26319b1a.js");require("@mantine/hooks"),require("./gAssets.js"),require("@mantine/dates");var n=require("./index-9a15f4f9.js");require("./Onboarding-5e479463.js"),require("dayjs"),require("./screenSizeContext-6187e101.js");var o=require("styled-components"),a=require("./theme-791de2a4.js"),s=require("./utils-1d3a9504.js");require("./isProduction-517872ce.js"),require("./translationsContext-84598533.js"),require("string-format"),require("./index-5ee72b9c.js");var c=require("@mantine/form");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=d(r),m=d(o);const u=r.createContext({}),[p,g,x]=c.createFormContext(),f=m.default.div`
|
|
2
|
-
margin-top: 70px;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
&.similac {
|
|
8
|
-
margin-top: 16px;
|
|
9
|
-
}
|
|
10
|
-
`,h=m.default(t.Container)`
|
|
11
|
-
&.hhg-comp-onboarding-container.hhg-comp-onboarding-container {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
align-items: center;
|
|
15
|
-
height: 100%;
|
|
16
|
-
width: 100%;
|
|
17
|
-
max-width: 520px;
|
|
18
|
-
}
|
|
19
|
-
.header {
|
|
20
|
-
margin-bottom: 32px;
|
|
21
|
-
text-align: center;
|
|
22
|
-
${s.MediaQueries.mbDown} {
|
|
23
|
-
margin-bottom: 16px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.input-control {
|
|
28
|
-
width: 100%;
|
|
29
|
-
}
|
|
30
|
-
.radio-group,
|
|
31
|
-
.input-control {
|
|
32
|
-
margin-bottom: 16px;
|
|
33
|
-
}
|
|
34
|
-
.form {
|
|
35
|
-
width: 100%;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* .form-error {
|
|
39
|
-
margin-top: 32px;
|
|
40
|
-
font-size: 14px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.field-error {
|
|
44
|
-
margin-top: 10px;
|
|
45
|
-
font-size: 14px;
|
|
46
|
-
} */
|
|
47
|
-
|
|
48
|
-
.form-button {
|
|
49
|
-
width: 100%;
|
|
50
|
-
}
|
|
51
|
-
`,b=m.default.img`
|
|
52
|
-
margin-bottom: 38px;
|
|
53
|
-
`;exports.FormProvider=p,exports.Onboarding=o=>{var s,{heading:c,description:d,children:m,className:p,imgSrc:g,hiddenLogo:x=!1}=o,q=e.__rest(o,["heading","description","children","className","imgSrc","hiddenLogo"]);const{isMarryBaby:j,siteType:v}=r.useContext(u);return l.default.createElement(h,Object.assign({},q,{className:`hhg-comp-onboarding-container ${p}`,size:"sm"}),!x&&l.default.createElement(i.LogoIcon,{type:j?v:(null===(s=n.LOCALE_SPECS[process.env.UNIFY_LOCALE])||void 0===s?void 0:s.LOGO_TYPE)||"hellobacsi"}),l.default.createElement(f,{className:x?"similac":""},g&&l.default.createElement(b,{src:g,loading:"lazy"}),(c||d)&&l.default.createElement("div",{className:"header"},c&&l.default.createElement(t.Title,{order:3},c),d&&l.default.createElement(i.Text,{size:"p3",mt:8,color:a.theme.colors.gray600},d)),m))},exports.OnboardingContext=u,exports.useForm=x,exports.useFormContext=g;
|
package/build/index-ecfef562.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-5cc34723.js"),t=require("react"),r=require("@mantine/core"),s=require("@mantine/dates"),i=require("./index-9a15f4f9.js"),a=require("./Onboarding-5e479463.js"),n=require("./gAssets.js"),l=require("./utils-26319b1a.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:c,fullWidth:d=!0}=t,v=e.__rest(t,["value","fullWidth"]);return u.default.createElement(s.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam],valueFormat:null===(o=i.ISO_FORMAT[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam])||void 0===o?void 0:o.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-5cc34723.js"),t=require("react"),n=require("./Onboarding-5e479463.js"),r=require("./gAssets.js"),a=require("./theme-791de2a4.js"),o=require("styled-components"),i=require("./index-5ee72b9c.js"),l=require("./index-ad80e678.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=s(t),d=s(o);const u=d.default.div`
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
width: ${e=>e.size}px;
|
|
5
|
-
height: ${e=>e.size}px;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
|
|
10
|
-
border: 1px solid #e4e8ec;
|
|
11
|
-
background-color: ${e=>e.backgroundColor||a.theme.colors.white};
|
|
12
|
-
border-radius: ${e=>e.borderRadius||"50%"};
|
|
13
|
-
& > * {
|
|
14
|
-
width: ${e=>e.iconSize}px;
|
|
15
|
-
height: ${e=>e.iconSize}px;
|
|
16
|
-
}
|
|
17
|
-
`,p=d.default.div`
|
|
18
|
-
display: inline-block;
|
|
19
|
-
height: 108px;
|
|
20
|
-
background-color: ${e=>e.theme.colors.white};
|
|
21
|
-
border-radius: 60px;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
&.selected-week-pill {
|
|
24
|
-
background-color: ${e=>e.theme.colors.pink100};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
& > div:first-child {
|
|
28
|
-
margin: 4px 4px 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
& > p {
|
|
32
|
-
margin-top: 8px;
|
|
33
|
-
text-align: center;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
& > * {
|
|
37
|
-
pointer-events: none;
|
|
38
|
-
}
|
|
39
|
-
`,g=[n.LOCALE.Myanmar,n.LOCALE.Taiwan],x=d.default((n=>{var{icon:o,name:s,className:d,locale:x="en-PH",dataEventCategory:m,dataEventAction:b,dataEventLabel:h,onSelect:v}=n,f=e.__rest(n,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const y=t.useMemo((()=>null==d?void 0:d.includes("selected-week-pill")),[d]);return c.default.createElement(p,Object.assign({onClick:v,className:d?"week-pill".concat(" non-pointer-event-child ",d):"week-pill non-pointer-event-child","data-event-category":m,"data-event-action":b,"data-event-label":h},f),c.default.createElement(u,{size:64,iconSize:40,backgroundColor:a.theme.colors.white},c.default.createElement(i.ImageWrap,{src:o||r.CommonGAssets.getAssetPath("week_default.png"),alt:`week ${s}`})),y?c.default.createElement(l.Text,Object.assign({type:"semiBold",size:"n1",color:a.theme.colors.gray800},g.includes(x)&&{style:{fontSize:"10px"}}),s):c.default.createElement(l.Text,Object.assign({size:"n1",color:a.theme.colors.gray600},g.includes(x)&&{style:{fontSize:"10px"}}),s))}))`
|
|
40
|
-
box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
|
|
41
|
-
`,m=d.default(i.CentralCarousel.Slide)`
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
> div * {
|
|
44
|
-
pointer-events: none;
|
|
45
|
-
}
|
|
46
|
-
`,b=d.default(i.CentralCarousel)`
|
|
47
|
-
.centerred-pill-wrapper {
|
|
48
|
-
padding: 16px 0;
|
|
49
|
-
}
|
|
50
|
-
`;exports.StyledCarousel=b,exports.StyledPill=x,exports.StyledSlide=m;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-5cc34723.js"),t=require("react"),a=require("./getDynamicHealthTool-6034f06a.js");exports.useHealthToolsCache=o=>{const[i,l]=t.useState([]);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){const e=yield a.getDynamicHealthToolWithCache(o);l(e)}))}),[a.getDynamicHealthToolWithCache,o]);const c=t.useCallback((e=>{var t;return(null===(t=i.find((t=>t.template===e)))||void 0===t?void 0:t.link)||""}),[i]);return{allTools:i,getHealthToolLink:c}};
|