@hhgtech/hhg-components 1.29.400 → 1.29.401-beta-2
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-475584f5.js → InputDate-2dd9b19f.js} +3 -3
- package/build/{LastPeriod-f93a136d.js → LastPeriod-40cfe16c.js} +1 -1
- package/build/{MobileBottomNavigationIcon-a83c16d6.js → MobileBottomNavigationIcon-67cc40d7.js} +3 -3
- package/build/{Spinner-846c13d6.js → Spinner-fa4ee226.js} +1 -1
- package/build/{WhatsApp-112ad561.js → WhatsApp-e58eeb87.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 +3 -1
- package/build/components/navigationV2/index.d.ts +12 -1
- package/build/components.js +97 -97
- package/build/{constants-b0f0a61c.js → constants-60568c83.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-e09ad210.js → core-2e4c4ab1.js} +1 -1
- package/build/{dataTransform-279aa253.js → dataTransform-5f7ada7e.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-b0c91025.js → editor-c5947234.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-fb600a1b.js → InputDate-fbac7954.js} +3 -3
- package/build/esm/{LastPeriod-a2e706f6.js → LastPeriod-41fcf94d.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-56cb5b22.js → MobileBottomNavigationIcon-5b6293df.js} +3 -3
- package/build/esm/{Spinner-b537b01e.js → Spinner-68d141a2.js} +1 -1
- package/build/esm/{WhatsApp-73dcec2f.js → WhatsApp-43e73add.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 +3 -1
- package/build/esm/components/navigationV2/index.d.ts +12 -1
- package/build/esm/components.js +97 -97
- package/build/esm/{constants-3e758737.js → constants-f9f994f6.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-1985ff4d.js → core-7b5715b9.js} +1 -1
- package/build/esm/{dataTransform-1c0a1816.js → dataTransform-addee38a.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-ffed07f3.js → editor-336a9746.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-1a21fce0.js → healthTools-9256a012.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-2b19dbd0.js → index-005a0046.js} +18 -18
- package/build/esm/{index-de92be7e.js → index-05a2d07f.js} +2 -2
- package/build/esm/{index-b4a5ecd8.js → index-06d8483c.js} +17 -17
- package/build/esm/{index-d3db85a8.js → index-09e3ce48.js} +4 -4
- package/build/esm/{index-7bef7f10.js → index-09fc4730.js} +2 -2
- package/build/esm/{index-c86ce648.js → index-131c4f5c.js} +3 -3
- package/build/esm/{index-97902fa4.js → index-1554883b.js} +16 -16
- package/build/esm/{index-417d9616.js → index-1571f9df.js} +7 -7
- package/build/esm/{index-2f83d666.js → index-2005b004.js} +47 -141
- package/build/esm/{index-f2ed4cf0.js → index-27a2c8cc.js} +112 -12
- package/build/esm/{index-fcd0c421.js → index-2c10360c.js} +6 -6
- package/build/esm/{index-de2db0e4.js → index-2f038661.js} +13 -13
- package/build/esm/{index-40c4eea5.js → index-340c5bd9.js} +2 -2
- package/build/esm/{index-dda52aad.js → index-348d671e.js} +7 -7
- package/build/esm/{index-c7ab3f85.js → index-36280739.js} +17 -17
- package/build/esm/{index-8b59d365.js → index-383646d8.js} +1 -1
- package/build/esm/{index-dfed6f31.js → index-3ad8f24c.js} +1 -1
- package/build/esm/{index-572af2ac.js → index-4275f07a.js} +3 -3
- package/build/esm/{index-b4c05bb1.js → index-4d1f996b.js} +25 -25
- package/build/esm/{index-9c347240.js → index-5478fdab.js} +2 -2
- package/build/esm/{index-5b1adf7b.js → index-598b909a.js} +2 -2
- package/build/esm/{index-f3267322.js → index-5c818cec.js} +2 -2
- package/build/esm/{index-58df744f.js → index-5e1b7279.js} +2 -2
- package/build/esm/{index-459abe22.js → index-5e63953c.js} +1 -1
- package/build/esm/{index-6879c07b.js → index-5ea96aa1.js} +17 -17
- package/build/esm/{index-7e95aa18.js → index-5efa8e9e.js} +1 -1
- package/build/esm/{index-ca9b8d87.js → index-61665cb3.js} +13 -13
- package/build/esm/{index-4988c5e4.js → index-65946882.js} +6 -6
- package/build/esm/{index-75cf174c.js → index-740b42fa.js} +3 -3
- package/build/esm/{index-48675316.js → index-78825314.js} +1 -1
- package/build/esm/{index-deeffd7d.js → index-7a8e08c4.js} +16 -16
- package/build/esm/{index-b6502421.js → index-839f959f.js} +18 -18
- package/build/esm/{index-d89b7f18.js → index-85209b91.js} +24 -24
- package/build/esm/{index-3add8633.js → index-869b67b9.js} +1 -1
- package/build/esm/{index-b193808a.js → index-86b0cea6.js} +2 -2
- package/build/esm/{index-dc74376e.js → index-86d3a248.js} +3 -3
- package/build/esm/{index-13fa5d81.js → index-87079858.js} +31 -31
- package/build/esm/{index-6ff79778.js → index-8816d3f6.js} +5 -5
- package/build/esm/{index-0405403c.js → index-8907e116.js} +4 -4
- package/build/esm/{index-70b6206a.js → index-98590789.js} +1 -1
- package/build/esm/{index-c701e6b3.js → index-992c1036.js} +2 -2
- package/build/esm/{index-b70586f9.js → index-a2e0dfb8.js} +32 -32
- package/build/esm/{index-0f813ec8.js → index-a6ed5a69.js} +13 -13
- package/build/esm/{index-552c79f1.js → index-a83db595.js} +21 -21
- package/build/esm/{index-a2bd88d0.js → index-aa868110.js} +6 -6
- package/build/esm/{index-f92037e7.js → index-acae3549.js} +10 -10
- package/build/esm/{index-7d8d6325.js → index-afba3ed0.js} +2 -2
- package/build/esm/{index-5eb4cc33.js → index-b146c9dc.js} +16 -16
- package/build/esm/{index-4632ae21.js → index-b16f6245.js} +17 -17
- package/build/esm/{index-d3788e3c.js → index-b6409790.js} +2 -2
- package/build/esm/{index-f49285fd.js → index-bc9b7617.js} +6 -6
- package/build/esm/{index-6f5c3a85.js → index-c27dd962.js} +5 -5
- package/build/esm/{index-d3778685.js → index-c37c7275.js} +1 -1
- package/build/esm/{index-1fba5916.js → index-cc78afc5.js} +13 -13
- package/build/esm/{index-5671829c.js → index-d29bbcf3.js} +2 -2
- package/build/esm/{index-a0ab3ef9.js → index-d37f8866.js} +2 -2
- package/build/esm/{index-35fd9850.js → index-d56677fe.js} +22 -22
- package/build/esm/{index-364c815d.js → index-d87506b7.js} +1 -1
- package/build/esm/{index-9a106f82.js → index-d9fd0a5c.js} +15 -15
- package/build/esm/{index-ad78764b.js → index-ddc9b082.js} +11 -11
- package/build/esm/{index-3ac0f9d1.js → index-e5f52eb9.js} +3 -3
- package/build/esm/{index-62b30013.js → index-edc831e3.js} +16 -16
- package/build/esm/{index-f09fe134.js → index-ef24ef97.js} +2 -2
- package/build/esm/{index-0508aede.js → index-fadea3df.js} +6 -6
- package/build/esm/{index-a074ee15.js → index-fd5a1463.js} +3 -3
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-1ed4dde5.js → labelSorting-ee76aca8.js} +4 -4
- package/build/esm/lead.js +32 -32
- package/build/esm/{logoIcon-cce9c778.js → logoIcon-8e517fdb.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 +30 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +50 -50
- package/build/esm/{post-6c060e39.js → post-cfda7731.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 +2 -1
- package/build/esm/ssoV2.js +52 -40
- package/build/esm/{store-352724a1.js → store-ff26652c.js} +3 -3
- package/build/esm/subot/subotInlineRevamp/context.d.ts +1 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineInfoSection/index.d.ts +2 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineInfoSection/styled.d.ts +9 -0
- package/build/esm/subot/subotInlineRevamp/typeFormView/index.d.ts +6 -0
- package/build/esm/subot/subotInlineRevamp/types.d.ts +9 -1
- package/build/esm/subot/subotInlineRevamp/view.d.ts +1 -1
- package/build/esm/subot.js +125 -69
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-252f2f2e.js → surveyThankyouCard-b8fd0463.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-ee18fa47.js → translationsProvider-a1977643.js} +1 -1
- package/build/esm/{treePopoverMenu-a68f9cac.js → treePopoverMenu-c6afe1e1.js} +19 -19
- package/build/esm/{types-8b3f7ec2.js → types-a10b8eba.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-ab3a775b.js → useCategory-c893441d.js} +5 -5
- package/build/esm/{useHealthToolCache-78a9eec4.js → useHealthToolCache-011e9fdc.js} +1 -1
- package/build/esm/{useMantineLocale-ce3d1ef2.js → useMantineLocale-4f206fbe.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-3595a6cf.js → usePlacesAutocomplete-6170b6a6.js} +1 -1
- package/build/esm/{useScreenSize-f2db1961.js → useScreenSize-359dbbca.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-36c1dc77.js → utils-09508543.js} +5 -5
- package/build/esm/{utils-e23bdcde.js → utils-3d993968.js} +2 -2
- package/build/esm/{utils-2af4458c.js → utils-aa1c3f29.js} +3 -3
- package/build/esm/{utils-41811436.js → utils-d5518e81.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-09ea479d.js → healthTools-f2993489.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-d8c6411d.js → index-01396828.js} +6 -6
- package/build/{index-a1226d90.js → index-017e16df.js} +22 -22
- package/build/{index-67e84ea9.js → index-065addac.js} +25 -25
- package/build/{index-78965b91.js → index-083e9d67.js} +2 -2
- package/build/{index-b9b2a4a0.js → index-086a6dd7.js} +2 -2
- package/build/{index-d659ab83.js → index-152aedf6.js} +17 -17
- package/build/{index-5da49a6e.js → index-16fef013.js} +11 -11
- package/build/{index-ce11cb7d.js → index-17d5a2a3.js} +1 -1
- package/build/{index-2c14028f.js → index-1d4d15fa.js} +24 -24
- package/build/{index-1f55881c.js → index-1dc66599.js} +5 -5
- package/build/{index-a9f71472.js → index-1e0b53d5.js} +16 -16
- package/build/{index-2cb72b95.js → index-2141cf2b.js} +6 -6
- package/build/{index-07f84d8e.js → index-2e8408d0.js} +16 -16
- package/build/{index-d030d4d1.js → index-2fb0be38.js} +2 -2
- package/build/{index-eae28c92.js → index-3452fea5.js} +3 -3
- package/build/{index-4d8b71bd.js → index-36b07932.js} +2 -2
- package/build/{index-51765ceb.js → index-36df5744.js} +18 -18
- package/build/{index-80cc7daf.js → index-427eeda1.js} +16 -16
- package/build/{index-1f346ca8.js → index-4369c286.js} +2 -2
- package/build/{index-b39a0f64.js → index-4a04cbc4.js} +1 -1
- package/build/{index-d8c57a92.js → index-4b558d6c.js} +13 -13
- package/build/{index-1d11d4d0.js → index-4c24756c.js} +17 -17
- package/build/{index-1b86ac2f.js → index-4e1ddd69.js} +2 -2
- package/build/{index-c8dd6059.js → index-52e9508b.js} +2 -2
- package/build/{index-aa506a0e.js → index-53a8728d.js} +2 -2
- package/build/{index-fd6742d9.js → index-5d772c81.js} +32 -32
- package/build/{index-83e78148.js → index-63351d6a.js} +6 -6
- package/build/{index-d946b607.js → index-63c16ba8.js} +3 -3
- package/build/{index-dd8576f4.js → index-67ad02ce.js} +16 -16
- package/build/{index-2ddcbae5.js → index-691292be.js} +17 -17
- package/build/{index-4a48c2f2.js → index-7081aa74.js} +4 -4
- package/build/{index-c290929e.js → index-774d9322.js} +17 -17
- package/build/{index-e45bd16d.js → index-7d38b78b.js} +7 -7
- package/build/{index-76d355f6.js → index-8117f9d9.js} +2 -2
- package/build/{index-a69e9d58.js → index-823efe37.js} +2 -2
- package/build/{index-022f43f4.js → index-85cb99b1.js} +1 -1
- package/build/{index-8244cdc3.js → index-879bbe01.js} +3 -3
- package/build/{index-5fc8b17f.js → index-88b0f3cd.js} +4 -4
- package/build/{index-71bda09f.js → index-9bce1b7c.js} +2 -2
- package/build/{index-5ee88311.js → index-9c6879d3.js} +7 -7
- package/build/{index-59411230.js → index-a7bc9c0c.js} +1 -1
- package/build/{index-034734dd.js → index-a80b608b.js} +5 -5
- package/build/{index-b6baa858.js → index-ae100ea1.js} +3 -3
- package/build/{index-191b271a.js → index-b0331f4a.js} +1 -1
- package/build/{index-5ea23cbe.js → index-b3bc9dc6.js} +1 -1
- package/build/{index-fbd04838.js → index-bd0a9a3d.js} +2 -2
- package/build/{index-b639bb07.js → index-bdc2c5ca.js} +15 -15
- package/build/{index-5e62a06c.js → index-bf4eaff8.js} +2 -2
- package/build/{index-48d7c285.js → index-c2657751.js} +10 -10
- package/build/{index-d839677f.js → index-c2cec275.js} +1 -1
- package/build/{index-a5c8e1ef.js → index-c4dfa4c0.js} +2 -2
- package/build/{index-d7660ecc.js → index-d2715b3b.js} +21 -21
- package/build/{index-5e1f6eb5.js → index-d27d0c32.js} +1 -1
- package/build/{index-53fc94e3.js → index-d344c1a7.js} +31 -31
- package/build/{index-a28250e9.js → index-d6a0fd36.js} +1 -1
- package/build/{index-1a64adf0.js → index-d6ab9705.js} +18 -18
- package/build/{index-2e7a0aaf.js → index-e20cfd47.js} +13 -13
- package/build/{index-2b46098f.js → index-ef7a763b.js} +13 -13
- package/build/{index-958d70a5.js → index-f0f21603.js} +142 -236
- package/build/{index-234fda41.js → index-f287c247.js} +13 -13
- package/build/{index-f62b9814.js → index-f828a096.js} +3 -3
- package/build/{index-9f8f89c3.js → index-f88cad0c.js} +3 -3
- package/build/{index-0c014155.js → index-faa6d2a3.js} +6 -6
- package/build/{index-c08ba179.js → index-fd97fc28.js} +121 -18
- package/build/{index-0707b34e.js → index-fdd60a95.js} +6 -6
- package/build/index.js +118 -118
- package/build/{labelSorting-c5e58602.js → labelSorting-67d4d4f8.js} +4 -4
- package/build/lead.js +32 -32
- package/build/{logoIcon-013744dd.js → logoIcon-ecf7abb2.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 +30 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-bc469e4d.js → post-f1b2dfa4.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 +2 -1
- package/build/ssoV2.js +50 -38
- package/build/{store-a59f2cb8.js → store-3376c7a7.js} +3 -3
- package/build/subot/subotInlineRevamp/context.d.ts +1 -1
- package/build/subot/subotInlineRevamp/subotInlineInfoSection/index.d.ts +2 -1
- package/build/subot/subotInlineRevamp/subotInlineInfoSection/styled.d.ts +9 -0
- package/build/subot/subotInlineRevamp/typeFormView/index.d.ts +6 -0
- package/build/subot/subotInlineRevamp/types.d.ts +9 -1
- package/build/subot/subotInlineRevamp/view.d.ts +1 -1
- package/build/subot.js +123 -67
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-d6fbcaf7.js → surveyThankyouCard-1a259e2a.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-15de512b.js → translationsProvider-6ad38eeb.js} +1 -1
- package/build/{treePopoverMenu-e1ea50b1.js → treePopoverMenu-750df480.js} +19 -19
- package/build/{types-f61664f5.js → types-f85688f5.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-181cc9dd.js → useCategory-9698baeb.js} +5 -5
- package/build/{useHealthToolCache-09108f8c.js → useHealthToolCache-4f2121d4.js} +1 -1
- package/build/{useMantineLocale-7d0d4cc9.js → useMantineLocale-2471f8ed.js} +6 -6
- package/build/{usePlacesAutocomplete-7c95224b.js → usePlacesAutocomplete-27accf1a.js} +1 -1
- package/build/{useScreenSize-ddf10a7c.js → useScreenSize-f09a3e73.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-7c293409.js → utils-350f2811.js} +5 -5
- package/build/{utils-2994c0e9.js → utils-427a19cc.js} +2 -2
- package/build/{utils-833d84ce.js → utils-6125ce71.js} +3 -3
- package/build/{utils-bf7e8d4e.js → utils-e9b40d14.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-94279e1a.js → BMI_BOYS.percentile.monthly-f344e147.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-776fdefc.js → BMI_BOYS.percentile.weekly-6119bc7d.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-9999551d.js → BMI_BOYS.percentile.yearly-09c46a3c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-69682fbe.js → BMI_BOYS.zscore.monthly-47dbc262.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-e75fe2a5.js → BMI_BOYS.zscore.weekly-13ce9e67.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-d98fc3ab.js → BMI_BOYS.zscore.yearly-feae7490.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-8294dc28.js → BMI_GIRLS.percentile.monthly-ad31701f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-036e5d54.js → BMI_GIRLS.percentile.weekly-306e1b3a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-376ea739.js → BMI_GIRLS.percentile.yearly-41c238ff.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-74e2c973.js → BMI_GIRLS.zscore.monthly-c4d1a1c0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-f547a613.js → BMI_GIRLS.zscore.weekly-ce873e2e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f6f4734c.js → BMI_GIRLS.zscore.yearly-04549a65.js} +0 -0
- /package/build/{ChevronDown-4b645a48.js → ChevronDown-5eabb902.js} +0 -0
- /package/build/{Close-bf82ab9f.js → Close-858ff261.js} +0 -0
- /package/build/{Google-e95c0dca.js → Google-ee82aa34.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-7042b9e6.js → HEAD CIRCUM_BOYS.percentile.monthly-2921fe49.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-be697be9.js → HEAD CIRCUM_BOYS.percentile.weekly-e9037e4a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-112623bf.js → HEAD CIRCUM_BOYS.percentile.yearly-115ae10b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-57d3705e.js → HEAD CIRCUM_BOYS.zscore.monthly-0c380077.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-ccb0a1b5.js → HEAD CIRCUM_BOYS.zscore.weekly-8577d5bf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-5726e2ec.js → HEAD CIRCUM_BOYS.zscore.yearly-a12ffac0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-2260e942.js → HEAD CIRCUM_GIRLS.percentile.monthly-71b06f76.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-5de919b7.js → HEAD CIRCUM_GIRLS.percentile.weekly-f9c5c77d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-6b438967.js → HEAD CIRCUM_GIRLS.percentile.yearly-8c0e20cf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-615bfabe.js → HEAD CIRCUM_GIRLS.zscore.monthly-3f5547d3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e0170239.js → HEAD CIRCUM_GIRLS.zscore.weekly-2ea3fa72.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9e5b1c1a.js → HEAD CIRCUM_GIRLS.zscore.yearly-dd435dd0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-d8c4a343.js → HEIGHT_BOYS.percentile.monthly-429dba33.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-f711b180.js → HEIGHT_BOYS.percentile.weekly-a2731f0e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-b883d808.js → HEIGHT_BOYS.percentile.yearly-d1c48ed7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-0ce0cdf7.js → HEIGHT_BOYS.zscore.monthly-81c59036.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-39d26f42.js → HEIGHT_BOYS.zscore.weekly-34ba24be.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-ddec136a.js → HEIGHT_BOYS.zscore.yearly-ce568ad3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-a722aea7.js → HEIGHT_GIRLS.percentile.monthly-c4b70a26.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-e6cfdba0.js → HEIGHT_GIRLS.percentile.weekly-64bbe58c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-3d791c9f.js → HEIGHT_GIRLS.percentile.yearly-c911e400.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-00108ac3.js → HEIGHT_GIRLS.zscore.monthly-02be01b2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-5827ec2b.js → HEIGHT_GIRLS.zscore.weekly-1331ab92.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-65387f71.js → HEIGHT_GIRLS.zscore.yearly-c36a8b3e.js} +0 -0
- /package/build/{Locale-44238220.js → Locale-234c8a91.js} +0 -0
- /package/build/{Visible-cbcb372f.js → Visible-4d51e81e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-ccdf1fc1.js → WEIGHT_BOYS.percentile.monthly-b6b97edd.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-304288ca.js → WEIGHT_BOYS.percentile.weekly-685889d4.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-bc52785b.js → WEIGHT_BOYS.percentile.yearly-7ee63e34.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-fdaee0d4.js → WEIGHT_BOYS.zscore.monthly-2899c9ea.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-471bde88.js → WEIGHT_BOYS.zscore.weekly-12f78c7b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-b0d18b12.js → WEIGHT_BOYS.zscore.yearly-4d4fa760.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-9df8ce4c.js → WEIGHT_GIRLS.percentile.monthly-ec6429a7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-46dabeb4.js → WEIGHT_GIRLS.percentile.weekly-fdd08a81.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-70fad643.js → WEIGHT_GIRLS.percentile.yearly-c05923ab.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-30c25b1b.js → WEIGHT_GIRLS.zscore.monthly-b5c26eb5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-537b5952.js → WEIGHT_GIRLS.zscore.weekly-96b3f19d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-21843f98.js → WEIGHT_GIRLS.zscore.yearly-f2ec2e68.js} +0 -0
- /package/build/{animation-2529f1e1.js → animation-62d4148c.js} +0 -0
- /package/build/{constants-1867e61e.js → constants-1f5f6146.js} +0 -0
- /package/build/{constants-7bdd01f5.js → constants-7f7ab502.js} +0 -0
- /package/build/{constants-c408e5b4.js → constants-f9c891d1.js} +0 -0
- /package/build/{dataTransform-0ae21a94.js → dataTransform-9888db26.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-58e86090.js → BMI_BOYS.percentile.monthly-ff7efc00.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-42d373b4.js → BMI_BOYS.percentile.weekly-3f2cb905.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-63ebefec.js → BMI_BOYS.percentile.yearly-752e32f5.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-1454f669.js → BMI_BOYS.zscore.monthly-8b68e1a0.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-58f90c84.js → BMI_BOYS.zscore.weekly-7290b755.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-8255b399.js → BMI_BOYS.zscore.yearly-36e94d69.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-0c0d8994.js → BMI_GIRLS.percentile.monthly-62248bd3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-de99dbb4.js → BMI_GIRLS.percentile.weekly-b6d939b2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-6adbe7bb.js → BMI_GIRLS.percentile.yearly-452fe205.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-52d649b8.js → BMI_GIRLS.zscore.monthly-91e0199d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f36ebb25.js → BMI_GIRLS.zscore.weekly-96fc4c64.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-aaf9ae91.js → BMI_GIRLS.zscore.yearly-701ddbf4.js} +0 -0
- /package/build/esm/{ChevronDown-4e682f5b.js → ChevronDown-9d2405c5.js} +0 -0
- /package/build/esm/{Close-e82909d4.js → Close-89356da9.js} +0 -0
- /package/build/esm/{Google-c7cda3dc.js → Google-3789466e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-4b44fba9.js → HEAD CIRCUM_BOYS.percentile.monthly-72bee6d4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-42370cb1.js → HEAD CIRCUM_BOYS.percentile.weekly-b39bfc0c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-594e02d0.js → HEAD CIRCUM_BOYS.percentile.yearly-75613d96.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-5014b9e8.js → HEAD CIRCUM_BOYS.zscore.monthly-608f8322.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-1672e0c5.js → HEAD CIRCUM_BOYS.zscore.weekly-e8864d3a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-212f91f7.js → HEAD CIRCUM_BOYS.zscore.yearly-a5aaac0a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4706f426.js → HEAD CIRCUM_GIRLS.percentile.monthly-4a533c18.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-37d1d1bc.js → HEAD CIRCUM_GIRLS.percentile.weekly-a3763989.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a30ba2a9.js → HEAD CIRCUM_GIRLS.percentile.yearly-46f696b2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-9b15d126.js → HEAD CIRCUM_GIRLS.zscore.monthly-b6086a83.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-90884a8c.js → HEAD CIRCUM_GIRLS.zscore.weekly-4b2e017d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-7ef64a88.js → HEAD CIRCUM_GIRLS.zscore.yearly-b6aca64d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-8bc863da.js → HEIGHT_BOYS.percentile.monthly-06c7b8b0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-9a4a92a3.js → HEIGHT_BOYS.percentile.weekly-c39572f3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-723ae16f.js → HEIGHT_BOYS.percentile.yearly-e9da7ae8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-66022f5b.js → HEIGHT_BOYS.zscore.monthly-3ed993d5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-8b635a4f.js → HEIGHT_BOYS.zscore.weekly-f8a77714.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-c4c83030.js → HEIGHT_BOYS.zscore.yearly-4c09cafe.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-7e7014de.js → HEIGHT_GIRLS.percentile.monthly-4f3a5eed.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-8acd8b9b.js → HEIGHT_GIRLS.percentile.weekly-f838644b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-682ce118.js → HEIGHT_GIRLS.percentile.yearly-d3871e7d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-fa818cf7.js → HEIGHT_GIRLS.zscore.monthly-39a1798b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-9677adde.js → HEIGHT_GIRLS.zscore.weekly-fc0203c6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-aa96a162.js → HEIGHT_GIRLS.zscore.yearly-958c7270.js} +0 -0
- /package/build/esm/{Locale-7425acbe.js → Locale-48633979.js} +0 -0
- /package/build/esm/{Visible-41318cf7.js → Visible-d8b4169c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-69768aae.js → WEIGHT_BOYS.percentile.monthly-6dd66778.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-f817b07d.js → WEIGHT_BOYS.percentile.weekly-9f1c705e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-69c22946.js → WEIGHT_BOYS.percentile.yearly-052b2e7a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-65969fbb.js → WEIGHT_BOYS.zscore.monthly-65cabe50.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-719f6507.js → WEIGHT_BOYS.zscore.weekly-0d57a66d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-b5015482.js → WEIGHT_BOYS.zscore.yearly-c19aae15.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d81df870.js → WEIGHT_GIRLS.percentile.monthly-79257e05.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-474b4c29.js → WEIGHT_GIRLS.percentile.weekly-1b14b107.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-754bef7f.js → WEIGHT_GIRLS.percentile.yearly-43c86c20.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-d6fc89c4.js → WEIGHT_GIRLS.zscore.monthly-696a5996.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9a700387.js → WEIGHT_GIRLS.zscore.weekly-74dc0f73.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-00e0832d.js → WEIGHT_GIRLS.zscore.yearly-371ee081.js} +0 -0
- /package/build/esm/{animation-f7b0f561.js → animation-1a176043.js} +0 -0
- /package/build/esm/{constants-6a1f7146.js → constants-2e3b61a6.js} +0 -0
- /package/build/esm/{constants-3d5bcd45.js → constants-d9af54d3.js} +0 -0
- /package/build/esm/{constants-b4525d03.js → constants-e639bc10.js} +0 -0
- /package/build/esm/{dataTransform-83d2b23c.js → dataTransform-3cc4cb26.js} +0 -0
- /package/build/esm/{index-69367dbb.js → index-132d754e.js} +0 -0
- /package/build/esm/{index-442bc75b.js → index-1a3649ae.js} +0 -0
- /package/build/esm/{index-836aa627.js → index-1d530c19.js} +0 -0
- /package/build/esm/{index-a5f45979.js → index-20e7fcdb.js} +0 -0
- /package/build/esm/{index-9e88ec27.js → index-33ea5676.js} +0 -0
- /package/build/esm/{index-4bb2ccbd.js → index-4913f19e.js} +0 -0
- /package/build/esm/{index-e05b66fd.js → index-624afa4a.js} +0 -0
- /package/build/esm/{index-375a500e.js → index-efe58942.js} +0 -0
- /package/build/esm/{index.styles-8492f680.js → index.styles-ee895b48.js} +0 -0
- /package/build/esm/{localizeNumberFormat-527b1cb6.js → localizeNumberFormat-d6394877.js} +0 -0
- /package/build/esm/{normalizeLink-4f5ce3d8.js → normalizeLink-8cc56f88.js} +0 -0
- /package/build/esm/{number-0d41a999.js → number-0f7d7f16.js} +0 -0
- /package/build/esm/{other-be73ec89.js → other-f5ee41e7.js} +0 -0
- /package/build/esm/{paths-e7b1b5cc.js → paths-57b58c1c.js} +0 -0
- /package/build/esm/{translationsContext-e1c9d1de.js → translationsContext-b103c685.js} +0 -0
- /package/build/esm/{tslib.es6-09eae993.js → tslib.es6-04eaaacd.js} +0 -0
- /package/build/esm/{types-f1f74f4a.js → types-4bd966bf.js} +0 -0
- /package/build/esm/{useIsInit-06a5c437.js → useIsInit-f100a611.js} +0 -0
- /package/build/esm/{useOutsideClick-1ae4d649.js → useOutsideClick-9204cc3d.js} +0 -0
- /package/build/esm/{useScrollbarSize-5a8ba9cb.js → useScrollbarSize-5084bba5.js} +0 -0
- /package/build/esm/{useUniqueId-148eae6f.js → useUniqueId-1e5cddc4.js} +0 -0
- /package/build/esm/{utils-9ac8c4d7.js → utils-09e85993.js} +0 -0
- /package/build/{index-06a6ae37.js → index-2f89ea69.js} +0 -0
- /package/build/{index-2a114b7c.js → index-3c93fbef.js} +0 -0
- /package/build/{index-02c61eb0.js → index-4a7717a4.js} +0 -0
- /package/build/{index-261b18e7.js → index-63434736.js} +0 -0
- /package/build/{index-af1a6161.js → index-706988fe.js} +0 -0
- /package/build/{index-0ea5278b.js → index-8157819a.js} +0 -0
- /package/build/{index-28d0141e.js → index-891d54a5.js} +0 -0
- /package/build/{index-1a61caa3.js → index-f3eefc01.js} +0 -0
- /package/build/{index.styles-c5859015.js → index.styles-4de019c4.js} +0 -0
- /package/build/{localizeNumberFormat-6b559f0e.js → localizeNumberFormat-dfafeb72.js} +0 -0
- /package/build/{normalizeLink-1d69fe6a.js → normalizeLink-19f051fb.js} +0 -0
- /package/build/{number-9aa5a7ff.js → number-b632a54c.js} +0 -0
- /package/build/{other-88f58e21.js → other-2a14d646.js} +0 -0
- /package/build/{paths-5022a333.js → paths-53ea5b1b.js} +0 -0
- /package/build/{translationsContext-712e8025.js → translationsContext-8458e472.js} +0 -0
- /package/build/{tslib.es6-e2be5b91.js → tslib.es6-db2e173d.js} +0 -0
- /package/build/{types-40709c33.js → types-781ea1cb.js} +0 -0
- /package/build/{useIsInit-2fa4f2a2.js → useIsInit-b9a69337.js} +0 -0
- /package/build/{useOutsideClick-5278217f.js → useOutsideClick-10a2bcf3.js} +0 -0
- /package/build/{useScrollbarSize-36b0ad57.js → useScrollbarSize-eebb3d18.js} +0 -0
- /package/build/{useUniqueId-230d2e19.js → useUniqueId-13b130ca.js} +0 -0
- /package/build/{utils-75f8003e.js → utils-2c2926e7.js} +0 -0
|
@@ -1,49 +1,48 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
2
|
-
import React__default, { useMemo,
|
|
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-04eaaacd.js';
|
|
2
|
+
import React__default, { useMemo, useContext, useState, useEffect, useRef, useCallback } from 'react';
|
|
3
|
+
import { V as VideoType } from './index-78825314.js';
|
|
4
|
+
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-acae3549.js';
|
|
5
|
+
import { S as STATIC_PAGES, L as LOCALE_SPECS, T as TOGETHER_LOCALES, a as CARE_LOCALES } from './index-ef24ef97.js';
|
|
6
|
+
import { n as normalizeLink, e as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-8cc56f88.js';
|
|
7
|
+
import { a as formatCommunity, b as formatPost } from './dataTransform-addee38a.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-bc9b7617.js';
|
|
11
11
|
import throttle from 'lodash/throttle';
|
|
12
|
-
import { I as Input } from './index-
|
|
12
|
+
import { I as Input } from './index-ddc9b082.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-132d754e.js';
|
|
15
|
+
import './useMantineLocale-4f206fbe.js';
|
|
16
|
+
import { T as Text } from './index-09fc4730.js';
|
|
17
|
+
import { B as Button$1 } from './index-c37c7275.js';
|
|
18
|
+
import './index.styles-ee895b48.js';
|
|
19
|
+
import './translationsContext-b103c685.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-09e85993.js';
|
|
22
|
+
import './other-f5ee41e7.js';
|
|
23
|
+
import './index-fd5a1463.js';
|
|
24
|
+
import { L as LOCALISED_SLUGS } from './constants-f9f994f6.js';
|
|
25
25
|
import styled from '@emotion/styled';
|
|
26
|
-
import { u as useCSSFocusPopupHelper, N as NavigationProfileButton } from './index-
|
|
27
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { L as LOCALIZED_SLUGS } from './constants-3d5bcd45.js';
|
|
31
|
-
import { u as useTranslations } from './index-364c815d.js';
|
|
26
|
+
import { u as useCSSFocusPopupHelper, a as NavigationContext, N as NavigationProfileButton, b as NavigationProvider } from './index-27a2c8cc.js';
|
|
27
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-ff26652c.js';
|
|
28
|
+
import { L as LOCALIZED_SLUGS } from './constants-d9af54d3.js';
|
|
29
|
+
import { u as useTranslations } from './index-d87506b7.js';
|
|
32
30
|
import { theme } from './miscTheme.js';
|
|
33
|
-
import { H as Heading } from './index-
|
|
31
|
+
import { H as Heading } from './index-5478fdab.js';
|
|
34
32
|
import { Close, Logo } from '@hhgtech/icons/core';
|
|
35
|
-
import { I as Indicator$1 } from './index-
|
|
36
|
-
import { u as useIsInit } from './useIsInit-
|
|
33
|
+
import { I as Indicator$1 } from './index-3ad8f24c.js';
|
|
34
|
+
import { u as useIsInit } from './useIsInit-f100a611.js';
|
|
37
35
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
38
|
-
import { B as Button } from './index-
|
|
36
|
+
import { B as Button } from './index-992c1036.js';
|
|
39
37
|
import dayjs from 'dayjs';
|
|
40
38
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
41
|
-
import { U as UserAvatar } from './index-
|
|
39
|
+
import { U as UserAvatar } from './index-d37f8866.js';
|
|
42
40
|
import formatString from 'string-format';
|
|
43
|
-
import {
|
|
41
|
+
import { domainLocales } from './constantsDomainLocales.js';
|
|
42
|
+
import { C as Container } from './index-1d530c19.js';
|
|
44
43
|
import debounce from 'lodash/debounce';
|
|
45
|
-
import { L as LOCALE } from './Locale-
|
|
46
|
-
import { g as getDataWithCache } from './core-
|
|
44
|
+
import { L as LOCALE } from './Locale-48633979.js';
|
|
45
|
+
import { g as getDataWithCache } from './core-7b5715b9.js';
|
|
47
46
|
|
|
48
47
|
const getEcomUrl = ({ path, locale, }) => {
|
|
49
48
|
var _a;
|
|
@@ -88,100 +87,6 @@ const DisplayWrapper = ({ forceDisplay, mediaQueryKey, children, className, styl
|
|
|
88
87
|
|
|
89
88
|
var styles$2 = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
|
|
90
89
|
|
|
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
|
-
|
|
185
90
|
function ClosePopupIcon({ className }) {
|
|
186
91
|
return (React__default.createElement("div", null,
|
|
187
92
|
React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
@@ -1505,9 +1410,9 @@ const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
|
1505
1410
|
|
|
1506
1411
|
const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
|
|
1507
1412
|
var _a, _b;
|
|
1508
|
-
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, } = useContext(NavigationContext);
|
|
1413
|
+
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, customClasses, } = useContext(NavigationContext);
|
|
1509
1414
|
const { t } = useTranslations();
|
|
1510
|
-
return (React__default.createElement(StyledMasterMenuContainer, { id:
|
|
1415
|
+
return (React__default.createElement(StyledMasterMenuContainer, { className: customClasses.categoriesMenu, id: "categories-menu" },
|
|
1511
1416
|
!isHomepage && (React__default.createElement(StyleWrapperSearch, null,
|
|
1512
1417
|
React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: false, isRedirectSearchPage: true }))),
|
|
1513
1418
|
React__default.createElement(StyledWrapper, null,
|
|
@@ -2264,7 +2169,7 @@ const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
|
2264
2169
|
React__default.createElement(Logo, { width: 16, height: 15 })) }, `${LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
2265
2170
|
};
|
|
2266
2171
|
|
|
2267
|
-
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, }) => {
|
|
2172
|
+
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, customClasses, }) => {
|
|
2268
2173
|
var _a, _b;
|
|
2269
2174
|
const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, isHomepage = false,
|
|
2270
2175
|
// onBookingClick,
|
|
@@ -2281,7 +2186,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2281
2186
|
// enableProfileEcom,
|
|
2282
2187
|
}, userState: { userInfo }, onLogout,
|
|
2283
2188
|
// userProfileRouterPush,
|
|
2284
|
-
isUserLoading, } = useContext(NavigationContext);
|
|
2189
|
+
isUserLoading, slot, } = useContext(NavigationContext);
|
|
2285
2190
|
const { triggerLogin } = useSSOV2Store();
|
|
2286
2191
|
const { SSO_URL, HOME_PAGE_URL } = statics;
|
|
2287
2192
|
const isSponsored = !!sponsorComponent;
|
|
@@ -2337,10 +2242,10 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2337
2242
|
scrolling();
|
|
2338
2243
|
}, [isMobile]);
|
|
2339
2244
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
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 },
|
|
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, className: customClasses.wrapper },
|
|
2341
2246
|
sitewideBanner,
|
|
2342
|
-
React__default.createElement(StyledHeader, { "data-site-type": siteType },
|
|
2343
|
-
React__default.createElement(StyledLeftGroup, { "data-site-type": siteType },
|
|
2247
|
+
React__default.createElement(StyledHeader, { className: customClasses.header, "data-site-type": siteType },
|
|
2248
|
+
React__default.createElement(StyledLeftGroup, { className: customClasses.leftGroup, "data-site-type": siteType },
|
|
2344
2249
|
isMobile && (React__default.createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType })),
|
|
2345
2250
|
logoComponent || (React__default.createElement("a", { style: {
|
|
2346
2251
|
flexShrink: 0,
|
|
@@ -2349,15 +2254,16 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2349
2254
|
React__default.createElement(Logo$1, { style: {
|
|
2350
2255
|
display: 'flex',
|
|
2351
2256
|
}, 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' })))),
|
|
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 })),
|
|
2257
|
+
!isMobile && (React__default.createElement(React__default.Fragment, null, siteType === 'marryBaby' ? (React__default.createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems, className: customClasses.navMenu })) : (enableSearchBar && (React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile })))))),
|
|
2258
|
+
React__default.createElement(StyledRightGroup, { className: customClasses.rightGroup, "data-site-type": siteType },
|
|
2259
|
+
!isMobile && siteType !== 'marryBaby' && (React__default.createElement(NavigationMenu, { menuItems: menuItems.filter((m) => m.id !== 'ecom' && m.id !== 'care'), originalMenuItems: menuItems, className: customClasses.navMenu })),
|
|
2355
2260
|
React__default.createElement(StyledProfileNavGroup, null,
|
|
2356
2261
|
languageMenu,
|
|
2357
2262
|
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" },
|
|
2358
2263
|
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 :
|
|
2359
2264
|
_b.SITE_NAME,
|
|
2360
2265
|
" AI"))),
|
|
2266
|
+
slot,
|
|
2361
2267
|
React__default.createElement(NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin,
|
|
2362
2268
|
// SSO_URL={normalizeLink(statics.SSO_URL)}
|
|
2363
2269
|
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile }),
|
|
@@ -2384,9 +2290,9 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2384
2290
|
};
|
|
2385
2291
|
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false, }) => (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbUp", className: `${siteType === 'marryBaby' ? 'marry-baby' : ''} ${isHomepage ? 'block-show' : ''}` },
|
|
2386
2292
|
React__default.createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, isRedirectSearchPage: isRedirectSearchPage })));
|
|
2387
|
-
const NavigationMenu = ({ menuItems, originalMenuItems, }) => {
|
|
2293
|
+
const NavigationMenu = ({ menuItems, originalMenuItems, className, }) => {
|
|
2388
2294
|
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = useContext(NavigationContext);
|
|
2389
|
-
return (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbUp", style: { height: '100%' } },
|
|
2295
|
+
return (React__default.createElement(DisplayWrapper, { className: className, mediaQueryKey: "mbUp", style: { height: '100%' } },
|
|
2390
2296
|
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 }))))));
|
|
2391
2297
|
};
|
|
2392
2298
|
|
|
@@ -2596,7 +2502,7 @@ const StyledContainer = styled.div `
|
|
|
2596
2502
|
|
|
2597
2503
|
const _NavigationV2 = (props) => {
|
|
2598
2504
|
var _a, _b;
|
|
2599
|
-
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, } = props;
|
|
2505
|
+
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, customClasses = {}, } = props;
|
|
2600
2506
|
const services = useNavServices();
|
|
2601
2507
|
useInsider();
|
|
2602
2508
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
@@ -2614,7 +2520,7 @@ const _NavigationV2 = (props) => {
|
|
|
2614
2520
|
'--header-bottom': headerBottom + 'px',
|
|
2615
2521
|
}, className: className },
|
|
2616
2522
|
React__default.createElement("section", { ref: headerRef },
|
|
2617
|
-
React__default.createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default.createElement(LanguageSwitcher, { languageOptions: languageOptions, locale: locale }) }))));
|
|
2523
|
+
React__default.createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default.createElement(LanguageSwitcher, { languageOptions: languageOptions, locale: locale }), customClasses: customClasses }))));
|
|
2618
2524
|
};
|
|
2619
2525
|
const NavigationV2 = (props) => {
|
|
2620
2526
|
const propsWithDefaultValues = Object.assign({ siteType: 'helloSites', projectType: 'discover', locale: 'vi-VN', activeMenuService: 'categories', ssrMenuContent: {} }, props);
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
2
|
-
import React__default, { useRef,
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-04eaaacd.js';
|
|
2
|
+
import React__default, { useRef, useMemo, useEffect, useContext, useState } from 'react';
|
|
3
3
|
import { User } from '@hhgtech/icons/core';
|
|
4
|
-
import { S as Spinner } from './Spinner-
|
|
5
|
-
import { a as Avatar } from './index-
|
|
6
|
-
import { B as Button } from './index-
|
|
7
|
-
import { T as Text } from './index-
|
|
8
|
-
import { u as useTranslations } from './index-
|
|
9
|
-
import { C as CommonGAssets } from './index-
|
|
4
|
+
import { S as Spinner } from './Spinner-68d141a2.js';
|
|
5
|
+
import { a as Avatar } from './index-ddc9b082.js';
|
|
6
|
+
import { B as Button } from './index-c37c7275.js';
|
|
7
|
+
import { T as Text } from './index-09fc4730.js';
|
|
8
|
+
import { u as useTranslations } from './index-d87506b7.js';
|
|
9
|
+
import { C as CommonGAssets } from './index-132d754e.js';
|
|
10
10
|
import { theme } from './miscTheme.js';
|
|
11
11
|
import styled from '@emotion/styled';
|
|
12
|
-
import { M as MediaQueries } from './utils-
|
|
12
|
+
import { M as MediaQueries } from './utils-09e85993.js';
|
|
13
13
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
14
|
+
import cn from 'classnames';
|
|
15
|
+
import { a as CARE_LOCALES, b as CARE_BOOKING_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES, c as VIDEO_LOCALES } from './index-ef24ef97.js';
|
|
16
|
+
import { i as domainLocalesMarryBaby } from './utils-aa1c3f29.js';
|
|
17
|
+
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain } from './normalizeLink-8cc56f88.js';
|
|
18
|
+
import { domainLocales } from './constantsDomainLocales.js';
|
|
14
19
|
import { ProfileNavigation } from './profileNavigation.js';
|
|
15
20
|
import { NavigationLogoutPopup } from './navigationLogoutPopup.js';
|
|
16
21
|
|
|
@@ -199,15 +204,110 @@ const StyledLoggedOutAnchor = styled.a `
|
|
|
199
204
|
}
|
|
200
205
|
`;
|
|
201
206
|
|
|
207
|
+
const useNavConfig = ({ locale, projectType, siteType, enableBookingBtn, }) => {
|
|
208
|
+
const config = useMemo(() => {
|
|
209
|
+
const enableSearchBar = projectType === 'discover' ||
|
|
210
|
+
projectType === 'together' ||
|
|
211
|
+
projectType === 'marryBaby' ||
|
|
212
|
+
(projectType === 'profile' && siteType === 'marryBaby');
|
|
213
|
+
const enableNavCare = siteType !== 'marryBaby' &&
|
|
214
|
+
projectType !== 'marryBaby' &&
|
|
215
|
+
CARE_LOCALES.includes(locale);
|
|
216
|
+
const enableNavCareBooking = enableBookingBtn &&
|
|
217
|
+
projectType !== 'marryBaby' &&
|
|
218
|
+
projectType === 'discover' &&
|
|
219
|
+
siteType !== 'marryBaby' &&
|
|
220
|
+
CARE_BOOKING_LOCALES.includes(locale);
|
|
221
|
+
const enableNavTogether = projectType === 'marryBaby' || TOGETHER_LOCALES.includes(locale);
|
|
222
|
+
const enableNavDiscover = true;
|
|
223
|
+
const enableNavHealthTools = true;
|
|
224
|
+
const enableProfileMySaved = true;
|
|
225
|
+
const enableNavEcom = siteType !== 'marryBaby' && ECOM_LOCALES.includes(locale);
|
|
226
|
+
const enableProfileEcom = siteType !== 'marryBaby' && ECOM_LOCALES.includes(locale);
|
|
227
|
+
const enableProfileMyHealth = true;
|
|
228
|
+
const enableNavVideo = VIDEO_LOCALES.includes(locale);
|
|
229
|
+
const baseUrl = getCurrentBaseUrl(locale, siteType === 'marryBaby');
|
|
230
|
+
let fixBaseUrl = baseUrl;
|
|
231
|
+
if (typeof window !== 'undefined') {
|
|
232
|
+
if (fixBaseUrl.includes('//id.'))
|
|
233
|
+
fixBaseUrl = fixBaseUrl.replace('id.', '');
|
|
234
|
+
if (fixBaseUrl.includes('//staging-id.'))
|
|
235
|
+
fixBaseUrl = fixBaseUrl.replace('staging-id.', 'discover.');
|
|
236
|
+
}
|
|
237
|
+
const ssoUrl = getCurrentSsoUrl(locale, siteType === 'marryBaby');
|
|
238
|
+
const statics = (() => {
|
|
239
|
+
return {
|
|
240
|
+
HOME_PAGE_URL: fixBaseUrl,
|
|
241
|
+
CARE_URL_FE: `${fixBaseUrl}/care`,
|
|
242
|
+
TOGETHER_URL_FE: `${fixBaseUrl}/community`,
|
|
243
|
+
VIDEO_URL_FE: `${fixBaseUrl}/videos`,
|
|
244
|
+
SSO_URL: ssoUrl,
|
|
245
|
+
TOGETHER_API: getTogetherApiDomain(),
|
|
246
|
+
DISCOVER_API: getDiscoverApiDomain(locale),
|
|
247
|
+
};
|
|
248
|
+
})();
|
|
249
|
+
return {
|
|
250
|
+
enableSearchBar,
|
|
251
|
+
enableNavCare,
|
|
252
|
+
enableNavCareBooking,
|
|
253
|
+
enableNavTogether,
|
|
254
|
+
enableNavEcom,
|
|
255
|
+
enableProfileEcom,
|
|
256
|
+
enableNavVideo,
|
|
257
|
+
enableProfileMyHealth,
|
|
258
|
+
enableNavDiscover,
|
|
259
|
+
enableNavHealthTools,
|
|
260
|
+
enableProfileMySaved,
|
|
261
|
+
statics,
|
|
262
|
+
};
|
|
263
|
+
}, []);
|
|
264
|
+
return config;
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
const NavigationContext = React__default.createContext({});
|
|
268
|
+
const NavigationProvider = (_a) => {
|
|
269
|
+
var { children } = _a, props = __rest(_a, ["children"]);
|
|
270
|
+
const [currentUrl, setCurrentUrl] = React__default.useState(() => {
|
|
271
|
+
return (props.currentUrl ||
|
|
272
|
+
`https://${props.siteType === 'marryBaby'
|
|
273
|
+
? domainLocalesMarryBaby[props.locale || 'en-PH']
|
|
274
|
+
: domainLocales[props.locale || 'en-PH']}${props.projectType === 'together'
|
|
275
|
+
? '/community'
|
|
276
|
+
: props.projectType === 'ecom'
|
|
277
|
+
? '/ecom'
|
|
278
|
+
: props.projectType === 'care'
|
|
279
|
+
? '/care'
|
|
280
|
+
: ''}/`);
|
|
281
|
+
});
|
|
282
|
+
useEffect(() => {
|
|
283
|
+
const update = () => {
|
|
284
|
+
setCurrentUrl(window.location.href);
|
|
285
|
+
};
|
|
286
|
+
window.addEventListener('popstate', update);
|
|
287
|
+
update();
|
|
288
|
+
return () => {
|
|
289
|
+
window.removeEventListener('popstate', update);
|
|
290
|
+
};
|
|
291
|
+
}, []);
|
|
292
|
+
const configs = useNavConfig({
|
|
293
|
+
locale: props.locale,
|
|
294
|
+
projectType: props.projectType,
|
|
295
|
+
siteType: props.siteType,
|
|
296
|
+
enableBookingBtn: props.enableBookingBtn,
|
|
297
|
+
});
|
|
298
|
+
return (React__default.createElement(NavigationContext.Provider, { value: Object.assign(Object.assign({}, props), { customClasses: props.customClasses || {}, configs: Object.assign(Object.assign({}, configs), props.configs), currentUrl: props.currentUrl || currentUrl }) }, children));
|
|
299
|
+
};
|
|
300
|
+
|
|
202
301
|
const ProfilePopup = ({ isOpen, userInfo, closePopup, siteType = 'helloSites', dispatchLogout, }) => {
|
|
302
|
+
const { customClasses = {} } = useContext(NavigationContext);
|
|
203
303
|
const handleClickLogout = () => {
|
|
204
304
|
if (dispatchLogout) {
|
|
205
305
|
dispatchLogout();
|
|
206
306
|
closePopup();
|
|
207
307
|
}
|
|
208
308
|
};
|
|
209
|
-
return (React__default.createElement(StyledPopup, { "data-open": isOpen },
|
|
210
|
-
React__default.createElement("div", { className:
|
|
309
|
+
return (React__default.createElement(StyledPopup, { className: customClasses.profilePopup, "data-open": isOpen },
|
|
310
|
+
React__default.createElement("div", { className: cn('popup-content', customClasses.profilePopupContent) },
|
|
211
311
|
React__default.createElement(ProfileNavigation, { siteType: siteType, onLogout: handleClickLogout, userInfo: userInfo }))));
|
|
212
312
|
};
|
|
213
313
|
|
|
@@ -274,4 +374,4 @@ const NavigationProfileButton = ({ userInfo, siteType, onLoginClick, currentUrl,
|
|
|
274
374
|
siteType === 'marryBaby' ? (React__default.createElement(Button, { className: "login-btn", size: "md", leftIcon: React__default.createElement(User, { color: "currentColor", isSolid: true, size: 22 }) }, t('navigation.loginJoin'))) : (React__default.createElement(Button, { className: "login-btn", size: "md", leftIcon: React__default.createElement(User, { color: "#595959", isSolid: true, size: 22 }), variant: "ghost", color: "#262626" }, t('navigation.loginJoin')))))));
|
|
275
375
|
};
|
|
276
376
|
|
|
277
|
-
export { NavigationProfileButton as N, useCSSFocusPopupHelper as u };
|
|
377
|
+
export { NavigationProfileButton as N, NavigationContext as a, NavigationProvider as b, useCSSFocusPopupHelper as u };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-04eaaacd.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { useMantineTheme, Image } from '@mantine/core';
|
|
4
4
|
import { DatePickerInput } from '@mantine/dates';
|
|
5
|
-
import { I as ISO_FORMAT } from './index-
|
|
6
|
-
import './index-
|
|
7
|
-
import { C as CommonGAssets } from './index-
|
|
8
|
-
import { M as MAPPED_LOCALE } from './useMantineLocale-
|
|
9
|
-
import { L as LOCALE } from './Locale-
|
|
5
|
+
import { I as ISO_FORMAT } from './index-ef24ef97.js';
|
|
6
|
+
import './index-78825314.js';
|
|
7
|
+
import { C as CommonGAssets } from './index-132d754e.js';
|
|
8
|
+
import { M as MAPPED_LOCALE } from './useMantineLocale-4f206fbe.js';
|
|
9
|
+
import { L as LOCALE } from './Locale-48633979.js';
|
|
10
10
|
|
|
11
11
|
// Omit<MantineDatePickerInputProps, 'value'>
|
|
12
12
|
const DatePicker = (_a) => {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-04eaaacd.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-ddc9b082.js';
|
|
4
4
|
import '@mantine/core';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './useMantineLocale-
|
|
10
|
-
import { T as Text$1 } from './index-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index.styles-
|
|
13
|
-
import './translationsContext-
|
|
6
|
+
import './index-ef24ef97.js';
|
|
7
|
+
import './index-78825314.js';
|
|
8
|
+
import './index-132d754e.js';
|
|
9
|
+
import './useMantineLocale-4f206fbe.js';
|
|
10
|
+
import { T as Text$1 } from './index-09fc4730.js';
|
|
11
|
+
import './index-c37c7275.js';
|
|
12
|
+
import './index.styles-ee895b48.js';
|
|
13
|
+
import './translationsContext-b103c685.js';
|
|
14
14
|
import '@mantine/hooks';
|
|
15
|
-
import './utils-
|
|
16
|
-
import './other-
|
|
17
|
-
import './index-
|
|
15
|
+
import './utils-09e85993.js';
|
|
16
|
+
import './other-f5ee41e7.js';
|
|
17
|
+
import './index-fd5a1463.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @deprecated Consider to use import { Text } from '@hhgtech/hhg-components/mantine'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
2
|
import { theme } from './miscTheme.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
import { M as MarryBabyText } from './index-
|
|
5
|
-
import { T as Text } from './index-
|
|
4
|
+
import { M as MarryBabyText } from './index-383646d8.js';
|
|
5
|
+
import { T as Text } from './index-2f038661.js';
|
|
6
6
|
|
|
7
7
|
const StyledRadioImageGroup = styled.div `
|
|
8
8
|
display: flex;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-04eaaacd.js';
|
|
2
2
|
import React__default, { useMemo, useState, useEffect } from 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-78825314.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { C as CommonGAssets } from './index-
|
|
5
|
+
import { C as CommonGAssets } from './index-132d754e.js';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
8
|
-
import { T as Text } from './index-
|
|
9
|
-
import { L as LOCALE } from './Locale-
|
|
10
|
-
import { c as CentralCarousel } from './index-
|
|
7
|
+
import { I as ImageWrap } from './useScreenSize-359dbbca.js';
|
|
8
|
+
import { T as Text } from './index-2f038661.js';
|
|
9
|
+
import { L as LOCALE } from './Locale-48633979.js';
|
|
10
|
+
import { c as CentralCarousel } from './index-ddc9b082.js';
|
|
11
11
|
|
|
12
12
|
const StyledIconContainer = styled.div `
|
|
13
13
|
display: inline-flex;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-04eaaacd.js';
|
|
2
2
|
import React__default, { createContext, useContext, useMemo } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
4
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
5
|
-
import { u as useHealthToolsCache } from './useHealthToolCache-
|
|
6
|
-
import { u as useTranslations } from './index-
|
|
7
|
-
import { H as HEALTH_TOOL_TYPE } from './constants-
|
|
8
|
-
import { I as Input } from './index-
|
|
5
|
+
import { u as useHealthToolsCache } from './useHealthToolCache-011e9fdc.js';
|
|
6
|
+
import { u as useTranslations } from './index-d87506b7.js';
|
|
7
|
+
import { H as HEALTH_TOOL_TYPE } from './constants-e639bc10.js';
|
|
8
|
+
import { I as Input } from './index-ddc9b082.js';
|
|
9
9
|
import '@mantine/dates';
|
|
10
|
-
import './index-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './useMantineLocale-
|
|
14
|
-
import './index-
|
|
15
|
-
import './index-
|
|
16
|
-
import './index.styles-
|
|
10
|
+
import './index-ef24ef97.js';
|
|
11
|
+
import './index-78825314.js';
|
|
12
|
+
import './index-132d754e.js';
|
|
13
|
+
import './useMantineLocale-4f206fbe.js';
|
|
14
|
+
import './index-09fc4730.js';
|
|
15
|
+
import './index-c37c7275.js';
|
|
16
|
+
import './index.styles-ee895b48.js';
|
|
17
17
|
import '@mantine/hooks';
|
|
18
|
-
import './utils-
|
|
19
|
-
import './other-
|
|
20
|
-
import './index-
|
|
21
|
-
import { H as HealthToolFormWrapper } from './index-
|
|
22
|
-
import { I as INPUT_RANGE } from './constants-
|
|
18
|
+
import './utils-09e85993.js';
|
|
19
|
+
import './other-f5ee41e7.js';
|
|
20
|
+
import './index-fd5a1463.js';
|
|
21
|
+
import { H as HealthToolFormWrapper } from './index-8907e116.js';
|
|
22
|
+
import { I as INPUT_RANGE } from './constants-2e3b61a6.js';
|
|
23
23
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
24
24
|
|
|
25
25
|
const PWGFormContext = createContext({});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-04eaaacd.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import { Spoiler as Spoiler$1 } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
4
|
+
import { T as Text } from './index-09fc4730.js';
|
|
5
|
+
import { u as useTranslations } from './index-d87506b7.js';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
7
|
|
|
8
8
|
const Spoiler = (_a) => {
|