@hhgtech/hhg-components 1.29.497-beta-1 → 1.29.497-beta-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-bd1c0d86.js → InputDate-ded06877.js} +5 -5
- package/build/{LastPeriod-e1249671.js → LastPeriod-6525e388.js} +1 -1
- package/build/{MobileBottomNavigationIcon-3cd46e95.js → MobileBottomNavigationIcon-6fa5fe3a.js} +3 -3
- package/build/{Spinner-7b1c8e04.js → Spinner-ab1f3cd6.js} +1 -1
- package/build/{WhatsApp-0070ec6b.js → WhatsApp-01383ce9.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +50 -50
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/logo/logoIcon.d.ts +2 -1
- package/build/components/navigationV2/components/atoms/ClosePopupIcon.d.ts +1 -2
- package/build/components/navigationV2/components/atoms/HamburgerIcon.d.ts +1 -2
- package/build/components/navigationV2/components/atoms/ItemNav/index.d.ts +1 -2
- package/build/components/navigationV2/components/atoms/searchInput/index.d.ts +1 -2
- package/build/components/navigationV2/components/molecules/navigationBar/hamburgerMenu/index.d.ts +1 -2
- package/build/components/navigationV2/components/molecules/navigationBar/index.d.ts +2 -4
- package/build/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +0 -4
- package/build/components/organisms/navigationProfileButton/index.d.ts +1 -2
- package/build/components/organisms/navigationProfileButton/index.styled.d.ts +0 -2
- package/build/components.js +104 -104
- package/build/{constants-a38e34d7.js → constants-19cb75a0.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-3d992220.js → core-9ecd7074.js} +1 -1
- package/build/{dataTransform-97e713e9.js → dataTransform-103e8d12.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-712c4ea8.js → editor-ad4db8d3.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 +27 -27
- package/build/embeddedHeathToolCards_bmrBmr.js +27 -27
- 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-6dc798b1.js → InputDate-02d61286.js} +5 -5
- package/build/esm/{LastPeriod-7387260d.js → LastPeriod-3156bc0b.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-40e0221a.js → MobileBottomNavigationIcon-700b7270.js} +3 -3
- package/build/esm/{Spinner-edecbc8a.js → Spinner-e9214a95.js} +1 -1
- package/build/esm/{WhatsApp-9fd58c1e.js → WhatsApp-f7ae098a.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +50 -50
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/logo/logoIcon.d.ts +2 -1
- package/build/esm/components/navigationV2/components/atoms/ClosePopupIcon.d.ts +1 -2
- package/build/esm/components/navigationV2/components/atoms/HamburgerIcon.d.ts +1 -2
- package/build/esm/components/navigationV2/components/atoms/ItemNav/index.d.ts +1 -2
- package/build/esm/components/navigationV2/components/atoms/searchInput/index.d.ts +1 -2
- package/build/esm/components/navigationV2/components/molecules/navigationBar/hamburgerMenu/index.d.ts +1 -2
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.d.ts +2 -4
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +0 -4
- package/build/esm/components/organisms/navigationProfileButton/index.d.ts +1 -2
- package/build/esm/components/organisms/navigationProfileButton/index.styled.d.ts +0 -2
- package/build/esm/components.js +104 -104
- package/build/esm/{constants-be66f840.js → constants-38682764.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-4afe186f.js → core-ecaa93db.js} +1 -1
- package/build/esm/{dataTransform-5ce6872f.js → dataTransform-72e8dae0.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-1439e643.js → editor-e1c9f874.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 +27 -27
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +27 -27
- 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-f73c94c2.js → healthTools-84bc9bdd.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +35 -35
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-6989dc51.js → index-000252a6.js} +5 -5
- package/build/esm/{index-1346f942.js → index-03cb3d3c.js} +2 -2
- package/build/esm/{index-25786055.js → index-0670b744.js} +2 -2
- package/build/esm/{index-6498713c.js → index-079404f9.js} +2 -2
- package/build/esm/{index-e019f5fb.js → index-095907d9.js} +7 -7
- package/build/esm/{index-bbde8174.js → index-0c8a6b48.js} +2 -2
- package/build/esm/{index-9a1ce783.js → index-1650aa3c.js} +743 -727
- package/build/esm/{index-d26e218d.js → index-16eed956.js} +14 -14
- package/build/esm/{index-88a0ab48.js → index-17d7ccb3.js} +6 -6
- package/build/esm/{index-eea761b6.js → index-186e66c0.js} +3 -3
- package/build/esm/{index-13398579.js → index-19a405c9.js} +2 -2
- package/build/esm/{index-f0e639a3.js → index-23b55e71.js} +4 -4
- package/build/esm/{index-9916d169.js → index-286ddfd1.js} +3 -3
- package/build/esm/{index-35beecf8.js → index-2e1f456d.js} +21 -21
- package/build/esm/{index-3be39c36.js → index-348885bc.js} +1 -1
- package/build/esm/{index-e9e6500d.js → index-377155d9.js} +14 -14
- package/build/esm/{index-bae065ec.js → index-38695fe6.js} +21 -21
- package/build/esm/{index-bb3e96ac.js → index-3f44fc7b.js} +2 -2
- package/build/esm/{index-4ce6fabc.js → index-3f9f181e.js} +2 -2
- package/build/esm/{index-b43a6520.js → index-433666f0.js} +6 -6
- package/build/esm/{index-97f62d2d.js → index-43aa6d9a.js} +8 -8
- package/build/esm/{index-6297b340.js → index-4af5f09f.js} +6 -6
- package/build/esm/{index-d26bd515.js → index-4e8b02e1.js} +1 -1
- package/build/esm/{index-345a4b12.js → index-4ebb8a00.js} +10 -10
- package/build/esm/{index-51d2d909.js → index-55cc4353.js} +16 -16
- package/build/esm/{index-7c0bbc62.js → index-699ebbf3.js} +13 -13
- package/build/esm/{index-19bb2662.js → index-69e4a150.js} +1 -1
- package/build/esm/{index-34c2a007.js → index-6f91d000.js} +3 -3
- package/build/esm/{index-e442c24f.js → index-702ad287.js} +1 -1
- package/build/esm/{index-687eb652.js → index-702d22b7.js} +2 -2
- package/build/esm/{index-f45afe1f.js → index-70959ab9.js} +16 -16
- package/build/esm/{index-e91180b3.js → index-73469ea3.js} +2 -2
- package/build/esm/{index-3d13da83.js → index-7412419d.js} +32 -32
- package/build/esm/{index-acd0a9ec.js → index-77d9cac6.js} +1 -1
- package/build/esm/{index-cb5727c3.js → index-79cee448.js} +13 -13
- package/build/esm/{index-39dc2e0a.js → index-7aeb08b9.js} +25 -25
- package/build/esm/{index-41aa9ddd.js → index-7e20eb9b.js} +2 -2
- package/build/esm/{index-d6205f13.js → index-82e5dcfe.js} +18 -18
- package/build/esm/{index-067b9b70.js → index-88ec3969.js} +3 -3
- package/build/esm/{index-605221de.js → index-8adf2756.js} +1 -1
- package/build/esm/{index-83cc21e5.js → index-973ecccd.js} +16 -16
- package/build/esm/{index-1568f809.js → index-97e10a71.js} +14 -14
- package/build/esm/{index-3067e2a6.js → index-9c8c3540.js} +2 -2
- package/build/esm/{index-4ab9fdb1.js → index-9ef74b64.js} +15 -15
- package/build/esm/{index-99eb57b5.js → index-aaa40d8d.js} +16 -16
- package/build/esm/{index-91e3ecc4.js → index-aebb1dba.js} +9 -9
- package/build/esm/{index-ab6d28ec.js → index-af1580c4.js} +7 -7
- package/build/esm/{index-f8d9f912.js → index-af6ff276.js} +37 -16
- package/build/esm/{index-d16c86f4.js → index-b3b63406.js} +1 -1
- package/build/esm/{index-cfca9657.js → index-b4574d5b.js} +17 -17
- package/build/esm/{index-f41edc13.js → index-b74737ad.js} +32 -32
- package/build/esm/{index-94cda95e.js → index-b852374b.js} +8 -8
- package/build/esm/{index-dc502110.js → index-be192795.js} +5 -5
- package/build/esm/{index-0e48fc2c.js → index-c0690a00.js} +4 -4
- package/build/esm/{index-d132b362.js → index-c7e66639.js} +3 -3
- package/build/esm/{index-e0d14bfa.js → index-c81ce08a.js} +26 -26
- package/build/esm/{index-d1e34aa7.js → index-d73a69e3.js} +18 -18
- package/build/esm/{index-012af66b.js → index-da26925e.js} +3 -3
- package/build/esm/{index-a4b3c754.js → index-e7d0eef0.js} +3 -3
- package/build/esm/{index-1d93613f.js → index-e858e00f.js} +2 -2
- package/build/esm/{index-c252f71b.js → index-e99c7a29.js} +15 -15
- package/build/esm/{index-e9db5383.js → index-ea24d153.js} +2 -2
- package/build/esm/{index-a3efe9db.js → index-eaf000f1.js} +22 -22
- package/build/esm/{index-2b530684.js → index-f0a252ba.js} +19 -19
- package/build/esm/{index-672a4962.js → index-f68b7a83.js} +2 -2
- package/build/esm/{index-699981c0.js → index-f9271e72.js} +3 -3
- package/build/esm/{index-31ed4e1e.js → index-f9d2a385.js} +14 -14
- package/build/esm/{index-4c83df72.js → index-f9f5e906.js} +2 -2
- package/build/esm/{index-eda168ff.js → index-facc3bfe.js} +3 -3
- package/build/esm/{index-52809c2d.js → index-fb2a6128.js} +2 -2
- package/build/esm/{index-4c215b70.js → index-fd2514e8.js} +2 -2
- package/build/esm/{index-32968531.js → index-fd825fab.js} +7 -7
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +124 -124
- package/build/esm/{labelSorting-48999140.js → labelSorting-e7af427f.js} +4 -4
- package/build/esm/lead.js +35 -35
- package/build/esm/{logoIcon-db284dca.js → logoIcon-9b16a4e9.js} +6 -5
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc.js +19 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +78 -78
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +47 -47
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +28 -28
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +57 -57
- package/build/esm/{post-d14aa171.js → post-1f15c00a.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-8e1ed91e.js → store-e939a713.js} +3 -3
- package/build/esm/subot.js +40 -40
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-647f6705.js → surveyThankyouCard-0ac54d15.js} +5 -5
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +40 -40
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +18 -18
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-3f8d38d7.js → translationsProvider-dbad2247.js} +1 -1
- package/build/esm/{treePopoverMenu-a57db3d6.js → treePopoverMenu-ecf7ef7b.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-a8425d13.js → useHealthToolCache-bcf16835.js} +1 -1
- package/build/esm/{usePhoneValidator-090f18af.js → usePhoneValidator-c3193766.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-825edea7.js → usePlacesAutocomplete-711d85d3.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-9a2875c4.js → utils-13097b44.js} +5 -5
- package/build/esm/{utils-48427658.js → utils-5a24d063.js} +2 -2
- package/build/esm/{utils-02ed0a06.js → utils-810bfd88.js} +3 -3
- package/build/esm/{utils-ec21ce45.js → utils-8e1d6759.js} +2 -2
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-505267ba.js → healthTools-34dbaa9c.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +35 -35
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-b007dbd1.js → index-03d30eba.js} +5 -5
- package/build/{index-4c552f06.js → index-06a610ff.js} +15 -15
- package/build/{index-f403b3d7.js → index-0aa4a89a.js} +2 -2
- package/build/{index-ed0d4334.js → index-0bfddcaf.js} +21 -21
- package/build/{index-c16d64a1.js → index-0f8b442e.js} +18 -18
- package/build/{index-882a7077.js → index-11a61959.js} +5 -5
- package/build/{index-9c4500a5.js → index-132d1f06.js} +1 -1
- package/build/{index-c7675c6f.js → index-165614cd.js} +3 -3
- package/build/{index-60fe0bf6.js → index-1775bf2e.js} +1 -1
- package/build/{index-e6483982.js → index-1942a8bb.js} +2 -2
- package/build/{index-e66aba1c.js → index-19bea5d2.js} +3 -3
- package/build/{index-7d005ef1.js → index-1a194279.js} +10 -10
- package/build/{index-9aea2543.js → index-1a2ad6c5.js} +2 -2
- package/build/{index-80445796.js → index-1f48dd2f.js} +4 -4
- package/build/{index-646cb7ea.js → index-27a69c66.js} +13 -13
- package/build/{index-5d996ad7.js → index-29356208.js} +6 -6
- package/build/{index-ab92a90b.js → index-2a05add9.js} +3 -3
- package/build/{index-b0db283b.js → index-2ee4cad1.js} +14 -14
- package/build/{index-73d4ac29.js → index-2f4ffd43.js} +16 -16
- package/build/{index-430edbe3.js → index-32cb6963.js} +3 -3
- package/build/{index-0efc5faa.js → index-36acb399.js} +7 -7
- package/build/{index-92eee866.js → index-396f4da2.js} +32 -32
- package/build/{index-4b974de2.js → index-3a1a1f13.js} +16 -16
- package/build/{index-e96282b1.js → index-49ca1255.js} +4 -4
- package/build/{index-e01fbdde.js → index-4d1b0915.js} +2 -2
- package/build/{index-b5ed03a2.js → index-50c4af38.js} +14 -14
- package/build/{index-dc281def.js → index-528160c9.js} +3 -3
- package/build/{index-93e0a822.js → index-532cfe4d.js} +2 -2
- package/build/{index-d4532965.js → index-5579894e.js} +6 -6
- package/build/{index-3609d57b.js → index-5cd421c0.js} +16 -16
- package/build/{index-3d9ffee7.js → index-5da408c1.js} +2 -2
- package/build/{index-3bc21bdc.js → index-601dccce.js} +26 -26
- package/build/{index-9ad7a046.js → index-6275ac3d.js} +1 -1
- package/build/{index-7f6fb293.js → index-6b27e8fb.js} +14 -14
- package/build/{index-edcde52a.js → index-70a13e5e.js} +779 -763
- package/build/{index-25fde662.js → index-728bf170.js} +1 -1
- package/build/{index-94032e19.js → index-76cbac19.js} +7 -7
- package/build/{index-7c009561.js → index-7b4e850c.js} +3 -3
- package/build/{index-96350253.js → index-7c5b8277.js} +13 -13
- package/build/{index-58de8634.js → index-8e842b63.js} +25 -25
- package/build/{index-d2ff8eb5.js → index-906cdd68.js} +9 -9
- package/build/{index-d48617c6.js → index-90cf1add.js} +3 -3
- package/build/{index-59231ca8.js → index-9521e86e.js} +16 -16
- package/build/{index-c534bd00.js → index-99ff6ba7.js} +21 -21
- package/build/{index-504dcb48.js → index-9e1479a9.js} +2 -2
- package/build/{index-3bcf22f4.js → index-9e9b2fd8.js} +2 -2
- package/build/{index-dc669703.js → index-a0c271b4.js} +14 -14
- package/build/{index-fc636244.js → index-a2ffd736.js} +17 -17
- package/build/{index-4b9a5056.js → index-a8648d02.js} +3 -3
- package/build/{index-9024d0b6.js → index-b0d6cad1.js} +32 -32
- package/build/{index-b52e902e.js → index-b15ff0e6.js} +2 -2
- package/build/{index-681e9bc5.js → index-b6aef032.js} +2 -2
- package/build/{index-91fb08fa.js → index-b7346578.js} +6 -6
- package/build/{index-d9c576c7.js → index-bb98b2f9.js} +19 -19
- package/build/{index-8f7abe3f.js → index-bea5f83c.js} +8 -8
- package/build/{index-ba8ee8d9.js → index-c652c274.js} +1 -1
- package/build/{index-c9d2d6ff.js → index-caac166d.js} +15 -15
- package/build/{index-ca02f1d5.js → index-d665bdfc.js} +2 -2
- package/build/{index-3428669c.js → index-d9648de2.js} +1 -1
- package/build/{index-397b8d0f.js → index-dae8b1f7.js} +2 -2
- package/build/{index-7956984b.js → index-dc1a2b0d.js} +2 -2
- package/build/{index-694ba566.js → index-e8eeb1bd.js} +37 -16
- package/build/{index-4df9ce95.js → index-ea8225c7.js} +3 -3
- package/build/{index-f3811123.js → index-ec052e28.js} +2 -2
- package/build/{index-d0b8e9fb.js → index-ecae0e01.js} +7 -7
- package/build/{index-47c14c0e.js → index-f30b1ecc.js} +8 -8
- package/build/{index-f9ef8d8d.js → index-f322924b.js} +2 -2
- package/build/{index-581d0fd6.js → index-f41deb5e.js} +2 -2
- package/build/{index-bc05091e.js → index-f6e0ea2f.js} +18 -18
- package/build/{index-1375b247.js → index-fa511ede.js} +22 -22
- package/build/{index-69ee398b.js → index-fbb50b50.js} +2 -2
- package/build/{index-f7fbf7a2.js → index-fcf852dd.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +124 -124
- package/build/{labelSorting-e6e86743.js → labelSorting-4ed477d1.js} +4 -4
- package/build/lead.js +35 -35
- package/build/{logoIcon-c50193af.js → logoIcon-21e53003.js} +6 -5
- package/build/mantine.js +25 -25
- package/build/misc.js +19 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +78 -78
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +47 -47
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +28 -28
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +57 -57
- package/build/{post-2d0beebb.js → post-b9dc77ab.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-16335444.js → store-7a36fbb1.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-c60b3d01.js → surveyThankyouCard-7c7b4ebe.js} +5 -5
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +40 -40
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +18 -18
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-aba5a3ce.js → translationsProvider-63f2e290.js} +1 -1
- package/build/{treePopoverMenu-534aa77d.js → treePopoverMenu-63c783ec.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-14e4750b.js → useHealthToolCache-159deb84.js} +1 -1
- package/build/{usePhoneValidator-dfcd8533.js → usePhoneValidator-4dd9e449.js} +5 -5
- package/build/{usePlacesAutocomplete-50f6b386.js → usePlacesAutocomplete-7a6493be.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-66317c41.js → utils-14fca5d3.js} +5 -5
- package/build/{utils-e69a36c4.js → utils-1f461da7.js} +2 -2
- package/build/{utils-1f24e930.js → utils-2a55239a.js} +3 -3
- package/build/{utils-2817dcd8.js → utils-403b6ab5.js} +2 -2
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-33eacfc5.js → BMI_BOYS.percentile.monthly-161ebdab.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-2f92d282.js → BMI_BOYS.percentile.weekly-521d3027.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d2c603cd.js → BMI_BOYS.percentile.yearly-c8df449f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-c78b6b62.js → BMI_BOYS.zscore.monthly-df29c0ef.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-bfe29a08.js → BMI_BOYS.zscore.weekly-20dd0dd0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-5bfd4153.js → BMI_BOYS.zscore.yearly-31a06976.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-53c7369b.js → BMI_GIRLS.percentile.monthly-f06a9770.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-06e3cd72.js → BMI_GIRLS.percentile.weekly-2102943b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-429a40c5.js → BMI_GIRLS.percentile.yearly-65e472d4.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-48f6534b.js → BMI_GIRLS.zscore.monthly-d8827c99.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-a50cf49e.js → BMI_GIRLS.zscore.weekly-ac0e4a2d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-393fe77b.js → BMI_GIRLS.zscore.yearly-b65476f5.js} +0 -0
- /package/build/{ChevronDown-600531a1.js → ChevronDown-7686113a.js} +0 -0
- /package/build/{Close-d6c71d62.js → Close-bf8618a4.js} +0 -0
- /package/build/{Google-a5e530bb.js → Google-3ae32cc0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-87a79844.js → HEAD CIRCUM_BOYS.percentile.monthly-1c60f925.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-2cc50453.js → HEAD CIRCUM_BOYS.percentile.weekly-db85c4dc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-5749449d.js → HEAD CIRCUM_BOYS.percentile.yearly-a963098b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-8e10749a.js → HEAD CIRCUM_BOYS.zscore.monthly-dceaccc6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-6673288c.js → HEAD CIRCUM_BOYS.zscore.weekly-f1bc9db2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-8823bf1d.js → HEAD CIRCUM_BOYS.zscore.yearly-db40c6e0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-dbe6a0a6.js → HEAD CIRCUM_GIRLS.percentile.monthly-0fd93295.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-c65c0cd3.js → HEAD CIRCUM_GIRLS.percentile.weekly-fab44a03.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-bb2a3c65.js → HEAD CIRCUM_GIRLS.percentile.yearly-91b1942c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-32acadfc.js → HEAD CIRCUM_GIRLS.zscore.monthly-bf16ba1d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a723cb17.js → HEAD CIRCUM_GIRLS.zscore.weekly-f25111cc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-cee2a892.js → HEAD CIRCUM_GIRLS.zscore.yearly-6dfdf4cb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-fcdf19fc.js → HEIGHT_BOYS.percentile.monthly-3173c970.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-077d1d5e.js → HEIGHT_BOYS.percentile.weekly-a49d43e2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-16d029cf.js → HEIGHT_BOYS.percentile.yearly-228fa5cb.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-32e9474b.js → HEIGHT_BOYS.zscore.monthly-a1335d34.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-3de30e2d.js → HEIGHT_BOYS.zscore.weekly-b692c710.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-f7c9baeb.js → HEIGHT_BOYS.zscore.yearly-8d547331.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-099a57cf.js → HEIGHT_GIRLS.percentile.monthly-1a58afd8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-8bc5a6fd.js → HEIGHT_GIRLS.percentile.weekly-fa8b754f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-80bc843d.js → HEIGHT_GIRLS.percentile.yearly-e1955987.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-838eacd2.js → HEIGHT_GIRLS.zscore.monthly-0d009317.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-216ad16a.js → HEIGHT_GIRLS.zscore.weekly-dc8c278d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-60671e23.js → HEIGHT_GIRLS.zscore.yearly-31884e2d.js} +0 -0
- /package/build/{Locale-ce16c457.js → Locale-efad4cbe.js} +0 -0
- /package/build/{Visible-cd6f9027.js → Visible-640e154d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-5672fc17.js → WEIGHT_BOYS.percentile.monthly-7d941680.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-60087f64.js → WEIGHT_BOYS.percentile.weekly-0b8fb54c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-1fda8c86.js → WEIGHT_BOYS.percentile.yearly-61ba9cef.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-e8c40232.js → WEIGHT_BOYS.zscore.monthly-940d4fc1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-d2b58763.js → WEIGHT_BOYS.zscore.weekly-e66871ed.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-69118867.js → WEIGHT_BOYS.zscore.yearly-dc347528.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-78b75ede.js → WEIGHT_GIRLS.percentile.monthly-1c4c834d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-817a65e2.js → WEIGHT_GIRLS.percentile.weekly-4a478f3e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-43f42eda.js → WEIGHT_GIRLS.percentile.yearly-3736e469.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-b205562e.js → WEIGHT_GIRLS.zscore.monthly-575fc833.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-7df64a31.js → WEIGHT_GIRLS.zscore.weekly-f0ed0623.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-43b5add3.js → WEIGHT_GIRLS.zscore.yearly-30f65fd4.js} +0 -0
- /package/build/{ageGenerate-11fa4bb0.js → ageGenerate-6e2034bd.js} +0 -0
- /package/build/{animation-1f5d08cf.js → animation-8655aaa5.js} +0 -0
- /package/build/{constants-f5feacca.js → constants-1c25a577.js} +0 -0
- /package/build/{constants-45894de6.js → constants-c307a26b.js} +0 -0
- /package/build/{constants-2cd9bd95.js → constants-f8e7f557.js} +0 -0
- /package/build/{context-54fefa0e.js → context-b68ab031.js} +0 -0
- /package/build/{dataTransform-cc0cee48.js → dataTransform-20ea0707.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-187e1cbb.js → BMI_BOYS.percentile.monthly-8164aea3.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-71f7f9d3.js → BMI_BOYS.percentile.weekly-e0d9dd34.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-163276a4.js → BMI_BOYS.percentile.yearly-e2611dab.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-6d3fb022.js → BMI_BOYS.zscore.monthly-6e15ac36.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-598f3d05.js → BMI_BOYS.zscore.weekly-b53027d1.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-9ac08426.js → BMI_BOYS.zscore.yearly-dc36b1cf.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-94eb3d23.js → BMI_GIRLS.percentile.monthly-8434e25d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-c8b3da1c.js → BMI_GIRLS.percentile.weekly-72545db1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-6119df4b.js → BMI_GIRLS.percentile.yearly-da5c8279.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-a0656da3.js → BMI_GIRLS.zscore.monthly-4ee5d6de.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-33c7a468.js → BMI_GIRLS.zscore.weekly-6ffc6bec.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-72dfdeef.js → BMI_GIRLS.zscore.yearly-7e9a7e75.js} +0 -0
- /package/build/esm/{ChevronDown-fcc2e7b5.js → ChevronDown-0b8d83aa.js} +0 -0
- /package/build/esm/{Close-2a2231b2.js → Close-1ef46475.js} +0 -0
- /package/build/esm/{Google-316dc2a1.js → Google-d3f639ec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-6dfc7152.js → HEAD CIRCUM_BOYS.percentile.monthly-463b524e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-8579a0ea.js → HEAD CIRCUM_BOYS.percentile.weekly-e4198ce9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-28f17f44.js → HEAD CIRCUM_BOYS.percentile.yearly-87b7fb8e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-780104cb.js → HEAD CIRCUM_BOYS.zscore.monthly-811af723.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-3d6928ca.js → HEAD CIRCUM_BOYS.zscore.weekly-65c91ab1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f09b1687.js → HEAD CIRCUM_BOYS.zscore.yearly-fb24d998.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-9f3dec9c.js → HEAD CIRCUM_GIRLS.percentile.monthly-4da0bdad.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-ba5f77d0.js → HEAD CIRCUM_GIRLS.percentile.weekly-d262f870.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b8bfa03e.js → HEAD CIRCUM_GIRLS.percentile.yearly-e26139da.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-aa187cbb.js → HEAD CIRCUM_GIRLS.zscore.monthly-05b5298a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-dda73b49.js → HEAD CIRCUM_GIRLS.zscore.weekly-3e9cfb72.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-24e0e9c2.js → HEAD CIRCUM_GIRLS.zscore.yearly-0aded699.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-8e204bae.js → HEIGHT_BOYS.percentile.monthly-cbbe8d47.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d88b125b.js → HEIGHT_BOYS.percentile.weekly-35141e0a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-74bd367f.js → HEIGHT_BOYS.percentile.yearly-059a8ed8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-adf502f5.js → HEIGHT_BOYS.zscore.monthly-a53e03de.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-62b47bf5.js → HEIGHT_BOYS.zscore.weekly-05413b03.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-fa4b1e69.js → HEIGHT_BOYS.zscore.yearly-5190af62.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-5aeb2079.js → HEIGHT_GIRLS.percentile.monthly-8082d499.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-d46b9c6a.js → HEIGHT_GIRLS.percentile.weekly-6690bc6a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-7d78896b.js → HEIGHT_GIRLS.percentile.yearly-70f0440c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c410851f.js → HEIGHT_GIRLS.zscore.monthly-6732e441.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-65114afd.js → HEIGHT_GIRLS.zscore.weekly-467e1281.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-812ba366.js → HEIGHT_GIRLS.zscore.yearly-41dcdf98.js} +0 -0
- /package/build/esm/{Locale-4fc39ae5.js → Locale-8642986b.js} +0 -0
- /package/build/esm/{Visible-e77e6e68.js → Visible-9c3d0229.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-d147db92.js → WEIGHT_BOYS.percentile.monthly-bc49e9bb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-68dfbfe3.js → WEIGHT_BOYS.percentile.weekly-e2035758.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-46f678a2.js → WEIGHT_BOYS.percentile.yearly-5f406592.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-462705c2.js → WEIGHT_BOYS.zscore.monthly-7da64f2d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-f18bbd44.js → WEIGHT_BOYS.zscore.weekly-ab86f9a1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-af7d70ac.js → WEIGHT_BOYS.zscore.yearly-1dd89258.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-09df8e9b.js → WEIGHT_GIRLS.percentile.monthly-dee645c2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-aa64b3fb.js → WEIGHT_GIRLS.percentile.weekly-4007469c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-95bf5f5a.js → WEIGHT_GIRLS.percentile.yearly-50f559dd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-d292c9e1.js → WEIGHT_GIRLS.zscore.monthly-fb49b9c1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-d6dfd25a.js → WEIGHT_GIRLS.zscore.weekly-8741a7b5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-74e3aff1.js → WEIGHT_GIRLS.zscore.yearly-1779db19.js} +0 -0
- /package/build/esm/{ageGenerate-cd03850a.js → ageGenerate-fe0ddc25.js} +0 -0
- /package/build/esm/{animation-fb97f7fd.js → animation-9572105a.js} +0 -0
- /package/build/esm/{constants-2eaeca1b.js → constants-0f23ba53.js} +0 -0
- /package/build/esm/{constants-5f08ea2c.js → constants-6a172da2.js} +0 -0
- /package/build/esm/{constants-d2593c92.js → constants-b6992554.js} +0 -0
- /package/build/esm/{context-84c9c116.js → context-d654d486.js} +0 -0
- /package/build/esm/{dataTransform-0231677f.js → dataTransform-1d10bcee.js} +0 -0
- /package/build/esm/{index-e5c5f27b.js → index-03b51ada.js} +0 -0
- /package/build/esm/{index-447fb8c9.js → index-1c7054cd.js} +0 -0
- /package/build/esm/{index-114fe04f.js → index-37006653.js} +0 -0
- /package/build/esm/{index-6574218e.js → index-76c327b1.js} +0 -0
- /package/build/esm/{index-d039195e.js → index-7dacc3d6.js} +0 -0
- /package/build/esm/{index-178628c9.js → index-a369d031.js} +0 -0
- /package/build/esm/{index-061965b8.js → index-a929871e.js} +0 -0
- /package/build/esm/{index-76c4102d.js → index-d1b40d4a.js} +0 -0
- /package/build/esm/{index-559d56cb.js → index-f8f31225.js} +0 -0
- /package/build/esm/{index.styles-3a0314b7.js → index.styles-2626bc68.js} +0 -0
- /package/build/esm/{localizeNumberFormat-d9b96f6b.js → localizeNumberFormat-4f285a9c.js} +0 -0
- /package/build/esm/{normalizeLink-7889f115.js → normalizeLink-676160f3.js} +0 -0
- /package/build/esm/{number-ff3cf1c2.js → number-9fb09e8d.js} +0 -0
- /package/build/esm/{paths-e192cf3b.js → paths-f32b0571.js} +0 -0
- /package/build/esm/{shared-dbc94490.js → shared-e6187636.js} +0 -0
- /package/build/esm/{translationsContext-3ba22159.js → translationsContext-b32dd0c2.js} +0 -0
- /package/build/esm/{tslib.es6-811208a0.js → tslib.es6-fc31148e.js} +0 -0
- /package/build/esm/{types-bd06d395.js → types-ab778448.js} +0 -0
- /package/build/esm/{types-507c7660.js → types-e32e0c69.js} +0 -0
- /package/build/esm/{useIsInit-0468a513.js → useIsInit-a79eb282.js} +0 -0
- /package/build/esm/{useOutsideClick-2c2a4c7e.js → useOutsideClick-e5a8c5a1.js} +0 -0
- /package/build/esm/{useScrollbarSize-8e8630e1.js → useScrollbarSize-92216537.js} +0 -0
- /package/build/esm/{useUniqueId-5971c8df.js → useUniqueId-39d8e979.js} +0 -0
- /package/build/esm/{utils-bcd8ff86.js → utils-3d651d34.js} +0 -0
- /package/build/esm/{utils-f94ac687.js → utils-614a493a.js} +0 -0
- /package/build/{index-876c6f45.js → index-1979af8a.js} +0 -0
- /package/build/{index-9bb16246.js → index-1b0ecf63.js} +0 -0
- /package/build/{index-74ec3190.js → index-435c0c04.js} +0 -0
- /package/build/{index-98c44be3.js → index-8b2c7bdc.js} +0 -0
- /package/build/{index-67efee0e.js → index-95109e05.js} +0 -0
- /package/build/{index-c936ea7d.js → index-a0df137e.js} +0 -0
- /package/build/{index-b78d926c.js → index-c200a2ed.js} +0 -0
- /package/build/{index-22f9771a.js → index-d9cd26f0.js} +0 -0
- /package/build/{index-ebe9ef8d.js → index-dbfb6960.js} +0 -0
- /package/build/{index.styles-dd1b559b.js → index.styles-9bc9873f.js} +0 -0
- /package/build/{localizeNumberFormat-eb965afb.js → localizeNumberFormat-7f3cabd7.js} +0 -0
- /package/build/{normalizeLink-83021266.js → normalizeLink-04d86416.js} +0 -0
- /package/build/{number-ab5ebf71.js → number-c4b0bf9a.js} +0 -0
- /package/build/{paths-64e2b53f.js → paths-864c7ea2.js} +0 -0
- /package/build/{shared-4418e2c5.js → shared-ca25ccfa.js} +0 -0
- /package/build/{translationsContext-bd7bc6a2.js → translationsContext-c1cfbf39.js} +0 -0
- /package/build/{tslib.es6-85491f19.js → tslib.es6-c7597004.js} +0 -0
- /package/build/{types-c5f1f2ac.js → types-622b104d.js} +0 -0
- /package/build/{types-e9bd356b.js → types-c265c7b2.js} +0 -0
- /package/build/{useIsInit-0e56ad6b.js → useIsInit-2c86cf8d.js} +0 -0
- /package/build/{useOutsideClick-dc446467.js → useOutsideClick-d44525f4.js} +0 -0
- /package/build/{useScrollbarSize-5bbe92d8.js → useScrollbarSize-5e262448.js} +0 -0
- /package/build/{useUniqueId-62bb7fd8.js → useUniqueId-e38e2fc4.js} +0 -0
- /package/build/{utils-ca303dc9.js → utils-026cf8b8.js} +0 -0
- /package/build/{utils-40f54d67.js → utils-7048e6ec.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-c7597004.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$
|
|
6
|
-
var index$3 = require('./index-
|
|
7
|
-
var normalizeLink = require('./normalizeLink-
|
|
8
|
-
var dataTransform = require('./dataTransform-
|
|
5
|
+
var index$b = require('./index-1a194279.js');
|
|
6
|
+
var index$3 = require('./index-d665bdfc.js');
|
|
7
|
+
var normalizeLink = require('./normalizeLink-04d86416.js');
|
|
8
|
+
var dataTransform = require('./dataTransform-103e8d12.js');
|
|
9
9
|
var core = require('@hhgtech/icons/core');
|
|
10
|
-
require('./translationsContext-
|
|
10
|
+
require('./translationsContext-c1cfbf39.js');
|
|
11
11
|
var styled = require('@emotion/styled');
|
|
12
|
-
var index = require('./index-
|
|
12
|
+
var index = require('./index-f30b1ecc.js');
|
|
13
13
|
var miscTheme = require('./miscTheme.js');
|
|
14
|
-
var navigationProfileButton = require('./index-
|
|
14
|
+
var navigationProfileButton = require('./index-e8eeb1bd.js');
|
|
15
15
|
var other = require('@hhgtech/icons/other');
|
|
16
16
|
var core$1 = require('@mantine/core');
|
|
17
|
-
var index$d = require('./index-
|
|
17
|
+
var index$d = require('./index-ecae0e01.js');
|
|
18
18
|
var throttle = require('lodash/throttle');
|
|
19
19
|
require('@mantine/dates');
|
|
20
|
-
var index$
|
|
21
|
-
var index$
|
|
22
|
-
require('./index-
|
|
23
|
-
var index$4 = require('./index-
|
|
24
|
-
var index$2 = require('./index-
|
|
25
|
-
require('./index-
|
|
26
|
-
require('./index.styles-
|
|
20
|
+
var index$9 = require('./index-1775bf2e.js');
|
|
21
|
+
var index$6 = require('./index-dbfb6960.js');
|
|
22
|
+
require('./index-bea5f83c.js');
|
|
23
|
+
var index$4 = require('./index-532cfe4d.js');
|
|
24
|
+
var index$2 = require('./index-ea8225c7.js');
|
|
25
|
+
require('./index-1979af8a.js');
|
|
26
|
+
require('./index.styles-9bc9873f.js');
|
|
27
27
|
require('@mantine/hooks');
|
|
28
|
-
var utils = require('./utils-
|
|
29
|
-
require('./index-
|
|
30
|
-
var constants = require('./constants-
|
|
31
|
-
var store = require('./store-
|
|
32
|
-
var
|
|
33
|
-
var index$1 = require('./index-
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var useIsInit = require('./useIsInit-0e56ad6b.js');
|
|
28
|
+
var utils = require('./utils-7048e6ec.js');
|
|
29
|
+
require('./index-528160c9.js');
|
|
30
|
+
var constants = require('./constants-19cb75a0.js');
|
|
31
|
+
var store = require('./store-7a36fbb1.js');
|
|
32
|
+
var index$5 = require('./index-d9648de2.js');
|
|
33
|
+
var index$1 = require('./index-132d1f06.js');
|
|
34
|
+
var useIsInit = require('./useIsInit-2c86cf8d.js');
|
|
35
|
+
var constants$1 = require('./constants-f8e7f557.js');
|
|
37
36
|
var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
|
|
38
|
-
var index$
|
|
37
|
+
var index$7 = require('./index-dc1a2b0d.js');
|
|
38
|
+
var index$8 = require('./index-ec052e28.js');
|
|
39
39
|
var formatString = require('string-format');
|
|
40
40
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
41
|
+
var index$a = require('./index-c200a2ed.js');
|
|
41
42
|
var dayjs = require('dayjs');
|
|
42
43
|
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
43
|
-
var index$
|
|
44
|
-
var
|
|
45
|
-
var Locale = require('./Locale-ce16c457.js');
|
|
44
|
+
var index$c = require('./index-f41deb5e.js');
|
|
45
|
+
var Locale = require('./Locale-efad4cbe.js');
|
|
46
46
|
var debounce = require('lodash/debounce');
|
|
47
|
-
var core$2 = require('./core-
|
|
47
|
+
var core$2 = require('./core-9ecd7074.js');
|
|
48
48
|
|
|
49
49
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
50
50
|
|
|
@@ -113,8 +113,8 @@ const StyleInput = styled__default["default"](index.Input) `
|
|
|
113
113
|
`;
|
|
114
114
|
|
|
115
115
|
const HHG_SEARCH_BACK_KEY = 'hhg_search_history';
|
|
116
|
-
const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, isRedirectSearchPage = false,
|
|
117
|
-
const { locale, siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
116
|
+
const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, isRedirectSearchPage = false, }) => {
|
|
117
|
+
const { locale, siteType, isWinCashBackTheme: winCashBackTheme, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
118
118
|
const [keyword, setKeyword] = React.useState('');
|
|
119
119
|
const [eventCategoryTracking, setEventCategoryTracking] = React.useState('Search From Another Page');
|
|
120
120
|
const { t } = index$1.useTranslations();
|
|
@@ -230,207 +230,10 @@ const DisplayWrapper = ({ forceDisplay, mediaQueryKey, children, className, styl
|
|
|
230
230
|
return (React__namespace["default"].createElement(StyledDisplayWrapper, { lowerBound: forceDisplay ? 0 : lowerBoundValue, upperBound: forceDisplay ? 0 : upperBoundValue, className: className, style: style }, children));
|
|
231
231
|
};
|
|
232
232
|
|
|
233
|
-
var styles$2 = {"
|
|
233
|
+
var styles$2 = {"menuIconWrapper":"wnUb-dV","menuButton":"cjbOxWe","itemNavButton":"-sx0jrx","scale":"EDlp5Zf"};
|
|
234
234
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
238
|
-
React__namespace["default"].createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: winCashBackTheme ? '#FFFFFF' : '#3E3F58', strokeWidth: "1.3", strokeLinecap: "round" }))));
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
function HamburgerIcon({ siteType, enableSearch, winCashBackTheme, className, style, }) {
|
|
242
|
-
if (siteType === 'helloSites') {
|
|
243
|
-
return (React__namespace["default"].createElement("div", { className: "hamburger-container" }, winCashBackTheme ? (React__namespace["default"].createElement(HamburgerWhite, { className: className })) : (React__namespace["default"].createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
|
|
244
|
-
? index$5.CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
|
|
245
|
-
: index$5.CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" }))));
|
|
246
|
-
}
|
|
247
|
-
/** Marry Baby */
|
|
248
|
-
return (React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
249
|
-
React__namespace["default"].createElement("path", { d: "M3.35 15a.65.65 0 0 1 .65-.65h10a.65.65 0 1 1 0 1.3H4a.65.65 0 0 1-.65-.65m0-6A.65.65 0 0 1 4 8.35h16a.65.65 0 1 1 0 1.3H4A.65.65 0 0 1 3.35 9", fill: "#3E3F58" })));
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
const StyledMasterMenuContainer = styled__default["default"].div `
|
|
253
|
-
position: fixed;
|
|
254
|
-
z-index: 201;
|
|
255
|
-
top: calc(100% - 1px);
|
|
256
|
-
width: 100%;
|
|
257
|
-
height: calc(100vh - var(--header-bottom));
|
|
258
|
-
overflow-x: hidden;
|
|
259
|
-
overflow-y: auto;
|
|
260
|
-
background: white;
|
|
261
|
-
display: flex;
|
|
262
|
-
flex-direction: column;
|
|
263
|
-
padding-bottom: 0;
|
|
264
|
-
left: 0;
|
|
265
|
-
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
266
|
-
position: unset;
|
|
267
|
-
}
|
|
268
|
-
`;
|
|
269
|
-
styled__default["default"].div `
|
|
270
|
-
padding: 16px;
|
|
271
|
-
padding-bottom: 12px;
|
|
272
|
-
.fake-search-input {
|
|
273
|
-
pointer-events: none;
|
|
274
|
-
input {
|
|
275
|
-
line-height: 20px;
|
|
276
|
-
padding-top: 10px;
|
|
277
|
-
padding-bottom: 10px;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
&[data-theme='marryBaby'] {
|
|
281
|
-
input {
|
|
282
|
-
background: ${miscTheme.theme.mbColors.lightGray};
|
|
283
|
-
border-radius: 16px;
|
|
284
|
-
border: none;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
`;
|
|
288
|
-
const StyledWrapper = styled__default["default"].div `
|
|
289
|
-
display: block;
|
|
290
|
-
overflow-y: auto;
|
|
291
|
-
flex: 1;
|
|
292
|
-
padding-bottom: 16px;
|
|
293
|
-
&::-webkit-scrollbar {
|
|
294
|
-
width: 0;
|
|
295
|
-
display: none;
|
|
296
|
-
}
|
|
297
|
-
`;
|
|
298
|
-
const StyleWrapperSearch = styled__default["default"].div `
|
|
299
|
-
padding: 0 16px;
|
|
300
|
-
`;
|
|
301
|
-
|
|
302
|
-
const Phone = (_a) => {
|
|
303
|
-
var { size = 24, color = miscTheme.theme.colors.neutral600 } = _a, rest = tslib_es6.__rest(_a, ["size", "color"]);
|
|
304
|
-
return (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
305
|
-
React__namespace["default"].createElement("path", { d: "M6.088 18.75q-.63 0-1.068-.437a1.45 1.45 0 0 1-.438-1.07V2.757q0-.63.438-1.068a1.45 1.45 0 0 1 1.068-.438h7.82q.633 0 1.07.438.437.437.437 1.068v14.488q0 .63-.437 1.069a1.45 1.45 0 0 1-1.07.437zm3.91-1.859a.7.7 0 0 0 .522-.216.7.7 0 0 0 .216-.521.7.7 0 0 0-.216-.522.7.7 0 0 0-.521-.215.7.7 0 0 0-.522.215.7.7 0 0 0-.215.522.7.7 0 0 0 .215.521.7.7 0 0 0 .522.216m-4.166-3.333h8.333V4.792H5.832z", fill: color })));
|
|
306
|
-
};
|
|
307
|
-
|
|
308
|
-
const StyledItemGridLeft = styled__default["default"].div `
|
|
309
|
-
padding-right: 1rem;
|
|
310
|
-
background: #ffffff;
|
|
311
|
-
padding: 5px 15px;
|
|
312
|
-
${utils.MediaQueries.mbUp} {
|
|
313
|
-
border-right: 1px solid #e4e8ec;
|
|
314
|
-
display: flex;
|
|
315
|
-
flex-direction: column;
|
|
316
|
-
justify-content: space-between;
|
|
317
|
-
}
|
|
318
|
-
`;
|
|
319
|
-
const StyledItem$6 = styled__default["default"].a `
|
|
320
|
-
padding: 10px 0;
|
|
321
|
-
position: relative;
|
|
322
|
-
|
|
323
|
-
display: flex;
|
|
324
|
-
align-items: center;
|
|
325
|
-
&[data-is-mobile-tool='true'] {
|
|
326
|
-
align-items: flex-start;
|
|
327
|
-
.name,
|
|
328
|
-
.phone-icon {
|
|
329
|
-
margin-top: 4px;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
text-decoration: none;
|
|
333
|
-
color: ${miscTheme.theme.colors.gray800};
|
|
334
|
-
* {
|
|
335
|
-
pointer-events: none;
|
|
336
|
-
}
|
|
337
|
-
.name {
|
|
338
|
-
font-size: 16px;
|
|
339
|
-
font-weight: 400;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
&[data-theme='marryBaby']:hover,
|
|
343
|
-
&[data-theme='marryBaby'][data-active='true'] {
|
|
344
|
-
p {
|
|
345
|
-
color: ${miscTheme.theme.mbColors.pink};
|
|
346
|
-
}
|
|
347
|
-
.icon {
|
|
348
|
-
background-color: ${miscTheme.theme.mbColors.lightPink};
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
&[data-theme='helloSites']:hover,
|
|
352
|
-
&[data-theme='helloSites'][data-active='true'] {
|
|
353
|
-
p {
|
|
354
|
-
color: ${miscTheme.theme.colors.primaryActive};
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
a {
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
&[data-theme='marryBaby'] {
|
|
361
|
-
.icon {
|
|
362
|
-
display: flex;
|
|
363
|
-
align-items: center;
|
|
364
|
-
justify-content: center;
|
|
365
|
-
max-width: 40px;
|
|
366
|
-
width: 100%;
|
|
367
|
-
height: 40px;
|
|
368
|
-
border-radius: 50%;
|
|
369
|
-
background-color: ${miscTheme.theme.mbColors.lightGray};
|
|
370
|
-
img {
|
|
371
|
-
border-radius: 50%;
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
`;
|
|
376
|
-
const StyledHeading$1 = styled__default["default"].div `
|
|
377
|
-
margin: 15px 0;
|
|
378
|
-
${utils.MediaQueries.mbDown} {
|
|
379
|
-
display: none;
|
|
380
|
-
}
|
|
381
|
-
`;
|
|
382
|
-
const StyledIconNav = styled__default["default"].div `
|
|
383
|
-
display: flex;
|
|
384
|
-
position: absolute;
|
|
385
|
-
right: 0;
|
|
386
|
-
${utils.MediaQueries.mbUp} {
|
|
387
|
-
&.arrow-icon {
|
|
388
|
-
display: none;
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
`;
|
|
392
|
-
const StyledItemAll = styled__default["default"].div `
|
|
393
|
-
display: flex;
|
|
394
|
-
align-items: center;
|
|
395
|
-
color: ${miscTheme.theme.colors.primaryBase};
|
|
396
|
-
font-size: ${miscTheme.theme.sizes.fsParagraph4};
|
|
397
|
-
font-weight: ${miscTheme.theme.sizes.fwBold};
|
|
398
|
-
line-height: 24px;
|
|
399
|
-
font-size: 14px;
|
|
400
|
-
font-weight: 600;
|
|
401
|
-
&[data-theme='marryBaby'] {
|
|
402
|
-
color: ${miscTheme.theme.mbColors.pink};
|
|
403
|
-
}
|
|
404
|
-
`;
|
|
405
|
-
const StyledImageWrapper = styled__default["default"].div `
|
|
406
|
-
display: flex;
|
|
407
|
-
align-items: center;
|
|
408
|
-
margin-left: 10px;
|
|
409
|
-
`;
|
|
410
|
-
const StyledViewMore$1 = styled__default["default"].a `
|
|
411
|
-
border: 1px solid ${miscTheme.theme.colors.primaryBase};
|
|
412
|
-
&[data-theme='marryBaby'] {
|
|
413
|
-
border: 1px solid ${miscTheme.theme.mbColors.pink};
|
|
414
|
-
|
|
415
|
-
svg path {
|
|
416
|
-
stroke: ${miscTheme.theme.mbColors.pink};
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
position: relative;
|
|
420
|
-
display: flex;
|
|
421
|
-
align-items: center;
|
|
422
|
-
justify-content: center;
|
|
423
|
-
padding: 6px;
|
|
424
|
-
border-radius: 5px;
|
|
425
|
-
margin-top: 20px;
|
|
426
|
-
${utils.MediaQueries.mbDown} {
|
|
427
|
-
display: none;
|
|
428
|
-
}
|
|
429
|
-
`;
|
|
430
|
-
|
|
431
|
-
var styles$1 = {"menuIconWrapper":"wnUb-dV","menuButton":"cjbOxWe","itemNavButton":"-sx0jrx","scale":"EDlp5Zf"};
|
|
432
|
-
|
|
433
|
-
const ItemMenu = ({ item, menu, winCashBackTheme }) => {
|
|
235
|
+
const ItemMenu = ({ item, menu }) => {
|
|
236
|
+
const { isWinCashBackTheme: winCashBackTheme } = React.useContext(navigationProfileButton.NavigationContext);
|
|
434
237
|
const { containerRef, onButtonMouseDown, onClose } = navigationProfileButton.useCSSFocusPopupHelper({
|
|
435
238
|
allowBgScroll: true,
|
|
436
239
|
});
|
|
@@ -438,11 +241,11 @@ const ItemMenu = ({ item, menu, winCashBackTheme }) => {
|
|
|
438
241
|
if (!item.popupType && item.link) {
|
|
439
242
|
return (React__namespace["default"].createElement(NewWrapper, { isNew: item.isNew },
|
|
440
243
|
React__namespace["default"].createElement("a", { className: `hhgcomp-navigation-itemnav-headeritem ${!isInit ? `menu-handler-${item.id}` : ''}`, tabIndex: 0, href: item.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link },
|
|
441
|
-
React__namespace["default"].createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, className: styles$
|
|
244
|
+
React__namespace["default"].createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, className: styles$2.menuButton }, item.name))));
|
|
442
245
|
}
|
|
443
246
|
return (React__namespace["default"].createElement(NewWrapper, { isNew: item.isNew },
|
|
444
247
|
React__namespace["default"].createElement("div", { ref: containerRef, className: `hhgcomp-navigation-itemnav-headeritem ${!isInit ? `menu-handler-${item.id}` : ''}`, tabIndex: 0, key: item.id, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, style: { borderBottom: winCashBackTheme ? 'none' : undefined } },
|
|
445
|
-
React__namespace["default"].createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, onMouseDown: onButtonMouseDown, className: styles$
|
|
248
|
+
React__namespace["default"].createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, onMouseDown: onButtonMouseDown, className: styles$2.menuButton, style: { color: winCashBackTheme ? 'white' : undefined } },
|
|
446
249
|
item.name,
|
|
447
250
|
item.popupType && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null, (item === null || item === void 0 ? void 0 : item.icon) ? (React__namespace["default"].createElement("div", { className: "wrapper-menu-icon" },
|
|
448
251
|
React__namespace["default"].createElement("div", { className: "origin-icon", style: {
|
|
@@ -451,7 +254,7 @@ const ItemMenu = ({ item, menu, winCashBackTheme }) => {
|
|
|
451
254
|
: undefined,
|
|
452
255
|
} }, item.icon),
|
|
453
256
|
React__namespace["default"].createElement("div", { className: "close-icon", onClick: onClose },
|
|
454
|
-
React__namespace["default"].createElement(core.Close, { size: 16, color: winCashBackTheme ? 'white' : undefined })))) : (React__namespace["default"].createElement("div", { className: styles$
|
|
257
|
+
React__namespace["default"].createElement(core.Close, { size: 16, color: winCashBackTheme ? 'white' : undefined })))) : (React__namespace["default"].createElement("div", { className: styles$2.menuIconWrapper },
|
|
455
258
|
React__namespace["default"].createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
|
|
456
259
|
React__namespace["default"].createElement("path", { d: "M11.5 7.5L9 10L6.5 7.5", stroke: winCashBackTheme ? 'white' : '#202135', strokeWidth: "1.33", strokeLinecap: "round", strokeLinejoin: "round" }))))))),
|
|
457
260
|
React__namespace["default"].isValidElement(menu)
|
|
@@ -463,7 +266,7 @@ const ItemMenu = ({ item, menu, winCashBackTheme }) => {
|
|
|
463
266
|
const NewWrapper = ({ isNew, children, }) => {
|
|
464
267
|
const { t } = index$1.useTranslations();
|
|
465
268
|
if (isNew) {
|
|
466
|
-
return (React__namespace["default"].createElement(index$
|
|
269
|
+
return (React__namespace["default"].createElement(index$5.Indicator, { color: "green", label: t('home.navigator.menuItem.new'), size: 20, styles: {
|
|
467
270
|
root: {
|
|
468
271
|
paddingRight: 10,
|
|
469
272
|
},
|
|
@@ -472,52 +275,6 @@ const NewWrapper = ({ isNew, children, }) => {
|
|
|
472
275
|
return React__namespace["default"].createElement(React__namespace["default"].Fragment, null, children);
|
|
473
276
|
};
|
|
474
277
|
|
|
475
|
-
const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuItems, headingTitle, activeItem, }) => {
|
|
476
|
-
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
477
|
-
const { t } = index$1.useTranslations();
|
|
478
|
-
const theme = core$1.useMantineTheme();
|
|
479
|
-
return (React__namespace["default"].createElement(StyledItemGridLeft, null,
|
|
480
|
-
React__namespace["default"].createElement("div", null,
|
|
481
|
-
React__namespace["default"].createElement(StyledHeading$1, null,
|
|
482
|
-
React__namespace["default"].createElement(index$7.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
|
|
483
|
-
menuItems.slice(0, 6).map((item, index) => {
|
|
484
|
-
const href = (item === null || item === void 0 ? void 0 : item.link)
|
|
485
|
-
? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
|
|
486
|
-
? item === null || item === void 0 ? void 0 : item.link
|
|
487
|
-
: `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
|
|
488
|
-
: '/';
|
|
489
|
-
return (React__namespace["default"].createElement(StyledItem$6, Object.assign({ className: core$1.clsx('iconMenu', `itemMenu-${item.id}`), "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": href, "data-is-heading-category": false, "data-active": item.id && item.id === activeItem, "data-is-mobile-tool": item.isMobileAppTool, href: href }, (!index$8.isInternalLink(href) && {
|
|
490
|
-
target: '_blank',
|
|
491
|
-
}), { "data-theme": siteType, key: index, onClick: onClosePopup }),
|
|
492
|
-
React__namespace["default"].createElement("div", { className: "icon" },
|
|
493
|
-
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
|
|
494
|
-
width: 32,
|
|
495
|
-
height: 32,
|
|
496
|
-
maxWidth: 32,
|
|
497
|
-
maxHeight: 32,
|
|
498
|
-
overflow: 'hidden',
|
|
499
|
-
} })),
|
|
500
|
-
React__namespace["default"].createElement(NewWrapper, { isNew: item.isNew },
|
|
501
|
-
React__namespace["default"].createElement("div", { style: {
|
|
502
|
-
padding: '0 0.4rem',
|
|
503
|
-
paddingRight: item.isNew ? 10 : 0,
|
|
504
|
-
} },
|
|
505
|
-
React__namespace["default"].createElement("p", { className: "name" }, item.name),
|
|
506
|
-
item.isMobileAppTool && (React__namespace["default"].createElement(index$4.Text, { size: "n1", color: theme.fn.primaryColor(), weight: "regular" }, t('home.calcWithApp'))))),
|
|
507
|
-
item.isMobileAppTool && (React__namespace["default"].createElement(StyledIconNav, null,
|
|
508
|
-
React__namespace["default"].createElement(Phone, { className: "phone-icon", size: 16 }))),
|
|
509
|
-
React__namespace["default"].createElement(StyledIconNav, { className: "arrow-icon" },
|
|
510
|
-
React__namespace["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
|
|
511
|
-
})),
|
|
512
|
-
titleBtnViewMore && (React__namespace["default"].createElement(StyledViewMore$1, { "data-theme": siteType, style: { textDecoration: 'none' }, href: hrefViewMore, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": hrefViewMore },
|
|
513
|
-
React__namespace["default"].createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
|
|
514
|
-
titleBtnViewMore,
|
|
515
|
-
React__namespace["default"].createElement(StyledImageWrapper, null,
|
|
516
|
-
React__namespace["default"].createElement("img", { className: "svg", src: siteType === 'marryBaby'
|
|
517
|
-
? index$5.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
518
|
-
: index$5.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
|
|
519
|
-
};
|
|
520
|
-
|
|
521
278
|
const StyledContainerItems$5 = styled__default["default"].div `
|
|
522
279
|
display: grid;
|
|
523
280
|
|
|
@@ -615,7 +372,7 @@ const StyledContentWrapper$2 = miscDefaultClassWrapper.setDefaultClass(styled__d
|
|
|
615
372
|
gap: 4px;
|
|
616
373
|
}
|
|
617
374
|
`, 'hhgcomp-navigation-menucareitem-contentwrapper');
|
|
618
|
-
const StyledItem$
|
|
375
|
+
const StyledItem$6 = styled__default["default"].a `
|
|
619
376
|
text-decoration: none;
|
|
620
377
|
border-radius: 4px;
|
|
621
378
|
background: ${miscTheme.theme.colors.white};
|
|
@@ -686,8 +443,8 @@ const Item$4 = ({ item, index = 0 }) => {
|
|
|
686
443
|
if (!item)
|
|
687
444
|
return null;
|
|
688
445
|
const href = `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.HOSPITAL}/${item.slug}-${item.id}`;
|
|
689
|
-
return (React__namespace["default"].createElement(StyledItem$
|
|
690
|
-
React__namespace["default"].createElement("img", { src: index$
|
|
446
|
+
return (React__namespace["default"].createElement(StyledItem$6, { key: item.id, href: href, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": href },
|
|
447
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('navCareCardBg.svg'), alt: "", className: "bg-svg", loading: "lazy" }),
|
|
691
448
|
React__namespace["default"].createElement(StyledImageCard$3, null,
|
|
692
449
|
React__namespace["default"].createElement(StyledImageCardInner, null,
|
|
693
450
|
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.logo || '/images/avatar.jpg' }))),
|
|
@@ -696,7 +453,7 @@ const Item$4 = ({ item, index = 0 }) => {
|
|
|
696
453
|
React__namespace["default"].createElement(StyledDes$2, null, item.description),
|
|
697
454
|
React__namespace["default"].createElement(StyledBtnView$2, null,
|
|
698
455
|
t('home.seeMore'),
|
|
699
|
-
React__namespace["default"].createElement("img", { src: index$
|
|
456
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
700
457
|
width: '16px',
|
|
701
458
|
height: '16px',
|
|
702
459
|
marginTop: '3px',
|
|
@@ -775,15 +532,15 @@ const SpotlightNoData = ({ title, link, description, cta, icon }) => {
|
|
|
775
532
|
return (React__namespace["default"].createElement(StyledContainerNoPosts, { "data-theme": siteType },
|
|
776
533
|
React__namespace["default"].createElement(StyledLeft, null,
|
|
777
534
|
React__namespace["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
778
|
-
? index$
|
|
779
|
-
: index$
|
|
535
|
+
? index$6.CommonGAssets.getAssetPath('navMBSpotlightBgNoData.svg')
|
|
536
|
+
: index$6.CommonGAssets.getAssetPath('navSpotlightBgNoData.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
780
537
|
React__namespace["default"].createElement(StyledContentLeft, null, icon && React__namespace["default"].createElement("img", { src: icon, width: 64, height: 64, loading: "lazy" }))),
|
|
781
538
|
React__namespace["default"].createElement("div", null,
|
|
782
539
|
title && React__namespace["default"].createElement(StyledTitle$4, null, title),
|
|
783
540
|
description && React__namespace["default"].createElement(StyledDescription, null, description),
|
|
784
541
|
cta && (React__namespace["default"].createElement("div", null,
|
|
785
542
|
React__namespace["default"].createElement("a", { href: link },
|
|
786
|
-
React__namespace["default"].createElement(index$
|
|
543
|
+
React__namespace["default"].createElement(index$7.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, cta)))))));
|
|
787
544
|
};
|
|
788
545
|
|
|
789
546
|
const StyledItemGridRight = styled__default["default"].div `
|
|
@@ -803,11 +560,11 @@ const StyledItemGridRight = styled__default["default"].div `
|
|
|
803
560
|
}
|
|
804
561
|
}
|
|
805
562
|
`;
|
|
806
|
-
const StyledHeading = styled__default["default"].div `
|
|
563
|
+
const StyledHeading$1 = styled__default["default"].div `
|
|
807
564
|
margin: 15px 0;
|
|
808
565
|
display: flex;
|
|
809
566
|
`;
|
|
810
|
-
const StyledViewMore = styled__default["default"].a `
|
|
567
|
+
const StyledViewMore$1 = styled__default["default"].a `
|
|
811
568
|
padding-left: 10px;
|
|
812
569
|
display: flex;
|
|
813
570
|
align-items: center;
|
|
@@ -829,13 +586,13 @@ const StyledViewMore = styled__default["default"].a `
|
|
|
829
586
|
const Spotlights = ({ title, viewMore, children, link, dataEventAction = '', }) => {
|
|
830
587
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
831
588
|
return (React__namespace["default"].createElement(StyledItemGridRight, null,
|
|
832
|
-
React__namespace["default"].createElement(StyledHeading, null,
|
|
833
|
-
React__namespace["default"].createElement(index$
|
|
834
|
-
viewMore && (React__namespace["default"].createElement(StyledViewMore, { "data-event-category": "Hamburger Navigation", "data-event-action": dataEventAction, "data-event-label": link, href: link, "data-theme": siteType },
|
|
589
|
+
React__namespace["default"].createElement(StyledHeading$1, null,
|
|
590
|
+
React__namespace["default"].createElement(index$8.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, title),
|
|
591
|
+
viewMore && (React__namespace["default"].createElement(StyledViewMore$1, { "data-event-category": "Hamburger Navigation", "data-event-action": dataEventAction, "data-event-label": link, href: link, "data-theme": siteType },
|
|
835
592
|
viewMore,
|
|
836
593
|
React__namespace["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
837
|
-
? index$
|
|
838
|
-
: index$
|
|
594
|
+
? index$6.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
595
|
+
: index$6.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))),
|
|
839
596
|
children));
|
|
840
597
|
};
|
|
841
598
|
|
|
@@ -850,20 +607,9 @@ const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
|
850
607
|
right: '1rem',
|
|
851
608
|
} },
|
|
852
609
|
React__namespace["default"].createElement("a", { href: hrefViewMore },
|
|
853
|
-
React__namespace["default"].createElement(index$
|
|
610
|
+
React__namespace["default"].createElement(index$7.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, t('home.navigator.menu.care.homeButton')))))) : (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.care.noDatas.title'), description: t('home.navigator.menu.care.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.care.homeButton'), icon: index$6.CommonGAssets.getAssetPath('community.svg') }))));
|
|
854
611
|
};
|
|
855
612
|
|
|
856
|
-
const StyledContainerItems$4 = styled__default["default"].div `
|
|
857
|
-
display: grid;
|
|
858
|
-
|
|
859
|
-
grid-template-columns: repeat(4, 1fr);
|
|
860
|
-
gap: 24px;
|
|
861
|
-
${utils.MediaQueries.tdDown} {
|
|
862
|
-
gap: 12px;
|
|
863
|
-
grid-template-columns: 1fr;
|
|
864
|
-
}
|
|
865
|
-
`;
|
|
866
|
-
|
|
867
613
|
const TOGETHER_PATHS = {
|
|
868
614
|
COMMUNITIES: 'community?website_url={websiteUrl}',
|
|
869
615
|
MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
|
|
@@ -1044,7 +790,7 @@ const formatVideoItem = (data) => {
|
|
|
1044
790
|
videoId: data.video_id || '',
|
|
1045
791
|
url: data.video_url || '',
|
|
1046
792
|
title: data.video_title || '',
|
|
1047
|
-
type: data.type || index$
|
|
793
|
+
type: data.type || index$9.VideoType.VIDEO,
|
|
1048
794
|
totalView: data.total_view || 0,
|
|
1049
795
|
description: data.description || '',
|
|
1050
796
|
createTime: data.create_time || '',
|
|
@@ -1103,16 +849,239 @@ function hsbToRgb(h, s, b) {
|
|
|
1103
849
|
return [255 * f(5), 255 * f(3), 255 * f(1)];
|
|
1104
850
|
}
|
|
1105
851
|
|
|
1106
|
-
|
|
1107
|
-
position: relative;
|
|
1108
|
-
width: 100%;
|
|
1109
|
-
display: flex;
|
|
1110
|
-
align-items: center;
|
|
1111
|
-
text-decoration: none;
|
|
852
|
+
var styles$1 = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
|
|
1112
853
|
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
854
|
+
const BtnClosePopup = ({ onClosePopup }) => {
|
|
855
|
+
return (React__namespace["default"].createElement("div", { className: `${styles$1.closeWrapper} close-btn`, onClick: onClosePopup },
|
|
856
|
+
React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
857
|
+
React__namespace["default"].createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
const PopupWrapper = ({ onClosePopup, isDisplay, children, isNavMenu, hideCloseBtn, stylesContainer, }) => {
|
|
861
|
+
return (React__namespace["default"].createElement("div", { className: "hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools", "data-is-display": !!isDisplay, "data-is-nav-menu": !!isNavMenu },
|
|
862
|
+
React__namespace["default"].createElement(index$a.Container, { className: "hhgcomp-navigation-popupwrapper-menuwrapper-child" },
|
|
863
|
+
!hideCloseBtn && (React__namespace["default"].createElement("div", { className: styles$1.container },
|
|
864
|
+
React__namespace["default"].createElement(BtnClosePopup, { onClosePopup: onClosePopup }))),
|
|
865
|
+
React__namespace["default"].createElement(index$a.Container, { className: styles$1.gridContainer, style: stylesContainer }, children))));
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
const Phone = (_a) => {
|
|
869
|
+
var { size = 24, color = miscTheme.theme.colors.neutral600 } = _a, rest = tslib_es6.__rest(_a, ["size", "color"]);
|
|
870
|
+
return (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
871
|
+
React__namespace["default"].createElement("path", { d: "M6.088 18.75q-.63 0-1.068-.437a1.45 1.45 0 0 1-.438-1.07V2.757q0-.63.438-1.068a1.45 1.45 0 0 1 1.068-.438h7.82q.633 0 1.07.438.437.437.437 1.068v14.488q0 .63-.437 1.069a1.45 1.45 0 0 1-1.07.437zm3.91-1.859a.7.7 0 0 0 .522-.216.7.7 0 0 0 .216-.521.7.7 0 0 0-.216-.522.7.7 0 0 0-.521-.215.7.7 0 0 0-.522.215.7.7 0 0 0-.215.522.7.7 0 0 0 .215.521.7.7 0 0 0 .522.216m-4.166-3.333h8.333V4.792H5.832z", fill: color })));
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
const StyledItemGridLeft = styled__default["default"].div `
|
|
875
|
+
padding-right: 1rem;
|
|
876
|
+
background: #ffffff;
|
|
877
|
+
padding: 5px 15px;
|
|
878
|
+
${utils.MediaQueries.mbUp} {
|
|
879
|
+
border-right: 1px solid #e4e8ec;
|
|
880
|
+
display: flex;
|
|
881
|
+
flex-direction: column;
|
|
882
|
+
justify-content: space-between;
|
|
883
|
+
}
|
|
884
|
+
`;
|
|
885
|
+
const StyledItem$5 = styled__default["default"].a `
|
|
886
|
+
padding: 10px 0;
|
|
887
|
+
position: relative;
|
|
888
|
+
|
|
889
|
+
display: flex;
|
|
890
|
+
align-items: center;
|
|
891
|
+
&[data-is-mobile-tool='true'] {
|
|
892
|
+
align-items: flex-start;
|
|
893
|
+
.name,
|
|
894
|
+
.phone-icon {
|
|
895
|
+
margin-top: 4px;
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
text-decoration: none;
|
|
899
|
+
color: ${miscTheme.theme.colors.gray800};
|
|
900
|
+
* {
|
|
901
|
+
pointer-events: none;
|
|
902
|
+
}
|
|
903
|
+
.name {
|
|
904
|
+
font-size: 16px;
|
|
905
|
+
font-weight: 400;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
&[data-theme='marryBaby']:hover,
|
|
909
|
+
&[data-theme='marryBaby'][data-active='true'] {
|
|
910
|
+
p {
|
|
911
|
+
color: ${miscTheme.theme.mbColors.pink};
|
|
912
|
+
}
|
|
913
|
+
.icon {
|
|
914
|
+
background-color: ${miscTheme.theme.mbColors.lightPink};
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
&[data-theme='helloSites']:hover,
|
|
918
|
+
&[data-theme='helloSites'][data-active='true'] {
|
|
919
|
+
p {
|
|
920
|
+
color: ${miscTheme.theme.colors.primaryActive};
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
a {
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
&[data-theme='marryBaby'] {
|
|
927
|
+
.icon {
|
|
928
|
+
display: flex;
|
|
929
|
+
align-items: center;
|
|
930
|
+
justify-content: center;
|
|
931
|
+
max-width: 40px;
|
|
932
|
+
width: 100%;
|
|
933
|
+
height: 40px;
|
|
934
|
+
border-radius: 50%;
|
|
935
|
+
background-color: ${miscTheme.theme.mbColors.lightGray};
|
|
936
|
+
img {
|
|
937
|
+
border-radius: 50%;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
`;
|
|
942
|
+
const StyledHeading = styled__default["default"].div `
|
|
943
|
+
margin: 15px 0;
|
|
944
|
+
${utils.MediaQueries.mbDown} {
|
|
945
|
+
display: none;
|
|
946
|
+
}
|
|
947
|
+
`;
|
|
948
|
+
const StyledIconNav = styled__default["default"].div `
|
|
949
|
+
display: flex;
|
|
950
|
+
position: absolute;
|
|
951
|
+
right: 0;
|
|
952
|
+
${utils.MediaQueries.mbUp} {
|
|
953
|
+
&.arrow-icon {
|
|
954
|
+
display: none;
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
`;
|
|
958
|
+
const StyledItemAll = styled__default["default"].div `
|
|
959
|
+
display: flex;
|
|
960
|
+
align-items: center;
|
|
961
|
+
color: ${miscTheme.theme.colors.primaryBase};
|
|
962
|
+
font-size: ${miscTheme.theme.sizes.fsParagraph4};
|
|
963
|
+
font-weight: ${miscTheme.theme.sizes.fwBold};
|
|
964
|
+
line-height: 24px;
|
|
965
|
+
font-size: 14px;
|
|
966
|
+
font-weight: 600;
|
|
967
|
+
&[data-theme='marryBaby'] {
|
|
968
|
+
color: ${miscTheme.theme.mbColors.pink};
|
|
969
|
+
}
|
|
970
|
+
`;
|
|
971
|
+
const StyledImageWrapper = styled__default["default"].div `
|
|
972
|
+
display: flex;
|
|
973
|
+
align-items: center;
|
|
974
|
+
margin-left: 10px;
|
|
975
|
+
`;
|
|
976
|
+
const StyledViewMore = styled__default["default"].a `
|
|
977
|
+
border: 1px solid ${miscTheme.theme.colors.primaryBase};
|
|
978
|
+
&[data-theme='marryBaby'] {
|
|
979
|
+
border: 1px solid ${miscTheme.theme.mbColors.pink};
|
|
980
|
+
|
|
981
|
+
svg path {
|
|
982
|
+
stroke: ${miscTheme.theme.mbColors.pink};
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
position: relative;
|
|
986
|
+
display: flex;
|
|
987
|
+
align-items: center;
|
|
988
|
+
justify-content: center;
|
|
989
|
+
padding: 6px;
|
|
990
|
+
border-radius: 5px;
|
|
991
|
+
margin-top: 20px;
|
|
992
|
+
${utils.MediaQueries.mbDown} {
|
|
993
|
+
display: none;
|
|
994
|
+
}
|
|
995
|
+
`;
|
|
996
|
+
|
|
997
|
+
const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuItems, headingTitle, activeItem, }) => {
|
|
998
|
+
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
999
|
+
const { t } = index$1.useTranslations();
|
|
1000
|
+
const theme = core$1.useMantineTheme();
|
|
1001
|
+
return (React__namespace["default"].createElement(StyledItemGridLeft, null,
|
|
1002
|
+
React__namespace["default"].createElement("div", null,
|
|
1003
|
+
React__namespace["default"].createElement(StyledHeading, null,
|
|
1004
|
+
React__namespace["default"].createElement(index$8.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
|
|
1005
|
+
menuItems.slice(0, 6).map((item, index) => {
|
|
1006
|
+
const href = (item === null || item === void 0 ? void 0 : item.link)
|
|
1007
|
+
? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
|
|
1008
|
+
? item === null || item === void 0 ? void 0 : item.link
|
|
1009
|
+
: `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
|
|
1010
|
+
: '/';
|
|
1011
|
+
return (React__namespace["default"].createElement(StyledItem$5, Object.assign({ className: core$1.clsx('iconMenu', `itemMenu-${item.id}`), "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": href, "data-is-heading-category": false, "data-active": item.id && item.id === activeItem, "data-is-mobile-tool": item.isMobileAppTool, href: href }, (!index$b.isInternalLink(href) && {
|
|
1012
|
+
target: '_blank',
|
|
1013
|
+
}), { "data-theme": siteType, key: index, onClick: onClosePopup }),
|
|
1014
|
+
React__namespace["default"].createElement("div", { className: "icon" },
|
|
1015
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
|
|
1016
|
+
width: 32,
|
|
1017
|
+
height: 32,
|
|
1018
|
+
maxWidth: 32,
|
|
1019
|
+
maxHeight: 32,
|
|
1020
|
+
overflow: 'hidden',
|
|
1021
|
+
} })),
|
|
1022
|
+
React__namespace["default"].createElement(NewWrapper, { isNew: item.isNew },
|
|
1023
|
+
React__namespace["default"].createElement("div", { style: {
|
|
1024
|
+
padding: '0 0.4rem',
|
|
1025
|
+
paddingRight: item.isNew ? 10 : 0,
|
|
1026
|
+
} },
|
|
1027
|
+
React__namespace["default"].createElement("p", { className: "name" }, item.name),
|
|
1028
|
+
item.isMobileAppTool && (React__namespace["default"].createElement(index$4.Text, { size: "n1", color: theme.fn.primaryColor(), weight: "regular" }, t('home.calcWithApp'))))),
|
|
1029
|
+
item.isMobileAppTool && (React__namespace["default"].createElement(StyledIconNav, null,
|
|
1030
|
+
React__namespace["default"].createElement(Phone, { className: "phone-icon", size: 16 }))),
|
|
1031
|
+
React__namespace["default"].createElement(StyledIconNav, { className: "arrow-icon" },
|
|
1032
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
|
|
1033
|
+
})),
|
|
1034
|
+
titleBtnViewMore && (React__namespace["default"].createElement(StyledViewMore, { "data-theme": siteType, style: { textDecoration: 'none' }, href: hrefViewMore, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": hrefViewMore },
|
|
1035
|
+
React__namespace["default"].createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
|
|
1036
|
+
titleBtnViewMore,
|
|
1037
|
+
React__namespace["default"].createElement(StyledImageWrapper, null,
|
|
1038
|
+
React__namespace["default"].createElement("img", { className: "svg", src: siteType === 'marryBaby'
|
|
1039
|
+
? index$6.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
1040
|
+
: index$6.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
|
|
1041
|
+
};
|
|
1042
|
+
|
|
1043
|
+
const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
|
|
1044
|
+
var _a;
|
|
1045
|
+
const { t } = index$1.useTranslations();
|
|
1046
|
+
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1047
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1048
|
+
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) => {
|
|
1049
|
+
if (!specialty)
|
|
1050
|
+
return {};
|
|
1051
|
+
return {
|
|
1052
|
+
name: String(specialty.name) || '',
|
|
1053
|
+
link: getCareSearchUrl({
|
|
1054
|
+
type: 'DOCTOR',
|
|
1055
|
+
specialtySlug: specialty.slug,
|
|
1056
|
+
locale,
|
|
1057
|
+
}),
|
|
1058
|
+
thumbnail: (specialty === null || specialty === void 0 ? void 0 : specialty.thumbnail) || '',
|
|
1059
|
+
};
|
|
1060
|
+
})) || [] }),
|
|
1061
|
+
React__namespace["default"].createElement(CareSpotlights, { spotlights: spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.SPECIALTIES}/` })));
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
const StyledContainerItems$4 = styled__default["default"].div `
|
|
1065
|
+
display: grid;
|
|
1066
|
+
|
|
1067
|
+
grid-template-columns: repeat(4, 1fr);
|
|
1068
|
+
gap: 24px;
|
|
1069
|
+
${utils.MediaQueries.tdDown} {
|
|
1070
|
+
gap: 12px;
|
|
1071
|
+
grid-template-columns: 1fr;
|
|
1072
|
+
}
|
|
1073
|
+
`;
|
|
1074
|
+
|
|
1075
|
+
const StyledItem$4 = styled__default["default"].a `
|
|
1076
|
+
position: relative;
|
|
1077
|
+
width: 100%;
|
|
1078
|
+
display: flex;
|
|
1079
|
+
align-items: center;
|
|
1080
|
+
text-decoration: none;
|
|
1081
|
+
|
|
1082
|
+
* {
|
|
1083
|
+
pointer-events: none;
|
|
1084
|
+
}
|
|
1116
1085
|
`;
|
|
1117
1086
|
const StyledImageCard$2 = styled__default["default"].div `
|
|
1118
1087
|
border-radius: 5px;
|
|
@@ -1229,7 +1198,23 @@ const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
|
1229
1198
|
title: spotlight.name,
|
|
1230
1199
|
banner: spotlight.image,
|
|
1231
1200
|
buttonDisplay: spotlight.buttonDisplay,
|
|
1232
|
-
} }))))) : (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$
|
|
1201
|
+
} }))))) : (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$6.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1202
|
+
};
|
|
1203
|
+
|
|
1204
|
+
const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isOpen, }) => {
|
|
1205
|
+
const { t } = index$1.useTranslations();
|
|
1206
|
+
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1207
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1208
|
+
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) => {
|
|
1209
|
+
if (!cat)
|
|
1210
|
+
return {};
|
|
1211
|
+
return {
|
|
1212
|
+
name: cat.displayName || null,
|
|
1213
|
+
link: (cat === null || cat === void 0 ? void 0 : cat.customizedUrl) || (cat === null || cat === void 0 ? void 0 : cat.permalink) || '/',
|
|
1214
|
+
thumbnail: cat.iconUrl || null,
|
|
1215
|
+
};
|
|
1216
|
+
})) || [], headingTitle: t('home.navigator.menuItem.healthCategories') }),
|
|
1217
|
+
React__namespace["default"].createElement(CategorySpotlights, { spotlightsList: spotlightsList, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })));
|
|
1233
1218
|
};
|
|
1234
1219
|
|
|
1235
1220
|
const StyledContainerItems$3 = styled__default["default"].div `
|
|
@@ -1367,7 +1352,7 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
1367
1352
|
return (React__namespace["default"].createElement(StyledItem$3, { href: postUrl, "data-event-category": "Hamburger Navigation", "data-event-action": `Together Click ${index + 1}`, "data-event-label": postUrl },
|
|
1368
1353
|
React__namespace["default"].createElement(StyledContent$1, null,
|
|
1369
1354
|
React__namespace["default"].createElement(StyledInfoUser, null,
|
|
1370
|
-
React__namespace["default"].createElement(index$
|
|
1355
|
+
React__namespace["default"].createElement(index$c.UserAvatar, { avatar: (_b = post.author) === null || _b === void 0 ? void 0 : _b.avatar, username: ((_c = post.author) === null || _c === void 0 ? void 0 : _c.name) || ((_d = post.author) === null || _d === void 0 ? void 0 : _d.username) }),
|
|
1371
1356
|
React__namespace["default"].createElement(StyledWrapInfo, null,
|
|
1372
1357
|
React__namespace["default"].createElement(StyledName, { "data-theme": siteType }, (_e = post.author) === null || _e === void 0 ? void 0 : _e.name),
|
|
1373
1358
|
React__namespace["default"].createElement(StyledInfo, null,
|
|
@@ -1384,7 +1369,23 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
1384
1369
|
const CommunitySpotlights = ({ spotlights = [] }) => {
|
|
1385
1370
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1386
1371
|
const { t } = index$1.useTranslations();
|
|
1387
|
-
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$
|
|
1372
|
+
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') }))));
|
|
1373
|
+
};
|
|
1374
|
+
|
|
1375
|
+
const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [], }) => {
|
|
1376
|
+
const { t } = index$1.useTranslations();
|
|
1377
|
+
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1378
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1379
|
+
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) => {
|
|
1380
|
+
if (!community)
|
|
1381
|
+
return {};
|
|
1382
|
+
return {
|
|
1383
|
+
name: community.name || '',
|
|
1384
|
+
link: community.slug || '/',
|
|
1385
|
+
thumbnail: community.thumbnail || '',
|
|
1386
|
+
};
|
|
1387
|
+
})) || [], headingTitle: t('home.navigator.menuItem.allCommunitiesheadingTitle') }),
|
|
1388
|
+
React__namespace["default"].createElement(CommunitySpotlights, { spotlights: spotlights })));
|
|
1388
1389
|
};
|
|
1389
1390
|
|
|
1390
1391
|
const StyledContainerItems$2 = styled__default["default"].div `
|
|
@@ -1392,60 +1393,9 @@ const StyledContainerItems$2 = styled__default["default"].div `
|
|
|
1392
1393
|
|
|
1393
1394
|
grid-template-columns: repeat(3, 1fr);
|
|
1394
1395
|
gap: 24px;
|
|
1395
|
-
margin-bottom: 3.5rem;
|
|
1396
1396
|
${utils.MediaQueries.tdDown} {
|
|
1397
|
-
grid-template-columns:
|
|
1398
|
-
|
|
1399
|
-
`;
|
|
1400
|
-
|
|
1401
|
-
const StyledItem$2 = styled__default["default"].a `
|
|
1402
|
-
text-decoration: none;
|
|
1403
|
-
display: flex;
|
|
1404
|
-
align-items: center;
|
|
1405
|
-
`;
|
|
1406
|
-
|
|
1407
|
-
const Item$1 = ({ item, index = 0 }) => {
|
|
1408
|
-
if (!item)
|
|
1409
|
-
return null;
|
|
1410
|
-
return (React__namespace["default"].createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": item.url },
|
|
1411
|
-
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.featuredImage || '/images/avatar.jpg', style: {
|
|
1412
|
-
width: '40px',
|
|
1413
|
-
height: '40px',
|
|
1414
|
-
} }),
|
|
1415
|
-
React__namespace["default"].createElement(index$4.Text, { size: "p2", weight: "regular", style: {
|
|
1416
|
-
marginLeft: 16,
|
|
1417
|
-
} }, item.name),
|
|
1418
|
-
React__namespace["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
1419
|
-
width: '20px',
|
|
1420
|
-
height: '20px',
|
|
1421
|
-
marginLeft: 'auto',
|
|
1422
|
-
}, loading: "lazy" })));
|
|
1423
|
-
};
|
|
1424
|
-
|
|
1425
|
-
const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
1426
|
-
const { t } = index$1.useTranslations();
|
|
1427
|
-
// const { siteType } = useContext(NavigationContext)
|
|
1428
|
-
if (!helpfulUrls.length)
|
|
1429
|
-
return null;
|
|
1430
|
-
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightEcom') }, helpfulUrls.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems$2, null, helpfulUrls === null || helpfulUrls === void 0 ? void 0 : helpfulUrls.slice(0, 5).map((s, index) => (React__namespace["default"].createElement(Item$1, { key: index, index: index, item: s }))))) : (React__namespace["default"].createElement(React__namespace["default"].Fragment, null)
|
|
1431
|
-
// <SpotlightNoData
|
|
1432
|
-
// title={t('home.navigator.menu.ecom.noDatas.title')}
|
|
1433
|
-
// description={t('home.navigator.menu.ecom.noDatas.description')}
|
|
1434
|
-
// link={hrefViewMore}
|
|
1435
|
-
// cta={t('home.navigator.menu.ecom.homeButton')}
|
|
1436
|
-
// icon={CommonGAssets.getAssetPath('ecom.svg')}
|
|
1437
|
-
// />
|
|
1438
|
-
)));
|
|
1439
|
-
};
|
|
1440
|
-
|
|
1441
|
-
const StyledContainerItems$1 = styled__default["default"].div `
|
|
1442
|
-
display: grid;
|
|
1443
|
-
|
|
1444
|
-
grid-template-columns: repeat(3, 1fr);
|
|
1445
|
-
gap: 24px;
|
|
1446
|
-
${utils.MediaQueries.tdDown} {
|
|
1447
|
-
grid-template-columns: 1fr;
|
|
1448
|
-
gap: 12px;
|
|
1397
|
+
grid-template-columns: 1fr;
|
|
1398
|
+
gap: 12px;
|
|
1449
1399
|
}
|
|
1450
1400
|
`;
|
|
1451
1401
|
|
|
@@ -1457,7 +1407,7 @@ const AppIcon = (_a) => {
|
|
|
1457
1407
|
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.927 9.821c0 1.338.925 2.46 2.162 2.743-.089 1.583-2.049 1.657-3.22 1.47a2.5 2.5 0 0 1-.716-.225 1.3 1.3 0 0 1-.614-.68c-.057-.142-.093-.293-.158-.431a.58.58 0 0 0-.674-.346.59.59 0 0 0-.462.603c.017.415.192.827.44 1.156.26.354.607.625 1.058.827.636.29 1.336.375 2.03.375.774 0 1.591-.132 2.267-.53.643-.38 1.25-.878 1.263-2.217a2.81 2.81 0 0 0 2.17-2.745c0-1.55-1.244-2.811-2.773-2.811S9.927 8.27 9.927 9.82m4.275 0c0 .841-.674 1.525-1.502 1.525a1.515 1.515 0 0 1-1.502-1.525c0-.84.674-1.525 1.502-1.525a1.516 1.516 0 0 1 1.502 1.525", fill: "#fff" })));
|
|
1458
1408
|
};
|
|
1459
1409
|
|
|
1460
|
-
const StyledItem$
|
|
1410
|
+
const StyledItem$2 = styled__default["default"].a `
|
|
1461
1411
|
text-decoration: none;
|
|
1462
1412
|
border-radius: 4px;
|
|
1463
1413
|
background: ${miscTheme.theme.colors.primary50};
|
|
@@ -1568,7 +1518,7 @@ const StyledContentWrapper$1 = styled__default["default"].div `
|
|
|
1568
1518
|
}
|
|
1569
1519
|
`;
|
|
1570
1520
|
|
|
1571
|
-
const Item = ({ item, index = 0 }) => {
|
|
1521
|
+
const Item$1 = ({ item, index = 0 }) => {
|
|
1572
1522
|
const { t } = index$1.useTranslations();
|
|
1573
1523
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1574
1524
|
if (!item)
|
|
@@ -1578,9 +1528,9 @@ const Item = ({ item, index = 0 }) => {
|
|
|
1578
1528
|
? item.link
|
|
1579
1529
|
: `${statics.HOME_PAGE_URL}${item.link}`
|
|
1580
1530
|
: undefined;
|
|
1581
|
-
return (React__namespace["default"].createElement(StyledItem$
|
|
1531
|
+
return (React__namespace["default"].createElement(StyledItem$2, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link },
|
|
1582
1532
|
item.isMobileAppTool && React__namespace["default"].createElement(Phone, { size: 20, className: "phone-badge" }),
|
|
1583
|
-
React__namespace["default"].createElement("img", { src: index$
|
|
1533
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('navToolCardBg.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
1584
1534
|
React__namespace["default"].createElement(StyledContentWrapper$1, null,
|
|
1585
1535
|
React__namespace["default"].createElement(StyledTitle$1, null, item.title),
|
|
1586
1536
|
React__namespace["default"].createElement(StyledDes$1, null, item.subtitle),
|
|
@@ -1593,7 +1543,7 @@ const Item = ({ item, index = 0 }) => {
|
|
|
1593
1543
|
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.title, src: item.icon || '/images/avatar.jpg' }))));
|
|
1594
1544
|
};
|
|
1595
1545
|
|
|
1596
|
-
const StyledItem = styled__default["default"].a `
|
|
1546
|
+
const StyledItem$1 = styled__default["default"].a `
|
|
1597
1547
|
text-decoration: none;
|
|
1598
1548
|
border-radius: 12px;
|
|
1599
1549
|
|
|
@@ -1818,16 +1768,16 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1818
1768
|
React__namespace["default"].createElement(StyledDes, null, item.subtitle)),
|
|
1819
1769
|
React__namespace["default"].createElement(StyledBtnView, null,
|
|
1820
1770
|
React__namespace["default"].createElement("div", { className: "mobile-only" }, t('home.seeMore')),
|
|
1821
|
-
React__namespace["default"].createElement("img", { src: index$
|
|
1771
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('arrowRightGray.svg'), style: {
|
|
1822
1772
|
width: '12px',
|
|
1823
1773
|
height: '12px',
|
|
1824
1774
|
marginTop: '2px',
|
|
1825
1775
|
marginLeft: '5px',
|
|
1826
1776
|
}, loading: "lazy" }))));
|
|
1827
|
-
return (React__namespace["default"].createElement(StyledItem, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link, "data-color": color },
|
|
1777
|
+
return (React__namespace["default"].createElement(StyledItem$1, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link, "data-color": color },
|
|
1828
1778
|
React__namespace["default"].createElement("svg", { className: "bg-svg", width: "74", height: "121", viewBox: "0 0 74 121", fill: "none" },
|
|
1829
1779
|
React__namespace["default"].createElement("path", { d: "M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z", strokeWidth: "0" })),
|
|
1830
|
-
React__namespace["default"].createElement("img", { src: index$
|
|
1780
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('navMBCardDotBg.svg'), className: "dot-svg", loading: "lazy", alt: "" }),
|
|
1831
1781
|
React__namespace["default"].createElement(StyledContentWrapper, null,
|
|
1832
1782
|
React__namespace["default"].createElement("div", { className: "mobile-only" }, renderIcon()),
|
|
1833
1783
|
React__namespace["default"].createElement("div", { className: "desktop-only" }, renderName())),
|
|
@@ -1840,11 +1790,30 @@ const ToolSpotlights = ({ hrefViewMore, spotlightHealthTools = [] }) => {
|
|
|
1840
1790
|
const marryBabyCardColor = ['pink', 'orange', 'green'];
|
|
1841
1791
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1842
1792
|
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightTools') },
|
|
1843
|
-
spotlightHealthTools.length !== 0 && (React__namespace["default"].createElement(StyledContainerItems$
|
|
1844
|
-
spotlightHealthTools.length === 0 && (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.healthTools.noDatas.title'), description: t('home.navigator.menu.healthTools.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.healthTools.noDatas.cta'), icon: index$
|
|
1793
|
+
spotlightHealthTools.length !== 0 && (React__namespace["default"].createElement(StyledContainerItems$2, null, spotlightHealthTools === null || spotlightHealthTools === void 0 ? void 0 : spotlightHealthTools.slice(0, 3).map((item, index) => siteType === 'marryBaby' ? (React__namespace["default"].createElement(ItemMarryBaby, { key: index, index: index, item: item, color: marryBabyCardColor[index] })) : (React__namespace["default"].createElement(Item$1, { key: index, index: index, item: item }))))),
|
|
1794
|
+
spotlightHealthTools.length === 0 && (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.healthTools.noDatas.title'), description: t('home.navigator.menu.healthTools.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.healthTools.noDatas.cta'), icon: index$6.CommonGAssets.getAssetPath('community.svg') }))));
|
|
1845
1795
|
};
|
|
1846
1796
|
|
|
1847
|
-
const
|
|
1797
|
+
const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [], healthTools = [], }) => {
|
|
1798
|
+
var _a;
|
|
1799
|
+
const { t } = index$1.useTranslations();
|
|
1800
|
+
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1801
|
+
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
|
|
1802
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1803
|
+
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) => ({
|
|
1804
|
+
name: t.title,
|
|
1805
|
+
link: t.link
|
|
1806
|
+
? t.link.startsWith('http')
|
|
1807
|
+
? t.link
|
|
1808
|
+
: `${statics.HOME_PAGE_URL}${t.link}`
|
|
1809
|
+
: undefined,
|
|
1810
|
+
thumbnail: t.icon,
|
|
1811
|
+
isMobileAppTool: t.isMobileAppTool,
|
|
1812
|
+
})) }),
|
|
1813
|
+
React__namespace["default"].createElement(ToolSpotlights, { spotlightHealthTools: spotlightHealthTools, hrefViewMore: hrefViewMore })));
|
|
1814
|
+
};
|
|
1815
|
+
|
|
1816
|
+
const StyledContainerItems$1 = styled__default["default"].div `
|
|
1848
1817
|
display: grid;
|
|
1849
1818
|
|
|
1850
1819
|
grid-template-columns: repeat(4, 1fr);
|
|
@@ -1858,137 +1827,417 @@ const StyledContainerItems = styled__default["default"].div `
|
|
|
1858
1827
|
const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
1859
1828
|
const { t } = index$1.useTranslations();
|
|
1860
1829
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1861
|
-
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__namespace["default"].createElement(index$
|
|
1830
|
+
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) => (React__namespace["default"].createElement(index$b.VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: index$9.VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', dataEventCategory: "Hamburger Navigation", dataEventAction: `Video Click ${index + 1}` }))))) : (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') }))));
|
|
1862
1831
|
};
|
|
1863
1832
|
|
|
1864
|
-
const
|
|
1865
|
-
var _a, _b;
|
|
1866
|
-
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, customClasses, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1833
|
+
const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
1867
1834
|
const { t } = index$1.useTranslations();
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
}
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
React__namespace["default"].createElement(HamburgerIcon, { siteType: siteType, enableSearch: false, className: "mobile-hamburger-icon", winCashBackTheme: winCashBackTheme })),
|
|
1890
|
-
React__namespace["default"].createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
|
|
1835
|
+
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1836
|
+
const listing = React.useMemo(() => [
|
|
1837
|
+
{
|
|
1838
|
+
name: t('home.navigator.menu.videos'),
|
|
1839
|
+
link: `${statics.VIDEO_URL_FE}/video/`,
|
|
1840
|
+
thumbnail: index$6.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
1841
|
+
},
|
|
1842
|
+
{
|
|
1843
|
+
name: t('home.navigator.menu.shorts'),
|
|
1844
|
+
link: `${statics.VIDEO_URL_FE}/short/`,
|
|
1845
|
+
thumbnail: index$6.CommonGAssets.getAssetPath('nav-icons/short.svg'),
|
|
1846
|
+
},
|
|
1847
|
+
// {
|
|
1848
|
+
// name: t('home.navigator.menu.podcasts'),
|
|
1849
|
+
// link: `${statics.VIDEO_URL_FE}/podcast/`,
|
|
1850
|
+
// thumbnail: CommonGAssets.getAssetPath('nav-icons/podcast.svg'),
|
|
1851
|
+
// },
|
|
1852
|
+
], []);
|
|
1853
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1854
|
+
React__namespace["default"].createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allVideos'), menuItems: listing, headingTitle: t('home.navigator.menuItem.videoCategories') }),
|
|
1855
|
+
React__namespace["default"].createElement(VideoSpotlights, { spotlightsList: spotlightsList })));
|
|
1891
1856
|
};
|
|
1892
1857
|
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
transition: height 0.3s, transform 0.3s;
|
|
1901
|
-
|
|
1902
|
-
&[data-site-type='helloSites'] {
|
|
1903
|
-
border-bottom: ${({ winCashBackTheme }) => winCashBackTheme ? 'none' : `1px solid ${miscTheme.theme.colors.neutral100}`};
|
|
1904
|
-
}
|
|
1905
|
-
|
|
1906
|
-
&[data-sponsored='true'] {
|
|
1907
|
-
border-bottom: none;
|
|
1908
|
-
}
|
|
1909
|
-
&[data-marry-baby-tone='pink'] {
|
|
1910
|
-
background-color: ${miscTheme.theme.mbColors.lightPink};
|
|
1911
|
-
}
|
|
1912
|
-
|
|
1913
|
-
${utils.MediaQueries.mbUp} {
|
|
1914
|
-
&[data-sitewide-banner-shown='true'][data-collapsed='true'] {
|
|
1915
|
-
transform: translateY(-64px);
|
|
1916
|
-
}
|
|
1917
|
-
}
|
|
1918
|
-
${utils.MediaQueries.mbDown} {
|
|
1919
|
-
&[data-site-type='marryBaby'] {
|
|
1920
|
-
border-bottom: none;
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
|
-
&[data-fixed-bar='true'] {
|
|
1924
|
-
position: fixed;
|
|
1925
|
-
transform: translateY(0);
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
&[data-fixed-bar='false'] {
|
|
1929
|
-
position: absolute;
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
|
-
&[data-collapsed='true'] {
|
|
1933
|
-
transform: translateY(-100%);
|
|
1934
|
-
transition: transform 0.5s;
|
|
1935
|
-
}
|
|
1936
|
-
&[data-collapsed='false'] {
|
|
1937
|
-
transform: translateY(0);
|
|
1938
|
-
transition: transform 0.5s;
|
|
1939
|
-
}
|
|
1940
|
-
|
|
1941
|
-
.top-bar-header {
|
|
1942
|
-
line-height: normal;
|
|
1943
|
-
}
|
|
1944
|
-
|
|
1945
|
-
&[data-header-type='home'] {
|
|
1946
|
-
z-index: ${Z_INDEX.headerContainerHome};
|
|
1947
|
-
}
|
|
1948
|
-
|
|
1949
|
-
&[data-is-displayed='false'] {
|
|
1950
|
-
//display: none;
|
|
1951
|
-
visibility: hidden;
|
|
1952
|
-
}
|
|
1953
|
-
}
|
|
1954
|
-
|
|
1955
|
-
.marry-baby {
|
|
1956
|
-
input {
|
|
1957
|
-
background: ${miscTheme.theme.mbColors.lightGray};
|
|
1958
|
-
border-radius: 16px;
|
|
1959
|
-
border: none;
|
|
1960
|
-
}
|
|
1961
|
-
max-width: 172px;
|
|
1858
|
+
styled__default["default"].div `
|
|
1859
|
+
display: grid;
|
|
1860
|
+
grid-template-columns: repeat(4, 1fr);
|
|
1861
|
+
gap: 24px;
|
|
1862
|
+
${utils.MediaQueries.tdDown} {
|
|
1863
|
+
gap: 12px;
|
|
1864
|
+
grid-template-columns: 1fr;
|
|
1962
1865
|
}
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1866
|
+
`;
|
|
1867
|
+
const StyleButton = styled__default["default"](index$2.Button) `
|
|
1868
|
+
border: 1px solid ${miscTheme.theme.colors.white} !important;
|
|
1869
|
+
.mantine-Button-leftIcon {
|
|
1870
|
+
width: 24px;
|
|
1871
|
+
height: 24px;
|
|
1968
1872
|
}
|
|
1969
1873
|
`;
|
|
1970
|
-
const
|
|
1874
|
+
const StyleWrapperIcon = styled__default["default"].div `
|
|
1875
|
+
width: 20px;
|
|
1876
|
+
height: 20px;
|
|
1971
1877
|
display: flex;
|
|
1972
|
-
|
|
1878
|
+
justify-content: center;
|
|
1973
1879
|
align-items: center;
|
|
1974
1880
|
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1881
|
+
border-radius: 5px;
|
|
1882
|
+
background: linear-gradient(
|
|
1883
|
+
180deg,
|
|
1884
|
+
rgba(255, 255, 255, 0.1) 15.1%,
|
|
1885
|
+
rgba(0, 0, 0, 0.01) 100%
|
|
1886
|
+
),
|
|
1887
|
+
linear-gradient(180deg, #65b5ff 0%, #2685f1 100%);
|
|
1888
|
+
background-blend-mode: soft-light, normal;
|
|
1889
|
+
`;
|
|
1981
1890
|
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1891
|
+
const InitialCart = () => (React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "512", height: "512", style: {
|
|
1892
|
+
width: '100%',
|
|
1893
|
+
height: '100%',
|
|
1894
|
+
contentVisibility: 'visible',
|
|
1895
|
+
}, viewBox: "0 0 512 512" },
|
|
1896
|
+
React__namespace["default"].createElement("defs", null,
|
|
1897
|
+
React__namespace["default"].createElement("clipPath", { id: "__lottie_element_2" },
|
|
1898
|
+
React__namespace["default"].createElement("path", { d: "M0 0h512v512H0z" })),
|
|
1899
|
+
React__namespace["default"].createElement("path", { fill: "#FFF", d: "m139 0-13 174h244l-30 292 165 1 4-466z", opacity: "1", id: "__lottie_element_6", display: "block" }),
|
|
1900
|
+
React__namespace["default"].createElement("mask", { id: "__lottie_element_6_1", "mask-type": "alpha" },
|
|
1901
|
+
React__namespace["default"].createElement("use", { xlinkHref: "#__lottie_element_6" }))),
|
|
1902
|
+
React__namespace["default"].createElement("g", { clipPath: "url(#__lottie_element_2)" },
|
|
1903
|
+
React__namespace["default"].createElement("path", { fill: "#2B62CD", d: "m430 181-40 41-111-120a18 18 0 0 1-5-13c0-5 2-9 5-13l6-5a18 18 0 0 1 25-1zm-348 0 40 41 111-120a18 18 0 0 0 0-26l-6-5a18 18 0 0 0-25-1z", display: "block" }),
|
|
1904
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
1905
|
+
React__namespace["default"].createElement("path", { fill: "#2D87F3", d: "M385 427H125c-4 0-9-1-13-5a20 20 0 0 1-6-12L88 239h335l-18 171a20 20 0 0 1-7 12c-3 4-8 5-13 5" }),
|
|
1906
|
+
React__namespace["default"].createElement("path", { fill: "#2B62CD", d: "m160 402-5-2a6 6 0 0 1-1-4l-8-114v-2a6 6 0 0 1 3-4 6 6 0 0 1 5 0 6 6 0 0 1 4 5l8 115-1 2a6 6 0 0 1-1 2 6 6 0 0 1-4 2m61 0-5-2a6 6 0 0 1-1-4l-2-114c0-2 0-3 2-5a6 6 0 0 1 4-1l4 1a6 6 0 0 1 2 4l2 115a6 6 0 0 1-2 4 6 6 0 0 1-4 2zm131 0a6 6 0 0 1-5-4l-1-2 8-115a6 6 0 0 1 2-4l2-1a6 6 0 0 1 2 0 6 6 0 0 1 5 2 6 6 0 0 1 1 4l-8 114a6 6 0 0 1-6 6m-61 0a6 6 0 0 1-6-6l2-114 2-5a6 6 0 0 1 4-1 6 6 0 0 1 5 1 6 6 0 0 1 1 5l-2 114a6 6 0 0 1-1 4 6 6 0 0 1-5 2" }),
|
|
1907
|
+
React__namespace["default"].createElement("path", { fill: "#91CAFF", d: "M424 243H88a20 20 0 0 1-21-18l-3-28a20 20 0 0 1 20-23h344a20 20 0 0 1 20 23l-3 28a20 20 0 0 1-21 18" })),
|
|
1908
|
+
React__namespace["default"].createElement("g", { mask: "url(#__lottie_element_6_1)", display: "block" },
|
|
1909
|
+
React__namespace["default"].createElement("path", { fill: "#FFC326", d: "m294 198-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
|
|
1910
|
+
React__namespace["default"].createElement("path", { fill: "#FFD658", d: "M272 189c0 3 0 7 2 10a12 12 0 0 0 10 6h-81l-3-1c-3-1-5-3-6-5a15 15 0 0 1 5-19 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
|
|
1911
|
+
React__namespace["default"].createElement("path", { fill: "#FEA21E", d: "M277 326h-4c3 0 5-2 5-4l15-115 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-5-4-7-2-15 5-19 2-2 5-3 9-3h1c4 0 7 2 10 4l6 9 1 11 14 119-1 4z" }),
|
|
1912
|
+
React__namespace["default"].createElement("path", { fill: "#FC7419", d: "M303 310v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-5 1v1c0 2-1 3-2 3a3 3 0 0 1-3-2l1-4a9 9 0 0 1 11-4c3 1 5 3 6 6v9" })),
|
|
1913
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
1914
|
+
React__namespace["default"].createElement("path", { fill: "#FFC326", d: "m460 330-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
|
|
1915
|
+
React__namespace["default"].createElement("path", { fill: "#FFD658", d: "M438 321c0 3 0 6 2 9a12 12 0 0 0 10 7h-81l-3-1c-3-1-5-3-6-6a15 15 0 0 1 5-18 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
|
|
1916
|
+
React__namespace["default"].createElement("path", { fill: "#FEA21E", d: "M443 458h-4c3 0 5-2 5-5l15-114 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-6-4-6-2-14 5-18 2-2 5-3 9-3h1c4 0 7 2 10 4s5 5 6 9l1 11 14 119-1 4z" }),
|
|
1917
|
+
React__namespace["default"].createElement("path", { fill: "#FC7419", d: "M469 442v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-4 1l-1 1-2 3a3 3 0 0 1-3-3l1-3a9 9 0 0 1 11-4c3 1 5 3 6 5 1 3 2 7 0 10" })))));
|
|
1988
1918
|
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1919
|
+
const InitialDoctor = () => (React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "512", height: "512", style: {
|
|
1920
|
+
width: '100%',
|
|
1921
|
+
height: '100%',
|
|
1922
|
+
contentVisibility: 'visible',
|
|
1923
|
+
}, viewBox: "0 0 512 512" },
|
|
1924
|
+
React__namespace["default"].createElement("defs", null,
|
|
1925
|
+
React__namespace["default"].createElement("clipPath", { id: "__lottie_element_23" },
|
|
1926
|
+
React__namespace["default"].createElement("path", { d: "M0 0h512v512H0z" }))),
|
|
1927
|
+
React__namespace["default"].createElement("g", { clipPath: "url(#__lottie_element_23)" },
|
|
1928
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
1929
|
+
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "M430 332c-13-17-52-37-42-63 16-41-9-72-28-84-22-14-23-43-30-66-15-50-53-73-103-73s-88 21-103 71c-7 22-7 53-29 67-19 12-61 41-45 82 10 26-15 52-28 69-39 53 13 89 72 98l255 2c59-9 120-50 81-103" }),
|
|
1930
|
+
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M120 202c-11 4-13 17-10 29a29 29 0 0 0 14 17 29 29 0 0 0 22 3l-8-49a25 25 0 0 0-18 0" }),
|
|
1931
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M147 235a5 5 0 0 1-4-2c-6-8-17-8-17-8a5 5 0 0 1-4-2 5 5 0 0 1 0-7l4-1c1 0 16 0 25 11a5 5 0 0 1-4 9" }),
|
|
1932
|
+
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M332 202a25 25 0 0 0-18 0l-8 49a29 29 0 0 0 22-3c7-3 12-10 14-17 3-12 1-25-10-29" }),
|
|
1933
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M305 235a5 5 0 0 1-5-3 5 5 0 0 1 1-6c9-11 24-11 25-11a5 5 0 0 1 5 5 5 5 0 0 1-5 5s-11 0-17 8a5 5 0 0 1-4 2" }),
|
|
1934
|
+
React__namespace["default"].createElement("path", { fill: "#E3F2FF", d: "M366 452H86a3 3 0 0 1-4-4c5-19 19-47 37-65a153 153 0 0 1 42-28l1-1a85 85 0 0 1 29-19h70a84 84 0 0 1 29 19l1 1a153 153 0 0 1 42 28c18 18 32 46 37 65a3 3 0 0 1-1 3 3 3 0 0 1-3 1" }),
|
|
1935
|
+
React__namespace["default"].createElement("path", { fill: "#FCCAAF", d: "M261 335c-25 32-48 32-70 0l5-10v-1a45 45 0 0 0 2-13h56a48 48 0 0 0 2 13v1l5 10" }),
|
|
1936
|
+
React__namespace["default"].createElement("path", { fill: "#2D87F3", d: "M281 452H175c-14-93 16-117 16-117 7 9 20 15 35 15s28-6 35-15c0 0 9 12 16 37 5 20 6 60 4 80" }),
|
|
1937
|
+
React__namespace["default"].createElement("path", { fill: "#BCDEFF", d: "M191 335a84 84 0 0 0-30 19 53 53 0 0 0-13 28c0 3 11 1 16 0h1v1c-13 8-17 19-16 25 2 15 6 30 13 44h26s-12-72 3-117m96 48a1 1 0 0 1 0-1h1c1 0 0 0 0 0 5 1 16 3 16 0a53 53 0 0 0-13-28 83 83 0 0 0-30-19c15 45 3 117 3 117h26a157 157 0 0 0 13-44c1-6-3-17-16-25" }),
|
|
1938
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M256 325c-20 18-40 18-60 0v-1a46 46 0 0 0 2-13h56a48 48 0 0 0 2 13v1" }),
|
|
1939
|
+
React__namespace["default"].createElement("path", { fill: "#FCCAAF", d: "M314 205c-3 54-17 80-39 96-14 11-37 24-49 24s-35-13-49-24c-22-16-36-42-39-96 52-21 30-127 85-99a7 7 0 0 0 6 0c55-28 33 78 85 99" }),
|
|
1940
|
+
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M221 106c-27-12-34 12-43 40-7 25-16 54-41 63l1 3c43 0 71-62 83-106" })),
|
|
1941
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M233 233a5 5 0 0 0-4 2l-3 1-3-1a5 5 0 0 0-2-2 5 5 0 0 0-4 0 5 5 0 0 0-3 5c0 6 9 8 12 8s12-2 12-8a5 5 0 0 0-2-3 5 5 0 0 0-3-2", display: "block" }),
|
|
1942
|
+
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "m261 199 9-5a27 27 0 0 1 11-1c4 0 7 0 11 2l8 4a2 2 0 0 1 1 2 2 2 0 0 1 0 1h-1l-10-1h-9a20 20 0 0 0-7 2 65 65 0 0 0-7 4 5 5 0 0 1-4 1 5 5 0 0 1-3-2 5 5 0 0 1-1-2 5 5 0 0 1 2-5", display: "block" }),
|
|
1943
|
+
React__namespace["default"].createElement("path", { fill: "#284A75", d: "M280 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
|
|
1944
|
+
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "m192 210-7-4-7-2h-9l-9 1a2 2 0 0 1-2-1v-1l1-1 9-4c3-2 6-2 10-2 4-1 7 0 11 1l9 5a5 5 0 0 1 2 3v4a5 5 0 0 1-7 2l-1-1", display: "block" }),
|
|
1945
|
+
React__namespace["default"].createElement("path", { fill: "#284A75", d: "M184 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
|
|
1946
|
+
React__namespace["default"].createElement("g", { fill: "#FFF", display: "block" },
|
|
1947
|
+
React__namespace["default"].createElement("path", { d: "m216 213-4-1a5 5 0 0 1-1-3v-4a5 5 0 0 1 3-2 33 33 0 0 1 24 0 5 5 0 0 1 3 7 5 5 0 0 1-3 2h-3a23 23 0 0 0-18 1h-1" }),
|
|
1948
|
+
React__namespace["default"].createElement("path", { d: "M183 249a38 38 0 0 1-35-23 38 38 0 0 1-2-22 38 38 0 0 1 11-19 38 38 0 0 1 19-11c7-1 15 0 22 2a38 38 0 0 1 16 14 38 38 0 0 1 7 21 38 38 0 0 1-11 27 38 38 0 0 1-27 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 42-4c3-4 4-9 4-15a27 27 0 0 0-8-19 27 27 0 0 0-19-8zm86 65a38 38 0 0 1-35-24 38 38 0 0 1 27-51 38 38 0 0 1 39 16 38 38 0 0 1 6 21 38 38 0 0 1-11 27 38 38 0 0 1-26 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 46-19 27 27 0 0 0-8-19 27 27 0 0 0-19-8z" })),
|
|
1949
|
+
React__namespace["default"].createElement("path", { d: "m205 180-2-1c-10-4-39-9-47-1a5 5 0 0 1-3 2 5 5 0 0 1-4-2 5 5 0 0 1-2-3l1-4c14-15 52-4 59-1a5 5 0 0 1 3 6 5 5 0 0 1-2 3l-3 1zm42 0-3-1a5 5 0 0 1-1-7 5 5 0 0 1 2-2c7-3 45-14 59 1a5 5 0 0 1 1 4l-2 3a5 5 0 0 1-4 2l-3-2c-8-8-37-3-47 1l-2 1", fill: "#284A75", display: "block" }),
|
|
1950
|
+
React__namespace["default"].createElement("path", { fill: "#FF886C", d: "M208 260a4 4 0 0 0-3 1 4 4 0 0 0-1 3c2 8 6 19 22 19s21-11 22-19a4 4 0 0 0-4-4l-18-1-18 1", display: "block" }),
|
|
1951
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
1952
|
+
React__namespace["default"].createElement("g", { fill: "#FFF" },
|
|
1953
|
+
React__namespace["default"].createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
|
|
1954
|
+
React__namespace["default"].createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" })),
|
|
1955
|
+
React__namespace["default"].createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
|
|
1956
|
+
React__namespace["default"].createElement("path", { fill: "#FFF", d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
|
|
1957
|
+
React__namespace["default"].createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
|
|
1958
|
+
React__namespace["default"].createElement("path", { fill: "#FF6F4D", d: "M389 358h-11a17 17 0 0 0-12 5 17 17 0 0 0-5 12v3l-1 3a4 4 0 0 1-3 1h-3a17 17 0 0 0-17 17v12a17 17 0 0 0 17 17h3a4 4 0 0 1 4 3v3a17 17 0 0 0 17 17h11c5 0 9-2 12-5s5-7 5-12v-3a4 4 0 0 1 4-3h3c4 0 9-2 12-5s5-8 5-12v-12c0-5-2-9-5-12a17 17 0 0 0-12-5h-3a4 4 0 0 1-4-4v-3a17 17 0 0 0-5-12 17 17 0 0 0-12-5" })))));
|
|
1959
|
+
|
|
1960
|
+
const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
1961
|
+
const { locale, configs: { enableAppIntroPage }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1962
|
+
const ecomNavItem = menuItems.find((m) => m.id === 'ecom');
|
|
1963
|
+
const careNavItem = menuItems.find((m) => m.id === 'care');
|
|
1964
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true, hideCloseBtn: true, stylesContainer: {
|
|
1965
|
+
display: 'flex',
|
|
1966
|
+
gap: 0,
|
|
1967
|
+
padding: 0,
|
|
1968
|
+
} },
|
|
1969
|
+
ecomNavItem && (React__namespace["default"].createElement("a", { tabIndex: 0, href: ecomNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": ecomNavItem.link },
|
|
1970
|
+
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(InitialCart, null) }, ecomNavItem.name))),
|
|
1971
|
+
careNavItem && (React__namespace["default"].createElement("a", { tabIndex: 0, href: careNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": careNavItem.link },
|
|
1972
|
+
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(InitialDoctor, null) }, careNavItem.name))),
|
|
1973
|
+
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` },
|
|
1974
|
+
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(StyleWrapperIcon, null,
|
|
1975
|
+
React__namespace["default"].createElement(core.Logo, { width: 16, height: 15 })) }, `${index$3.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
1976
|
+
};
|
|
1977
|
+
|
|
1978
|
+
var styles = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
|
|
1979
|
+
|
|
1980
|
+
function ClosePopupIcon({ className }) {
|
|
1981
|
+
return (React__namespace["default"].createElement("div", null,
|
|
1982
|
+
React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
1983
|
+
React__namespace["default"].createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
function HamburgerIcon({ siteType, enableSearch, className, style, }) {
|
|
1987
|
+
const { isWinCashBackTheme } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1988
|
+
if (siteType === 'helloSites') {
|
|
1989
|
+
return (React__namespace["default"].createElement("div", { className: "hamburger-container" }, isWinCashBackTheme ? (React__namespace["default"].createElement(HamburgerWhite, { className: className })) : (React__namespace["default"].createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
|
|
1990
|
+
? index$6.CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
|
|
1991
|
+
: index$6.CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" }))));
|
|
1992
|
+
}
|
|
1993
|
+
/** Marry Baby */
|
|
1994
|
+
return (React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
1995
|
+
React__namespace["default"].createElement("path", { d: "M3.35 15a.65.65 0 0 1 .65-.65h10a.65.65 0 1 1 0 1.3H4a.65.65 0 0 1-.65-.65m0-6A.65.65 0 0 1 4 8.35h16a.65.65 0 1 1 0 1.3H4A.65.65 0 0 1 3.35 9", fill: "#3E3F58" })));
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
const StyledMasterMenuContainer = styled__default["default"].div `
|
|
1999
|
+
position: fixed;
|
|
2000
|
+
z-index: 201;
|
|
2001
|
+
top: calc(100% - 1px);
|
|
2002
|
+
width: 100%;
|
|
2003
|
+
height: calc(100vh - var(--header-bottom));
|
|
2004
|
+
overflow-x: hidden;
|
|
2005
|
+
overflow-y: auto;
|
|
2006
|
+
background: white;
|
|
2007
|
+
display: flex;
|
|
2008
|
+
flex-direction: column;
|
|
2009
|
+
padding-bottom: 0;
|
|
2010
|
+
left: 0;
|
|
2011
|
+
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
2012
|
+
position: unset;
|
|
2013
|
+
}
|
|
2014
|
+
`;
|
|
2015
|
+
styled__default["default"].div `
|
|
2016
|
+
padding: 16px;
|
|
2017
|
+
padding-bottom: 12px;
|
|
2018
|
+
.fake-search-input {
|
|
2019
|
+
pointer-events: none;
|
|
2020
|
+
input {
|
|
2021
|
+
line-height: 20px;
|
|
2022
|
+
padding-top: 10px;
|
|
2023
|
+
padding-bottom: 10px;
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
&[data-theme='marryBaby'] {
|
|
2027
|
+
input {
|
|
2028
|
+
background: ${miscTheme.theme.mbColors.lightGray};
|
|
2029
|
+
border-radius: 16px;
|
|
2030
|
+
border: none;
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
`;
|
|
2034
|
+
const StyledWrapper = styled__default["default"].div `
|
|
2035
|
+
display: block;
|
|
2036
|
+
overflow-y: auto;
|
|
2037
|
+
flex: 1;
|
|
2038
|
+
padding-bottom: 16px;
|
|
2039
|
+
&::-webkit-scrollbar {
|
|
2040
|
+
width: 0;
|
|
2041
|
+
display: none;
|
|
2042
|
+
}
|
|
2043
|
+
`;
|
|
2044
|
+
const StyleWrapperSearch = styled__default["default"].div `
|
|
2045
|
+
padding: 0 16px;
|
|
2046
|
+
`;
|
|
2047
|
+
|
|
2048
|
+
const StyledContainerItems = styled__default["default"].div `
|
|
2049
|
+
display: grid;
|
|
2050
|
+
|
|
2051
|
+
grid-template-columns: repeat(3, 1fr);
|
|
2052
|
+
gap: 24px;
|
|
2053
|
+
margin-bottom: 3.5rem;
|
|
2054
|
+
${utils.MediaQueries.tdDown} {
|
|
2055
|
+
grid-template-columns: repeat(1, 1fr);
|
|
2056
|
+
}
|
|
2057
|
+
`;
|
|
2058
|
+
|
|
2059
|
+
const StyledItem = styled__default["default"].a `
|
|
2060
|
+
text-decoration: none;
|
|
2061
|
+
display: flex;
|
|
2062
|
+
align-items: center;
|
|
2063
|
+
`;
|
|
2064
|
+
|
|
2065
|
+
const Item = ({ item, index = 0 }) => {
|
|
2066
|
+
if (!item)
|
|
2067
|
+
return null;
|
|
2068
|
+
return (React__namespace["default"].createElement(StyledItem, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": item.url },
|
|
2069
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.featuredImage || '/images/avatar.jpg', style: {
|
|
2070
|
+
width: '40px',
|
|
2071
|
+
height: '40px',
|
|
2072
|
+
} }),
|
|
2073
|
+
React__namespace["default"].createElement(index$4.Text, { size: "p2", weight: "regular", style: {
|
|
2074
|
+
marginLeft: 16,
|
|
2075
|
+
} }, item.name),
|
|
2076
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
2077
|
+
width: '20px',
|
|
2078
|
+
height: '20px',
|
|
2079
|
+
marginLeft: 'auto',
|
|
2080
|
+
}, loading: "lazy" })));
|
|
2081
|
+
};
|
|
2082
|
+
|
|
2083
|
+
const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
2084
|
+
const { t } = index$1.useTranslations();
|
|
2085
|
+
// const { siteType } = useContext(NavigationContext)
|
|
2086
|
+
if (!helpfulUrls.length)
|
|
2087
|
+
return null;
|
|
2088
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightEcom') }, helpfulUrls.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems, null, helpfulUrls === null || helpfulUrls === void 0 ? void 0 : helpfulUrls.slice(0, 5).map((s, index) => (React__namespace["default"].createElement(Item, { key: index, index: index, item: s }))))) : (React__namespace["default"].createElement(React__namespace["default"].Fragment, null)
|
|
2089
|
+
// <SpotlightNoData
|
|
2090
|
+
// title={t('home.navigator.menu.ecom.noDatas.title')}
|
|
2091
|
+
// description={t('home.navigator.menu.ecom.noDatas.description')}
|
|
2092
|
+
// link={hrefViewMore}
|
|
2093
|
+
// cta={t('home.navigator.menu.ecom.homeButton')}
|
|
2094
|
+
// icon={CommonGAssets.getAssetPath('ecom.svg')}
|
|
2095
|
+
// />
|
|
2096
|
+
)));
|
|
2097
|
+
};
|
|
2098
|
+
|
|
2099
|
+
const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
|
|
2100
|
+
var _a, _b;
|
|
2101
|
+
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, customClasses, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2102
|
+
const { t } = index$1.useTranslations();
|
|
2103
|
+
return (React__namespace["default"].createElement(StyledMasterMenuContainer, { className: customClasses.categoriesMenu, id: "categories-menu" },
|
|
2104
|
+
!isHomepage && (React__namespace["default"].createElement(StyleWrapperSearch, null,
|
|
2105
|
+
React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: false, isRedirectSearchPage: true }))),
|
|
2106
|
+
React__namespace["default"].createElement(StyledWrapper, null,
|
|
2107
|
+
React__namespace["default"].createElement(Categories, { UrlFE: statics.HOME_PAGE_URL, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: menuItems, headingTitle: t('home.navigator.menuItem.healthCategories'), onClosePopup: closePopup, activeItem: activeMenuService }),
|
|
2108
|
+
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/` })),
|
|
2109
|
+
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$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
|
|
2110
|
+
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}` })),
|
|
2111
|
+
activeMenuService === 'together' && (React__namespace["default"].createElement(CommunitySpotlights, { spotlights: together === null || together === void 0 ? void 0 : together.spotlights })),
|
|
2112
|
+
activeMenuService === 'ecom' && (React__namespace["default"].createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls })),
|
|
2113
|
+
activeMenuService === 'video' && (React__namespace["default"].createElement(VideoSpotlights, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights, layout: "stack" })))));
|
|
2114
|
+
};
|
|
2115
|
+
|
|
2116
|
+
const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
2117
|
+
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2118
|
+
const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = navigationProfileButton.useCSSFocusPopupHelper();
|
|
2119
|
+
return (React__namespace["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbDown" },
|
|
2120
|
+
React__namespace["default"].createElement("header", { className: styles.menuContainer },
|
|
2121
|
+
React__namespace["default"].createElement("div", { className: styles.menuIcon, ref: containerRef, role: "button", tabIndex: 0, onBlur: onContainerBlur, onFocus: onContainerFocus },
|
|
2122
|
+
React__namespace["default"].createElement("div", { className: styles.menuIconWrapper, onMouseDown: onButtonMouseDown, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": "Hamburger Navigation URL" },
|
|
2123
|
+
React__namespace["default"].createElement(ClosePopupIcon, { className: "mobile-close-icon" }),
|
|
2124
|
+
React__namespace["default"].createElement(HamburgerIcon, { siteType: siteType, enableSearch: false, className: "mobile-hamburger-icon" })),
|
|
2125
|
+
React__namespace["default"].createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
|
|
2126
|
+
};
|
|
2127
|
+
|
|
2128
|
+
const StyledHeaderWrapper = styled__default["default"].div `
|
|
2129
|
+
z-index: 201;
|
|
2130
|
+
width: 100%;
|
|
2131
|
+
align-items: center;
|
|
2132
|
+
|
|
2133
|
+
background-color: ${miscTheme.theme.colors.white};
|
|
2134
|
+
|
|
2135
|
+
transition: height 0.3s, transform 0.3s;
|
|
2136
|
+
|
|
2137
|
+
&[data-win-cash-back-theme='true'] {
|
|
2138
|
+
background-color: ${miscTheme.theme.colors.blue900};
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
&[data-site-type='helloSites'] {
|
|
2142
|
+
border-bottom: 1px solid ${miscTheme.theme.colors.neutral100};
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
&[data-site-type='helloSites'][data-win-cash-back-theme='true'] {
|
|
2146
|
+
border-bottom: none;
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
&[data-sponsored='true'] {
|
|
2150
|
+
border-bottom: none;
|
|
2151
|
+
}
|
|
2152
|
+
&[data-marry-baby-tone='pink'] {
|
|
2153
|
+
background-color: ${miscTheme.theme.mbColors.lightPink};
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
${utils.MediaQueries.mbUp} {
|
|
2157
|
+
&[data-sitewide-banner-shown='true'][data-collapsed='true'] {
|
|
2158
|
+
transform: translateY(-64px);
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
${utils.MediaQueries.mbDown} {
|
|
2162
|
+
&[data-site-type='marryBaby'] {
|
|
2163
|
+
border-bottom: none;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
&[data-fixed-bar='true'] {
|
|
2167
|
+
position: fixed;
|
|
2168
|
+
transform: translateY(0);
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
&[data-fixed-bar='false'] {
|
|
2172
|
+
position: absolute;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
&[data-collapsed='true'] {
|
|
2176
|
+
transform: translateY(-100%);
|
|
2177
|
+
transition: transform 0.5s;
|
|
2178
|
+
}
|
|
2179
|
+
&[data-collapsed='false'] {
|
|
2180
|
+
transform: translateY(0);
|
|
2181
|
+
transition: transform 0.5s;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
.top-bar-header {
|
|
2185
|
+
line-height: normal;
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
&[data-header-type='home'] {
|
|
2189
|
+
z-index: ${Z_INDEX.headerContainerHome};
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
&[data-is-displayed='false'] {
|
|
2193
|
+
//display: none;
|
|
2194
|
+
visibility: hidden;
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
.marry-baby {
|
|
2199
|
+
input {
|
|
2200
|
+
background: ${miscTheme.theme.mbColors.lightGray};
|
|
2201
|
+
border-radius: 16px;
|
|
2202
|
+
border: none;
|
|
2203
|
+
}
|
|
2204
|
+
max-width: 172px;
|
|
2205
|
+
}
|
|
2206
|
+
&[data-site-type='marryBaby'] {
|
|
2207
|
+
.close-btn {
|
|
2208
|
+
top: 16px;
|
|
2209
|
+
right: 16px;
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
`;
|
|
2213
|
+
const StyledHeader = styled__default["default"].div `
|
|
2214
|
+
display: flex;
|
|
2215
|
+
height: 100%;
|
|
2216
|
+
align-items: center;
|
|
2217
|
+
|
|
2218
|
+
justify-content: space-between;
|
|
2219
|
+
padding: 0 2rem;
|
|
2220
|
+
height: 56px;
|
|
2221
|
+
${utils.MediaQueries.pcDown} {
|
|
2222
|
+
padding: 0 1rem;
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
${utils.MediaQueries.mbDown} {
|
|
2226
|
+
position: relative;
|
|
2227
|
+
height: 56px;
|
|
2228
|
+
background: ${miscTheme.theme.colors.white};
|
|
2229
|
+
gap: 2px;
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
&[data-win-cash-back-theme='true'] {
|
|
2233
|
+
${utils.MediaQueries.mbDown} {
|
|
2234
|
+
background: ${miscTheme.theme.colors.blue900};
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
&[data-site-type='marryBaby'] {
|
|
2239
|
+
width: 100%;
|
|
2240
|
+
margin: 0 auto;
|
|
1992
2241
|
padding: 0 16px;
|
|
1993
2242
|
${utils.MediaQueries.tdUp} {
|
|
1994
2243
|
max-width: 1064px;
|
|
@@ -2109,240 +2358,7 @@ const StyleButtonAiChat = styled__default["default"](index$2.Button) `
|
|
|
2109
2358
|
}
|
|
2110
2359
|
`;
|
|
2111
2360
|
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
const BtnClosePopup = ({ onClosePopup }) => {
|
|
2115
|
-
return (React__namespace["default"].createElement("div", { className: `${styles.closeWrapper} close-btn`, onClick: onClosePopup },
|
|
2116
|
-
React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
2117
|
-
React__namespace["default"].createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
|
|
2118
|
-
};
|
|
2119
|
-
|
|
2120
|
-
const PopupWrapper = ({ onClosePopup, isDisplay, children, isNavMenu, hideCloseBtn, stylesContainer, }) => {
|
|
2121
|
-
return (React__namespace["default"].createElement("div", { className: "hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools", "data-is-display": !!isDisplay, "data-is-nav-menu": !!isNavMenu },
|
|
2122
|
-
React__namespace["default"].createElement(index$c.Container, { className: "hhgcomp-navigation-popupwrapper-menuwrapper-child" },
|
|
2123
|
-
!hideCloseBtn && (React__namespace["default"].createElement("div", { className: styles.container },
|
|
2124
|
-
React__namespace["default"].createElement(BtnClosePopup, { onClosePopup: onClosePopup }))),
|
|
2125
|
-
React__namespace["default"].createElement(index$c.Container, { className: styles.gridContainer, style: stylesContainer }, children))));
|
|
2126
|
-
};
|
|
2127
|
-
|
|
2128
|
-
const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
|
|
2129
|
-
var _a;
|
|
2130
|
-
const { t } = index$1.useTranslations();
|
|
2131
|
-
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2132
|
-
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2133
|
-
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) => {
|
|
2134
|
-
if (!specialty)
|
|
2135
|
-
return {};
|
|
2136
|
-
return {
|
|
2137
|
-
name: String(specialty.name) || '',
|
|
2138
|
-
link: getCareSearchUrl({
|
|
2139
|
-
type: 'DOCTOR',
|
|
2140
|
-
specialtySlug: specialty.slug,
|
|
2141
|
-
locale,
|
|
2142
|
-
}),
|
|
2143
|
-
thumbnail: (specialty === null || specialty === void 0 ? void 0 : specialty.thumbnail) || '',
|
|
2144
|
-
};
|
|
2145
|
-
})) || [] }),
|
|
2146
|
-
React__namespace["default"].createElement(CareSpotlights, { spotlights: spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.SPECIALTIES}/` })));
|
|
2147
|
-
};
|
|
2148
|
-
|
|
2149
|
-
const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isOpen, }) => {
|
|
2150
|
-
const { t } = index$1.useTranslations();
|
|
2151
|
-
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2152
|
-
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2153
|
-
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) => {
|
|
2154
|
-
if (!cat)
|
|
2155
|
-
return {};
|
|
2156
|
-
return {
|
|
2157
|
-
name: cat.displayName || null,
|
|
2158
|
-
link: (cat === null || cat === void 0 ? void 0 : cat.customizedUrl) || (cat === null || cat === void 0 ? void 0 : cat.permalink) || '/',
|
|
2159
|
-
thumbnail: cat.iconUrl || null,
|
|
2160
|
-
};
|
|
2161
|
-
})) || [], headingTitle: t('home.navigator.menuItem.healthCategories') }),
|
|
2162
|
-
React__namespace["default"].createElement(CategorySpotlights, { spotlightsList: spotlightsList, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })));
|
|
2163
|
-
};
|
|
2164
|
-
|
|
2165
|
-
const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [], }) => {
|
|
2166
|
-
const { t } = index$1.useTranslations();
|
|
2167
|
-
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2168
|
-
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2169
|
-
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) => {
|
|
2170
|
-
if (!community)
|
|
2171
|
-
return {};
|
|
2172
|
-
return {
|
|
2173
|
-
name: community.name || '',
|
|
2174
|
-
link: community.slug || '/',
|
|
2175
|
-
thumbnail: community.thumbnail || '',
|
|
2176
|
-
};
|
|
2177
|
-
})) || [], headingTitle: t('home.navigator.menuItem.allCommunitiesheadingTitle') }),
|
|
2178
|
-
React__namespace["default"].createElement(CommunitySpotlights, { spotlights: spotlights })));
|
|
2179
|
-
};
|
|
2180
|
-
|
|
2181
|
-
const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [], healthTools = [], }) => {
|
|
2182
|
-
var _a;
|
|
2183
|
-
const { t } = index$1.useTranslations();
|
|
2184
|
-
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2185
|
-
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
|
|
2186
|
-
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2187
|
-
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) => ({
|
|
2188
|
-
name: t.title,
|
|
2189
|
-
link: t.link
|
|
2190
|
-
? t.link.startsWith('http')
|
|
2191
|
-
? t.link
|
|
2192
|
-
: `${statics.HOME_PAGE_URL}${t.link}`
|
|
2193
|
-
: undefined,
|
|
2194
|
-
thumbnail: t.icon,
|
|
2195
|
-
isMobileAppTool: t.isMobileAppTool,
|
|
2196
|
-
})) }),
|
|
2197
|
-
React__namespace["default"].createElement(ToolSpotlights, { spotlightHealthTools: spotlightHealthTools, hrefViewMore: hrefViewMore })));
|
|
2198
|
-
};
|
|
2199
|
-
|
|
2200
|
-
const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
2201
|
-
const { t } = index$1.useTranslations();
|
|
2202
|
-
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2203
|
-
const listing = React.useMemo(() => [
|
|
2204
|
-
{
|
|
2205
|
-
name: t('home.navigator.menu.videos'),
|
|
2206
|
-
link: `${statics.VIDEO_URL_FE}/video/`,
|
|
2207
|
-
thumbnail: index$5.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2208
|
-
},
|
|
2209
|
-
{
|
|
2210
|
-
name: t('home.navigator.menu.shorts'),
|
|
2211
|
-
link: `${statics.VIDEO_URL_FE}/short/`,
|
|
2212
|
-
thumbnail: index$5.CommonGAssets.getAssetPath('nav-icons/short.svg'),
|
|
2213
|
-
},
|
|
2214
|
-
// {
|
|
2215
|
-
// name: t('home.navigator.menu.podcasts'),
|
|
2216
|
-
// link: `${statics.VIDEO_URL_FE}/podcast/`,
|
|
2217
|
-
// thumbnail: CommonGAssets.getAssetPath('nav-icons/podcast.svg'),
|
|
2218
|
-
// },
|
|
2219
|
-
], []);
|
|
2220
|
-
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2221
|
-
React__namespace["default"].createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allVideos'), menuItems: listing, headingTitle: t('home.navigator.menuItem.videoCategories') }),
|
|
2222
|
-
React__namespace["default"].createElement(VideoSpotlights, { spotlightsList: spotlightsList })));
|
|
2223
|
-
};
|
|
2224
|
-
|
|
2225
|
-
styled__default["default"].div `
|
|
2226
|
-
display: grid;
|
|
2227
|
-
grid-template-columns: repeat(4, 1fr);
|
|
2228
|
-
gap: 24px;
|
|
2229
|
-
${utils.MediaQueries.tdDown} {
|
|
2230
|
-
gap: 12px;
|
|
2231
|
-
grid-template-columns: 1fr;
|
|
2232
|
-
}
|
|
2233
|
-
`;
|
|
2234
|
-
const StyleButton = styled__default["default"](index$2.Button) `
|
|
2235
|
-
border: 1px solid ${miscTheme.theme.colors.white} !important;
|
|
2236
|
-
.mantine-Button-leftIcon {
|
|
2237
|
-
width: 24px;
|
|
2238
|
-
height: 24px;
|
|
2239
|
-
}
|
|
2240
|
-
`;
|
|
2241
|
-
const StyleWrapperIcon = styled__default["default"].div `
|
|
2242
|
-
width: 20px;
|
|
2243
|
-
height: 20px;
|
|
2244
|
-
display: flex;
|
|
2245
|
-
justify-content: center;
|
|
2246
|
-
align-items: center;
|
|
2247
|
-
|
|
2248
|
-
border-radius: 5px;
|
|
2249
|
-
background: linear-gradient(
|
|
2250
|
-
180deg,
|
|
2251
|
-
rgba(255, 255, 255, 0.1) 15.1%,
|
|
2252
|
-
rgba(0, 0, 0, 0.01) 100%
|
|
2253
|
-
),
|
|
2254
|
-
linear-gradient(180deg, #65b5ff 0%, #2685f1 100%);
|
|
2255
|
-
background-blend-mode: soft-light, normal;
|
|
2256
|
-
`;
|
|
2257
|
-
|
|
2258
|
-
const InitialCart = () => (React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "512", height: "512", style: {
|
|
2259
|
-
width: '100%',
|
|
2260
|
-
height: '100%',
|
|
2261
|
-
contentVisibility: 'visible',
|
|
2262
|
-
}, viewBox: "0 0 512 512" },
|
|
2263
|
-
React__namespace["default"].createElement("defs", null,
|
|
2264
|
-
React__namespace["default"].createElement("clipPath", { id: "__lottie_element_2" },
|
|
2265
|
-
React__namespace["default"].createElement("path", { d: "M0 0h512v512H0z" })),
|
|
2266
|
-
React__namespace["default"].createElement("path", { fill: "#FFF", d: "m139 0-13 174h244l-30 292 165 1 4-466z", opacity: "1", id: "__lottie_element_6", display: "block" }),
|
|
2267
|
-
React__namespace["default"].createElement("mask", { id: "__lottie_element_6_1", "mask-type": "alpha" },
|
|
2268
|
-
React__namespace["default"].createElement("use", { xlinkHref: "#__lottie_element_6" }))),
|
|
2269
|
-
React__namespace["default"].createElement("g", { clipPath: "url(#__lottie_element_2)" },
|
|
2270
|
-
React__namespace["default"].createElement("path", { fill: "#2B62CD", d: "m430 181-40 41-111-120a18 18 0 0 1-5-13c0-5 2-9 5-13l6-5a18 18 0 0 1 25-1zm-348 0 40 41 111-120a18 18 0 0 0 0-26l-6-5a18 18 0 0 0-25-1z", display: "block" }),
|
|
2271
|
-
React__namespace["default"].createElement("g", { display: "block" },
|
|
2272
|
-
React__namespace["default"].createElement("path", { fill: "#2D87F3", d: "M385 427H125c-4 0-9-1-13-5a20 20 0 0 1-6-12L88 239h335l-18 171a20 20 0 0 1-7 12c-3 4-8 5-13 5" }),
|
|
2273
|
-
React__namespace["default"].createElement("path", { fill: "#2B62CD", d: "m160 402-5-2a6 6 0 0 1-1-4l-8-114v-2a6 6 0 0 1 3-4 6 6 0 0 1 5 0 6 6 0 0 1 4 5l8 115-1 2a6 6 0 0 1-1 2 6 6 0 0 1-4 2m61 0-5-2a6 6 0 0 1-1-4l-2-114c0-2 0-3 2-5a6 6 0 0 1 4-1l4 1a6 6 0 0 1 2 4l2 115a6 6 0 0 1-2 4 6 6 0 0 1-4 2zm131 0a6 6 0 0 1-5-4l-1-2 8-115a6 6 0 0 1 2-4l2-1a6 6 0 0 1 2 0 6 6 0 0 1 5 2 6 6 0 0 1 1 4l-8 114a6 6 0 0 1-6 6m-61 0a6 6 0 0 1-6-6l2-114 2-5a6 6 0 0 1 4-1 6 6 0 0 1 5 1 6 6 0 0 1 1 5l-2 114a6 6 0 0 1-1 4 6 6 0 0 1-5 2" }),
|
|
2274
|
-
React__namespace["default"].createElement("path", { fill: "#91CAFF", d: "M424 243H88a20 20 0 0 1-21-18l-3-28a20 20 0 0 1 20-23h344a20 20 0 0 1 20 23l-3 28a20 20 0 0 1-21 18" })),
|
|
2275
|
-
React__namespace["default"].createElement("g", { mask: "url(#__lottie_element_6_1)", display: "block" },
|
|
2276
|
-
React__namespace["default"].createElement("path", { fill: "#FFC326", d: "m294 198-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
|
|
2277
|
-
React__namespace["default"].createElement("path", { fill: "#FFD658", d: "M272 189c0 3 0 7 2 10a12 12 0 0 0 10 6h-81l-3-1c-3-1-5-3-6-5a15 15 0 0 1 5-19 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
|
|
2278
|
-
React__namespace["default"].createElement("path", { fill: "#FEA21E", d: "M277 326h-4c3 0 5-2 5-4l15-115 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-5-4-7-2-15 5-19 2-2 5-3 9-3h1c4 0 7 2 10 4l6 9 1 11 14 119-1 4z" }),
|
|
2279
|
-
React__namespace["default"].createElement("path", { fill: "#FC7419", d: "M303 310v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-5 1v1c0 2-1 3-2 3a3 3 0 0 1-3-2l1-4a9 9 0 0 1 11-4c3 1 5 3 6 6v9" })),
|
|
2280
|
-
React__namespace["default"].createElement("g", { display: "block" },
|
|
2281
|
-
React__namespace["default"].createElement("path", { fill: "#FFC326", d: "m460 330-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
|
|
2282
|
-
React__namespace["default"].createElement("path", { fill: "#FFD658", d: "M438 321c0 3 0 6 2 9a12 12 0 0 0 10 7h-81l-3-1c-3-1-5-3-6-6a15 15 0 0 1 5-18 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
|
|
2283
|
-
React__namespace["default"].createElement("path", { fill: "#FEA21E", d: "M443 458h-4c3 0 5-2 5-5l15-114 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-6-4-6-2-14 5-18 2-2 5-3 9-3h1c4 0 7 2 10 4s5 5 6 9l1 11 14 119-1 4z" }),
|
|
2284
|
-
React__namespace["default"].createElement("path", { fill: "#FC7419", d: "M469 442v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-4 1l-1 1-2 3a3 3 0 0 1-3-3l1-3a9 9 0 0 1 11-4c3 1 5 3 6 5 1 3 2 7 0 10" })))));
|
|
2285
|
-
|
|
2286
|
-
const InitialDoctor = () => (React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "512", height: "512", style: {
|
|
2287
|
-
width: '100%',
|
|
2288
|
-
height: '100%',
|
|
2289
|
-
contentVisibility: 'visible',
|
|
2290
|
-
}, viewBox: "0 0 512 512" },
|
|
2291
|
-
React__namespace["default"].createElement("defs", null,
|
|
2292
|
-
React__namespace["default"].createElement("clipPath", { id: "__lottie_element_23" },
|
|
2293
|
-
React__namespace["default"].createElement("path", { d: "M0 0h512v512H0z" }))),
|
|
2294
|
-
React__namespace["default"].createElement("g", { clipPath: "url(#__lottie_element_23)" },
|
|
2295
|
-
React__namespace["default"].createElement("g", { display: "block" },
|
|
2296
|
-
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "M430 332c-13-17-52-37-42-63 16-41-9-72-28-84-22-14-23-43-30-66-15-50-53-73-103-73s-88 21-103 71c-7 22-7 53-29 67-19 12-61 41-45 82 10 26-15 52-28 69-39 53 13 89 72 98l255 2c59-9 120-50 81-103" }),
|
|
2297
|
-
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M120 202c-11 4-13 17-10 29a29 29 0 0 0 14 17 29 29 0 0 0 22 3l-8-49a25 25 0 0 0-18 0" }),
|
|
2298
|
-
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M147 235a5 5 0 0 1-4-2c-6-8-17-8-17-8a5 5 0 0 1-4-2 5 5 0 0 1 0-7l4-1c1 0 16 0 25 11a5 5 0 0 1-4 9" }),
|
|
2299
|
-
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M332 202a25 25 0 0 0-18 0l-8 49a29 29 0 0 0 22-3c7-3 12-10 14-17 3-12 1-25-10-29" }),
|
|
2300
|
-
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M305 235a5 5 0 0 1-5-3 5 5 0 0 1 1-6c9-11 24-11 25-11a5 5 0 0 1 5 5 5 5 0 0 1-5 5s-11 0-17 8a5 5 0 0 1-4 2" }),
|
|
2301
|
-
React__namespace["default"].createElement("path", { fill: "#E3F2FF", d: "M366 452H86a3 3 0 0 1-4-4c5-19 19-47 37-65a153 153 0 0 1 42-28l1-1a85 85 0 0 1 29-19h70a84 84 0 0 1 29 19l1 1a153 153 0 0 1 42 28c18 18 32 46 37 65a3 3 0 0 1-1 3 3 3 0 0 1-3 1" }),
|
|
2302
|
-
React__namespace["default"].createElement("path", { fill: "#FCCAAF", d: "M261 335c-25 32-48 32-70 0l5-10v-1a45 45 0 0 0 2-13h56a48 48 0 0 0 2 13v1l5 10" }),
|
|
2303
|
-
React__namespace["default"].createElement("path", { fill: "#2D87F3", d: "M281 452H175c-14-93 16-117 16-117 7 9 20 15 35 15s28-6 35-15c0 0 9 12 16 37 5 20 6 60 4 80" }),
|
|
2304
|
-
React__namespace["default"].createElement("path", { fill: "#BCDEFF", d: "M191 335a84 84 0 0 0-30 19 53 53 0 0 0-13 28c0 3 11 1 16 0h1v1c-13 8-17 19-16 25 2 15 6 30 13 44h26s-12-72 3-117m96 48a1 1 0 0 1 0-1h1c1 0 0 0 0 0 5 1 16 3 16 0a53 53 0 0 0-13-28 83 83 0 0 0-30-19c15 45 3 117 3 117h26a157 157 0 0 0 13-44c1-6-3-17-16-25" }),
|
|
2305
|
-
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M256 325c-20 18-40 18-60 0v-1a46 46 0 0 0 2-13h56a48 48 0 0 0 2 13v1" }),
|
|
2306
|
-
React__namespace["default"].createElement("path", { fill: "#FCCAAF", d: "M314 205c-3 54-17 80-39 96-14 11-37 24-49 24s-35-13-49-24c-22-16-36-42-39-96 52-21 30-127 85-99a7 7 0 0 0 6 0c55-28 33 78 85 99" }),
|
|
2307
|
-
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M221 106c-27-12-34 12-43 40-7 25-16 54-41 63l1 3c43 0 71-62 83-106" })),
|
|
2308
|
-
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M233 233a5 5 0 0 0-4 2l-3 1-3-1a5 5 0 0 0-2-2 5 5 0 0 0-4 0 5 5 0 0 0-3 5c0 6 9 8 12 8s12-2 12-8a5 5 0 0 0-2-3 5 5 0 0 0-3-2", display: "block" }),
|
|
2309
|
-
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "m261 199 9-5a27 27 0 0 1 11-1c4 0 7 0 11 2l8 4a2 2 0 0 1 1 2 2 2 0 0 1 0 1h-1l-10-1h-9a20 20 0 0 0-7 2 65 65 0 0 0-7 4 5 5 0 0 1-4 1 5 5 0 0 1-3-2 5 5 0 0 1-1-2 5 5 0 0 1 2-5", display: "block" }),
|
|
2310
|
-
React__namespace["default"].createElement("path", { fill: "#284A75", d: "M280 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
|
|
2311
|
-
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "m192 210-7-4-7-2h-9l-9 1a2 2 0 0 1-2-1v-1l1-1 9-4c3-2 6-2 10-2 4-1 7 0 11 1l9 5a5 5 0 0 1 2 3v4a5 5 0 0 1-7 2l-1-1", display: "block" }),
|
|
2312
|
-
React__namespace["default"].createElement("path", { fill: "#284A75", d: "M184 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
|
|
2313
|
-
React__namespace["default"].createElement("g", { fill: "#FFF", display: "block" },
|
|
2314
|
-
React__namespace["default"].createElement("path", { d: "m216 213-4-1a5 5 0 0 1-1-3v-4a5 5 0 0 1 3-2 33 33 0 0 1 24 0 5 5 0 0 1 3 7 5 5 0 0 1-3 2h-3a23 23 0 0 0-18 1h-1" }),
|
|
2315
|
-
React__namespace["default"].createElement("path", { d: "M183 249a38 38 0 0 1-35-23 38 38 0 0 1-2-22 38 38 0 0 1 11-19 38 38 0 0 1 19-11c7-1 15 0 22 2a38 38 0 0 1 16 14 38 38 0 0 1 7 21 38 38 0 0 1-11 27 38 38 0 0 1-27 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 42-4c3-4 4-9 4-15a27 27 0 0 0-8-19 27 27 0 0 0-19-8zm86 65a38 38 0 0 1-35-24 38 38 0 0 1 27-51 38 38 0 0 1 39 16 38 38 0 0 1 6 21 38 38 0 0 1-11 27 38 38 0 0 1-26 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 46-19 27 27 0 0 0-8-19 27 27 0 0 0-19-8z" })),
|
|
2316
|
-
React__namespace["default"].createElement("path", { d: "m205 180-2-1c-10-4-39-9-47-1a5 5 0 0 1-3 2 5 5 0 0 1-4-2 5 5 0 0 1-2-3l1-4c14-15 52-4 59-1a5 5 0 0 1 3 6 5 5 0 0 1-2 3l-3 1zm42 0-3-1a5 5 0 0 1-1-7 5 5 0 0 1 2-2c7-3 45-14 59 1a5 5 0 0 1 1 4l-2 3a5 5 0 0 1-4 2l-3-2c-8-8-37-3-47 1l-2 1", fill: "#284A75", display: "block" }),
|
|
2317
|
-
React__namespace["default"].createElement("path", { fill: "#FF886C", d: "M208 260a4 4 0 0 0-3 1 4 4 0 0 0-1 3c2 8 6 19 22 19s21-11 22-19a4 4 0 0 0-4-4l-18-1-18 1", display: "block" }),
|
|
2318
|
-
React__namespace["default"].createElement("g", { display: "block" },
|
|
2319
|
-
React__namespace["default"].createElement("g", { fill: "#FFF" },
|
|
2320
|
-
React__namespace["default"].createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
|
|
2321
|
-
React__namespace["default"].createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" })),
|
|
2322
|
-
React__namespace["default"].createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
|
|
2323
|
-
React__namespace["default"].createElement("path", { fill: "#FFF", d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
|
|
2324
|
-
React__namespace["default"].createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
|
|
2325
|
-
React__namespace["default"].createElement("path", { fill: "#FF6F4D", d: "M389 358h-11a17 17 0 0 0-12 5 17 17 0 0 0-5 12v3l-1 3a4 4 0 0 1-3 1h-3a17 17 0 0 0-17 17v12a17 17 0 0 0 17 17h3a4 4 0 0 1 4 3v3a17 17 0 0 0 17 17h11c5 0 9-2 12-5s5-7 5-12v-3a4 4 0 0 1 4-3h3c4 0 9-2 12-5s5-8 5-12v-12c0-5-2-9-5-12a17 17 0 0 0-12-5h-3a4 4 0 0 1-4-4v-3a17 17 0 0 0-5-12 17 17 0 0 0-12-5" })))));
|
|
2326
|
-
|
|
2327
|
-
const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
2328
|
-
const { locale, configs: { enableAppIntroPage }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2329
|
-
const ecomNavItem = menuItems.find((m) => m.id === 'ecom');
|
|
2330
|
-
const careNavItem = menuItems.find((m) => m.id === 'care');
|
|
2331
|
-
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true, hideCloseBtn: true, stylesContainer: {
|
|
2332
|
-
display: 'flex',
|
|
2333
|
-
gap: 0,
|
|
2334
|
-
padding: 0,
|
|
2335
|
-
} },
|
|
2336
|
-
ecomNavItem && (React__namespace["default"].createElement("a", { tabIndex: 0, href: ecomNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": ecomNavItem.link },
|
|
2337
|
-
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(InitialCart, null) }, ecomNavItem.name))),
|
|
2338
|
-
careNavItem && (React__namespace["default"].createElement("a", { tabIndex: 0, href: careNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": careNavItem.link },
|
|
2339
|
-
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(InitialDoctor, null) }, careNavItem.name))),
|
|
2340
|
-
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` },
|
|
2341
|
-
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(StyleWrapperIcon, null,
|
|
2342
|
-
React__namespace["default"].createElement(core.Logo, { width: 16, height: 15 })) }, `${index$3.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
2343
|
-
};
|
|
2344
|
-
|
|
2345
|
-
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, customClasses, winCashBackTheme, }) => {
|
|
2361
|
+
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, customClasses, }) => {
|
|
2346
2362
|
var _a, _b, _c, _d;
|
|
2347
2363
|
const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, isHomepage = false,
|
|
2348
2364
|
// onBookingClick,
|
|
@@ -2359,7 +2375,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2359
2375
|
// enableProfileEcom,
|
|
2360
2376
|
}, userState: { userInfo }, onLogout,
|
|
2361
2377
|
// userProfileRouterPush,
|
|
2362
|
-
isUserLoading, slot, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2378
|
+
isUserLoading, slot, isWinCashBackTheme: winCashBackTheme, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2363
2379
|
const { triggerLogin } = store.useSSOV2Store();
|
|
2364
2380
|
const { SSO_URL, HOME_PAGE_URL } = statics;
|
|
2365
2381
|
const isSponsored = !!sponsorComponent;
|
|
@@ -2415,23 +2431,23 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2415
2431
|
scrolling();
|
|
2416
2432
|
}, [isMobile]);
|
|
2417
2433
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
2418
|
-
return (React__namespace["default"].createElement(StyledHeaderWrapper, { "data-site-type": siteType, "data-sponsored": isSponsored, "data-sitewide-banner-shown": isShowingSiteWideBanner, "data-header-type": "home", "data-collapsed": isCollapsed, "data-is-displayed": true, id: "site-header", ref: headerRef,
|
|
2434
|
+
return (React__namespace["default"].createElement(StyledHeaderWrapper, { "data-site-type": siteType, "data-sponsored": isSponsored, "data-sitewide-banner-shown": isShowingSiteWideBanner, "data-header-type": "home", "data-collapsed": isCollapsed, "data-is-displayed": true, "data-win-cash-back-theme": winCashBackTheme, id: "site-header", ref: headerRef, className: customClasses.wrapper },
|
|
2419
2435
|
sitewideBanner,
|
|
2420
|
-
React__namespace["default"].createElement(StyledHeader, { className: customClasses.header, "data-site-type": siteType,
|
|
2436
|
+
React__namespace["default"].createElement(StyledHeader, { className: customClasses.header, "data-site-type": siteType, "data-win-cash-back-theme": winCashBackTheme },
|
|
2421
2437
|
React__namespace["default"].createElement(StyledLeftGroup, { className: customClasses.leftGroup, "data-site-type": siteType },
|
|
2422
|
-
isMobile && (React__namespace["default"].createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType
|
|
2423
|
-
logoComponent
|
|
2438
|
+
isMobile && (React__namespace["default"].createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType })),
|
|
2439
|
+
logoComponent || (React__namespace["default"].createElement("a", { style: {
|
|
2424
2440
|
flexShrink: 0,
|
|
2425
2441
|
}, href: HOME_PAGE_URL },
|
|
2426
2442
|
React__namespace["default"].createElement("div", null,
|
|
2427
2443
|
React__namespace["default"].createElement(index$d.Logo, { style: {
|
|
2428
2444
|
display: 'flex',
|
|
2429
|
-
}, type: logoType, badge: locale === 'id-ID' && (React__namespace["default"].createElement("img", { src: index$
|
|
2430
|
-
!isMobile && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null, siteType === 'marryBaby' ? (React__namespace["default"].createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems, className: customClasses.navMenu })) : (enableSearchBar && (React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile
|
|
2445
|
+
}, type: logoType, badge: locale === 'id-ID' && (React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server', isLightLogo: winCashBackTheme })))),
|
|
2446
|
+
!isMobile && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null, siteType === 'marryBaby' ? (React__namespace["default"].createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems, className: customClasses.navMenu })) : (enableSearchBar && (React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile })))))),
|
|
2431
2447
|
React__namespace["default"].createElement(StyledRightGroup, { className: customClasses.rightGroup, "data-site-type": siteType },
|
|
2432
2448
|
!isMobile && siteType !== 'marryBaby' && (React__namespace["default"].createElement(NavigationMenu, { menuItems: menuItems.filter((m) => locale === Locale.LOCALE.Vietnam
|
|
2433
2449
|
? m.id !== 'ecom' && m.id !== 'care'
|
|
2434
|
-
: true), originalMenuItems: menuItems,
|
|
2450
|
+
: true), originalMenuItems: menuItems, className: customClasses.navMenu })),
|
|
2435
2451
|
React__namespace["default"].createElement(StyledProfileNavGroup, null,
|
|
2436
2452
|
languageMenu,
|
|
2437
2453
|
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" },
|
|
@@ -2439,11 +2455,11 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2439
2455
|
_b.SITE_NAME,
|
|
2440
2456
|
" AI"))),
|
|
2441
2457
|
enableNavClinityDownload && (React__namespace["default"].createElement(core$1.Box, { component: "a", href: `${(_c = index$3.STATIC_PAGES[locale]) === null || _c === void 0 ? void 0 : _c.CLINITY_DOWNLOAD_LINK}`, target: "_blank", "data-event-category": "Hamburger Navigation", "data-event-action": "Download Clinity", "data-event-label": `${(_d = index$3.STATIC_PAGES[locale]) === null || _d === void 0 ? void 0 : _d.CLINITY_DOWNLOAD_LINK}`, "data-cart-menu": true },
|
|
2442
|
-
React__namespace["default"].createElement("img", { src: index$
|
|
2458
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('clinity-download.png'), alt: "Clinity", className: "clinity-logo", style: { display: 'block' } }))),
|
|
2443
2459
|
slot,
|
|
2444
2460
|
React__namespace["default"].createElement(navigationProfileButton.NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin,
|
|
2445
2461
|
// SSO_URL={normalizeLink(statics.SSO_URL)}
|
|
2446
|
-
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile,
|
|
2462
|
+
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile, className: customClasses.profileBtn }),
|
|
2447
2463
|
cartNumber !== undefined && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
2448
2464
|
!isMobile && (React__namespace["default"].createElement("hr", { style: {
|
|
2449
2465
|
height: 20,
|
|
@@ -2453,7 +2469,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2453
2469
|
} })),
|
|
2454
2470
|
React__namespace["default"].createElement(CartBadge, { "data-cart-menu": "true", "data-event-category": "Ecommerce", "data-event-action": "Cart Click", "data-event-label": currentUrl, count: cartNumber, locale: locale })))))),
|
|
2455
2471
|
isMobile && isHomepage && (React__namespace["default"].createElement(StyleWrapperNavigtionSearch, { style: { padding: winCashBackTheme ? '12px 16px' : undefined } },
|
|
2456
|
-
React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile, isHomepage: isHomepage
|
|
2472
|
+
React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile, isHomepage: isHomepage }))),
|
|
2457
2473
|
sponsorComponent
|
|
2458
2474
|
? !React__namespace["default"].isValidElement(sponsorComponent)
|
|
2459
2475
|
? sponsorComponent
|
|
@@ -2465,12 +2481,12 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2465
2481
|
: null,
|
|
2466
2482
|
subHead && subHead));
|
|
2467
2483
|
};
|
|
2468
|
-
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false,
|
|
2469
|
-
React__namespace["default"].createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, isRedirectSearchPage: isRedirectSearchPage
|
|
2470
|
-
const NavigationMenu = ({ menuItems, originalMenuItems, className,
|
|
2484
|
+
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false, }) => (React__namespace["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbUp", className: `${siteType === 'marryBaby' ? 'marry-baby' : ''} ${isHomepage ? 'block-show' : ''}` },
|
|
2485
|
+
React__namespace["default"].createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, isRedirectSearchPage: isRedirectSearchPage })));
|
|
2486
|
+
const NavigationMenu = ({ menuItems, originalMenuItems, className, }) => {
|
|
2471
2487
|
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2472
2488
|
return (React__namespace["default"].createElement(DisplayWrapper, { className: className, mediaQueryKey: "mbUp", style: { height: '100%' } },
|
|
2473
|
-
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
|
|
2489
|
+
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 }))))));
|
|
2474
2490
|
};
|
|
2475
2491
|
|
|
2476
2492
|
const useHeaderHeight = ({ hasSponsoredBanners, isSponsored, isShowingSiteWideBanner, isMobile, }) => {
|
|
@@ -2585,8 +2601,8 @@ const useNavServices = () => {
|
|
|
2585
2601
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`,
|
|
2586
2602
|
niceName: '',
|
|
2587
2603
|
thumbnail: isMarryBaby
|
|
2588
|
-
? index$
|
|
2589
|
-
: index$
|
|
2604
|
+
? index$6.CommonGAssets.getAssetPath('categories-mb.svg')
|
|
2605
|
+
: index$6.CommonGAssets.getAssetPath('nav-icons/discover.svg'),
|
|
2590
2606
|
popupType: 'categories',
|
|
2591
2607
|
});
|
|
2592
2608
|
enableNavVideo &&
|
|
@@ -2595,7 +2611,7 @@ const useNavServices = () => {
|
|
|
2595
2611
|
id: 'video',
|
|
2596
2612
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`,
|
|
2597
2613
|
niceName: '',
|
|
2598
|
-
thumbnail: index$
|
|
2614
|
+
thumbnail: index$6.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2599
2615
|
popupType: 'video',
|
|
2600
2616
|
});
|
|
2601
2617
|
enableNavHealthTools &&
|
|
@@ -2604,8 +2620,8 @@ const useNavServices = () => {
|
|
|
2604
2620
|
id: 'tools',
|
|
2605
2621
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`,
|
|
2606
2622
|
thumbnail: isMarryBaby
|
|
2607
|
-
? index$
|
|
2608
|
-
: index$
|
|
2623
|
+
? index$6.CommonGAssets.getAssetPath('healthtools-mb.svg')
|
|
2624
|
+
: index$6.CommonGAssets.getAssetPath('nav-icons/health-tools.svg'),
|
|
2609
2625
|
popupType: 'tools',
|
|
2610
2626
|
});
|
|
2611
2627
|
enableNavTogether &&
|
|
@@ -2614,8 +2630,8 @@ const useNavServices = () => {
|
|
|
2614
2630
|
id: 'together',
|
|
2615
2631
|
link: normalizeLink.normalizeLinkSlash(statics.TOGETHER_URL_FE + '/'),
|
|
2616
2632
|
thumbnail: isMarryBaby
|
|
2617
|
-
? index$
|
|
2618
|
-
: index$
|
|
2633
|
+
? index$6.CommonGAssets.getAssetPath('community-mb.svg')
|
|
2634
|
+
: index$6.CommonGAssets.getAssetPath('nav-icons/community.svg'),
|
|
2619
2635
|
popupType: 'together',
|
|
2620
2636
|
});
|
|
2621
2637
|
enableNavEcom &&
|
|
@@ -2623,7 +2639,7 @@ const useNavServices = () => {
|
|
|
2623
2639
|
name: t('home.navigator.menuItem.helloEcom'),
|
|
2624
2640
|
id: 'ecom',
|
|
2625
2641
|
link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/shop/'),
|
|
2626
|
-
thumbnail: index$
|
|
2642
|
+
thumbnail: index$6.CommonGAssets.getAssetPath('nav-icons/shop.svg'),
|
|
2627
2643
|
popupType: null,
|
|
2628
2644
|
});
|
|
2629
2645
|
enableNavCare &&
|
|
@@ -2631,7 +2647,7 @@ const useNavServices = () => {
|
|
|
2631
2647
|
name: t('home.navigator.menuItem.helloCare'),
|
|
2632
2648
|
id: 'care',
|
|
2633
2649
|
link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/care/'),
|
|
2634
|
-
thumbnail: index$
|
|
2650
|
+
thumbnail: index$6.CommonGAssets.getAssetPath('nav-icons/care.svg'),
|
|
2635
2651
|
popupType: null,
|
|
2636
2652
|
});
|
|
2637
2653
|
enableNavViewMore &&
|
|
@@ -2680,7 +2696,7 @@ const StyledContainer = styled__default["default"].div `
|
|
|
2680
2696
|
|
|
2681
2697
|
const _NavigationV2 = (props) => {
|
|
2682
2698
|
var _a, _b;
|
|
2683
|
-
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, customClasses = {},
|
|
2699
|
+
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, customClasses = {}, } = props;
|
|
2684
2700
|
const services = useNavServices();
|
|
2685
2701
|
useInsider();
|
|
2686
2702
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
@@ -2704,7 +2720,7 @@ const _NavigationV2 = (props) => {
|
|
|
2704
2720
|
'--header-bottom': headerBottom + 'px',
|
|
2705
2721
|
}, className: className },
|
|
2706
2722
|
React__namespace["default"].createElement("section", { ref: headerRef },
|
|
2707
|
-
React__namespace["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__namespace["default"].createElement(index$
|
|
2723
|
+
React__namespace["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__namespace["default"].createElement(index$b.LanguageSwitcher, { languageOptions: languageOptions, locale: locale }), customClasses: customClasses }))));
|
|
2708
2724
|
};
|
|
2709
2725
|
const NavigationV2 = (props) => {
|
|
2710
2726
|
const propsWithDefaultValues = Object.assign({ siteType: 'helloSites', projectType: 'discover', locale: 'vi-VN', activeMenuService: 'categories', ssrMenuContent: {} }, props);
|