@hhgtech/hhg-components 1.29.445 → 1.29.446-beta-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-ace9cc19.js → InputDate-27457606.js} +5 -5
- package/build/{LastPeriod-eb0f5d5f.js → LastPeriod-dceb2f70.js} +1 -1
- package/build/{MobileBottomNavigationIcon-11b07027.js → MobileBottomNavigationIcon-1140d4bc.js} +3 -3
- package/build/{Spinner-8f2b774b.js → Spinner-f2b5a511.js} +1 -1
- package/build/{WhatsApp-5e50af86.js → WhatsApp-d53617de.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +50 -50
- package/build/babyGrowth.js +85 -85
- package/build/cache.js +2 -2
- package/build/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +2 -1
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +46 -48
- package/build/components/atoms/cardCollapse/index.d.ts +1 -1
- package/build/components/atoms/cardCollapse/index.styled.d.ts +0 -4
- package/build/components/atoms/distanceTag/index.styled.d.ts +1 -5
- package/build/components/molecules/answeredByDoctor/index.d.ts +8 -0
- package/build/components/molecules/answeredByDoctor/index.styled.d.ts +9 -0
- package/build/components/molecules/embeddedHeathToolCards/helpers.d.ts +4 -0
- package/build/components/molecules/healthTools/form/bmiForm/context.d.ts +1 -0
- package/build/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
- package/build/components/molecules/index.d.ts +1 -0
- package/build/components/molecules/list/type.d.ts +2 -0
- package/build/components/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-fa2c0f97.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-baad183b.js} +1 -1
- package/build/{dataTransform-1d421174.js → dataTransform-e9fb47a0.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-0f73d28d.js → editor-55d26396.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-c6f5f320.js} +5 -5
- package/build/esm/{LastPeriod-4cf37a67.js → LastPeriod-e4c4b62f.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-269c27f8.js → MobileBottomNavigationIcon-33afa112.js} +3 -3
- package/build/esm/{Spinner-99d5a871.js → Spinner-09448292.js} +1 -1
- package/build/esm/{WhatsApp-e49a2e25.js → WhatsApp-8bd5f331.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +50 -50
- package/build/esm/babyGrowth.js +85 -85
- package/build/esm/cache.js +2 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +2 -1
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +46 -48
- package/build/esm/components/atoms/cardCollapse/index.d.ts +1 -1
- package/build/esm/components/atoms/cardCollapse/index.styled.d.ts +0 -4
- package/build/esm/components/atoms/distanceTag/index.styled.d.ts +1 -5
- package/build/esm/components/molecules/answeredByDoctor/index.d.ts +8 -0
- package/build/esm/components/molecules/answeredByDoctor/index.styled.d.ts +9 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/helpers.d.ts +4 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/context.d.ts +1 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
- package/build/esm/components/molecules/index.d.ts +1 -0
- package/build/esm/components/molecules/list/type.d.ts +2 -0
- package/build/esm/components/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-daa5da1d.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-53e7cc51.js} +1 -1
- package/build/esm/{dataTransform-0b018ae2.js → dataTransform-72d8ab44.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-9a2bb084.js → editor-b0f2fd77.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-8b56bd88.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/icons/Pin3.d.ts +4 -0
- package/build/esm/{index-f949335f.js → index-03ab4085.js} +2 -2
- package/build/esm/{index-dd2821c2.js → index-0d8ed840.js} +13 -13
- package/build/esm/{index-f50de0c4.js → index-0da6010f.js} +6 -6
- package/build/esm/{index-e0f65d2c.js → index-0f26aead.js} +2 -2
- package/build/esm/{index-d5b3635f.js → index-1521ef2c.js} +17 -17
- package/build/esm/{index-18cb16b6.js → index-1674fbc1.js} +3 -5
- package/build/esm/{index-2a98d9de.js → index-179e1761.js} +16 -16
- package/build/esm/{index-75593d22.js → index-1877ee37.js} +4 -4
- package/build/esm/{index-08219929.js → index-1aafe54c.js} +32 -32
- package/build/esm/{index-25964462.js → index-1c48bb17.js} +22 -22
- package/build/esm/{index-1108d6b2.js → index-1e377881.js} +2 -2
- package/build/esm/{index-12dd6967.js → index-1e831ab9.js} +90 -33
- package/build/esm/{index-c7376bb4.js → index-2121bfa7.js} +1 -1
- package/build/esm/{index-adc0c6e4.js → index-2575e8f9.js} +2 -2
- package/build/esm/{index-d690f3ac.js → index-4c517571.js} +2 -2
- package/build/esm/{index-f6d17433.js → index-4c55ff67.js} +13 -13
- package/build/esm/{index-cafbd842.js → index-4d0005d0.js} +9 -9
- package/build/esm/{index-eb49665a.js → index-50c16407.js} +11 -11
- package/build/esm/{index-7b7e82ee.js → index-5408efbc.js} +85 -24
- package/build/esm/{index-141afb90.js → index-5810df3e.js} +3 -3
- package/build/esm/{index-48fdc2f0.js → index-5965ca86.js} +2 -2
- package/build/esm/{index-43df005b.js → index-59eb7799.js} +3 -3
- package/build/esm/{index-819d458b.js → index-5dc8f299.js} +17 -17
- package/build/esm/{index-539ab53a.js → index-629eb2af.js} +1 -1
- package/build/esm/{index-943448de.js → index-67dfba97.js} +15 -15
- package/build/esm/{index-369eae16.js → index-6dae4107.js} +13 -13
- package/build/esm/{index-87c5a102.js → index-6f083c98.js} +8 -8
- package/build/esm/{index-b9a1d047.js → index-73bc32e6.js} +3 -3
- package/build/esm/{index-2c7dd9f9.js → index-75067e6c.js} +1 -1
- package/build/esm/{index-d1441f8c.js → index-75e72c14.js} +2 -2
- package/build/esm/{index-2558182c.js → index-76241564.js} +2 -2
- package/build/esm/{index-3b1ca911.js → index-7632bb40.js} +3 -3
- package/build/esm/{index-ab55fee4.js → index-7744fe53.js} +7 -7
- package/build/esm/{index-d98c209b.js → index-7b61929c.js} +6 -6
- package/build/esm/{index-43a4799d.js → index-83aac32f.js} +15 -15
- package/build/esm/{index-70dd8898.js → index-89f4db1f.js} +6 -6
- package/build/esm/{index-da444a19.js → index-8a7a353c.js} +3 -3
- package/build/esm/{index-1275a5d2.js → index-8e028586.js} +3 -3
- package/build/esm/{index-9118210e.js → index-903932f4.js} +15 -15
- package/build/esm/{index-69c0a211.js → index-90544bb9.js} +13 -13
- package/build/esm/{index-c32f573a.js → index-90c395d9.js} +3 -3
- package/build/esm/{index-ec13a89a.js → index-995b7adb.js} +16 -16
- package/build/esm/{index-5e5533cd.js → index-9b263c9c.js} +25 -25
- package/build/esm/{index-adc7ba2c.js → index-9b678fc9.js} +32 -32
- package/build/esm/{index-2ca5ea96.js → index-9ca91a88.js} +13 -13
- package/build/esm/{index-07b3c043.js → index-a0b2cd51.js} +2 -2
- package/build/esm/{index-aa40fd59.js → index-a411fad7.js} +340 -227
- package/build/esm/{index-31700ae7.js → index-a7b7c08d.js} +10 -12
- package/build/esm/{index-169ad3ac.js → index-a9568e23.js} +2 -2
- package/build/esm/{index-cb13cff5.js → index-a9675943.js} +1 -1
- package/build/esm/{index-43421f0a.js → index-a9815ecd.js} +6 -6
- package/build/esm/{index-47a94d34.js → index-a9bb81a8.js} +1 -1
- package/build/esm/{index-04c7398e.js → index-b15232b6.js} +14 -14
- package/build/esm/{index-950c94cc.js → index-b4ceb7f9.js} +2 -2
- package/build/esm/{index-36cc3053.js → index-baa85d56.js} +3 -3
- package/build/esm/{index-34089895.js → index-baab6cbd.js} +14 -13
- package/build/esm/{index-22eb05be.js → index-bfe11fbd.js} +2 -2
- package/build/esm/{index-cd8b0ff7.js → index-c99a0320.js} +7 -7
- package/build/esm/{index-a21e8cc7.js → index-cabe2e47.js} +19 -18
- package/build/esm/{index-92e03820.js → index-cbef6238.js} +1 -1
- package/build/esm/{index-4db39693.js → index-d86ffca7.js} +17 -17
- package/build/esm/{RatingStarsInput-67ed3a3f.js → index-dd56f0fb.js} +70 -34
- package/build/esm/{index-47f2ea26.js → index-df42656a.js} +2 -2
- package/build/esm/{index-2ca597d1.js → index-e198a87f.js} +18 -18
- package/build/esm/{index-0e3a22f6.js → index-e55831e2.js} +5 -5
- package/build/esm/{index-acefdf85.js → index-e5697705.js} +5 -4
- package/build/esm/{index-0db956ee.js → index-e5b5c216.js} +2 -2
- package/build/esm/{index-f7c27305.js → index-f04b632c.js} +2 -2
- package/build/esm/{index-2a50ff87.js → index-f136fe2d.js} +1 -1
- package/build/esm/{index-f28ed80d.js → index-fe6c90d2.js} +2 -2
- package/build/esm/{index-8dc9384b.js → index-ff7a9e90.js} +21 -21
- package/build/esm/index.js +131 -126
- package/build/esm/interfaces/constants/index.d.ts +0 -1
- package/build/esm/{labelSorting-b25b99c7.js → labelSorting-f6f170b5.js} +4 -4
- package/build/esm/lead.js +71 -49
- package/build/esm/{logoIcon-e89f2716.js → logoIcon-eae7bbb6.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-e9b11d48.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-eb515f83.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-f71e9cfc.js} +5 -5
- package/build/esm/{text-908bab85.js → text-282f4246.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-fa5e12ad.js} +1 -1
- package/build/esm/{treePopoverMenu-4709a32a.js → treePopoverMenu-ac38c327.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-37525cf3.js → useHealthToolCache-8ab4744a.js} +1 -1
- package/build/esm/{usePhoneValidator-0fbd0009.js → usePhoneValidator-93d05602.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-b36cdd55.js → usePlacesAutocomplete-08439a73.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-c992d697.js → utils-1121f816.js} +2 -2
- package/build/esm/{utils-5c3c8933.js → utils-363eca9a.js} +5 -5
- package/build/esm/{utils-86445b2c.js → utils-4d0263b5.js} +1 -1
- package/build/esm/{utils-3a62d99e.js → utils-53fce947.js} +2 -2
- package/build/esm/{utils-4c3c0f03.js → utils-d2b47427.js} +3 -3
- 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-eefec48c.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/icons/Pin3.d.ts +4 -0
- package/build/{index-2a487379.js → index-02ae889c.js} +3 -3
- package/build/{index-e224579d.js → index-03a64dd3.js} +2 -2
- package/build/{index-e7eac931.js → index-0be52665.js} +3 -3
- package/build/{index-7fe93d75.js → index-126f320b.js} +2 -2
- package/build/{index-2b351a5e.js → index-19ea00e5.js} +3 -3
- package/build/{index-e409ef7c.js → index-1ddb459b.js} +2 -2
- package/build/{index-1f46b9f3.js → index-1e2e55a6.js} +32 -32
- package/build/{index-55457fd3.js → index-207378dc.js} +2 -2
- package/build/{index-9039b016.js → index-225cb7cb.js} +17 -17
- package/build/{index-8c5186c3.js → index-28a60f86.js} +6 -6
- package/build/{index-23ab6eea.js → index-2fce35c6.js} +84 -22
- package/build/{index-2c8bdaf9.js → index-360df986.js} +12 -14
- package/build/{index-bc0e6964.js → index-39cae34e.js} +2 -2
- package/build/{index-099fe5e2.js → index-3b3780f8.js} +3 -3
- package/build/{index-a59d5405.js → index-3c1bb36e.js} +2 -2
- package/build/{index-a92f45b1.js → index-40e8dd11.js} +21 -21
- package/build/{index-5df789c0.js → index-4115b9fc.js} +14 -14
- package/build/{index-b5f114f6.js → index-43e87d3e.js} +343 -230
- package/build/{index-705f25ba.js → index-446f6b08.js} +2 -2
- package/build/{index-64dcd4a2.js → index-4530c77f.js} +5 -5
- package/build/{index-458b48d7.js → index-45675eb4.js} +32 -32
- package/build/{index-5e187909.js → index-4664dcfe.js} +1 -1
- package/build/{index-c45b7d81.js → index-4b13bd9a.js} +16 -16
- package/build/{index-5932c076.js → index-4fa4c0f6.js} +7 -7
- package/build/{index-9f4c448b.js → index-505823f2.js} +15 -15
- package/build/{index-d601113c.js → index-524cbcad.js} +13 -13
- package/build/{index-923fe54f.js → index-545324b0.js} +22 -22
- package/build/{index-26846147.js → index-585bf688.js} +14 -13
- package/build/{index-c392af6d.js → index-5935cd7b.js} +1 -1
- package/build/{index-7f78a323.js → index-5bdb3aa1.js} +1 -1
- package/build/{index-f32b4d18.js → index-5e7a86c3.js} +18 -18
- package/build/{index-1c65069d.js → index-5e9a86c7.js} +13 -13
- package/build/{index-280f37a8.js → index-6589e57a.js} +2 -2
- package/build/{index-e9676791.js → index-699b1e88.js} +2 -2
- package/build/{index-ebce91a0.js → index-6ff17ce1.js} +2 -2
- package/build/{index-4d896d59.js → index-72fd5922.js} +90 -33
- package/build/{index-e4616aeb.js → index-751513b2.js} +17 -17
- package/build/{index-ac6860b8.js → index-78c334eb.js} +2 -2
- package/build/{index-792d8436.js → index-7f915165.js} +13 -13
- package/build/{index-1d059c31.js → index-8042912b.js} +8 -8
- package/build/{index-573f8030.js → index-869609bd.js} +11 -11
- package/build/{index-62b6722e.js → index-87d4d9c5.js} +7 -7
- package/build/{index-b6222d7f.js → index-87fa019c.js} +1 -1
- package/build/{index-44b6087f.js → index-8ae38747.js} +6 -6
- package/build/{index-045906cb.js → index-8b2a642b.js} +5 -4
- package/build/{index-5b4e93f8.js → index-9a8c49c0.js} +1 -1
- package/build/{index-dc631b98.js → index-9cbf8c8a.js} +2 -5
- package/build/{index-18a7e870.js → index-9ecdbf90.js} +15 -15
- package/build/{index-fcd90e7d.js → index-9fdbed4f.js} +3 -3
- package/build/{index-9eb47869.js → index-a77400fa.js} +2 -2
- package/build/{index-8cef94dd.js → index-aa0ca8f6.js} +16 -16
- package/build/{index-fb8aca3b.js → index-ad528c01.js} +13 -13
- package/build/{RatingStarsInput-77cc4d25.js → index-ad6fa333.js} +70 -33
- package/build/{index-7270789c.js → index-bb11b980.js} +8 -8
- package/build/{index-61d25f64.js → index-c16e8ef1.js} +3 -3
- package/build/{index-7a77e359.js → index-c856d79e.js} +1 -1
- package/build/{index-8fb26f02.js → index-c8fb9916.js} +3 -3
- package/build/{index-69554524.js → index-ca833af6.js} +22 -22
- package/build/{index-cd5db3f0.js → index-d1dad49c.js} +25 -25
- package/build/{index-1444c458.js → index-d7f96575.js} +2 -2
- package/build/{index-7235f2a8.js → index-d84248eb.js} +4 -4
- package/build/{index-3deb0a12.js → index-e0d68d62.js} +15 -15
- package/build/{index-07eb9ef3.js → index-e4bd74e0.js} +6 -6
- package/build/{index-fd2bb937.js → index-e94e7bca.js} +2 -2
- package/build/{index-12b41884.js → index-ed6c1d93.js} +17 -17
- package/build/{index-866a14a3.js → index-f119df59.js} +2 -2
- package/build/{index-547c8af7.js → index-f21a41b4.js} +1 -1
- package/build/{index-58b71eb9.js → index-f2c7c30c.js} +3 -3
- package/build/{index-a295b20b.js → index-f2d94da2.js} +13 -13
- package/build/{index-45710afb.js → index-f2e6fe31.js} +6 -6
- package/build/{index-1abd22d1.js → index-f5119e6b.js} +2 -2
- package/build/index.js +239 -232
- package/build/interfaces/constants/index.d.ts +0 -1
- package/build/{labelSorting-9d947d3b.js → labelSorting-ca199051.js} +4 -4
- package/build/lead.js +71 -49
- package/build/{logoIcon-186facc5.js → logoIcon-c6f61532.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-a2555f15.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-cdc8e2dc.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-d5bb0a2e.js} +5 -5
- package/build/{text-9542ed5a.js → text-c7455f24.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-c2133751.js} +1 -1
- package/build/{treePopoverMenu-259993eb.js → treePopoverMenu-27c13339.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-511719aa.js → useHealthToolCache-878ac6e9.js} +1 -1
- package/build/{usePhoneValidator-7f86b0a0.js → usePhoneValidator-d8bb5304.js} +5 -5
- package/build/{usePlacesAutocomplete-29fc27cd.js → usePlacesAutocomplete-d0ae5855.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-e2e67ae4.js → utils-17a28cb6.js} +2 -2
- package/build/{utils-a424d08d.js → utils-2b5b0139.js} +3 -3
- package/build/{utils-3057ed1f.js → utils-a63751dc.js} +1 -1
- package/build/{utils-d8fd2460.js → utils-e27cc725.js} +2 -2
- package/build/{utils-b4cb0c79.js → utils-e3c982e6.js} +5 -5
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-2a297dc3.js → BMI_BOYS.percentile.monthly-da72b4d7.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-91444169.js → BMI_BOYS.percentile.weekly-76233ac1.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-06642263.js → BMI_BOYS.percentile.yearly-0ed2a7c8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-bdfa9167.js → BMI_BOYS.zscore.monthly-33dca631.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-6c96cc1f.js → BMI_BOYS.zscore.weekly-1e35e28f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-9024c788.js → BMI_BOYS.zscore.yearly-b862a8dd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-3075411d.js → BMI_GIRLS.percentile.monthly-9daae5dc.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-17175263.js → BMI_GIRLS.percentile.weekly-3659d1e2.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-9c551e68.js → BMI_GIRLS.percentile.yearly-5d0b6e7d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-298434db.js → BMI_GIRLS.zscore.monthly-49960275.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-0d1c0771.js → BMI_GIRLS.zscore.weekly-e1f5cdf1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-a3b6f45c.js → BMI_GIRLS.zscore.yearly-34672d1b.js} +0 -0
- /package/build/{ChevronDown-97d6e0b9.js → ChevronDown-ec74a514.js} +0 -0
- /package/build/{Close-ee3047f5.js → Close-30b23b2f.js} +0 -0
- /package/build/{Google-9b335f5d.js → Google-2e5ca2fa.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-2232f4c1.js → HEAD CIRCUM_BOYS.percentile.monthly-857776bb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-891a7cea.js → HEAD CIRCUM_BOYS.percentile.weekly-80006faa.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-931b06c2.js → HEAD CIRCUM_BOYS.percentile.yearly-2564544d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-0462c5b7.js → HEAD CIRCUM_BOYS.zscore.monthly-bdf499e4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-e1f60e92.js → HEAD CIRCUM_BOYS.zscore.weekly-a209f171.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-bd6b14fe.js → HEAD CIRCUM_BOYS.zscore.yearly-34c06222.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-94c26e68.js → HEAD CIRCUM_GIRLS.percentile.monthly-26d0177e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-fa51a608.js → HEAD CIRCUM_GIRLS.percentile.weekly-587d8c2c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-630dabdd.js → HEAD CIRCUM_GIRLS.percentile.yearly-f1c7c3e0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-a616c615.js → HEAD CIRCUM_GIRLS.zscore.monthly-a93ea840.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-174bd9b2.js → HEAD CIRCUM_GIRLS.zscore.weekly-084764d9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-4c32e1e0.js → HEAD CIRCUM_GIRLS.zscore.yearly-43ea3293.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-055e1890.js → HEIGHT_BOYS.percentile.monthly-cb2ad8fa.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-b9033b71.js → HEIGHT_BOYS.percentile.weekly-b70b6450.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-3890c878.js → HEIGHT_BOYS.percentile.yearly-f2dabec9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-def076e1.js → HEIGHT_BOYS.zscore.monthly-75ea8887.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-407ff86e.js → HEIGHT_BOYS.zscore.weekly-8f0d373d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-0a2f202b.js → HEIGHT_BOYS.zscore.yearly-32800b3e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-c548457f.js → HEIGHT_GIRLS.percentile.monthly-59b2eb61.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-3024dc9e.js → HEIGHT_GIRLS.percentile.weekly-46f8924b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-abb15cc8.js → HEIGHT_GIRLS.percentile.yearly-afb944ce.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-ca2f0471.js → HEIGHT_GIRLS.zscore.monthly-35326ae2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-8143784b.js → HEIGHT_GIRLS.zscore.weekly-200decd2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-22c27bf0.js → HEIGHT_GIRLS.zscore.yearly-0159f182.js} +0 -0
- /package/build/{Locale-46d44b30.js → Locale-9127c9c2.js} +0 -0
- /package/build/{Visible-cbd41afe.js → Visible-6ed47d79.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f07730d1.js → WEIGHT_BOYS.percentile.monthly-7914bf41.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-150d1708.js → WEIGHT_BOYS.percentile.weekly-1ec30b44.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c96452aa.js → WEIGHT_BOYS.percentile.yearly-0d7382d3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-aa446f83.js → WEIGHT_BOYS.zscore.monthly-19134d28.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-89f0c4aa.js → WEIGHT_BOYS.zscore.weekly-be78dd7f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-daa00585.js → WEIGHT_BOYS.zscore.yearly-d2b40445.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-96472d24.js → WEIGHT_GIRLS.percentile.monthly-c8f5562d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-ee463dac.js → WEIGHT_GIRLS.percentile.weekly-4aaf0c52.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-0958be52.js → WEIGHT_GIRLS.percentile.yearly-c511946a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-04481f38.js → WEIGHT_GIRLS.zscore.monthly-9284c5ae.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-49c3a95c.js → WEIGHT_GIRLS.zscore.weekly-c1332eba.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c803521f.js → WEIGHT_GIRLS.zscore.yearly-dabd4eb9.js} +0 -0
- /package/build/{ageGenerate-17a1d00b.js → ageGenerate-6cba776f.js} +0 -0
- /package/build/{animation-c1f179b3.js → animation-a7b1088c.js} +0 -0
- /package/build/{constants-ddd4032f.js → constants-5bb1c5c9.js} +0 -0
- /package/build/{constants-9d5ff6b8.js → constants-8f25c0fc.js} +0 -0
- /package/build/{constants-b0bbf10e.js → constants-f4a7dc23.js} +0 -0
- /package/build/{dataTransform-c2868e31.js → dataTransform-b5d76259.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-8d3a1766.js → BMI_BOYS.percentile.monthly-3cc7113d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ad18690d.js → BMI_BOYS.percentile.weekly-f51a514f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-f8c51a1d.js → BMI_BOYS.percentile.yearly-443b7314.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-df88d6d9.js → BMI_BOYS.zscore.monthly-1e5012a5.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-74a5614c.js → BMI_BOYS.zscore.weekly-5ac92b06.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-2e6ac2a6.js → BMI_BOYS.zscore.yearly-9a06610f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-9ed2c81b.js → BMI_GIRLS.percentile.monthly-d6a8da5d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ddc0942c.js → BMI_GIRLS.percentile.weekly-bb62ff70.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-146e63f7.js → BMI_GIRLS.percentile.yearly-ba256c0b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-3d6d8d3a.js → BMI_GIRLS.zscore.monthly-09f24bd5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-746bc418.js → BMI_GIRLS.zscore.weekly-4a3809b2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-af30b87e.js → BMI_GIRLS.zscore.yearly-48f2c1f9.js} +0 -0
- /package/build/esm/{ChevronDown-dd655211.js → ChevronDown-8c14d1cb.js} +0 -0
- /package/build/esm/{Close-9281e4b9.js → Close-0146a128.js} +0 -0
- /package/build/esm/{Google-3b13ae94.js → Google-09ce0e24.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-997fe96b.js → HEAD CIRCUM_BOYS.percentile.monthly-58d9d843.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4ea146d2.js → HEAD CIRCUM_BOYS.percentile.weekly-f6a40466.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-66b9c19a.js → HEAD CIRCUM_BOYS.percentile.yearly-87878b99.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-0475a7e1.js → HEAD CIRCUM_BOYS.zscore.monthly-76883ec2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9930416e.js → HEAD CIRCUM_BOYS.zscore.weekly-e6e39174.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-0853676b.js → HEAD CIRCUM_BOYS.zscore.yearly-ec349532.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-536d0389.js → HEAD CIRCUM_GIRLS.percentile.monthly-7bd40cb1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bd74cb99.js → HEAD CIRCUM_GIRLS.percentile.weekly-96e19fb5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-35b2ecee.js → HEAD CIRCUM_GIRLS.percentile.yearly-827ee76c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-16de3c27.js → HEAD CIRCUM_GIRLS.zscore.monthly-f3f70e16.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-184090d4.js → HEAD CIRCUM_GIRLS.zscore.weekly-4ff67662.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-2088aa93.js → HEAD CIRCUM_GIRLS.zscore.yearly-409ee9a1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-1966538b.js → HEIGHT_BOYS.percentile.monthly-588468fa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f964ed1f.js → HEIGHT_BOYS.percentile.weekly-fcae90a8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-39840875.js → HEIGHT_BOYS.percentile.yearly-e9cd93ee.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5760ac45.js → HEIGHT_BOYS.zscore.monthly-b32ad20b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-19fba170.js → HEIGHT_BOYS.zscore.weekly-e77b3521.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-7afd914f.js → HEIGHT_BOYS.zscore.yearly-1abe17b7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-f2fc655a.js → HEIGHT_GIRLS.percentile.monthly-18db2e95.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ff798eba.js → HEIGHT_GIRLS.percentile.weekly-884d353c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-72437946.js → HEIGHT_GIRLS.percentile.yearly-5d996231.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-86c64446.js → HEIGHT_GIRLS.zscore.monthly-0a257231.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-00e2e635.js → HEIGHT_GIRLS.zscore.weekly-1bf9ccd4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-783231e8.js → HEIGHT_GIRLS.zscore.yearly-140e9d53.js} +0 -0
- /package/build/esm/{Locale-d401e4f0.js → Locale-8468ca0b.js} +0 -0
- /package/build/esm/{Visible-92132047.js → Visible-2e9d237b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-c4d69dd4.js → WEIGHT_BOYS.percentile.monthly-a6c71d16.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-93380946.js → WEIGHT_BOYS.percentile.weekly-fe0f9341.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-8df4fc7e.js → WEIGHT_BOYS.percentile.yearly-dfa8d58d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-f122476d.js → WEIGHT_BOYS.zscore.monthly-06fadbf5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-afd99f03.js → WEIGHT_BOYS.zscore.weekly-c83736d9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-7db0cf76.js → WEIGHT_BOYS.zscore.yearly-b0a63c8d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-067ef97d.js → WEIGHT_GIRLS.percentile.monthly-09ec75e1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f3ad0ce3.js → WEIGHT_GIRLS.percentile.weekly-9bd7dee9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-2e917fa2.js → WEIGHT_GIRLS.percentile.yearly-6af544f7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-af9d7e5c.js → WEIGHT_GIRLS.zscore.monthly-643ddbb8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f4965c10.js → WEIGHT_GIRLS.zscore.weekly-8706c052.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-b2862cd5.js → WEIGHT_GIRLS.zscore.yearly-a5d1825d.js} +0 -0
- /package/build/esm/{ageGenerate-a83ad7a8.js → ageGenerate-e5bb81fe.js} +0 -0
- /package/build/esm/{animation-d40d8a58.js → animation-79e947f2.js} +0 -0
- /package/build/esm/{constants-23c06c81.js → constants-00937726.js} +0 -0
- /package/build/esm/{constants-e289c55f.js → constants-3eb48e75.js} +0 -0
- /package/build/esm/{constants-821560f5.js → constants-d27fb30e.js} +0 -0
- /package/build/esm/{dataTransform-489ee72b.js → dataTransform-6939ec11.js} +0 -0
- /package/build/esm/{index-12e7f3dd.js → index-2ae79059.js} +0 -0
- /package/build/esm/{index-1d57de60.js → index-30f8165f.js} +0 -0
- /package/build/esm/{index-b36b2caa.js → index-52a885d6.js} +0 -0
- /package/build/esm/{index-ad4cbe1e.js → index-58a433a0.js} +0 -0
- /package/build/esm/{index-a684a0d2.js → index-5e0aa8b3.js} +0 -0
- /package/build/esm/{index-e18c4ade.js → index-b207a94a.js} +0 -0
- /package/build/esm/{index-9b69fe82.js → index-c5cd0bfd.js} +0 -0
- /package/build/esm/{index-82ec0641.js → index-d3373f88.js} +0 -0
- /package/build/esm/{index.styles-50872c8c.js → index.styles-c3855349.js} +0 -0
- /package/build/esm/{localizeNumberFormat-b489e753.js → localizeNumberFormat-64119dab.js} +0 -0
- /package/build/esm/{normalizeLink-d8e4f3bf.js → normalizeLink-bd3239ff.js} +0 -0
- /package/build/esm/{number-862c0c12.js → number-7efb0499.js} +0 -0
- /package/build/esm/{paths-b39b81d7.js → paths-c1f99f4e.js} +0 -0
- /package/build/esm/{shared-41a6c7dc.js → shared-680c0fd8.js} +0 -0
- /package/build/esm/{translationsContext-573d0b98.js → translationsContext-fd33f958.js} +0 -0
- /package/build/esm/{tslib.es6-7984ef17.js → tslib.es6-4dd8267d.js} +0 -0
- /package/build/esm/{types-defdac30.js → types-39a3a82b.js} +0 -0
- /package/build/esm/{types-618796ff.js → types-65c2a43c.js} +0 -0
- /package/build/esm/{useIsInit-5fa2e8e6.js → useIsInit-66438422.js} +0 -0
- /package/build/esm/{useOutsideClick-c16d6bad.js → useOutsideClick-15587f50.js} +0 -0
- /package/build/esm/{useScrollbarSize-06598443.js → useScrollbarSize-60eabd2c.js} +0 -0
- /package/build/esm/{useUniqueId-30dd6f86.js → useUniqueId-1301cf25.js} +0 -0
- /package/build/esm/{utils-7cb7f4d8.js → utils-ae5d487a.js} +0 -0
- /package/build/{index-aeea803b.js → index-1da0f007.js} +0 -0
- /package/build/{index-8319214b.js → index-1e7c95f6.js} +0 -0
- /package/build/{index-ee288e6c.js → index-43c7e468.js} +0 -0
- /package/build/{index-82763f86.js → index-63667c8e.js} +0 -0
- /package/build/{index-f62a0324.js → index-8b153418.js} +0 -0
- /package/build/{index-50753bb6.js → index-9eb10190.js} +0 -0
- /package/build/{index-96beed31.js → index-c46997dc.js} +0 -0
- /package/build/{index-8e02c0ca.js → index-edf43064.js} +0 -0
- /package/build/{index.styles-53d5845c.js → index.styles-c6be52cd.js} +0 -0
- /package/build/{localizeNumberFormat-f2bee5a6.js → localizeNumberFormat-ba71531e.js} +0 -0
- /package/build/{normalizeLink-9837fdff.js → normalizeLink-1b941950.js} +0 -0
- /package/build/{number-fc8b2336.js → number-c7c1468f.js} +0 -0
- /package/build/{paths-ddf30d39.js → paths-350118f5.js} +0 -0
- /package/build/{shared-5c3fb451.js → shared-0471b252.js} +0 -0
- /package/build/{translationsContext-f6d0701e.js → translationsContext-58bed50e.js} +0 -0
- /package/build/{tslib.es6-77827ae2.js → tslib.es6-e9857d16.js} +0 -0
- /package/build/{types-c17fb492.js → types-066a57b4.js} +0 -0
- /package/build/{types-ebb3d575.js → types-c36a3b9e.js} +0 -0
- /package/build/{useIsInit-4d30a79a.js → useIsInit-dde23cb9.js} +0 -0
- /package/build/{useOutsideClick-e306374d.js → useOutsideClick-6da5bce5.js} +0 -0
- /package/build/{useScrollbarSize-90c807be.js → useScrollbarSize-8764a42b.js} +0 -0
- /package/build/{useUniqueId-df4397a2.js → useUniqueId-5a1dc8ed.js} +0 -0
- /package/build/{utils-88a3614b.js → utils-9b70ff85.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-4dd8267d.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-629eb2af.js';
|
|
4
|
+
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-a7b7c08d.js';
|
|
5
|
+
import { L as LOCALE_SPECS, S as STATIC_PAGES, T as TOGETHER_LOCALES, a as CARE_LOCALES } from './index-1674fbc1.js';
|
|
6
|
+
import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-bd3239ff.js';
|
|
7
|
+
import { a as formatCommunity, b as formatPost } from './dataTransform-72d8ab44.js';
|
|
8
8
|
import { Close, Logo } from '@hhgtech/icons/core';
|
|
9
|
-
import './translationsContext-
|
|
9
|
+
import './translationsContext-fd33f958.js';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
|
-
import { I as Input } from './index-
|
|
11
|
+
import { I as Input } from './index-4d0005d0.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-50c16407.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-89f4db1f.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-52a885d6.js';
|
|
20
|
+
import './index-6f083c98.js';
|
|
21
|
+
import { T as Text } from './index-fe6c90d2.js';
|
|
22
|
+
import { B as Button } from './index-5810df3e.js';
|
|
23
|
+
import './index.styles-c3855349.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-282f4246.js';
|
|
26
|
+
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-ae5d487a.js';
|
|
27
|
+
import './index-baa85d56.js';
|
|
28
|
+
import { L as LOCALISED_SLUGS } from './constants-daa5da1d.js';
|
|
29
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-eb515f83.js';
|
|
30
|
+
import { L as LOCALIZED_SLUGS } from './constants-00937726.js';
|
|
31
|
+
import { u as useTranslations } from './index-a9bb81a8.js';
|
|
32
|
+
import { H as Heading } from './index-e5b5c216.js';
|
|
33
|
+
import { I as Indicator$1 } from './index-f136fe2d.js';
|
|
34
|
+
import { u as useIsInit } from './useIsInit-66438422.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-b4ceb7f9.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-5965ca86.js';
|
|
42
|
+
import { C as Container } from './index-2ae79059.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-8468ca0b.js';
|
|
45
|
+
import { g as getDataWithCache } from './core-53e7cc51.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,18 +1,18 @@
|
|
|
1
1
|
import React__default, { useState, useMemo } from 'react';
|
|
2
|
-
import { F as Flag } from './index-
|
|
2
|
+
import { F as Flag } from './index-4d0005d0.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { C as CommonGAssets } from './index-
|
|
7
|
-
import { _ as __rest } from './tslib.es6-
|
|
8
|
-
import {
|
|
9
|
-
import { V as VideoType } from './index-
|
|
5
|
+
import { T as Text } from './index-fe6c90d2.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-52a885d6.js';
|
|
7
|
+
import { _ as __rest } from './tslib.es6-4dd8267d.js';
|
|
8
|
+
import { V as VIDEO_DETAIL_TEMP_STORAGE } from './index-1674fbc1.js';
|
|
9
|
+
import { V as VideoType } from './index-629eb2af.js';
|
|
10
10
|
import { createStyles, Stack, Box, AspectRatio, getStylesRef, rem, Flex } from '@mantine/core';
|
|
11
|
-
import { a as abbreviateNumber } from './number-
|
|
12
|
-
import { u as useTranslations } from './index-
|
|
11
|
+
import { a as abbreviateNumber } from './number-7efb0499.js';
|
|
12
|
+
import { u as useTranslations } from './index-a9bb81a8.js';
|
|
13
13
|
import { useOs } from '@mantine/hooks';
|
|
14
|
-
import { M as Modal } from './index-
|
|
15
|
-
import { S as SocialLinkPreview } from './index-
|
|
14
|
+
import { M as Modal } from './index-2575e8f9.js';
|
|
15
|
+
import { S as SocialLinkPreview } from './index-a9815ecd.js';
|
|
16
16
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
17
17
|
|
|
18
18
|
const ALLOW_DOMAIN_URL = [
|
|
@@ -425,7 +425,6 @@ const VideoPlayerModal = (_a) => {
|
|
|
425
425
|
[theme.fn.smallerThan('sm')]: {},
|
|
426
426
|
},
|
|
427
427
|
inner: {
|
|
428
|
-
zIndex: ZINDEX_HEADER + 2,
|
|
429
428
|
[theme.fn.smallerThan('sm')]: {
|
|
430
429
|
padding: 0,
|
|
431
430
|
},
|
|
@@ -450,7 +449,6 @@ const VideoPlayerModal = (_a) => {
|
|
|
450
449
|
},
|
|
451
450
|
},
|
|
452
451
|
overlay: {
|
|
453
|
-
zIndex: ZINDEX_HEADER + 1,
|
|
454
452
|
[theme.fn.smallerThan('sm')]: {
|
|
455
453
|
backgroundColor: 'rgba(0, 0, 0, 0.85)',
|
|
456
454
|
},
|