@hhgtech/hhg-components 1.29.446 → 1.29.448
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-ea3cf403.js → InputDate-029e5e4d.js} +5 -5
- package/build/{LastPeriod-7a132b77.js → LastPeriod-6e9d0598.js} +1 -1
- package/build/{MobileBottomNavigationIcon-50881a8d.js → MobileBottomNavigationIcon-0066ada4.js} +3 -3
- package/build/{Spinner-5d44299f.js → Spinner-b04b16b0.js} +1 -1
- package/build/{WhatsApp-44ee7642.js → WhatsApp-f3f9d19b.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/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +2 -1
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +46 -48
- package/build/components/atoms/cardCollapse/index.d.ts +1 -1
- package/build/components/atoms/cardCollapse/index.styled.d.ts +0 -4
- package/build/components/atoms/distanceTag/index.styled.d.ts +1 -5
- package/build/components/molecules/answeredByDoctor/index.d.ts +8 -0
- package/build/components/molecules/answeredByDoctor/index.styled.d.ts +9 -0
- package/build/components/molecules/embeddedHeathToolCards/helpers.d.ts +4 -0
- package/build/components/molecules/healthTools/form/bmiForm/context.d.ts +1 -0
- package/build/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
- package/build/components/molecules/index.d.ts +1 -0
- package/build/components/molecules/list/type.d.ts +2 -0
- package/build/components/molecules/paymentList/index.d.ts +2 -1
- package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +5 -0
- package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +7 -0
- package/build/components/navigationV2/types.d.ts +10 -0
- package/build/components/navigationV2/utils.d.ts +14 -0
- package/build/components/organisms/articleCard/index.d.ts +36 -0
- package/build/components/organisms/articleCard/index.styled.d.ts +21 -0
- package/build/components/organisms/index.d.ts +1 -0
- package/build/components/organisms/insuranceInfo/index.d.ts +2 -1
- package/build/components.js +175 -173
- package/build/{constants-e2592a4e.js → constants-9576ed38.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-e5807367.js → core-d40a3728.js} +1 -1
- package/build/{dataTransform-560b7a3b.js → dataTransform-d30942f7.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-0241ce92.js → editor-0d3b27a2.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-34997485.js → InputDate-1d43c386.js} +5 -5
- package/build/esm/{LastPeriod-ee32498c.js → LastPeriod-28c890db.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-86e450ce.js → MobileBottomNavigationIcon-34510404.js} +3 -3
- package/build/esm/{Spinner-1701207a.js → Spinner-8b8558fa.js} +1 -1
- package/build/esm/{WhatsApp-c768bcd2.js → WhatsApp-f52e7a45.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/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +2 -1
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +46 -48
- package/build/esm/components/atoms/cardCollapse/index.d.ts +1 -1
- package/build/esm/components/atoms/cardCollapse/index.styled.d.ts +0 -4
- package/build/esm/components/atoms/distanceTag/index.styled.d.ts +1 -5
- package/build/esm/components/molecules/answeredByDoctor/index.d.ts +8 -0
- package/build/esm/components/molecules/answeredByDoctor/index.styled.d.ts +9 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/helpers.d.ts +4 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/context.d.ts +1 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
- package/build/esm/components/molecules/index.d.ts +1 -0
- package/build/esm/components/molecules/list/type.d.ts +2 -0
- package/build/esm/components/molecules/paymentList/index.d.ts +2 -1
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +5 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +7 -0
- package/build/esm/components/navigationV2/types.d.ts +10 -0
- package/build/esm/components/navigationV2/utils.d.ts +14 -0
- package/build/esm/components/organisms/articleCard/index.d.ts +36 -0
- package/build/esm/components/organisms/articleCard/index.styled.d.ts +21 -0
- package/build/esm/components/organisms/index.d.ts +1 -0
- package/build/esm/components/organisms/insuranceInfo/index.d.ts +2 -1
- package/build/esm/components.js +103 -103
- package/build/esm/{constants-6c1bab80.js → constants-5f6fa0d8.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-78500434.js → core-6275b986.js} +1 -1
- package/build/esm/{dataTransform-76dc08c5.js → dataTransform-eec5e584.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-c0f734d5.js → editor-f73afea6.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-bb3b9f52.js → healthTools-1431e4b4.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/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +7 -0
- package/build/esm/i18n-values/hi-IN.js +7 -0
- package/build/esm/i18n-values/id-ID.js +7 -0
- package/build/esm/i18n-values/km-KH.js +7 -0
- package/build/esm/i18n-values/ms-MY.js +7 -0
- package/build/esm/i18n-values/my-MM.js +7 -0
- package/build/esm/i18n-values/th-TH.js +7 -0
- package/build/esm/i18n-values/tl-PH.js +7 -0
- package/build/esm/i18n-values/vi-VN.js +7 -0
- package/build/esm/i18n-values/vi-VN_MB.js +7 -0
- package/build/esm/i18n-values/zh-SG.js +7 -0
- package/build/esm/i18n-values/zh-TW.js +10 -3
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/icons/Pin3.d.ts +4 -0
- package/build/esm/{index-a0b38a9f.js → index-011585c5.js} +32 -32
- package/build/esm/{index-569114a4.js → index-033aae54.js} +13 -13
- package/build/esm/index-09024936.js +207 -0
- package/build/esm/{index-dd96d14b.js → index-0a5c217f.js} +18 -18
- package/build/esm/{index-86781055.js → index-0ad840cc.js} +16 -16
- package/build/esm/{index-9577f036.js → index-1457df3c.js} +1 -1
- package/build/esm/{index-1b5a6f55.js → index-14ddbaca.js} +2 -2
- package/build/esm/{index-908a22f1.js → index-191bb5e3.js} +339 -226
- package/build/esm/{index-134ef8da.js → index-1f04f5cd.js} +6 -6
- package/build/esm/{index-2f98772e.js → index-20707afb.js} +1 -1
- package/build/esm/{index-183905bf.js → index-21547f9b.js} +17 -17
- package/build/esm/{index-73e5fbab.js → index-27d4922c.js} +3 -3
- package/build/esm/{index-8dfda23b.js → index-2870af04.js} +8 -8
- package/build/esm/{index-4bfef9ef.js → index-296428c2.js} +2 -2
- package/build/esm/{index-8542e2a7.js → index-326ff299.js} +2 -2
- package/build/esm/{index-26e83ed6.js → index-341ed865.js} +2 -2
- package/build/esm/{index-4c620103.js → index-3fe05a17.js} +2 -2
- package/build/esm/{index-8c223288.js → index-43c88049.js} +2 -2
- package/build/esm/{index-69af4a31.js → index-48fced9b.js} +1 -1
- package/build/esm/{index-e7860bcc.js → index-4a66a7c9.js} +2 -2
- package/build/esm/{index-a39845d4.js → index-4ad33a18.js} +2 -2
- package/build/esm/{index-e66efc7a.js → index-5165f018.js} +32 -32
- package/build/esm/{index-fbcd74ff.js → index-5179d870.js} +6 -6
- package/build/esm/{index-095a3634.js → index-523c76b6.js} +13 -13
- package/build/esm/{index-8c13a911.js → index-53bd2c80.js} +15 -15
- package/build/esm/{index-2407b0fa.js → index-55bfc6f0.js} +4 -4
- package/build/esm/{index-8d856dbb.js → index-5d09fff6.js} +1 -1
- package/build/esm/{index-500479f6.js → index-602c10bf.js} +2 -2
- package/build/esm/{index-809e0b13.js → index-63216e2a.js} +22 -22
- package/build/esm/{index-b4409ba5.js → index-63d2f250.js} +3 -3
- package/build/esm/{index-be5a7659.js → index-64827257.js} +1 -1
- package/build/esm/{index-697693d1.js → index-69465c7e.js} +3 -3
- package/build/esm/{index-236e029e.js → index-6c0a8369.js} +5 -4
- package/build/esm/{index-f66e8ba1.js → index-7b4efb28.js} +2 -2
- package/build/esm/{index-ff9b19dc.js → index-7dd06998.js} +6 -6
- package/build/esm/{index-5671d070.js → index-7fedc0ef.js} +1 -1
- package/build/esm/{index-137e5210.js → index-8f9ff5fc.js} +25 -25
- package/build/esm/{index-c9a58600.js → index-92ea8383.js} +3 -3
- package/build/esm/{index-fbcce178.js → index-94204073.js} +9 -9
- package/build/esm/{index-b52c7f54.js → index-9676d497.js} +2 -2
- package/build/esm/{index-3079db33.js → index-9a3adb7b.js} +2 -2
- package/build/esm/{index-a177ecbc.js → index-9e0b0aa0.js} +17 -17
- package/build/esm/{index-37002190.js → index-9f47f90d.js} +2 -2
- package/build/esm/{index-b482fa95.js → index-a18a1879.js} +17 -17
- package/build/esm/{index-38e9a9f0.js → index-a45be0c7.js} +13 -13
- package/build/esm/{index-41f9bb30.js → index-a4d8dbc0.js} +2 -2
- package/build/esm/{index-d30a6402.js → index-ac6cb3b8.js} +11 -30
- package/build/esm/{index-9b82dc59.js → index-b47f6205.js} +87 -26
- package/build/esm/{index-df75f887.js → index-b4c8b075.js} +7 -7
- package/build/esm/{index-2f2f29bb.js → index-b5a61389.js} +15 -15
- package/build/esm/{index-0718f911.js → index-bb7e2e3c.js} +14 -13
- package/build/esm/{index-075bd0c1.js → index-bcd359f3.js} +2 -2
- package/build/esm/{index-878ae459.js → index-bd65bdb6.js} +13 -13
- package/build/esm/{index-b3a565c0.js → index-c3f8797c.js} +1 -1
- package/build/esm/{index-6a5e3a6f.js → index-c68a533e.js} +2 -2
- package/build/esm/{index-e433d025.js → index-c8a1a131.js} +7 -7
- package/build/esm/{index-4b0e4e41.js → index-cae97dff.js} +21 -21
- package/build/esm/{index-d5633020.js → index-cc305f99.js} +3 -3
- package/build/esm/{index-b8767744.js → index-d1e7fa3d.js} +5 -5
- package/build/esm/{index-85409d38.js → index-d8e2d38e.js} +2 -2
- package/build/esm/{index-a44a367f.js → index-d8f13395.js} +13 -13
- package/build/esm/{index-87a5e8aa.js → index-db4a401f.js} +6 -6
- package/build/esm/{index-99bc575e.js → index-e0ef6db8.js} +16 -16
- package/build/esm/{index-0046753c.js → index-e90acae8.js} +11 -11
- package/build/esm/{index-29f80af7.js → index-ea0f1051.js} +19 -18
- package/build/esm/{index-e05deb74.js → index-ea6106bd.js} +15 -15
- package/build/esm/{index-df0b6335.js → index-ea865493.js} +20 -5
- package/build/esm/{index-033c4a57.js → index-f0d53ac2.js} +14 -14
- package/build/esm/{RatingStarsInput-7071f1d5.js → index-f31f28e1.js} +70 -34
- package/build/esm/{index-6efd8f7a.js → index-fc84a739.js} +3 -3
- package/build/esm/{index-54282349.js → index-fd60b159.js} +3 -3
- package/build/esm/index.js +131 -126
- package/build/esm/{labelSorting-93a85648.js → labelSorting-1dfefae2.js} +4 -4
- package/build/esm/lead.js +36 -36
- package/build/esm/{logoIcon-c7eacf77.js → logoIcon-c8b46788.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-d97888e9.js → post-14b3b54f.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-b01f08c1.js → store-13ef6e74.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-a9d064bb.js → surveyThankyouCard-997410e7.js} +5 -5
- package/build/esm/{text-eced7441.js → text-db324baf.js} +6 -6
- 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-b3f26828.js → translationsProvider-dcc4d62b.js} +1 -1
- package/build/esm/{treePopoverMenu-5457e14c.js → treePopoverMenu-534afcf8.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-6e58aa34.js → useHealthToolCache-b63178ff.js} +1 -1
- package/build/esm/{usePhoneValidator-34e2f369.js → usePhoneValidator-840edecb.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-dad068c3.js → usePlacesAutocomplete-3714e595.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-9bddd18b.js → utils-07e3ab93.js} +5 -5
- package/build/esm/{utils-622e337a.js → utils-1ca14c97.js} +2 -2
- package/build/esm/{utils-c79e7532.js → utils-4fd72289.js} +2 -2
- package/build/esm/{utils-b8fd4daf.js → utils-cd8ba782.js} +3 -3
- package/build/esm/{utils-96b11fb1.js → utils-fc7d0d7d.js} +1 -1
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-f65b9f1c.js → healthTools-bec8414b.js} +1 -1
- package/build/healthToolsCardWrapper.js +19 -19
- package/build/healthToolsForm.js +34 -34
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +7 -0
- package/build/i18n-values/hi-IN.js +7 -0
- package/build/i18n-values/id-ID.js +7 -0
- package/build/i18n-values/km-KH.js +7 -0
- package/build/i18n-values/ms-MY.js +7 -0
- package/build/i18n-values/my-MM.js +7 -0
- package/build/i18n-values/th-TH.js +7 -0
- package/build/i18n-values/tl-PH.js +7 -0
- package/build/i18n-values/vi-VN.js +7 -0
- package/build/i18n-values/vi-VN_MB.js +7 -0
- package/build/i18n-values/zh-SG.js +7 -0
- package/build/i18n-values/zh-TW.js +10 -3
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/icons/Pin3.d.ts +4 -0
- package/build/{index-c66acc17.js → index-02050d00.js} +4 -4
- package/build/{index-3a82b0d7.js → index-05d37808.js} +32 -32
- package/build/{index-bf3a1a2a.js → index-0b2b69fc.js} +6 -6
- package/build/{index-5280c604.js → index-0d47b185.js} +16 -16
- package/build/{index-a9bc62bf.js → index-0f643834.js} +11 -30
- package/build/{index-70b18251.js → index-10f085e9.js} +15 -15
- package/build/{index-8d585a8f.js → index-167b4f67.js} +11 -11
- package/build/{index-79b5bd8b.js → index-1a0f66a4.js} +15 -15
- package/build/{index-369f965c.js → index-1a78668d.js} +14 -14
- package/build/{index-1ef5293c.js → index-1f6c98e4.js} +1 -1
- package/build/{index-3358bc21.js → index-1fc45552.js} +3 -3
- package/build/{index-b420f29a.js → index-26a35ab3.js} +13 -13
- package/build/{index-3d2be1fa.js → index-2952ef30.js} +5 -4
- package/build/{index-0d11c2b4.js → index-2e2320d5.js} +2 -2
- package/build/{index-27784607.js → index-3079d639.js} +2 -2
- package/build/{index-d7ee122e.js → index-35041282.js} +86 -24
- package/build/{index-a094b76f.js → index-359e599a.js} +7 -7
- package/build/{index-5d7ad93a.js → index-378ce6d8.js} +1 -1
- package/build/{index-46545be9.js → index-38610dda.js} +2 -2
- package/build/{index-0a3884ed.js → index-3b13d28b.js} +13 -13
- package/build/{index-617dbdff.js → index-3bac4159.js} +17 -17
- package/build/{index-890b5752.js → index-44cafc35.js} +2 -2
- package/build/{index-3dba0c64.js → index-4b540111.js} +25 -25
- package/build/{index-3131f796.js → index-4ecc708d.js} +2 -2
- package/build/{index-6746b982.js → index-4f4901ef.js} +15 -15
- package/build/{index-c184db89.js → index-515ec2da.js} +2 -2
- package/build/{index-71aeeed0.js → index-56a991f7.js} +2 -2
- package/build/{index-98b8c19b.js → index-5905554c.js} +13 -13
- package/build/{index-566fc5f6.js → index-5aa58551.js} +22 -22
- package/build/{index-0cd9f867.js → index-62962bcd.js} +17 -17
- package/build/{index-bb36bdbb.js → index-6485416f.js} +14 -13
- package/build/{index-aaeda199.js → index-68e72fb0.js} +2 -2
- package/build/{index-133c658f.js → index-743a7542.js} +2 -2
- package/build/{index-f97a8b70.js → index-75bb7acd.js} +2 -2
- package/build/{index-d5039b65.js → index-80e5eb4a.js} +6 -6
- package/build/{index-c14fc900.js → index-8128ad91.js} +8 -8
- package/build/index-81fc112f.js +213 -0
- package/build/{index-8c60d19d.js → index-85844168.js} +17 -17
- package/build/{index-afa13179.js → index-8aa0eefe.js} +3 -3
- package/build/{index-ef0a7d81.js → index-8c59d04c.js} +2 -2
- package/build/{RatingStarsInput-50cdf773.js → index-8f425df7.js} +70 -33
- package/build/{index-55cc6192.js → index-97177e19.js} +3 -3
- package/build/{index-0dde1654.js → index-a02ac8e8.js} +32 -32
- package/build/{index-2aea318b.js → index-a14a933c.js} +16 -16
- package/build/{index-c2e4dc7c.js → index-a608d70c.js} +22 -22
- package/build/{index-c90f54f8.js → index-a8acf5b5.js} +1 -1
- package/build/{index-d918d4ed.js → index-aaf078ac.js} +1 -1
- package/build/{index-00c7cd9f.js → index-b04908bf.js} +1 -1
- package/build/{index-8b96a25d.js → index-b715f592.js} +6 -6
- package/build/{index-7097f3e9.js → index-c0083606.js} +1 -1
- package/build/{index-bec34917.js → index-c0315715.js} +2 -2
- package/build/{index-56f531c0.js → index-cb1024b8.js} +5 -5
- package/build/{index-5e2f821a.js → index-cb14a9dc.js} +8 -8
- package/build/{index-670f46f3.js → index-cbebb87e.js} +3 -3
- package/build/{index-d890c325.js → index-d395161d.js} +2 -2
- package/build/{index-4c675261.js → index-d3b61b31.js} +3 -3
- package/build/{index-5df4c886.js → index-d5e59cc1.js} +342 -229
- package/build/{index-ff7bd77d.js → index-d8b7b7c8.js} +2 -2
- package/build/{index-1dd55776.js → index-d978efdd.js} +3 -3
- package/build/{index-4b47f8a9.js → index-dbe81403.js} +13 -13
- package/build/{index-e4e3cdb3.js → index-e161ca2e.js} +2 -2
- package/build/{index-d5760552.js → index-e53ca5e8.js} +7 -7
- package/build/{index-558c8c74.js → index-e9eecc93.js} +1 -1
- package/build/{index-89e7e056.js → index-edff4458.js} +3 -3
- package/build/{index-14c17a07.js → index-f4f1f9fc.js} +21 -21
- package/build/{index-96ae56db.js → index-f7c90d4b.js} +6 -6
- package/build/{index-559d2a98.js → index-f8bcbae7.js} +21 -5
- package/build/{index-8e7be4d9.js → index-f9082c79.js} +2 -2
- package/build/{index-cbffd22e.js → index-fa93d808.js} +13 -13
- package/build/{index-9244962b.js → index-fb092414.js} +18 -18
- package/build/{index-be7a30b4.js → index-fb50037f.js} +2 -2
- package/build/index.js +239 -232
- package/build/{labelSorting-ffe5b723.js → labelSorting-70baac48.js} +4 -4
- package/build/lead.js +36 -36
- package/build/{logoIcon-227b5bda.js → logoIcon-a70f51a2.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 +133 -132
- 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 +58 -57
- package/build/{post-90f668ca.js → post-6e58d107.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-c319b869.js → store-f82fa8bf.js} +3 -3
- package/build/subot.js +36 -36
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-bfaba533.js → surveyThankyouCard-aa078f53.js} +5 -5
- package/build/{text-c96deefa.js → text-4cc51fce.js} +6 -6
- 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-9e4e78d2.js → translationsProvider-3b00eb52.js} +1 -1
- package/build/{treePopoverMenu-310b4919.js → treePopoverMenu-5529c23b.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-57b14ae3.js → useHealthToolCache-3076b5c8.js} +1 -1
- package/build/{usePhoneValidator-030dd68e.js → usePhoneValidator-e9add5f4.js} +5 -5
- package/build/{usePlacesAutocomplete-e56fa322.js → usePlacesAutocomplete-65e2fbad.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-ce360ad2.js → utils-5c52fed4.js} +2 -2
- package/build/{utils-46a4f3bd.js → utils-6767deba.js} +5 -5
- package/build/{utils-862f300b.js → utils-a1aae294.js} +2 -2
- package/build/{utils-f04c1dce.js → utils-d77f3661.js} +3 -3
- package/build/{utils-f7947b36.js → utils-fe24c3a5.js} +1 -1
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/esm/index-7740d235.js +0 -149
- package/build/index-7add2102.js +0 -155
- /package/build/{BMI_BOYS.percentile.monthly-ccf27e51.js → BMI_BOYS.percentile.monthly-da7c2b76.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-f92cbdb5.js → BMI_BOYS.percentile.weekly-36e93144.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-abe9d78c.js → BMI_BOYS.percentile.yearly-b952ddf7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-32e9bdc5.js → BMI_BOYS.zscore.monthly-393a3d0f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-b6ac7c6e.js → BMI_BOYS.zscore.weekly-5db3f066.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-d2df5d41.js → BMI_BOYS.zscore.yearly-7745b164.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-9054e75d.js → BMI_GIRLS.percentile.monthly-f619936d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-8d91b9c7.js → BMI_GIRLS.percentile.weekly-43f28507.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-283074ac.js → BMI_GIRLS.percentile.yearly-92385aba.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-dbe18f1c.js → BMI_GIRLS.zscore.monthly-9e4ea35e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-9f7dc57d.js → BMI_GIRLS.zscore.weekly-0e323025.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-d0d36f18.js → BMI_GIRLS.zscore.yearly-da246490.js} +0 -0
- /package/build/{ChevronDown-99a7436c.js → ChevronDown-369694d8.js} +0 -0
- /package/build/{Close-4505b10e.js → Close-9f01c61d.js} +0 -0
- /package/build/{Google-7e92c4ad.js → Google-af0c19bf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-a92e59fd.js → HEAD CIRCUM_BOYS.percentile.monthly-956f83e6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-b900562f.js → HEAD CIRCUM_BOYS.percentile.weekly-ba3b863d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-f99dfa41.js → HEAD CIRCUM_BOYS.percentile.yearly-91db46be.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-960c256d.js → HEAD CIRCUM_BOYS.zscore.monthly-531da531.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3ceb9216.js → HEAD CIRCUM_BOYS.zscore.weekly-57510036.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-3aaf1e69.js → HEAD CIRCUM_BOYS.zscore.yearly-6afd8845.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-ac150cd0.js → HEAD CIRCUM_GIRLS.percentile.monthly-863a0376.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-7f1aefb9.js → HEAD CIRCUM_GIRLS.percentile.weekly-93f2ea69.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-b786349d.js → HEAD CIRCUM_GIRLS.percentile.yearly-d1c36e4d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-4d27fde3.js → HEAD CIRCUM_GIRLS.zscore.monthly-429cb164.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d1b280f7.js → HEAD CIRCUM_GIRLS.zscore.weekly-71f3821f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-7fc092ba.js → HEAD CIRCUM_GIRLS.zscore.yearly-79c4b04a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-0dde6054.js → HEIGHT_BOYS.percentile.monthly-3456f0cb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-125ca2ab.js → HEIGHT_BOYS.percentile.weekly-ae85b9f6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-6133fed4.js → HEIGHT_BOYS.percentile.yearly-8a6980b6.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-310ee386.js → HEIGHT_BOYS.zscore.monthly-950d77f5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-d20804e7.js → HEIGHT_BOYS.zscore.weekly-69ee9724.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-72fc6181.js → HEIGHT_BOYS.zscore.yearly-47710590.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ee81d84e.js → HEIGHT_GIRLS.percentile.monthly-ae799e77.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-2c5b0802.js → HEIGHT_GIRLS.percentile.weekly-32a1b779.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-fa55cae6.js → HEIGHT_GIRLS.percentile.yearly-f7775162.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-05b112eb.js → HEIGHT_GIRLS.zscore.monthly-e7a27f99.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-fe63877d.js → HEIGHT_GIRLS.zscore.weekly-b6a8df2e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-476aaf3a.js → HEIGHT_GIRLS.zscore.yearly-96f03702.js} +0 -0
- /package/build/{Locale-59dbe7f6.js → Locale-0044edae.js} +0 -0
- /package/build/{Visible-d23f79ad.js → Visible-1fb79422.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-63042885.js → WEIGHT_BOYS.percentile.monthly-1ef5a5e4.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-fd7c17e7.js → WEIGHT_BOYS.percentile.weekly-84862d51.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-ddd0a4bb.js → WEIGHT_BOYS.percentile.yearly-6c6cb991.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-afa7868e.js → WEIGHT_BOYS.zscore.monthly-ca2ace12.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-0511694b.js → WEIGHT_BOYS.zscore.weekly-21ba294f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-c93f1b78.js → WEIGHT_BOYS.zscore.yearly-54b72eec.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-3c1f59dc.js → WEIGHT_GIRLS.percentile.monthly-a0e6d915.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-d94808f9.js → WEIGHT_GIRLS.percentile.weekly-937afb81.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-4d235d82.js → WEIGHT_GIRLS.percentile.yearly-94d8c774.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4ff95d27.js → WEIGHT_GIRLS.zscore.monthly-4d54288d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-23d23e65.js → WEIGHT_GIRLS.zscore.weekly-9a8824c8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-8aa9ff96.js → WEIGHT_GIRLS.zscore.yearly-88d3858b.js} +0 -0
- /package/build/{ageGenerate-96312f1a.js → ageGenerate-7f00a24f.js} +0 -0
- /package/build/{animation-7533640f.js → animation-2b332b85.js} +0 -0
- /package/build/{constants-a947b701.js → constants-2d7796a3.js} +0 -0
- /package/build/{constants-c3559dde.js → constants-7429c104.js} +0 -0
- /package/build/{constants-19c2383e.js → constants-e864d238.js} +0 -0
- /package/build/{dataTransform-d8bb6201.js → dataTransform-baee4b15.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-b660453d.js → BMI_BOYS.percentile.monthly-9184c751.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-82b96f6c.js → BMI_BOYS.percentile.weekly-084e4f49.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-1849268d.js → BMI_BOYS.percentile.yearly-8dc0713a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-4c84ced7.js → BMI_BOYS.zscore.monthly-f545316c.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-14cb1d90.js → BMI_BOYS.zscore.weekly-98c25b46.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-b98124c7.js → BMI_BOYS.zscore.yearly-01dee79f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-49fc12d9.js → BMI_GIRLS.percentile.monthly-94532077.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-b94bfef3.js → BMI_GIRLS.percentile.weekly-f1026864.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-89d7433b.js → BMI_GIRLS.percentile.yearly-d804fa32.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-79836fe8.js → BMI_GIRLS.zscore.monthly-cf005b96.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-238a1f5a.js → BMI_GIRLS.zscore.weekly-2676a2ff.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-dd717681.js → BMI_GIRLS.zscore.yearly-8e42dcac.js} +0 -0
- /package/build/esm/{ChevronDown-82aaa5a5.js → ChevronDown-d71f0d8d.js} +0 -0
- /package/build/esm/{Close-c7a9ee94.js → Close-94e1dd74.js} +0 -0
- /package/build/esm/{Google-061ef221.js → Google-8b33e0a6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-dc9a900d.js → HEAD CIRCUM_BOYS.percentile.monthly-20d3e265.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-f7c380fd.js → HEAD CIRCUM_BOYS.percentile.weekly-403a59ba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-49984faf.js → HEAD CIRCUM_BOYS.percentile.yearly-c4137552.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-dcc0365a.js → HEAD CIRCUM_BOYS.zscore.monthly-925586b0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-74ca391e.js → HEAD CIRCUM_BOYS.zscore.weekly-d044cfd3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-ceb49103.js → HEAD CIRCUM_BOYS.zscore.yearly-a28edab0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-d0cf619e.js → HEAD CIRCUM_GIRLS.percentile.monthly-d02ec7be.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-3a247191.js → HEAD CIRCUM_GIRLS.percentile.weekly-3b855990.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-d286b1d0.js → HEAD CIRCUM_GIRLS.percentile.yearly-b3d836c4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-604dbd93.js → HEAD CIRCUM_GIRLS.zscore.monthly-ac065b18.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a0d05bf7.js → HEAD CIRCUM_GIRLS.zscore.weekly-3f4572e0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-f42509dd.js → HEAD CIRCUM_GIRLS.zscore.yearly-e102092b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-061abdc8.js → HEIGHT_BOYS.percentile.monthly-d73c85ea.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8e2fd166.js → HEIGHT_BOYS.percentile.weekly-302379a2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-0f4bb6fa.js → HEIGHT_BOYS.percentile.yearly-f6572e0b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-54bd2ac0.js → HEIGHT_BOYS.zscore.monthly-fd27fe99.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-663a6380.js → HEIGHT_BOYS.zscore.weekly-9192bed9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-237558b6.js → HEIGHT_BOYS.zscore.yearly-71b530ef.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-37a56699.js → HEIGHT_GIRLS.percentile.monthly-af02014f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-03ef5021.js → HEIGHT_GIRLS.percentile.weekly-b2a5a5f7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-120b6336.js → HEIGHT_GIRLS.percentile.yearly-9e9a266e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-9ee136b1.js → HEIGHT_GIRLS.zscore.monthly-a2aba2cb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-4145a715.js → HEIGHT_GIRLS.zscore.weekly-bb990188.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-dbcc26cb.js → HEIGHT_GIRLS.zscore.yearly-8cc6c8ae.js} +0 -0
- /package/build/esm/{Locale-32ee16f4.js → Locale-bb880082.js} +0 -0
- /package/build/esm/{Visible-f3a5183b.js → Visible-9f993273.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-be798457.js → WEIGHT_BOYS.percentile.monthly-90a3d8e3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-890110bf.js → WEIGHT_BOYS.percentile.weekly-bc87a6a9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-6fbaca08.js → WEIGHT_BOYS.percentile.yearly-bd508a21.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-cf41c165.js → WEIGHT_BOYS.zscore.monthly-5af3f0c4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-1d2c4a81.js → WEIGHT_BOYS.zscore.weekly-cda0dcfc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-7ba4d480.js → WEIGHT_BOYS.zscore.yearly-3fe3b97a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-7f2b6953.js → WEIGHT_GIRLS.percentile.monthly-41457971.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-a6df7e8b.js → WEIGHT_GIRLS.percentile.weekly-c131ca9d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0a03ada1.js → WEIGHT_GIRLS.percentile.yearly-b786c053.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-83eed928.js → WEIGHT_GIRLS.zscore.monthly-9b5cdd06.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-d08e7a4f.js → WEIGHT_GIRLS.zscore.weekly-a99e121a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-933f5b2a.js → WEIGHT_GIRLS.zscore.yearly-5c37a8d5.js} +0 -0
- /package/build/esm/{ageGenerate-9b9bdf74.js → ageGenerate-5497e5d7.js} +0 -0
- /package/build/esm/{animation-70dad4d2.js → animation-ead41901.js} +0 -0
- /package/build/esm/{constants-b1e0ffa3.js → constants-024f4863.js} +0 -0
- /package/build/esm/{constants-e8330298.js → constants-78e39ac0.js} +0 -0
- /package/build/esm/{constants-f2cb363e.js → constants-bddfc09c.js} +0 -0
- /package/build/esm/{dataTransform-da3e40f8.js → dataTransform-5633492b.js} +0 -0
- /package/build/esm/{index-3b3d0e21.js → index-140dcef4.js} +0 -0
- /package/build/esm/{index-25c07a74.js → index-24fb3416.js} +0 -0
- /package/build/esm/{index-68391851.js → index-263a763c.js} +0 -0
- /package/build/esm/{index-890aeafa.js → index-39d9811c.js} +0 -0
- /package/build/esm/{index-58ce5383.js → index-47741b88.js} +0 -0
- /package/build/esm/{index-c169de32.js → index-a35d5bd3.js} +0 -0
- /package/build/esm/{index-5e0f8076.js → index-af7af639.js} +0 -0
- /package/build/esm/{index-eb5e0753.js → index-c29fad1a.js} +0 -0
- /package/build/esm/{index.styles-2d06e686.js → index.styles-e737cd1b.js} +0 -0
- /package/build/esm/{localizeNumberFormat-985acf47.js → localizeNumberFormat-24b8e33f.js} +0 -0
- /package/build/esm/{normalizeLink-cb899a3d.js → normalizeLink-5a2e92c9.js} +0 -0
- /package/build/esm/{number-9d9254e5.js → number-a224c433.js} +0 -0
- /package/build/esm/{paths-6de429eb.js → paths-eaeaed07.js} +0 -0
- /package/build/esm/{shared-c425d00b.js → shared-16fcefec.js} +0 -0
- /package/build/esm/{translationsContext-75fd6255.js → translationsContext-581baa38.js} +0 -0
- /package/build/esm/{tslib.es6-d3d6775d.js → tslib.es6-91093dfb.js} +0 -0
- /package/build/esm/{types-565e1db2.js → types-171a9859.js} +0 -0
- /package/build/esm/{types-22c4acdd.js → types-60c723b6.js} +0 -0
- /package/build/esm/{useIsInit-caf28f8c.js → useIsInit-e24533db.js} +0 -0
- /package/build/esm/{useOutsideClick-ecce989c.js → useOutsideClick-74eb5151.js} +0 -0
- /package/build/esm/{useScrollbarSize-cc40ec94.js → useScrollbarSize-7bb8c325.js} +0 -0
- /package/build/esm/{useUniqueId-e6c49b65.js → useUniqueId-ccd8c09f.js} +0 -0
- /package/build/esm/{utils-9ecd77e3.js → utils-54809471.js} +0 -0
- /package/build/{index-70326116.js → index-0ed1aa76.js} +0 -0
- /package/build/{index-443653ab.js → index-140042b2.js} +0 -0
- /package/build/{index-7140b722.js → index-234e9365.js} +0 -0
- /package/build/{index-55bf619b.js → index-7fd03876.js} +0 -0
- /package/build/{index-2d17f7fd.js → index-bd2ba244.js} +0 -0
- /package/build/{index-f896613b.js → index-e198e2af.js} +0 -0
- /package/build/{index-62e38207.js → index-e4fb4d26.js} +0 -0
- /package/build/{index-250cbee4.js → index-f0d40aad.js} +0 -0
- /package/build/{index.styles-5cecd0d3.js → index.styles-9aebaca8.js} +0 -0
- /package/build/{localizeNumberFormat-0944b4d0.js → localizeNumberFormat-660b2913.js} +0 -0
- /package/build/{normalizeLink-c1d76069.js → normalizeLink-25e0ec54.js} +0 -0
- /package/build/{number-3f39d2c1.js → number-931b087a.js} +0 -0
- /package/build/{paths-964ae90e.js → paths-d9348f30.js} +0 -0
- /package/build/{shared-e19513cd.js → shared-25c64a9a.js} +0 -0
- /package/build/{translationsContext-ac0f51c2.js → translationsContext-8aeaf409.js} +0 -0
- /package/build/{tslib.es6-aeabcafa.js → tslib.es6-a0b3636d.js} +0 -0
- /package/build/{types-bcaa51ae.js → types-3d622f17.js} +0 -0
- /package/build/{types-e50ca220.js → types-5819aa24.js} +0 -0
- /package/build/{useIsInit-ffb5d05b.js → useIsInit-de483edb.js} +0 -0
- /package/build/{useOutsideClick-d55578cc.js → useOutsideClick-f9988d3a.js} +0 -0
- /package/build/{useScrollbarSize-b41f458c.js → useScrollbarSize-c962bd7f.js} +0 -0
- /package/build/{useUniqueId-26efc38e.js → useUniqueId-d4842b12.js} +0 -0
- /package/build/{utils-bca5ff6c.js → utils-2a996ffd.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-91093dfb.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, a as ZINDEX_HEADER, T as TOGETHER_LOCALES, c 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-5d09fff6.js';
|
|
4
|
+
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-ac6cb3b8.js';
|
|
5
|
+
import { L as LOCALE_SPECS, S as STATIC_PAGES, a as ZINDEX_HEADER, T as TOGETHER_LOCALES, c as CARE_LOCALES } from './index-43c88049.js';
|
|
6
|
+
import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-5a2e92c9.js';
|
|
7
|
+
import { a as formatCommunity, b as formatPost } from './dataTransform-eec5e584.js';
|
|
8
8
|
import { Close, Logo } from '@hhgtech/icons/core';
|
|
9
|
-
import './translationsContext-
|
|
9
|
+
import './translationsContext-581baa38.js';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
|
-
import { I as Input } from './index-
|
|
11
|
+
import { I as Input } from './index-94204073.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-e90acae8.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-5179d870.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-a35d5bd3.js';
|
|
20
|
+
import './index-2870af04.js';
|
|
21
|
+
import { T as Text } from './index-c68a533e.js';
|
|
22
|
+
import { B as Button } from './index-cc305f99.js';
|
|
23
|
+
import './index.styles-e737cd1b.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-db324baf.js';
|
|
26
|
+
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-54809471.js';
|
|
27
|
+
import './index-92ea8383.js';
|
|
28
|
+
import { L as LOCALISED_SLUGS } from './constants-5f6fa0d8.js';
|
|
29
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-13ef6e74.js';
|
|
30
|
+
import { L as LOCALIZED_SLUGS } from './constants-bddfc09c.js';
|
|
31
|
+
import { u as useTranslations } from './index-64827257.js';
|
|
32
|
+
import { H as Heading } from './index-602c10bf.js';
|
|
33
|
+
import { I as Indicator$1 } from './index-1457df3c.js';
|
|
34
|
+
import { u as useIsInit } from './useIsInit-e24533db.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-f66e8ba1.js';
|
|
36
|
+
import { B as Button$1 } from './index-341ed865.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-7b4efb28.js';
|
|
42
|
+
import { C as Container } from './index-af7af639.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-bb880082.js';
|
|
45
|
+
import { g as getDataWithCache } from './core-6275b986.js';
|
|
46
46
|
|
|
47
47
|
const StyleInput = styled(Input) `
|
|
48
48
|
.mantine-Input-input {
|
|
@@ -822,11 +822,252 @@ 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 `
|
|
1065
|
+
position: relative;
|
|
826
1066
|
width: 100%;
|
|
827
1067
|
display: flex;
|
|
828
1068
|
align-items: center;
|
|
829
1069
|
text-decoration: none;
|
|
1070
|
+
|
|
830
1071
|
* {
|
|
831
1072
|
pointer-events: none;
|
|
832
1073
|
}
|
|
@@ -853,6 +1094,57 @@ const StyledImageCard$2 = styled.div `
|
|
|
853
1094
|
padding-top: 100px;
|
|
854
1095
|
}
|
|
855
1096
|
`;
|
|
1097
|
+
const StyledButton = styled.a `
|
|
1098
|
+
${MediaQueries.tdDown} {
|
|
1099
|
+
position: relative;
|
|
1100
|
+
bottom: 0;
|
|
1101
|
+
left: 16px;
|
|
1102
|
+
right: 0;
|
|
1103
|
+
padding: 4px 8px;
|
|
1104
|
+
width: 90px;
|
|
1105
|
+
height: 24px;
|
|
1106
|
+
font-size: 11px;
|
|
1107
|
+
line-height: 16px;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
position: absolute;
|
|
1111
|
+
bottom: 8px;
|
|
1112
|
+
left: 8px;
|
|
1113
|
+
right: 8px;
|
|
1114
|
+
height: 32px;
|
|
1115
|
+
padding: 6px 12px;
|
|
1116
|
+
|
|
1117
|
+
background: ${(props) => props.bgColor};
|
|
1118
|
+
border-radius: 10px;
|
|
1119
|
+
border: none;
|
|
1120
|
+
transition: all 0.2s ease-in-out;
|
|
1121
|
+
|
|
1122
|
+
color: ${(props) => props.textColor};
|
|
1123
|
+
font-family: 'Inter';
|
|
1124
|
+
font-weight: 500;
|
|
1125
|
+
font-size: 14px;
|
|
1126
|
+
line-height: 20px;
|
|
1127
|
+
text-align: center;
|
|
1128
|
+
white-space: nowrap;
|
|
1129
|
+
overflow: hidden;
|
|
1130
|
+
text-overflow: ellipsis;
|
|
1131
|
+
|
|
1132
|
+
&:hover {
|
|
1133
|
+
background: ${(props) => {
|
|
1134
|
+
const bgColor = props.bgColor.toLowerCase();
|
|
1135
|
+
if (bgColor === '#ffffff' || bgColor === 'white' || bgColor === '#fff') {
|
|
1136
|
+
return '#f0f0f0';
|
|
1137
|
+
}
|
|
1138
|
+
if (typeof bgColor === 'string') {
|
|
1139
|
+
const rgb = hexToRgb(bgColor, true);
|
|
1140
|
+
const hsb = rgbToHsb(rgb.r, rgb.g, rgb.b);
|
|
1141
|
+
const newPattern1 = hsbToRgb(hsb[0], hsb[1] + 16, hsb[2] - 16);
|
|
1142
|
+
return `rgb(${newPattern1[0]},${newPattern1[1]},${newPattern1[2]})`;
|
|
1143
|
+
}
|
|
1144
|
+
return '';
|
|
1145
|
+
}};
|
|
1146
|
+
}
|
|
1147
|
+
`;
|
|
856
1148
|
const StyledTitle$3 = styled.p `
|
|
857
1149
|
font-size: 16px;
|
|
858
1150
|
font-weight: 400;
|
|
@@ -868,10 +1160,22 @@ const StyledTitle$3 = styled.p `
|
|
|
868
1160
|
const Item$3 = ({ item, index = 0 }) => {
|
|
869
1161
|
if (!item)
|
|
870
1162
|
return null;
|
|
871
|
-
|
|
1163
|
+
const linkProps = {
|
|
1164
|
+
href: item.link,
|
|
1165
|
+
'data-event-category': 'Hamburger Navigation',
|
|
1166
|
+
'data-event-action': `Spotlight Click ${index + 1}`,
|
|
1167
|
+
'data-event-label': item.link,
|
|
1168
|
+
};
|
|
1169
|
+
return (React__default.createElement(StyledItem$4, Object.assign({ key: item.id, as: item.buttonDisplay ? 'div' : 'a' }, linkProps),
|
|
872
1170
|
React__default.createElement(StyledImageCard$2, null,
|
|
873
1171
|
React__default.createElement("img", { loading: "lazy", alt: item.title, src: item.banner || '/images/notFound-min-small.jpg' })),
|
|
874
|
-
React__default.createElement(
|
|
1172
|
+
React__default.createElement("div", { style: {
|
|
1173
|
+
display: 'flex',
|
|
1174
|
+
flexDirection: 'column',
|
|
1175
|
+
gap: 8,
|
|
1176
|
+
} },
|
|
1177
|
+
React__default.createElement(StyledTitle$3, null, item.title),
|
|
1178
|
+
!!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)))));
|
|
875
1179
|
};
|
|
876
1180
|
|
|
877
1181
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
@@ -882,6 +1186,7 @@ const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
|
882
1186
|
link: statics.HOME_PAGE_URL + spotlight.permalink,
|
|
883
1187
|
title: spotlight.name,
|
|
884
1188
|
banner: spotlight.image,
|
|
1189
|
+
buttonDisplay: spotlight.buttonDisplay,
|
|
885
1190
|
} }))))) : (React__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: CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
886
1191
|
};
|
|
887
1192
|
|
|
@@ -1543,24 +1848,6 @@ const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
|
1543
1848
|
React__default.createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
|
|
1544
1849
|
};
|
|
1545
1850
|
|
|
1546
|
-
const TOGETHER_PATHS = {
|
|
1547
|
-
COMMUNITIES: 'community?website_url={websiteUrl}',
|
|
1548
|
-
MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
|
|
1549
|
-
GET_USER_POSTS: 'profile/posts?website_url={websiteUrl}',
|
|
1550
|
-
};
|
|
1551
|
-
const Z_INDEX = {
|
|
1552
|
-
adBlock: 48,
|
|
1553
|
-
headerContainerHome: 99,
|
|
1554
|
-
headerContainerPopup: 300,
|
|
1555
|
-
headerContainerPopupSUbLevel: 400,
|
|
1556
|
-
menuCategoryPopupWrapper: 200,
|
|
1557
|
-
menuCategoryPopupContainer: 210,
|
|
1558
|
-
menuSearchInputPopup: 5,
|
|
1559
|
-
menuSearchInputDisplayIcon: 6,
|
|
1560
|
-
menuSearchPopup: 300,
|
|
1561
|
-
homeSearchComponent: 200,
|
|
1562
|
-
};
|
|
1563
|
-
|
|
1564
1851
|
const StyledHeaderWrapper = styled.div `
|
|
1565
1852
|
z-index: 201;
|
|
1566
1853
|
width: 100%;
|
|
@@ -1771,180 +2058,6 @@ const StyleButtonAiChat = styled(Button) `
|
|
|
1771
2058
|
}
|
|
1772
2059
|
`;
|
|
1773
2060
|
|
|
1774
|
-
const formatSponsor = (sponsor) => {
|
|
1775
|
-
if (!sponsor)
|
|
1776
|
-
return {};
|
|
1777
|
-
return {
|
|
1778
|
-
title: sponsor.title,
|
|
1779
|
-
logo: sponsor.logo,
|
|
1780
|
-
link: sponsor.link,
|
|
1781
|
-
};
|
|
1782
|
-
};
|
|
1783
|
-
const formatReviewedCategory = (data) => {
|
|
1784
|
-
return {
|
|
1785
|
-
postTitle: data.post_title,
|
|
1786
|
-
permalink: data.permalink,
|
|
1787
|
-
};
|
|
1788
|
-
};
|
|
1789
|
-
const formatFaqsCategory = (data) => {
|
|
1790
|
-
return {
|
|
1791
|
-
title: data.title,
|
|
1792
|
-
content: data.content,
|
|
1793
|
-
};
|
|
1794
|
-
};
|
|
1795
|
-
const formatCategory = (category) => {
|
|
1796
|
-
var _a, _b;
|
|
1797
|
-
if (!category)
|
|
1798
|
-
return {};
|
|
1799
|
-
return {
|
|
1800
|
-
termId: category.term_id || null,
|
|
1801
|
-
sponsor: category.sponsor ? formatSponsor(category.sponsor) : null,
|
|
1802
|
-
isSponsored: category.is_sponsored || null,
|
|
1803
|
-
categoryName: category.cat_name || category.name || null,
|
|
1804
|
-
name: category.name || null,
|
|
1805
|
-
iconUrl: category.icon || '',
|
|
1806
|
-
slugName: category.category_nicename || null,
|
|
1807
|
-
description: category.description || null,
|
|
1808
|
-
featureImage: category.thumbnail || category.image || null,
|
|
1809
|
-
displayName: category.name || null,
|
|
1810
|
-
parent: category.parent || null,
|
|
1811
|
-
permalink: category.permalink || null,
|
|
1812
|
-
slug: category.slug || null,
|
|
1813
|
-
childCates: ((_a = category.child_cates) === null || _a === void 0 ? void 0 : _a.map((childCate) => {
|
|
1814
|
-
return formatCategory(childCate);
|
|
1815
|
-
})) || [],
|
|
1816
|
-
thumnailColor: category.thumnail_color ||
|
|
1817
|
-
['#FFEAF1', '#E0E9FB', '#FFF9EB', '#F2FCF7', '#F3F3F3'][(Math.random() * 5) | 0],
|
|
1818
|
-
colorFeatureImage: category.color_feature_image || null,
|
|
1819
|
-
imageColor: category.image_color || null,
|
|
1820
|
-
textColor: category.text_color || null,
|
|
1821
|
-
catParent: ((_b = category.cat_parent) === null || _b === void 0 ? void 0 : _b.name)
|
|
1822
|
-
? {
|
|
1823
|
-
name: category.cat_parent.name,
|
|
1824
|
-
permalink: category.cat_parent.permalink,
|
|
1825
|
-
}
|
|
1826
|
-
: {},
|
|
1827
|
-
metaTag: category.meta_tag || '',
|
|
1828
|
-
reviewedBy: category.reviewed_by
|
|
1829
|
-
? formatReviewedCategory(category.reviewed_by)
|
|
1830
|
-
: null,
|
|
1831
|
-
reviewedDate: category.reviewed_date || '',
|
|
1832
|
-
faqs: category.faqs
|
|
1833
|
-
? category.faqs.map((faq) => formatFaqsCategory(faq))
|
|
1834
|
-
: null,
|
|
1835
|
-
customizedUrl: category.customized_url || null,
|
|
1836
|
-
};
|
|
1837
|
-
};
|
|
1838
|
-
const formatHealthTool = (healthTool) => {
|
|
1839
|
-
var _a, _b;
|
|
1840
|
-
if (!healthTool)
|
|
1841
|
-
return {};
|
|
1842
|
-
const isBot = (_a = healthTool.link) === null || _a === void 0 ? void 0 : _a.includes('/bot/');
|
|
1843
|
-
const hasFilPrefix = (_b = healthTool.link) === null || _b === void 0 ? void 0 : _b.startsWith('/fil/');
|
|
1844
|
-
const link = healthTool.link
|
|
1845
|
-
? healthTool.link.startsWith('http')
|
|
1846
|
-
? healthTool.link
|
|
1847
|
-
: isBot
|
|
1848
|
-
? healthTool.link
|
|
1849
|
-
: hasFilPrefix
|
|
1850
|
-
? healthTool.link
|
|
1851
|
-
.replace('/health-tools/', '/')
|
|
1852
|
-
.replace('/fil/', '/fil/health-tools/')
|
|
1853
|
-
: `/health-tools${healthTool.link.replace('/health-tools/', '/')}`
|
|
1854
|
-
: undefined;
|
|
1855
|
-
return {
|
|
1856
|
-
icon: healthTool.icon,
|
|
1857
|
-
link,
|
|
1858
|
-
subtitle: healthTool.subtitle,
|
|
1859
|
-
title: healthTool.title,
|
|
1860
|
-
isMobileAppTool: !!(healthTool === null || healthTool === void 0 ? void 0 : healthTool.is_mobile_app_tool),
|
|
1861
|
-
};
|
|
1862
|
-
};
|
|
1863
|
-
const formatSpecialties = (specialties) => {
|
|
1864
|
-
var _a, _b, _c, _d, _e;
|
|
1865
|
-
if (!specialties || !(specialties === null || specialties === void 0 ? void 0 : specialties.object_id))
|
|
1866
|
-
return {};
|
|
1867
|
-
return {
|
|
1868
|
-
thumbnail: ((_a = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _a === void 0 ? void 0 : _a.logo) || '',
|
|
1869
|
-
link: ((_b = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _b === void 0 ? void 0 : _b.slug) || '',
|
|
1870
|
-
subtitle: ((_c = specialties.object_id) === null || _c === void 0 ? void 0 : _c.name) || '',
|
|
1871
|
-
name: ((_d = specialties.object_id) === null || _d === void 0 ? void 0 : _d.name) || '',
|
|
1872
|
-
slug: ((_e = specialties.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
1873
|
-
};
|
|
1874
|
-
};
|
|
1875
|
-
const formatHospital = (hospital) => {
|
|
1876
|
-
var _a, _b, _c, _d, _e;
|
|
1877
|
-
if (!hospital || !(hospital === null || hospital === void 0 ? void 0 : hospital.object_id))
|
|
1878
|
-
return {};
|
|
1879
|
-
return {
|
|
1880
|
-
id: (_a = hospital.object_id) === null || _a === void 0 ? void 0 : _a.id,
|
|
1881
|
-
name: ((_b = hospital.object_id) === null || _b === void 0 ? void 0 : _b.name) || '',
|
|
1882
|
-
logo: ((_c = hospital === null || hospital === void 0 ? void 0 : hospital.object_id) === null || _c === void 0 ? void 0 : _c.logo) || '',
|
|
1883
|
-
description: ((_d = hospital.object_id) === null || _d === void 0 ? void 0 : _d.description) || '',
|
|
1884
|
-
slug: ((_e = hospital.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
1885
|
-
};
|
|
1886
|
-
};
|
|
1887
|
-
const getTogetherUserPostsApiPath = (locale, isMarryBaby, apiDomain, params) => {
|
|
1888
|
-
const apiUrl = apiDomain || `https://together.hellohealthgroup.com/`;
|
|
1889
|
-
return (apiUrl +
|
|
1890
|
-
'api/v1/' +
|
|
1891
|
-
formatString(TOGETHER_PATHS.GET_USER_POSTS, Object.assign(Object.assign({}, params), { websiteUrl: isMarryBaby
|
|
1892
|
-
? 'https://marrybaby.vn'
|
|
1893
|
-
: `https://${domainLocales[locale]}` })));
|
|
1894
|
-
};
|
|
1895
|
-
const getCareSearchUrl = ({ type, specialtySlug, locale, }) => {
|
|
1896
|
-
var _a, _b;
|
|
1897
|
-
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 : ''}`;
|
|
1898
|
-
};
|
|
1899
|
-
const formatSpotlightsList = (spotlight) => {
|
|
1900
|
-
if (!spotlight)
|
|
1901
|
-
return {};
|
|
1902
|
-
return {
|
|
1903
|
-
id: spotlight.ID,
|
|
1904
|
-
name: spotlight.name,
|
|
1905
|
-
permalink: spotlight.permalink,
|
|
1906
|
-
image: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.small_banner) || (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image) || '',
|
|
1907
|
-
imageMedium: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_medium) || null,
|
|
1908
|
-
imageThumbnail: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_thumbnail) || null,
|
|
1909
|
-
startDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.start_date,
|
|
1910
|
-
endDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.end_date,
|
|
1911
|
-
};
|
|
1912
|
-
};
|
|
1913
|
-
const checkAvailableSpotlight = (spotlight) => {
|
|
1914
|
-
const today = new Date();
|
|
1915
|
-
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.startDate) {
|
|
1916
|
-
const startDate = new Date(spotlight.startDate);
|
|
1917
|
-
if (today.getTime() < startDate.getTime())
|
|
1918
|
-
return false;
|
|
1919
|
-
}
|
|
1920
|
-
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.endDate) {
|
|
1921
|
-
const endDate = new Date(spotlight.endDate);
|
|
1922
|
-
if (today.getTime() > endDate.getTime())
|
|
1923
|
-
return false;
|
|
1924
|
-
}
|
|
1925
|
-
return true;
|
|
1926
|
-
};
|
|
1927
|
-
const formatVideoItem = (data) => {
|
|
1928
|
-
if (typeof data === 'undefined' || !data)
|
|
1929
|
-
return null;
|
|
1930
|
-
return {
|
|
1931
|
-
id: data.ID || '',
|
|
1932
|
-
videoId: data.video_id || '',
|
|
1933
|
-
url: data.video_url || '',
|
|
1934
|
-
title: data.video_title || '',
|
|
1935
|
-
type: data.type || VideoType.VIDEO,
|
|
1936
|
-
totalView: data.total_view || 0,
|
|
1937
|
-
description: data.description || '',
|
|
1938
|
-
createTime: data.create_time || '',
|
|
1939
|
-
duration: data.duration || 0,
|
|
1940
|
-
image: data.image || '',
|
|
1941
|
-
imageMedium: data.image_medium || '',
|
|
1942
|
-
imageThumbnail: data.image_thumbnail || '',
|
|
1943
|
-
active: false,
|
|
1944
|
-
articleLink: data.article_link || '',
|
|
1945
|
-
};
|
|
1946
|
-
};
|
|
1947
|
-
|
|
1948
2061
|
var styles = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
|
|
1949
2062
|
|
|
1950
2063
|
const BtnClosePopup = ({ onClosePopup }) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-91093dfb.js';
|
|
2
2
|
import React__default, { useState, useEffect, useRef, useContext, useMemo } from 'react';
|
|
3
3
|
import { Box, useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { I as ImageWrap } from './index-
|
|
5
|
-
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-
|
|
4
|
+
import { I as ImageWrap } from './index-9a3adb7b.js';
|
|
5
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-cd8ba782.js';
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
7
|
import { PATHS } from './togetherApiPaths.js';
|
|
8
|
-
import { D as DEFAULT_IMG } from './constants-
|
|
9
|
-
import { y as youtubeVidIdGetter } from './post-
|
|
10
|
-
import { L as Loading } from './index-
|
|
8
|
+
import { D as DEFAULT_IMG } from './constants-78e39ac0.js';
|
|
9
|
+
import { y as youtubeVidIdGetter } from './post-14b3b54f.js';
|
|
10
|
+
import { L as Loading } from './index-4ad33a18.js';
|
|
11
11
|
|
|
12
12
|
const StyledSocialLinkPreview = styled.div `
|
|
13
13
|
.link-info-container {
|