@hhgtech/hhg-components 1.29.445 → 1.29.446-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-ace9cc19.js → InputDate-d0a899dd.js} +5 -5
- package/build/{LastPeriod-eb0f5d5f.js → LastPeriod-85eb056c.js} +1 -1
- package/build/{MobileBottomNavigationIcon-11b07027.js → MobileBottomNavigationIcon-43e2acfa.js} +3 -3
- package/build/{Spinner-8f2b774b.js → Spinner-b01fcb76.js} +1 -1
- package/build/{WhatsApp-5e50af86.js → WhatsApp-a5d1804a.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/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/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.js +175 -173
- package/build/{constants-a807fed2.js → constants-830ff0b9.js} +1 -1
- package/build/constants.js +3 -4
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-9f11945c.js → core-7816391e.js} +1 -1
- package/build/{dataTransform-1d421174.js → dataTransform-2a8e512a.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-0f73d28d.js → editor-6abdb560.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-fd7a8de4.js → InputDate-6b7d7d7a.js} +5 -5
- package/build/esm/{LastPeriod-4cf37a67.js → LastPeriod-f4190954.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-269c27f8.js → MobileBottomNavigationIcon-2c55b434.js} +3 -3
- package/build/esm/{Spinner-99d5a871.js → Spinner-f0e3abf8.js} +1 -1
- package/build/esm/{WhatsApp-e49a2e25.js → WhatsApp-8e02e793.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/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/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.js +103 -103
- package/build/esm/{constants-b3ac1d27.js → constants-6785e352.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-bb42ec88.js → core-7f9aedbb.js} +1 -1
- package/build/esm/{dataTransform-0b018ae2.js → dataTransform-b07f9ff2.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-9a2bb084.js → editor-767b7c2c.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-b5437814.js → healthTools-22207663.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 +8 -1
- package/build/esm/i18n-values/hi-IN.js +8 -1
- package/build/esm/i18n-values/id-ID.js +7 -0
- package/build/esm/i18n-values/km-KH.js +8 -1
- package/build/esm/i18n-values/ms-MY.js +7 -0
- package/build/esm/i18n-values/my-MM.js +8 -1
- package/build/esm/i18n-values/th-TH.js +7 -0
- package/build/esm/i18n-values/tl-PH.js +8 -1
- 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 +8 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-cd8b0ff7.js → index-031e063b.js} +7 -7
- package/build/esm/{index-819d458b.js → index-04b9c3a0.js} +17 -17
- package/build/esm/{index-69c0a211.js → index-0919d3fb.js} +13 -13
- package/build/esm/{index-5e5533cd.js → index-0b0b46df.js} +25 -25
- package/build/esm/{index-31700ae7.js → index-0b916f30.js} +10 -12
- package/build/esm/{index-a21e8cc7.js → index-0d40b3c5.js} +4 -4
- package/build/esm/{index-04c7398e.js → index-103231c8.js} +14 -14
- package/build/esm/{index-f6d17433.js → index-147ef168.js} +13 -13
- package/build/esm/{index-47a94d34.js → index-15a5843d.js} +1 -1
- package/build/esm/{index-cb13cff5.js → index-186cb403.js} +1 -1
- package/build/esm/{RatingStarsInput-67ed3a3f.js → index-18c95afe.js} +70 -34
- package/build/esm/{index-369eae16.js → index-19d37e6a.js} +13 -13
- package/build/esm/{index-43a4799d.js → index-1f2450bb.js} +15 -15
- package/build/esm/{index-f28ed80d.js → index-1f274cc3.js} +2 -2
- package/build/esm/{index-eb49665a.js → index-20589239.js} +11 -11
- package/build/esm/{index-c7376bb4.js → index-24ba78e2.js} +1 -1
- package/build/esm/{index-acefdf85.js → index-2e6beb73.js} +5 -4
- package/build/esm/{index-2a98d9de.js → index-2e7c3a68.js} +16 -16
- package/build/esm/{index-2ca5ea96.js → index-3203fb54.js} +13 -13
- package/build/esm/{index-1275a5d2.js → index-3247cc28.js} +3 -3
- package/build/esm/{index-2558182c.js → index-36068e3b.js} +2 -2
- package/build/esm/{index-18cb16b6.js → index-37c59ef6.js} +3 -5
- package/build/esm/{index-70dd8898.js → index-3e0f7c52.js} +6 -6
- package/build/esm/{index-c32f573a.js → index-3ecacd93.js} +3 -3
- package/build/esm/{index-d1441f8c.js → index-44fdde2d.js} +2 -2
- package/build/esm/{index-f949335f.js → index-492e498f.js} +2 -2
- package/build/esm/{index-2ca597d1.js → index-5663f01b.js} +18 -18
- package/build/esm/{index-3b1ca911.js → index-64a7eca5.js} +3 -3
- package/build/esm/{index-22eb05be.js → index-67d58339.js} +2 -2
- package/build/esm/{index-8dc9384b.js → index-6affd3c8.js} +21 -21
- package/build/esm/{index-169ad3ac.js → index-7a7f60dc.js} +2 -2
- package/build/esm/{index-dd2821c2.js → index-7d4d6f49.js} +13 -13
- package/build/esm/{index-e0f65d2c.js → index-7dc9f545.js} +2 -2
- package/build/esm/{index-2c7dd9f9.js → index-8001d23c.js} +1 -1
- package/build/esm/{index-0db956ee.js → index-833d92c1.js} +2 -2
- package/build/esm/{index-950c94cc.js → index-8710cfae.js} +2 -2
- package/build/esm/{index-b9a1d047.js → index-8859158c.js} +3 -3
- package/build/esm/{index-adc7ba2c.js → index-8a599e36.js} +32 -32
- package/build/esm/{index-d690f3ac.js → index-8acd212b.js} +2 -2
- package/build/esm/{index-da444a19.js → index-8d393d1c.js} +3 -3
- package/build/esm/{index-25964462.js → index-8db055e5.js} +22 -22
- package/build/esm/{index-ec13a89a.js → index-8dd8c4b9.js} +16 -16
- package/build/esm/{index-d98c209b.js → index-8df69b0c.js} +6 -6
- package/build/esm/{index-87c5a102.js → index-8e9c5c15.js} +8 -8
- package/build/esm/{index-75593d22.js → index-940aa79e.js} +4 -4
- package/build/esm/{index-d5b3635f.js → index-9b81da91.js} +17 -17
- package/build/esm/{index-36cc3053.js → index-9f1418ba.js} +3 -3
- package/build/esm/{index-43421f0a.js → index-a7ffe2d5.js} +6 -6
- package/build/esm/{index-ab55fee4.js → index-a87467a8.js} +7 -7
- package/build/esm/{index-92e03820.js → index-ad19aaff.js} +1 -1
- package/build/esm/{index-2a50ff87.js → index-ae6b205a.js} +1 -1
- package/build/esm/{index-48fdc2f0.js → index-afbd3550.js} +2 -2
- package/build/esm/{index-f7c27305.js → index-b7875671.js} +2 -2
- package/build/esm/{index-34089895.js → index-ba2440f1.js} +14 -13
- package/build/esm/{index-adc0c6e4.js → index-be2cf0d3.js} +2 -2
- package/build/esm/{index-47f2ea26.js → index-c8572060.js} +2 -2
- package/build/esm/{index-07b3c043.js → index-d1f9e186.js} +2 -2
- package/build/esm/{index-141afb90.js → index-daa305da.js} +3 -3
- package/build/esm/{index-08219929.js → index-dc4effa5.js} +32 -32
- package/build/esm/{index-0e3a22f6.js → index-e8044e34.js} +5 -5
- package/build/esm/{index-9118210e.js → index-eac807f1.js} +15 -15
- package/build/esm/{index-43df005b.js → index-ecdf396d.js} +3 -3
- package/build/esm/{index-cafbd842.js → index-f056345b.js} +9 -9
- package/build/esm/{index-f50de0c4.js → index-f204125a.js} +6 -6
- package/build/esm/{index-12dd6967.js → index-f34a7608.js} +90 -33
- package/build/esm/{index-539ab53a.js → index-f444bbc6.js} +1 -1
- package/build/esm/{index-943448de.js → index-fa24adf6.js} +15 -15
- package/build/esm/{index-4db39693.js → index-fa32a1a1.js} +17 -17
- package/build/esm/{index-7b7e82ee.js → index-fb50fa55.js} +77 -22
- package/build/esm/{index-aa40fd59.js → index-feb51b32.js} +340 -227
- package/build/esm/{index-1108d6b2.js → index-ff4f65f2.js} +2 -2
- package/build/esm/index.js +124 -124
- package/build/esm/interfaces/constants/index.d.ts +0 -1
- package/build/esm/{labelSorting-b25b99c7.js → labelSorting-a51e06b2.js} +4 -4
- package/build/esm/lead.js +71 -49
- package/build/esm/{logoIcon-e89f2716.js → logoIcon-7795e3df.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-7ee872e5.js → post-bcde7bc1.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 +2 -1
- package/build/esm/ssoV2.js +53 -41
- package/build/esm/{store-e10df242.js → store-3d2b7cf8.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-dc21a6bc.js → surveyThankyouCard-d1d4ed8e.js} +5 -5
- package/build/esm/{text-908bab85.js → text-eee6ea73.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-c643203e.js → translationsProvider-d5e5db25.js} +1 -1
- package/build/esm/{treePopoverMenu-4709a32a.js → treePopoverMenu-11db3954.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-37525cf3.js → useHealthToolCache-b535a771.js} +1 -1
- package/build/esm/{usePhoneValidator-0fbd0009.js → usePhoneValidator-d7f0f495.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-b36cdd55.js → usePlacesAutocomplete-76f66a77.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-4c3c0f03.js → utils-306146bc.js} +3 -3
- package/build/esm/{utils-3a62d99e.js → utils-6d99d825.js} +2 -2
- package/build/esm/{utils-5c3c8933.js → utils-96f1c393.js} +5 -5
- package/build/esm/{utils-c992d697.js → utils-9d0cac9f.js} +2 -2
- package/build/esm/{utils-86445b2c.js → utils-f8bc8ee0.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-14293fbc.js → healthTools-705648ee.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 +8 -1
- package/build/i18n-values/hi-IN.js +8 -1
- package/build/i18n-values/id-ID.js +7 -0
- package/build/i18n-values/km-KH.js +8 -1
- package/build/i18n-values/ms-MY.js +7 -0
- package/build/i18n-values/my-MM.js +8 -1
- package/build/i18n-values/th-TH.js +7 -0
- package/build/i18n-values/tl-PH.js +8 -1
- 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 +8 -1
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-e7eac931.js → index-007ce740.js} +3 -3
- package/build/{index-5df789c0.js → index-012c59a2.js} +14 -14
- package/build/{index-e4616aeb.js → index-04e01788.js} +17 -17
- package/build/{index-ac6860b8.js → index-055455cf.js} +2 -2
- package/build/{index-fcd90e7d.js → index-07f073ed.js} +3 -3
- package/build/{index-9f4c448b.js → index-0abad7f9.js} +15 -15
- package/build/{index-2a487379.js → index-0d4262bf.js} +3 -3
- package/build/{index-8fb26f02.js → index-10784f05.js} +3 -3
- package/build/{index-fd2bb937.js → index-13292e13.js} +2 -2
- package/build/{index-458b48d7.js → index-1a4c49cb.js} +32 -32
- package/build/{index-c45b7d81.js → index-1b4df208.js} +16 -16
- package/build/{index-64dcd4a2.js → index-22edaf01.js} +5 -5
- package/build/{index-18a7e870.js → index-2766e788.js} +15 -15
- package/build/{index-e409ef7c.js → index-29ec19d8.js} +2 -2
- package/build/{index-bc0e6964.js → index-2afbe979.js} +2 -2
- package/build/{index-8c5186c3.js → index-2fbb1af5.js} +6 -6
- package/build/{index-9039b016.js → index-361318d6.js} +17 -17
- package/build/{RatingStarsInput-77cc4d25.js → index-394be9a4.js} +70 -33
- package/build/{index-1f46b9f3.js → index-3a004a0e.js} +32 -32
- package/build/{index-b5f114f6.js → index-40f3dd47.js} +343 -230
- package/build/{index-62b6722e.js → index-457ddc68.js} +7 -7
- package/build/{index-55457fd3.js → index-46fd807d.js} +2 -2
- package/build/{index-61d25f64.js → index-486f8ccb.js} +3 -3
- package/build/{index-5b4e93f8.js → index-4b7dae29.js} +1 -1
- package/build/{index-44b6087f.js → index-4d00e0ca.js} +6 -6
- package/build/{index-3deb0a12.js → index-52077613.js} +15 -15
- package/build/{index-7a77e359.js → index-536bbdbe.js} +1 -1
- package/build/{index-12b41884.js → index-53e2b722.js} +17 -17
- package/build/{index-e9676791.js → index-5d50ee7b.js} +2 -2
- package/build/{index-f32b4d18.js → index-617bba0d.js} +18 -18
- package/build/{index-792d8436.js → index-66eb4b6d.js} +13 -13
- package/build/{index-705f25ba.js → index-736f1723.js} +2 -2
- package/build/{index-7fe93d75.js → index-74221c23.js} +2 -2
- package/build/{index-45710afb.js → index-7504807f.js} +6 -6
- package/build/{index-1c65069d.js → index-75712b23.js} +13 -13
- package/build/{index-ebce91a0.js → index-796a5919.js} +2 -2
- package/build/{index-5932c076.js → index-7cf6da68.js} +7 -7
- package/build/{index-26846147.js → index-841e19e2.js} +14 -13
- package/build/{index-23ab6eea.js → index-85b27f8e.js} +76 -20
- package/build/{index-045906cb.js → index-8bc23db4.js} +5 -4
- package/build/{index-5e187909.js → index-8eacad38.js} +1 -1
- package/build/{index-a59d5405.js → index-8ffb83f4.js} +2 -2
- package/build/{index-cd5db3f0.js → index-94f21970.js} +25 -25
- package/build/{index-dc631b98.js → index-962cd60d.js} +2 -5
- package/build/{index-7270789c.js → index-9b0864db.js} +8 -8
- package/build/{index-e224579d.js → index-9e77ff7c.js} +2 -2
- package/build/{index-2c8bdaf9.js → index-ae0cb247.js} +12 -14
- package/build/{index-c392af6d.js → index-ae65ca52.js} +1 -1
- package/build/{index-d601113c.js → index-b3e6231d.js} +13 -13
- package/build/{index-2b351a5e.js → index-b8d3f92d.js} +3 -3
- package/build/{index-280f37a8.js → index-b926bdb0.js} +2 -2
- package/build/{index-8cef94dd.js → index-bd5a10b8.js} +16 -16
- package/build/{index-099fe5e2.js → index-be1c6828.js} +3 -3
- package/build/{index-1abd22d1.js → index-c012917d.js} +2 -2
- package/build/{index-4d896d59.js → index-c16564af.js} +90 -33
- package/build/{index-b6222d7f.js → index-d13d2c41.js} +1 -1
- package/build/{index-7235f2a8.js → index-d5e865e8.js} +4 -4
- package/build/{index-fb8aca3b.js → index-d94ed8c1.js} +13 -13
- package/build/{index-923fe54f.js → index-dccf170d.js} +4 -4
- package/build/{index-7f78a323.js → index-df1d8a1d.js} +1 -1
- package/build/{index-69554524.js → index-e0c844ce.js} +22 -22
- package/build/{index-547c8af7.js → index-e1565d4b.js} +1 -1
- package/build/{index-1d059c31.js → index-e1ce6640.js} +8 -8
- package/build/{index-58b71eb9.js → index-e4dc87ad.js} +3 -3
- package/build/{index-573f8030.js → index-e65c8940.js} +11 -11
- package/build/{index-07eb9ef3.js → index-e6c2cd5c.js} +6 -6
- package/build/{index-866a14a3.js → index-ec734675.js} +2 -2
- package/build/{index-a92f45b1.js → index-f435f547.js} +21 -21
- package/build/{index-1444c458.js → index-f8017d61.js} +2 -2
- package/build/{index-a295b20b.js → index-f88fbc7a.js} +13 -13
- package/build/{index-9eb47869.js → index-fb6cd310.js} +2 -2
- package/build/index.js +227 -225
- package/build/interfaces/constants/index.d.ts +0 -1
- package/build/{labelSorting-9d947d3b.js → labelSorting-a66eaac8.js} +4 -4
- package/build/lead.js +71 -49
- package/build/{logoIcon-186facc5.js → logoIcon-15476c80.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-f97260d2.js → post-afca4644.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 +2 -1
- package/build/ssoV2.js +51 -39
- package/build/{store-a38a9db4.js → store-6c7ddc8a.js} +3 -3
- package/build/subot.js +36 -36
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-19d7a669.js → surveyThankyouCard-3033f434.js} +5 -5
- package/build/{text-9542ed5a.js → text-31b0dfcd.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-8dc008e7.js → translationsProvider-a0c577f2.js} +1 -1
- package/build/{treePopoverMenu-259993eb.js → treePopoverMenu-9189ddc9.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-511719aa.js → useHealthToolCache-bafbe78f.js} +1 -1
- package/build/{usePhoneValidator-7f86b0a0.js → usePhoneValidator-ea19df5b.js} +5 -5
- package/build/{usePlacesAutocomplete-29fc27cd.js → usePlacesAutocomplete-f2e6c104.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-d8fd2460.js → utils-1a4da302.js} +2 -2
- package/build/{utils-3057ed1f.js → utils-50997ccb.js} +1 -1
- package/build/{utils-e2e67ae4.js → utils-a6c4042d.js} +2 -2
- package/build/{utils-b4cb0c79.js → utils-d3349608.js} +5 -5
- package/build/{utils-a424d08d.js → utils-e8317f4f.js} +3 -3
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-2a297dc3.js → BMI_BOYS.percentile.monthly-3a3c796a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-91444169.js → BMI_BOYS.percentile.weekly-5c6b536c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-06642263.js → BMI_BOYS.percentile.yearly-d0a4ee33.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-bdfa9167.js → BMI_BOYS.zscore.monthly-3741beb2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-6c96cc1f.js → BMI_BOYS.zscore.weekly-65dc3192.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-9024c788.js → BMI_BOYS.zscore.yearly-8fabda21.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-3075411d.js → BMI_GIRLS.percentile.monthly-9ef119c3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-17175263.js → BMI_GIRLS.percentile.weekly-938cbc22.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-9c551e68.js → BMI_GIRLS.percentile.yearly-5bc95082.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-298434db.js → BMI_GIRLS.zscore.monthly-687ff20d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-0d1c0771.js → BMI_GIRLS.zscore.weekly-89ebf8e0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-a3b6f45c.js → BMI_GIRLS.zscore.yearly-cbe5dbd7.js} +0 -0
- /package/build/{ChevronDown-97d6e0b9.js → ChevronDown-fae16cd9.js} +0 -0
- /package/build/{Close-ee3047f5.js → Close-5e28e728.js} +0 -0
- /package/build/{Google-9b335f5d.js → Google-0b38fa6f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-2232f4c1.js → HEAD CIRCUM_BOYS.percentile.monthly-74b756a0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-891a7cea.js → HEAD CIRCUM_BOYS.percentile.weekly-63b887d3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-931b06c2.js → HEAD CIRCUM_BOYS.percentile.yearly-14bccc8c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-0462c5b7.js → HEAD CIRCUM_BOYS.zscore.monthly-b582efef.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-e1f60e92.js → HEAD CIRCUM_BOYS.zscore.weekly-49f44756.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-bd6b14fe.js → HEAD CIRCUM_BOYS.zscore.yearly-32ceb0de.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-94c26e68.js → HEAD CIRCUM_GIRLS.percentile.monthly-7d0fce08.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-fa51a608.js → HEAD CIRCUM_GIRLS.percentile.weekly-dfad51c4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-630dabdd.js → HEAD CIRCUM_GIRLS.percentile.yearly-5e9af14c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-a616c615.js → HEAD CIRCUM_GIRLS.zscore.monthly-676c76c5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-174bd9b2.js → HEAD CIRCUM_GIRLS.zscore.weekly-3a704c19.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-4c32e1e0.js → HEAD CIRCUM_GIRLS.zscore.yearly-6c693edf.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-055e1890.js → HEIGHT_BOYS.percentile.monthly-60e4f44d.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-b9033b71.js → HEIGHT_BOYS.percentile.weekly-8bfdf0a2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-3890c878.js → HEIGHT_BOYS.percentile.yearly-8d7c2949.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-def076e1.js → HEIGHT_BOYS.zscore.monthly-95f9a512.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-407ff86e.js → HEIGHT_BOYS.zscore.weekly-5bade6b7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-0a2f202b.js → HEIGHT_BOYS.zscore.yearly-03d02f95.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-c548457f.js → HEIGHT_GIRLS.percentile.monthly-46320b62.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-3024dc9e.js → HEIGHT_GIRLS.percentile.weekly-a064f785.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-abb15cc8.js → HEIGHT_GIRLS.percentile.yearly-cba522b7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-ca2f0471.js → HEIGHT_GIRLS.zscore.monthly-ba0a35fb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-8143784b.js → HEIGHT_GIRLS.zscore.weekly-2d0bf604.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-22c27bf0.js → HEIGHT_GIRLS.zscore.yearly-5af0a067.js} +0 -0
- /package/build/{Locale-46d44b30.js → Locale-c37d82b6.js} +0 -0
- /package/build/{Visible-cbd41afe.js → Visible-6e8a8845.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f07730d1.js → WEIGHT_BOYS.percentile.monthly-b4de5336.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-150d1708.js → WEIGHT_BOYS.percentile.weekly-3dd73c61.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c96452aa.js → WEIGHT_BOYS.percentile.yearly-2ba28089.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-aa446f83.js → WEIGHT_BOYS.zscore.monthly-b8496015.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-89f0c4aa.js → WEIGHT_BOYS.zscore.weekly-cf18a1df.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-daa00585.js → WEIGHT_BOYS.zscore.yearly-6127ad58.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-96472d24.js → WEIGHT_GIRLS.percentile.monthly-7102981f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-ee463dac.js → WEIGHT_GIRLS.percentile.weekly-ecd43c5a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-0958be52.js → WEIGHT_GIRLS.percentile.yearly-ba273988.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-04481f38.js → WEIGHT_GIRLS.zscore.monthly-7adab58f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-49c3a95c.js → WEIGHT_GIRLS.zscore.weekly-f0205312.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c803521f.js → WEIGHT_GIRLS.zscore.yearly-5513960f.js} +0 -0
- /package/build/{ageGenerate-17a1d00b.js → ageGenerate-3b006dcc.js} +0 -0
- /package/build/{animation-c1f179b3.js → animation-b16252cd.js} +0 -0
- /package/build/{constants-9d5ff6b8.js → constants-10631a40.js} +0 -0
- /package/build/{constants-b0bbf10e.js → constants-f0e9cb02.js} +0 -0
- /package/build/{constants-ddd4032f.js → constants-f0fb0455.js} +0 -0
- /package/build/{dataTransform-c2868e31.js → dataTransform-22255a66.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-8d3a1766.js → BMI_BOYS.percentile.monthly-459b032e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ad18690d.js → BMI_BOYS.percentile.weekly-f63fdf5a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-f8c51a1d.js → BMI_BOYS.percentile.yearly-2a4fbe52.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-df88d6d9.js → BMI_BOYS.zscore.monthly-1d83a301.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-74a5614c.js → BMI_BOYS.zscore.weekly-8634cb81.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-2e6ac2a6.js → BMI_BOYS.zscore.yearly-df12d62c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-9ed2c81b.js → BMI_GIRLS.percentile.monthly-7a33f8f1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ddc0942c.js → BMI_GIRLS.percentile.weekly-1f2f5e70.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-146e63f7.js → BMI_GIRLS.percentile.yearly-d4da9e0d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-3d6d8d3a.js → BMI_GIRLS.zscore.monthly-1f7ffbbb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-746bc418.js → BMI_GIRLS.zscore.weekly-ed865b25.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-af30b87e.js → BMI_GIRLS.zscore.yearly-29f42e10.js} +0 -0
- /package/build/esm/{ChevronDown-dd655211.js → ChevronDown-7eeb85ad.js} +0 -0
- /package/build/esm/{Close-9281e4b9.js → Close-205c496e.js} +0 -0
- /package/build/esm/{Google-3b13ae94.js → Google-3c82e28b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-997fe96b.js → HEAD CIRCUM_BOYS.percentile.monthly-66a084c2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4ea146d2.js → HEAD CIRCUM_BOYS.percentile.weekly-e9df799b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-66b9c19a.js → HEAD CIRCUM_BOYS.percentile.yearly-aaaab004.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-0475a7e1.js → HEAD CIRCUM_BOYS.zscore.monthly-9fbbdad1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9930416e.js → HEAD CIRCUM_BOYS.zscore.weekly-c0642d02.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-0853676b.js → HEAD CIRCUM_BOYS.zscore.yearly-b41a330e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-536d0389.js → HEAD CIRCUM_GIRLS.percentile.monthly-3215bd42.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bd74cb99.js → HEAD CIRCUM_GIRLS.percentile.weekly-544032ed.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-35b2ecee.js → HEAD CIRCUM_GIRLS.percentile.yearly-43b8e774.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-16de3c27.js → HEAD CIRCUM_GIRLS.zscore.monthly-ab081cce.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-184090d4.js → HEAD CIRCUM_GIRLS.zscore.weekly-ebcfef93.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-2088aa93.js → HEAD CIRCUM_GIRLS.zscore.yearly-0db95cdb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-1966538b.js → HEIGHT_BOYS.percentile.monthly-fe03fa2b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f964ed1f.js → HEIGHT_BOYS.percentile.weekly-15dad04a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-39840875.js → HEIGHT_BOYS.percentile.yearly-f7940ad1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5760ac45.js → HEIGHT_BOYS.zscore.monthly-b5f76421.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-19fba170.js → HEIGHT_BOYS.zscore.weekly-aa7bf4d5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-7afd914f.js → HEIGHT_BOYS.zscore.yearly-f3601550.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-f2fc655a.js → HEIGHT_GIRLS.percentile.monthly-6cff0b9d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ff798eba.js → HEIGHT_GIRLS.percentile.weekly-0dc1cace.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-72437946.js → HEIGHT_GIRLS.percentile.yearly-c55a7f31.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-86c64446.js → HEIGHT_GIRLS.zscore.monthly-086c8594.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-00e2e635.js → HEIGHT_GIRLS.zscore.weekly-5f6ef075.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-783231e8.js → HEIGHT_GIRLS.zscore.yearly-47f00756.js} +0 -0
- /package/build/esm/{Locale-d401e4f0.js → Locale-81f882d4.js} +0 -0
- /package/build/esm/{Visible-92132047.js → Visible-c45dd2a0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-c4d69dd4.js → WEIGHT_BOYS.percentile.monthly-83a468eb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-93380946.js → WEIGHT_BOYS.percentile.weekly-94b53c22.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-8df4fc7e.js → WEIGHT_BOYS.percentile.yearly-06c3f0ff.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-f122476d.js → WEIGHT_BOYS.zscore.monthly-e0132b9a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-afd99f03.js → WEIGHT_BOYS.zscore.weekly-901f3c0f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-7db0cf76.js → WEIGHT_BOYS.zscore.yearly-126a9f74.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-067ef97d.js → WEIGHT_GIRLS.percentile.monthly-a80c4345.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f3ad0ce3.js → WEIGHT_GIRLS.percentile.weekly-bd0c0f51.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-2e917fa2.js → WEIGHT_GIRLS.percentile.yearly-f1d3319f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-af9d7e5c.js → WEIGHT_GIRLS.zscore.monthly-fd301c39.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f4965c10.js → WEIGHT_GIRLS.zscore.weekly-fa7530a6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-b2862cd5.js → WEIGHT_GIRLS.zscore.yearly-e42f5583.js} +0 -0
- /package/build/esm/{ageGenerate-a83ad7a8.js → ageGenerate-0f2eab89.js} +0 -0
- /package/build/esm/{animation-d40d8a58.js → animation-2ffcd2b6.js} +0 -0
- /package/build/esm/{constants-821560f5.js → constants-5650af51.js} +0 -0
- /package/build/esm/{constants-23c06c81.js → constants-682465d1.js} +0 -0
- /package/build/esm/{constants-e289c55f.js → constants-b765586c.js} +0 -0
- /package/build/esm/{dataTransform-489ee72b.js → dataTransform-9750383d.js} +0 -0
- /package/build/esm/{index-b36b2caa.js → index-37802a4e.js} +0 -0
- /package/build/esm/{index-9b69fe82.js → index-4bfed051.js} +0 -0
- /package/build/esm/{index-1d57de60.js → index-7e023e2a.js} +0 -0
- /package/build/esm/{index-82ec0641.js → index-ae51af7b.js} +0 -0
- /package/build/esm/{index-e18c4ade.js → index-ba929d0f.js} +0 -0
- /package/build/esm/{index-ad4cbe1e.js → index-c2ece74f.js} +0 -0
- /package/build/esm/{index-12e7f3dd.js → index-d1ed60e4.js} +0 -0
- /package/build/esm/{index-a684a0d2.js → index-d3d6b78b.js} +0 -0
- /package/build/esm/{index.styles-50872c8c.js → index.styles-df3d0cfd.js} +0 -0
- /package/build/esm/{localizeNumberFormat-b489e753.js → localizeNumberFormat-77deea84.js} +0 -0
- /package/build/esm/{normalizeLink-d8e4f3bf.js → normalizeLink-4f26ee19.js} +0 -0
- /package/build/esm/{number-862c0c12.js → number-d5fcaa7d.js} +0 -0
- /package/build/esm/{paths-b39b81d7.js → paths-c3351fb1.js} +0 -0
- /package/build/esm/{shared-41a6c7dc.js → shared-5f3bed32.js} +0 -0
- /package/build/esm/{translationsContext-573d0b98.js → translationsContext-5f4fdc0a.js} +0 -0
- /package/build/esm/{tslib.es6-7984ef17.js → tslib.es6-6b4f2c31.js} +0 -0
- /package/build/esm/{types-defdac30.js → types-0c707313.js} +0 -0
- /package/build/esm/{types-618796ff.js → types-3385b746.js} +0 -0
- /package/build/esm/{useIsInit-5fa2e8e6.js → useIsInit-176052ec.js} +0 -0
- /package/build/esm/{useOutsideClick-c16d6bad.js → useOutsideClick-2c76196f.js} +0 -0
- /package/build/esm/{useScrollbarSize-06598443.js → useScrollbarSize-f1d31275.js} +0 -0
- /package/build/esm/{useUniqueId-30dd6f86.js → useUniqueId-331ab48b.js} +0 -0
- /package/build/esm/{utils-7cb7f4d8.js → utils-c03dcc75.js} +0 -0
- /package/build/{index-82763f86.js → index-017b72ca.js} +0 -0
- /package/build/{index-8319214b.js → index-22ba96da.js} +0 -0
- /package/build/{index-aeea803b.js → index-37cc1a47.js} +0 -0
- /package/build/{index-8e02c0ca.js → index-3a81182c.js} +0 -0
- /package/build/{index-96beed31.js → index-a44be272.js} +0 -0
- /package/build/{index-f62a0324.js → index-a53dccef.js} +0 -0
- /package/build/{index-ee288e6c.js → index-a7d537b1.js} +0 -0
- /package/build/{index-50753bb6.js → index-d2024e82.js} +0 -0
- /package/build/{index.styles-53d5845c.js → index.styles-86da1d72.js} +0 -0
- /package/build/{localizeNumberFormat-f2bee5a6.js → localizeNumberFormat-f282874a.js} +0 -0
- /package/build/{normalizeLink-9837fdff.js → normalizeLink-08095e5b.js} +0 -0
- /package/build/{number-fc8b2336.js → number-fd82efcd.js} +0 -0
- /package/build/{paths-ddf30d39.js → paths-48b043af.js} +0 -0
- /package/build/{shared-5c3fb451.js → shared-97635409.js} +0 -0
- /package/build/{translationsContext-f6d0701e.js → translationsContext-1407b5f8.js} +0 -0
- /package/build/{tslib.es6-77827ae2.js → tslib.es6-d9a7177c.js} +0 -0
- /package/build/{types-ebb3d575.js → types-002ce926.js} +0 -0
- /package/build/{types-c17fb492.js → types-99ea20d9.js} +0 -0
- /package/build/{useIsInit-4d30a79a.js → useIsInit-fb7a29a9.js} +0 -0
- /package/build/{useOutsideClick-e306374d.js → useOutsideClick-8118716a.js} +0 -0
- /package/build/{useScrollbarSize-90c807be.js → useScrollbarSize-750064d1.js} +0 -0
- /package/build/{useUniqueId-df4397a2.js → useUniqueId-7bfda60d.js} +0 -0
- /package/build/{utils-88a3614b.js → utils-29c7e8cd.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-6b4f2c31.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,
|
|
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-f444bbc6.js';
|
|
4
|
+
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-0b916f30.js';
|
|
5
|
+
import { L as LOCALE_SPECS, S as STATIC_PAGES, T as TOGETHER_LOCALES, a as CARE_LOCALES } from './index-37c59ef6.js';
|
|
6
|
+
import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-4f26ee19.js';
|
|
7
|
+
import { a as formatCommunity, b as formatPost } from './dataTransform-b07f9ff2.js';
|
|
8
8
|
import { Close, Logo } from '@hhgtech/icons/core';
|
|
9
|
-
import './translationsContext-
|
|
9
|
+
import './translationsContext-5f4fdc0a.js';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
|
-
import { I as Input } from './index-
|
|
11
|
+
import { I as Input } from './index-f056345b.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-20589239.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-3e0f7c52.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-37802a4e.js';
|
|
20
|
+
import './index-8e9c5c15.js';
|
|
21
|
+
import { T as Text } from './index-1f274cc3.js';
|
|
22
|
+
import { B as Button } from './index-daa305da.js';
|
|
23
|
+
import './index.styles-df3d0cfd.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-eee6ea73.js';
|
|
26
|
+
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-c03dcc75.js';
|
|
27
|
+
import './index-9f1418ba.js';
|
|
28
|
+
import { L as LOCALISED_SLUGS } from './constants-6785e352.js';
|
|
29
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-3d2b7cf8.js';
|
|
30
|
+
import { L as LOCALIZED_SLUGS } from './constants-682465d1.js';
|
|
31
|
+
import { u as useTranslations } from './index-15a5843d.js';
|
|
32
|
+
import { H as Heading } from './index-833d92c1.js';
|
|
33
|
+
import { I as Indicator$1 } from './index-ae6b205a.js';
|
|
34
|
+
import { u as useIsInit } from './useIsInit-176052ec.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-48fdc2f0.js';
|
|
36
|
+
import { B as Button$1 } from './index-8710cfae.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-afbd3550.js';
|
|
42
|
+
import { C as Container } from './index-d1ed60e4.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-81f882d4.js';
|
|
45
|
+
import { g as getDataWithCache } from './core-7f9aedbb.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 }) => {
|
|
@@ -2483,7 +2596,7 @@ const useNavServices = () => {
|
|
|
2483
2596
|
};
|
|
2484
2597
|
|
|
2485
2598
|
const StyledContainer = styled.div `
|
|
2486
|
-
--header-z-index:
|
|
2599
|
+
--header-z-index: 305;
|
|
2487
2600
|
top: 0;
|
|
2488
2601
|
z-index: var(--header-z-index);
|
|
2489
2602
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { u as useTranslations } from './index-
|
|
2
|
+
import { B as Button } from './index-8710cfae.js';
|
|
3
|
+
import { u as useTranslations } from './index-15a5843d.js';
|
|
4
4
|
import { keyframes } from '@emotion/react';
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
6
|
import { theme } from './miscTheme.js';
|