@hhgtech/hhg-components 1.29.445-beta-8 → 1.29.446
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-bb3fed9b.js → InputDate-ea3cf403.js} +5 -5
- package/build/{LastPeriod-e71387df.js → LastPeriod-7a132b77.js} +1 -1
- package/build/{MobileBottomNavigationIcon-bbbe5947.js → MobileBottomNavigationIcon-50881a8d.js} +3 -3
- package/build/{index-3a2884f6.js → RatingStarsInput-50cdf773.js} +33 -70
- package/build/{Spinner-4db5e147.js → Spinner-5d44299f.js} +1 -1
- package/build/{WhatsApp-30f505bf.js → WhatsApp-44ee7642.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 +1 -2
- package/build/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +1 -2
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +48 -46
- package/build/components/atoms/cardCollapse/index.d.ts +1 -1
- package/build/components/atoms/cardCollapse/index.styled.d.ts +4 -0
- package/build/components/molecules/embeddedHeathToolCards/helpers.d.ts +0 -4
- package/build/components/molecules/healthTools/form/bmiForm/context.d.ts +0 -1
- package/build/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
- package/build/components/molecules/index.d.ts +0 -1
- package/build/components/molecules/list/type.d.ts +0 -2
- package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +0 -5
- package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +0 -7
- package/build/components/navigationV2/types.d.ts +0 -10
- package/build/components/navigationV2/utils.d.ts +0 -14
- package/build/components/organisms/index.d.ts +0 -1
- package/build/components.js +173 -175
- package/build/{constants-5efb17b7.js → constants-e2592a4e.js} +1 -1
- package/build/constants.js +4 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-7fd4c86c.js → core-e5807367.js} +1 -1
- package/build/{dataTransform-5d73610e.js → dataTransform-560b7a3b.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-604e10ac.js → editor-0241ce92.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-2bdf3864.js → InputDate-34997485.js} +5 -5
- package/build/esm/{LastPeriod-515c6bf1.js → LastPeriod-ee32498c.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-5fbe1353.js → MobileBottomNavigationIcon-86e450ce.js} +3 -3
- package/build/esm/{index-924049df.js → RatingStarsInput-7071f1d5.js} +34 -70
- package/build/esm/{Spinner-c1607339.js → Spinner-1701207a.js} +1 -1
- package/build/esm/{WhatsApp-ba537bf1.js → WhatsApp-c768bcd2.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 +1 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +1 -2
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +48 -46
- package/build/esm/components/atoms/cardCollapse/index.d.ts +1 -1
- package/build/esm/components/atoms/cardCollapse/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/helpers.d.ts +0 -4
- package/build/esm/components/molecules/healthTools/form/bmiForm/context.d.ts +0 -1
- package/build/esm/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
- package/build/esm/components/molecules/index.d.ts +0 -1
- package/build/esm/components/molecules/list/type.d.ts +0 -2
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +0 -5
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +0 -7
- package/build/esm/components/navigationV2/types.d.ts +0 -10
- package/build/esm/components/navigationV2/utils.d.ts +0 -14
- package/build/esm/components/organisms/index.d.ts +0 -1
- package/build/esm/components.js +103 -103
- package/build/esm/{constants-204d661b.js → constants-6c1bab80.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-4fea4fd5.js → core-78500434.js} +1 -1
- package/build/esm/{dataTransform-72190e52.js → dataTransform-76dc08c5.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-da33aa10.js → editor-c0f734d5.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-013bd6e7.js → healthTools-bb3b9f52.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 +1 -8
- package/build/esm/i18n-values/hi-IN.js +1 -8
- package/build/esm/i18n-values/id-ID.js +0 -7
- package/build/esm/i18n-values/km-KH.js +1 -8
- package/build/esm/i18n-values/ms-MY.js +0 -7
- package/build/esm/i18n-values/my-MM.js +1 -8
- package/build/esm/i18n-values/th-TH.js +0 -7
- package/build/esm/i18n-values/tl-PH.js +1 -8
- package/build/esm/i18n-values/vi-VN.js +0 -7
- package/build/esm/i18n-values/vi-VN_MB.js +0 -7
- package/build/esm/i18n-values/zh-SG.js +0 -7
- package/build/esm/i18n-values/zh-TW.js +1 -8
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-aa9e0fc9.js → index-0046753c.js} +11 -11
- package/build/esm/{index-7a1625ef.js → index-033c4a57.js} +14 -14
- package/build/esm/{index-abdb983b.js → index-0718f911.js} +13 -14
- package/build/esm/{index-8eb5a071.js → index-075bd0c1.js} +2 -2
- package/build/esm/{index-af8f1eb1.js → index-095a3634.js} +13 -13
- package/build/esm/{index-3cb55be4.js → index-134ef8da.js} +6 -6
- package/build/esm/{index-13774d96.js → index-137e5210.js} +25 -25
- package/build/esm/{index-3b2d7647.js → index-183905bf.js} +17 -17
- package/build/esm/{index-383fdd3e.js → index-1b5a6f55.js} +2 -2
- package/build/esm/{index-ab8becec.js → index-236e029e.js} +4 -5
- package/build/esm/{index-6c28237e.js → index-2407b0fa.js} +4 -4
- package/build/esm/{index-0d2c367c.js → index-26e83ed6.js} +2 -2
- package/build/esm/{index-9cde31ae.js → index-29f80af7.js} +4 -4
- package/build/esm/{index-f9b1b04a.js → index-2f2f29bb.js} +15 -15
- package/build/esm/{index-57329af1.js → index-2f98772e.js} +1 -1
- package/build/esm/{index-12739ce3.js → index-3079db33.js} +2 -2
- package/build/esm/{index-88445a8b.js → index-37002190.js} +2 -2
- package/build/esm/{index-cfa994b0.js → index-38e9a9f0.js} +13 -13
- package/build/esm/{index-62f48848.js → index-41f9bb30.js} +2 -2
- package/build/esm/{index-efd81628.js → index-4b0e4e41.js} +21 -21
- package/build/esm/{index-ea068643.js → index-4bfef9ef.js} +2 -2
- package/build/esm/{index-a2a30553.js → index-4c620103.js} +2 -2
- package/build/esm/{index-4bdee69c.js → index-500479f6.js} +2 -2
- package/build/esm/{index-3f2e1386.js → index-54282349.js} +3 -3
- package/build/esm/{index-264a5e65.js → index-5671d070.js} +1 -1
- package/build/esm/{index-7bccf3d9.js → index-569114a4.js} +13 -13
- package/build/esm/{index-9a18349f.js → index-697693d1.js} +3 -3
- package/build/esm/{index-3050d5ab.js → index-69af4a31.js} +1 -1
- package/build/esm/{index-05ddfbd5.js → index-6a5e3a6f.js} +2 -2
- package/build/esm/{index-4e4f6c87.js → index-6efd8f7a.js} +3 -3
- package/build/esm/{index-62256e25.js → index-73e5fbab.js} +3 -3
- package/build/esm/{index-79143cec.js → index-7740d235.js} +33 -90
- package/build/esm/{index-750236a1.js → index-809e0b13.js} +22 -22
- package/build/esm/{index-571f7911.js → index-85409d38.js} +2 -2
- package/build/esm/{index-28cbffd4.js → index-8542e2a7.js} +2 -2
- package/build/esm/{index-58d88f45.js → index-86781055.js} +16 -16
- package/build/esm/{index-8fae5f1d.js → index-878ae459.js} +13 -13
- package/build/esm/{index-478fd4fe.js → index-87a5e8aa.js} +6 -6
- package/build/esm/{index-552c8d3d.js → index-8c13a911.js} +15 -15
- package/build/esm/{index-32b658e4.js → index-8c223288.js} +5 -3
- package/build/esm/{index-bd5be293.js → index-8d856dbb.js} +1 -1
- package/build/esm/{index-e7081070.js → index-8dfda23b.js} +8 -8
- package/build/esm/{index-0fe413a7.js → index-908a22f1.js} +227 -334
- package/build/esm/{index-f0f878f0.js → index-9577f036.js} +1 -1
- package/build/esm/{index-b754de69.js → index-99bc575e.js} +16 -16
- package/build/esm/{index-ac8f3e23.js → index-9b82dc59.js} +22 -77
- package/build/esm/{index-758730df.js → index-a0b38a9f.js} +32 -32
- package/build/esm/{index-20e03dfd.js → index-a177ecbc.js} +17 -17
- package/build/esm/{index-7d959530.js → index-a39845d4.js} +2 -2
- package/build/esm/{index-ad47fdc9.js → index-a44a367f.js} +13 -13
- package/build/esm/{index-59455174.js → index-b3a565c0.js} +1 -1
- package/build/esm/{index-c65bddb8.js → index-b4409ba5.js} +3 -3
- package/build/esm/{index-eaa0b8ab.js → index-b482fa95.js} +17 -17
- package/build/esm/{index-0596ffb5.js → index-b52c7f54.js} +2 -2
- package/build/esm/{index-9d55b0ab.js → index-b8767744.js} +5 -5
- package/build/esm/{index-eb1b7e09.js → index-be5a7659.js} +1 -1
- package/build/esm/{index-8c3f7fe6.js → index-c9a58600.js} +3 -3
- package/build/esm/{index-5ef3c50a.js → index-d30a6402.js} +12 -10
- package/build/esm/{index-62bca68c.js → index-d5633020.js} +3 -3
- package/build/esm/{index-5f38004a.js → index-dd96d14b.js} +18 -18
- package/build/esm/{index-16275a8e.js → index-df0b6335.js} +3 -3
- package/build/esm/{index-6684fcaa.js → index-df75f887.js} +7 -7
- package/build/esm/{index-92267210.js → index-e05deb74.js} +15 -15
- package/build/esm/{index-82d5df60.js → index-e433d025.js} +7 -7
- package/build/esm/{index-a26124d3.js → index-e66efc7a.js} +32 -32
- package/build/esm/{index-8002fd5c.js → index-e7860bcc.js} +2 -2
- package/build/esm/{index-c2b6b6bc.js → index-f66e8ba1.js} +2 -2
- package/build/esm/{index-45d9757a.js → index-fbcce178.js} +9 -9
- package/build/esm/{index-da9c2dab.js → index-fbcd74ff.js} +6 -6
- package/build/esm/{index-2f5892dd.js → index-ff9b19dc.js} +6 -6
- package/build/esm/index.js +124 -124
- package/build/esm/interfaces/constants/index.d.ts +1 -0
- package/build/esm/{labelSorting-f1d40111.js → labelSorting-93a85648.js} +4 -4
- package/build/esm/lead.js +36 -36
- package/build/esm/{logoIcon-5905311a.js → logoIcon-c7eacf77.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-a52b45f1.js → post-d97888e9.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/api/featureFlag.d.ts +1 -2
- package/build/esm/ssoV2.js +41 -53
- package/build/esm/{store-ea2613b9.js → store-b01f08c1.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-33c039e2.js → surveyThankyouCard-a9d064bb.js} +5 -5
- package/build/esm/{text-b2dee138.js → text-eced7441.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-fd150406.js → translationsProvider-b3f26828.js} +1 -1
- package/build/esm/{treePopoverMenu-15d98bda.js → treePopoverMenu-5457e14c.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-56dcc32c.js → useHealthToolCache-6e58aa34.js} +1 -1
- package/build/esm/{usePhoneValidator-7fe382bd.js → usePhoneValidator-34e2f369.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-7e31adb5.js → usePlacesAutocomplete-dad068c3.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-27667b8f.js → utils-622e337a.js} +2 -2
- package/build/esm/{utils-81a7b6c0.js → utils-96b11fb1.js} +1 -1
- package/build/esm/{utils-6ca0073d.js → utils-9bddd18b.js} +5 -5
- package/build/esm/{utils-137292cf.js → utils-b8fd4daf.js} +3 -3
- package/build/esm/{utils-47cea537.js → utils-c79e7532.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-7ad68b6c.js → healthTools-f65b9f1c.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 +1 -8
- package/build/i18n-values/hi-IN.js +1 -8
- package/build/i18n-values/id-ID.js +0 -7
- package/build/i18n-values/km-KH.js +1 -8
- package/build/i18n-values/ms-MY.js +0 -7
- package/build/i18n-values/my-MM.js +1 -8
- package/build/i18n-values/th-TH.js +0 -7
- package/build/i18n-values/tl-PH.js +1 -8
- package/build/i18n-values/vi-VN.js +0 -7
- package/build/i18n-values/vi-VN_MB.js +0 -7
- package/build/i18n-values/zh-SG.js +0 -7
- package/build/i18n-values/zh-TW.js +1 -8
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-d78557c8.js → index-00c7cd9f.js} +1 -1
- package/build/{index-a02622a6.js → index-0a3884ed.js} +13 -13
- package/build/{index-951cf1ed.js → index-0cd9f867.js} +17 -17
- package/build/{index-ad18e848.js → index-0d11c2b4.js} +2 -2
- package/build/{index-7ccb2ea0.js → index-0dde1654.js} +32 -32
- package/build/{index-03536bae.js → index-133c658f.js} +2 -2
- package/build/{index-f6a1fb64.js → index-14c17a07.js} +21 -21
- package/build/{index-3e97d4ea.js → index-1dd55776.js} +3 -3
- package/build/{index-789dcd99.js → index-1ef5293c.js} +1 -1
- package/build/{index-35daf4c8.js → index-27784607.js} +2 -2
- package/build/{index-13066cef.js → index-2aea318b.js} +16 -16
- package/build/{index-aaed44e3.js → index-3131f796.js} +2 -2
- package/build/{index-4f288f54.js → index-3358bc21.js} +3 -3
- package/build/{index-6ed5925d.js → index-369f965c.js} +14 -14
- package/build/{index-e241c80f.js → index-3a82b0d7.js} +32 -32
- package/build/{index-6fbe8451.js → index-3d2be1fa.js} +4 -5
- package/build/{index-b3588d9c.js → index-3dba0c64.js} +25 -25
- package/build/{index-0880604f.js → index-46545be9.js} +2 -2
- package/build/{index-ed72c023.js → index-4b47f8a9.js} +13 -13
- package/build/{index-2104fdb5.js → index-4c675261.js} +3 -3
- package/build/{index-cd837ac5.js → index-5280c604.js} +16 -16
- package/build/{index-bd4e2a48.js → index-558c8c74.js} +1 -1
- package/build/{index-60e1c7da.js → index-559d2a98.js} +3 -3
- package/build/{index-8f1a8a79.js → index-55cc6192.js} +3 -3
- package/build/{index-68eba697.js → index-566fc5f6.js} +22 -22
- package/build/{index-ff9ca598.js → index-56f531c0.js} +5 -5
- package/build/{index-29eda0b9.js → index-5d7ad93a.js} +1 -1
- package/build/{index-ac04f0e4.js → index-5df4c886.js} +230 -337
- package/build/{index-b8e7bfbe.js → index-5e2f821a.js} +8 -8
- package/build/{index-5acb08c8.js → index-617dbdff.js} +17 -17
- package/build/{index-83f43dc2.js → index-670f46f3.js} +3 -3
- package/build/{index-a27ac3a3.js → index-6746b982.js} +15 -15
- package/build/{index-f82e8166.js → index-7097f3e9.js} +1 -1
- package/build/{index-aa40130f.js → index-70b18251.js} +15 -15
- package/build/{index-66249de4.js → index-71aeeed0.js} +2 -2
- package/build/{index-424d4f21.js → index-79b5bd8b.js} +15 -15
- package/build/{index-5b50844c.js → index-7add2102.js} +33 -90
- package/build/{index-ff637617.js → index-890b5752.js} +2 -2
- package/build/{index-107d31e9.js → index-89e7e056.js} +3 -3
- package/build/{index-bb6d9af3.js → index-8b96a25d.js} +6 -6
- package/build/{index-ab6c0c4a.js → index-8c60d19d.js} +17 -17
- package/build/{index-e8005ea6.js → index-8d585a8f.js} +11 -11
- package/build/{index-0469593d.js → index-8e7be4d9.js} +2 -2
- package/build/{index-87fcbfb8.js → index-9244962b.js} +18 -18
- package/build/{index-da0cab95.js → index-96ae56db.js} +6 -6
- package/build/{index-709bfd72.js → index-98b8c19b.js} +13 -13
- package/build/{index-d1d3c109.js → index-a094b76f.js} +7 -7
- package/build/{index-8b2ee9af.js → index-a9bc62bf.js} +14 -12
- package/build/{index-3075673c.js → index-aaeda199.js} +2 -2
- package/build/{index-13bd2bc0.js → index-afa13179.js} +3 -3
- package/build/{index-10d25acd.js → index-b420f29a.js} +13 -13
- package/build/{index-b0807564.js → index-bb36bdbb.js} +13 -14
- package/build/{index-cfeaccb6.js → index-be7a30b4.js} +2 -2
- package/build/{index-fee3ac1b.js → index-bec34917.js} +2 -2
- package/build/{index-8c6fb2a7.js → index-bf3a1a2a.js} +6 -6
- package/build/{index-5c882032.js → index-c14fc900.js} +8 -8
- package/build/{index-8caf2c65.js → index-c184db89.js} +2 -2
- package/build/{index-cd2c2922.js → index-c2e4dc7c.js} +4 -4
- package/build/{index-7c6cf572.js → index-c66acc17.js} +4 -4
- package/build/{index-b5ca62ed.js → index-c90f54f8.js} +1 -1
- package/build/{index-a593146d.js → index-cbffd22e.js} +13 -13
- package/build/{index-9e275aea.js → index-d5039b65.js} +6 -6
- package/build/{index-c93ab279.js → index-d5760552.js} +7 -7
- package/build/{index-d0e9583b.js → index-d7ee122e.js} +20 -76
- package/build/{index-0869045f.js → index-d890c325.js} +2 -2
- package/build/{index-2c2fab07.js → index-d918d4ed.js} +1 -1
- package/build/{index-6ecd7d05.js → index-e4e3cdb3.js} +2 -2
- package/build/{index-a1d6aa6e.js → index-ef0a7d81.js} +2 -2
- package/build/{index-0f32ae2b.js → index-f97a8b70.js} +2 -2
- package/build/{index-5cec64d6.js → index-ff7bd77d.js} +5 -2
- package/build/index.js +225 -227
- package/build/interfaces/constants/index.d.ts +1 -0
- package/build/{labelSorting-da853420.js → labelSorting-ffe5b723.js} +4 -4
- package/build/lead.js +36 -36
- package/build/{logoIcon-2a14913d.js → logoIcon-227b5bda.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 +132 -133
- 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 -58
- package/build/{post-63c491c9.js → post-90f668ca.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/ssoV2.js +39 -51
- package/build/{store-a2856bb5.js → store-c319b869.js} +3 -3
- package/build/subot.js +36 -36
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-db9eefb1.js → surveyThankyouCard-bfaba533.js} +5 -5
- package/build/{text-2633ebc8.js → text-c96deefa.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-fd46ea8e.js → translationsProvider-9e4e78d2.js} +1 -1
- package/build/{treePopoverMenu-d21f2cba.js → treePopoverMenu-310b4919.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-f83a6e38.js → useHealthToolCache-57b14ae3.js} +1 -1
- package/build/{usePhoneValidator-9990c0e6.js → usePhoneValidator-030dd68e.js} +5 -5
- package/build/{usePlacesAutocomplete-315e6baa.js → usePlacesAutocomplete-e56fa322.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-273a3099.js → utils-46a4f3bd.js} +5 -5
- package/build/{utils-8ec02f35.js → utils-862f300b.js} +2 -2
- package/build/{utils-d1376218.js → utils-ce360ad2.js} +2 -2
- package/build/{utils-56f04dfa.js → utils-f04c1dce.js} +3 -3
- package/build/{utils-f95341cf.js → utils-f7947b36.js} +1 -1
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/components/molecules/answeredByDoctor/index.d.ts +0 -8
- package/build/components/molecules/answeredByDoctor/index.styled.d.ts +0 -9
- package/build/components/organisms/articleCard/index.d.ts +0 -36
- package/build/components/organisms/articleCard/index.styled.d.ts +0 -21
- package/build/esm/components/molecules/answeredByDoctor/index.d.ts +0 -8
- package/build/esm/components/molecules/answeredByDoctor/index.styled.d.ts +0 -9
- package/build/esm/components/organisms/articleCard/index.d.ts +0 -36
- package/build/esm/components/organisms/articleCard/index.styled.d.ts +0 -21
- /package/build/{BMI_BOYS.percentile.monthly-0697c5d2.js → BMI_BOYS.percentile.monthly-ccf27e51.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-b47597ed.js → BMI_BOYS.percentile.weekly-f92cbdb5.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-9673de09.js → BMI_BOYS.percentile.yearly-abe9d78c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-2ba4e8cc.js → BMI_BOYS.zscore.monthly-32e9bdc5.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-3fe43f89.js → BMI_BOYS.zscore.weekly-b6ac7c6e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-59c94de5.js → BMI_BOYS.zscore.yearly-d2df5d41.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-bd581bfb.js → BMI_GIRLS.percentile.monthly-9054e75d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-14aef1fe.js → BMI_GIRLS.percentile.weekly-8d91b9c7.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-193a7b60.js → BMI_GIRLS.percentile.yearly-283074ac.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-76ec81c0.js → BMI_GIRLS.zscore.monthly-dbe18f1c.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-c40d5346.js → BMI_GIRLS.zscore.weekly-9f7dc57d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-89857dbe.js → BMI_GIRLS.zscore.yearly-d0d36f18.js} +0 -0
- /package/build/{ChevronDown-fef0add9.js → ChevronDown-99a7436c.js} +0 -0
- /package/build/{Close-9ae9b9d9.js → Close-4505b10e.js} +0 -0
- /package/build/{Google-3f1de87f.js → Google-7e92c4ad.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-fd1831fa.js → HEAD CIRCUM_BOYS.percentile.monthly-a92e59fd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a71b8950.js → HEAD CIRCUM_BOYS.percentile.weekly-b900562f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-ddc6dcb3.js → HEAD CIRCUM_BOYS.percentile.yearly-f99dfa41.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-d38509be.js → HEAD CIRCUM_BOYS.zscore.monthly-960c256d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-a88d6a21.js → HEAD CIRCUM_BOYS.zscore.weekly-3ceb9216.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-bbc1b0b1.js → HEAD CIRCUM_BOYS.zscore.yearly-3aaf1e69.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-90fac7dd.js → HEAD CIRCUM_GIRLS.percentile.monthly-ac150cd0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-118c9524.js → HEAD CIRCUM_GIRLS.percentile.weekly-7f1aefb9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d490ccd3.js → HEAD CIRCUM_GIRLS.percentile.yearly-b786349d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-7c746306.js → HEAD CIRCUM_GIRLS.zscore.monthly-4d27fde3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-21f9d4a4.js → HEAD CIRCUM_GIRLS.zscore.weekly-d1b280f7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-42679b54.js → HEAD CIRCUM_GIRLS.zscore.yearly-7fc092ba.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-30ebf4d3.js → HEIGHT_BOYS.percentile.monthly-0dde6054.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-b8e3663c.js → HEIGHT_BOYS.percentile.weekly-125ca2ab.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-a6fc7450.js → HEIGHT_BOYS.percentile.yearly-6133fed4.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-887d430a.js → HEIGHT_BOYS.zscore.monthly-310ee386.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-cbf20fa2.js → HEIGHT_BOYS.zscore.weekly-d20804e7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-c8888818.js → HEIGHT_BOYS.zscore.yearly-72fc6181.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-130aac48.js → HEIGHT_GIRLS.percentile.monthly-ee81d84e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-05ec8fb3.js → HEIGHT_GIRLS.percentile.weekly-2c5b0802.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-44d8bf97.js → HEIGHT_GIRLS.percentile.yearly-fa55cae6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-ab31deed.js → HEIGHT_GIRLS.zscore.monthly-05b112eb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c7c709ce.js → HEIGHT_GIRLS.zscore.weekly-fe63877d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-b6f22757.js → HEIGHT_GIRLS.zscore.yearly-476aaf3a.js} +0 -0
- /package/build/{Locale-c92de5c0.js → Locale-59dbe7f6.js} +0 -0
- /package/build/{Visible-74439a64.js → Visible-d23f79ad.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3956edd1.js → WEIGHT_BOYS.percentile.monthly-63042885.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-9267785a.js → WEIGHT_BOYS.percentile.weekly-fd7c17e7.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-dfdb90a7.js → WEIGHT_BOYS.percentile.yearly-ddd0a4bb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-b41114df.js → WEIGHT_BOYS.zscore.monthly-afa7868e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-eba8c4cd.js → WEIGHT_BOYS.zscore.weekly-0511694b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-8946f7c6.js → WEIGHT_BOYS.zscore.yearly-c93f1b78.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1fd4d4aa.js → WEIGHT_GIRLS.percentile.monthly-3c1f59dc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-0142837e.js → WEIGHT_GIRLS.percentile.weekly-d94808f9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-dbb1a2e7.js → WEIGHT_GIRLS.percentile.yearly-4d235d82.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-5afc4fad.js → WEIGHT_GIRLS.zscore.monthly-4ff95d27.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-12ff80ab.js → WEIGHT_GIRLS.zscore.weekly-23d23e65.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c1bc06b7.js → WEIGHT_GIRLS.zscore.yearly-8aa9ff96.js} +0 -0
- /package/build/{ageGenerate-7c290e44.js → ageGenerate-96312f1a.js} +0 -0
- /package/build/{animation-70bb4f91.js → animation-7533640f.js} +0 -0
- /package/build/{constants-4d400295.js → constants-19c2383e.js} +0 -0
- /package/build/{constants-048ca59f.js → constants-a947b701.js} +0 -0
- /package/build/{constants-f5b764e3.js → constants-c3559dde.js} +0 -0
- /package/build/{dataTransform-1b289bdc.js → dataTransform-d8bb6201.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-77613a40.js → BMI_BOYS.percentile.monthly-b660453d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-acb77a18.js → BMI_BOYS.percentile.weekly-82b96f6c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-c20e45dc.js → BMI_BOYS.percentile.yearly-1849268d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-29019f48.js → BMI_BOYS.zscore.monthly-4c84ced7.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-c8b100de.js → BMI_BOYS.zscore.weekly-14cb1d90.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-73be2952.js → BMI_BOYS.zscore.yearly-b98124c7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-fd6401fe.js → BMI_GIRLS.percentile.monthly-49fc12d9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-f78d3a77.js → BMI_GIRLS.percentile.weekly-b94bfef3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-f53d92cf.js → BMI_GIRLS.percentile.yearly-89d7433b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-84cb80cd.js → BMI_GIRLS.zscore.monthly-79836fe8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-6646bef8.js → BMI_GIRLS.zscore.weekly-238a1f5a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-bf0ea834.js → BMI_GIRLS.zscore.yearly-dd717681.js} +0 -0
- /package/build/esm/{ChevronDown-b711df83.js → ChevronDown-82aaa5a5.js} +0 -0
- /package/build/esm/{Close-cfa7ceba.js → Close-c7a9ee94.js} +0 -0
- /package/build/esm/{Google-6fb8bb4d.js → Google-061ef221.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-47b948a2.js → HEAD CIRCUM_BOYS.percentile.monthly-dc9a900d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-65d93d12.js → HEAD CIRCUM_BOYS.percentile.weekly-f7c380fd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8890ca84.js → HEAD CIRCUM_BOYS.percentile.yearly-49984faf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-12d9e9e3.js → HEAD CIRCUM_BOYS.zscore.monthly-dcc0365a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-3121c0ec.js → HEAD CIRCUM_BOYS.zscore.weekly-74ca391e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-051bc27c.js → HEAD CIRCUM_BOYS.zscore.yearly-ceb49103.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-01c0d682.js → HEAD CIRCUM_GIRLS.percentile.monthly-d0cf619e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-d2c32e45.js → HEAD CIRCUM_GIRLS.percentile.weekly-3a247191.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b93265fd.js → HEAD CIRCUM_GIRLS.percentile.yearly-d286b1d0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-78b822a6.js → HEAD CIRCUM_GIRLS.zscore.monthly-604dbd93.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-c0359758.js → HEAD CIRCUM_GIRLS.zscore.weekly-a0d05bf7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-675a70ed.js → HEAD CIRCUM_GIRLS.zscore.yearly-f42509dd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e5b49575.js → HEIGHT_BOYS.percentile.monthly-061abdc8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d9c0dab6.js → HEIGHT_BOYS.percentile.weekly-8e2fd166.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-e8b903be.js → HEIGHT_BOYS.percentile.yearly-0f4bb6fa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-2b7ac767.js → HEIGHT_BOYS.zscore.monthly-54bd2ac0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ce8af782.js → HEIGHT_BOYS.zscore.weekly-663a6380.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0a3c26f1.js → HEIGHT_BOYS.zscore.yearly-237558b6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-7bc9e7e4.js → HEIGHT_GIRLS.percentile.monthly-37a56699.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-2387df7f.js → HEIGHT_GIRLS.percentile.weekly-03ef5021.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-319925b1.js → HEIGHT_GIRLS.percentile.yearly-120b6336.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-7af4ed48.js → HEIGHT_GIRLS.zscore.monthly-9ee136b1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-24c9ce3e.js → HEIGHT_GIRLS.zscore.weekly-4145a715.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-ac2d460e.js → HEIGHT_GIRLS.zscore.yearly-dbcc26cb.js} +0 -0
- /package/build/esm/{Locale-04ed3b71.js → Locale-32ee16f4.js} +0 -0
- /package/build/esm/{Visible-f8ae069f.js → Visible-f3a5183b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-bd1d50b3.js → WEIGHT_BOYS.percentile.monthly-be798457.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-cde525fd.js → WEIGHT_BOYS.percentile.weekly-890110bf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-64f7e646.js → WEIGHT_BOYS.percentile.yearly-6fbaca08.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d20ad98b.js → WEIGHT_BOYS.zscore.monthly-cf41c165.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-250769ae.js → WEIGHT_BOYS.zscore.weekly-1d2c4a81.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-e60280f0.js → WEIGHT_BOYS.zscore.yearly-7ba4d480.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-8a31952e.js → WEIGHT_GIRLS.percentile.monthly-7f2b6953.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-30c37cce.js → WEIGHT_GIRLS.percentile.weekly-a6df7e8b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-36aa1a0a.js → WEIGHT_GIRLS.percentile.yearly-0a03ada1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f6985210.js → WEIGHT_GIRLS.zscore.monthly-83eed928.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f87842b6.js → WEIGHT_GIRLS.zscore.weekly-d08e7a4f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-1466fe14.js → WEIGHT_GIRLS.zscore.yearly-933f5b2a.js} +0 -0
- /package/build/esm/{ageGenerate-54593a93.js → ageGenerate-9b9bdf74.js} +0 -0
- /package/build/esm/{animation-39993b80.js → animation-70dad4d2.js} +0 -0
- /package/build/esm/{constants-eeea6201.js → constants-b1e0ffa3.js} +0 -0
- /package/build/esm/{constants-cd9b21cc.js → constants-e8330298.js} +0 -0
- /package/build/esm/{constants-7dd3c497.js → constants-f2cb363e.js} +0 -0
- /package/build/esm/{dataTransform-78324c26.js → dataTransform-da3e40f8.js} +0 -0
- /package/build/esm/{index-d7baa11e.js → index-25c07a74.js} +0 -0
- /package/build/esm/{index-db62ee0d.js → index-3b3d0e21.js} +0 -0
- /package/build/esm/{index-9cb05128.js → index-58ce5383.js} +0 -0
- /package/build/esm/{index-396f3cd4.js → index-5e0f8076.js} +0 -0
- /package/build/esm/{index-49879cb7.js → index-68391851.js} +0 -0
- /package/build/esm/{index-3f10e27c.js → index-890aeafa.js} +0 -0
- /package/build/esm/{index-a7dc705e.js → index-c169de32.js} +0 -0
- /package/build/esm/{index-6991bdef.js → index-eb5e0753.js} +0 -0
- /package/build/esm/{index.styles-d762acb8.js → index.styles-2d06e686.js} +0 -0
- /package/build/esm/{localizeNumberFormat-8feeb887.js → localizeNumberFormat-985acf47.js} +0 -0
- /package/build/esm/{normalizeLink-e60f856f.js → normalizeLink-cb899a3d.js} +0 -0
- /package/build/esm/{number-9700f663.js → number-9d9254e5.js} +0 -0
- /package/build/esm/{paths-9be14ab8.js → paths-6de429eb.js} +0 -0
- /package/build/esm/{shared-fbe65d95.js → shared-c425d00b.js} +0 -0
- /package/build/esm/{translationsContext-8433386e.js → translationsContext-75fd6255.js} +0 -0
- /package/build/esm/{tslib.es6-f13daadc.js → tslib.es6-d3d6775d.js} +0 -0
- /package/build/esm/{types-2c6c4cb4.js → types-22c4acdd.js} +0 -0
- /package/build/esm/{types-34e91303.js → types-565e1db2.js} +0 -0
- /package/build/esm/{useIsInit-0536de48.js → useIsInit-caf28f8c.js} +0 -0
- /package/build/esm/{useOutsideClick-dd6b43c4.js → useOutsideClick-ecce989c.js} +0 -0
- /package/build/esm/{useScrollbarSize-a8ac1124.js → useScrollbarSize-cc40ec94.js} +0 -0
- /package/build/esm/{useUniqueId-df2e0290.js → useUniqueId-e6c49b65.js} +0 -0
- /package/build/esm/{utils-c61baa67.js → utils-9ecd77e3.js} +0 -0
- /package/build/{index-653036dc.js → index-250cbee4.js} +0 -0
- /package/build/{index-81618415.js → index-2d17f7fd.js} +0 -0
- /package/build/{index-8a6bbd06.js → index-443653ab.js} +0 -0
- /package/build/{index-27c2401d.js → index-55bf619b.js} +0 -0
- /package/build/{index-6c62415f.js → index-62e38207.js} +0 -0
- /package/build/{index-babace5a.js → index-70326116.js} +0 -0
- /package/build/{index-38af6b11.js → index-7140b722.js} +0 -0
- /package/build/{index-b3d8d6e7.js → index-f896613b.js} +0 -0
- /package/build/{index.styles-f4fc46a6.js → index.styles-5cecd0d3.js} +0 -0
- /package/build/{localizeNumberFormat-5c2d1b82.js → localizeNumberFormat-0944b4d0.js} +0 -0
- /package/build/{normalizeLink-ce134801.js → normalizeLink-c1d76069.js} +0 -0
- /package/build/{number-172924e6.js → number-3f39d2c1.js} +0 -0
- /package/build/{paths-4a6e4e03.js → paths-964ae90e.js} +0 -0
- /package/build/{shared-323781f0.js → shared-e19513cd.js} +0 -0
- /package/build/{translationsContext-9c47e473.js → translationsContext-ac0f51c2.js} +0 -0
- /package/build/{tslib.es6-38a6ab1b.js → tslib.es6-aeabcafa.js} +0 -0
- /package/build/{types-0f1a9b3d.js → types-bcaa51ae.js} +0 -0
- /package/build/{types-8f679c6f.js → types-e50ca220.js} +0 -0
- /package/build/{useIsInit-75684a05.js → useIsInit-ffb5d05b.js} +0 -0
- /package/build/{useOutsideClick-bd25bf44.js → useOutsideClick-d55578cc.js} +0 -0
- /package/build/{useScrollbarSize-2dd1d80c.js → useScrollbarSize-b41f458c.js} +0 -0
- /package/build/{useUniqueId-8171afdf.js → useUniqueId-26efc38e.js} +0 -0
- /package/build/{utils-dfd16df6.js → utils-bca5ff6c.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-d3d6775d.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,
|
|
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-8d856dbb.js';
|
|
4
|
+
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-d30a6402.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-8c223288.js';
|
|
6
|
+
import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-cb899a3d.js';
|
|
7
|
+
import { a as formatCommunity, b as formatPost } from './dataTransform-76dc08c5.js';
|
|
8
8
|
import { Close, Logo } from '@hhgtech/icons/core';
|
|
9
|
-
import './translationsContext-
|
|
9
|
+
import './translationsContext-75fd6255.js';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
|
-
import { I as Input } from './index-
|
|
11
|
+
import { I as Input } from './index-fbcce178.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-0046753c.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-fbcd74ff.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-c169de32.js';
|
|
20
|
+
import './index-8dfda23b.js';
|
|
21
|
+
import { T as Text } from './index-6a5e3a6f.js';
|
|
22
|
+
import { B as Button } from './index-d5633020.js';
|
|
23
|
+
import './index.styles-2d06e686.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-eced7441.js';
|
|
26
|
+
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-9ecd77e3.js';
|
|
27
|
+
import './index-c9a58600.js';
|
|
28
|
+
import { L as LOCALISED_SLUGS } from './constants-6c1bab80.js';
|
|
29
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-b01f08c1.js';
|
|
30
|
+
import { L as LOCALIZED_SLUGS } from './constants-f2cb363e.js';
|
|
31
|
+
import { u as useTranslations } from './index-be5a7659.js';
|
|
32
|
+
import { H as Heading } from './index-500479f6.js';
|
|
33
|
+
import { I as Indicator$1 } from './index-9577f036.js';
|
|
34
|
+
import { u as useIsInit } from './useIsInit-caf28f8c.js';
|
|
35
35
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
36
|
-
import { B as Button$1 } from './index-
|
|
37
|
-
import formatString from 'string-format';
|
|
38
|
-
import { domainLocales } from './constantsDomainLocales.js';
|
|
36
|
+
import { B as Button$1 } from './index-26e83ed6.js';
|
|
39
37
|
import dayjs from 'dayjs';
|
|
40
38
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
41
|
-
import { U as UserAvatar } from './index-
|
|
42
|
-
import
|
|
39
|
+
import { U as UserAvatar } from './index-f66e8ba1.js';
|
|
40
|
+
import formatString from 'string-format';
|
|
41
|
+
import { domainLocales } from './constantsDomainLocales.js';
|
|
42
|
+
import { C as Container } from './index-5e0f8076.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-32ee16f4.js';
|
|
45
|
+
import { g as getDataWithCache } from './core-78500434.js';
|
|
46
46
|
|
|
47
47
|
const StyleInput = styled(Input) `
|
|
48
48
|
.mantine-Input-input {
|
|
@@ -822,252 +822,11 @@ 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
|
-
|
|
1064
825
|
const StyledItem$4 = styled.a `
|
|
1065
|
-
position: relative;
|
|
1066
826
|
width: 100%;
|
|
1067
827
|
display: flex;
|
|
1068
828
|
align-items: center;
|
|
1069
829
|
text-decoration: none;
|
|
1070
|
-
|
|
1071
830
|
* {
|
|
1072
831
|
pointer-events: none;
|
|
1073
832
|
}
|
|
@@ -1094,51 +853,6 @@ const StyledImageCard$2 = styled.div `
|
|
|
1094
853
|
padding-top: 100px;
|
|
1095
854
|
}
|
|
1096
855
|
`;
|
|
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
|
-
}
|
|
1108
|
-
|
|
1109
|
-
display: flex;
|
|
1110
|
-
align-items: center;
|
|
1111
|
-
justify-content: center;
|
|
1112
|
-
position: absolute;
|
|
1113
|
-
bottom: 8px;
|
|
1114
|
-
left: 8px;
|
|
1115
|
-
right: 8px;
|
|
1116
|
-
height: 32px;
|
|
1117
|
-
padding: 6px 12px;
|
|
1118
|
-
|
|
1119
|
-
background: ${(props) => props.bgColor};
|
|
1120
|
-
border-radius: 10px;
|
|
1121
|
-
border: none;
|
|
1122
|
-
transition: all 0.2s ease-in-out;
|
|
1123
|
-
|
|
1124
|
-
color: ${(props) => props.textColor};
|
|
1125
|
-
font-family: 'Inter';
|
|
1126
|
-
font-weight: 500;
|
|
1127
|
-
font-size: 14px;
|
|
1128
|
-
|
|
1129
|
-
&:hover {
|
|
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
|
-
}};
|
|
1140
|
-
}
|
|
1141
|
-
`;
|
|
1142
856
|
const StyledTitle$3 = styled.p `
|
|
1143
857
|
font-size: 16px;
|
|
1144
858
|
font-weight: 400;
|
|
@@ -1154,22 +868,10 @@ const StyledTitle$3 = styled.p `
|
|
|
1154
868
|
const Item$3 = ({ item, index = 0 }) => {
|
|
1155
869
|
if (!item)
|
|
1156
870
|
return null;
|
|
1157
|
-
|
|
1158
|
-
href: item.link,
|
|
1159
|
-
'data-event-category': 'Hamburger Navigation',
|
|
1160
|
-
'data-event-action': `Spotlight Click ${index + 1}`,
|
|
1161
|
-
'data-event-label': item.link,
|
|
1162
|
-
};
|
|
1163
|
-
return (React__default.createElement(StyledItem$4, Object.assign({ key: item.id, as: item.buttonDisplay ? 'div' : 'a' }, linkProps),
|
|
871
|
+
return (React__default.createElement(StyledItem$4, { key: item.id, href: item.link, "data-event-category": "Hamburger Navigation", "data-event-action": `Spotlight Click ${index + 1}`, "data-event-label": item.link },
|
|
1164
872
|
React__default.createElement(StyledImageCard$2, null,
|
|
1165
873
|
React__default.createElement("img", { loading: "lazy", alt: item.title, src: item.banner || '/images/notFound-min-small.jpg' })),
|
|
1166
|
-
React__default.createElement(
|
|
1167
|
-
display: 'flex',
|
|
1168
|
-
flexDirection: 'column',
|
|
1169
|
-
gap: 8,
|
|
1170
|
-
} },
|
|
1171
|
-
React__default.createElement(StyledTitle$3, null, item.title),
|
|
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)))));
|
|
874
|
+
React__default.createElement(StyledTitle$3, null, item.title)));
|
|
1173
875
|
};
|
|
1174
876
|
|
|
1175
877
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
@@ -1180,7 +882,6 @@ const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
|
1180
882
|
link: statics.HOME_PAGE_URL + spotlight.permalink,
|
|
1181
883
|
title: spotlight.name,
|
|
1182
884
|
banner: spotlight.image,
|
|
1183
|
-
buttonDisplay: spotlight.buttonDisplay,
|
|
1184
885
|
} }))))) : (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') }))));
|
|
1185
886
|
};
|
|
1186
887
|
|
|
@@ -1842,6 +1543,24 @@ const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
|
1842
1543
|
React__default.createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
|
|
1843
1544
|
};
|
|
1844
1545
|
|
|
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
|
+
|
|
1845
1564
|
const StyledHeaderWrapper = styled.div `
|
|
1846
1565
|
z-index: 201;
|
|
1847
1566
|
width: 100%;
|
|
@@ -2052,6 +1771,180 @@ const StyleButtonAiChat = styled(Button) `
|
|
|
2052
1771
|
}
|
|
2053
1772
|
`;
|
|
2054
1773
|
|
|
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
|
+
|
|
2055
1948
|
var styles = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
|
|
2056
1949
|
|
|
2057
1950
|
const BtnClosePopup = ({ onClosePopup }) => {
|
|
@@ -2590,7 +2483,7 @@ const useNavServices = () => {
|
|
|
2590
2483
|
};
|
|
2591
2484
|
|
|
2592
2485
|
const StyledContainer = styled.div `
|
|
2593
|
-
--header-z-index:
|
|
2486
|
+
--header-z-index: ${ZINDEX_HEADER};
|
|
2594
2487
|
top: 0;
|
|
2595
2488
|
z-index: var(--header-z-index);
|
|
2596
2489
|
|