@hhgtech/hhg-components 1.29.401-beta-1 → 1.29.401
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/{InputDate-16d7c719.js → InputDate-50b5a745.js} +3 -3
- package/build/{LastPeriod-281e76db.js → LastPeriod-85e52090.js} +1 -1
- package/build/{MobileBottomNavigationIcon-277c47af.js → MobileBottomNavigationIcon-33bb517a.js} +3 -3
- package/build/{Spinner-2eef396e.js → Spinner-3fb88ec7.js} +1 -1
- package/build/{WhatsApp-2502c66f.js → WhatsApp-97efd8bc.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +48 -48
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/navigationV2/components/molecules/navigationBar/index.d.ts +1 -3
- package/build/components/navigationV2/index.d.ts +1 -12
- package/build/components.js +97 -97
- package/build/{constants-f063fb3b.js → constants-1f31008e.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-faaf3e41.js → core-cc343cf3.js} +1 -1
- package/build/{dataTransform-9309f61b.js → dataTransform-4436b8e4.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-cc408f2e.js → editor-5b6ef21d.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{InputDate-14a0834f.js → InputDate-b0bd594a.js} +3 -3
- package/build/esm/{LastPeriod-09a6b6d1.js → LastPeriod-5d04a8f1.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-99b7eb60.js → MobileBottomNavigationIcon-d9e26713.js} +3 -3
- package/build/esm/{Spinner-8aaafaac.js → Spinner-b1633c43.js} +1 -1
- package/build/esm/{WhatsApp-778ac9cf.js → WhatsApp-d607837f.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -48
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.d.ts +1 -3
- package/build/esm/components/navigationV2/index.d.ts +1 -12
- package/build/esm/components.js +97 -97
- package/build/esm/{constants-78cdfeb5.js → constants-624ac70e.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-c8197582.js → core-87474538.js} +1 -1
- package/build/esm/{dataTransform-def3f3d9.js → dataTransform-5323a3be.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-298e5a59.js → editor-c2a8b689.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-0e0182d5.js → healthTools-88ca8859.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-2f769126.js → index-06d72d58.js} +16 -16
- package/build/esm/{index-07cec1e3.js → index-0ece596f.js} +1 -1
- package/build/esm/{index-f0c9cb08.js → index-16494cf1.js} +2 -2
- package/build/esm/{index-e987e51c.js → index-180cff82.js} +3 -3
- package/build/esm/{index-cb7b08c0.js → index-195dca53.js} +3 -3
- package/build/esm/{index-3a73cc5f.js → index-2a6977e0.js} +2 -2
- package/build/esm/{index-df460a87.js → index-2b62956e.js} +2 -2
- package/build/esm/{index-09915acd.js → index-2cb4efdf.js} +10 -10
- package/build/esm/{index-8dfd3348.js → index-2de22431.js} +2 -2
- package/build/esm/{index-95619abd.js → index-34242fad.js} +2 -2
- package/build/esm/{index-70781e3b.js → index-34842f2c.js} +1 -1
- package/build/esm/{index-b39d34d4.js → index-36701a5e.js} +12 -112
- package/build/esm/{index-6ada8778.js → index-38b8ba83.js} +13 -13
- package/build/esm/{index-ff12f794.js → index-3bb86a1e.js} +17 -17
- package/build/esm/{index-957836c4.js → index-3f67fc36.js} +24 -24
- package/build/esm/{index-cf75bc83.js → index-40634dbb.js} +3 -3
- package/build/esm/{index-1fcafa72.js → index-40b74dab.js} +32 -32
- package/build/esm/{index-1ca2d7bc.js → index-431f07a0.js} +6 -6
- package/build/esm/{index-62c79431.js → index-4753b93c.js} +3 -3
- package/build/esm/{index-cf555447.js → index-476ac8a9.js} +2 -2
- package/build/esm/{index-2a47c29f.js → index-4da49d75.js} +2 -2
- package/build/esm/{index-59dea43e.js → index-4f3d9a5a.js} +13 -13
- package/build/esm/{index-dfe30694.js → index-510e07f1.js} +1 -1
- package/build/esm/{index-9fb3b0f7.js → index-519d0493.js} +6 -6
- package/build/esm/{index-41623a05.js → index-5e3dfac9.js} +22 -22
- package/build/esm/{index-0dacebbc.js → index-624da8dc.js} +2 -2
- package/build/esm/{index-63d39f6c.js → index-67c06e07.js} +13 -13
- package/build/esm/{index-64dbaf8f.js → index-6a19c814.js} +21 -21
- package/build/esm/{index-96012c2c.js → index-6baceb51.js} +1 -1
- package/build/esm/{index-16a17556.js → index-6d7d9397.js} +6 -6
- package/build/esm/{index-d32855f1.js → index-6dbe0e99.js} +16 -16
- package/build/esm/{index-afb0b0db.js → index-81c4724e.js} +17 -17
- package/build/esm/{index-fa7a204d.js → index-829e609d.js} +31 -31
- package/build/esm/{index-3df6ea0f.js → index-85b6de71.js} +2 -2
- package/build/esm/{index-a2fcb2ec.js → index-85d11d26.js} +1 -1
- package/build/esm/{index-7d52fb15.js → index-89f73df9.js} +17 -17
- package/build/esm/{index-8c06f55e.js → index-900222b2.js} +2 -2
- package/build/esm/{index-47303689.js → index-905a9bb5.js} +7 -7
- package/build/esm/{index-64a4293d.js → index-97d720fd.js} +7 -7
- package/build/esm/{index-69df30e0.js → index-9e31dde1.js} +13 -13
- package/build/esm/{index-e50ebf00.js → index-a0ec897d.js} +1 -1
- package/build/esm/{index-1a058261.js → index-a3f9e67c.js} +1 -1
- package/build/esm/{index-015ff534.js → index-a7d37f65.js} +16 -16
- package/build/esm/{index-5792abe0.js → index-acb9ec3f.js} +2 -2
- package/build/esm/{index-0ccf48c4.js → index-ae7f5949.js} +3 -3
- package/build/esm/{index-8b16030a.js → index-bbf4517d.js} +18 -18
- package/build/esm/{index-457578ee.js → index-c0a12eac.js} +18 -18
- package/build/esm/{index-eb4fe193.js → index-c7741a7b.js} +5 -5
- package/build/esm/{index-2e151316.js → index-ca52ce9f.js} +4 -4
- package/build/esm/{index-2f5bc27c.js → index-cf25c576.js} +6 -6
- package/build/esm/{index-7747920f.js → index-cf8c9130.js} +11 -11
- package/build/esm/{index-6823513d.js → index-d579d0a6.js} +1 -1
- package/build/esm/{index-5c90ee5e.js → index-df2ef983.js} +1 -1
- package/build/esm/{index-fd38b1ce.js → index-dfe674ff.js} +16 -16
- package/build/esm/{index-a6c12815.js → index-e03359f5.js} +2 -2
- package/build/esm/{index-ddaaa579.js → index-e0f38200.js} +5 -5
- package/build/esm/{index-16f5bc82.js → index-e48db81e.js} +17 -17
- package/build/esm/{index-b429be87.js → index-e638943e.js} +15 -15
- package/build/esm/{index-865a5490.js → index-e6ff8a8d.js} +25 -25
- package/build/esm/{index-f49c373e.js → index-e97d2ccd.js} +4 -4
- package/build/esm/{index-12e9b0de.js → index-ef38443a.js} +2 -2
- package/build/esm/{index-f4a90703.js → index-f0adc4e5.js} +6 -6
- package/build/esm/{index-f3f984aa.js → index-f6ccd61a.js} +141 -47
- package/build/esm/{index-11e12776.js → index-ffac9aa6.js} +3 -3
- package/build/esm/{index-23fdc335.js → index-ffd3b149.js} +2 -2
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-5d579b12.js → labelSorting-6e130433.js} +4 -4
- package/build/esm/lead.js +32 -32
- package/build/esm/{logoIcon-bf569ada.js → logoIcon-b40d285c.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +74 -74
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +46 -46
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -30
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +50 -50
- package/build/esm/{post-85a02deb.js → post-df7df0a4.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/esm/ssoV2.js +40 -52
- package/build/esm/{store-251b1890.js → store-6705e0f3.js} +3 -3
- package/build/esm/subot.js +37 -37
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-f1dd0f04.js → surveyThankyouCard-1767d6ac.js} +5 -5
- package/build/esm/together.js +56 -56
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +51 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-6b570137.js → translationsProvider-94b7d28f.js} +1 -1
- package/build/esm/{treePopoverMenu-059de886.js → treePopoverMenu-6e2a5a9e.js} +19 -19
- package/build/esm/{types-1a015434.js → types-ec73e5f3.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-70680d18.js → useCategory-497a159c.js} +5 -5
- package/build/esm/{useHealthToolCache-dabf68d5.js → useHealthToolCache-85faced6.js} +1 -1
- package/build/esm/{useMantineLocale-97e0f352.js → useMantineLocale-4fe5572f.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-5e0f43d6.js → usePlacesAutocomplete-ce024969.js} +1 -1
- package/build/esm/{useScreenSize-1a19f75d.js → useScreenSize-e8ec74ad.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-90957449.js → utils-2314a4f4.js} +5 -5
- package/build/esm/{utils-27550b1f.js → utils-2f6899d6.js} +3 -3
- package/build/esm/{utils-98a234aa.js → utils-7fe04919.js} +2 -2
- package/build/esm/{utils-92b6ac3f.js → utils-a4a2df60.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-aab40ad6.js → healthTools-f5ef99df.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-0c6e1efa.js → index-0382d63a.js} +2 -2
- package/build/{index-903ba1b4.js → index-08638301.js} +1 -1
- package/build/{index-b630e1de.js → index-0ad9e47d.js} +25 -25
- package/build/{index-a25e316b.js → index-0b517a5d.js} +6 -6
- package/build/{index-71aee44e.js → index-0c0c9ca1.js} +24 -24
- package/build/{index-fa512921.js → index-116825a7.js} +18 -18
- package/build/{index-c6d7bfa4.js → index-18a22ba4.js} +2 -2
- package/build/{index-08899900.js → index-1d03ed03.js} +2 -2
- package/build/{index-40c3a408.js → index-245941fd.js} +17 -17
- package/build/{index-da72cd72.js → index-26614c32.js} +11 -11
- package/build/{index-6a5f8bf0.js → index-2bce444d.js} +3 -3
- package/build/{index-95ec879c.js → index-2ce81ae6.js} +13 -13
- package/build/{index-e831a858.js → index-3f568ba2.js} +17 -17
- package/build/{index-1c31f95a.js → index-42bac98d.js} +31 -31
- package/build/{index-dcba4466.js → index-463616a1.js} +2 -2
- package/build/{index-225c3b81.js → index-4eefbb25.js} +1 -1
- package/build/{index-c4bbde77.js → index-4f857d8b.js} +2 -2
- package/build/{index-1927ecb3.js → index-545344dc.js} +15 -15
- package/build/{index-84d87aab.js → index-5776452a.js} +6 -6
- package/build/{index-50045e4d.js → index-5f984dd1.js} +2 -2
- package/build/{index-8f000fc8.js → index-63b6a569.js} +2 -2
- package/build/{index-f5c5b737.js → index-64cf752a.js} +236 -142
- package/build/{index-3f1f20cb.js → index-66cfa53c.js} +10 -10
- package/build/{index-c984de0c.js → index-6998b5bf.js} +2 -2
- package/build/{index-9739287a.js → index-6e157d57.js} +3 -3
- package/build/{index-4e0adb0a.js → index-7026c19b.js} +16 -16
- package/build/{index-cb437780.js → index-7124e821.js} +6 -6
- package/build/{index-dd195ba5.js → index-715bdccd.js} +13 -13
- package/build/{index-f349da9b.js → index-747aa7a3.js} +1 -1
- package/build/{index-cc7578c1.js → index-830260be.js} +7 -7
- package/build/{index-935d33bb.js → index-84701fcc.js} +4 -4
- package/build/{index-5408757f.js → index-88ccdeb4.js} +21 -21
- package/build/{index-e4e075fd.js → index-89a00675.js} +2 -2
- package/build/{index-e106064d.js → index-8ee27ca3.js} +6 -6
- package/build/{index-ba77b9aa.js → index-94887cc1.js} +3 -3
- package/build/{index-49cc020a.js → index-9b9ae8ac.js} +1 -1
- package/build/{index-55038561.js → index-9e7dab0c.js} +2 -2
- package/build/{index-4428c27a.js → index-a177467f.js} +1 -1
- package/build/{index-2a54c67d.js → index-a1bc78bc.js} +1 -1
- package/build/{index-e6714abd.js → index-a4364c2d.js} +18 -18
- package/build/{index-3a7e5b15.js → index-abb18938.js} +1 -1
- package/build/{index-b187a757.js → index-abded276.js} +16 -16
- package/build/{index-1146d7b8.js → index-aee48ea7.js} +3 -3
- package/build/{index-87554190.js → index-b3625020.js} +16 -16
- package/build/{index-345a0f9c.js → index-b4bf4add.js} +13 -13
- package/build/{index-43c2aa46.js → index-b4ec6381.js} +2 -2
- package/build/{index-518f792d.js → index-baff6e54.js} +2 -2
- package/build/{index-65197c17.js → index-c99d2185.js} +17 -17
- package/build/{index-ed1e082b.js → index-cab6508e.js} +5 -5
- package/build/{index-8fd724dc.js → index-cba3765b.js} +1 -1
- package/build/{index-1474847c.js → index-d0599fca.js} +1 -1
- package/build/{index-03bb8c3b.js → index-d24ccc86.js} +22 -22
- package/build/{index-e8681d04.js → index-dc7d34d3.js} +4 -4
- package/build/{index-cd54a49f.js → index-dd429469.js} +5 -5
- package/build/{index-1da614fb.js → index-e0cf4d6d.js} +7 -7
- package/build/{index-2adc8fbd.js → index-eb031819.js} +3 -3
- package/build/{index-d6ddc798.js → index-eb387967.js} +2 -2
- package/build/{index-2543741f.js → index-ec1f3ce6.js} +32 -32
- package/build/{index-b5a16113.js → index-ed7e1a0e.js} +16 -16
- package/build/{index-84bfafb2.js → index-f3526bd2.js} +3 -3
- package/build/{index-2697cd73.js → index-f4901327.js} +17 -17
- package/build/{index-bed3288c.js → index-f8cf9e42.js} +18 -121
- package/build/{index-9aad57ed.js → index-fa16212e.js} +6 -6
- package/build/{index-678d6c65.js → index-fafafce2.js} +13 -13
- package/build/{index-466578b3.js → index-fdedf7ae.js} +2 -2
- package/build/index.js +118 -118
- package/build/{labelSorting-d11ead9b.js → labelSorting-43bf7546.js} +4 -4
- package/build/lead.js +32 -32
- package/build/{logoIcon-82b04842.js → logoIcon-987ae99e.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +17 -17
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +74 -74
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +46 -46
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -30
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-4b6bb91a.js → post-492e348d.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/ssoV2.js +38 -50
- package/build/{store-5ab66419.js → store-42ed9969.js} +3 -3
- package/build/subot.js +36 -36
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-24f685eb.js → surveyThankyouCard-99734f4f.js} +5 -5
- package/build/together.js +56 -56
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-647864c6.js → translationsProvider-53121652.js} +1 -1
- package/build/{treePopoverMenu-f5f4f1ff.js → treePopoverMenu-c80ba22d.js} +19 -19
- package/build/{types-401daee9.js → types-a238b23f.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-d54e91d7.js → useCategory-d9f3bd8e.js} +5 -5
- package/build/{useHealthToolCache-6a4b69b8.js → useHealthToolCache-7fbe16a5.js} +1 -1
- package/build/{useMantineLocale-db2c0beb.js → useMantineLocale-da63c803.js} +6 -6
- package/build/{usePlacesAutocomplete-a227c5cc.js → usePlacesAutocomplete-a2ebc100.js} +1 -1
- package/build/{useScreenSize-a9d39944.js → useScreenSize-87d8838d.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-090e54e2.js → utils-25c154d4.js} +3 -3
- package/build/{utils-afa71a4a.js → utils-32f2afd9.js} +2 -2
- package/build/{utils-7e323833.js → utils-4a3e1b33.js} +2 -2
- package/build/{utils-83eae446.js → utils-75d10c83.js} +5 -5
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-b8c33256.js → BMI_BOYS.percentile.monthly-bed63eef.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-81d20df7.js → BMI_BOYS.percentile.weekly-26916daa.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-9436ffec.js → BMI_BOYS.percentile.yearly-89fc5afe.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-65a7f172.js → BMI_BOYS.zscore.monthly-b93a4a5b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-163081ab.js → BMI_BOYS.zscore.weekly-ad9b8087.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-1e86d5e6.js → BMI_BOYS.zscore.yearly-5e0be2b3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-04e5add9.js → BMI_GIRLS.percentile.monthly-8bed985b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-53bf5b45.js → BMI_GIRLS.percentile.weekly-772cea7f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-9f365f7a.js → BMI_GIRLS.percentile.yearly-2b77d1bc.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-29bd4735.js → BMI_GIRLS.zscore.monthly-60aba58c.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-84f6c178.js → BMI_GIRLS.zscore.weekly-1b0b85f1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-4c444628.js → BMI_GIRLS.zscore.yearly-148dfa89.js} +0 -0
- /package/build/{ChevronDown-b7254278.js → ChevronDown-2fab29f2.js} +0 -0
- /package/build/{Close-b500626d.js → Close-6c68d2b8.js} +0 -0
- /package/build/{Google-7c55821e.js → Google-917dd2d2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-f3f62c39.js → HEAD CIRCUM_BOYS.percentile.monthly-3d62c2bb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a0d834d2.js → HEAD CIRCUM_BOYS.percentile.weekly-95333db8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-93f961ff.js → HEAD CIRCUM_BOYS.percentile.yearly-eb75e3c8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-15afa58e.js → HEAD CIRCUM_BOYS.zscore.monthly-1528a116.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-307343c2.js → HEAD CIRCUM_BOYS.zscore.weekly-e7313a79.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9fcd4712.js → HEAD CIRCUM_BOYS.zscore.yearly-cbc2402d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-eb8b8bea.js → HEAD CIRCUM_GIRLS.percentile.monthly-41d0ceca.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-1b177f4e.js → HEAD CIRCUM_GIRLS.percentile.weekly-58d3fcf2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-8c482938.js → HEAD CIRCUM_GIRLS.percentile.yearly-94011390.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-fbcb0a80.js → HEAD CIRCUM_GIRLS.zscore.monthly-98a53e42.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b40dffca.js → HEAD CIRCUM_GIRLS.zscore.weekly-c045ec60.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-72cc1301.js → HEAD CIRCUM_GIRLS.zscore.yearly-6cc721f7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-0a1af53a.js → HEIGHT_BOYS.percentile.monthly-95eaab87.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-cb0cf92e.js → HEIGHT_BOYS.percentile.weekly-1ee4cc50.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-99113edd.js → HEIGHT_BOYS.percentile.yearly-819181a3.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-3b369dbd.js → HEIGHT_BOYS.zscore.monthly-a1d74980.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-85e5965d.js → HEIGHT_BOYS.zscore.weekly-d8ccb2ed.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-922171c6.js → HEIGHT_BOYS.zscore.yearly-c7fee28d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ebee5617.js → HEIGHT_GIRLS.percentile.monthly-5df8f505.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-6c959fff.js → HEIGHT_GIRLS.percentile.weekly-2e794a5e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-3582d77a.js → HEIGHT_GIRLS.percentile.yearly-f9b45a55.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-d60d3f6d.js → HEIGHT_GIRLS.zscore.monthly-62944450.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-4cbd660e.js → HEIGHT_GIRLS.zscore.weekly-c9ecaa1b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-e48d24eb.js → HEIGHT_GIRLS.zscore.yearly-28e07c3b.js} +0 -0
- /package/build/{Locale-6232befb.js → Locale-f7ec3d50.js} +0 -0
- /package/build/{Visible-6cc50f67.js → Visible-9a208364.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2c1d27d9.js → WEIGHT_BOYS.percentile.monthly-64c29aca.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-27d4b525.js → WEIGHT_BOYS.percentile.weekly-0fc17ed9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-feed9a35.js → WEIGHT_BOYS.percentile.yearly-3a657028.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-1b34f1f8.js → WEIGHT_BOYS.zscore.monthly-e5d44b9c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-201eb54d.js → WEIGHT_BOYS.zscore.weekly-56f78d88.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-938cc8a3.js → WEIGHT_BOYS.zscore.yearly-eb08c9bc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-17beeacd.js → WEIGHT_GIRLS.percentile.monthly-0ce7e5ed.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-3dc8282b.js → WEIGHT_GIRLS.percentile.weekly-14af00c6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-2da11541.js → WEIGHT_GIRLS.percentile.yearly-b7f646ca.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-d1c5b3f8.js → WEIGHT_GIRLS.zscore.monthly-c2111398.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-1ad7c887.js → WEIGHT_GIRLS.zscore.weekly-cd6692bc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-b3278153.js → WEIGHT_GIRLS.zscore.yearly-770c5c9e.js} +0 -0
- /package/build/{animation-69fada0a.js → animation-0a7e9cee.js} +0 -0
- /package/build/{constants-4e7a1ba0.js → constants-1a4941a1.js} +0 -0
- /package/build/{constants-e4badb48.js → constants-40401054.js} +0 -0
- /package/build/{constants-8e1742ea.js → constants-be28a5cb.js} +0 -0
- /package/build/{dataTransform-898e2c45.js → dataTransform-c469f71a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-ef75328a.js → BMI_BOYS.percentile.monthly-809178b8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-3c93a703.js → BMI_BOYS.percentile.weekly-752de4d4.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a40b88f3.js → BMI_BOYS.percentile.yearly-c93250db.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c4bbc450.js → BMI_BOYS.zscore.monthly-f71cd014.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-d4a88dae.js → BMI_BOYS.zscore.weekly-3d95dd96.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-51bb9c71.js → BMI_BOYS.zscore.yearly-d1e4e176.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-57ab882e.js → BMI_GIRLS.percentile.monthly-effe9e9f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-213f7a76.js → BMI_GIRLS.percentile.weekly-112fe5f0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-dcb32168.js → BMI_GIRLS.percentile.yearly-cf6e4bf2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-688f486c.js → BMI_GIRLS.zscore.monthly-831c78a1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-4aef66cd.js → BMI_GIRLS.zscore.weekly-d88db413.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-dc03df43.js → BMI_GIRLS.zscore.yearly-3f2cbc8c.js} +0 -0
- /package/build/esm/{ChevronDown-ea7eed82.js → ChevronDown-545b9c82.js} +0 -0
- /package/build/esm/{Close-2ff43f1f.js → Close-1279cd68.js} +0 -0
- /package/build/esm/{Google-ff85bf9e.js → Google-d9b4645c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-7717c071.js → HEAD CIRCUM_BOYS.percentile.monthly-3c3fd51f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-aa297848.js → HEAD CIRCUM_BOYS.percentile.weekly-947ed7f8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8749035d.js → HEAD CIRCUM_BOYS.percentile.yearly-9b2c146f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-eb67f06a.js → HEAD CIRCUM_BOYS.zscore.monthly-d5a4a2a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-125f9cac.js → HEAD CIRCUM_BOYS.zscore.weekly-b06c6c89.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-373b3ce1.js → HEAD CIRCUM_BOYS.zscore.yearly-2a92fac6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-505fe452.js → HEAD CIRCUM_GIRLS.percentile.monthly-1f842c14.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-2713ddf1.js → HEAD CIRCUM_GIRLS.percentile.weekly-4292f16e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0217ed82.js → HEAD CIRCUM_GIRLS.percentile.yearly-54587475.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-a52bb3be.js → HEAD CIRCUM_GIRLS.zscore.monthly-6d294975.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6dd2b9fc.js → HEAD CIRCUM_GIRLS.zscore.weekly-63f2dbdc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-9792cfce.js → HEAD CIRCUM_GIRLS.zscore.yearly-e0ed4a30.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c5c4709a.js → HEIGHT_BOYS.percentile.monthly-a16a1d6e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-6ac05e05.js → HEIGHT_BOYS.percentile.weekly-0b0b679b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-bf752f29.js → HEIGHT_BOYS.percentile.yearly-beadb752.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-c42b19e5.js → HEIGHT_BOYS.zscore.monthly-a5aafb91.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-7d835a77.js → HEIGHT_BOYS.zscore.weekly-c136fa6a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-ad050c4e.js → HEIGHT_BOYS.zscore.yearly-3559fa63.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ed5255a7.js → HEIGHT_GIRLS.percentile.monthly-7b1aa4fd.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9a243009.js → HEIGHT_GIRLS.percentile.weekly-3024dc0d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-52f800f1.js → HEIGHT_GIRLS.percentile.yearly-bacb6ee7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ce5be36e.js → HEIGHT_GIRLS.zscore.monthly-ae92a5eb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-e209cea7.js → HEIGHT_GIRLS.zscore.weekly-279f3c66.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-5b44d371.js → HEIGHT_GIRLS.zscore.yearly-3901fc71.js} +0 -0
- /package/build/esm/{Locale-6007532a.js → Locale-b49cb218.js} +0 -0
- /package/build/esm/{Visible-58826c1d.js → Visible-812816e6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-bc88dc40.js → WEIGHT_BOYS.percentile.monthly-c2150fad.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-16aa833d.js → WEIGHT_BOYS.percentile.weekly-e0fb4d2e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b8162f5b.js → WEIGHT_BOYS.percentile.yearly-8d3badec.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-095a44af.js → WEIGHT_BOYS.zscore.monthly-3f7e60dc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-86a8db4f.js → WEIGHT_BOYS.zscore.weekly-58013f22.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-096157f4.js → WEIGHT_BOYS.zscore.yearly-82669d05.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a5aa60b7.js → WEIGHT_GIRLS.percentile.monthly-dfd9b9c3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-2e3dfe89.js → WEIGHT_GIRLS.percentile.weekly-cec37c0d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-4fa1255b.js → WEIGHT_GIRLS.percentile.yearly-05a579b3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-6ef77685.js → WEIGHT_GIRLS.zscore.monthly-71c27891.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f3fd2237.js → WEIGHT_GIRLS.zscore.weekly-888ed3db.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-0a66101a.js → WEIGHT_GIRLS.zscore.yearly-d0834cda.js} +0 -0
- /package/build/esm/{animation-af5147a3.js → animation-7074de2e.js} +0 -0
- /package/build/esm/{constants-8ae3e4f0.js → constants-cf9b0868.js} +0 -0
- /package/build/esm/{constants-1efd3ba5.js → constants-d07add0e.js} +0 -0
- /package/build/esm/{constants-91a96318.js → constants-e3da1251.js} +0 -0
- /package/build/esm/{dataTransform-e2ddce8e.js → dataTransform-09599156.js} +0 -0
- /package/build/esm/{index-d3bac76d.js → index-0bdc3e2b.js} +0 -0
- /package/build/esm/{index-aacc6437.js → index-63b50c7c.js} +0 -0
- /package/build/esm/{index-7ba64f64.js → index-8e6ca0ef.js} +0 -0
- /package/build/esm/{index-bb0d1199.js → index-a2b34563.js} +0 -0
- /package/build/esm/{index-4c3e9c23.js → index-b41c721e.js} +0 -0
- /package/build/esm/{index-2b3ffeb8.js → index-b9680220.js} +0 -0
- /package/build/esm/{index-20155998.js → index-c3988444.js} +0 -0
- /package/build/esm/{index-cfa9c212.js → index-d5b876a2.js} +0 -0
- /package/build/esm/{index.styles-951cad28.js → index.styles-bba78daa.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6ec6b163.js → localizeNumberFormat-b136c3e2.js} +0 -0
- /package/build/esm/{normalizeLink-6781771c.js → normalizeLink-1052f131.js} +0 -0
- /package/build/esm/{number-6f455c56.js → number-9cc3f833.js} +0 -0
- /package/build/esm/{other-0f8d99bd.js → other-38d42e3e.js} +0 -0
- /package/build/esm/{paths-32185786.js → paths-17dccce5.js} +0 -0
- /package/build/esm/{translationsContext-2be18421.js → translationsContext-315b4fd3.js} +0 -0
- /package/build/esm/{tslib.es6-4d8dfa7a.js → tslib.es6-c74116d0.js} +0 -0
- /package/build/esm/{types-c6927cd0.js → types-c2dabcca.js} +0 -0
- /package/build/esm/{useIsInit-a882df3f.js → useIsInit-2f639bc2.js} +0 -0
- /package/build/esm/{useOutsideClick-0df6b3e9.js → useOutsideClick-4f4d7302.js} +0 -0
- /package/build/esm/{useScrollbarSize-be597980.js → useScrollbarSize-d914f007.js} +0 -0
- /package/build/esm/{useUniqueId-2ba11b28.js → useUniqueId-9fe1f3f3.js} +0 -0
- /package/build/esm/{utils-9906d84a.js → utils-92b0b714.js} +0 -0
- /package/build/{index-d59282e3.js → index-23b51a01.js} +0 -0
- /package/build/{index-b54f70f9.js → index-5d4a7885.js} +0 -0
- /package/build/{index-3b9cb8b3.js → index-8192513e.js} +0 -0
- /package/build/{index-3b3df496.js → index-986ac643.js} +0 -0
- /package/build/{index-32c77e8c.js → index-aadacef3.js} +0 -0
- /package/build/{index-f9ce8b1b.js → index-d05a6728.js} +0 -0
- /package/build/{index-cfe8d0d9.js → index-d6bb43db.js} +0 -0
- /package/build/{index-c244762d.js → index-e197a721.js} +0 -0
- /package/build/{index.styles-3e40592a.js → index.styles-ec4554a3.js} +0 -0
- /package/build/{localizeNumberFormat-94bc79c4.js → localizeNumberFormat-d847d607.js} +0 -0
- /package/build/{normalizeLink-893cb2c5.js → normalizeLink-5626bf72.js} +0 -0
- /package/build/{number-276a37a0.js → number-4ede4810.js} +0 -0
- /package/build/{other-64fbc3cc.js → other-2010d70b.js} +0 -0
- /package/build/{paths-45b28b0d.js → paths-373d0d41.js} +0 -0
- /package/build/{translationsContext-74ac8abd.js → translationsContext-3134cd01.js} +0 -0
- /package/build/{tslib.es6-c55abb1b.js → tslib.es6-ff726326.js} +0 -0
- /package/build/{types-4fc9e664.js → types-1f10c100.js} +0 -0
- /package/build/{useIsInit-00aa0362.js → useIsInit-f18f09f5.js} +0 -0
- /package/build/{useOutsideClick-198d7d1d.js → useOutsideClick-2ad26202.js} +0 -0
- /package/build/{useScrollbarSize-bd0a272f.js → useScrollbarSize-fc1c883f.js} +0 -0
- /package/build/{useUniqueId-8e54bcfb.js → useUniqueId-5f5f82bc.js} +0 -0
- /package/build/{utils-a8bd859c.js → utils-658c0e88.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useMemo, useCallback, useState, useEffect, forwardRef, useRef } from 'react';
|
|
2
2
|
import { rem, Container, createStyles, Box, Stack, Flex, AspectRatio, ScrollArea, Chip, Group, Badge, MultiSelect, Stepper } from '@mantine/core';
|
|
3
|
-
import { C as CommonGAssets } from './index-
|
|
4
|
-
import { b as callApiWithAuth, d as getApiPath, T as TogetherComponentGlobalContext, e as getPremiumApiPath, f as getWebsiteUrlApi, h as getSsoApiPath } from './utils-
|
|
5
|
-
import { G as GA_TOKEN_COOKIE } from './index-
|
|
6
|
-
import { H as HEALTH_TOOL_TYPE, a as HEALTH_TOOL_DEFAULT_IMG } from './healthTools-
|
|
3
|
+
import { C as CommonGAssets } from './index-d5b876a2.js';
|
|
4
|
+
import { b as callApiWithAuth, d as getApiPath, T as TogetherComponentGlobalContext, e as getPremiumApiPath, f as getWebsiteUrlApi, h as getSsoApiPath } from './utils-2f6899d6.js';
|
|
5
|
+
import { G as GA_TOKEN_COOKIE } from './index-85b6de71.js';
|
|
6
|
+
import { H as HEALTH_TOOL_TYPE, a as HEALTH_TOOL_DEFAULT_IMG } from './healthTools-88ca8859.js';
|
|
7
7
|
import { RISK_SCREENER_NAME, RISK_SCREENER_SLUG } from './constantsRiskScreener.js';
|
|
8
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
9
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
10
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
11
|
-
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './normalizeLink-
|
|
12
|
-
import { u as useTranslations } from './index-
|
|
8
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-c74116d0.js';
|
|
9
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-6705e0f3.js';
|
|
10
|
+
import { I as ImageWrap } from './useScreenSize-e8ec74ad.js';
|
|
11
|
+
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './normalizeLink-1052f131.js';
|
|
12
|
+
import { u as useTranslations } from './index-85d11d26.js';
|
|
13
13
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
14
|
-
import { d as Checkbox, e as ChipButton, I as Input, t as themeColors, b as AspectRatio$1 } from './index-
|
|
14
|
+
import { d as Checkbox, e as ChipButton, I as Input, t as themeColors, b as AspectRatio$1 } from './index-cf8c9130.js';
|
|
15
15
|
import '@mantine/dates';
|
|
16
|
-
import './index-
|
|
17
|
-
import './useMantineLocale-
|
|
18
|
-
import { T as Text } from './index-
|
|
19
|
-
import { B as Button } from './index-
|
|
20
|
-
import './index.styles-
|
|
16
|
+
import './index-6baceb51.js';
|
|
17
|
+
import './useMantineLocale-4fe5572f.js';
|
|
18
|
+
import { T as Text } from './index-ef38443a.js';
|
|
19
|
+
import { B as Button } from './index-df2ef983.js';
|
|
20
|
+
import './index.styles-bba78daa.js';
|
|
21
21
|
import { useViewportSize } from '@mantine/hooks';
|
|
22
|
-
import './utils-
|
|
23
|
-
import './other-
|
|
24
|
-
import './index-
|
|
22
|
+
import './utils-92b0b714.js';
|
|
23
|
+
import './other-38d42e3e.js';
|
|
24
|
+
import './index-ae7f5949.js';
|
|
25
25
|
import { PATHS as PATHS$2 } from './togetherApiPaths.js';
|
|
26
|
-
import './translationsContext-
|
|
27
|
-
import { H as Heading } from './index-
|
|
28
|
-
import { u as useHealthToolsCache } from './useHealthToolCache-
|
|
29
|
-
import { I as Icon } from './index-
|
|
26
|
+
import './translationsContext-315b4fd3.js';
|
|
27
|
+
import { H as Heading } from './index-16494cf1.js';
|
|
28
|
+
import { u as useHealthToolsCache } from './useHealthToolCache-85faced6.js';
|
|
29
|
+
import { I as Icon } from './index-4753b93c.js';
|
|
30
30
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
31
31
|
import { isProduction } from './constantsIsProduction.js';
|
|
32
32
|
import { Close, Plus } from '@hhgtech/icons/core';
|
|
33
|
-
import { i as isVideo } from './index-
|
|
34
|
-
import { M as Modal } from './index-
|
|
33
|
+
import { i as isVideo } from './index-b41c721e.js';
|
|
34
|
+
import { M as Modal } from './index-2de22431.js';
|
|
35
35
|
import Cookies from 'js-cookie';
|
|
36
36
|
import flatten from 'lodash/flatten';
|
|
37
37
|
import uniqBy from 'lodash/uniqBy';
|
|
38
|
-
import { L as LOCALE } from './Locale-
|
|
38
|
+
import { L as LOCALE } from './Locale-b49cb218.js';
|
|
39
39
|
|
|
40
40
|
const PREFER_TOPICS = [
|
|
41
41
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-c74116d0.js';
|
|
2
2
|
import React__default, { createContext, useContext } from 'react';
|
|
3
3
|
import { createStyles, rem, Box, Input, Chip, useMantineTheme, Flex, Switch } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { B as Button } from './index-
|
|
6
|
-
import { u as useTranslations } from './index-
|
|
4
|
+
import { T as Text } from './index-ef38443a.js';
|
|
5
|
+
import { B as Button } from './index-df2ef983.js';
|
|
6
|
+
import { u as useTranslations } from './index-85d11d26.js';
|
|
7
7
|
import flattenChildren from 'react-keyed-flatten-children';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-c74116d0.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { createStyles, Text as Text$1 } from '@mantine/core';
|
|
4
|
-
import { O as OTHER_THEME_CONFIG, F as FontWeight } from './other-
|
|
4
|
+
import { O as OTHER_THEME_CONFIG, F as FontWeight } from './other-38d42e3e.js';
|
|
5
5
|
|
|
6
6
|
var useStyles = createStyles((theme, _params) => {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-c74116d0.js';
|
|
2
2
|
import React__default, { useState, useEffect, useRef, useContext, useMemo } from 'react';
|
|
3
3
|
import { Box, useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
5
|
-
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-
|
|
4
|
+
import { I as ImageWrap } from './useScreenSize-e8ec74ad.js';
|
|
5
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-2f6899d6.js';
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
7
|
import { PATHS } from './togetherApiPaths.js';
|
|
8
|
-
import { D as DEFAULT_IMG } from './constants-
|
|
9
|
-
import { y as youtubeVidIdGetter } from './post-
|
|
10
|
-
import { L as Loading } from './index-
|
|
8
|
+
import { D as DEFAULT_IMG } from './constants-d07add0e.js';
|
|
9
|
+
import { y as youtubeVidIdGetter } from './post-df7df0a4.js';
|
|
10
|
+
import { L as Loading } from './index-624da8dc.js';
|
|
11
11
|
|
|
12
12
|
const StyledSocialLinkPreview = styled.div `
|
|
13
13
|
.link-info-container {
|
|
@@ -1,48 +1,49 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
2
|
-
import React__default, { useMemo, useContext, useState,
|
|
3
|
-
import { V as VideoType } from './index-
|
|
4
|
-
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { a as formatCommunity, b as formatPost } from './dataTransform-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-c74116d0.js';
|
|
2
|
+
import React__default, { useMemo, useEffect, useContext, useState, useRef, useCallback } from 'react';
|
|
3
|
+
import { V as VideoType } from './index-6baceb51.js';
|
|
4
|
+
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-2cb4efdf.js';
|
|
5
|
+
import { a as CARE_LOCALES, b as CARE_BOOKING_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES, c as VIDEO_LOCALES, S as STATIC_PAGES, L as LOCALE_SPECS } from './index-85b6de71.js';
|
|
6
|
+
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain, n as normalizeLink, e as normalizeLinkSlash, d as getCareApiDomain } from './normalizeLink-1052f131.js';
|
|
7
|
+
import { a as formatCommunity, b as formatPost } from './dataTransform-5323a3be.js';
|
|
8
8
|
import { ArrowRight, ChatAi } from '@hhgtech/icons/other';
|
|
9
9
|
import { createStyles, Box, Indicator, useMantineTheme } from '@mantine/core';
|
|
10
|
-
import { L as Logo$1 } from './index-
|
|
10
|
+
import { L as Logo$1 } from './index-431f07a0.js';
|
|
11
11
|
import throttle from 'lodash/throttle';
|
|
12
|
-
import { I as Input } from './index-
|
|
12
|
+
import { I as Input } from './index-cf8c9130.js';
|
|
13
13
|
import '@mantine/dates';
|
|
14
|
-
import { C as CommonGAssets } from './index-
|
|
15
|
-
import './useMantineLocale-
|
|
16
|
-
import { T as Text } from './index-
|
|
17
|
-
import { B as Button$1 } from './index-
|
|
18
|
-
import './index.styles-
|
|
19
|
-
import './translationsContext-
|
|
14
|
+
import { C as CommonGAssets } from './index-d5b876a2.js';
|
|
15
|
+
import './useMantineLocale-4fe5572f.js';
|
|
16
|
+
import { T as Text } from './index-ef38443a.js';
|
|
17
|
+
import { B as Button$1 } from './index-df2ef983.js';
|
|
18
|
+
import './index.styles-bba78daa.js';
|
|
19
|
+
import './translationsContext-315b4fd3.js';
|
|
20
20
|
import '@mantine/hooks';
|
|
21
|
-
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-
|
|
22
|
-
import './other-
|
|
23
|
-
import './index-
|
|
24
|
-
import { L as LOCALISED_SLUGS } from './constants-
|
|
21
|
+
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-92b0b714.js';
|
|
22
|
+
import './other-38d42e3e.js';
|
|
23
|
+
import './index-ae7f5949.js';
|
|
24
|
+
import { L as LOCALISED_SLUGS } from './constants-624ac70e.js';
|
|
25
25
|
import styled from '@emotion/styled';
|
|
26
|
-
import { u as useCSSFocusPopupHelper,
|
|
27
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
26
|
+
import { u as useCSSFocusPopupHelper, N as NavigationProfileButton } from './index-36701a5e.js';
|
|
27
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-6705e0f3.js';
|
|
28
|
+
import { i as domainLocalesMarryBaby } from './utils-2f6899d6.js';
|
|
29
|
+
import { domainLocales } from './constantsDomainLocales.js';
|
|
30
|
+
import { L as LOCALIZED_SLUGS } from './constants-cf9b0868.js';
|
|
31
|
+
import { u as useTranslations } from './index-85d11d26.js';
|
|
30
32
|
import { theme } from './miscTheme.js';
|
|
31
|
-
import { H as Heading } from './index-
|
|
33
|
+
import { H as Heading } from './index-16494cf1.js';
|
|
32
34
|
import { Close, Logo } from '@hhgtech/icons/core';
|
|
33
|
-
import { I as Indicator$1 } from './index-
|
|
34
|
-
import { u as useIsInit } from './useIsInit-
|
|
35
|
+
import { I as Indicator$1 } from './index-34842f2c.js';
|
|
36
|
+
import { u as useIsInit } from './useIsInit-2f639bc2.js';
|
|
35
37
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
36
|
-
import { B as Button } from './index-
|
|
38
|
+
import { B as Button } from './index-ffd3b149.js';
|
|
37
39
|
import dayjs from 'dayjs';
|
|
38
40
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
39
|
-
import { U as UserAvatar } from './index-
|
|
41
|
+
import { U as UserAvatar } from './index-2a6977e0.js';
|
|
40
42
|
import formatString from 'string-format';
|
|
41
|
-
import {
|
|
42
|
-
import { C as Container } from './index-bb0d1199.js';
|
|
43
|
+
import { C as Container } from './index-a2b34563.js';
|
|
43
44
|
import debounce from 'lodash/debounce';
|
|
44
|
-
import { L as LOCALE } from './Locale-
|
|
45
|
-
import { g as getDataWithCache } from './core-
|
|
45
|
+
import { L as LOCALE } from './Locale-b49cb218.js';
|
|
46
|
+
import { g as getDataWithCache } from './core-87474538.js';
|
|
46
47
|
|
|
47
48
|
const getEcomUrl = ({ path, locale, }) => {
|
|
48
49
|
var _a;
|
|
@@ -87,6 +88,100 @@ const DisplayWrapper = ({ forceDisplay, mediaQueryKey, children, className, styl
|
|
|
87
88
|
|
|
88
89
|
var styles$2 = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
|
|
89
90
|
|
|
91
|
+
const useNavConfig = ({ locale, projectType, siteType, enableBookingBtn, }) => {
|
|
92
|
+
const config = useMemo(() => {
|
|
93
|
+
const enableSearchBar = projectType === 'discover' ||
|
|
94
|
+
projectType === 'together' ||
|
|
95
|
+
projectType === 'marryBaby' ||
|
|
96
|
+
(projectType === 'profile' && siteType === 'marryBaby');
|
|
97
|
+
const enableNavCare = siteType !== 'marryBaby' &&
|
|
98
|
+
projectType !== 'marryBaby' &&
|
|
99
|
+
CARE_LOCALES.includes(locale);
|
|
100
|
+
const enableNavCareBooking = enableBookingBtn &&
|
|
101
|
+
projectType !== 'marryBaby' &&
|
|
102
|
+
projectType === 'discover' &&
|
|
103
|
+
siteType !== 'marryBaby' &&
|
|
104
|
+
CARE_BOOKING_LOCALES.includes(locale);
|
|
105
|
+
const enableNavTogether = projectType === 'marryBaby' || TOGETHER_LOCALES.includes(locale);
|
|
106
|
+
const enableNavDiscover = true;
|
|
107
|
+
const enableNavHealthTools = true;
|
|
108
|
+
const enableProfileMySaved = true;
|
|
109
|
+
const enableNavEcom = siteType !== 'marryBaby' && ECOM_LOCALES.includes(locale);
|
|
110
|
+
const enableProfileEcom = siteType !== 'marryBaby' && ECOM_LOCALES.includes(locale);
|
|
111
|
+
const enableProfileMyHealth = true;
|
|
112
|
+
const enableNavVideo = VIDEO_LOCALES.includes(locale);
|
|
113
|
+
const baseUrl = getCurrentBaseUrl(locale, siteType === 'marryBaby');
|
|
114
|
+
let fixBaseUrl = baseUrl;
|
|
115
|
+
if (typeof window !== 'undefined') {
|
|
116
|
+
if (fixBaseUrl.includes('//id.'))
|
|
117
|
+
fixBaseUrl = fixBaseUrl.replace('id.', '');
|
|
118
|
+
if (fixBaseUrl.includes('//staging-id.'))
|
|
119
|
+
fixBaseUrl = fixBaseUrl.replace('staging-id.', 'discover.');
|
|
120
|
+
}
|
|
121
|
+
const ssoUrl = getCurrentSsoUrl(locale, siteType === 'marryBaby');
|
|
122
|
+
const statics = (() => {
|
|
123
|
+
return {
|
|
124
|
+
HOME_PAGE_URL: fixBaseUrl,
|
|
125
|
+
CARE_URL_FE: `${fixBaseUrl}/care`,
|
|
126
|
+
TOGETHER_URL_FE: `${fixBaseUrl}/community`,
|
|
127
|
+
VIDEO_URL_FE: `${fixBaseUrl}/videos`,
|
|
128
|
+
SSO_URL: ssoUrl,
|
|
129
|
+
TOGETHER_API: getTogetherApiDomain(),
|
|
130
|
+
DISCOVER_API: getDiscoverApiDomain(locale),
|
|
131
|
+
};
|
|
132
|
+
})();
|
|
133
|
+
return {
|
|
134
|
+
enableSearchBar,
|
|
135
|
+
enableNavCare,
|
|
136
|
+
enableNavCareBooking,
|
|
137
|
+
enableNavTogether,
|
|
138
|
+
enableNavEcom,
|
|
139
|
+
enableProfileEcom,
|
|
140
|
+
enableNavVideo,
|
|
141
|
+
enableProfileMyHealth,
|
|
142
|
+
enableNavDiscover,
|
|
143
|
+
enableNavHealthTools,
|
|
144
|
+
enableProfileMySaved,
|
|
145
|
+
statics,
|
|
146
|
+
};
|
|
147
|
+
}, []);
|
|
148
|
+
return config;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
const NavigationContext = React__default.createContext({});
|
|
152
|
+
const NavigationProvider = (_a) => {
|
|
153
|
+
var { children } = _a, props = __rest(_a, ["children"]);
|
|
154
|
+
const [currentUrl, setCurrentUrl] = React__default.useState(() => {
|
|
155
|
+
return (props.currentUrl ||
|
|
156
|
+
`https://${props.siteType === 'marryBaby'
|
|
157
|
+
? domainLocalesMarryBaby[props.locale || 'en-PH']
|
|
158
|
+
: domainLocales[props.locale || 'en-PH']}${props.projectType === 'together'
|
|
159
|
+
? '/community'
|
|
160
|
+
: props.projectType === 'ecom'
|
|
161
|
+
? '/ecom'
|
|
162
|
+
: props.projectType === 'care'
|
|
163
|
+
? '/care'
|
|
164
|
+
: ''}/`);
|
|
165
|
+
});
|
|
166
|
+
useEffect(() => {
|
|
167
|
+
const update = () => {
|
|
168
|
+
setCurrentUrl(window.location.href);
|
|
169
|
+
};
|
|
170
|
+
window.addEventListener('popstate', update);
|
|
171
|
+
update();
|
|
172
|
+
return () => {
|
|
173
|
+
window.removeEventListener('popstate', update);
|
|
174
|
+
};
|
|
175
|
+
}, []);
|
|
176
|
+
const configs = useNavConfig({
|
|
177
|
+
locale: props.locale,
|
|
178
|
+
projectType: props.projectType,
|
|
179
|
+
siteType: props.siteType,
|
|
180
|
+
enableBookingBtn: props.enableBookingBtn,
|
|
181
|
+
});
|
|
182
|
+
return (React__default.createElement(NavigationContext.Provider, { value: Object.assign(Object.assign({}, props), { configs: Object.assign(Object.assign({}, configs), props.configs), currentUrl: props.currentUrl || currentUrl }) }, children));
|
|
183
|
+
};
|
|
184
|
+
|
|
90
185
|
function ClosePopupIcon({ className }) {
|
|
91
186
|
return (React__default.createElement("div", null,
|
|
92
187
|
React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
@@ -1410,9 +1505,9 @@ const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
|
1410
1505
|
|
|
1411
1506
|
const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
|
|
1412
1507
|
var _a, _b;
|
|
1413
|
-
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale,
|
|
1508
|
+
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, } = useContext(NavigationContext);
|
|
1414
1509
|
const { t } = useTranslations();
|
|
1415
|
-
return (React__default.createElement(StyledMasterMenuContainer, {
|
|
1510
|
+
return (React__default.createElement(StyledMasterMenuContainer, { id: 'categories-menu' },
|
|
1416
1511
|
!isHomepage && (React__default.createElement(StyleWrapperSearch, null,
|
|
1417
1512
|
React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: false, isRedirectSearchPage: true }))),
|
|
1418
1513
|
React__default.createElement(StyledWrapper, null,
|
|
@@ -2169,7 +2264,7 @@ const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
|
2169
2264
|
React__default.createElement(Logo, { width: 16, height: 15 })) }, `${LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
2170
2265
|
};
|
|
2171
2266
|
|
|
2172
|
-
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType,
|
|
2267
|
+
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, }) => {
|
|
2173
2268
|
var _a, _b;
|
|
2174
2269
|
const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, isHomepage = false,
|
|
2175
2270
|
// onBookingClick,
|
|
@@ -2186,7 +2281,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2186
2281
|
// enableProfileEcom,
|
|
2187
2282
|
}, userState: { userInfo }, onLogout,
|
|
2188
2283
|
// userProfileRouterPush,
|
|
2189
|
-
isUserLoading,
|
|
2284
|
+
isUserLoading, } = useContext(NavigationContext);
|
|
2190
2285
|
const { triggerLogin } = useSSOV2Store();
|
|
2191
2286
|
const { SSO_URL, HOME_PAGE_URL } = statics;
|
|
2192
2287
|
const isSponsored = !!sponsorComponent;
|
|
@@ -2242,10 +2337,10 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2242
2337
|
scrolling();
|
|
2243
2338
|
}, [isMobile]);
|
|
2244
2339
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
2245
|
-
return (React__default.createElement(StyledHeaderWrapper, { "data-site-type": siteType, "data-sponsored": isSponsored, "data-sitewide-banner-shown": isShowingSiteWideBanner, "data-header-type": "home", "data-collapsed": isCollapsed, "data-is-displayed": true, id: "site-header", ref: headerRef
|
|
2340
|
+
return (React__default.createElement(StyledHeaderWrapper, { "data-site-type": siteType, "data-sponsored": isSponsored, "data-sitewide-banner-shown": isShowingSiteWideBanner, "data-header-type": "home", "data-collapsed": isCollapsed, "data-is-displayed": true, id: "site-header", ref: headerRef },
|
|
2246
2341
|
sitewideBanner,
|
|
2247
|
-
React__default.createElement(StyledHeader, {
|
|
2248
|
-
React__default.createElement(StyledLeftGroup, {
|
|
2342
|
+
React__default.createElement(StyledHeader, { "data-site-type": siteType },
|
|
2343
|
+
React__default.createElement(StyledLeftGroup, { "data-site-type": siteType },
|
|
2249
2344
|
isMobile && (React__default.createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType })),
|
|
2250
2345
|
logoComponent || (React__default.createElement("a", { style: {
|
|
2251
2346
|
flexShrink: 0,
|
|
@@ -2254,16 +2349,15 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2254
2349
|
React__default.createElement(Logo$1, { style: {
|
|
2255
2350
|
display: 'flex',
|
|
2256
2351
|
}, type: logoType, badge: locale === 'id-ID' && (React__default.createElement("img", { src: CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server' })))),
|
|
2257
|
-
!isMobile && (React__default.createElement(React__default.Fragment, null, siteType === 'marryBaby' ? (React__default.createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems
|
|
2258
|
-
React__default.createElement(StyledRightGroup, {
|
|
2259
|
-
!isMobile && siteType !== 'marryBaby' && (React__default.createElement(NavigationMenu, { menuItems: menuItems.filter((m) => m.id !== 'ecom' && m.id !== 'care'), originalMenuItems: menuItems
|
|
2352
|
+
!isMobile && (React__default.createElement(React__default.Fragment, null, siteType === 'marryBaby' ? (React__default.createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems })) : (enableSearchBar && (React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile })))))),
|
|
2353
|
+
React__default.createElement(StyledRightGroup, { "data-site-type": siteType },
|
|
2354
|
+
!isMobile && siteType !== 'marryBaby' && (React__default.createElement(NavigationMenu, { menuItems: menuItems.filter((m) => m.id !== 'ecom' && m.id !== 'care'), originalMenuItems: menuItems })),
|
|
2260
2355
|
React__default.createElement(StyledProfileNavGroup, null,
|
|
2261
2356
|
languageMenu,
|
|
2262
2357
|
enableNavChatbotAi && (React__default.createElement(Box, { component: "a", href: `${getCurrentBaseUrl(locale)}/ai-doctor`, "data-event-category": "Chatbot AI", "data-event-action": "Open", "data-event-label": "Hamburger Navigation", className: "ai-doctor-nav-item" },
|
|
2263
2358
|
React__default.createElement(StyleButtonAiChat, { variant: "tertiary", leftIcon: React__default.createElement(ChatAi, { size: 18, color: "#2F8AF2" }), size: "md", className: "ai-doctor-btn" }, (_b = LOCALE_SPECS[locale]) === null || _b === void 0 ? void 0 :
|
|
2264
2359
|
_b.SITE_NAME,
|
|
2265
2360
|
" AI"))),
|
|
2266
|
-
slot,
|
|
2267
2361
|
React__default.createElement(NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin,
|
|
2268
2362
|
// SSO_URL={normalizeLink(statics.SSO_URL)}
|
|
2269
2363
|
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile }),
|
|
@@ -2290,9 +2384,9 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2290
2384
|
};
|
|
2291
2385
|
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false, }) => (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbUp", className: `${siteType === 'marryBaby' ? 'marry-baby' : ''} ${isHomepage ? 'block-show' : ''}` },
|
|
2292
2386
|
React__default.createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, isRedirectSearchPage: isRedirectSearchPage })));
|
|
2293
|
-
const NavigationMenu = ({ menuItems, originalMenuItems,
|
|
2387
|
+
const NavigationMenu = ({ menuItems, originalMenuItems, }) => {
|
|
2294
2388
|
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = useContext(NavigationContext);
|
|
2295
|
-
return (React__default.createElement(DisplayWrapper, {
|
|
2389
|
+
return (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbUp", style: { height: '100%' } },
|
|
2296
2390
|
React__default.createElement(StyledWrapMenuItems, { "data-site-type": siteType }, menuItems === null || menuItems === void 0 ? void 0 : menuItems.map((menuItem, index) => (React__default.createElement(ItemMenu, { key: index, item: menuItem, menu: menuItem.popupType === 'categories' ? (React__default.createElement(MenuCategoriesList, { categories: categories === null || categories === void 0 ? void 0 : categories.items, spotlightsList: categories === null || categories === void 0 ? void 0 : categories.spotlights })) : menuItem.popupType === 'tools' ? (React__default.createElement(MenuHealthToolsList, { locale: locale, healthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.items, spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights })) : menuItem.popupType === 'together' ? (React__default.createElement(MenuCommunitiesList, { communities: together === null || together === void 0 ? void 0 : together.items, spotlights: together === null || together === void 0 ? void 0 : together.spotlights })) : menuItem.popupType === 'care' ? (React__default.createElement(MenuCareList, { careSpecialties: care === null || care === void 0 ? void 0 : care.items, spotlights: care === null || care === void 0 ? void 0 : care.spotlights })) : menuItem.popupType === 'video' ? (React__default.createElement(MenuVideoList, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights })) : menuItem.popupType === 'other' ? (React__default.createElement(MenuViewMore, { menuItems: originalMenuItems })) : null }))))));
|
|
2297
2391
|
};
|
|
2298
2392
|
|
|
@@ -2502,7 +2596,7 @@ const StyledContainer = styled.div `
|
|
|
2502
2596
|
|
|
2503
2597
|
const _NavigationV2 = (props) => {
|
|
2504
2598
|
var _a, _b;
|
|
2505
|
-
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType,
|
|
2599
|
+
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, } = props;
|
|
2506
2600
|
const services = useNavServices();
|
|
2507
2601
|
useInsider();
|
|
2508
2602
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
@@ -2520,7 +2614,7 @@ const _NavigationV2 = (props) => {
|
|
|
2520
2614
|
'--header-bottom': headerBottom + 'px',
|
|
2521
2615
|
}, className: className },
|
|
2522
2616
|
React__default.createElement("section", { ref: headerRef },
|
|
2523
|
-
React__default.createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default.createElement(LanguageSwitcher, { languageOptions: languageOptions, locale: locale })
|
|
2617
|
+
React__default.createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default.createElement(LanguageSwitcher, { languageOptions: languageOptions, locale: locale }) }))));
|
|
2524
2618
|
};
|
|
2525
2619
|
const NavigationV2 = (props) => {
|
|
2526
2620
|
const propsWithDefaultValues = Object.assign({ siteType: 'helloSites', projectType: 'discover', locale: 'vi-VN', activeMenuService: 'categories', ssrMenuContent: {} }, props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as cookie } from './index-
|
|
2
|
-
import { B as BEARER_TOKEN_COOKIE } from './index-
|
|
3
|
-
import { N as NodeIntentType } from './index-
|
|
1
|
+
import { c as cookie } from './index-8e6ca0ef.js';
|
|
2
|
+
import { B as BEARER_TOKEN_COOKIE } from './index-85b6de71.js';
|
|
3
|
+
import { N as NodeIntentType } from './index-6baceb51.js';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { v4 } from 'uuid';
|
|
6
6
|
import { isProduction } from './constantsIsProduction.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-c74116d0.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { B as Button$1 } from './index-
|
|
3
|
+
import { B as Button$1 } from './index-df2ef983.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
|