@hhgtech/hhg-components 1.29.544 → 1.29.546-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-2620d1e0.js → InputDate-d5172898.js} +5 -5
- package/build/{LastPeriod-0b7452dd.js → LastPeriod-42893199.js} +1 -1
- package/build/{MobileBottomNavigationIcon-1b59d9bc.js → MobileBottomNavigationIcon-c615e0c2.js} +3 -3
- package/build/{SiteWideBanner-20c60fbd.js → SiteWideBanner-f365ca44.js} +61 -25
- package/build/{Spinner-84d3cdf0.js → Spinner-ab6f56d8.js} +1 -1
- package/build/{WhatsApp-1159dc64.js → WhatsApp-44d5c539.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +52 -51
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care.js +22 -22
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +19 -19
- package/build/components/molecules/pillCarousel/index.styled.d.ts +1 -1
- package/build/components/molecules/videoItem/index.d.ts +3 -1
- package/build/components/molecules/videoItem/normalizeVideoItemData.d.ts +2 -0
- package/build/components/molecules/videoItem/types.d.ts +5 -3
- package/build/components/navigationV2/applyHelloWellnessNavCategories.d.ts +22 -0
- package/build/components/navigationV2/applyHelloWellnessNavVideos.d.ts +8 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/index.d.ts +2 -2
- package/build/components/navigationV2/components/molecules/menuVideoList/videoSpotlights.d.ts +2 -2
- package/build/components/navigationV2/formatHelloWellness.d.ts +3 -0
- package/build/components/navigationV2/index.d.ts +6 -2
- package/build/components/navigationV2/insertHelloWellnessMenuItem.d.ts +1 -0
- package/build/components/organisms/index.d.ts +2 -1
- package/build/components.js +110 -108
- package/build/{constants-762249c4.js → constants-b68a7fb3.js} +2 -2
- package/build/{constants-1b66eaa9.js → constants-ce783029.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-d07a5649.js → core-207aecaa.js} +1 -1
- package/build/{dataTransform-a2855b2e.js → dataTransform-ad9421da.js} +2 -1
- package/build/ecom.js +5 -5
- package/build/{editor-2c516070.js → editor-91318156.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-7f98bd21.js → InputDate-d8b73bcd.js} +5 -5
- package/build/esm/{LastPeriod-c84be22b.js → LastPeriod-1253397b.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-76d90292.js → MobileBottomNavigationIcon-d1a7382e.js} +3 -3
- package/build/esm/{SiteWideBanner-f124abd4.js → SiteWideBanner-07d471a4.js} +56 -20
- package/build/esm/{Spinner-d228c2bd.js → Spinner-dc3b8906.js} +1 -1
- package/build/esm/{WhatsApp-659c222b.js → WhatsApp-29b781a3.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +52 -51
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +22 -22
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +19 -19
- package/build/esm/components/molecules/pillCarousel/index.styled.d.ts +1 -1
- package/build/esm/components/molecules/videoItem/index.d.ts +3 -1
- package/build/esm/components/molecules/videoItem/normalizeVideoItemData.d.ts +2 -0
- package/build/esm/components/molecules/videoItem/types.d.ts +5 -3
- package/build/esm/components/navigationV2/applyHelloWellnessNavCategories.d.ts +22 -0
- package/build/esm/components/navigationV2/applyHelloWellnessNavVideos.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/index.d.ts +2 -2
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/videoSpotlights.d.ts +2 -2
- package/build/esm/components/navigationV2/formatHelloWellness.d.ts +3 -0
- package/build/esm/components/navigationV2/index.d.ts +6 -2
- package/build/esm/components/navigationV2/insertHelloWellnessMenuItem.d.ts +1 -0
- package/build/esm/components/organisms/index.d.ts +2 -1
- package/build/esm/components.js +108 -108
- package/build/esm/{constants-67be5c94.js → constants-53b38d20.js} +2 -2
- package/build/esm/{constants-e1af6937.js → constants-dc77a938.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-0cf3a3a7.js → core-98a99bb6.js} +1 -1
- package/build/esm/{dataTransform-35304d21.js → dataTransform-0d2e5ac0.js} +3 -2
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-d65cf4d0.js → editor-d9bd2212.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-304323dc.js → healthTools-ba43094e.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +36 -36
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-eaa64027.js → index-0122c69b.js} +3 -3
- package/build/esm/{index-51f58c70.js → index-0583cfaa.js} +3 -3
- package/build/esm/{index-6fbb16f8.js → index-075677e4.js} +1 -1
- package/build/esm/{index-9c46abab.js → index-0d4bd999.js} +3 -3
- package/build/esm/{index-2d38fb02.js → index-12e62a8b.js} +18 -18
- package/build/esm/{index-960c3169.js → index-15ffc0a1.js} +1 -1
- package/build/esm/{index-a55c76ce.js → index-190b7469.js} +7 -7
- package/build/esm/{index-9ddd1558.js → index-195eb63f.js} +4 -4
- package/build/esm/{index-4b48e440.js → index-20487624.js} +2 -2
- package/build/esm/{index-9ef06f7d.js → index-204a96e0.js} +15 -14
- package/build/esm/{index-31fe400d.js → index-22feafa0.js} +16 -16
- package/build/esm/{index-7d2718d0.js → index-2b4ee0c7.js} +9 -9
- package/build/esm/{index-6fdd63a7.js → index-2ed559e9.js} +12 -12
- package/build/esm/{index-c86880ed.js → index-33089cbd.js} +25 -25
- package/build/esm/{index-f71a880f.js → index-36ad465e.js} +3 -3
- package/build/esm/{index-6fd14acd.js → index-38fe7b88.js} +341 -4
- package/build/esm/{index-d0a1200e.js → index-39e5fe7e.js} +2 -2
- package/build/esm/{index-afe90ec2.js → index-39e65f79.js} +2 -2
- package/build/esm/{index-aebd61a9.js → index-3e8c62d8.js} +2 -2
- package/build/esm/{index-bee6ed79.js → index-40782775.js} +3 -3
- package/build/esm/{index-91c6a49c.js → index-44995486.js} +1 -1
- package/build/esm/{index-e3c3ad7d.js → index-4519993d.js} +14 -14
- package/build/esm/{index-59ec1b79.js → index-489f74ae.js} +18 -18
- package/build/esm/{index-40133f69.js → index-4930d155.js} +16 -16
- package/build/esm/{index-0d2148ad.js → index-49400987.js} +15 -15
- package/build/esm/{index-c8f5f257.js → index-4b45eec3.js} +1 -1
- package/build/esm/{index-f21110d2.js → index-4c40eee1.js} +3 -3
- package/build/esm/{index-74fcf0aa.js → index-4cc4f450.js} +2 -2
- package/build/esm/{index-d0599279.js → index-4ccde302.js} +2 -2
- package/build/esm/{index-4e6b8a2b.js → index-5442537f.js} +8 -8
- package/build/esm/{index-d71a0918.js → index-5774d5c2.js} +15 -15
- package/build/esm/{index-d615e2d4.js → index-59665b82.js} +2 -2
- package/build/esm/{index-ea9dfed6.js → index-60be4bfb.js} +7 -7
- package/build/esm/{index-309f4c70.js → index-61a77621.js} +25 -25
- package/build/esm/{index-5aaa75e5.js → index-64b4971d.js} +5 -5
- package/build/esm/{index-59432dd7.js → index-674f477c.js} +6 -6
- package/build/esm/{index-8ef247f2.js → index-68c68989.js} +3 -3
- package/build/esm/{index-6f8dd7c5.js → index-6ca60e9d.js} +6 -6
- package/build/esm/{index-bcd0508c.js → index-6d1d70bc.js} +304 -122
- package/build/esm/{index-5dd44171.js → index-6d32bfab.js} +20 -20
- package/build/esm/{index-5b1ba061.js → index-743f7bdf.js} +2 -2
- package/build/esm/{index-24be25e0.js → index-78f83c2d.js} +3 -3
- package/build/esm/{index-fc085ad1.js → index-7e095c46.js} +1 -1
- package/build/esm/{index-92c3895b.js → index-8718b11c.js} +21 -21
- package/build/esm/{index-70e81356.js → index-881b2c68.js} +4 -4
- package/build/esm/{index-c3177e04.js → index-88c9be49.js} +9 -9
- package/build/esm/{index-b0680d02.js → index-8c72b74e.js} +2 -2
- package/build/esm/{index-3e2acbf5.js → index-9073e0ff.js} +14 -14
- package/build/esm/{index-8bba0d7a.js → index-95090718.js} +6 -6
- package/build/esm/{index-e8f762ab.js → index-9779df04.js} +3 -3
- package/build/esm/{index-417311da.js → index-9fddc689.js} +2 -2
- package/build/esm/{index-7601f2a1.js → index-b5d5e80e.js} +2 -2
- package/build/esm/{index-122829d2.js → index-b7201910.js} +6 -6
- package/build/esm/{index-88fafd6a.js → index-be3330b0.js} +16 -16
- package/build/esm/{index-27fc99f7.js → index-c384f93f.js} +39 -37
- package/build/esm/{index-8101d468.js → index-ccc7a9b0.js} +32 -32
- package/build/esm/{index-579b84f2.js → index-d0ae4e3e.js} +13 -13
- package/build/esm/{index-789049e6.js → index-d6cdea47.js} +14 -14
- package/build/esm/{index-1b8a552a.js → index-db243990.js} +2 -2
- package/build/esm/{index-d337e2fb.js → index-dd4c2362.js} +3 -3
- package/build/esm/{index-1a558698.js → index-de4aa661.js} +2 -2
- package/build/esm/{index-973eb541.js → index-debf8807.js} +2 -2
- package/build/esm/{index-12c0175f.js → index-e40aa208.js} +16 -16
- package/build/esm/{index-f3c67a5d.js → index-e9e3c308.js} +13 -13
- package/build/esm/{index-b6f0a56f.js → index-f1373a57.js} +1 -1
- package/build/esm/{index-d9b5d0ac.js → index-f19f503a.js} +2 -2
- package/build/esm/{index-840e2343.js → index-f25e018b.js} +16 -16
- package/build/esm/{index-41a88cf1.js → index-f735176a.js} +1 -1
- package/build/esm/{index-96c62ad5.js → index-f959b4cd.js} +2 -2
- package/build/esm/{index-354a2bb2.js → index-fd282e48.js} +22 -22
- package/build/esm/{index-a8162282.js → index-fe3d42b3.js} +2 -2
- package/build/esm/{index-06c9c29e.js → index-ff179c4c.js} +17 -17
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +127 -127
- package/build/esm/interfaces/types/HelloWellness.d.ts +143 -0
- package/build/esm/interfaces/types/Video.d.ts +6 -2
- package/build/esm/interfaces/types/index.d.ts +1 -0
- package/build/esm/{labelSorting-c209d0ab.js → labelSorting-57705827.js} +4 -4
- package/build/esm/lead.js +38 -37
- package/build/esm/{logoIcon-5e351e08.js → logoIcon-4d08630e.js} +2 -2
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc/normalizeLink.d.ts +1 -0
- package/build/esm/misc/promise.d.ts +10 -0
- package/build/esm/misc.js +18 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +7 -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 +81 -82
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +52 -51
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +28 -27
- package/build/esm/{normalizeLink-0bc93fbf.js → normalizeLink-3197974c.js} +11 -1
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +65 -64
- package/build/esm/{post-501cfac5.js → post-8353a3c2.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2.js +31 -31
- package/build/esm/{store-b88d97b9.js → store-023575cd.js} +3 -3
- package/build/esm/subot.js +39 -40
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-ebaba467.js → surveyThankyouCard-a16fc570.js} +5 -5
- package/build/esm/together/hooks/useCaptureUrl.d.ts +3 -0
- package/build/esm/together/hooks/useCaptureUrlParams.d.ts +2 -0
- package/build/esm/together/hooks/useResolvedCaptureUrls.d.ts +2 -0
- package/build/esm/together/hooks/useSetCaptureUrlPageParams.d.ts +5 -0
- package/build/esm/together/index.d.ts +6 -0
- package/build/esm/together/interfaces/types.d.ts +2 -0
- package/build/esm/together/togetherComponentGlobalContext.d.ts +12 -1
- package/build/esm/together/utils/analytics.d.ts +2 -0
- package/build/esm/together/utils/captureUrlParams.d.ts +14 -0
- package/build/esm/together.js +60 -58
- package/build/esm/togetherApiUtils.js +13 -6
- package/build/esm/togetherAtoms.js +38 -37
- package/build/esm/togetherComponentGlobalContext.js +13 -6
- package/build/esm/togetherMolecules.js +54 -53
- package/build/esm/togetherMoleculesCardAuthor.js +31 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +21 -14
- package/build/esm/togetherMoleculesProfileDetail.js +47 -46
- package/build/esm/togetherOrganisms.js +58 -57
- package/build/esm/togetherRichTextEditor.js +28 -21
- package/build/esm/togetherShareBox.js +20 -13
- package/build/esm/{transform-a70ceaf2.js → transform-48f183b3.js} +34 -34
- package/build/esm/{translationsProvider-12ae5b8a.js → translationsProvider-3f718ff2.js} +1 -1
- package/build/esm/{treePopoverMenu-b7652f55.js → treePopoverMenu-7c431767.js} +19 -19
- package/build/esm/types-60432488.js +13 -0
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-4af08500.js → useCartCareService-21412d73.js} +1 -1
- package/build/esm/{useHealthToolCache-872bf831.js → useHealthToolCache-4e931079.js} +1 -1
- package/build/esm/{usePhoneValidator-5465c728.js → usePhoneValidator-3e0760b1.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-f9f424cf.js → usePlacesAutocomplete-71721f57.js} +1 -1
- package/build/esm/useResolvedCaptureUrls-e95a1c6f.js +77 -0
- package/build/esm/useTogetherAuthRequiredAction.js +12 -10
- package/build/esm/{utils-42d7e284.js → utils-20ae0ad8.js} +2 -2
- package/build/esm/{utils-a34a4457.js → utils-42803fd5.js} +2 -2
- package/build/esm/{utils-5b0a0cb8.js → utils-68ad49a9.js} +5 -20
- package/build/esm/{utils-79b3c79f.js → utils-b1edecbc.js} +5 -5
- package/build/esm/{utils-f5ed68ed.js → utils-cf892015.js} +104 -5
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-9d73d292.js → healthTools-8ce8a656.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +36 -36
- package/build/hooks.js +14 -14
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-da3b86cd.js → index-01cd7594.js} +1 -1
- package/build/{index-968f57c8.js → index-03439e35.js} +2 -2
- package/build/{index-9d9461f6.js → index-03555f06.js} +16 -16
- package/build/{index-e316d555.js → index-0393a38b.js} +39 -37
- package/build/{index-d11d2b22.js → index-03ebfe00.js} +13 -13
- package/build/{index-8734a3ed.js → index-0533d650.js} +25 -25
- package/build/{index-7ab0b2c3.js → index-0c9b69b9.js} +13 -13
- package/build/{index-e16b8fc3.js → index-14dcd1f0.js} +1 -1
- package/build/{index-2b5bfc0c.js → index-18c53df0.js} +2 -2
- package/build/{index-e81131be.js → index-1b717c8c.js} +15 -15
- package/build/{index-9ff64134.js → index-1f08664b.js} +18 -18
- package/build/{index-7ed6004c.js → index-241db799.js} +2 -2
- package/build/{index-9747120c.js → index-27cc1aa8.js} +2 -2
- package/build/{index-6ce6e395.js → index-2a7802e2.js} +2 -2
- package/build/{index-50fc9ea2.js → index-2e704d60.js} +3 -3
- package/build/{index-b3bc6b66.js → index-32e387fe.js} +2 -2
- package/build/{index-89f1ccd4.js → index-3613076d.js} +22 -22
- package/build/{index-e85152d0.js → index-3753dba4.js} +15 -14
- package/build/{index-93808d7e.js → index-377b60d4.js} +1 -1
- package/build/{index-c3d01be3.js → index-39a18842.js} +1 -1
- package/build/{index-f602c136.js → index-3af64a21.js} +20 -20
- package/build/{index-65d3d2a1.js → index-3c45a719.js} +15 -15
- package/build/{index-54ad7bf3.js → index-3e6bc80a.js} +337 -153
- package/build/{index-eba09ec0.js → index-3eb9104c.js} +3 -3
- package/build/{index-0805ded0.js → index-3f9827b9.js} +25 -25
- package/build/{index-3d563586.js → index-458c34cd.js} +3 -3
- package/build/{index-4dad7b3d.js → index-46b965d9.js} +14 -14
- package/build/{index-be663749.js → index-474d0b34.js} +21 -21
- package/build/{index-b3037bdc.js → index-47e9a287.js} +14 -14
- package/build/{index-4fb2e074.js → index-49014e27.js} +6 -6
- package/build/{index-992544de.js → index-4e362f5b.js} +2 -2
- package/build/{index-0dee6fc7.js → index-4e4bff10.js} +2 -2
- package/build/{index-e083a917.js → index-524bea17.js} +4 -4
- package/build/{index-17dd60b9.js → index-580c6375.js} +2 -2
- package/build/{index-0f1d64dc.js → index-589cf8b4.js} +7 -7
- package/build/{index-a02b9dd2.js → index-589edad5.js} +6 -6
- package/build/{index-63b0c985.js → index-598add42.js} +16 -16
- package/build/{index-5fc323d7.js → index-5def30b8.js} +7 -7
- package/build/{index-d54fe628.js → index-5ec53100.js} +2 -2
- package/build/{index-4fe23b62.js → index-61bc27aa.js} +16 -16
- package/build/{index-29a7579d.js → index-63fe4301.js} +3 -3
- package/build/{index-d24c85ac.js → index-6627aa63.js} +1 -1
- package/build/{index-a31ed3e1.js → index-6821a630.js} +2 -2
- package/build/{index-5b062789.js → index-860bccce.js} +17 -17
- package/build/{index-ce74fe39.js → index-87be4014.js} +18 -18
- package/build/{index-283684b8.js → index-89b6cc5d.js} +3 -3
- package/build/{index-2e0b951e.js → index-8b89055f.js} +2 -2
- package/build/{index-5098b9bf.js → index-90d1325a.js} +2 -2
- package/build/{index-97e6dd59.js → index-9f173d99.js} +3 -3
- package/build/{index-628ae6fc.js → index-a18de02d.js} +32 -32
- package/build/{index-87ed9c3a.js → index-a26514ea.js} +1 -1
- package/build/{index-b2bb8571.js → index-a649fddc.js} +3 -3
- package/build/{index-80bd2eb2.js → index-a904c4fe.js} +5 -5
- package/build/{index-16480bf7.js → index-b03300bb.js} +2 -2
- package/build/{index-4e13f8c3.js → index-b816e5a4.js} +3 -3
- package/build/{index-a11c6c43.js → index-c190d2b3.js} +6 -6
- package/build/{index-af9c3c64.js → index-c434e838.js} +2 -2
- package/build/{index-3643ff1b.js → index-c6552415.js} +1 -1
- package/build/{index-518cadb5.js → index-c9699dba.js} +16 -16
- package/build/{index-c5518397.js → index-d0222e7d.js} +9 -9
- package/build/{index-98ac1127.js → index-d374bb97.js} +2 -2
- package/build/{index-36c48054.js → index-d9bb97ac.js} +348 -10
- package/build/{index-985cec35.js → index-daf6dedd.js} +3 -3
- package/build/{index-95e46080.js → index-e39d7fed.js} +14 -14
- package/build/{index-64717354.js → index-e49710b8.js} +16 -16
- package/build/{index-7556f2cb.js → index-e511647f.js} +3 -3
- package/build/{index-8df498d5.js → index-ea6c3908.js} +4 -4
- package/build/{index-a1ca31f3.js → index-f6a12d27.js} +12 -12
- package/build/{index-1e5e2223.js → index-fbbf7190.js} +9 -9
- package/build/{index-024542ed.js → index-fcffe1fa.js} +8 -8
- package/build/{index-bc73e718.js → index-fe107c1f.js} +2 -2
- package/build/{index-729f166a.js → index-ff0decba.js} +6 -6
- package/build/index.css +1 -1
- package/build/index.js +136 -128
- package/build/interfaces/types/HelloWellness.d.ts +143 -0
- package/build/interfaces/types/Video.d.ts +6 -2
- package/build/interfaces/types/index.d.ts +1 -0
- package/build/{labelSorting-5cef27ae.js → labelSorting-c7235d21.js} +4 -4
- package/build/lead.js +38 -37
- package/build/{logoIcon-8a9f9e61.js → logoIcon-45c8907e.js} +2 -2
- package/build/mantine.js +25 -25
- package/build/misc/normalizeLink.d.ts +1 -0
- package/build/misc/promise.d.ts +10 -0
- package/build/misc.js +18 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +7 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +81 -82
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +54 -51
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +28 -27
- package/build/{normalizeLink-20e290e8.js → normalizeLink-55e31d61.js} +11 -0
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +67 -64
- package/build/{post-93ff5536.js → post-638ded76.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2.js +29 -29
- package/build/{store-bb6f9909.js → store-4c79e933.js} +3 -3
- package/build/subot.js +38 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-22929455.js → surveyThankyouCard-29fd05e6.js} +5 -5
- package/build/together/hooks/useCaptureUrl.d.ts +3 -0
- package/build/together/hooks/useCaptureUrlParams.d.ts +2 -0
- package/build/together/hooks/useResolvedCaptureUrls.d.ts +2 -0
- package/build/together/hooks/useSetCaptureUrlPageParams.d.ts +5 -0
- package/build/together/index.d.ts +6 -0
- package/build/together/interfaces/types.d.ts +2 -0
- package/build/together/togetherComponentGlobalContext.d.ts +12 -1
- package/build/together/utils/analytics.d.ts +2 -0
- package/build/together/utils/captureUrlParams.d.ts +14 -0
- package/build/together.js +67 -59
- package/build/togetherApiUtils.js +13 -6
- package/build/togetherAtoms.js +38 -37
- package/build/togetherComponentGlobalContext.js +13 -6
- package/build/togetherMolecules.js +54 -53
- package/build/togetherMoleculesCardAuthor.js +31 -29
- package/build/togetherMoleculesPostImagePreview.js +21 -14
- package/build/togetherMoleculesProfileDetail.js +47 -46
- package/build/togetherOrganisms.js +58 -57
- package/build/togetherRichTextEditor.js +28 -21
- package/build/togetherShareBox.js +20 -13
- package/build/{transform-52f37c86.js → transform-c9a92366.js} +34 -34
- package/build/{translationsProvider-10747450.js → translationsProvider-5b9738ac.js} +1 -1
- package/build/{treePopoverMenu-89dcd8ba.js → treePopoverMenu-65437160.js} +19 -19
- package/build/types-4ddaff10.js +16 -0
- package/build/types.js +2 -2
- package/build/{useCartCareService-35f487b0.js → useCartCareService-f5c36167.js} +1 -1
- package/build/{useHealthToolCache-d6ee00f6.js → useHealthToolCache-5946cd65.js} +1 -1
- package/build/{usePhoneValidator-56b8b062.js → usePhoneValidator-f29f3b49.js} +5 -5
- package/build/{usePlacesAutocomplete-404907fe.js → usePlacesAutocomplete-65d0f824.js} +1 -1
- package/build/useResolvedCaptureUrls-3259bc56.js +83 -0
- package/build/useTogetherAuthRequiredAction.js +12 -10
- package/build/{utils-0c8cc4cf.js → utils-0252c245.js} +5 -5
- package/build/{utils-0cc6746b.js → utils-211f191d.js} +5 -20
- package/build/{utils-7210e0bb.js → utils-52cb7cc2.js} +2 -2
- package/build/{utils-302bc65c.js → utils-6dd9bbba.js} +107 -7
- package/build/{utils-f5279ce3.js → utils-7cfa9346.js} +2 -2
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/esm/index-95942e9e.js +0 -339
- package/build/esm/types-22bdbe8f.js +0 -5
- package/build/index-3b44943e.js +0 -341
- package/build/types-58c36225.js +0 -7
- /package/build/{BMI_BOYS.percentile.monthly-92c8b42c.js → BMI_BOYS.percentile.monthly-d2d2b4da.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-1483925a.js → BMI_BOYS.percentile.weekly-b32cabd1.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-233db1f2.js → BMI_BOYS.percentile.yearly-3d38e3bf.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-b865eb84.js → BMI_BOYS.zscore.monthly-e505fd10.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-672e873a.js → BMI_BOYS.zscore.weekly-51c29e05.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-3e4789a2.js → BMI_BOYS.zscore.yearly-d474c236.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-635c83ca.js → BMI_GIRLS.percentile.monthly-8878ff32.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-9d39c2cb.js → BMI_GIRLS.percentile.weekly-a283fd99.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-3ecdd071.js → BMI_GIRLS.percentile.yearly-bec5a747.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-cdcb7cf7.js → BMI_GIRLS.zscore.monthly-3510f91b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-5dbe6397.js → BMI_GIRLS.zscore.weekly-b7cef969.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-e4f48b83.js → BMI_GIRLS.zscore.yearly-6ea27691.js} +0 -0
- /package/build/{ChevronDown-8067b030.js → ChevronDown-d056ea04.js} +0 -0
- /package/build/{Google-d768de84.js → Google-96e1fc80.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-119dcc49.js → HEAD CIRCUM_BOYS.percentile.monthly-077ad181.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-544740ce.js → HEAD CIRCUM_BOYS.percentile.weekly-1ce280c1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-a604ec58.js → HEAD CIRCUM_BOYS.percentile.yearly-a8c231d7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-fa3433d3.js → HEAD CIRCUM_BOYS.zscore.monthly-4ee12d23.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d6d7a650.js → HEAD CIRCUM_BOYS.zscore.weekly-ccdcd863.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-71fe8cf0.js → HEAD CIRCUM_BOYS.zscore.yearly-acae89ae.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-4e24ca95.js → HEAD CIRCUM_GIRLS.percentile.monthly-62cdbf2c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-d2d8980c.js → HEAD CIRCUM_GIRLS.percentile.weekly-612d92c2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-4cbcdd0b.js → HEAD CIRCUM_GIRLS.percentile.yearly-06200aaf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-090901a1.js → HEAD CIRCUM_GIRLS.zscore.monthly-517a24fb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a6e9a42b.js → HEAD CIRCUM_GIRLS.zscore.weekly-a5562212.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-2fa633ae.js → HEAD CIRCUM_GIRLS.zscore.yearly-1f47f421.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-4fecb89c.js → HEIGHT_BOYS.percentile.monthly-59b73b23.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d5a2290a.js → HEIGHT_BOYS.percentile.weekly-49fd3dad.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f71d2018.js → HEIGHT_BOYS.percentile.yearly-167d30fc.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-934f0714.js → HEIGHT_BOYS.zscore.monthly-44e58649.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-cab85975.js → HEIGHT_BOYS.zscore.weekly-d4d20b70.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-f0ebd736.js → HEIGHT_BOYS.zscore.yearly-c262e29f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ac78c58c.js → HEIGHT_GIRLS.percentile.monthly-bfd1bc06.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-a0534589.js → HEIGHT_GIRLS.percentile.weekly-fdc9c661.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-90a24dff.js → HEIGHT_GIRLS.percentile.yearly-79a56205.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-37c48ed3.js → HEIGHT_GIRLS.zscore.monthly-aed97827.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ae3ec746.js → HEIGHT_GIRLS.zscore.weekly-4fa0e685.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-43c72997.js → HEIGHT_GIRLS.zscore.yearly-3fc3a12d.js} +0 -0
- /package/build/{Locale-fbe01177.js → Locale-a58a0889.js} +0 -0
- /package/build/{Visible-6c5d9e21.js → Visible-157c7a6d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-55349075.js → WEIGHT_BOYS.percentile.monthly-eac7e17a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-2778d520.js → WEIGHT_BOYS.percentile.weekly-983f98e2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-57ec61bc.js → WEIGHT_BOYS.percentile.yearly-265de28c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-bca6cd92.js → WEIGHT_BOYS.zscore.monthly-1574eb98.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5a1c8838.js → WEIGHT_BOYS.zscore.weekly-7910b043.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-9f07e21c.js → WEIGHT_BOYS.zscore.yearly-0350e227.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-e7c017eb.js → WEIGHT_GIRLS.percentile.monthly-e2a40938.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f9d60c8b.js → WEIGHT_GIRLS.percentile.weekly-d335fe22.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-07e2ff73.js → WEIGHT_GIRLS.percentile.yearly-c060c01b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-cf9a0e61.js → WEIGHT_GIRLS.zscore.monthly-bf26f4e5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-29c4a43e.js → WEIGHT_GIRLS.zscore.weekly-e66980b0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c828bbf0.js → WEIGHT_GIRLS.zscore.yearly-eee2f52d.js} +0 -0
- /package/build/{ageGenerate-1ce5e3a8.js → ageGenerate-fd3994cc.js} +0 -0
- /package/build/{animation-f2389c7b.js → animation-b83469f3.js} +0 -0
- /package/build/{constants-3fbd741a.js → constants-2346cf9c.js} +0 -0
- /package/build/{constants-f734b4e4.js → constants-9dfa0506.js} +0 -0
- /package/build/{constants-6d0b5b59.js → constants-d9831589.js} +0 -0
- /package/build/{context-f7fe7a26.js → context-e97168c7.js} +0 -0
- /package/build/{dataTransform-926e99a5.js → dataTransform-79b8300d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-0eb61ce7.js → BMI_BOYS.percentile.monthly-282ecee1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-fc835346.js → BMI_BOYS.percentile.weekly-c6071c76.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-da4eceed.js → BMI_BOYS.percentile.yearly-4be25f67.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-2d0fd333.js → BMI_BOYS.zscore.monthly-64d42153.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-f46c8cb8.js → BMI_BOYS.zscore.weekly-70f682da.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-737a60ee.js → BMI_BOYS.zscore.yearly-3f493574.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-8eb0e01b.js → BMI_GIRLS.percentile.monthly-2046b22d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-8fa258c1.js → BMI_GIRLS.percentile.weekly-2d8923d8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-23436291.js → BMI_GIRLS.percentile.yearly-97206f42.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d5d7f2fb.js → BMI_GIRLS.zscore.monthly-0a75dee3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-14ab18f0.js → BMI_GIRLS.zscore.weekly-b2bee6d1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-755cee44.js → BMI_GIRLS.zscore.yearly-7678ccb1.js} +0 -0
- /package/build/esm/{ChevronDown-8ce63f9a.js → ChevronDown-c826aaa5.js} +0 -0
- /package/build/esm/{Google-62bfe213.js → Google-873f7870.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b2553a11.js → HEAD CIRCUM_BOYS.percentile.monthly-0e7ad122.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-cc1e20aa.js → HEAD CIRCUM_BOYS.percentile.weekly-dc4c6ff1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8f8c8bcb.js → HEAD CIRCUM_BOYS.percentile.yearly-ebad1369.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-de1416c6.js → HEAD CIRCUM_BOYS.zscore.monthly-e3445378.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f1804f67.js → HEAD CIRCUM_BOYS.zscore.weekly-c474413c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b6844f72.js → HEAD CIRCUM_BOYS.zscore.yearly-9d766e4a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-be09f9cc.js → HEAD CIRCUM_GIRLS.percentile.monthly-d65da991.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-c6258e1d.js → HEAD CIRCUM_GIRLS.percentile.weekly-97f076a9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-269cfea2.js → HEAD CIRCUM_GIRLS.percentile.yearly-f473ff40.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4b677a4a.js → HEAD CIRCUM_GIRLS.zscore.monthly-156bc0b7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-99afe5c3.js → HEAD CIRCUM_GIRLS.zscore.weekly-c1dc76d5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-613740fd.js → HEAD CIRCUM_GIRLS.zscore.yearly-877e7f5c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5a964862.js → HEIGHT_BOYS.percentile.monthly-cf53a26d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-017e3f3b.js → HEIGHT_BOYS.percentile.weekly-78a3cf04.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-ce3ddc99.js → HEIGHT_BOYS.percentile.yearly-bf6e991e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-7ef4f193.js → HEIGHT_BOYS.zscore.monthly-6af15114.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-77567b89.js → HEIGHT_BOYS.zscore.weekly-4caa3f20.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-01eaedce.js → HEIGHT_BOYS.zscore.yearly-9c329a91.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-3424e1be.js → HEIGHT_GIRLS.percentile.monthly-3a5e99cb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-61d62dde.js → HEIGHT_GIRLS.percentile.weekly-e91f5497.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-0d6bea4d.js → HEIGHT_GIRLS.percentile.yearly-bb4a7b55.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-db195bec.js → HEIGHT_GIRLS.zscore.monthly-7bffe4e3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-c34a1a9f.js → HEIGHT_GIRLS.zscore.weekly-9e6d197f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-011ab0ee.js → HEIGHT_GIRLS.zscore.yearly-eff29df2.js} +0 -0
- /package/build/esm/{Locale-87b46912.js → Locale-dafe556c.js} +0 -0
- /package/build/esm/{Visible-b6a47e2b.js → Visible-fb1cab98.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-7a6d8027.js → WEIGHT_BOYS.percentile.monthly-4fdd5548.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-44e626c2.js → WEIGHT_BOYS.percentile.weekly-0500d95f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-6e443dd4.js → WEIGHT_BOYS.percentile.yearly-dddf28a2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-3f27fbef.js → WEIGHT_BOYS.zscore.monthly-37f0dcf9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-e6f43ea3.js → WEIGHT_BOYS.zscore.weekly-74135a87.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-2369fe66.js → WEIGHT_BOYS.zscore.yearly-6eeb70a2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-620739f9.js → WEIGHT_GIRLS.percentile.monthly-fc88c799.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-466cccfd.js → WEIGHT_GIRLS.percentile.weekly-fb715868.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ac671914.js → WEIGHT_GIRLS.percentile.yearly-52025d8d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-03e02ae0.js → WEIGHT_GIRLS.zscore.monthly-0267fb11.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-772ccd46.js → WEIGHT_GIRLS.zscore.weekly-3949585e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3b4ed58b.js → WEIGHT_GIRLS.zscore.yearly-23875daf.js} +0 -0
- /package/build/esm/{ageGenerate-831f2bfd.js → ageGenerate-03810417.js} +0 -0
- /package/build/esm/{animation-d098c55f.js → animation-b04049bb.js} +0 -0
- /package/build/esm/{constants-96288a21.js → constants-0e629c31.js} +0 -0
- /package/build/esm/{constants-106f2bcb.js → constants-5f603c5c.js} +0 -0
- /package/build/esm/{constants-2f2c9886.js → constants-6564104a.js} +0 -0
- /package/build/esm/{context-e9fa0aef.js → context-1b66a34f.js} +0 -0
- /package/build/esm/{dataTransform-01707157.js → dataTransform-b51ed291.js} +0 -0
- /package/build/esm/{index-fd80d78b.js → index-1f32de60.js} +0 -0
- /package/build/esm/{index-183faa8a.js → index-56bc6c8b.js} +0 -0
- /package/build/esm/{index-43584299.js → index-89abf3e8.js} +0 -0
- /package/build/esm/{index-60f1945d.js → index-99625d22.js} +0 -0
- /package/build/esm/{index-a55fa240.js → index-be56ad67.js} +0 -0
- /package/build/esm/{index-f5f8f564.js → index-d833e00b.js} +0 -0
- /package/build/esm/{index-3942e08c.js → index-dd5bbd4f.js} +0 -0
- /package/build/esm/{index-38e03570.js → index-fe5b8d3a.js} +0 -0
- /package/build/esm/{index.styles-3ba274d2.js → index.styles-63311dd4.js} +0 -0
- /package/build/esm/{localizeNumberFormat-857f6d60.js → localizeNumberFormat-afc92556.js} +0 -0
- /package/build/esm/{number-d952dba5.js → number-88cdc203.js} +0 -0
- /package/build/esm/{paths-b9ad10a5.js → paths-a861684b.js} +0 -0
- /package/build/esm/{shared-3674950a.js → shared-1a8a2027.js} +0 -0
- /package/build/esm/{translationsContext-4de1415e.js → translationsContext-d24fab3f.js} +0 -0
- /package/build/esm/{tslib.es6-ab63fd84.js → tslib.es6-aeb83deb.js} +0 -0
- /package/build/esm/{types-e758ca0d.js → types-6876aff0.js} +0 -0
- /package/build/esm/{useOutsideClick-10e74687.js → useOutsideClick-a1378425.js} +0 -0
- /package/build/esm/{useScrollbarSize-e42d1fca.js → useScrollbarSize-9a82365c.js} +0 -0
- /package/build/esm/{useUniqueId-6d89c40a.js → useUniqueId-50b9620d.js} +0 -0
- /package/build/esm/{utils-32d7d5af.js → utils-1edbc81c.js} +0 -0
- /package/build/esm/{utils-53d796ad.js → utils-814e3729.js} +0 -0
- /package/build/{index-7d7d8dfe.js → index-13dd776e.js} +0 -0
- /package/build/{index-07c3d435.js → index-177e0db0.js} +0 -0
- /package/build/{index-59a9827e.js → index-53f509dc.js} +0 -0
- /package/build/{index-b0ce6f8f.js → index-ab1664f5.js} +0 -0
- /package/build/{index-acf80f95.js → index-d498d269.js} +0 -0
- /package/build/{index-7422b616.js → index-de885341.js} +0 -0
- /package/build/{index-edabce15.js → index-f2b78818.js} +0 -0
- /package/build/{index-4230e69a.js → index-fe0f4447.js} +0 -0
- /package/build/{index.styles-691de58f.js → index.styles-d0c1155f.js} +0 -0
- /package/build/{localizeNumberFormat-fd3ce573.js → localizeNumberFormat-0a1e695e.js} +0 -0
- /package/build/{number-800e4b9c.js → number-914e0a2f.js} +0 -0
- /package/build/{paths-b2d1698d.js → paths-c02399e7.js} +0 -0
- /package/build/{shared-60ad3e5a.js → shared-8138e65f.js} +0 -0
- /package/build/{translationsContext-78113889.js → translationsContext-9282d674.js} +0 -0
- /package/build/{tslib.es6-2c2ed574.js → tslib.es6-d943330a.js} +0 -0
- /package/build/{types-2d553dd1.js → types-7fbee213.js} +0 -0
- /package/build/{useOutsideClick-20d5ca9e.js → useOutsideClick-c251a276.js} +0 -0
- /package/build/{useScrollbarSize-2ff6d46d.js → useScrollbarSize-537e1a0b.js} +0 -0
- /package/build/{useUniqueId-18ea5b53.js → useUniqueId-6f7e0795.js} +0 -0
- /package/build/{utils-9e461f41.js → utils-a5de528d.js} +0 -0
- /package/build/{utils-b92a8b1c.js → utils-d609f225.js} +0 -0
|
@@ -1,56 +1,57 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-d943330a.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var SiteWideBanner = require('./SiteWideBanner-
|
|
6
|
-
var index
|
|
7
|
-
var normalizeLink = require('./normalizeLink-
|
|
8
|
-
var dataTransform = require('./dataTransform-
|
|
5
|
+
var SiteWideBanner = require('./SiteWideBanner-f365ca44.js');
|
|
6
|
+
var index = require('./index-2a7802e2.js');
|
|
7
|
+
var normalizeLink = require('./normalizeLink-55e31d61.js');
|
|
8
|
+
var dataTransform = require('./dataTransform-ad9421da.js');
|
|
9
9
|
var core = require('@hhgtech/icons/core');
|
|
10
|
-
var index = require('./index-
|
|
11
|
-
require('./translationsContext-
|
|
12
|
-
var Locale = require('./Locale-
|
|
10
|
+
var index$1 = require('./index-fbbf7190.js');
|
|
11
|
+
require('./translationsContext-9282d674.js');
|
|
12
|
+
var Locale = require('./Locale-a58a0889.js');
|
|
13
13
|
var react = require('@emotion/react');
|
|
14
14
|
var styled = require('@emotion/styled');
|
|
15
15
|
var miscTheme = require('./miscTheme.js');
|
|
16
|
-
var navigationProfileButton = require('./index-
|
|
16
|
+
var navigationProfileButton = require('./index-3753dba4.js');
|
|
17
17
|
var other = require('@hhgtech/icons/other');
|
|
18
18
|
var core$1 = require('@mantine/core');
|
|
19
|
-
var index$c = require('./index-
|
|
19
|
+
var index$c = require('./index-589edad5.js');
|
|
20
20
|
var throttle = require('lodash/throttle');
|
|
21
21
|
require('@mantine/dates');
|
|
22
|
-
var index$b = require('./index-
|
|
23
|
-
var index$6 = require('./index-
|
|
24
|
-
require('./index-
|
|
25
|
-
var index$4 = require('./index-
|
|
26
|
-
var index$3 = require('./index-
|
|
27
|
-
require('./index-
|
|
28
|
-
require('./index.styles-
|
|
22
|
+
var index$b = require('./index-01cd7594.js');
|
|
23
|
+
var index$6 = require('./index-ab1664f5.js');
|
|
24
|
+
require('./index-fcffe1fa.js');
|
|
25
|
+
var index$4 = require('./index-6821a630.js');
|
|
26
|
+
var index$3 = require('./index-458c34cd.js');
|
|
27
|
+
require('./index-53f509dc.js');
|
|
28
|
+
require('./index.styles-d0c1155f.js');
|
|
29
29
|
require('@mantine/hooks');
|
|
30
|
-
var utils = require('./utils-
|
|
31
|
-
require('./index-
|
|
32
|
-
var constants = require('./constants-
|
|
33
|
-
var store = require('./store-
|
|
34
|
-
var constants$3 = require('./constants-
|
|
35
|
-
var index$5 = require('./index-
|
|
36
|
-
var index$
|
|
37
|
-
var useCartCareService = require('./useCartCareService-
|
|
38
|
-
var constants$1 = require('./constants-
|
|
30
|
+
var utils = require('./utils-d609f225.js');
|
|
31
|
+
require('./index-3eb9104c.js');
|
|
32
|
+
var constants = require('./constants-ce783029.js');
|
|
33
|
+
var store = require('./store-4c79e933.js');
|
|
34
|
+
var constants$3 = require('./constants-b68a7fb3.js');
|
|
35
|
+
var index$5 = require('./index-a26514ea.js');
|
|
36
|
+
var index$2 = require('./index-c6552415.js');
|
|
37
|
+
var useCartCareService = require('./useCartCareService-f5c36167.js');
|
|
38
|
+
var constants$1 = require('./constants-2346cf9c.js');
|
|
39
39
|
var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
|
|
40
|
-
var index$7 = require('./index-
|
|
41
|
-
var index$8 = require('./index-
|
|
42
|
-
var utils$1 = require('./utils-
|
|
43
|
-
var index$9 = require('./index-
|
|
40
|
+
var index$7 = require('./index-d374bb97.js');
|
|
41
|
+
var index$8 = require('./index-5ec53100.js');
|
|
42
|
+
var utils$1 = require('./utils-211f191d.js');
|
|
43
|
+
var index$9 = require('./index-177e0db0.js');
|
|
44
|
+
var useResolvedCaptureUrls = require('./useResolvedCaptureUrls-3259bc56.js');
|
|
44
45
|
var dayjs = require('dayjs');
|
|
45
46
|
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
46
|
-
var index$a = require('./index-
|
|
47
|
+
var index$a = require('./index-580c6375.js');
|
|
47
48
|
var get = require('lodash/get');
|
|
48
|
-
var constants$2 = require('./constants-
|
|
49
|
+
var constants$2 = require('./constants-9dfa0506.js');
|
|
49
50
|
var isEmpty = require('lodash/isEmpty');
|
|
50
|
-
var index$d = require('./index-
|
|
51
|
+
var index$d = require('./index-daf6dedd.js');
|
|
51
52
|
var debounce = require('lodash/debounce');
|
|
52
53
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
53
|
-
var core$2 = require('./core-
|
|
54
|
+
var core$2 = require('./core-207aecaa.js');
|
|
54
55
|
|
|
55
56
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
56
57
|
|
|
@@ -90,6 +91,98 @@ const StarPair = (props) => (React__namespace.createElement("svg", Object.assign
|
|
|
90
91
|
React__namespace.createElement("path", { d: "M6.35278 10.7516C6.42759 10.976 6.63881 11.1279 6.87534 11.1279C7.11187 11.1279 7.322 10.976 7.39791 10.7516C7.68947 9.87691 8.37585 9.19053 9.25054 8.89896C9.47497 8.82415 9.62679 8.61403 9.62679 8.3775C9.62679 8.14097 9.47497 7.93084 9.25054 7.85603C8.37585 7.56446 7.68947 6.87809 7.39791 6.00339C7.24719 5.55453 6.5046 5.55453 6.35388 6.00339C6.06231 6.87809 5.37594 7.56446 4.50125 7.85603C4.27682 7.93084 4.125 8.14097 4.125 8.3775C4.125 8.61403 4.27682 8.82415 4.50125 8.89896C5.37565 9.19043 6.06193 9.87699 6.35278 10.7516Z", fill: "#2743AD" }),
|
|
91
92
|
React__namespace.createElement("path", { d: "M20.1723 14.3286L18.5342 13.6789C16.821 12.9995 15.4655 11.6411 14.7897 9.92641L14.1396 8.27697C13.9232 7.72994 13.0262 7.72994 12.8097 8.27697L12.1597 9.92641C11.4839 11.6411 10.1284 12.9995 8.41517 13.6789L6.77705 14.3286C6.5044 14.4367 6.32422 14.7016 6.32422 14.9952C6.32422 15.2888 6.50345 15.5537 6.77705 15.6618L8.41517 16.3115C10.1284 16.991 11.4839 18.3494 12.1597 20.064L12.8097 21.7135C12.9175 21.987 13.1815 22.1668 13.4742 22.1668C13.7669 22.1668 14.031 21.987 14.1387 21.7135L14.7888 20.064C15.4646 18.3494 16.8201 16.991 18.5333 16.3115L20.1714 15.6618C20.444 15.5537 20.6242 15.2888 20.6242 14.9952C20.6242 14.7016 20.4459 14.4367 20.1723 14.3286Z", fill: "#2743AD" })));
|
|
92
93
|
|
|
94
|
+
function getSettledValue(result) {
|
|
95
|
+
var _a;
|
|
96
|
+
return result.status === 'fulfilled' ? (_a = result.value) !== null && _a !== void 0 ? _a : null : null;
|
|
97
|
+
}
|
|
98
|
+
/** Promise.allSettled polyfill for es2017 lib target */
|
|
99
|
+
function allSettled(promises) {
|
|
100
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
return Promise.all(Array.from(promises).map((promise) => tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
try {
|
|
103
|
+
const value = yield promise;
|
|
104
|
+
return { status: 'fulfilled', value };
|
|
105
|
+
}
|
|
106
|
+
catch (reason) {
|
|
107
|
+
return { status: 'rejected', reason };
|
|
108
|
+
}
|
|
109
|
+
})));
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
const HELLO_WELLNESS_MENU_ITEM_INDEX = 3;
|
|
114
|
+
const insertHelloWellnessMenuItem = (items, item) => {
|
|
115
|
+
if (items.length >= 4) {
|
|
116
|
+
return [
|
|
117
|
+
...items.slice(0, HELLO_WELLNESS_MENU_ITEM_INDEX),
|
|
118
|
+
item,
|
|
119
|
+
...items.slice(HELLO_WELLNESS_MENU_ITEM_INDEX),
|
|
120
|
+
];
|
|
121
|
+
}
|
|
122
|
+
return [...items, item];
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
const DEFAULT_SPOTLIGHT_IMAGE = `${index.basePath}/images/hhg-logo.png`;
|
|
126
|
+
const applyHelloWellnessNavCategories = ({ helloWellness, categoryItems = [], categorySpotlights = [], }) => {
|
|
127
|
+
var _a, _b, _c;
|
|
128
|
+
const helloWellnessSpotlightMenu = (_b = (_a = helloWellness === null || helloWellness === void 0 ? void 0 : helloWellness.settings) === null || _a === void 0 ? void 0 : _a.menu) === null || _b === void 0 ? void 0 : _b.spotlightMenu;
|
|
129
|
+
const helloWellnessCategory = (_c = helloWellness === null || helloWellness === void 0 ? void 0 : helloWellness.settings) === null || _c === void 0 ? void 0 : _c.helloWellnessCategory;
|
|
130
|
+
const helloWellnessCategoryPermalink = `${index.basePath}/hello-wellness/`;
|
|
131
|
+
const helloWellnessSpotlightPermalink = (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.url) || helloWellnessCategoryPermalink;
|
|
132
|
+
const spotlights = categorySpotlights.map((item) => (Object.assign(Object.assign({}, item), { image: item.image || DEFAULT_SPOTLIGHT_IMAGE })));
|
|
133
|
+
const helloWellnessSpotlightMenuItem = {
|
|
134
|
+
id: 0,
|
|
135
|
+
name: (helloWellnessCategory === null || helloWellnessCategory === void 0 ? void 0 : helloWellnessCategory.categoryName) || 'Hello Wellness',
|
|
136
|
+
permalink: helloWellnessSpotlightPermalink,
|
|
137
|
+
image: (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.banner) || '',
|
|
138
|
+
imageMedium: (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.banner) || '',
|
|
139
|
+
imageThumbnail: (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.banner) || '',
|
|
140
|
+
};
|
|
141
|
+
const helloWellnessCategoryItem = (helloWellness === null || helloWellness === void 0 ? void 0 : helloWellness.enabled) &&
|
|
142
|
+
(helloWellnessCategory === null || helloWellnessCategory === void 0 ? void 0 : helloWellnessCategory.icon) &&
|
|
143
|
+
(helloWellnessCategory === null || helloWellnessCategory === void 0 ? void 0 : helloWellnessCategory.categoryName)
|
|
144
|
+
? {
|
|
145
|
+
iconUrl: helloWellnessCategory.icon,
|
|
146
|
+
categoryName: helloWellnessCategory.categoryName,
|
|
147
|
+
name: helloWellnessCategory.categoryName,
|
|
148
|
+
slugName: 'hello-wellness',
|
|
149
|
+
imageColor: '',
|
|
150
|
+
displayName: helloWellnessCategory.categoryName,
|
|
151
|
+
permalink: helloWellnessCategoryPermalink,
|
|
152
|
+
slug: 'hello-wellness',
|
|
153
|
+
childCates: [],
|
|
154
|
+
}
|
|
155
|
+
: null;
|
|
156
|
+
const updatedCategoryItems = helloWellnessCategoryItem
|
|
157
|
+
? [
|
|
158
|
+
helloWellnessCategoryItem,
|
|
159
|
+
...categoryItems.filter((item) => item.slug !== 'hello-wellness' &&
|
|
160
|
+
item.slugName !== 'hello-wellness' &&
|
|
161
|
+
item.permalink !== helloWellnessCategoryPermalink),
|
|
162
|
+
]
|
|
163
|
+
: categoryItems;
|
|
164
|
+
const updatedSpotlights = (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.banner) && (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.url)
|
|
165
|
+
? insertHelloWellnessMenuItem(spotlights, helloWellnessSpotlightMenuItem)
|
|
166
|
+
: spotlights;
|
|
167
|
+
return {
|
|
168
|
+
items: updatedCategoryItems,
|
|
169
|
+
spotlights: updatedSpotlights,
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
const applyHelloWellnessNavVideos = ({ helloWellness, videoSpotlights = [], }) => {
|
|
174
|
+
var _a, _b;
|
|
175
|
+
const helloWellnessVideoMenu = (_b = (_a = helloWellness === null || helloWellness === void 0 ? void 0 : helloWellness.settings) === null || _a === void 0 ? void 0 : _a.menu) === null || _b === void 0 ? void 0 : _b.videoMenu;
|
|
176
|
+
const helloWellnessVideoMenuItem = {
|
|
177
|
+
url: (helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.videoUrl) || '',
|
|
178
|
+
thumbnail: (helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.thumbnail) || '',
|
|
179
|
+
title: helloWellnessVideoMenu.title || '',
|
|
180
|
+
};
|
|
181
|
+
return (helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.thumbnail) && (helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.videoUrl)
|
|
182
|
+
? insertHelloWellnessMenuItem(videoSpotlights, helloWellnessVideoMenuItem)
|
|
183
|
+
: videoSpotlights;
|
|
184
|
+
};
|
|
185
|
+
|
|
93
186
|
const ALLOW_SHOW_SEARCH_ANIMATION = [Locale.LOCALE.Vietnam, Locale.LOCALE.Malaysia];
|
|
94
187
|
const TEXT_PLACEHOLDER_INPUT = {
|
|
95
188
|
[Locale.LOCALE.Vietnam]: [
|
|
@@ -110,7 +203,7 @@ const TEXT_PLACEHOLDER_INPUT = {
|
|
|
110
203
|
const TIME_ANIMATION_SEARCH_INPUT = 5000;
|
|
111
204
|
const TIME_ANIMATION_SEARCH_INPUT_DELAY = TIME_ANIMATION_SEARCH_INPUT - 2000;
|
|
112
205
|
|
|
113
|
-
const StyleInput = styled__default["default"](index.Input) `
|
|
206
|
+
const StyleInput = styled__default["default"](index$1.Input) `
|
|
114
207
|
position: relative;
|
|
115
208
|
z-index: 0;
|
|
116
209
|
|
|
@@ -214,7 +307,7 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
|
|
|
214
307
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
215
308
|
const [eventCategoryTracking, setEventCategoryTracking] = React.useState('Search From Another Page');
|
|
216
309
|
const [currentTextIndex, setCurrentTextIndex] = React.useState(0);
|
|
217
|
-
const { t } = index$
|
|
310
|
+
const { t } = index$2.useTranslations();
|
|
218
311
|
const goToSearchPage = React.useCallback((searchValue = '') => {
|
|
219
312
|
let sourceParam = '';
|
|
220
313
|
if (projectType === 'together') {
|
|
@@ -238,7 +331,7 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
|
|
|
238
331
|
const debouncedTime = React.useMemo(() => {
|
|
239
332
|
return ALLOW_SHOW_SEARCH_ANIMATION.includes(locale)
|
|
240
333
|
? 0
|
|
241
|
-
: index.DEBOUNCED_TIME;
|
|
334
|
+
: index$1.DEBOUNCED_TIME;
|
|
242
335
|
}, [locale]);
|
|
243
336
|
const goBack = React.useCallback(() => {
|
|
244
337
|
const historyBackUrl = localStorage.getItem(HHG_SEARCH_BACK_KEY);
|
|
@@ -284,8 +377,8 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
|
|
|
284
377
|
return t('navigation.search.input.placeholder');
|
|
285
378
|
}
|
|
286
379
|
return t('home.search', {
|
|
287
|
-
site: index
|
|
288
|
-
? index
|
|
380
|
+
site: index.LOCALE_SPECS[locale || 'en-PH']
|
|
381
|
+
? index.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME
|
|
289
382
|
: '',
|
|
290
383
|
});
|
|
291
384
|
}, [locale, siteType, t, isFocused]);
|
|
@@ -396,7 +489,7 @@ const ItemMenu = ({ item, menu }) => {
|
|
|
396
489
|
: null)));
|
|
397
490
|
};
|
|
398
491
|
const NewWrapper = ({ isNew, children, }) => {
|
|
399
|
-
const { t } = index$
|
|
492
|
+
const { t } = index$2.useTranslations();
|
|
400
493
|
if (isNew) {
|
|
401
494
|
return (React__namespace["default"].createElement(index$5.Indicator, { color: "green", label: t('home.navigator.menuItem.new'), size: 20, styles: {
|
|
402
495
|
root: {
|
|
@@ -570,7 +663,7 @@ const StyledItem$6 = styled__default["default"].a `
|
|
|
570
663
|
|
|
571
664
|
const Item$4 = ({ item, index = 0 }) => {
|
|
572
665
|
var _a;
|
|
573
|
-
const { t } = index$
|
|
666
|
+
const { t } = index$2.useTranslations();
|
|
574
667
|
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
575
668
|
if (!item)
|
|
576
669
|
return null;
|
|
@@ -729,7 +822,7 @@ const Spotlights = ({ title, viewMore, children, link, dataEventAction = '', })
|
|
|
729
822
|
};
|
|
730
823
|
|
|
731
824
|
const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
732
|
-
const { t } = index$
|
|
825
|
+
const { t } = index$2.useTranslations();
|
|
733
826
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
734
827
|
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightHospitals') }, spotlights.length !== 0 ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
735
828
|
React__namespace["default"].createElement(StyledContainerItems$5, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 3).map((s, index) => (React__namespace["default"].createElement(Item$4, { key: index, index: index, item: s })))),
|
|
@@ -920,7 +1013,7 @@ const CategoriesItem = ({ href, menuItem, activeItem, siteType, onClick, }) => {
|
|
|
920
1013
|
const { name, thumbnail, link, linkTarget, isNew, id, isMobileAppTool,
|
|
921
1014
|
// Break line
|
|
922
1015
|
} = menuItem;
|
|
923
|
-
const { t } = index$
|
|
1016
|
+
const { t } = index$2.useTranslations();
|
|
924
1017
|
const theme = core$1.useMantineTheme();
|
|
925
1018
|
return (React__namespace["default"].createElement(StyledItem$5, { className: core$1.clsx('iconMenu', `itemMenu-${id}`), "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": link, "data-is-heading-category": false, "data-active": id && id === activeItem, "data-is-mobile-tool": isMobileAppTool, href: href, target: linkTarget || !SiteWideBanner.isInternalLink(href) ? '_blank' : undefined, "data-theme": siteType, onClick: onClick },
|
|
926
1019
|
React__namespace["default"].createElement("div", { className: "icon" },
|
|
@@ -953,7 +1046,7 @@ const ExtraCategories = ({ menuItems, siteType, onClick, }) => {
|
|
|
953
1046
|
|
|
954
1047
|
const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
|
|
955
1048
|
var _a;
|
|
956
|
-
const { t } = index$
|
|
1049
|
+
const { t } = index$2.useTranslations();
|
|
957
1050
|
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
958
1051
|
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
959
1052
|
React__namespace["default"].createElement(Categories, { headingTitle: t('home.navigator.menuItem.specialties'), hrefViewMore: `${statics.CARE_URL_FE}/`, UrlFE: statics.CARE_URL_FE, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allSpecialties'), menuItems: (careSpecialties === null || careSpecialties === void 0 ? void 0 : careSpecialties.map((specialty) => {
|
|
@@ -1102,11 +1195,13 @@ const Item$3 = ({ item, index = 0 }) => {
|
|
|
1102
1195
|
};
|
|
1103
1196
|
|
|
1104
1197
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
1105
|
-
const { t } = index$
|
|
1198
|
+
const { t } = index$2.useTranslations();
|
|
1106
1199
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1200
|
+
const spotlightPermalinks = React.useMemo(() => spotlightsList.map((spotlight) => spotlight.permalink), [spotlightsList]);
|
|
1201
|
+
const resolvedPermalinks = useResolvedCaptureUrls.useResolvedCaptureUrls(spotlightPermalinks);
|
|
1107
1202
|
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlights'), viewMore: t('home.navigator.menu.spotlights.seeAll'), link: hrefViewMore, dataEventAction: "Spotlight See More Click" }, spotlightsList.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems$4, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((spotlight, index) => (React__namespace["default"].createElement(Item$3, { key: index, index: index, item: {
|
|
1108
1203
|
id: spotlight.id,
|
|
1109
|
-
link: statics.HOME_PAGE_URL
|
|
1204
|
+
link: normalizeLink.resolveDiscoverNavLink(statics.HOME_PAGE_URL, resolvedPermalinks[index] || spotlight.permalink),
|
|
1110
1205
|
title: spotlight.name,
|
|
1111
1206
|
banner: spotlight.image,
|
|
1112
1207
|
buttonDisplay: spotlight.buttonDisplay,
|
|
@@ -1114,7 +1209,7 @@ const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
|
1114
1209
|
};
|
|
1115
1210
|
|
|
1116
1211
|
const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isOpen, }) => {
|
|
1117
|
-
const { t } = index$
|
|
1212
|
+
const { t } = index$2.useTranslations();
|
|
1118
1213
|
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1119
1214
|
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1120
1215
|
React__namespace["default"].createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: (categories === null || categories === void 0 ? void 0 : categories.map((cat) => {
|
|
@@ -1280,12 +1375,12 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
1280
1375
|
|
|
1281
1376
|
const CommunitySpotlights = ({ spotlights = [] }) => {
|
|
1282
1377
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1283
|
-
const { t } = index$
|
|
1378
|
+
const { t } = index$2.useTranslations();
|
|
1284
1379
|
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.trendingPosts'), viewMore: t('home.navigator.menu.trendingPosts.seeMore'), link: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), dataEventAction: "Together See More Click" }, spotlights.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems$3, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 4).map((p, index) => (React__namespace["default"].createElement(Item$2, { index: index, post: p, key: p.id }))))) : (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.together.noPosts.title'), description: t('home.navigator.menu.together.noPosts.description'), link: `${statics.HOME_PAGE_URL}/community/`, cta: t('home.navigator.menu.together.noPosts.cta'), icon: index$6.CommonGAssets.getAssetPath('community.svg') }))));
|
|
1285
1380
|
};
|
|
1286
1381
|
|
|
1287
1382
|
const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [], }) => {
|
|
1288
|
-
const { t } = index$
|
|
1383
|
+
const { t } = index$2.useTranslations();
|
|
1289
1384
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1290
1385
|
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1291
1386
|
React__namespace["default"].createElement(Categories, { hrefViewMore: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), UrlFE: normalizeLink.normalizeLinkSlash(statics.TOGETHER_URL_FE), onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCommunities'), menuItems: (communities === null || communities === void 0 ? void 0 : communities.map((community) => {
|
|
@@ -1431,7 +1526,7 @@ const StyledContentWrapper$1 = styled__default["default"].div `
|
|
|
1431
1526
|
`;
|
|
1432
1527
|
|
|
1433
1528
|
const Item$1 = ({ item, index = 0 }) => {
|
|
1434
|
-
const { t } = index$
|
|
1529
|
+
const { t } = index$2.useTranslations();
|
|
1435
1530
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1436
1531
|
if (!item)
|
|
1437
1532
|
return null;
|
|
@@ -1663,7 +1758,7 @@ const StyledWrapName = styled__default["default"].div `
|
|
|
1663
1758
|
`;
|
|
1664
1759
|
|
|
1665
1760
|
const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
1666
|
-
const { t } = index$
|
|
1761
|
+
const { t } = index$2.useTranslations();
|
|
1667
1762
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1668
1763
|
if (!item)
|
|
1669
1764
|
return null;
|
|
@@ -1698,7 +1793,7 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1698
1793
|
};
|
|
1699
1794
|
|
|
1700
1795
|
const ToolSpotlights = ({ hrefViewMore, spotlightHealthTools = [] }) => {
|
|
1701
|
-
const { t } = index$
|
|
1796
|
+
const { t } = index$2.useTranslations();
|
|
1702
1797
|
const marryBabyCardColor = ['pink', 'orange', 'green'];
|
|
1703
1798
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1704
1799
|
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightTools') },
|
|
@@ -1708,9 +1803,9 @@ const ToolSpotlights = ({ hrefViewMore, spotlightHealthTools = [] }) => {
|
|
|
1708
1803
|
|
|
1709
1804
|
const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [], healthTools = [], }) => {
|
|
1710
1805
|
var _a;
|
|
1711
|
-
const { t } = index$
|
|
1806
|
+
const { t } = index$2.useTranslations();
|
|
1712
1807
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1713
|
-
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index
|
|
1808
|
+
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
|
|
1714
1809
|
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1715
1810
|
React__namespace["default"].createElement(Categories, { hrefViewMore: hrefViewMore, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, headingTitle: t('home.navigator.menuItem.healthToolsList'), titleBtnViewMore: t('home.navigator.menuItem.allHealthTools'), menuItems: healthTools.map((t) => ({
|
|
1716
1811
|
name: t.title,
|
|
@@ -1736,14 +1831,25 @@ const StyledContainerItems$1 = styled__default["default"].div `
|
|
|
1736
1831
|
}
|
|
1737
1832
|
`;
|
|
1738
1833
|
|
|
1834
|
+
const isHelloWellnessVideo = (video, helloWellnessVideoUrl, helloWellnessVideoThumbnail) => Boolean(helloWellnessVideoUrl &&
|
|
1835
|
+
helloWellnessVideoThumbnail &&
|
|
1836
|
+
video.url === helloWellnessVideoUrl &&
|
|
1837
|
+
video.thumbnail === helloWellnessVideoThumbnail);
|
|
1739
1838
|
const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
1740
|
-
|
|
1741
|
-
const {
|
|
1742
|
-
|
|
1839
|
+
var _a, _b, _c;
|
|
1840
|
+
const { t } = index$2.useTranslations();
|
|
1841
|
+
const { configs: { statics }, ssrMenuContent, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1842
|
+
const helloWellnessVideoMenu = (_c = (_b = (_a = ssrMenuContent === null || ssrMenuContent === void 0 ? void 0 : ssrMenuContent.helloWellness) === null || _a === void 0 ? void 0 : _a.settings) === null || _b === void 0 ? void 0 : _b.menu) === null || _c === void 0 ? void 0 : _c.videoMenu;
|
|
1843
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems$1, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => {
|
|
1844
|
+
const isHelloWellness = isHelloWellnessVideo(video, helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.videoUrl, helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.thumbnail);
|
|
1845
|
+
return (React__namespace["default"].createElement(SiteWideBanner.VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: index$b.VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', dataEventCategory: "Hamburger Navigation", dataEventAction: isHelloWellness
|
|
1846
|
+
? 'Click to Pin Video'
|
|
1847
|
+
: `Video Click ${index + 1}`, dataEventLabel: isHelloWellness ? video.url : undefined }));
|
|
1848
|
+
}))) : (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: `${statics.VIDEO_URL_FE}/`, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$6.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1743
1849
|
};
|
|
1744
1850
|
|
|
1745
1851
|
const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
1746
|
-
const { t } = index$
|
|
1852
|
+
const { t } = index$2.useTranslations();
|
|
1747
1853
|
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1748
1854
|
const listing = React.useMemo(() => [
|
|
1749
1855
|
{
|
|
@@ -1884,7 +1990,7 @@ const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
|
1884
1990
|
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(InitialDoctor, null) }, careNavItem.name))),
|
|
1885
1991
|
enableAppIntroPage && (React__namespace["default"].createElement("a", { tabIndex: 0, href: "https://applink.hellobacsi.com/o9Q88rQh7Mb", "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": `https://applink.hellobacsi.com/o9Q88rQh7Mb` },
|
|
1886
1992
|
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(StyleWrapperIcon, null,
|
|
1887
|
-
React__namespace["default"].createElement(core.Logo, { width: 16, height: 15 })) }, `${index
|
|
1993
|
+
React__namespace["default"].createElement(core.Logo, { width: 16, height: 15 })) }, `${index.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
1888
1994
|
};
|
|
1889
1995
|
|
|
1890
1996
|
var styles = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
|
|
@@ -1993,7 +2099,7 @@ const Item = ({ item, index = 0 }) => {
|
|
|
1993
2099
|
};
|
|
1994
2100
|
|
|
1995
2101
|
const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
1996
|
-
const { t } = index$
|
|
2102
|
+
const { t } = index$2.useTranslations();
|
|
1997
2103
|
// const { siteType } = useContext(NavigationContext)
|
|
1998
2104
|
if (!helpfulUrls.length)
|
|
1999
2105
|
return null;
|
|
@@ -2011,7 +2117,7 @@ const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
|
2011
2117
|
const MenuServiceList = ({ closePopup, menuItems = [], extraMenuItems = [], projectType, isHomepage = false, }) => {
|
|
2012
2118
|
var _a, _b;
|
|
2013
2119
|
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, customClasses, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2014
|
-
const { t } = index$
|
|
2120
|
+
const { t } = index$2.useTranslations();
|
|
2015
2121
|
return (React__namespace["default"].createElement(StyledMasterMenuContainer, { className: customClasses.categoriesMenu, id: "categories-menu" },
|
|
2016
2122
|
!isHomepage && (React__namespace["default"].createElement(StyleWrapperSearch, { className: "search-wrapper" },
|
|
2017
2123
|
React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: false, isRedirectSearchPage: true }))),
|
|
@@ -2021,7 +2127,7 @@ const MenuServiceList = ({ closePopup, menuItems = [], extraMenuItems = [], proj
|
|
|
2021
2127
|
: t('home.navigator.menuItem.allCategories'), onClosePopup: closePopup, activeItem: activeMenuService }),
|
|
2022
2128
|
!!(extraMenuItems === null || extraMenuItems === void 0 ? void 0 : extraMenuItems.length) && (React__namespace["default"].createElement(ExtraCategories, { menuItems: extraMenuItems, siteType: siteType, onClick: closePopup })),
|
|
2023
2129
|
activeMenuService === 'categories' && (React__namespace["default"].createElement(CategorySpotlights, { spotlightsList: (categories === null || categories === void 0 ? void 0 : categories.spotlights) || [], hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })),
|
|
2024
|
-
activeMenuService === 'tools' && (React__namespace["default"].createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index
|
|
2130
|
+
activeMenuService === 'tools' && (React__namespace["default"].createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
|
|
2025
2131
|
activeMenuService === 'care' && (React__namespace["default"].createElement(CareSpotlights, { spotlights: care === null || care === void 0 ? void 0 : care.spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_b = constants$1.LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b.SPECIALTIES}` })),
|
|
2026
2132
|
activeMenuService === 'together' && (React__namespace["default"].createElement(CommunitySpotlights, { spotlights: together === null || together === void 0 ? void 0 : together.spotlights })),
|
|
2027
2133
|
activeMenuService === 'ecom' && (React__namespace["default"].createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls })),
|
|
@@ -2496,7 +2602,7 @@ const StyleButtonAiChat = styled__default["default"](index$3.Button) `
|
|
|
2496
2602
|
`;
|
|
2497
2603
|
|
|
2498
2604
|
function O2ONavigationMenu() {
|
|
2499
|
-
const { locale, t } = index$
|
|
2605
|
+
const { locale, t } = index$2.useTranslations();
|
|
2500
2606
|
const o2oCategoryItems = get__default["default"](getO2OCategoryItems(t), locale, []);
|
|
2501
2607
|
const contact = get__default["default"](getO2OContacts(t), locale);
|
|
2502
2608
|
if (isEmpty__default["default"](o2oCategoryItems) || isEmpty__default["default"](contact))
|
|
@@ -2540,7 +2646,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2540
2646
|
}, userState: { userInfo }, onLogout,
|
|
2541
2647
|
// userProfileRouterPush,
|
|
2542
2648
|
isUserLoading, slot, isWinCashBackTheme: winCashBackTheme, enableO2ONavigationMenu, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2543
|
-
const { t } = index$
|
|
2649
|
+
const { t } = index$2.useTranslations();
|
|
2544
2650
|
const { triggerLogin } = store.useSSOV2Store();
|
|
2545
2651
|
const { SSO_URL, HOME_PAGE_URL } = statics;
|
|
2546
2652
|
const isSponsored = !!sponsorComponent;
|
|
@@ -2560,7 +2666,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2560
2666
|
: currentLocation;
|
|
2561
2667
|
};
|
|
2562
2668
|
const logoType = siteType === 'helloSites'
|
|
2563
|
-
? (_b = index
|
|
2669
|
+
? (_b = index.LOCALE_SPECS[locale]) === null || _b === void 0 ? void 0 : _b.LOGO_TYPE
|
|
2564
2670
|
: siteType;
|
|
2565
2671
|
const isBrowser = typeof window !== 'undefined';
|
|
2566
2672
|
const scrolling = React.useCallback(throttle__default["default"](() => {
|
|
@@ -2629,6 +2735,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2629
2735
|
isMobile && (React__namespace["default"].createElement(HamburgerMenu, { menuItems: hamburgerMenuItems, extraMenuItems: hamburgerExtraMenuItems, isHomepage: isHomepage, projectType: projectType })),
|
|
2630
2736
|
logoComponent || (React__namespace["default"].createElement("a", { style: {
|
|
2631
2737
|
flexShrink: 0,
|
|
2738
|
+
pointerEvents: 'auto',
|
|
2632
2739
|
}, href: HOME_PAGE_URL },
|
|
2633
2740
|
React__namespace["default"].createElement("div", null,
|
|
2634
2741
|
React__namespace["default"].createElement(index$c.Logo, { style: {
|
|
@@ -2643,10 +2750,10 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2643
2750
|
languageMenu,
|
|
2644
2751
|
enableNavCartCare && winCashBackTheme && (React__namespace["default"].createElement(index$d.CartCareButton, { href: cartHref !== null && cartHref !== void 0 ? cartHref : cartBaseUrl, count: cartHref ? 1 : 0 })),
|
|
2645
2752
|
enableNavChatbotAi && (React__namespace["default"].createElement(core$1.Box, { component: "a", href: `${normalizeLink.getCurrentBaseUrl(locale)}/ai-doctor`, "data-event-category": "Chatbot AI", "data-event-action": "Open", "data-event-label": "Hamburger Navigation", className: "ai-doctor-nav-item" },
|
|
2646
|
-
React__namespace["default"].createElement(StyleButtonAiChat, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(other.ChatAi, { size: 18, color: "#2F8AF2" }), size: "md", className: "ai-doctor-btn" }, (_c = index
|
|
2753
|
+
React__namespace["default"].createElement(StyleButtonAiChat, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(other.ChatAi, { size: 18, color: "#2F8AF2" }), size: "md", className: "ai-doctor-btn" }, (_c = index.LOCALE_SPECS[locale]) === null || _c === void 0 ? void 0 :
|
|
2647
2754
|
_c.SITE_NAME,
|
|
2648
2755
|
" AI"))),
|
|
2649
|
-
enableNavClinityDownload && (React__namespace["default"].createElement(core$1.Box, { component: "a", href: `${(_d = index
|
|
2756
|
+
enableNavClinityDownload && (React__namespace["default"].createElement(core$1.Box, { component: "a", href: `${(_d = index.STATIC_PAGES[locale]) === null || _d === void 0 ? void 0 : _d.CLINITY_DOWNLOAD_LINK}`, target: "_blank", "data-event-category": "Hamburger Navigation", "data-event-action": "Download Clinity", "data-event-label": `${(_e = index.STATIC_PAGES[locale]) === null || _e === void 0 ? void 0 : _e.CLINITY_DOWNLOAD_LINK}`, "data-cart-menu": true },
|
|
2650
2757
|
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('clinity-download.png'), alt: "Clinity", className: "clinity-logo", style: { display: 'block' } }))),
|
|
2651
2758
|
slot,
|
|
2652
2759
|
React__namespace["default"].createElement(navigationProfileButton.NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin,
|
|
@@ -2682,6 +2789,71 @@ const NavigationMenu = ({ menuItems, originalMenuItems, className, }) => {
|
|
|
2682
2789
|
React__namespace["default"].createElement(StyledWrapMenuItems, { "data-site-type": siteType }, menuItems === null || menuItems === void 0 ? void 0 : menuItems.map((menuItem, index) => (React__namespace["default"].createElement(ItemMenu, { key: index, item: menuItem, menu: menuItem.popupType === 'categories' ? (React__namespace["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__namespace["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__namespace["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__namespace["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__namespace["default"].createElement(MenuVideoList, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights })) : menuItem.popupType === 'other' ? (React__namespace["default"].createElement(MenuViewMore, { menuItems: originalMenuItems })) : null }))))));
|
|
2683
2790
|
};
|
|
2684
2791
|
|
|
2792
|
+
const formatHelloWellnessFeatureImage = (data) => ({
|
|
2793
|
+
image: (data === null || data === void 0 ? void 0 : data.image) || '',
|
|
2794
|
+
header: (data === null || data === void 0 ? void 0 : data.header) || '',
|
|
2795
|
+
description: (data === null || data === void 0 ? void 0 : data.description) || '',
|
|
2796
|
+
redirectLink: (data === null || data === void 0 ? void 0 : data.redirect_link) || '',
|
|
2797
|
+
});
|
|
2798
|
+
const formatHelloWellnessPinCategoryItem = (item) => {
|
|
2799
|
+
if (!item)
|
|
2800
|
+
return null;
|
|
2801
|
+
if (item.type === 'feature_image') {
|
|
2802
|
+
return {
|
|
2803
|
+
categoryId: item.category,
|
|
2804
|
+
type: 'feature_image',
|
|
2805
|
+
data: formatHelloWellnessFeatureImage(item.data),
|
|
2806
|
+
};
|
|
2807
|
+
}
|
|
2808
|
+
return {
|
|
2809
|
+
categoryId: item.category,
|
|
2810
|
+
type: 'pin_article',
|
|
2811
|
+
data: Object.assign(Object.assign({}, dataTransform.formatArticle(item.data)), { isHelloWellness: true }),
|
|
2812
|
+
};
|
|
2813
|
+
};
|
|
2814
|
+
const formatHelloWellnessSettings = (settings) => {
|
|
2815
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
|
|
2816
|
+
if (!settings)
|
|
2817
|
+
return {};
|
|
2818
|
+
return {
|
|
2819
|
+
menu: {
|
|
2820
|
+
spotlightMenu: {
|
|
2821
|
+
banner: ((_b = (_a = settings.menu) === null || _a === void 0 ? void 0 : _a['spotlight-menu']) === null || _b === void 0 ? void 0 : _b.banner) || '',
|
|
2822
|
+
url: ((_d = (_c = settings.menu) === null || _c === void 0 ? void 0 : _c['spotlight-menu']) === null || _d === void 0 ? void 0 : _d.url) || '',
|
|
2823
|
+
},
|
|
2824
|
+
videoMenu: {
|
|
2825
|
+
videoUrl: ((_f = (_e = settings.menu) === null || _e === void 0 ? void 0 : _e.video_menu) === null || _f === void 0 ? void 0 : _f.video_url) || '',
|
|
2826
|
+
thumbnail: typeof ((_h = (_g = settings.menu) === null || _g === void 0 ? void 0 : _g.video_menu) === null || _h === void 0 ? void 0 : _h.thumbnail_video) === 'string'
|
|
2827
|
+
? settings.menu.video_menu.thumbnail_video
|
|
2828
|
+
: '',
|
|
2829
|
+
title: ((_k = (_j = settings.menu) === null || _j === void 0 ? void 0 : _j.video_menu) === null || _k === void 0 ? void 0 : _k.title) || '',
|
|
2830
|
+
},
|
|
2831
|
+
},
|
|
2832
|
+
helloWellnessCategory: {
|
|
2833
|
+
icon: ((_l = settings.hello_wellness_category) === null || _l === void 0 ? void 0 : _l.icon) || '',
|
|
2834
|
+
categoryName: ((_m = settings.hello_wellness_category) === null || _m === void 0 ? void 0 : _m.category_name) || '',
|
|
2835
|
+
},
|
|
2836
|
+
landingPage: {
|
|
2837
|
+
bannerDesktop: ((_o = settings.landing_page) === null || _o === void 0 ? void 0 : _o.banner_desktop) || '',
|
|
2838
|
+
bannerMobile: ((_p = settings.landing_page) === null || _p === void 0 ? void 0 : _p.banner_mobile) || '',
|
|
2839
|
+
headerForCategoriesList: ((_q = settings.landing_page) === null || _q === void 0 ? void 0 : _q.header_for_categories_list) || '',
|
|
2840
|
+
categories: ((_s = (_r = settings.landing_page) === null || _r === void 0 ? void 0 : _r.category) === null || _s === void 0 ? void 0 : _s.map((category) => utils$1.formatCategory(category))) || [],
|
|
2841
|
+
},
|
|
2842
|
+
pinArticleForEachCategory: {
|
|
2843
|
+
sponsorLogo: ((_t = settings.pin_article_for_each_category) === null || _t === void 0 ? void 0 : _t.sponsor_logo) || '',
|
|
2844
|
+
listCategories: ((_v = (_u = settings.pin_article_for_each_category) === null || _u === void 0 ? void 0 : _u.list_categories) === null || _v === void 0 ? void 0 : _v.map(formatHelloWellnessPinCategoryItem).filter(Boolean)) || [],
|
|
2845
|
+
},
|
|
2846
|
+
};
|
|
2847
|
+
};
|
|
2848
|
+
const formatHelloWellness = (data) => {
|
|
2849
|
+
if (!data)
|
|
2850
|
+
return {};
|
|
2851
|
+
return {
|
|
2852
|
+
enabled: Boolean(data.enabled),
|
|
2853
|
+
settings: formatHelloWellnessSettings(data.settings),
|
|
2854
|
+
};
|
|
2855
|
+
};
|
|
2856
|
+
|
|
2685
2857
|
const useHeaderHeight = ({ hasSponsoredBanners, isSponsored, isShowingSiteWideBanner, isMobile, }) => {
|
|
2686
2858
|
const headerRef = React.useRef(null);
|
|
2687
2859
|
const [headerHeight, setHeaderHeight] = React.useState(0);
|
|
@@ -2807,7 +2979,7 @@ const useInsider = () => {
|
|
|
2807
2979
|
};
|
|
2808
2980
|
|
|
2809
2981
|
const useNavServices = () => {
|
|
2810
|
-
const { t } = index$
|
|
2982
|
+
const { t } = index$2.useTranslations();
|
|
2811
2983
|
const { siteType, locale, configs: { enableNavDiscover, enableNavHealthTools, enableNavCare, enableNavTogether, enableNavEcom, enableNavVideo, enableAppIntroPage, statics, }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2812
2984
|
const isMarryBaby = siteType === 'marryBaby';
|
|
2813
2985
|
const enableNavViewMore = [enableAppIntroPage, enableNavCare, enableNavEcom].filter(Boolean).length >
|
|
@@ -2839,7 +3011,7 @@ const useNavServices = () => {
|
|
|
2839
3011
|
_services.push({
|
|
2840
3012
|
name: t('home.navigator.menuItem.healthTools'),
|
|
2841
3013
|
id: 'tools',
|
|
2842
|
-
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index
|
|
3014
|
+
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`,
|
|
2843
3015
|
thumbnail: isMarryBaby
|
|
2844
3016
|
? index$6.CommonGAssets.getAssetPath('healthtools-mb.svg')
|
|
2845
3017
|
: index$6.CommonGAssets.getAssetPath('nav-icons/health-tools.svg'),
|
|
@@ -2887,36 +3059,6 @@ const useNavServices = () => {
|
|
|
2887
3059
|
return services;
|
|
2888
3060
|
};
|
|
2889
3061
|
|
|
2890
|
-
const StyledContainer = styled__default["default"].div `
|
|
2891
|
-
--header-z-index: ${index$2.ZINDEX_HEADER};
|
|
2892
|
-
top: 0;
|
|
2893
|
-
z-index: var(--header-z-index);
|
|
2894
|
-
|
|
2895
|
-
${utils.MediaQueries.mbDown} {
|
|
2896
|
-
width: 100vw;
|
|
2897
|
-
max-width: 100%;
|
|
2898
|
-
}
|
|
2899
|
-
--amp-site-wide-closed: 2px;
|
|
2900
|
-
|
|
2901
|
-
-webkit-transform: translateZ(0);
|
|
2902
|
-
position: sticky;
|
|
2903
|
-
|
|
2904
|
-
&.nav-open {
|
|
2905
|
-
margin-top: 64px;
|
|
2906
|
-
}
|
|
2907
|
-
|
|
2908
|
-
&:not(.nav-open) {
|
|
2909
|
-
--amp-site-wide-closed: 66px;
|
|
2910
|
-
}
|
|
2911
|
-
pointer-events: none;
|
|
2912
|
-
> section
|
|
2913
|
-
*:not([data-cart-menu] *):not([data-search-animation-wrapper] *):not(
|
|
2914
|
-
[data-search-animation-wrapper]
|
|
2915
|
-
) {
|
|
2916
|
-
pointer-events: auto;
|
|
2917
|
-
}
|
|
2918
|
-
`;
|
|
2919
|
-
|
|
2920
3062
|
const CSS_VAR_DEFAULT_HEADER_HEIGHT = '--default-header-height';
|
|
2921
3063
|
const CSS_VAR_HEADER_HEIGHT = '--header-height';
|
|
2922
3064
|
const setRootCSSVariable = (name, value) => {
|
|
@@ -2943,6 +3085,30 @@ const useSetGlobalHeaderHeight = ({ headerHeight, defaultHeaderHeight, allowRoot
|
|
|
2943
3085
|
}, [defaultHeaderHeight, finalHeaderHeight]);
|
|
2944
3086
|
};
|
|
2945
3087
|
|
|
3088
|
+
const StyledContainer = styled__default["default"].div `
|
|
3089
|
+
--header-z-index: ${index.ZINDEX_HEADER};
|
|
3090
|
+
top: 0;
|
|
3091
|
+
z-index: var(--header-z-index);
|
|
3092
|
+
|
|
3093
|
+
${utils.MediaQueries.mbDown} {
|
|
3094
|
+
width: 100vw;
|
|
3095
|
+
max-width: 100%;
|
|
3096
|
+
}
|
|
3097
|
+
--amp-site-wide-closed: 2px;
|
|
3098
|
+
|
|
3099
|
+
-webkit-transform: translateZ(0);
|
|
3100
|
+
position: sticky;
|
|
3101
|
+
|
|
3102
|
+
&.nav-open {
|
|
3103
|
+
margin-top: 64px;
|
|
3104
|
+
}
|
|
3105
|
+
|
|
3106
|
+
&:not(.nav-open) {
|
|
3107
|
+
--amp-site-wide-closed: 66px;
|
|
3108
|
+
}
|
|
3109
|
+
pointer-events: none;
|
|
3110
|
+
`;
|
|
3111
|
+
|
|
2946
3112
|
const _NavigationV2 = (props) => {
|
|
2947
3113
|
var _a, _b;
|
|
2948
3114
|
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, customClasses = {}, } = props;
|
|
@@ -2978,61 +3144,77 @@ const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0
|
|
|
2978
3144
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
2979
3145
|
const res = {};
|
|
2980
3146
|
const isMarryBaby = locale === 'vi-VN_MB';
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
]);
|
|
3026
|
-
res.care = {
|
|
3027
|
-
items: ((_x = (_w = (_v = (_u = specialties === null || specialties === void 0 ? void 0 : specialties._data) === null || _u === void 0 ? void 0 : _u.setting_menu) === null || _v === void 0 ? void 0 : _v.menu_specialty) === null || _w === void 0 ? void 0 : _w.map) === null || _x === void 0 ? void 0 : _x.call(_w, utils$1.formatSpecialties)) || [],
|
|
3028
|
-
spotlights: ((_0 = (_z = (_y = hospitals === null || hospitals === void 0 ? void 0 : hospitals._data.setting_menu) === null || _y === void 0 ? void 0 : _y.menu_hospital) === null || _z === void 0 ? void 0 : _z.map) === null || _0 === void 0 ? void 0 : _0.call(_z, utils$1.formatHospital)) || [],
|
|
3029
|
-
};
|
|
3030
|
-
}
|
|
3031
|
-
catch (_3) { }
|
|
3032
|
-
}
|
|
3147
|
+
const customLang = locale === 'tl-PH' ? 'lang=fil' : '';
|
|
3148
|
+
const discoverDomain = normalizeLink.getDiscoverApiDomain(locale);
|
|
3149
|
+
const healthToolsPath = isMarryBaby ? 'health-tools' : 'healthtools';
|
|
3150
|
+
const langSuffix = customLang ? '?' + customLang : '';
|
|
3151
|
+
const langAmpSuffix = customLang ? '&' + customLang : '';
|
|
3152
|
+
const fetchJson = (url) => fetch(normalizeLink.normalizeLinkSlash(url)).then((response) => response.json());
|
|
3153
|
+
const [categoriesResult, spotlightsResult, healthtoolsResult, healthtoolsFavoritesResult, videosResult, helloWellnessResult,] = yield allSettled([
|
|
3154
|
+
fetchJson(`${discoverDomain}/wp-json/api/categories${langSuffix}`),
|
|
3155
|
+
fetchJson(`${discoverDomain}/wp-json/api/spotlights?per_page=10&order_by=start_date${langAmpSuffix}`),
|
|
3156
|
+
fetchJson(`${discoverDomain}/wp-json/api/${healthToolsPath}${langSuffix}`),
|
|
3157
|
+
fetchJson(`${discoverDomain}/wp-json/api/${healthToolsPath}/favorites${langSuffix}`),
|
|
3158
|
+
index.VIDEO_LOCALES.includes(locale)
|
|
3159
|
+
? fetchJson(`${discoverDomain}/wp-json/api/video/navigation`)
|
|
3160
|
+
: Promise.resolve(null),
|
|
3161
|
+
fetchJson(`${discoverDomain}/wp-json/api/hello-wellness`),
|
|
3162
|
+
]);
|
|
3163
|
+
const categories = getSettledValue(categoriesResult);
|
|
3164
|
+
const spotlights = getSettledValue(spotlightsResult);
|
|
3165
|
+
const healthtools = getSettledValue(healthtoolsResult);
|
|
3166
|
+
const healthtoolsFavorites = getSettledValue(healthtoolsFavoritesResult);
|
|
3167
|
+
const videos = getSettledValue(videosResult);
|
|
3168
|
+
const helloWellnessResponse = getSettledValue(helloWellnessResult);
|
|
3169
|
+
const helloWellness = (helloWellnessResponse === null || helloWellnessResponse === void 0 ? void 0 : helloWellnessResponse.status) === 1 && (helloWellnessResponse === null || helloWellnessResponse === void 0 ? void 0 : helloWellnessResponse.data)
|
|
3170
|
+
? formatHelloWellness(helloWellnessResponse.data)
|
|
3171
|
+
: null;
|
|
3172
|
+
res.categories = applyHelloWellnessNavCategories({
|
|
3173
|
+
helloWellness,
|
|
3174
|
+
categoryItems: ((_b = (_a = categories === null || categories === void 0 ? void 0 : categories.data) === null || _a === void 0 ? void 0 : _a.map) === null || _b === void 0 ? void 0 : _b.call(_a, utils$1.formatCategory)) || [],
|
|
3175
|
+
categorySpotlights: ((_f = (_e = (_d = (_c = spotlights === null || spotlights === void 0 ? void 0 : spotlights.data) === null || _c === void 0 ? void 0 : _c.articles) === null || _d === void 0 ? void 0 : _d.map) === null || _e === void 0 ? void 0 : _e.call(_d, utils$1.formatSpotlightsList)) === null || _f === void 0 ? void 0 : _f.filter(utils$1.checkAvailableSpotlight)) || [],
|
|
3176
|
+
});
|
|
3177
|
+
res.healthTools = {
|
|
3178
|
+
items: ((_h = (_g = healthtools === null || healthtools === void 0 ? void 0 : healthtools.data) === null || _g === void 0 ? void 0 : _g.map) === null || _h === void 0 ? void 0 : _h.call(_g, utils$1.formatHealthTool)) || [],
|
|
3179
|
+
spotlights: ((_k = (_j = healthtoolsFavorites === null || healthtoolsFavorites === void 0 ? void 0 : healthtoolsFavorites.data) === null || _j === void 0 ? void 0 : _j.map) === null || _k === void 0 ? void 0 : _k.call(_j, utils$1.formatHealthTool)) || [],
|
|
3180
|
+
};
|
|
3181
|
+
res.videos = {
|
|
3182
|
+
spotlights: applyHelloWellnessNavVideos({
|
|
3183
|
+
helloWellness,
|
|
3184
|
+
videoSpotlights: ((_m = (_l = videos === null || videos === void 0 ? void 0 : videos.data) === null || _l === void 0 ? void 0 : _l.videos) !== null && _m !== void 0 ? _m : [])
|
|
3185
|
+
.map(utils$1.formatVideoItem)
|
|
3186
|
+
.filter((item) => !!item),
|
|
3187
|
+
}),
|
|
3188
|
+
};
|
|
3189
|
+
if (helloWellness) {
|
|
3190
|
+
res.helloWellness = helloWellness;
|
|
3033
3191
|
}
|
|
3034
|
-
|
|
3035
|
-
|
|
3192
|
+
if (isMarryBaby || index.LOCALE_HAS_COMMUNITY_SITE.includes(locale)) {
|
|
3193
|
+
const [communitiesResult, spotlightPostsResult] = yield allSettled([
|
|
3194
|
+
fetchJson(`${normalizeLink.getTogetherApiDomain()}/api/v1/community?website_url=https://${constantsDomainLocales.domainLocales[locale]}`),
|
|
3195
|
+
fetchJson(`${normalizeLink.getTogetherApiDomain()}/api/v1/options?website_url=https://${constantsDomainLocales.domainLocales[locale]}&meta_key=popular_post`),
|
|
3196
|
+
]);
|
|
3197
|
+
const communities = getSettledValue(communitiesResult);
|
|
3198
|
+
const spotlightPosts = getSettledValue(spotlightPostsResult);
|
|
3199
|
+
res.together = {
|
|
3200
|
+
items: ((_q = (_p = (_o = communities === null || communities === void 0 ? void 0 : communities.data) === null || _o === void 0 ? void 0 : _o.communities) === null || _p === void 0 ? void 0 : _p.map) === null || _q === void 0 ? void 0 : _q.call(_p, dataTransform.formatCommunity)) || [],
|
|
3201
|
+
spotlights: ((_t = (_s = (_r = spotlightPosts === null || spotlightPosts === void 0 ? void 0 : spotlightPosts.data) === null || _r === void 0 ? void 0 : _r.posts) === null || _s === void 0 ? void 0 : _s.map) === null || _t === void 0 ? void 0 : _t.call(_s, dataTransform.formatPost)) || [],
|
|
3202
|
+
};
|
|
3203
|
+
}
|
|
3204
|
+
if (index.CARE_LOCALES.includes(locale)) {
|
|
3205
|
+
const [specialtiesResult, hospitalsResult] = yield allSettled([
|
|
3206
|
+
fetchJson(normalizeLink.getCareApiDomain() +
|
|
3207
|
+
`/api/options/setting_menu?site=${constantsDomainLocales.domainLocales[locale]}&type=0`),
|
|
3208
|
+
fetchJson(normalizeLink.getCareApiDomain() +
|
|
3209
|
+
`/api/options/setting_menu?site=${constantsDomainLocales.domainLocales[locale]}&type=1`),
|
|
3210
|
+
]);
|
|
3211
|
+
const specialties = getSettledValue(specialtiesResult);
|
|
3212
|
+
const hospitals = getSettledValue(hospitalsResult);
|
|
3213
|
+
res.care = {
|
|
3214
|
+
items: ((_x = (_w = (_v = (_u = specialties === null || specialties === void 0 ? void 0 : specialties._data) === null || _u === void 0 ? void 0 : _u.setting_menu) === null || _v === void 0 ? void 0 : _v.menu_specialty) === null || _w === void 0 ? void 0 : _w.map) === null || _x === void 0 ? void 0 : _x.call(_w, utils$1.formatSpecialties)) || [],
|
|
3215
|
+
spotlights: ((_0 = (_z = (_y = hospitals === null || hospitals === void 0 ? void 0 : hospitals._data.setting_menu) === null || _y === void 0 ? void 0 : _y.menu_hospital) === null || _z === void 0 ? void 0 : _z.map) === null || _0 === void 0 ? void 0 : _0.call(_z, utils$1.formatHospital)) ||
|
|
3216
|
+
[],
|
|
3217
|
+
};
|
|
3036
3218
|
}
|
|
3037
3219
|
return res;
|
|
3038
3220
|
});
|
|
@@ -3044,5 +3226,7 @@ exports.HHG_SEARCH_BACK_KEY = HHG_SEARCH_BACK_KEY;
|
|
|
3044
3226
|
exports.HamburgerWhite = HamburgerWhite;
|
|
3045
3227
|
exports.NavigationV2 = NavigationV2;
|
|
3046
3228
|
exports.StarPair = StarPair;
|
|
3229
|
+
exports.formatHelloWellness = formatHelloWellness;
|
|
3230
|
+
exports.formatHelloWellnessSettings = formatHelloWellnessSettings;
|
|
3047
3231
|
exports.getNavMenuContent = getNavMenuContent;
|
|
3048
3232
|
exports.getNavMenuContentWithCache = getNavMenuContentWithCache;
|