@hhgtech/hhg-components 1.28.64-beta-2 → 1.28.65
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/Plus-1389822c.js +1 -0
- package/build/WhatsApp-b1f3496a.js +1 -0
- package/build/adapters.js +1 -1
- package/build/babyGrowth.js +24 -24
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/icons/ACharacter.d.ts +4 -0
- package/build/components/atoms/icons/Activities.d.ts +4 -0
- package/build/components/atoms/icons/ArrowDown.d.ts +4 -0
- package/build/components/atoms/icons/ArrowLeft.d.ts +4 -0
- package/build/components/atoms/icons/ArrowRight.d.ts +4 -0
- package/build/components/atoms/icons/Article.d.ts +4 -0
- package/build/components/atoms/icons/Ask.d.ts +4 -0
- package/build/components/atoms/icons/BabyBoyMB.d.ts +4 -0
- package/build/components/atoms/icons/BabyGirlMB.d.ts +4 -0
- package/build/components/atoms/icons/BarChart.d.ts +4 -0
- package/build/components/atoms/icons/Booking.d.ts +4 -0
- package/build/components/atoms/icons/Bookmark.d.ts +4 -0
- package/build/components/atoms/icons/Boy.d.ts +4 -0
- package/build/components/atoms/icons/Business.d.ts +4 -0
- package/build/components/atoms/icons/Calendar.d.ts +4 -0
- package/build/components/atoms/icons/CalendarMB.d.ts +4 -0
- package/build/components/atoms/icons/CameraCircle.d.ts +4 -0
- package/build/components/atoms/icons/Chat.d.ts +4 -0
- package/build/components/atoms/icons/Check.d.ts +4 -0
- package/build/components/atoms/icons/CheckActiveMB.d.ts +4 -0
- package/build/components/atoms/icons/CircleBorder.d.ts +4 -0
- package/build/components/atoms/icons/Clickable.d.ts +4 -0
- package/build/components/atoms/icons/ClinicPin.d.ts +4 -0
- package/build/components/atoms/icons/Close.d.ts +4 -0
- package/build/components/atoms/icons/Comment.d.ts +4 -0
- package/build/components/atoms/icons/Community.d.ts +4 -0
- package/build/components/atoms/icons/CrossLogo.d.ts +4 -0
- package/build/components/atoms/icons/Current.d.ts +4 -0
- package/build/components/atoms/icons/EditSpecial.d.ts +4 -0
- package/build/components/atoms/icons/Endorse.d.ts +4 -0
- package/build/components/atoms/icons/Envelop.d.ts +4 -0
- package/build/components/atoms/icons/Family.d.ts +4 -0
- package/build/components/atoms/icons/Font.d.ts +4 -0
- package/build/components/atoms/icons/FullScreen.d.ts +4 -0
- package/build/components/atoms/icons/GenderBoy.d.ts +4 -0
- package/build/components/atoms/icons/GenderChooseBoy.d.ts +4 -0
- package/build/components/atoms/icons/GenderChooseGirl.d.ts +4 -0
- package/build/components/atoms/icons/GenderGirl.d.ts +4 -0
- package/build/components/atoms/icons/Girl.d.ts +4 -0
- package/build/components/atoms/icons/GroupPeople.d.ts +4 -0
- package/build/components/atoms/icons/GroupPeopleSolid.d.ts +4 -0
- package/build/components/atoms/icons/Heart.d.ts +4 -0
- package/build/components/atoms/icons/Home.d.ts +4 -0
- package/build/components/atoms/icons/Hospital.d.ts +4 -0
- package/build/components/atoms/icons/Info.d.ts +4 -0
- package/build/components/atoms/icons/Kebab.d.ts +4 -0
- package/build/components/atoms/icons/Like.d.ts +4 -0
- package/build/components/atoms/icons/Link.d.ts +4 -0
- package/build/components/atoms/icons/Minus.d.ts +4 -0
- package/build/components/atoms/icons/Missed.d.ts +4 -0
- package/build/components/atoms/icons/MyCommunity.d.ts +4 -0
- package/build/components/atoms/icons/MyHealth.d.ts +4 -0
- package/build/components/atoms/icons/Oppose.d.ts +4 -0
- package/build/components/atoms/icons/Parents.d.ts +4 -0
- package/build/components/atoms/icons/Plus.d.ts +4 -0
- package/build/components/atoms/icons/PlusSpecial.d.ts +4 -0
- package/build/components/atoms/icons/Post.d.ts +4 -0
- package/build/components/atoms/icons/Recalculate.d.ts +4 -0
- package/build/components/atoms/icons/Reply.d.ts +4 -0
- package/build/components/atoms/icons/Scale.d.ts +4 -0
- package/build/components/atoms/icons/Screener.d.ts +4 -0
- package/build/components/atoms/icons/Search.d.ts +4 -0
- package/build/components/atoms/icons/ShieldCheck.d.ts +4 -0
- package/build/components/atoms/icons/Smile.d.ts +4 -0
- package/build/components/atoms/icons/Sparkle.d.ts +4 -0
- package/build/components/atoms/icons/Star.d.ts +4 -0
- package/build/components/atoms/icons/Stethoscope.d.ts +4 -0
- package/build/components/atoms/icons/StethoscopeActive.d.ts +4 -0
- package/build/components/atoms/icons/ToggleOff.d.ts +4 -0
- package/build/components/atoms/icons/ToggleOn.d.ts +4 -0
- package/build/components/atoms/icons/Trash.d.ts +4 -0
- package/build/components/atoms/icons/Upcoming.d.ts +4 -0
- package/build/components/atoms/icons/User.d.ts +4 -0
- package/build/components/atoms/icons/UserCheck.d.ts +4 -0
- package/build/components/atoms/icons/Vaccinated.d.ts +4 -0
- package/build/components/atoms/icons/Video.d.ts +4 -0
- package/build/components/atoms/icons/VideoCall.d.ts +4 -0
- package/build/components/atoms/icons/Woman.d.ts +4 -0
- package/build/components/atoms/icons/index.d.ts +58 -0
- package/build/components/atoms/input/index.styled.d.ts +0 -1
- package/build/components/atoms/pureInput/index.styled.d.ts +0 -4
- package/build/components.js +1 -1
- package/build/{constants-f9c9ab50.js → constants-2a4ad19a.js} +3 -8
- package/build/{constants-2733ce2f.js → constants-2af7a634.js} +1 -1
- package/build/constants.js +1 -1
- package/build/core-a23c80d2.js +1 -0
- package/build/{dataTransform-4a4d1cd5.js → dataTransform-2ab3c90d.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/Plus-61592057.js +1 -0
- package/build/esm/WhatsApp-5a6ef99f.js +1 -0
- package/build/esm/adapters.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/icons/ACharacter.d.ts +4 -0
- package/build/esm/components/atoms/icons/Activities.d.ts +4 -0
- package/build/esm/components/atoms/icons/ArrowDown.d.ts +4 -0
- package/build/esm/components/atoms/icons/ArrowLeft.d.ts +4 -0
- package/build/esm/components/atoms/icons/ArrowRight.d.ts +4 -0
- package/build/esm/components/atoms/icons/Article.d.ts +4 -0
- package/build/esm/components/atoms/icons/Ask.d.ts +4 -0
- package/build/esm/components/atoms/icons/BabyBoyMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/BabyGirlMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/BarChart.d.ts +4 -0
- package/build/esm/components/atoms/icons/Booking.d.ts +4 -0
- package/build/esm/components/atoms/icons/Bookmark.d.ts +4 -0
- package/build/esm/components/atoms/icons/Boy.d.ts +4 -0
- package/build/esm/components/atoms/icons/Business.d.ts +4 -0
- package/build/esm/components/atoms/icons/Calendar.d.ts +4 -0
- package/build/esm/components/atoms/icons/CalendarMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/CameraCircle.d.ts +4 -0
- package/build/esm/components/atoms/icons/Chat.d.ts +4 -0
- package/build/esm/components/atoms/icons/Check.d.ts +4 -0
- package/build/esm/components/atoms/icons/CheckActiveMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/CircleBorder.d.ts +4 -0
- package/build/esm/components/atoms/icons/Clickable.d.ts +4 -0
- package/build/esm/components/atoms/icons/ClinicPin.d.ts +4 -0
- package/build/esm/components/atoms/icons/Close.d.ts +4 -0
- package/build/esm/components/atoms/icons/Comment.d.ts +4 -0
- package/build/esm/components/atoms/icons/Community.d.ts +4 -0
- package/build/esm/components/atoms/icons/CrossLogo.d.ts +4 -0
- package/build/esm/components/atoms/icons/Current.d.ts +4 -0
- package/build/esm/components/atoms/icons/EditSpecial.d.ts +4 -0
- package/build/esm/components/atoms/icons/Endorse.d.ts +4 -0
- package/build/esm/components/atoms/icons/Envelop.d.ts +4 -0
- package/build/esm/components/atoms/icons/Family.d.ts +4 -0
- package/build/esm/components/atoms/icons/Font.d.ts +4 -0
- package/build/esm/components/atoms/icons/FullScreen.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderBoy.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderChooseBoy.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderChooseGirl.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderGirl.d.ts +4 -0
- package/build/esm/components/atoms/icons/Girl.d.ts +4 -0
- package/build/esm/components/atoms/icons/GroupPeople.d.ts +4 -0
- package/build/esm/components/atoms/icons/GroupPeopleSolid.d.ts +4 -0
- package/build/esm/components/atoms/icons/Heart.d.ts +4 -0
- package/build/esm/components/atoms/icons/Home.d.ts +4 -0
- package/build/esm/components/atoms/icons/Hospital.d.ts +4 -0
- package/build/esm/components/atoms/icons/Info.d.ts +4 -0
- package/build/esm/components/atoms/icons/Kebab.d.ts +4 -0
- package/build/esm/components/atoms/icons/Like.d.ts +4 -0
- package/build/esm/components/atoms/icons/Link.d.ts +4 -0
- package/build/esm/components/atoms/icons/Minus.d.ts +4 -0
- package/build/esm/components/atoms/icons/Missed.d.ts +4 -0
- package/build/esm/components/atoms/icons/MyCommunity.d.ts +4 -0
- package/build/esm/components/atoms/icons/MyHealth.d.ts +4 -0
- package/build/esm/components/atoms/icons/Oppose.d.ts +4 -0
- package/build/esm/components/atoms/icons/Parents.d.ts +4 -0
- package/build/esm/components/atoms/icons/Plus.d.ts +4 -0
- package/build/esm/components/atoms/icons/PlusSpecial.d.ts +4 -0
- package/build/esm/components/atoms/icons/Post.d.ts +4 -0
- package/build/esm/components/atoms/icons/Recalculate.d.ts +4 -0
- package/build/esm/components/atoms/icons/Reply.d.ts +4 -0
- package/build/esm/components/atoms/icons/Scale.d.ts +4 -0
- package/build/esm/components/atoms/icons/Screener.d.ts +4 -0
- package/build/esm/components/atoms/icons/Search.d.ts +4 -0
- package/build/esm/components/atoms/icons/ShieldCheck.d.ts +4 -0
- package/build/esm/components/atoms/icons/Smile.d.ts +4 -0
- package/build/esm/components/atoms/icons/Sparkle.d.ts +4 -0
- package/build/esm/components/atoms/icons/Star.d.ts +4 -0
- package/build/esm/components/atoms/icons/Stethoscope.d.ts +4 -0
- package/build/esm/components/atoms/icons/StethoscopeActive.d.ts +4 -0
- package/build/esm/components/atoms/icons/ToggleOff.d.ts +4 -0
- package/build/esm/components/atoms/icons/ToggleOn.d.ts +4 -0
- package/build/esm/components/atoms/icons/Trash.d.ts +4 -0
- package/build/esm/components/atoms/icons/Upcoming.d.ts +4 -0
- package/build/esm/components/atoms/icons/User.d.ts +4 -0
- package/build/esm/components/atoms/icons/UserCheck.d.ts +4 -0
- package/build/esm/components/atoms/icons/Vaccinated.d.ts +4 -0
- package/build/esm/components/atoms/icons/Video.d.ts +4 -0
- package/build/esm/components/atoms/icons/VideoCall.d.ts +4 -0
- package/build/esm/components/atoms/icons/Woman.d.ts +4 -0
- package/build/esm/components/atoms/icons/index.d.ts +58 -0
- package/build/esm/components/atoms/input/index.styled.d.ts +0 -1
- package/build/esm/components/atoms/pureInput/index.styled.d.ts +0 -4
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-773a447c.js → constants-36c1648d.js} +1 -1
- package/build/esm/{constants-71e2dd72.js → constants-ed8abdff.js} +3 -8
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-935d97e0.js → core-cdfc811a.js} +1 -1
- package/build/esm/{dataTransform-6dd48dd5.js → dataTransform-10fecdbe.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-94a90aa0.js +1 -0
- package/build/esm/{getSocialList-76c66ae6.js → getSocialList-558fc075.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/{index-6eb4485b.js → index-01efa9be.js} +1 -1
- package/build/esm/index-04f183b8.js +1 -0
- package/build/esm/{index-1cb70e7d.js → index-05214244.js} +1 -1
- package/build/esm/index-07905741.js +1 -0
- package/build/esm/{index-be799035.js → index-0d9821e3.js} +1 -1
- package/build/esm/{index-1b739c0f.js → index-16d9b234.js} +1 -1
- package/build/esm/{index-33249c53.js → index-18ff3f75.js} +1 -1
- package/build/esm/index-1f2316ca.js +1 -0
- package/build/esm/index-200ec6b1.js +1 -0
- package/build/esm/index-418f072b.js +1 -0
- package/build/esm/{index-50966ef5.js → index-557e3a42.js} +1 -1
- package/build/esm/{index-9ce23cf9.js → index-5ef00905.js} +133 -133
- package/build/esm/{index-db355cb6.js → index-5f52d2b1.js} +1 -1
- package/build/esm/{index-9b291dbc.js → index-661f66bf.js} +4 -4
- package/build/esm/{index-fa0e79c9.js → index-7e4d8533.js} +1 -1
- package/build/esm/{index-f0a76afe.js → index-89127303.js} +1 -1
- package/build/esm/{index-3069179b.js → index-8c1e2ce6.js} +15 -15
- package/build/esm/index-8f4b4a7f.js +1 -0
- package/build/esm/index-a9cbaabd.js +1 -0
- package/build/esm/{index-1b2bbe20.js → index-c2e4449d.js} +1 -1
- package/build/esm/{index-312b44d3.js → index-c6fcc250.js} +1 -1
- package/build/esm/index-ebd9ace0.js +1 -0
- package/build/esm/index-ed71bf72.js +177 -0
- package/build/esm/{index-ac24da82.js → index-f03e0f09.js} +2 -2
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-1c236ab1.js → index.styled-c2100f19.js} +3 -3
- package/build/esm/{index.styles-a03d950d.js → index.styles-d3334c25.js} +30 -52
- 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/onboardingV2.js +9 -9
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-b590590d.js → routing-a6c8f9f9.js} +1 -1
- package/build/esm/subot.js +4 -4
- package/build/esm/together.js +1 -1
- package/build/esm/{types-c6e7c169.js → types-202e947a.js} +34 -34
- package/build/esm/types-d7d54442.js +3004 -0
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-ff26e4ab.js → useCategory-3045fde3.js} +1 -1
- package/build/esm/useHealthToolCache-73b62210.js +1 -0
- package/build/esm/usePlacesAutocomplete-ff204ea8.js +1 -0
- package/build/esm/{useTranslations-e0daa580.js → useTranslations-cce18e33.js} +1 -1
- package/build/esm/{utils-e001b7cd.js → utils-508d45bb.js} +1 -1
- package/build/esm/{utils-ce0917df.js → utils-c6a7729e.js} +1 -1
- package/build/esm/utils-e3640c23.js +7 -0
- package/build/esm/vaccination.js +7 -7
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-ba27b7ff.js +1 -0
- package/build/{getSocialList-ebc3bedc.js → getSocialList-50dc70b7.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/index-01eb2479.js +177 -0
- package/build/index-0242b079.js +1 -0
- package/build/index-04da6493.js +1 -0
- package/build/{index-ed0c9758.js → index-0553b781.js} +1 -1
- package/build/index-0a9fa2c4.js +2748 -0
- package/build/index-0cecb118.js +1 -0
- package/build/{index-e3b81e2b.js → index-1305e723.js} +1 -1
- package/build/{index-5b6b2c78.js → index-166c60e5.js} +1 -1
- package/build/index-1c7247cc.js +113 -0
- package/build/{index-623df7b0.js → index-25e39319.js} +1 -1
- package/build/{index-53cc6b44.js → index-499c23d5.js} +1 -1
- package/build/{index-9ed593a6.js → index-6bff2cc3.js} +1 -1
- package/build/{index-037c6d12.js → index-76d08581.js} +1 -1
- package/build/{index-c8b6a8ef.js → index-7ad5f191.js} +1 -1
- package/build/{index-d62ab182.js → index-7b33ac50.js} +1 -1
- package/build/{index-fc90134e.js → index-856f5069.js} +1 -1
- package/build/{index-6c68d5dc.js → index-9770314e.js} +1 -1
- package/build/{index-22f4fd6c.js → index-a35a2780.js} +1 -1
- package/build/index-b21da1ea.js +1 -0
- package/build/{index-0150fed8.js → index-d5e1c0b8.js} +1 -1
- package/build/index-d85d7a99.js +1 -0
- package/build/index-e05e160d.js +1 -0
- package/build/{index-c9528c05.js → index-e1263b2f.js} +2 -2
- package/build/index-f4c55cce.js +1 -0
- package/build/index.js +1 -1
- package/build/{index.styled-1958604c.js → index.styled-b45c0dd2.js} +1 -1
- package/build/{index.styles-68371264.js → index.styles-ce777fa6.js} +31 -53
- 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/onboardingV2.js +1 -1
- package/build/pwg.js +3 -3
- package/build/{routing-a7dc2189.js → routing-d3de5002.js} +1 -1
- package/build/subot.js +4 -4
- package/build/together.js +1 -1
- package/build/{types-2137cf85.js → types-61b2a9ef.js} +2 -2
- package/build/{types-3fb7aac1.js → types-d8cdfbc7.js} +202 -202
- package/build/types.js +1 -1
- package/build/{useCategory-6f99cbae.js → useCategory-7bd8370b.js} +1 -1
- package/build/{useHealthToolCache-c04067d5.js → useHealthToolCache-79d56870.js} +1 -1
- package/build/{usePlacesAutocomplete-e4483245.js → usePlacesAutocomplete-c4bd074d.js} +1 -1
- package/build/{useTranslations-7b1d2a42.js → useTranslations-e2b22984.js} +1 -1
- package/build/utils-5ea654b8.js +1 -0
- package/build/{utils-6bc70daf.js → utils-7a63c632.js} +1 -1
- package/build/{utils-15905433.js → utils-c3b0bf92.js} +1 -1
- package/build/vaccination.js +5 -5
- package/package.json +2 -4
- package/build/core-ec7c2653.js +0 -1
- package/build/esm/getDynamicHealthTool-3e47af5e.js +0 -1
- package/build/esm/index-11636ff0.js +0 -1
- package/build/esm/index-59846b43.js +0 -1
- package/build/esm/index-67859006.js +0 -1
- package/build/esm/index-7cda7811.js +0 -1
- package/build/esm/index-85405d41.js +0 -1
- package/build/esm/index-85ffc46a.js +0 -1
- package/build/esm/index-9ffeb716.js +0 -1
- package/build/esm/index-b9208fea.js +0 -1
- package/build/esm/index-d95a1b4a.js +0 -1
- package/build/esm/index-f4a8ceb8.js +0 -177
- package/build/esm/types-95984a69.js +0 -3004
- package/build/esm/useHealthToolCache-b020b169.js +0 -1
- package/build/esm/usePlacesAutocomplete-3ea89e45.js +0 -1
- package/build/esm/utils-8d710399.js +0 -8
- package/build/getDynamicHealthTool-cbff2eeb.js +0 -1
- package/build/index-1b5db579.js +0 -1
- package/build/index-62719626.js +0 -1
- package/build/index-80c4f2c2.js +0 -1
- package/build/index-95f73b67.js +0 -177
- package/build/index-a41cabac.js +0 -1
- package/build/index-b30f59f0.js +0 -2748
- package/build/index-b81934e8.js +0 -113
- package/build/index-bd51c213.js +0 -1
- package/build/index-c1e3a341.js +0 -1
- package/build/index-d2628773.js +0 -1
- package/build/index-fc387e15.js +0 -1
- package/build/utils-a9092761.js +0 -8
- /package/build/{BMI_BOYS.percentile.monthly-8adbf482.js → BMI_BOYS.percentile.monthly-5cd79b25.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-3eb941c8.js → BMI_BOYS.percentile.weekly-fc72eb47.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-2aa4e53f.js → BMI_BOYS.percentile.yearly-9f13a908.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-3718ad7a.js → BMI_BOYS.zscore.monthly-f306d58d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-69bc9749.js → BMI_BOYS.zscore.weekly-9d80c0e2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-9e05bae6.js → BMI_BOYS.zscore.yearly-9ade76a5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-03676320.js → BMI_GIRLS.percentile.monthly-0318da9f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0f9f09a0.js → BMI_GIRLS.percentile.weekly-1f566aaa.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-2f91ff8c.js → BMI_GIRLS.percentile.yearly-215b3cba.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-0bb66eaa.js → BMI_GIRLS.zscore.monthly-bae848b2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-f95ca6b0.js → BMI_GIRLS.zscore.weekly-2371a64f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-9a3cf52f.js → BMI_GIRLS.zscore.yearly-9ecfbccb.js} +0 -0
- /package/build/{ChevronDown-d46a5bcb.js → ChevronDown-9a823643.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-9d7619e4.js → HEAD CIRCUM_BOYS.percentile.monthly-0d2ab2e7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-8ead168e.js → HEAD CIRCUM_BOYS.percentile.weekly-27bac0cb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-2bf80550.js → HEAD CIRCUM_BOYS.percentile.yearly-b175db79.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-811f5f6d.js → HEAD CIRCUM_BOYS.zscore.monthly-f5c6bdd6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-154d1691.js → HEAD CIRCUM_BOYS.zscore.weekly-bfdc4392.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-e356d046.js → HEAD CIRCUM_BOYS.zscore.yearly-14f0889d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-9ec6f154.js → HEAD CIRCUM_GIRLS.percentile.monthly-903e7189.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-65d13454.js → HEAD CIRCUM_GIRLS.percentile.weekly-748869a7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-ea1414fb.js → HEAD CIRCUM_GIRLS.percentile.yearly-2a680f48.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-409f1d06.js → HEAD CIRCUM_GIRLS.zscore.monthly-e054510e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-94a49cbc.js → HEAD CIRCUM_GIRLS.zscore.weekly-eb025087.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-03d1d7b2.js → HEAD CIRCUM_GIRLS.zscore.yearly-011649a2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-41491e22.js → HEIGHT_BOYS.percentile.monthly-7e9898ff.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-5d4f763e.js → HEIGHT_BOYS.percentile.weekly-a7df6826.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-e9be7818.js → HEIGHT_BOYS.percentile.yearly-7f716f35.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-e25ee327.js → HEIGHT_BOYS.zscore.monthly-a180ab2d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-001f97c1.js → HEIGHT_BOYS.zscore.weekly-92934eaa.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-4a679171.js → HEIGHT_BOYS.zscore.yearly-bd2cf58f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-cccdf70f.js → HEIGHT_GIRLS.percentile.monthly-a90a6654.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-600bbb22.js → HEIGHT_GIRLS.percentile.weekly-b89741cd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-3c159602.js → HEIGHT_GIRLS.percentile.yearly-03631447.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-98b8a7fa.js → HEIGHT_GIRLS.zscore.monthly-aac24454.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-e8a21d4f.js → HEIGHT_GIRLS.zscore.weekly-2869cc02.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-d7be5a01.js → HEIGHT_GIRLS.zscore.yearly-fc370322.js} +0 -0
- /package/build/{Subot-734c2f35.js → Subot-6f44f7d1.js} +0 -0
- /package/build/{Visible-219a2759.js → Visible-e3703df9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-94d8bc13.js → WEIGHT_BOYS.percentile.monthly-975193d0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-cb0bde95.js → WEIGHT_BOYS.percentile.weekly-b5c38df2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-27457426.js → WEIGHT_BOYS.percentile.yearly-240ed2c9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-ab05904c.js → WEIGHT_BOYS.zscore.monthly-fa43b6c3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-d74e8f7f.js → WEIGHT_BOYS.zscore.weekly-046b9f1b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-e638eac2.js → WEIGHT_BOYS.zscore.yearly-ae9412de.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-b6129dff.js → WEIGHT_GIRLS.percentile.monthly-6d56fb24.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-62036203.js → WEIGHT_GIRLS.percentile.weekly-f9e08e94.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-2474c547.js → WEIGHT_GIRLS.percentile.yearly-980c7b20.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-52a09e85.js → WEIGHT_GIRLS.zscore.monthly-f27b0da0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-2b4b7574.js → WEIGHT_GIRLS.zscore.weekly-666d490e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-fff81daf.js → WEIGHT_GIRLS.zscore.yearly-5f28002e.js} +0 -0
- /package/build/{animation-00e9b0d8.js → animation-e73dc040.js} +0 -0
- /package/build/{cookieHelper-4c758514.js → cookieHelper-3b9ceb4e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a50410b7.js → BMI_BOYS.percentile.monthly-5245a76e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-a9595be9.js → BMI_BOYS.percentile.weekly-69f6d409.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-0426e66f.js → BMI_BOYS.percentile.yearly-6b7c67a5.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-15f8703a.js → BMI_BOYS.zscore.monthly-54f7384d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-051f52a7.js → BMI_BOYS.zscore.weekly-208ea2d6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-5510bacf.js → BMI_BOYS.zscore.yearly-95fb8846.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-52442598.js → BMI_GIRLS.percentile.monthly-ffd9ffc6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-14ec588c.js → BMI_GIRLS.percentile.weekly-ca8fcfee.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-3f7db829.js → BMI_GIRLS.percentile.yearly-b30eb957.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-7d8df34b.js → BMI_GIRLS.zscore.monthly-4fd0f8f1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-8f94f576.js → BMI_GIRLS.zscore.weekly-d6b98de6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-55d9b77e.js → BMI_GIRLS.zscore.yearly-fbb5ee44.js} +0 -0
- /package/build/esm/{ChevronDown-40b10892.js → ChevronDown-8452962e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-fbeaefb9.js → HEAD CIRCUM_BOYS.percentile.monthly-09c89acf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-f9f5ca74.js → HEAD CIRCUM_BOYS.percentile.weekly-a15b9bbb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-c9b312a9.js → HEAD CIRCUM_BOYS.percentile.yearly-c6feccdc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-13dc3335.js → HEAD CIRCUM_BOYS.zscore.monthly-591fe4e6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-bbb37bc8.js → HEAD CIRCUM_BOYS.zscore.weekly-6e915af3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-106d9d42.js → HEAD CIRCUM_BOYS.zscore.yearly-59e4bfc4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-7ea6555c.js → HEAD CIRCUM_GIRLS.percentile.monthly-303fa4d4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-be61f273.js → HEAD CIRCUM_GIRLS.percentile.weekly-740b13f4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-4413a297.js → HEAD CIRCUM_GIRLS.percentile.yearly-d0589d47.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d4b0116a.js → HEAD CIRCUM_GIRLS.zscore.monthly-5d8fda84.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-9f3be1f1.js → HEAD CIRCUM_GIRLS.zscore.weekly-a8c3171f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-6b854cb0.js → HEAD CIRCUM_GIRLS.zscore.yearly-95746ad3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-49d8bdfc.js → HEIGHT_BOYS.percentile.monthly-63abb64c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-69c0786d.js → HEIGHT_BOYS.percentile.weekly-e084fc63.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-7b0d90e4.js → HEIGHT_BOYS.percentile.yearly-fe73951b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-04075fe3.js → HEIGHT_BOYS.zscore.monthly-cd438afc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-628ef3ab.js → HEIGHT_BOYS.zscore.weekly-654e6872.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-ae2e0a80.js → HEIGHT_BOYS.zscore.yearly-f93b88e1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-41f4bb91.js → HEIGHT_GIRLS.percentile.monthly-a7fceb4a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-219be2d7.js → HEIGHT_GIRLS.percentile.weekly-0ffd736b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-cc5872ab.js → HEIGHT_GIRLS.percentile.yearly-bc5ba895.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-7988762a.js → HEIGHT_GIRLS.zscore.monthly-a527f6b5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-a7d4c5b1.js → HEIGHT_GIRLS.zscore.weekly-0432321b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-1249e6a9.js → HEIGHT_GIRLS.zscore.yearly-580f5550.js} +0 -0
- /package/build/esm/{Subot-0e4849b0.js → Subot-ade21804.js} +0 -0
- /package/build/esm/{Visible-b1de2e9d.js → Visible-39f22e26.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-503f63ff.js → WEIGHT_BOYS.percentile.monthly-f146d4b0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-2fec0fd8.js → WEIGHT_BOYS.percentile.weekly-b90291b2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-f0de1169.js → WEIGHT_BOYS.percentile.yearly-1c5bc721.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c51d03c4.js → WEIGHT_BOYS.zscore.monthly-e7f77bb7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-c146b30b.js → WEIGHT_BOYS.zscore.weekly-a964f7fe.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-8479f33d.js → WEIGHT_BOYS.zscore.yearly-0cd3170e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-861e86eb.js → WEIGHT_GIRLS.percentile.monthly-963226db.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-876b1e59.js → WEIGHT_GIRLS.percentile.weekly-137218b5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-e3a3e2af.js → WEIGHT_GIRLS.percentile.yearly-ec29d8fe.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-40b17ebe.js → WEIGHT_GIRLS.zscore.monthly-14843702.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-3a3230ea.js → WEIGHT_GIRLS.zscore.weekly-43d4a42b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-5b004947.js → WEIGHT_GIRLS.zscore.yearly-878837ef.js} +0 -0
- /package/build/esm/{animation-19ab3c72.js → animation-1d694586.js} +0 -0
- /package/build/esm/{cookieHelper-76c1b6e2.js → cookieHelper-3fe8fdf3.js} +0 -0
- /package/build/esm/{index-9f0fde05.js → index-761ce6cc.js} +0 -0
- /package/build/esm/{index-74c1cc82.js → index-8cf56535.js} +0 -0
- /package/build/esm/{index-42067455.js → index-9a776a7f.js} +0 -0
- /package/build/esm/{isProduction-e92e11fa.js → isProduction-8ae381c3.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a278edeb.js → localizeNumberFormat-5846bb60.js} +0 -0
- /package/build/esm/{normalizeLink-9cf3dc30.js → normalizeLink-cfd22388.js} +0 -0
- /package/build/esm/{number-e6dc4030.js → number-c9fbe4ab.js} +0 -0
- /package/build/esm/{paths-0df3c801.js → paths-dfd6bdd2.js} +0 -0
- /package/build/esm/{theme-c0efd55f.js → theme-2f0d6367.js} +0 -0
- /package/build/esm/{translationsContext-4a21fabd.js → translationsContext-d3dc4282.js} +0 -0
- /package/build/esm/{tslib.es6-6fef0731.js → tslib.es6-4a7efa3e.js} +0 -0
- /package/build/esm/{types-c948c249.js → types-0d3813ec.js} +0 -0
- /package/build/esm/{useIsInit-0cdfffaf.js → useIsInit-8d70a700.js} +0 -0
- /package/build/esm/{useOutsideClick-2f40751d.js → useOutsideClick-7826d461.js} +0 -0
- /package/build/esm/{useScrollbarSize-6f788326.js → useScrollbarSize-7519cdcf.js} +0 -0
- /package/build/esm/{useUniqueId-10c0adc1.js → useUniqueId-463b8d94.js} +0 -0
- /package/build/esm/{utils-00f9dcec.js → utils-597f4846.js} +0 -0
- /package/build/{index-8973236c.js → index-4da2b598.js} +0 -0
- /package/build/{index-95223466.js → index-56b73a7a.js} +0 -0
- /package/build/{index-2f7900de.js → index-c2ff8b54.js} +0 -0
- /package/build/{isProduction-e65a19fd.js → isProduction-822a7286.js} +0 -0
- /package/build/{localizeNumberFormat-195e188c.js → localizeNumberFormat-f54c1770.js} +0 -0
- /package/build/{normalizeLink-292e450c.js → normalizeLink-f9713014.js} +0 -0
- /package/build/{number-814b5c33.js → number-3835f480.js} +0 -0
- /package/build/{paths-c1558ac9.js → paths-0bb9c960.js} +0 -0
- /package/build/{theme-be6da0df.js → theme-b5bd9d5b.js} +0 -0
- /package/build/{translationsContext-58bc3a86.js → translationsContext-4202bcac.js} +0 -0
- /package/build/{tslib.es6-0aa100a0.js → tslib.es6-94d9fc9f.js} +0 -0
- /package/build/{types-9cb98828.js → types-baa14b03.js} +0 -0
- /package/build/{useIsInit-0ba60d04.js → useIsInit-8be51b79.js} +0 -0
- /package/build/{useOutsideClick-04665c58.js → useOutsideClick-b08de0a8.js} +0 -0
- /package/build/{useScrollbarSize-c6f60120.js → useScrollbarSize-f6774988.js} +0 -0
- /package/build/{useUniqueId-f7fd741a.js → useUniqueId-ff7774a5.js} +0 -0
- /package/build/{utils-cc67513f.js → utils-82e9e1c2.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./tslib.es6-6fef0731.js";import{useState as t,useEffect as e,useCallback as i}from"react";import{a}from"./getDynamicHealthTool-3e47af5e.js";const l=l=>{const[n,r]=t([]);e((()=>{o(void 0,void 0,void 0,(function*(){const o=yield a(l);r(o)}))}),[a,l]);const s=i((o=>{var t;return(null===(t=n.find((t=>t.template===o)))||void 0===t?void 0:t.link)||""}),[n]);return{allTools:n,getHealthToolLink:s}};export{l as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./tslib.es6-6fef0731.js";import{useState as i,useEffect as t}from"react";const o="undefined"==typeof window,n={VN:"vi",ID:"id",TH:"th",MY:"ms",TW:"zh-TW",KH:"km",MM:"my",IN:"hi",PH:"en"},r="AIzaSyD9AbNa4AFwr8eNVs90G1YhQLhfWJ6KncU",c=(r="",c="",s="",a=500)=>{const[d,l]=i([]),[p,u]=i(!1);return t((()=>{let i;return r?i=window.setTimeout((()=>e(void 0,void 0,void 0,(function*(){var i;if(r)try{u(!0);const t=yield((i="",t="",r="vi")=>e(void 0,void 0,void 0,(function*(){return new Promise(((e,c)=>{if(!i)return c("Need valid text input");if(o)return c("Need valid window object");try{(new window.google.maps.places.AutocompleteService).getPlacePredictions(Object.assign(Object.assign({input:i},t?{componentRestrictions:{country:t}}:{}),{language:n[r]}),e)}catch(e){c(e)}}))})))(r,c,s);l(!(i=t)||i.length<1?[]:i.map((e=>({placeId:e.place_id,description:e.description}))))}catch(e){console.error(e)}finally{u(!1)}else l([])}))),a):d.length&&l([]),()=>{window.clearTimeout(i)}}),[r,a,c]),{isLoading:p,predictions:d}};export{r as G,n as a,c as u};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-6fef0731.js";import r,{createContext as o,useState as i,useEffect as a}from"react";import{t as s}from"./theme-c0efd55f.js";import{g as l}from"./cookieHelper-76c1b6e2.js";import n from"slugify";import"./index-1cb70e7d.js";import c from"string-format";import{i as u}from"./isProduction-e92e11fa.js";const _=t=>{var{size:o,color:i,useCurrentColor:a,isActive:s,activeColor:l}=t,n=e(t,["size","color","useCurrentColor","isActive","activeColor"]);const c=a?"currentColor":s?l:i,u=Object.assign({width:o,height:o},n);return r.createElement("svg",Object.assign({width:o,height:o,viewBox:"0 0 18 18",fill:"none"},u),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00183 11.6827C9.85164 11.6827 10.5734 11.3852 11.1672 10.7903C11.7609 10.1955 12.0578 9.4731 12.0578 8.62328C12.0578 7.77346 11.7604 7.05168 11.1655 6.45793C10.5706 5.86418 9.84824 5.56731 8.99841 5.56731C8.1486 5.56731 7.42682 5.86474 6.83307 6.45962C6.23932 7.05451 5.94245 7.77686 5.94245 8.62669C5.94245 9.4765 6.23988 10.1983 6.83476 10.792C7.42965 11.3858 8.152 11.6827 9.00183 11.6827ZM9.00012 10.65C8.43762 10.65 7.9595 10.4531 7.56575 10.0594C7.172 9.66561 6.97512 9.18748 6.97512 8.62498C6.97512 8.06248 7.172 7.58436 7.56575 7.19061C7.9595 6.79686 8.43762 6.59998 9.00012 6.59998C9.56262 6.59998 10.0407 6.79686 10.4345 7.19061C10.8282 7.58436 11.0251 8.06248 11.0251 8.62498C11.0251 9.18748 10.8282 9.66561 10.4345 10.0594C10.0407 10.4531 9.56262 10.65 9.00012 10.65ZM9.00012 13.875C7.42128 13.875 5.9773 13.4538 4.66818 12.6115C3.35904 11.7692 2.31409 10.661 1.53333 9.28699C1.47083 9.1793 1.42515 9.07077 1.3963 8.96139C1.36745 8.85201 1.35303 8.73974 1.35303 8.62461C1.35303 8.50947 1.36745 8.39734 1.3963 8.28821C1.42515 8.17908 1.47083 8.07066 1.53333 7.96298C2.31409 6.58894 3.35904 5.48077 4.66818 4.63847C5.9773 3.79616 7.42128 3.375 9.00012 3.375C10.579 3.375 12.0229 3.79616 13.3321 4.63847C14.6412 5.48077 15.6862 6.58894 16.4669 7.96298C16.5294 8.07066 16.5751 8.17919 16.6039 8.28857C16.6328 8.39796 16.6472 8.51022 16.6472 8.62536C16.6472 8.74049 16.6328 8.85263 16.6039 8.96175C16.5751 9.07089 16.5294 9.1793 16.4669 9.28699C15.6862 10.661 14.6412 11.7692 13.3321 12.6115C12.0229 13.4538 10.579 13.875 9.00012 13.875ZM9.00012 12.75C10.4126 12.75 11.7095 12.3781 12.8907 11.6344C14.072 10.8906 14.9751 9.88748 15.6001 8.62498C14.9751 7.36248 14.072 6.35936 12.8907 5.61561C11.7095 4.87186 10.4126 4.49998 9.00012 4.49998C7.58762 4.49998 6.29075 4.87186 5.1095 5.61561C3.92825 6.35936 3.02512 7.36248 2.40012 8.62498C3.02512 9.88748 3.92825 10.8906 5.1095 11.6344C6.29075 12.3781 7.58762 12.75 9.00012 12.75Z",fill:c}))};_.defaultProps={size:24,color:s.colors.gray600,activeColor:s.colors.primaryBase};const d=t=>{var{size:o,color:i,activeColor:a,isActive:s,isMarryBaby:l}=t,n=e(t,["size","color","activeColor","isActive","isMarryBaby"]);return l?r.createElement("svg",Object.assign({width:o,height:o,viewBox:"0 0 24 24",fill:"none"},n),r.createElement("path",{d:"M18 8L19 8C20.1046 8 21 8.89543 21 10L21 15.155C21 17.3585 19.4253 19.2551 17.2391 19.6848C15.1006 20.1051 8.89937 20.1051 6.76089 19.6848C4.57467 19.2551 3 17.3585 3 15.155L3 10C3 8.89543 3.89543 8 5 8L6 8",stroke:s?a:i,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12 13L12 3M12 3L9.5 5.5M12 3L14.5 5.5",stroke:s?a:i,strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})):r.createElement("svg",Object.assign({width:o,height:o,fill:"none",viewBox:"0 0 24 24"},n),r.createElement("path",{fill:s?a:i,d:"M19 3c-1.652 0-3 1.348-3 3 0 .46.113.895.3 1.285L12.587 11h-4.77A2.999 2.999 0 005 9c-1.652 0-3 1.348-3 3s1.348 3 3 3c1.3 0 2.402-.84 2.816-2h4.77l3.715 3.715c-.188.39-.301.824-.301 1.285 0 1.652 1.348 3 3 3s3-1.348 3-3-1.348-3-3-3c-.46 0-.895.113-1.285.3l-3.3-3.3 3.3-3.3c.39.187.824.3 1.285.3 1.652 0 3-1.348 3-3s-1.348-3-3-3z"}))};d.defaultProps={size:24,color:s.colors.gray600,activeColor:s.colors.primaryBase,isActive:!1};const E=t=>{var{size:o=24,color:i,isMarryBaby:a}=t,s=e(t,["size","color","isMarryBaby"]);return r.createElement("svg",Object.assign({style:{display:"block",shapeRendering:"auto"},width:o,height:o,viewBox:"30 30 40 40",preserveAspectRatio:"xMidYMid"},s),r.createElement("circle",{cx:"50",cy:"50",fill:"none",stroke:i||(a?"#e85388":"#91caff"),strokeWidth:"7",r:"16",strokeDasharray:"75.39822368615503 27.132741228718345"},r.createElement("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1.2s",values:"0 50 50;360 50 50",keyTimes:"0;1"})))};E.defaultProps={size:24};const p=t=>{var{size:o,color:i,useCurrentColor:a,isActive:s,activeColor:l}=t,n=e(t,["size","color","useCurrentColor","isActive","activeColor"]);const c=a?"currentColor":s?l:i,u=Object.assign({width:o,height:o},n);return r.createElement("svg",Object.assign({viewBox:"0 0 16 16",fill:"none"},u),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.00132 0.125C3.65869 0.125 0.12632 3.65737 0.12632 8C0.12632 9.52948 0.558762 10.9952 1.38268 12.2698L0.185496 14.9054C0.0762474 15.1467 0.117216 15.4335 0.290192 15.6337C0.422201 15.7885 0.613386 15.875 0.813675 15.875C0.872851 15.875 0.93658 15.8659 0.995756 15.8522L4.29142 14.9464C5.42943 15.5564 6.70399 15.875 8.00132 15.875C12.344 15.875 15.8763 12.3426 15.8763 8C15.8763 3.65737 12.344 0.125 8.00132 0.125ZM8.00132 14.5003C6.84966 14.5003 5.72076 14.1953 4.72842 13.6172C4.62372 13.5535 4.50081 13.5216 4.38246 13.5216C4.32329 13.5216 4.25956 13.5307 4.20038 13.5444L2.04727 14.1361L2.79836 12.4837C2.8985 12.2607 2.87574 11.9967 2.73008 11.7964C1.92892 10.6857 1.50558 9.37016 1.50558 8C1.50558 4.41756 4.41888 1.49971 8.00587 1.49971C11.5883 1.49971 14.5062 4.41301 14.5062 8C14.5016 11.5824 11.5838 14.5003 8.00132 14.5003Z",fill:c}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0279 9.17924C10.7002 8.9835 10.2677 8.76045 9.88083 8.91978C9.58494 9.04268 9.39376 9.50699 9.19802 9.74824C9.09788 9.87115 8.97952 9.88936 8.82931 9.83018C7.70951 9.38408 6.85373 8.63755 6.23465 7.60879C6.12996 7.44947 6.14817 7.32202 6.27562 7.17635C6.46226 6.95785 6.69441 6.70749 6.74448 6.41161C6.79455 6.11573 6.65799 5.76978 6.53509 5.50576C6.38032 5.16891 6.20279 4.69095 5.86594 4.49976C5.5564 4.32678 5.14672 4.42238 4.86905 4.64543C4.39108 5.03235 4.16348 5.64232 4.16804 6.24319C4.16804 6.41616 4.1908 6.58459 4.23176 6.75301C4.32736 7.14904 4.51399 7.5223 4.71883 7.87736C4.8736 8.14138 5.04658 8.40084 5.22866 8.65121C5.82497 9.46602 6.5715 10.1716 7.43184 10.6996C7.86428 10.9636 8.32858 11.1958 8.80655 11.3551C9.34369 11.5326 9.8262 11.7193 10.4089 11.61C11.0188 11.4962 11.6197 11.1184 11.861 10.5312C11.9338 10.3582 11.9702 10.1625 11.9292 9.9804C11.8473 9.58892 11.3329 9.36132 11.0279 9.17924Z",fill:c}))};p.defaultProps={size:24,color:s.colors.gray600,activeColor:s.colors.primaryBase};
|
|
2
|
-
/*!
|
|
3
|
-
* cookie
|
|
4
|
-
* Copyright(c) 2012-2014 Roman Shtylman
|
|
5
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
6
|
-
* MIT Licensed
|
|
7
|
-
*/
|
|
8
|
-
var m=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var r={},o=(t||{}).decode||b,i=0;for(;i<e.length;){var a=e.indexOf("=",i);if(-1===a)break;var s=e.indexOf(";",i);if(-1===s)s=e.length;else if(s<a){i=e.lastIndexOf(";",a-1)+1;continue}var l=e.slice(i,a).trim();if(void 0===r[l]){var n=e.slice(a+1,s).trim();34===n.charCodeAt(0)&&(n=n.slice(1,-1)),r[l]=A(n,o)}i=s+1}return r},T=function(e,t,r){var o=r||{},i=o.encode||g;if("function"!=typeof i)throw new TypeError("option encode is invalid");if(!O.test(e))throw new TypeError("argument name is invalid");var a=i(t);if(a&&!O.test(a))throw new TypeError("argument val is invalid");var s=e+"="+a;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(l)}if(o.domain){if(!O.test(o.domain))throw new TypeError("option domain is invalid");s+="; Domain="+o.domain}if(o.path){if(!O.test(o.path))throw new TypeError("option path is invalid");s+="; Path="+o.path}if(o.expires){var n=o.expires;if(!function(e){return"[object Date]"===h.call(e)||e instanceof Date}(n)||isNaN(n.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+n.toUTCString()}o.httpOnly&&(s+="; HttpOnly");o.secure&&(s+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s},h=Object.prototype.toString,O=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function b(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function g(e){return encodeURIComponent(e)}function A(e,t){try{return t(e)}catch(t){return e}}var v={parse:m,serialize:T};const L={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"},HEALTH_TOOL:{CREATE:"health-profile/{type}/create?website_url={website_url}",GET_STATUS:"health-profile/get-status-for-user?website_url={website_url}"}},I={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},C={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},w={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},S={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},R=o({data:S,action:{pushNotifications:e=>e,sanitizeFunction:e=>e},formatMessage:()=>null});let f=S;const y=({locale:e="vi-VN",children:t,userInfo:o,router:s,env:l={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:n=(e=>e),pushNotifications:c=(()=>!1),formatMessage:u})=>{const[_,d]=i();return f={userInfo:o,locale:e,togetherUserId:_,router:s,env:l},a((()=>{(null==o?void 0:o.id)&&ae(Z(L.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),r.createElement(R.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:_,router:s,env:l},action:{pushNotifications:c,sanitizeFunction:n},formatMessage:u}},t)},P="DD/MM/YYYY",D="/images/avatar.jpg",G="/images/default-image.jpg",M={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},N={"id-ID":{"kalkulator-bmi":M.BMI,"kebutuhan-kalori":M.BMR,"kalkulator-hari-perkiraan-lahir":M.DUE_DATE,"kalkulator-masa-subur-2":M.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":M.PWG,"kalkulator-detak-jantung-saat-olahraga":M.THR},"ms-MY":{"kalkulator-bmi":M.BMI,"kalkulator-bmr":M.BMR,"kalkulator-tarikh-bersalin":M.DUE_DATE,"kalkulator-kesuburan":M.OVULATION,"kalkulator-tambah-berat-badan-hamil":M.PWG,"target-heart-rate-calculator":M.THR},"vi-VN":{"cach-tinh-chi-so-bmi":M.BMI,"tinh-chi-so-bmr":M.BMR,"cong-cu-tinh-ngay-du-sinh":M.DUE_DATE,"tinh-ngay-rung-trung":M.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":M.PWG,"cong-cu-do-nhip-tim":M.THR},"zh-TW":{"bmi-calculator":M.BMI,"bmr-calculator":M.BMR,"due-date-calculator":M.DUE_DATE,"ovulation-calculator":M.OVULATION,"pregnancy-weight-gain-calculator":M.PWG,"target-heart-rate-calculator":M.THR},"en-PH":{"bmi-calculator":M.BMI,"bmr-calculator":M.BMR,"due-date-calculator":M.DUE_DATE,"ovulation-calculator":M.OVULATION,"pregnancy-weight-gain-calculator":M.PWG,"target-heart-rate-calculator":M.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":M.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":M.BMR,"เครื่องมือคำนวณกำหนดคลอด":M.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":M.OVULATION,"เครื่องคำนวณน้ำหนักตัว":M.PWG,"เครื่องวัดอัตราการเต้น":M.THR},"hi-IN":{"bmi-calculator-en":M.BMI,"bmi-calculator":M.BMI,"bmr-calculator":M.BMR,"delivery-date-calculator":M.DUE_DATE,"ovulation-calculator":M.OVULATION,"pregnancy-weight-gain-calculator":M.PWG,"target-heart-rate-calculator":M.THR},"km-KH":{"គណនា-bmi":M.BMI,"គណនា-bmr":M.BMR,"គណនាថ្ងៃសម្រាលកូន":M.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":M.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":M.PWG,"គណនារកចង្វាក់បេះដូងល្អ":M.THR},"my-MM":{"bmi-calculator":M.BMI,"bmr-calculator":M.BMR,"due-date-calendar":M.DUE_DATE,"ovulation-calculator":M.OVULATION,"pregnaancy-weight-calculator":M.PWG,"target-heartrate":M.THR,"pregnancy-weight-calculator":M.PWG,"target-heart-rate":M.THR}},k="hhg_user_token",U="together_admin_token",B={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},H="hhg-id",x={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},j=20,F={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var K=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:P,DEFAULT_AVATAR_IMG:D,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:G,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:M,LOCALE_HEALTH_TOOLS:N,BEARER_TOKEN_COOKIE:k,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:U,Z_INDEX:B,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:H,GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:x,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:F});const V={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},Y={"vi-VN":"marrybaby.vn"},W=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",z=e=>{const{env:{isMarryBaby:t}}=f;return`https://${t?Y[e]:V[e]}`},$=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},X=e=>{const{env:{isMarryBaby:t}}=f;if("undefined"!=typeof window)return window.location.origin;const r="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${r?t?"fe.":"discover.":t?"www.":""}${V[e]}`},Z=(e,t,r,o)=>{let i="";r&&(i=Object.keys(r).map((e=>e+"="+r[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==f?void 0:f.env)||{};let s=c(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:z(String(t._locale))}:{}),t));s+=`${s.includes("?")?"&":"?"}${i}`;return(o||a)+"api/v1/"+$(s)},q=(e,t,r)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:i=""}=(null==f?void 0:f.env)||{};return(!u&&r?i:o)+"wp-json/api/"+$(c(e,Object.assign({},t)))},J=(e,t,r)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:i=""}=(null==f?void 0:f.env)||{};return(r&&!u?i:o)+"wp-json/api/"+$(c(e,Object.assign({},t)))},Q=(e,t)=>{const{careBaseApiUrl:r=""}=(null==f?void 0:f.env)||{};return(r||"https://service-health-care.hellohealthgroup.com/")+$(c(e,Object.assign({},t)))},ee=(e,t)=>{const{premiumBaseApiUrl:r=""}=(null==f?void 0:f.env)||{};return(r||"https://premium-content-stag.hellohealthgroup.com/")+$(c(e,Object.assign({},t)))},te=(e,t)=>{const{publicSSO:r=""}=(null==f?void 0:f.env)||{};return(r||"https://staging-id.hellobacsi.com/")+"api/"+$(c(e,Object.assign({},t)))},re=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),oe=(e,r,o,i=!1)=>t(void 0,void 0,void 0,(function*(){var t,a,s,l;try{const t=yield fetch(i?e:(l=e,encodeURI(l).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:r},re(o)),{headers:Object.assign({},null==o?void 0:o.headers)})).then((e=>e.json()));if(t)return t}catch(r){return console.log(r),console.log({url:e,status:null===(t=null==r?void 0:r.response)||void 0===t?void 0:t.status,statusText:null===(a=null==r?void 0:r.response)||void 0===a?void 0:a.statusText}),(null===(s=null==r?void 0:r.response)||void 0===s?void 0:s.data)||null}return null})),ie=(e,r="GET",o,i)=>t(void 0,void 0,void 0,(function*(){var t,a,s,n,c,u;try{const n="string"==typeof e?e:e.url,c="string"==typeof e?e:e.backupUrl,u=v.parse(i||""),_=u[k]||l(k);if(!_||!_.length)return oe(c||n,r,o);try{const e=yield fetch(n,Object.assign(Object.assign({method:r},re(o)),{headers:Object.assign({Authorization:"Bearer "+_},null==o?void 0:o.headers)})).then((e=>e.json()));if(null===(t=null==e?void 0:e.messages)||void 0===t?void 0:t.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return oe(c||n,r,o);if(e)return e}catch(e){return console.log({status:null===(a=null==e?void 0:e.response)||void 0===a?void 0:a.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),oe(c||n,r,o)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(c=null==e?void 0:e.response)||void 0===c?void 0:c.statusText}),(null===(u=null==e?void 0:e.response)||void 0===u?void 0:u.data)||null}return null})),ae=(e,r,o,i)=>t(void 0,void 0,void 0,(function*(){try{const t=v.parse(i||""),a=t[k]||l(k);if(a&&a.length){const t=yield fetch(e,Object.assign(Object.assign({method:r},re(o)),{headers:Object.assign({Authorization:"Bearer "+a},null==o?void 0:o.headers)})).then((e=>e.json()));if(t)return t}}catch(e){return null}return null})),se=(e,r,o,i)=>t(void 0,void 0,void 0,(function*(){try{const t=v.parse(i||""),a=t[U]||l(U);if(a&&a.length){const t=yield fetch(e,Object.assign(Object.assign({method:r},re(o)),{headers:Object.assign({Authorization:"Bearer "+a},null==o?void 0:o.headers)})).then((e=>e.json()));if(t)return t}}catch(e){return null}return null}));function le(e,t,r){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),i=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+r+"$2"):e+i+t+"="+r}const ne=(e,t,r="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let i="undefined"!=typeof window?window.location.origin:"";i||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(i=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:r}=f.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{le(o,e,t[e])})),le(o,"source","communities"),r?`${r}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${i}${r}/on-boarding?return=${encodeURIComponent(o)}`,t)},ce=(e,t,r,o)=>r&&t?`${r}-${t}`:`${n(e||"",{lower:!0,locale:o||W})}-${t}`,ue=({name:e,id:t,locale:r})=>{var o;return`/care/${null===(o=F[r||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${ce(e,t)}`},_e=({name:e,id:t,slug:r,locale:o})=>{var i;return`/care/${null===(i=F[o||"vi-VN"])||void 0===i?void 0:i.HOSPITAL}/${ce(e,t,r)}`};export{w as A,k as B,I as C,S as D,_ as E,f as G,M as H,H as L,j as M,L as P,x as R,d as S,R as T,p as W,B as Z,y as a,oe as b,K as c,Z as d,G as e,X as f,ne as g,Q as h,V as i,_e as j,ue as k,q as l,C as m,se as n,ae as o,D as p,J as q,ie as r,P as s,ee as t,z as u,te as v,E as w,Y as x,v as y,W as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-0aa100a0.js"),i=require("./normalizeLink-292e450c.js"),e=require("./routing-a7dc2189.js"),l=require("./core-ec7c2653.js");const o=(t,i)=>{var e,l;if(!t)return{};const o="tl-PH"===i?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(e=t.link)||void 0===e?void 0:e.startsWith("http"))?t.link:`${o}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${o}/`,"/")),subtitle:t.subtitle,title:t.title}},a=l=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,a;try{const n="tl-PH"===l?"lang=fil":"";let r=[];try{const s=yield fetch(i.normalizeLinkSlash(`${e.getDiscoverApiDomain(l)}/wp-json/api/healthtools?ismenu=0${n?"&"+n:""}`)).then((t=>t.json()));r=(null===(a=null===(t=null==s?void 0:s.data)||void 0===t?void 0:t.map)||void 0===a?void 0:a.call(t,(t=>o(t,l))))||[]}catch(t){}return r}catch(t){console.error(t)}}));exports.formatHealthTool=o,exports.getDynamicHealthTool=a,exports.getDynamicHealthToolWithCache=i=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield l.getDataWithCache("all-health-tools",(()=>a(i||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
|
package/build/index-1b5db579.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-0aa100a0.js"),r=require("react"),m=require("@mantine/core");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t,i=l(r);!function(e){e[e.regular=400]="regular",e[e.semiBold=600]="semiBold",e[e.bold=700]="bold"}(t||(t={}));const o={fontSize:{base:[m.rem(16),m.rem(16)],lg:[m.rem(18),m.rem(16)],md:[m.rem(18),m.rem(16)],sm:[m.rem(16),m.rem(14)],xs:[m.rem(14),m.rem(12)],s1:[m.rem(22),m.rem(18)],s2:[m.rem(18),m.rem(16)],s3:[m.rem(16),m.rem(14)],s4:[m.rem(14),m.rem(12)],s5:[m.rem(12),m.rem(12)],p1:[m.rem(18),m.rem(16)],p2:[m.rem(16),m.rem(16)],p3:[m.rem(16),m.rem(14)],p4:[m.rem(14),m.rem(12)],p5:[m.rem(12),m.rem(12)],c1:[m.rem(16),m.rem(14)],c2:[m.rem(14),m.rem(12)],n1:[m.rem(12),m.rem(12)],label1:[m.rem(14),m.rem(14)],label2:[m.rem(12),m.rem(12)],h1:[m.rem(40),m.rem(26)],h2:[m.rem(32),m.rem(24)],h3:[m.rem(26),m.rem(20)],h4:[m.rem(22),m.rem(18)],h5:[m.rem(18),m.rem(16)],h6:[m.rem(16),m.rem(14)]},lineHeight:{base:[m.rem(24),m.rem(24)],lg:[m.rem(32),m.rem(28)],md:[m.rem(32),m.rem(28)],sm:[m.rem(24),m.rem(22)],xs:[m.rem(24),m.rem(18)],s1:[m.rem(32),m.rem(26)],s2:[m.rem(28),m.rem(24)],s3:[m.rem(24),m.rem(24)],s4:[m.rem(22),m.rem(18)],s5:[m.rem(18),m.rem(18)],p1:[m.rem(28),m.rem(28)],p2:[m.rem(24),m.rem(24)],p3:[m.rem(24),m.rem(22)],p4:[m.rem(22),m.rem(18)],c1:[m.rem(24),m.rem(22)],c2:[m.rem(22),m.rem(18)],n1:[m.rem(18),m.rem(18)],label1:[m.rem(22),m.rem(22)],label2:[m.rem(18),m.rem(18)],h1:[m.rem(52),m.rem(34)],h2:[m.rem(42),m.rem(32)],h3:[m.rem(36),m.rem(26)],h4:[m.rem(32),m.rem(26)],h5:[m.rem(28),m.rem(24)],h6:[m.rem(24),m.rem(22)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2],h1:[-1.2,-.9],h2:[-1,-.8],h3:[-.8,-.7],h4:[-.6,-.6],h5:[-.2,-.2],h6:[0,-.2]},fontWeightBySize:{s1:t.semiBold,s2:t.semiBold,s3:t.semiBold,s4:t.semiBold,h1:t.bold,h2:t.bold,h3:t.bold,h4:t.bold,h5:t.bold,h6:t.bold},fontWeight:t},s=Object.assign({},o);var a=m.createStyles(((e,r)=>{var m,l,i,o,a,n,d,c,v,h;const g=Object.assign({},s),u=null===(m=g.fontSize[null==r?void 0:r.size])||void 0===m?void 0:m[0],p=null===(l=g.lineHeight[null==r?void 0:r.size])||void 0===l?void 0:l[0],b=null!==(a=null===(o=null===(i=g.letterSpacing)||void 0===i?void 0:i[null==r?void 0:r.size])||void 0===o?void 0:o[0])&&void 0!==a?a:0,f=null===(n=g.fontSize[null==r?void 0:r.size])||void 0===n?void 0:n[1],z=null===(d=g.lineHeight[null==r?void 0:r.size])||void 0===d?void 0:d[1],y=null!==(h=null===(v=null===(c=g.letterSpacing)||void 0===c?void 0:c[null==r?void 0:r.size])||void 0===v?void 0:v[1])&&void 0!==h?h:0;return{root:Object.assign(Object.assign({},(null==r?void 0:r.size)&&{fontWeight:"label"===(null==r?void 0:r.as)?t.semiBold:g.fontWeightBySize[null==r?void 0:r.size]||g.fontWeight[r.weight],fontSize:`${u}`,lineHeight:`${p}`,letterSpacing:b,[e.fn.smallerThan("sm")]:{fontSize:`${f}`,lineHeight:`${z}`,letterSpacing:y}}),{"&[data-event-category] > *":{pointerEvents:"none"}})}}));exports.OTHER_THEME_CONFIG=s,exports.Text=r=>{var l,{size:t,color:o,weight:s="regular",as:n="p",styles:d,className:c,dataEventCategory:v,dataEventAction:h,dataEventLabel:g}=r,u=e.__rest(r,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel"]);const{theme:p,classes:b,cx:f}=a({size:t,weight:"caption"===s?"bold":s,as:n},{name:"Text",styles:d});return i.default.createElement(m.Text,Object.assign({className:f(b.root,c),color:o||("label"===n?p.colors.gray[6]:"mb"===(null===(l=null==p?void 0:p.other)||void 0===l?void 0:l.template)?p.colors.delftGray[7]:p.colors.gray[7]),component:n,"data-event-category":v,"data-event-action":h,"data-event-label":g,classNames:{root:Object.assign(Object.assign({},u.wordWrap?{"word-wrap":u.wordWrap}:void 0),u.isUppercase||"caption"===s?{"text-transform":"uppercase"}:void 0)}},u))};
|
package/build/index-62719626.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-0aa100a0.js"),t=require("react"),a=require("@mantine/core"),r=require("./index-1b5db579.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(t);exports.Heading=t=>{var{as:n,tag:i,color:s,fontWeight:d,dataEventCategory:c,dataEventAction:l,dataEventLabel:u}=t,v=e.__rest(t,["as","tag","color","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const g=n||i,b=a.useMantineTheme();return o.default.createElement(r.Text,Object.assign({as:g,color:s||b.colors.gray[8],"data-event-category":c,"data-event-action":l,"data-event-label":u,weight:"semibold"===d?"semiBold":"bold",size:i},v))};
|
package/build/index-80c4f2c2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-0aa100a0.js"),t=require("react"),s=require("@mantine/core"),l=require("./index-c8b6a8ef.js"),a=require("./index-b81934e8.js"),n=require("./index-1b5db579.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);exports.Modal=t=>{var{title:r,styles:i}=t,u=e.__rest(t,["title","styles"]);const{classes:d}=a.useStyles(void 0,{name:"Modal",styles:i});return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.Modal,Object.assign({centered:!0,classNames:d},u,{withCloseButton:!1,title:u.withCloseButton&&o.default.createElement(o.default.Fragment,null,o.default.createElement(n.Text,{size:"s2",weight:"semiBold",as:"span"},r),o.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}}}),o.default.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};
|
package/build/index-95f73b67.js
DELETED
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-cc67513f.js"),l=require("./index.styles-68371264.js"),o=require("./index-1b5db579.js"),d=require("./useScrollbarSize-c6f60120.js"),r=require("react-dom"),i=require("styled-components"),n=require("./theme-be6da0df.js"),s=require("@hhgtech/icons/other"),c=require("./useTranslations-7b1d2a42.js"),u=require("./Subot-734c2f35.js"),m=require("./index-d2628773.js"),h=require("./index-fc387e15.js");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=p(e),g=p(i);const y=({open:e=!1,onClickOutside:t})=>f.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),b=({value:t,options:a,className:o,direction:d="horizontal",onChange:r,isDisabled:i,siteType:s})=>{const[c,u]=e.useState(t),p="marryBaby"===s;return f.default.createElement(l.StyledRadioImageGroup,{className:o,"data-direction":d},a.map(((e,a)=>f.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||c)===e.value,"data-is-mb":p,"data-disabled":i,key:a,onClick:()=>{var t;t=e.value,i||(u(t),r&&r(t))}},f.default.createElement("div",null,e.content,e.label&&f.default.createElement(f.default.Fragment,null,p?f.default.createElement(m.MarryBabyText,{type:"subtitle-2",color:(t||c)===e.value?n.theme.mbColors.dark:n.theme.mbColors.midGray},e.label):f.default.createElement(h.Text,{type:"bold",color:(t||c)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},x=g.default.div`
|
|
2
|
-
position: relative;
|
|
3
|
-
z-index: 200;
|
|
4
|
-
background-color: ${n.theme.colors.white};
|
|
5
|
-
border-radius: ${n.theme.borderRadius};
|
|
6
|
-
box-shadow: 0px 4px 8px ${n.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
|
-
`,v="hhgcomp-modal-modal",C=l.getDefaultClassWrapper(x,v),E=g.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
|
-
.${v} {
|
|
66
|
-
transform: translate(0, -100vh);
|
|
67
|
-
transition: all 0.5s ease;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&[data-open='true'] {
|
|
71
|
-
.${v} {
|
|
72
|
-
transform: translate(0);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&.scaleUp {
|
|
78
|
-
.${v} {
|
|
79
|
-
transform: scale(0.9);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&[data-open='true'] {
|
|
83
|
-
.${v} {
|
|
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
|
-
.${v} {
|
|
93
|
-
width: 420px;
|
|
94
|
-
height: 100%;
|
|
95
|
-
border-radius: 0;
|
|
96
|
-
overflow: hidden auto;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
&[data-type='form'] {
|
|
100
|
-
.${v} {
|
|
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
|
-
.${v} {
|
|
112
|
-
height: 100%;
|
|
113
|
-
max-height: 539px;
|
|
114
|
-
${a.MediaQueries.mbDown} {
|
|
115
|
-
height: 192px;
|
|
116
|
-
width: 100%;
|
|
117
|
-
height: 100%;
|
|
118
|
-
border-radius: ${n.theme.borderRadius};
|
|
119
|
-
max-height: 192px;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
&[data-type='confirm'] {
|
|
124
|
-
.${v} {
|
|
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
|
-
`,w=g.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: ${n.theme.colors.secondaryDark};
|
|
146
|
-
}
|
|
147
|
-
`,B="hhg-modals",k=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},S=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},_=g.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
|
-
`,$=g.default(b)`
|
|
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:l}=c.useTranslations(),d="marryBaby"==a;return f.default.createElement(_,{"data-is-marryBaby":d},d?f.default.createElement(m.MarryBabyHeading,{type:"h4",color:n.theme.mbColors.dark},l("tools.selectBabyGender")):f.default.createElement(o.Text,{size:"label2",weight:"bold",style:{marginBottom:"0.5rem"}},l("tools.selectBabyGender")),f.default.createElement($,{siteType:a,options:[{value:u.Gender.Boy,label:l("gender.male"),content:d?f.default.createElement(s.BabyBoyMB,null):f.default.createElement(s.GenderChooseBoy,null)},{value:u.Gender.Girl,label:l("gender.female"),content:d?f.default.createElement(s.BabyGirlMB,null):f.default.createElement(s.GenderChooseGirl,null)}],value:e,onChange:t,className:"gender-selector"}))},exports.Drawer=({children:d,title:r,onClose:i,open:n=!1,placement:s="left",destroyOnClose:c=!1,isPropagationEvent:u=!0,className:m})=>{const h=e.useRef();e.useEffect((()=>(a.toggleNoScroll(n),()=>a.toggleNoScroll(!1))),[n]);const p=()=>{h.current.classList.add("slideOut"),setTimeout((()=>{i()}),800)};return!n&&c?null:f.default.createElement(t.Portal,null,f.default.createElement(l.StyledDrawer,{className:m,open:n},f.default.createElement(y,{open:n,onClickOutside:p}),f.default.createElement(l.StyledDrawerPanel,{open:n,placement:s,ref:h,hasTitle:Boolean(r)},f.default.createElement("div",{className:"title"},r&&f.default.createElement(o.Text,{size:"s2",weight:"semiBold"},r),f.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"close-button",onClick:p},f.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"}))),f.default.createElement(l.StyledDrawerContent,{onClick:e=>{u&&e.stopPropagation()}},d&&(f.default.isValidElement(d)?d:"function"==typeof d?d({internalClose:p}):null)))))},exports.Modal=({type:t="lead",closeIcon:a,isOpen:l=!0,onClose:o,children:i,className:n="",animationType:s="slideTop",isStaticBackdrop:c=!1,siteType:u})=>{const[m,h]=e.useState(!1),p=e.useRef(null),{width:g}=d.useScrollbarSize();if(!p.current&&m&&(p.current=document.createElement("div")),e.useEffect((()=>(h(!0),()=>{h(!1),k(),S()})),[]),e.useEffect((()=>{if(m){const e=(()=>{let e=document.getElementById(B);return e||(e=document.createElement("div"),e.setAttribute("id",B),document.body.append(e)),e})();return e.appendChild(p.current),()=>{e.removeChild(p.current)}}}),[m]),e.useEffect((()=>{l?document.body.classList.add("hhc-modal-show"):k()}),[l]),e.useEffect((()=>{l?(document.body.style.overflow="hidden",document.body.style.paddingRight=g+"px",document.body.classList.add("hhc-disabled-scroll")):S()}),[l,g]),!m)return null;const y=["hhg-modal__wrapper",n,s].filter((e=>e)).join(" ");return r.createPortal(f.default.createElement(E,{className:y,"data-open":l,"data-type":t},!c&&f.default.createElement(w,{"data-open":l,onClick:o,"data-type":t}),!c&&"video"===t&&!!a&&f.default.createElement("div",{className:"hhg-modal__close",onClick:o},a),f.default.createElement(C,{className:"hhg-modal","data-open":l,"data-site-type":u},f.default.createElement("div",{className:"video"===t?"hhg-modal__video":"hhg-modal__content"},!!a&&"video"!==t&&f.default.createElement("div",{className:"hhg-modal__close",onClick:o},a),i))),p.current)},exports.RadioImageGroup=b;
|
package/build/index-a41cabac.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-0aa100a0.js"),t=require("react"),r=require("./theme-be6da0df.js"),a=require("./utils-a9092761.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);const i={Share:a.Share,Eye:a.Eye,WhatsApp:a.WhatsApp,ArrowRightTail:t=>{var{size:a=24,color:l=r.theme.colors.gray600,useCurrentColor:i,isActive:s,activeColor:n=r.theme.colors.primaryBase}=t,c=e.__rest(t,["size","color","useCurrentColor","isActive","activeColor"]);const h=i?"currentColor":s?n:l,q=Object.assign({width:a,height:a},c);return o.default.createElement("svg",Object.assign({viewBox:"0 0 18 18",fill:"none"},q),o.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.74707 4.22754C9.89332 4.08091 10.0854 4.00635 10.2773 4.00635C10.4692 4.00635 10.661 4.08091 10.8076 4.22754L15.0498 8.46973C15.3431 8.76223 15.3431 9.23702 15.0498 9.53027L10.8076 13.7725C10.5151 14.0657 10.0403 14.0657 9.74707 13.7725L9.68262 13.708C9.38937 13.4155 9.38937 12.9407 9.68262 12.6475L12.5801 9.75H2.77734C2.36334 9.75 2.02734 9.414 2.02734 9C2.02734 8.586 2.36334 8.25 2.77734 8.25H12.5801L9.68262 5.35254C9.38937 5.06004 9.38937 4.58524 9.68262 4.29199L9.74707 4.22754Z",fill:h}))},Spinner:a.Spinner,Cart:t=>{var{size:a=24,color:l=r.theme.colors.gray600,useCurrentColor:i,isActive:s,isSolid:n,activeColor:c=r.theme.colors.primaryBase}=t,h=e.__rest(t,["size","color","useCurrentColor","isActive","isSolid","activeColor"]);const q=i?"currentColor":s?c:l,u=Object.assign({width:a,height:a},h);return n?o.default.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u),o.default.createElement("path",{d:"M7.154 21.558q-.73 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24t1.24-.51q.729 0 1.24.51.51.51.51 1.24 0 .729-.51 1.24-.511.51-1.24.51m9.692 0q-.729 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24.511-.51 1.24-.51.73 0 1.24.51t.51 1.24-.51 1.24-1.24.51M5.296 4.25h13.885q.613 0 .928.522t.03 1.066l-3.204 5.804a1.8 1.8 0 0 1-.651.674 1.7 1.7 0 0 1-.888.242H8.1l-1.158 2.115q-.077.115-.005.25.073.135.217.135h10.692q.32 0 .535.215a.73.73 0 0 1 .215.535.73.73 0 0 1-.215.534.73.73 0 0 1-.535.216H7.154q-1 0-1.503-.863-.503-.862-.036-1.722l1.427-2.565L3.404 3.75H2.25a.73.73 0 0 1-.535-.215A.73.73 0 0 1 1.5 3q0-.32.215-.535a.73.73 0 0 1 .535-.215h1.529a.9.9 0 0 1 .813.517z",fill:q})):o.default.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u),o.default.createElement("path",{d:"M7.154 21.558q-.73 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24t1.24-.51q.729 0 1.24.51.51.51.51 1.24 0 .729-.51 1.24-.511.51-1.24.51m9.692 0q-.729 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24.511-.51 1.24-.51.73 0 1.24.51t.51 1.24-.51 1.24-1.24.51M6.016 5.75l2.534 5.308h6.817a.3.3 0 0 0 .154-.044.4.4 0 0 0 .116-.12l2.682-4.875q.058-.105.01-.187t-.164-.082zm-.72-1.5h13.885q.613 0 .928.522.315.523.03 1.066l-3.204 5.804a1.8 1.8 0 0 1-.651.674 1.7 1.7 0 0 1-.888.242H8.1l-1.158 2.115q-.077.115-.005.25.073.135.217.135h10.692q.32 0 .535.215a.73.73 0 0 1 .215.535.73.73 0 0 1-.215.534.73.73 0 0 1-.535.216H7.154q-1 0-1.503-.863-.503-.862-.036-1.722l1.427-2.565L3.404 3.75H2.25a.73.73 0 0 1-.535-.215A.73.73 0 0 1 1.5 3q0-.32.215-.535a.73.73 0 0 1 .535-.215h1.529a.9.9 0 0 1 .813.517z",fill:q}))},CartWithAdd:t=>{var{size:a=24,color:l=r.theme.colors.gray600,useCurrentColor:i,isActive:s,activeColor:n=r.theme.colors.primaryBase}=t,c=e.__rest(t,["size","color","useCurrentColor","isActive","activeColor"]);const h=i?"currentColor":s?n:l,q=Object.assign({width:a,height:a},c);return o.default.createElement("svg",Object.assign({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q),o.default.createElement("path",{d:"M8.938 4.812H7.25a.54.54 0 0 1-.4-.161.55.55 0 0 1-.162-.401q0-.24.161-.401a.55.55 0 0 1 .401-.162h1.688V2q0-.24.161-.4a.55.55 0 0 1 .401-.163q.24 0 .4.162a.55.55 0 0 1 .162.401v1.688h1.688q.24 0 .4.161a.55.55 0 0 1 .162.401q0 .24-.161.4a.55.55 0 0 1-.401.162h-1.687V6.5q0 .24-.162.4a.55.55 0 0 1-.401.162.54.54 0 0 1-.4-.161.55.55 0 0 1-.162-.401zM5.865 16.668q-.546 0-.93-.383a1.27 1.27 0 0 1-.382-.93q0-.546.383-.929t.93-.383.929.383.383.93q0 .546-.383.93a1.27 1.27 0 0 1-.93.382m7.27 0q-.547 0-.93-.383a1.27 1.27 0 0 1-.383-.93q0-.546.383-.929t.93-.383.93.383.382.93q0 .546-.383.93a1.27 1.27 0 0 1-.93.382M3.053 3.312h-.865a.54.54 0 0 1-.401-.161.55.55 0 0 1-.162-.401q0-.24.162-.4a.55.55 0 0 1 .4-.162h1.158q.192 0 .36.1a.63.63 0 0 1 .25.287l2.946 6.218h5.113q.065 0 .115-.032a.3.3 0 0 0 .087-.09l2.618-4.702a.5.5 0 0 1 .198-.21.56.56 0 0 1 .28-.071q.324 0 .485.275.162.276.006.557L13.2 9.232a1.35 1.35 0 0 1-.489.505q-.303.18-.665.181H6.575l-.868 1.587q-.058.086-.004.187t.162.101h8.02q.239 0 .4.162a.55.55 0 0 1 .162.401q0 .24-.162.4a.55.55 0 0 1-.4.162h-8.02q-.75 0-1.133-.64-.383-.642-.02-1.298l1.07-1.924z",fill:h}))}};exports.Icon=i;
|