@hhgtech/hhg-components 1.29.445-beta-3 → 1.29.445-beta-5
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-0aef4865.js → InputDate-9e33a9c9.js} +5 -5
- package/build/{LastPeriod-754dc9b6.js → LastPeriod-c0bb74c5.js} +1 -1
- package/build/{MobileBottomNavigationIcon-80813d21.js → MobileBottomNavigationIcon-aece2c3a.js} +3 -3
- package/build/{Spinner-810c6164.js → Spinner-dd971443.js} +1 -1
- package/build/{WhatsApp-252d210a.js → WhatsApp-1ab7ecc7.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +50 -50
- package/build/babyGrowth.js +85 -85
- 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/molecules/list/type.d.ts +2 -0
- package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +1 -1
- package/build/components/navigationV2/utils.d.ts +14 -0
- package/build/components.js +103 -103
- package/build/{constants-713c0aad.js → constants-bc213d0e.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-160b4e7b.js → core-619fad62.js} +1 -1
- package/build/{dataTransform-3307f9ac.js → dataTransform-81dcf3ef.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-af98f973.js → editor-4a22dc10.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/embeddedHeathToolCards_babyPoop.js +20 -20
- package/build/embeddedHeathToolCards_babyVaccine.js +23 -23
- package/build/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
- package/build/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +28 -28
- package/build/esm/{InputDate-a50e92f0.js → InputDate-cf1ca78d.js} +5 -5
- package/build/esm/{LastPeriod-7ef48680.js → LastPeriod-b50fb3b5.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-72295846.js → MobileBottomNavigationIcon-4444ca0e.js} +3 -3
- package/build/esm/{Spinner-4fd8baf9.js → Spinner-a62a41b4.js} +1 -1
- package/build/esm/{WhatsApp-1e4cdd81.js → WhatsApp-054df500.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +50 -50
- package/build/esm/babyGrowth.js +85 -85
- 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/molecules/list/type.d.ts +2 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +1 -1
- package/build/esm/components/navigationV2/utils.d.ts +14 -0
- package/build/esm/components.js +103 -103
- package/build/esm/{constants-cf9687f9.js → constants-a44716e4.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-cb8cb5f7.js → core-843fb59c.js} +1 -1
- package/build/esm/{dataTransform-8152b5ef.js → dataTransform-d3abbf3b.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-74245466.js → editor-83d52594.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/esm/embeddedHeathToolCards_babyPoop.js +20 -20
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +23 -23
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +28 -28
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-99e2b606.js → healthTools-cd2133cf.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +19 -19
- package/build/esm/healthToolsForm.js +34 -34
- 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-358a36c8.js → index-05817a17.js} +17 -17
- package/build/esm/{index-99e8f953.js → index-0e82ff60.js} +13 -13
- package/build/esm/{index-d03eea30.js → index-12b2402d.js} +13 -13
- package/build/esm/{index-af50c7e3.js → index-14c86f99.js} +2 -2
- package/build/esm/{index-1cae5b48.js → index-15f54393.js} +4 -4
- package/build/esm/{index-c5dfae4a.js → index-16a216fd.js} +15 -15
- package/build/esm/{index-0b36f2be.js → index-20af0112.js} +2 -2
- package/build/esm/{index-4e814461.js → index-27cd5145.js} +3 -3
- package/build/esm/{index-e0e60c21.js → index-2ae5b78c.js} +6 -6
- package/build/esm/{index-85faf1ce.js → index-2bc89e13.js} +6 -6
- package/build/esm/{index-fc48ec6c.js → index-2e4290e7.js} +3 -3
- package/build/esm/{index-6593f2eb.js → index-2fbbc116.js} +5 -5
- package/build/esm/{index-030446d0.js → index-303fc949.js} +3 -3
- package/build/esm/{index-101708d6.js → index-351d17df.js} +25 -25
- package/build/esm/{index-da1da1cf.js → index-378d09e8.js} +1 -1
- package/build/esm/{index-7cfc9965.js → index-394cbac6.js} +2 -2
- package/build/esm/{index-d8505513.js → index-3e7dae5c.js} +22 -22
- package/build/esm/{index-e0ef3e9f.js → index-3fa73f7b.js} +2 -2
- package/build/esm/{index-ff490f01.js → index-403b7822.js} +4 -4
- package/build/esm/{index-2e8eef4b.js → index-45cd613b.js} +3 -3
- package/build/esm/{index-39b4a8cf.js → index-4a473858.js} +2 -2
- package/build/esm/{index-3290dd50.js → index-4d44901b.js} +2 -2
- package/build/esm/{index-6aaf4bcd.js → index-50843ae9.js} +1 -1
- package/build/esm/{index-5bdf40de.js → index-5232f427.js} +2 -2
- package/build/esm/{index-a285e86c.js → index-5685798f.js} +7 -7
- package/build/esm/{index-57a20770.js → index-5bc36de9.js} +10 -10
- package/build/esm/{index-6414371d.js → index-5bc8f3f2.js} +17 -17
- package/build/esm/{index-7ef2c1d4.js → index-6331a7da.js} +1 -1
- package/build/esm/{index-68a772c2.js → index-6cd50150.js} +32 -27
- package/build/esm/{index-2f4e737a.js → index-6da454f7.js} +11 -11
- package/build/esm/{index-8b547977.js → index-6f9900f9.js} +13 -13
- package/build/esm/{index-b57882b5.js → index-7000f384.js} +8 -8
- package/build/esm/{index-4f086c15.js → index-71c7e94b.js} +7 -7
- package/build/esm/{index-2db707ca.js → index-7cb742c5.js} +9 -9
- package/build/esm/{index-e3f32f09.js → index-83a11b84.js} +2 -2
- package/build/esm/{index-94fa4032.js → index-85c4f573.js} +3 -3
- package/build/esm/{index-e3f5c70c.js → index-8a2534a1.js} +1 -1
- package/build/esm/{index-4a353704.js → index-9a65f4d4.js} +15 -15
- package/build/esm/{index-bcd9c9d8.js → index-9bd218ab.js} +20 -20
- package/build/esm/{index-ec3474bb.js → index-9d0f8a2f.js} +32 -32
- package/build/esm/{index-7db7598d.js → index-a80a02eb.js} +1 -1
- package/build/esm/{index-daf02724.js → index-b08c5fe5.js} +17 -17
- package/build/esm/{index-321a4211.js → index-b57295e9.js} +1 -1
- package/build/esm/{index-b3af7cc9.js → index-bacc1cb2.js} +2 -2
- package/build/esm/{index-e8aa055d.js → index-bc855a72.js} +8 -8
- package/build/esm/{index-cca310f9.js → index-c0b4a8a6.js} +16 -16
- package/build/esm/{index-eb851705.js → index-c13affb5.js} +15 -15
- package/build/esm/{index-1ac7fab9.js → index-c16c9f46.js} +13 -13
- package/build/esm/{index-c9c61f0c.js → index-c5e0fb62.js} +2 -2
- package/build/esm/{index-fa5c182d.js → index-c7897c77.js} +32 -32
- package/build/esm/{index-e0290a4f.js → index-ca2ce788.js} +6 -6
- package/build/esm/{index-771be566.js → index-cd2dea23.js} +2 -2
- package/build/esm/{index-79ec3861.js → index-d2925ed5.js} +2 -2
- package/build/esm/{index-4b3e64bc.js → index-d66ab54e.js} +3 -3
- package/build/esm/{index-4990fb36.js → index-d6f8357c.js} +3 -3
- package/build/esm/{index-1bb89b59.js → index-d878e444.js} +14 -14
- package/build/esm/{index-7b2dce1e.js → index-d94cdc2b.js} +6 -6
- package/build/esm/{index-61f3705b.js → index-da41c945.js} +2 -2
- package/build/esm/{index-b2df7f65.js → index-dcb71bc8.js} +2 -2
- package/build/esm/{index-ff4da99c.js → index-e0f63a67.js} +17 -17
- package/build/esm/{index-15027670.js → index-e33b3864.js} +13 -13
- package/build/esm/{index-299cc0df.js → index-e5c2bad4.js} +1 -1
- package/build/esm/{index-aeca65af.js → index-e87c0d9d.js} +4 -4
- package/build/esm/{index-299cf968.js → index-eb76f748.js} +291 -248
- package/build/esm/{index-e0600aae.js → index-ec77517b.js} +21 -21
- package/build/esm/{index-7454978b.js → index-f216270d.js} +2 -2
- package/build/esm/{index-6f22f569.js → index-f4458765.js} +16 -16
- package/build/esm/{index-a4a2936e.js → index-f58f839d.js} +3 -3
- package/build/esm/{index-dcfb2728.js → index-f62865fe.js} +2 -2
- package/build/esm/{index-d323c62c.js → index-fa3b6758.js} +13 -13
- package/build/esm/{index-ba7ff375.js → index-fe713c23.js} +2 -2
- package/build/esm/index.js +124 -124
- package/build/esm/{labelSorting-430ed549.js → labelSorting-64559845.js} +4 -4
- package/build/esm/lead.js +36 -36
- package/build/esm/{logoIcon-50b39dcd.js → logoIcon-62210bce.js} +2 -2
- package/build/esm/mantine.js +26 -26
- 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 +77 -77
- 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 +27 -27
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +57 -57
- package/build/esm/{post-07d298c5.js → post-a61e3eec.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-3c7eaf2c.js → store-4671319b.js} +3 -3
- package/build/esm/subot.js +37 -37
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-ff0f7bb1.js → surveyThankyouCard-d14197a6.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-75e69817.js → translationsProvider-41ea210d.js} +1 -1
- package/build/esm/{treePopoverMenu-06f07c4f.js → treePopoverMenu-9c1b15b1.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-ebb4441b.js → useHealthToolCache-8105a281.js} +1 -1
- package/build/esm/{usePhoneValidator-34f50ad9.js → usePhoneValidator-e06909ac.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-f9095862.js → usePlacesAutocomplete-3064078b.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-4dcfb613.js → utils-31ebea5c.js} +1 -1
- package/build/esm/{utils-ae7025a0.js → utils-4c1da29a.js} +3 -3
- package/build/esm/{utils-4443a6b7.js → utils-5ed68a99.js} +5 -5
- package/build/esm/{utils-41338ce1.js → utils-ad3cb6f1.js} +2 -2
- package/build/esm/{utils-29adea02.js → utils-e3cb6dd6.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-0cad0725.js → healthTools-8405d9ca.js} +1 -1
- package/build/healthToolsCardWrapper.js +19 -19
- package/build/healthToolsForm.js +34 -34
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-81849a08.js → index-0339d2cb.js} +2 -2
- package/build/{index-97fdb118.js → index-0475ec52.js} +8 -8
- package/build/{index-cea5b2e3.js → index-089f4525.js} +4 -4
- package/build/{index-8cbde3bf.js → index-0b70f13f.js} +4 -4
- package/build/{index-12004387.js → index-0ea58184.js} +1 -1
- package/build/{index-bb0fff76.js → index-1210f8a5.js} +2 -2
- package/build/{index-f6b9360e.js → index-12d89aa4.js} +2 -2
- package/build/{index-4c4c713a.js → index-14d5532e.js} +3 -3
- package/build/{index-27fe1039.js → index-18110eda.js} +13 -13
- package/build/{index-d847e297.js → index-18872277.js} +32 -27
- package/build/{index-276c0aed.js → index-191a0e09.js} +2 -2
- package/build/{index-bfd76ac5.js → index-1ac59337.js} +3 -3
- package/build/{index-fb3908db.js → index-1bbe8d65.js} +13 -13
- package/build/{index-5caaefec.js → index-1ca5ace2.js} +11 -11
- package/build/{index-85223ce9.js → index-1e15408d.js} +2 -2
- package/build/{index-0694baf4.js → index-1e788335.js} +3 -3
- package/build/{index-780443a9.js → index-21de3846.js} +6 -6
- package/build/{index-9834a64b.js → index-25677ea2.js} +2 -2
- package/build/{index-61b4156e.js → index-2c56b1dd.js} +15 -15
- package/build/{index-ac743804.js → index-2dc5904b.js} +6 -6
- package/build/{index-6c6018e4.js → index-34e790bc.js} +1 -1
- package/build/{index-d48c0294.js → index-35024754.js} +2 -2
- package/build/{index-926e5da1.js → index-358eda9a.js} +15 -15
- package/build/{index-a67bb33a.js → index-35edc6d7.js} +2 -2
- package/build/{index-f4d95d39.js → index-39a1d139.js} +1 -1
- package/build/{index-1f9a9514.js → index-3c62761e.js} +1 -1
- package/build/{index-1c8662da.js → index-41fef04f.js} +1 -1
- package/build/{index-8828a547.js → index-4336e00f.js} +2 -2
- package/build/{index-d69c1f75.js → index-435f2c1f.js} +13 -13
- package/build/{index-39708e70.js → index-43c82cee.js} +2 -2
- package/build/{index-c1217fa3.js → index-43fed5b1.js} +13 -13
- package/build/{index-a743db12.js → index-4c6f1159.js} +294 -251
- package/build/{index-20c07a31.js → index-4d40d791.js} +13 -13
- package/build/{index-d0de9dae.js → index-57801cd4.js} +3 -3
- package/build/{index-ac128198.js → index-5926dcc5.js} +32 -32
- package/build/{index-dd90f877.js → index-59d0ba33.js} +14 -14
- package/build/{index-9c6a5279.js → index-5cc3becf.js} +21 -21
- package/build/{index-ce642b6e.js → index-703e2c9c.js} +5 -5
- package/build/{index-43b0ca93.js → index-705097d7.js} +2 -2
- package/build/{index-1b7cadfd.js → index-7651ab36.js} +3 -3
- package/build/{index-7e5929ae.js → index-7fa177db.js} +2 -2
- package/build/{index-44ec4195.js → index-899d80eb.js} +17 -17
- package/build/{index-4d0409ca.js → index-9ab96ddd.js} +15 -15
- package/build/{index-ed34284e.js → index-a3dab346.js} +6 -6
- package/build/{index-9c269cdf.js → index-a4a8dd44.js} +2 -2
- package/build/{index-95716b18.js → index-a736cad8.js} +4 -4
- package/build/{index-d587dfbc.js → index-b014f863.js} +1 -1
- package/build/{index-0cdcb0e1.js → index-bdb87497.js} +25 -25
- package/build/{index-21f6fc57.js → index-bfa6d38c.js} +2 -2
- package/build/{index-4957bc15.js → index-c086587f.js} +6 -6
- package/build/{index-fd6325bc.js → index-c21dd18c.js} +22 -22
- package/build/{index-039dbe2d.js → index-cb111ebe.js} +2 -2
- package/build/{index-850499b4.js → index-ce0a07a4.js} +2 -2
- package/build/{index-fdb07b2b.js → index-ce25363c.js} +3 -3
- package/build/{index-1e93e431.js → index-d4fabfa2.js} +7 -7
- package/build/{index-076b319a.js → index-e1bfec1e.js} +17 -17
- package/build/{index-e9260f1d.js → index-e96a5502.js} +16 -16
- package/build/{index-5c15c840.js → index-eb49d00f.js} +3 -3
- package/build/{index-79fb2081.js → index-ebf7252d.js} +1 -1
- package/build/{index-13e99469.js → index-ec93975c.js} +32 -32
- package/build/{index-554932e3.js → index-f0abbf15.js} +17 -17
- package/build/{index-f3a6f2be.js → index-f0e23281.js} +8 -8
- package/build/{index-17cb134f.js → index-f45abf49.js} +9 -9
- package/build/{index-edf42686.js → index-f56e2ea0.js} +16 -16
- package/build/{index-bfc39a92.js → index-f5f7b115.js} +3 -3
- package/build/{index-6925c563.js → index-f68ae941.js} +2 -2
- package/build/{index-686a5052.js → index-faff9aa1.js} +13 -13
- package/build/{index-871de5e5.js → index-fb9c18fc.js} +17 -17
- package/build/{index-ac4b01bb.js → index-fc5b1a98.js} +7 -7
- package/build/{index-7e7946af.js → index-fc8f2be9.js} +10 -10
- package/build/{index-443cd781.js → index-fcefe581.js} +20 -20
- package/build/index.js +124 -124
- package/build/{labelSorting-69737e78.js → labelSorting-0a48ac4e.js} +4 -4
- package/build/lead.js +36 -36
- package/build/{logoIcon-5741df48.js → logoIcon-f821a683.js} +2 -2
- package/build/mantine.js +24 -24
- 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 +77 -77
- 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 +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +57 -57
- package/build/{post-56511721.js → post-6dc468ae.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-78f455e6.js → store-17ecbbc5.js} +3 -3
- package/build/subot.js +36 -36
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-7a123d63.js → surveyThankyouCard-f45b56d9.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-743052cb.js → translationsProvider-f94527ae.js} +1 -1
- package/build/{treePopoverMenu-bacf2c30.js → treePopoverMenu-e49e1408.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-380ff4c6.js → useHealthToolCache-11f51004.js} +1 -1
- package/build/{usePhoneValidator-a77ffe55.js → usePhoneValidator-aa6e856a.js} +5 -5
- package/build/{usePlacesAutocomplete-7bb1e8fc.js → usePlacesAutocomplete-47d36447.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-5b667ab3.js → utils-168512fa.js} +2 -2
- package/build/{utils-c742ffa5.js → utils-34a86c03.js} +1 -1
- package/build/{utils-af44110a.js → utils-93fb3a79.js} +2 -2
- package/build/{utils-df5d97d5.js → utils-cd483cc4.js} +3 -3
- package/build/{utils-5cf7f00f.js → utils-f2ffdaa5.js} +5 -5
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-4cb0dad4.js → BMI_BOYS.percentile.monthly-93b0a8ee.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-077b6922.js → BMI_BOYS.percentile.weekly-043cd36f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-fcc8e4a2.js → BMI_BOYS.percentile.yearly-532b2095.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-cc770a17.js → BMI_BOYS.zscore.monthly-318b3d55.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-9d0fddbb.js → BMI_BOYS.zscore.weekly-d0f37d57.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-e8acdc9d.js → BMI_BOYS.zscore.yearly-459c0906.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-9f4572ec.js → BMI_GIRLS.percentile.monthly-470a7be7.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-f62a9ca8.js → BMI_GIRLS.percentile.weekly-47fc1e7d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-06c9b0d3.js → BMI_GIRLS.percentile.yearly-0f86d9aa.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-494bf868.js → BMI_GIRLS.zscore.monthly-9fd1ab66.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-3b41f564.js → BMI_GIRLS.zscore.weekly-4f9e5d6e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-bd7d2d0d.js → BMI_GIRLS.zscore.yearly-e265b089.js} +0 -0
- /package/build/{ChevronDown-90bfe1df.js → ChevronDown-02ffca8e.js} +0 -0
- /package/build/{Close-90727b5a.js → Close-1745c301.js} +0 -0
- /package/build/{Google-a2e1a317.js → Google-7091af1a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-48f728c4.js → HEAD CIRCUM_BOYS.percentile.monthly-1e543580.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9a61f642.js → HEAD CIRCUM_BOYS.percentile.weekly-7c26d5e2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-6b966ae9.js → HEAD CIRCUM_BOYS.percentile.yearly-0c321e6b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-f8b2764f.js → HEAD CIRCUM_BOYS.zscore.monthly-dabe5fd0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-37b923fc.js → HEAD CIRCUM_BOYS.zscore.weekly-83766a1a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9b3176e1.js → HEAD CIRCUM_BOYS.zscore.yearly-a82e8a4d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-416d6401.js → HEAD CIRCUM_GIRLS.percentile.monthly-3251401e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-70c222e5.js → HEAD CIRCUM_GIRLS.percentile.weekly-147db27d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-a2508d70.js → HEAD CIRCUM_GIRLS.percentile.yearly-6f36265c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-95fcb58a.js → HEAD CIRCUM_GIRLS.zscore.monthly-9d2ad84d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-55f6110e.js → HEAD CIRCUM_GIRLS.zscore.weekly-03729adc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d4008bef.js → HEAD CIRCUM_GIRLS.zscore.yearly-52ca7f7e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-622e44c1.js → HEIGHT_BOYS.percentile.monthly-c730b71c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-0bfe0359.js → HEIGHT_BOYS.percentile.weekly-fc31db44.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-346261f3.js → HEIGHT_BOYS.percentile.yearly-284e436c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-4c6f3da2.js → HEIGHT_BOYS.zscore.monthly-9930eeaa.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-b0ebe148.js → HEIGHT_BOYS.zscore.weekly-d7d856b2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-d1c09400.js → HEIGHT_BOYS.zscore.yearly-269bc091.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-4b0b656f.js → HEIGHT_GIRLS.percentile.monthly-a8821079.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-fa112192.js → HEIGHT_GIRLS.percentile.weekly-0cdfc66c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-d3ccf864.js → HEIGHT_GIRLS.percentile.yearly-49d694ac.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e8b07bc8.js → HEIGHT_GIRLS.zscore.monthly-e41a3b6d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-61e0a9d8.js → HEIGHT_GIRLS.zscore.weekly-d7ae75d1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-e76ffac6.js → HEIGHT_GIRLS.zscore.yearly-e105bc32.js} +0 -0
- /package/build/{Locale-401a42a6.js → Locale-b2389735.js} +0 -0
- /package/build/{Visible-dbb4c010.js → Visible-c28dfa89.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-654dff2b.js → WEIGHT_BOYS.percentile.monthly-6377775a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-04de5f01.js → WEIGHT_BOYS.percentile.weekly-8f2d23aa.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-3d9f9153.js → WEIGHT_BOYS.percentile.yearly-39c2880a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-1db9f3f0.js → WEIGHT_BOYS.zscore.monthly-509b1302.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-d701d0a5.js → WEIGHT_BOYS.zscore.weekly-9086a1ef.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-33841945.js → WEIGHT_BOYS.zscore.yearly-7840fd00.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-7bfe037f.js → WEIGHT_GIRLS.percentile.monthly-d4da9a3e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-3b41a33e.js → WEIGHT_GIRLS.percentile.weekly-bb62174b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-98077f0e.js → WEIGHT_GIRLS.percentile.yearly-1862eac6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-f83b9bb6.js → WEIGHT_GIRLS.zscore.monthly-4477f11b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-44f94d98.js → WEIGHT_GIRLS.zscore.weekly-d8051305.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-e68688b1.js → WEIGHT_GIRLS.zscore.yearly-25849496.js} +0 -0
- /package/build/{ageGenerate-2f2aad24.js → ageGenerate-9c9cf0ae.js} +0 -0
- /package/build/{animation-68b08843.js → animation-83cb7ef1.js} +0 -0
- /package/build/{constants-26aee68a.js → constants-065fd8dd.js} +0 -0
- /package/build/{constants-01abc2b6.js → constants-93813cf8.js} +0 -0
- /package/build/{constants-31062217.js → constants-b26d42ca.js} +0 -0
- /package/build/{dataTransform-b22bbe3d.js → dataTransform-b1ea9079.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-67875c3b.js → BMI_BOYS.percentile.monthly-47738926.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-8202e92e.js → BMI_BOYS.percentile.weekly-78e9f335.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-82fe9e0c.js → BMI_BOYS.percentile.yearly-3ceb0f34.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-b1e67509.js → BMI_BOYS.zscore.monthly-f3a85897.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-3815ddde.js → BMI_BOYS.zscore.weekly-3e1c08db.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-7c3b8f5f.js → BMI_BOYS.zscore.yearly-d5e655c8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-4b5ffe7a.js → BMI_GIRLS.percentile.monthly-64f14840.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-f9ada949.js → BMI_GIRLS.percentile.weekly-2fc15dd8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-68e78cb4.js → BMI_GIRLS.percentile.yearly-1735909a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-9bed73f5.js → BMI_GIRLS.zscore.monthly-0e5719d7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-ecd9366b.js → BMI_GIRLS.zscore.weekly-efd628d4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-bb729075.js → BMI_GIRLS.zscore.yearly-9b083a86.js} +0 -0
- /package/build/esm/{ChevronDown-6b5face0.js → ChevronDown-46d7a10e.js} +0 -0
- /package/build/esm/{Close-06b06e13.js → Close-c671fb91.js} +0 -0
- /package/build/esm/{Google-ddd645aa.js → Google-5801a60d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ffd7a19d.js → HEAD CIRCUM_BOYS.percentile.monthly-75035e1c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-7739f3e3.js → HEAD CIRCUM_BOYS.percentile.weekly-2cae30fd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e80a0c03.js → HEAD CIRCUM_BOYS.percentile.yearly-3da12ac6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-6a32689c.js → HEAD CIRCUM_BOYS.zscore.monthly-53187fd6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-57a8caf5.js → HEAD CIRCUM_BOYS.zscore.weekly-e4cf1b13.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-58b328f2.js → HEAD CIRCUM_BOYS.zscore.yearly-46ebab1a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a78bb9cc.js → HEAD CIRCUM_GIRLS.percentile.monthly-68c5c7d5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-12c75b6e.js → HEAD CIRCUM_GIRLS.percentile.weekly-48b78aef.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-7201449d.js → HEAD CIRCUM_GIRLS.percentile.yearly-81cc8fa4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-40922244.js → HEAD CIRCUM_GIRLS.zscore.monthly-7ed8ff8f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-5aa8a3ee.js → HEAD CIRCUM_GIRLS.zscore.weekly-78218e4e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0f567695.js → HEAD CIRCUM_GIRLS.zscore.yearly-5ce62933.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0531c132.js → HEIGHT_BOYS.percentile.monthly-69894608.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e3e34d28.js → HEIGHT_BOYS.percentile.weekly-7bfd2468.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-6f3413e2.js → HEIGHT_BOYS.percentile.yearly-cb640aa6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-36e90cea.js → HEIGHT_BOYS.zscore.monthly-923da5a5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-b27ec82a.js → HEIGHT_BOYS.zscore.weekly-1591871b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-2f616569.js → HEIGHT_BOYS.zscore.yearly-d669818a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-8caed50d.js → HEIGHT_GIRLS.percentile.monthly-b09461f3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0a31561c.js → HEIGHT_GIRLS.percentile.weekly-7d48aecc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-6ecfa8c7.js → HEIGHT_GIRLS.percentile.yearly-71662b5e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-7e0684fb.js → HEIGHT_GIRLS.zscore.monthly-e9a15a71.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-04d3c812.js → HEIGHT_GIRLS.zscore.weekly-7b1e7cb2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-579f2219.js → HEIGHT_GIRLS.zscore.yearly-656ff622.js} +0 -0
- /package/build/esm/{Locale-853e98f2.js → Locale-f6a45f1d.js} +0 -0
- /package/build/esm/{Visible-311a8592.js → Visible-c6a89c4a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-06299de4.js → WEIGHT_BOYS.percentile.monthly-883ab6fe.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-6d428f14.js → WEIGHT_BOYS.percentile.weekly-8b652263.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b072a8c9.js → WEIGHT_BOYS.percentile.yearly-38794ba7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d3c8e9eb.js → WEIGHT_BOYS.zscore.monthly-59dda371.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-7f8cd2da.js → WEIGHT_BOYS.zscore.weekly-7547aaa8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a5ea0bf2.js → WEIGHT_BOYS.zscore.yearly-40666f0a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-0b611e91.js → WEIGHT_GIRLS.percentile.monthly-25eb3600.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-ba49251b.js → WEIGHT_GIRLS.percentile.weekly-79176b29.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-e357cef7.js → WEIGHT_GIRLS.percentile.yearly-280318f4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-76cc8631.js → WEIGHT_GIRLS.zscore.monthly-e84150fd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-7f41145a.js → WEIGHT_GIRLS.zscore.weekly-7b399b3f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-fad846d6.js → WEIGHT_GIRLS.zscore.yearly-02aab636.js} +0 -0
- /package/build/esm/{ageGenerate-8a018b6f.js → ageGenerate-4a7870da.js} +0 -0
- /package/build/esm/{animation-9716237e.js → animation-5af3cf67.js} +0 -0
- /package/build/esm/{constants-9d7195d1.js → constants-4e6d88bb.js} +0 -0
- /package/build/esm/{constants-869b206d.js → constants-764de0bb.js} +0 -0
- /package/build/esm/{constants-5dbe7400.js → constants-d60fb943.js} +0 -0
- /package/build/esm/{dataTransform-612f9a47.js → dataTransform-d103f992.js} +0 -0
- /package/build/esm/{index-71f040fa.js → index-29c26618.js} +0 -0
- /package/build/esm/{index-53c014f7.js → index-2b9b049c.js} +0 -0
- /package/build/esm/{index-9eb639d8.js → index-3d33c88c.js} +0 -0
- /package/build/esm/{index-eb1eb378.js → index-6193d61f.js} +0 -0
- /package/build/esm/{index-3b9e13c8.js → index-989f2dc8.js} +0 -0
- /package/build/esm/{index-9a1f1654.js → index-98ad66d7.js} +0 -0
- /package/build/esm/{index-6a5fdc66.js → index-c5002600.js} +0 -0
- /package/build/esm/{index-82d8e51e.js → index-ce709774.js} +0 -0
- /package/build/esm/{index.styles-c3c6b34d.js → index.styles-0f497116.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6f8da89e.js → localizeNumberFormat-4a50860c.js} +0 -0
- /package/build/esm/{normalizeLink-8c42fe83.js → normalizeLink-91c5cfdd.js} +0 -0
- /package/build/esm/{number-091be8d7.js → number-3fee0710.js} +0 -0
- /package/build/esm/{paths-9b00d28d.js → paths-efd055de.js} +0 -0
- /package/build/esm/{shared-7b16cc0c.js → shared-4c2d952a.js} +0 -0
- /package/build/esm/{text-9811d602.js → text-a2ea8595.js} +0 -0
- /package/build/esm/{translationsContext-7e378778.js → translationsContext-8ee950ed.js} +0 -0
- /package/build/esm/{tslib.es6-741cad6b.js → tslib.es6-639f85e2.js} +0 -0
- /package/build/esm/{types-70bbb328.js → types-87134746.js} +0 -0
- /package/build/esm/{types-5eb787e6.js → types-d5f98757.js} +0 -0
- /package/build/esm/{useIsInit-d4f11492.js → useIsInit-c505404c.js} +0 -0
- /package/build/esm/{useOutsideClick-ae2cf013.js → useOutsideClick-b07c8840.js} +0 -0
- /package/build/esm/{useScrollbarSize-627c1036.js → useScrollbarSize-6c08f65d.js} +0 -0
- /package/build/esm/{useUniqueId-9b57f4dd.js → useUniqueId-a9aee3de.js} +0 -0
- /package/build/esm/{utils-21fe1c08.js → utils-e0c4f99f.js} +0 -0
- /package/build/{index-6c6374e2.js → index-2450b64d.js} +0 -0
- /package/build/{index-63129758.js → index-32145be4.js} +0 -0
- /package/build/{index-7c7e1204.js → index-38cbb349.js} +0 -0
- /package/build/{index-24a3e1a5.js → index-6115eb96.js} +0 -0
- /package/build/{index-4e995707.js → index-835821ab.js} +0 -0
- /package/build/{index-1a92ed84.js → index-9f394af8.js} +0 -0
- /package/build/{index-dad6f041.js → index-b5e7eb3d.js} +0 -0
- /package/build/{index-8a30da49.js → index-cac242c6.js} +0 -0
- /package/build/{index.styles-941ff681.js → index.styles-ccf5b818.js} +0 -0
- /package/build/{localizeNumberFormat-3cacf405.js → localizeNumberFormat-271f9f92.js} +0 -0
- /package/build/{normalizeLink-74dd01b7.js → normalizeLink-c2f85c43.js} +0 -0
- /package/build/{number-764a7ade.js → number-b9a7a89a.js} +0 -0
- /package/build/{paths-9796aa55.js → paths-bbdd08b4.js} +0 -0
- /package/build/{shared-cab18098.js → shared-aa0706e0.js} +0 -0
- /package/build/{text-b3bc6fb9.js → text-f1e149ac.js} +0 -0
- /package/build/{translationsContext-59106e36.js → translationsContext-454f7496.js} +0 -0
- /package/build/{tslib.es6-5b1ab0da.js → tslib.es6-8c4588d7.js} +0 -0
- /package/build/{types-050acd2a.js → types-3ab82056.js} +0 -0
- /package/build/{types-8dfa8700.js → types-692e0500.js} +0 -0
- /package/build/{useIsInit-1c146a65.js → useIsInit-56c7062c.js} +0 -0
- /package/build/{useOutsideClick-8a840378.js → useOutsideClick-bd447ece.js} +0 -0
- /package/build/{useScrollbarSize-20039f85.js → useScrollbarSize-1d4b084e.js} +0 -0
- /package/build/{useUniqueId-8060a534.js → useUniqueId-68325e47.js} +0 -0
- /package/build/{utils-b6b21814.js → utils-3dfccfa2.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-639f85e2.js';
|
|
2
2
|
import React__default, { useContext, useState, useCallback, useEffect, useMemo, useRef } from 'react';
|
|
3
|
-
import { V as VideoType } from './index-
|
|
4
|
-
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-
|
|
5
|
-
import { L as LOCALE_SPECS, S as STATIC_PAGES, T as TOGETHER_LOCALES, a as CARE_LOCALES } from './index-
|
|
6
|
-
import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-
|
|
7
|
-
import { a as formatCommunity, b as formatPost } from './dataTransform-
|
|
3
|
+
import { V as VideoType } from './index-b57295e9.js';
|
|
4
|
+
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-5bc36de9.js';
|
|
5
|
+
import { L as LOCALE_SPECS, S as STATIC_PAGES, T as TOGETHER_LOCALES, a as CARE_LOCALES } from './index-5232f427.js';
|
|
6
|
+
import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-91c5cfdd.js';
|
|
7
|
+
import { a as formatCommunity, b as formatPost } from './dataTransform-d3abbf3b.js';
|
|
8
8
|
import { Close, Logo } from '@hhgtech/icons/core';
|
|
9
|
-
import './translationsContext-
|
|
9
|
+
import './translationsContext-8ee950ed.js';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
|
-
import { I as Input } from './index-
|
|
11
|
+
import { I as Input } from './index-7000f384.js';
|
|
12
12
|
import { theme } from './miscTheme.js';
|
|
13
|
-
import { a as NavigationContext, u as useCSSFocusPopupHelper, N as NavigationProfileButton, b as NavigationProvider } from './index-
|
|
13
|
+
import { a as NavigationContext, u as useCSSFocusPopupHelper, N as NavigationProfileButton, b as NavigationProvider } from './index-6da454f7.js';
|
|
14
14
|
import { ArrowRight, ChatAi } from '@hhgtech/icons/other';
|
|
15
15
|
import { createStyles, Box, Indicator, useMantineTheme, clsx } from '@mantine/core';
|
|
16
|
-
import { L as Logo$1 } from './index-
|
|
16
|
+
import { L as Logo$1 } from './index-2ae5b78c.js';
|
|
17
17
|
import throttle from 'lodash/throttle';
|
|
18
18
|
import '@mantine/dates';
|
|
19
|
-
import { C as CommonGAssets } from './index-
|
|
20
|
-
import './index-
|
|
21
|
-
import { T as Text } from './index-
|
|
22
|
-
import { B as Button } from './index-
|
|
23
|
-
import './index.styles-
|
|
19
|
+
import { C as CommonGAssets } from './index-29c26618.js';
|
|
20
|
+
import './index-bc855a72.js';
|
|
21
|
+
import { T as Text } from './index-c5e0fb62.js';
|
|
22
|
+
import { B as Button } from './index-2e4290e7.js';
|
|
23
|
+
import './index.styles-0f497116.js';
|
|
24
24
|
import '@mantine/hooks';
|
|
25
|
-
import './text-
|
|
26
|
-
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-
|
|
27
|
-
import './index-
|
|
28
|
-
import { L as LOCALISED_SLUGS } from './constants-
|
|
29
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
30
|
-
import { L as LOCALIZED_SLUGS } from './constants-
|
|
31
|
-
import { u as useTranslations } from './index-
|
|
32
|
-
import { H as Heading } from './index-
|
|
33
|
-
import { I as Indicator$1 } from './index-
|
|
34
|
-
import { u as useIsInit } from './useIsInit-
|
|
25
|
+
import './text-a2ea8595.js';
|
|
26
|
+
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-e0c4f99f.js';
|
|
27
|
+
import './index-f58f839d.js';
|
|
28
|
+
import { L as LOCALISED_SLUGS } from './constants-a44716e4.js';
|
|
29
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-4671319b.js';
|
|
30
|
+
import { L as LOCALIZED_SLUGS } from './constants-764de0bb.js';
|
|
31
|
+
import { u as useTranslations } from './index-378d09e8.js';
|
|
32
|
+
import { H as Heading } from './index-fe713c23.js';
|
|
33
|
+
import { I as Indicator$1 } from './index-8a2534a1.js';
|
|
34
|
+
import { u as useIsInit } from './useIsInit-c505404c.js';
|
|
35
35
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
36
|
-
import { B as Button$1 } from './index-
|
|
37
|
-
import dayjs from 'dayjs';
|
|
38
|
-
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
39
|
-
import { U as UserAvatar } from './index-af50c7e3.js';
|
|
36
|
+
import { B as Button$1 } from './index-83a11b84.js';
|
|
40
37
|
import formatString from 'string-format';
|
|
41
38
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
42
|
-
import
|
|
39
|
+
import dayjs from 'dayjs';
|
|
40
|
+
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
41
|
+
import { U as UserAvatar } from './index-14c86f99.js';
|
|
42
|
+
import { C as Container } from './index-3d33c88c.js';
|
|
43
43
|
import debounce from 'lodash/debounce';
|
|
44
|
-
import { L as LOCALE } from './Locale-
|
|
45
|
-
import { g as getDataWithCache } from './core-
|
|
44
|
+
import { L as LOCALE } from './Locale-f6a45f1d.js';
|
|
45
|
+
import { g as getDataWithCache } from './core-843fb59c.js';
|
|
46
46
|
|
|
47
47
|
const StyleInput = styled(Input) `
|
|
48
48
|
.mantine-Input-input {
|
|
@@ -822,6 +822,245 @@ const StyledContainerItems$4 = styled.div `
|
|
|
822
822
|
}
|
|
823
823
|
`;
|
|
824
824
|
|
|
825
|
+
const TOGETHER_PATHS = {
|
|
826
|
+
COMMUNITIES: 'community?website_url={websiteUrl}',
|
|
827
|
+
MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
|
|
828
|
+
GET_USER_POSTS: 'profile/posts?website_url={websiteUrl}',
|
|
829
|
+
};
|
|
830
|
+
const Z_INDEX = {
|
|
831
|
+
adBlock: 48,
|
|
832
|
+
headerContainerHome: 99,
|
|
833
|
+
headerContainerPopup: 300,
|
|
834
|
+
headerContainerPopupSUbLevel: 400,
|
|
835
|
+
menuCategoryPopupWrapper: 200,
|
|
836
|
+
menuCategoryPopupContainer: 210,
|
|
837
|
+
menuSearchInputPopup: 5,
|
|
838
|
+
menuSearchInputDisplayIcon: 6,
|
|
839
|
+
menuSearchPopup: 300,
|
|
840
|
+
homeSearchComponent: 200,
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
const formatSponsor = (sponsor) => {
|
|
844
|
+
if (!sponsor)
|
|
845
|
+
return {};
|
|
846
|
+
return {
|
|
847
|
+
title: sponsor.title,
|
|
848
|
+
logo: sponsor.logo,
|
|
849
|
+
link: sponsor.link,
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
const formatReviewedCategory = (data) => {
|
|
853
|
+
return {
|
|
854
|
+
postTitle: data.post_title,
|
|
855
|
+
permalink: data.permalink,
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
const formatFaqsCategory = (data) => {
|
|
859
|
+
return {
|
|
860
|
+
title: data.title,
|
|
861
|
+
content: data.content,
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
const formatCategory = (category) => {
|
|
865
|
+
var _a, _b;
|
|
866
|
+
if (!category)
|
|
867
|
+
return {};
|
|
868
|
+
return {
|
|
869
|
+
termId: category.term_id || null,
|
|
870
|
+
sponsor: category.sponsor ? formatSponsor(category.sponsor) : null,
|
|
871
|
+
isSponsored: category.is_sponsored || null,
|
|
872
|
+
categoryName: category.cat_name || category.name || null,
|
|
873
|
+
name: category.name || null,
|
|
874
|
+
iconUrl: category.icon || '',
|
|
875
|
+
slugName: category.category_nicename || null,
|
|
876
|
+
description: category.description || null,
|
|
877
|
+
featureImage: category.thumbnail || category.image || null,
|
|
878
|
+
displayName: category.name || null,
|
|
879
|
+
parent: category.parent || null,
|
|
880
|
+
permalink: category.permalink || null,
|
|
881
|
+
slug: category.slug || null,
|
|
882
|
+
childCates: ((_a = category.child_cates) === null || _a === void 0 ? void 0 : _a.map((childCate) => {
|
|
883
|
+
return formatCategory(childCate);
|
|
884
|
+
})) || [],
|
|
885
|
+
thumnailColor: category.thumnail_color ||
|
|
886
|
+
['#FFEAF1', '#E0E9FB', '#FFF9EB', '#F2FCF7', '#F3F3F3'][(Math.random() * 5) | 0],
|
|
887
|
+
colorFeatureImage: category.color_feature_image || null,
|
|
888
|
+
imageColor: category.image_color || null,
|
|
889
|
+
textColor: category.text_color || null,
|
|
890
|
+
catParent: ((_b = category.cat_parent) === null || _b === void 0 ? void 0 : _b.name)
|
|
891
|
+
? {
|
|
892
|
+
name: category.cat_parent.name,
|
|
893
|
+
permalink: category.cat_parent.permalink,
|
|
894
|
+
}
|
|
895
|
+
: {},
|
|
896
|
+
metaTag: category.meta_tag || '',
|
|
897
|
+
reviewedBy: category.reviewed_by
|
|
898
|
+
? formatReviewedCategory(category.reviewed_by)
|
|
899
|
+
: null,
|
|
900
|
+
reviewedDate: category.reviewed_date || '',
|
|
901
|
+
faqs: category.faqs
|
|
902
|
+
? category.faqs.map((faq) => formatFaqsCategory(faq))
|
|
903
|
+
: null,
|
|
904
|
+
customizedUrl: category.customized_url || null,
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
const formatHealthTool = (healthTool) => {
|
|
908
|
+
var _a, _b;
|
|
909
|
+
if (!healthTool)
|
|
910
|
+
return {};
|
|
911
|
+
const isBot = (_a = healthTool.link) === null || _a === void 0 ? void 0 : _a.includes('/bot/');
|
|
912
|
+
const hasFilPrefix = (_b = healthTool.link) === null || _b === void 0 ? void 0 : _b.startsWith('/fil/');
|
|
913
|
+
const link = healthTool.link
|
|
914
|
+
? healthTool.link.startsWith('http')
|
|
915
|
+
? healthTool.link
|
|
916
|
+
: isBot
|
|
917
|
+
? healthTool.link
|
|
918
|
+
: hasFilPrefix
|
|
919
|
+
? healthTool.link
|
|
920
|
+
.replace('/health-tools/', '/')
|
|
921
|
+
.replace('/fil/', '/fil/health-tools/')
|
|
922
|
+
: `/health-tools${healthTool.link.replace('/health-tools/', '/')}`
|
|
923
|
+
: undefined;
|
|
924
|
+
return {
|
|
925
|
+
icon: healthTool.icon,
|
|
926
|
+
link,
|
|
927
|
+
subtitle: healthTool.subtitle,
|
|
928
|
+
title: healthTool.title,
|
|
929
|
+
isMobileAppTool: !!(healthTool === null || healthTool === void 0 ? void 0 : healthTool.is_mobile_app_tool),
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
const formatSpecialties = (specialties) => {
|
|
933
|
+
var _a, _b, _c, _d, _e;
|
|
934
|
+
if (!specialties || !(specialties === null || specialties === void 0 ? void 0 : specialties.object_id))
|
|
935
|
+
return {};
|
|
936
|
+
return {
|
|
937
|
+
thumbnail: ((_a = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _a === void 0 ? void 0 : _a.logo) || '',
|
|
938
|
+
link: ((_b = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _b === void 0 ? void 0 : _b.slug) || '',
|
|
939
|
+
subtitle: ((_c = specialties.object_id) === null || _c === void 0 ? void 0 : _c.name) || '',
|
|
940
|
+
name: ((_d = specialties.object_id) === null || _d === void 0 ? void 0 : _d.name) || '',
|
|
941
|
+
slug: ((_e = specialties.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
const formatHospital = (hospital) => {
|
|
945
|
+
var _a, _b, _c, _d, _e;
|
|
946
|
+
if (!hospital || !(hospital === null || hospital === void 0 ? void 0 : hospital.object_id))
|
|
947
|
+
return {};
|
|
948
|
+
return {
|
|
949
|
+
id: (_a = hospital.object_id) === null || _a === void 0 ? void 0 : _a.id,
|
|
950
|
+
name: ((_b = hospital.object_id) === null || _b === void 0 ? void 0 : _b.name) || '',
|
|
951
|
+
logo: ((_c = hospital === null || hospital === void 0 ? void 0 : hospital.object_id) === null || _c === void 0 ? void 0 : _c.logo) || '',
|
|
952
|
+
description: ((_d = hospital.object_id) === null || _d === void 0 ? void 0 : _d.description) || '',
|
|
953
|
+
slug: ((_e = hospital.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
const getTogetherUserPostsApiPath = (locale, isMarryBaby, apiDomain, params) => {
|
|
957
|
+
const apiUrl = apiDomain || `https://together.hellohealthgroup.com/`;
|
|
958
|
+
return (apiUrl +
|
|
959
|
+
'api/v1/' +
|
|
960
|
+
formatString(TOGETHER_PATHS.GET_USER_POSTS, Object.assign(Object.assign({}, params), { websiteUrl: isMarryBaby
|
|
961
|
+
? 'https://marrybaby.vn'
|
|
962
|
+
: `https://${domainLocales[locale]}` })));
|
|
963
|
+
};
|
|
964
|
+
const getCareSearchUrl = ({ type, specialtySlug, locale, }) => {
|
|
965
|
+
var _a, _b;
|
|
966
|
+
return `${(_a = LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.ALL}/${((_b = LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b[type]) || 'doctor'}/${specialtySlug !== null && specialtySlug !== void 0 ? specialtySlug : ''}`;
|
|
967
|
+
};
|
|
968
|
+
const formatSpotlightsList = (spotlight) => {
|
|
969
|
+
if (!spotlight)
|
|
970
|
+
return {};
|
|
971
|
+
return {
|
|
972
|
+
id: spotlight.ID,
|
|
973
|
+
name: spotlight.name,
|
|
974
|
+
permalink: spotlight.permalink,
|
|
975
|
+
image: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.small_banner) || (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image) || '',
|
|
976
|
+
imageMedium: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_medium) || null,
|
|
977
|
+
imageThumbnail: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_thumbnail) || null,
|
|
978
|
+
startDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.start_date,
|
|
979
|
+
endDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.end_date,
|
|
980
|
+
buttonDisplay: spotlight.button_display || null,
|
|
981
|
+
};
|
|
982
|
+
};
|
|
983
|
+
const checkAvailableSpotlight = (spotlight) => {
|
|
984
|
+
const today = new Date();
|
|
985
|
+
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.startDate) {
|
|
986
|
+
const startDate = new Date(spotlight.startDate);
|
|
987
|
+
if (today.getTime() < startDate.getTime())
|
|
988
|
+
return false;
|
|
989
|
+
}
|
|
990
|
+
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.endDate) {
|
|
991
|
+
const endDate = new Date(spotlight.endDate);
|
|
992
|
+
if (today.getTime() > endDate.getTime())
|
|
993
|
+
return false;
|
|
994
|
+
}
|
|
995
|
+
return true;
|
|
996
|
+
};
|
|
997
|
+
const formatVideoItem = (data) => {
|
|
998
|
+
if (typeof data === 'undefined' || !data)
|
|
999
|
+
return null;
|
|
1000
|
+
return {
|
|
1001
|
+
id: data.ID || '',
|
|
1002
|
+
videoId: data.video_id || '',
|
|
1003
|
+
url: data.video_url || '',
|
|
1004
|
+
title: data.video_title || '',
|
|
1005
|
+
type: data.type || VideoType.VIDEO,
|
|
1006
|
+
totalView: data.total_view || 0,
|
|
1007
|
+
description: data.description || '',
|
|
1008
|
+
createTime: data.create_time || '',
|
|
1009
|
+
duration: data.duration || 0,
|
|
1010
|
+
image: data.image || '',
|
|
1011
|
+
imageMedium: data.image_medium || '',
|
|
1012
|
+
imageThumbnail: data.image_thumbnail || '',
|
|
1013
|
+
active: false,
|
|
1014
|
+
articleLink: data.article_link || '',
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
1017
|
+
function hexToRgb(hex, returnObj = false) {
|
|
1018
|
+
let alpha = false, h = hex.slice(hex.startsWith('#') ? 1 : 0);
|
|
1019
|
+
if (h.length === 3)
|
|
1020
|
+
h = [...h].map((x) => x + x).join('');
|
|
1021
|
+
else if (h.length === 8)
|
|
1022
|
+
alpha = true;
|
|
1023
|
+
h = parseInt(h, 16);
|
|
1024
|
+
const obj = {
|
|
1025
|
+
r: h >>> (alpha ? 24 : 16),
|
|
1026
|
+
g: (h & (alpha ? 0x00ff0000 : 0x00ff00)) >>> (alpha ? 16 : 8),
|
|
1027
|
+
b: (h & (alpha ? 0x0000ff00 : 0x0000ff)) >>> (alpha ? 8 : 0),
|
|
1028
|
+
};
|
|
1029
|
+
return returnObj
|
|
1030
|
+
? obj
|
|
1031
|
+
: 'rgb' +
|
|
1032
|
+
(alpha ? 'a' : '') +
|
|
1033
|
+
'(' +
|
|
1034
|
+
obj.r +
|
|
1035
|
+
', ' +
|
|
1036
|
+
obj.g +
|
|
1037
|
+
', ' +
|
|
1038
|
+
obj.b +
|
|
1039
|
+
(alpha ? `, ${h & 0x000000ff}` : '') +
|
|
1040
|
+
')';
|
|
1041
|
+
}
|
|
1042
|
+
function rgbToHsb(r, g, b) {
|
|
1043
|
+
r /= 255;
|
|
1044
|
+
g /= 255;
|
|
1045
|
+
b /= 255;
|
|
1046
|
+
const v = Math.max(r, g, b), n = v - Math.min(r, g, b);
|
|
1047
|
+
const h = n === 0
|
|
1048
|
+
? 0
|
|
1049
|
+
: n && v === r
|
|
1050
|
+
? (g - b) / n
|
|
1051
|
+
: v === g
|
|
1052
|
+
? 2 + (b - r) / n
|
|
1053
|
+
: 4 + (r - g) / n;
|
|
1054
|
+
return [60 * (h < 0 ? h + 6 : h), v && (n / v) * 100, v * 100];
|
|
1055
|
+
}
|
|
1056
|
+
function hsbToRgb(h, s, b) {
|
|
1057
|
+
s /= 100;
|
|
1058
|
+
b /= 100;
|
|
1059
|
+
const k = (n) => (n + h / 60) % 6;
|
|
1060
|
+
const f = (n) => b * (1 - s * Math.max(0, Math.min(k(n), 4 - k(n), 1)));
|
|
1061
|
+
return [255 * f(5), 255 * f(3), 255 * f(1)];
|
|
1062
|
+
}
|
|
1063
|
+
|
|
825
1064
|
const StyledItem$4 = styled.a `
|
|
826
1065
|
position: relative;
|
|
827
1066
|
width: 100%;
|
|
@@ -829,10 +1068,6 @@ const StyledItem$4 = styled.a `
|
|
|
829
1068
|
align-items: center;
|
|
830
1069
|
text-decoration: none;
|
|
831
1070
|
|
|
832
|
-
&[data-has-button='true'] {
|
|
833
|
-
cursor: default;
|
|
834
|
-
pointer-events: none;
|
|
835
|
-
}
|
|
836
1071
|
* {
|
|
837
1072
|
pointer-events: none;
|
|
838
1073
|
}
|
|
@@ -859,7 +1094,7 @@ const StyledImageCard$2 = styled.div `
|
|
|
859
1094
|
padding-top: 100px;
|
|
860
1095
|
}
|
|
861
1096
|
`;
|
|
862
|
-
const StyledButton = styled.
|
|
1097
|
+
const StyledButton = styled.a `
|
|
863
1098
|
${MediaQueries.tdDown} {
|
|
864
1099
|
position: relative;
|
|
865
1100
|
bottom: 0;
|
|
@@ -868,39 +1103,40 @@ const StyledButton = styled.button `
|
|
|
868
1103
|
padding: 4px 8px;
|
|
869
1104
|
width: 90px;
|
|
870
1105
|
height: 24px;
|
|
871
|
-
min-height: 24px;
|
|
872
|
-
max-height: 24px;
|
|
873
1106
|
font-size: 11px;
|
|
874
|
-
line-height: 16px;
|
|
875
|
-
border-radius: 8px;
|
|
876
1107
|
}
|
|
877
1108
|
|
|
1109
|
+
display: flex;
|
|
1110
|
+
align-items: center;
|
|
1111
|
+
justify-content: center;
|
|
878
1112
|
position: absolute;
|
|
879
1113
|
bottom: 8px;
|
|
880
1114
|
left: 8px;
|
|
881
1115
|
right: 8px;
|
|
882
|
-
height:
|
|
883
|
-
|
|
884
|
-
max-height: 40px;
|
|
885
|
-
padding: 8px 16px;
|
|
886
|
-
pointer-events: auto;
|
|
1116
|
+
height: 32px;
|
|
1117
|
+
padding: 6px 12px;
|
|
887
1118
|
|
|
888
1119
|
background: ${(props) => props.bgColor};
|
|
889
|
-
border-radius:
|
|
1120
|
+
border-radius: 10px;
|
|
890
1121
|
border: none;
|
|
891
1122
|
transition: all 0.2s ease-in-out;
|
|
892
1123
|
|
|
893
1124
|
color: ${(props) => props.textColor};
|
|
894
1125
|
font-family: 'Inter';
|
|
895
1126
|
font-weight: 500;
|
|
896
|
-
font-size:
|
|
897
|
-
text-align: center;
|
|
898
|
-
cursor: pointer;
|
|
1127
|
+
font-size: 14px;
|
|
899
1128
|
|
|
900
1129
|
&:hover {
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
1130
|
+
background: ${(props) => {
|
|
1131
|
+
const bgColor = props.bgColor;
|
|
1132
|
+
if (typeof bgColor === 'string') {
|
|
1133
|
+
const rgb = hexToRgb(bgColor, true);
|
|
1134
|
+
const hsb = rgbToHsb(rgb.r, rgb.g, rgb.b);
|
|
1135
|
+
const newPattern1 = hsbToRgb(hsb[0], hsb[1] + 16, hsb[2] - 16);
|
|
1136
|
+
return `rgb(${newPattern1[0]},${newPattern1[1]},${newPattern1[2]})`;
|
|
1137
|
+
}
|
|
1138
|
+
return '';
|
|
1139
|
+
}};
|
|
904
1140
|
}
|
|
905
1141
|
`;
|
|
906
1142
|
const StyledTitle$3 = styled.p `
|
|
@@ -924,7 +1160,7 @@ const Item$3 = ({ item, index = 0 }) => {
|
|
|
924
1160
|
'data-event-action': `Spotlight Click ${index + 1}`,
|
|
925
1161
|
'data-event-label': item.link,
|
|
926
1162
|
};
|
|
927
|
-
return (React__default.createElement(StyledItem$4, Object.assign({ key: item.id, as: item.buttonDisplay ? 'div' : 'a'
|
|
1163
|
+
return (React__default.createElement(StyledItem$4, Object.assign({ key: item.id, as: item.buttonDisplay ? 'div' : 'a' }, linkProps),
|
|
928
1164
|
React__default.createElement(StyledImageCard$2, null,
|
|
929
1165
|
React__default.createElement("img", { loading: "lazy", alt: item.title, src: item.banner || '/images/notFound-min-small.jpg' })),
|
|
930
1166
|
React__default.createElement("div", { style: {
|
|
@@ -933,7 +1169,7 @@ const Item$3 = ({ item, index = 0 }) => {
|
|
|
933
1169
|
gap: 8,
|
|
934
1170
|
} },
|
|
935
1171
|
React__default.createElement(StyledTitle$3, null, item.title),
|
|
936
|
-
!!item.buttonDisplay && (React__default.createElement(StyledButton, Object.assign({
|
|
1172
|
+
!!item.buttonDisplay && (React__default.createElement(StyledButton, Object.assign({ bgColor: item.buttonDisplay.button_background_color, textColor: item.buttonDisplay.button_text_color }, linkProps), item.buttonDisplay.button_label)))));
|
|
937
1173
|
};
|
|
938
1174
|
|
|
939
1175
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
@@ -1606,24 +1842,6 @@ const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
|
1606
1842
|
React__default.createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
|
|
1607
1843
|
};
|
|
1608
1844
|
|
|
1609
|
-
const TOGETHER_PATHS = {
|
|
1610
|
-
COMMUNITIES: 'community?website_url={websiteUrl}',
|
|
1611
|
-
MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
|
|
1612
|
-
GET_USER_POSTS: 'profile/posts?website_url={websiteUrl}',
|
|
1613
|
-
};
|
|
1614
|
-
const Z_INDEX = {
|
|
1615
|
-
adBlock: 48,
|
|
1616
|
-
headerContainerHome: 99,
|
|
1617
|
-
headerContainerPopup: 300,
|
|
1618
|
-
headerContainerPopupSUbLevel: 400,
|
|
1619
|
-
menuCategoryPopupWrapper: 200,
|
|
1620
|
-
menuCategoryPopupContainer: 210,
|
|
1621
|
-
menuSearchInputPopup: 5,
|
|
1622
|
-
menuSearchInputDisplayIcon: 6,
|
|
1623
|
-
menuSearchPopup: 300,
|
|
1624
|
-
homeSearchComponent: 200,
|
|
1625
|
-
};
|
|
1626
|
-
|
|
1627
1845
|
const StyledHeaderWrapper = styled.div `
|
|
1628
1846
|
z-index: 201;
|
|
1629
1847
|
width: 100%;
|
|
@@ -1834,181 +2052,6 @@ const StyleButtonAiChat = styled(Button) `
|
|
|
1834
2052
|
}
|
|
1835
2053
|
`;
|
|
1836
2054
|
|
|
1837
|
-
const formatSponsor = (sponsor) => {
|
|
1838
|
-
if (!sponsor)
|
|
1839
|
-
return {};
|
|
1840
|
-
return {
|
|
1841
|
-
title: sponsor.title,
|
|
1842
|
-
logo: sponsor.logo,
|
|
1843
|
-
link: sponsor.link,
|
|
1844
|
-
};
|
|
1845
|
-
};
|
|
1846
|
-
const formatReviewedCategory = (data) => {
|
|
1847
|
-
return {
|
|
1848
|
-
postTitle: data.post_title,
|
|
1849
|
-
permalink: data.permalink,
|
|
1850
|
-
};
|
|
1851
|
-
};
|
|
1852
|
-
const formatFaqsCategory = (data) => {
|
|
1853
|
-
return {
|
|
1854
|
-
title: data.title,
|
|
1855
|
-
content: data.content,
|
|
1856
|
-
};
|
|
1857
|
-
};
|
|
1858
|
-
const formatCategory = (category) => {
|
|
1859
|
-
var _a, _b;
|
|
1860
|
-
if (!category)
|
|
1861
|
-
return {};
|
|
1862
|
-
return {
|
|
1863
|
-
termId: category.term_id || null,
|
|
1864
|
-
sponsor: category.sponsor ? formatSponsor(category.sponsor) : null,
|
|
1865
|
-
isSponsored: category.is_sponsored || null,
|
|
1866
|
-
categoryName: category.cat_name || category.name || null,
|
|
1867
|
-
name: category.name || null,
|
|
1868
|
-
iconUrl: category.icon || '',
|
|
1869
|
-
slugName: category.category_nicename || null,
|
|
1870
|
-
description: category.description || null,
|
|
1871
|
-
featureImage: category.thumbnail || category.image || null,
|
|
1872
|
-
displayName: category.name || null,
|
|
1873
|
-
parent: category.parent || null,
|
|
1874
|
-
permalink: category.permalink || null,
|
|
1875
|
-
slug: category.slug || null,
|
|
1876
|
-
childCates: ((_a = category.child_cates) === null || _a === void 0 ? void 0 : _a.map((childCate) => {
|
|
1877
|
-
return formatCategory(childCate);
|
|
1878
|
-
})) || [],
|
|
1879
|
-
thumnailColor: category.thumnail_color ||
|
|
1880
|
-
['#FFEAF1', '#E0E9FB', '#FFF9EB', '#F2FCF7', '#F3F3F3'][(Math.random() * 5) | 0],
|
|
1881
|
-
colorFeatureImage: category.color_feature_image || null,
|
|
1882
|
-
imageColor: category.image_color || null,
|
|
1883
|
-
textColor: category.text_color || null,
|
|
1884
|
-
catParent: ((_b = category.cat_parent) === null || _b === void 0 ? void 0 : _b.name)
|
|
1885
|
-
? {
|
|
1886
|
-
name: category.cat_parent.name,
|
|
1887
|
-
permalink: category.cat_parent.permalink,
|
|
1888
|
-
}
|
|
1889
|
-
: {},
|
|
1890
|
-
metaTag: category.meta_tag || '',
|
|
1891
|
-
reviewedBy: category.reviewed_by
|
|
1892
|
-
? formatReviewedCategory(category.reviewed_by)
|
|
1893
|
-
: null,
|
|
1894
|
-
reviewedDate: category.reviewed_date || '',
|
|
1895
|
-
faqs: category.faqs
|
|
1896
|
-
? category.faqs.map((faq) => formatFaqsCategory(faq))
|
|
1897
|
-
: null,
|
|
1898
|
-
customizedUrl: category.customized_url || null,
|
|
1899
|
-
};
|
|
1900
|
-
};
|
|
1901
|
-
const formatHealthTool = (healthTool) => {
|
|
1902
|
-
var _a, _b;
|
|
1903
|
-
if (!healthTool)
|
|
1904
|
-
return {};
|
|
1905
|
-
const isBot = (_a = healthTool.link) === null || _a === void 0 ? void 0 : _a.includes('/bot/');
|
|
1906
|
-
const hasFilPrefix = (_b = healthTool.link) === null || _b === void 0 ? void 0 : _b.startsWith('/fil/');
|
|
1907
|
-
const link = healthTool.link
|
|
1908
|
-
? healthTool.link.startsWith('http')
|
|
1909
|
-
? healthTool.link
|
|
1910
|
-
: isBot
|
|
1911
|
-
? healthTool.link
|
|
1912
|
-
: hasFilPrefix
|
|
1913
|
-
? healthTool.link
|
|
1914
|
-
.replace('/health-tools/', '/')
|
|
1915
|
-
.replace('/fil/', '/fil/health-tools/')
|
|
1916
|
-
: `/health-tools${healthTool.link.replace('/health-tools/', '/')}`
|
|
1917
|
-
: undefined;
|
|
1918
|
-
return {
|
|
1919
|
-
icon: healthTool.icon,
|
|
1920
|
-
link,
|
|
1921
|
-
subtitle: healthTool.subtitle,
|
|
1922
|
-
title: healthTool.title,
|
|
1923
|
-
isMobileAppTool: !!(healthTool === null || healthTool === void 0 ? void 0 : healthTool.is_mobile_app_tool),
|
|
1924
|
-
};
|
|
1925
|
-
};
|
|
1926
|
-
const formatSpecialties = (specialties) => {
|
|
1927
|
-
var _a, _b, _c, _d, _e;
|
|
1928
|
-
if (!specialties || !(specialties === null || specialties === void 0 ? void 0 : specialties.object_id))
|
|
1929
|
-
return {};
|
|
1930
|
-
return {
|
|
1931
|
-
thumbnail: ((_a = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _a === void 0 ? void 0 : _a.logo) || '',
|
|
1932
|
-
link: ((_b = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _b === void 0 ? void 0 : _b.slug) || '',
|
|
1933
|
-
subtitle: ((_c = specialties.object_id) === null || _c === void 0 ? void 0 : _c.name) || '',
|
|
1934
|
-
name: ((_d = specialties.object_id) === null || _d === void 0 ? void 0 : _d.name) || '',
|
|
1935
|
-
slug: ((_e = specialties.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
1936
|
-
};
|
|
1937
|
-
};
|
|
1938
|
-
const formatHospital = (hospital) => {
|
|
1939
|
-
var _a, _b, _c, _d, _e;
|
|
1940
|
-
if (!hospital || !(hospital === null || hospital === void 0 ? void 0 : hospital.object_id))
|
|
1941
|
-
return {};
|
|
1942
|
-
return {
|
|
1943
|
-
id: (_a = hospital.object_id) === null || _a === void 0 ? void 0 : _a.id,
|
|
1944
|
-
name: ((_b = hospital.object_id) === null || _b === void 0 ? void 0 : _b.name) || '',
|
|
1945
|
-
logo: ((_c = hospital === null || hospital === void 0 ? void 0 : hospital.object_id) === null || _c === void 0 ? void 0 : _c.logo) || '',
|
|
1946
|
-
description: ((_d = hospital.object_id) === null || _d === void 0 ? void 0 : _d.description) || '',
|
|
1947
|
-
slug: ((_e = hospital.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
1948
|
-
};
|
|
1949
|
-
};
|
|
1950
|
-
const getTogetherUserPostsApiPath = (locale, isMarryBaby, apiDomain, params) => {
|
|
1951
|
-
const apiUrl = apiDomain || `https://together.hellohealthgroup.com/`;
|
|
1952
|
-
return (apiUrl +
|
|
1953
|
-
'api/v1/' +
|
|
1954
|
-
formatString(TOGETHER_PATHS.GET_USER_POSTS, Object.assign(Object.assign({}, params), { websiteUrl: isMarryBaby
|
|
1955
|
-
? 'https://marrybaby.vn'
|
|
1956
|
-
: `https://${domainLocales[locale]}` })));
|
|
1957
|
-
};
|
|
1958
|
-
const getCareSearchUrl = ({ type, specialtySlug, locale, }) => {
|
|
1959
|
-
var _a, _b;
|
|
1960
|
-
return `${(_a = LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.ALL}/${((_b = LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b[type]) || 'doctor'}/${specialtySlug !== null && specialtySlug !== void 0 ? specialtySlug : ''}`;
|
|
1961
|
-
};
|
|
1962
|
-
const formatSpotlightsList = (spotlight) => {
|
|
1963
|
-
if (!spotlight)
|
|
1964
|
-
return {};
|
|
1965
|
-
return {
|
|
1966
|
-
id: spotlight.ID,
|
|
1967
|
-
name: spotlight.name,
|
|
1968
|
-
permalink: spotlight.permalink,
|
|
1969
|
-
image: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.small_banner) || (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image) || '',
|
|
1970
|
-
imageMedium: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_medium) || null,
|
|
1971
|
-
imageThumbnail: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_thumbnail) || null,
|
|
1972
|
-
startDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.start_date,
|
|
1973
|
-
endDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.end_date,
|
|
1974
|
-
buttonDisplay: spotlight.button_display || null,
|
|
1975
|
-
};
|
|
1976
|
-
};
|
|
1977
|
-
const checkAvailableSpotlight = (spotlight) => {
|
|
1978
|
-
const today = new Date();
|
|
1979
|
-
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.startDate) {
|
|
1980
|
-
const startDate = new Date(spotlight.startDate);
|
|
1981
|
-
if (today.getTime() < startDate.getTime())
|
|
1982
|
-
return false;
|
|
1983
|
-
}
|
|
1984
|
-
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.endDate) {
|
|
1985
|
-
const endDate = new Date(spotlight.endDate);
|
|
1986
|
-
if (today.getTime() > endDate.getTime())
|
|
1987
|
-
return false;
|
|
1988
|
-
}
|
|
1989
|
-
return true;
|
|
1990
|
-
};
|
|
1991
|
-
const formatVideoItem = (data) => {
|
|
1992
|
-
if (typeof data === 'undefined' || !data)
|
|
1993
|
-
return null;
|
|
1994
|
-
return {
|
|
1995
|
-
id: data.ID || '',
|
|
1996
|
-
videoId: data.video_id || '',
|
|
1997
|
-
url: data.video_url || '',
|
|
1998
|
-
title: data.video_title || '',
|
|
1999
|
-
type: data.type || VideoType.VIDEO,
|
|
2000
|
-
totalView: data.total_view || 0,
|
|
2001
|
-
description: data.description || '',
|
|
2002
|
-
createTime: data.create_time || '',
|
|
2003
|
-
duration: data.duration || 0,
|
|
2004
|
-
image: data.image || '',
|
|
2005
|
-
imageMedium: data.image_medium || '',
|
|
2006
|
-
imageThumbnail: data.image_thumbnail || '',
|
|
2007
|
-
active: false,
|
|
2008
|
-
articleLink: data.article_link || '',
|
|
2009
|
-
};
|
|
2010
|
-
};
|
|
2011
|
-
|
|
2012
2055
|
var styles = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
|
|
2013
2056
|
|
|
2014
2057
|
const BtnClosePopup = ({ onClosePopup }) => {
|