@hhgtech/hhg-components 1.29.80 → 1.29.81
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/{index-1250dd06.js → WhatsApp-82018096.js} +24 -276
- package/build/adapters.js +17 -16
- package/build/atoms.js +100 -0
- package/build/babyGrowth.js +162 -164
- package/build/cache.js +3 -3
- package/build/care.js +17 -17
- package/build/components.js +181 -165
- package/build/{constants-ca71f9e5.js → constants-3a475a22.js} +2 -2
- package/build/constants-513a9a41.js +318 -0
- package/build/{constants-4e7c419e.js → constants-936f45e9.js} +0 -136
- package/build/constants-dd16fb4d.js +425 -0
- package/build/constants.js +3 -3
- package/build/{core-bb2587e7.js → core-9e44ee99.js} +2 -2
- package/build/{index-5d9ad07e.js → dataTransform-6b4d7a4e.js} +3 -52
- package/build/{dataTransform-469b75eb.js → dataTransform-c1701cbd.js} +1 -1
- package/build/defaultClassWrapper-e87ca8ef.js +21 -0
- package/build/ecom.js +5 -5
- package/build/esm/WhatsApp-7d3732e2.js +46 -0
- package/build/esm/adapters.js +17 -16
- package/build/esm/atoms.js +57 -0
- package/build/esm/babyGrowth.js +87 -89
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components.js +91 -75
- package/build/esm/constants-6bdb97a8.js +417 -0
- package/build/esm/constants-71d9f33b.js +307 -0
- package/build/esm/{constants-7661ce64.js → constants-ebf80e5f.js} +2 -2
- package/build/esm/{constants-508ba335.js → constants-f77fc231.js} +1 -127
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-5a22b83e.js → core-c72e0ff5.js} +2 -2
- package/build/esm/{index-9b54376f.js → dataTransform-3e8e25ba.js} +5 -53
- package/build/esm/{dataTransform-f5db5afb.js → dataTransform-6c032113.js} +1 -1
- package/build/esm/defaultClassWrapper-31caf23b.js +15 -0
- package/build/esm/ecom.js +5 -5
- package/build/esm/fixedBottomAdBlock-13ed4a34.js +3474 -0
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-09fda8b3.js → getDynamicHealthTool-7681e43a.js} +4 -4
- package/build/esm/{getSocialList-96301dbb.js → getSocialList-e8142513.js} +5 -6
- package/build/esm/healthToolsForm.js +40 -0
- package/build/esm/healthToolsForms.d.ts +7 -0
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/index-16514f4d.js +156 -0
- package/build/esm/{index-3c7f109c.js → index-1da2ca0b.js} +2 -2
- package/build/esm/{utils-ff5d88a2.js → index-1ecbcf21.js} +71 -105
- package/build/esm/{index-92eedeb0.js → index-21eac858.js} +12 -201
- package/build/esm/{index-c4699d44.js → index-2774583d.js} +35 -176
- package/build/esm/index-29d04985.js +14 -0
- package/build/esm/index-2b9213cf.js +195 -0
- package/build/esm/index-3078acec.js +275 -0
- package/build/esm/index-376bee14.js +847 -0
- package/build/esm/index-38f50764.js +557 -0
- package/build/esm/index-42ad7763.js +95 -0
- package/build/esm/{index-53a86337.js → index-598ab51b.js} +5 -5
- package/build/esm/{index-df29c4e0.js → index-69248434.js} +33 -5
- package/build/esm/index-6ac73f00.js +1114 -0
- package/build/esm/index-703205e3.js +54 -0
- package/build/esm/{index-82861dba.js → index-73301602.js} +2 -2
- package/build/esm/index-76d20d3f.js +100 -0
- package/build/esm/{index-e68d4285.js → index-780a08de.js} +2 -2
- package/build/esm/{index-80f4d7df.js → index-78255d6c.js} +2 -2
- package/build/esm/{index-da2b8f22.js → index-7cbe2a10.js} +12 -11
- package/build/esm/{index-2d47a346.js → index-7e756cb8.js} +11 -10
- package/build/esm/{index.styled-9e147e72.js → index-87a2ea8c.js} +21 -3
- package/build/esm/index-88ad2ca3.js +1681 -0
- package/build/esm/index-8952ceac.js +202 -0
- package/build/esm/index-996f7caf.js +148 -0
- package/build/esm/{index-ef855343.js → index-9f1899f2.js} +4 -4
- package/build/esm/{index-32e2b169.js → index-b1bb27aa.js} +81 -9
- package/build/esm/{index-c807ef87.js → index-bef3c9bd.js} +3 -3
- package/build/esm/{index-bcd13f1d.js → index-c1af3a8e.js} +13 -12
- package/build/esm/{index-4dcdce19.js → index-c200bff6.js} +2 -2
- package/build/esm/{index-5773eb18.js → index-cb4afb33.js} +6 -6
- package/build/esm/{index-679d5383.js → index-cdac57da.js} +1 -1
- package/build/esm/{index-474e0ae5.js → index-cf6beac8.js} +2 -13
- package/build/esm/{index-77dddeb9.js → index-d218b94e.js} +2 -2
- package/build/esm/index-d6201fa4.js +42 -0
- package/build/esm/index-e104ad21.js +335 -0
- package/build/esm/index-e26514ee.js +262 -0
- package/build/esm/index-f27edf45.js +130 -0
- package/build/esm/index.js +89 -73
- package/build/esm/lead.js +23 -33
- package/build/esm/logoIcon-d93bc56e.js +104 -0
- package/build/esm/mantine.js +22 -20
- package/build/esm/misc.js +21 -21
- package/build/esm/molecules.js +88 -0
- package/build/esm/navigation.js +37 -37
- package/build/esm/onboardingV2.js +26 -35
- package/build/esm/organisms.js +57 -0
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-7bc3e320.js → routing-bebdc8b7.js} +2 -2
- package/build/esm/subot.js +31 -27
- package/build/esm/surveyOrPremiumBanner.js +45 -0
- package/build/esm/surveyQuestionCard.js +13 -0
- package/build/esm/surveyThankyouCard-bf6080eb.js +446 -0
- package/build/esm/together.js +35 -37
- package/build/esm/{types-957334f2.js → types-2580132c.js} +28 -30
- package/build/esm/{types-ee1be1e3.js → types-be952df2.js} +13 -13
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-7e020652.js → useCategory-8f109eb7.js} +5 -5
- package/build/esm/{useHealthToolCache-c70e4fd5.js → useHealthToolCache-d97dfa00.js} +2 -2
- package/build/esm/{useMantineLocale-1373e175.js → useMantineLocale-4fb67342.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-4bfe976e.js → usePlacesAutocomplete-fe2e4cbe.js} +1 -1
- package/build/esm/{useTranslations-adad3b06.js → useTranslations-fbf6a6ab.js} +1 -1
- package/build/esm/{utils-b14c10f9.js → utils-cef111b6.js} +1 -1
- package/build/esm/{utils-dee27bfd.js → utils-d5a0b58f.js} +8 -356
- package/build/esm/vaccination.js +18 -29
- package/build/fixedBottomAdBlock-0d4379d1.js +3521 -0
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-357666f7.js → getDynamicHealthTool-2a92e1a5.js} +4 -4
- package/build/{getSocialList-c1404aff.js → getSocialList-97e7bcc1.js} +8 -9
- package/build/healthToolsForm.js +54 -0
- package/build/healthToolsForms.d.ts +7 -0
- package/build/hooks.js +17 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/index-058b3c0f.js +1127 -0
- package/build/{index-94fd9ea6.js → index-05f106c2.js} +32 -222
- package/build/index-06fa8444.js +102 -0
- package/build/{index-858f60e0.js → index-1efa7d84.js} +2 -2
- package/build/index-247a9eb2.js +1693 -0
- package/build/{index-94a2b0f9.js → index-264eeddd.js} +2 -2
- package/build/index-3d0d22b3.js +565 -0
- package/build/index-3dcb9bc6.js +61 -0
- package/build/{index-91027d35.js → index-4af08ec2.js} +2 -2
- package/build/index-6acb08c0.js +343 -0
- package/build/{index-bf6e5e4e.js → index-6bc3f8c3.js} +5 -5
- package/build/{index-b0414701.js → index-6c27b627.js} +56 -199
- package/build/index-73cde644.js +156 -0
- package/build/{index-5029b5d8.js → index-77a2b9ee.js} +1 -1
- package/build/{index-d710511f.js → index-7c1dc717.js} +12 -11
- package/build/index-7da7b531.js +107 -0
- package/build/{index-f0a532c7.js → index-838b0f95.js} +6 -6
- package/build/index-a7de42d1.js +202 -0
- package/build/{index-3a03bb34.js → index-a86ea1b6.js} +2 -2
- package/build/index-aa818139.js +49 -0
- package/build/{index-61ef343d.js → index-b773bc3d.js} +4 -4
- package/build/index-bef2bc73.js +136 -0
- package/build/{utils-263a60f7.js → index-c225ef22.js} +76 -120
- package/build/{index-8c826f3e.js → index-c2900d8c.js} +2 -2
- package/build/index-cb0544e5.js +866 -0
- package/build/{index-e60c98f8.js → index-d34cd464.js} +2 -2
- package/build/{index-82a3ba38.js → index-d5b4089d.js} +85 -12
- package/build/index-dba2e361.js +20 -0
- package/build/{index-917c975c.js → index-dcbd8bf3.js} +37 -9
- package/build/index-dd1392e3.js +167 -0
- package/build/{index-ed587907.js → index-def9867a.js} +11 -10
- package/build/index-e0bf03ac.js +277 -0
- package/build/index-ee964d3c.js +209 -0
- package/build/index-f10efb61.js +270 -0
- package/build/{index-040620f6.js → index-f1f4fbb9.js} +13 -12
- package/build/{index-c67602d7.js → index-f28c47ce.js} +1 -13
- package/build/{index-2b32b21e.js → index-f6575703.js} +2 -2
- package/build/{index.styled-8aca5145.js → index-fe7345fa.js} +22 -4
- package/build/index.js +202 -186
- package/build/lead.js +29 -39
- package/build/logoIcon-ee9a5501.js +110 -0
- package/build/mantine.js +24 -23
- package/build/misc.js +21 -21
- package/build/molecules.js +149 -0
- package/build/navigation.js +37 -37
- package/build/onboardingV2.js +45 -54
- package/build/organisms.js +74 -0
- package/build/pwg.js +19 -19
- package/build/{routing-bc8197d8.js → routing-f6d54205.js} +2 -2
- package/build/subot.js +43 -39
- package/build/surveyOrPremiumBanner.js +53 -0
- package/build/surveyQuestionCard.js +22 -0
- package/build/surveyThankyouCard-ead6b355.js +454 -0
- package/build/together.js +37 -39
- package/build/{types-6996fb20.js → types-4ba4268f.js} +13 -13
- package/build/{types-c8956642.js → types-6c5643a2.js} +60 -62
- package/build/types.js +1 -1
- package/build/{useCategory-7d1f8a7d.js → useCategory-e2c91f59.js} +5 -5
- package/build/{useHealthToolCache-b7dea4aa.js → useHealthToolCache-2a53367b.js} +2 -2
- package/build/{useMantineLocale-b243f628.js → useMantineLocale-a4f0c61d.js} +3 -3
- package/build/{usePlacesAutocomplete-08b86d2d.js → usePlacesAutocomplete-c76d0caf.js} +1 -1
- package/build/{useTranslations-d5456a98.js → useTranslations-200168a3.js} +1 -1
- package/build/{utils-9f62698f.js → utils-95d9832e.js} +16 -375
- package/build/{utils-d421a448.js → utils-af695515.js} +1 -1
- package/build/vaccination.js +58 -69
- package/package.json +1 -1
- package/build/Instagram-91ba1e26.js +0 -32
- package/build/esm/Instagram-319a8e34.js +0 -26
- package/build/esm/index-13bf84f4.js +0 -298
- package/build/esm/index-1a3f36c3.js +0 -1086
- package/build/esm/index-800b956a.js +0 -7245
- package/build/esm/index-aebf96f3.js +0 -33
- package/build/esm/index-d48b5db6.js +0 -71
- package/build/esm/index-d5b66388.js +0 -23
- package/build/esm/index.styles-0ef0135c.js +0 -1322
- package/build/index-0523771b.js +0 -7324
- package/build/index-20ebc0bd.js +0 -30
- package/build/index-dbf560f2.js +0 -1100
- package/build/index-efcbac97.js +0 -39
- package/build/index-f5103542.js +0 -77
- package/build/index.styles-2bdfde5f.js +0 -1361
- /package/build/{BMI_BOYS.percentile.monthly-c38ce03a.js → BMI_BOYS.percentile.monthly-71fb1c9f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-1eccee42.js → BMI_BOYS.percentile.weekly-b2b344a7.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-0e7d5cb6.js → BMI_BOYS.percentile.yearly-031ddade.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-f72f392f.js → BMI_BOYS.zscore.monthly-bb1f9962.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-94fd04e6.js → BMI_BOYS.zscore.weekly-d6198d53.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-90d5e091.js → BMI_BOYS.zscore.yearly-48255337.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-de3a9a14.js → BMI_GIRLS.percentile.monthly-e3e284ee.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-1e1ce2b7.js → BMI_GIRLS.percentile.weekly-9f2d3977.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-70a44f31.js → BMI_GIRLS.percentile.yearly-c79f34ce.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-be4399a5.js → BMI_GIRLS.zscore.monthly-11092df0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-6121376b.js → BMI_GIRLS.zscore.weekly-5c375d2b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-822e7686.js → BMI_GIRLS.zscore.yearly-adbba8e3.js} +0 -0
- /package/build/{ChevronDown-f9d31306.js → ChevronDown-f7e25d61.js} +0 -0
- /package/build/{Close-27e0dcf1.js → Close-36b0da99.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5e094c3e.js → HEAD CIRCUM_BOYS.percentile.monthly-163b99ad.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-24f827d8.js → HEAD CIRCUM_BOYS.percentile.weekly-c9882014.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-d7478410.js → HEAD CIRCUM_BOYS.percentile.yearly-9d2bc91e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-1123cad6.js → HEAD CIRCUM_BOYS.zscore.monthly-1d2a215c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-a5b55615.js → HEAD CIRCUM_BOYS.zscore.weekly-1f139c91.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-0d818764.js → HEAD CIRCUM_BOYS.zscore.yearly-ba15501b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-dddf5ad9.js → HEAD CIRCUM_GIRLS.percentile.monthly-a546201a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a80d6989.js → HEAD CIRCUM_GIRLS.percentile.weekly-66cd5a7e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-01850b67.js → HEAD CIRCUM_GIRLS.percentile.yearly-9db3c653.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-82890053.js → HEAD CIRCUM_GIRLS.zscore.monthly-0405e2cb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-069f8c8f.js → HEAD CIRCUM_GIRLS.zscore.weekly-b2cc3ad2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ae5ef237.js → HEAD CIRCUM_GIRLS.zscore.yearly-3115f993.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-d0da1664.js → HEIGHT_BOYS.percentile.monthly-35138a98.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-55446b8a.js → HEIGHT_BOYS.percentile.weekly-0216c35b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f2f5b19f.js → HEIGHT_BOYS.percentile.yearly-f698e45d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-e6ed98ef.js → HEIGHT_BOYS.zscore.monthly-01195728.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-d0d37479.js → HEIGHT_BOYS.zscore.weekly-993e9cf2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-4023b808.js → HEIGHT_BOYS.zscore.yearly-fee3ed69.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-6d9aeadc.js → HEIGHT_GIRLS.percentile.monthly-27b2474a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-2087c9b4.js → HEIGHT_GIRLS.percentile.weekly-77bff236.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-f98d8b05.js → HEIGHT_GIRLS.percentile.yearly-6200a720.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-99d299e3.js → HEIGHT_GIRLS.zscore.monthly-94978e64.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c46ed349.js → HEIGHT_GIRLS.zscore.weekly-7951beb1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-fddefca4.js → HEIGHT_GIRLS.zscore.yearly-c2eca714.js} +0 -0
- /package/build/{Visible-01dfaec9.js → Visible-eee51ba6.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-cead8ece.js → WEIGHT_BOYS.percentile.monthly-6a6f901b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-a97fa31a.js → WEIGHT_BOYS.percentile.weekly-737fb867.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c2c41945.js → WEIGHT_BOYS.percentile.yearly-7772b5e5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d8de7dc2.js → WEIGHT_BOYS.zscore.monthly-8db2e7d6.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-41a6f6bf.js → WEIGHT_BOYS.zscore.weekly-ddd37c1a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-5762fa8a.js → WEIGHT_BOYS.zscore.yearly-332a8f7b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-526fb18a.js → WEIGHT_GIRLS.percentile.monthly-3edad688.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-6c63ed2b.js → WEIGHT_GIRLS.percentile.weekly-f113a82a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-0ecdbd3a.js → WEIGHT_GIRLS.percentile.yearly-95afbeaf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-0c353536.js → WEIGHT_GIRLS.zscore.monthly-d27c4bd4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-97898ff6.js → WEIGHT_GIRLS.zscore.weekly-2b113519.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-cbebe807.js → WEIGHT_GIRLS.zscore.yearly-c82b04db.js} +0 -0
- /package/build/{animation-8605b5bb.js → animation-e1375a3b.js} +0 -0
- /package/build/{cart-ab5762b8.js → cart-67147d06.js} +0 -0
- /package/build/{cookieHelper-b2132ffc.js → cookieHelper-17491ce8.js} +0 -0
- /package/build/{doctor-f121fd79.js → doctor-17b525f8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-e507536d.js → BMI_BOYS.percentile.monthly-7c9d4923.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-3cbf7392.js → BMI_BOYS.percentile.weekly-c410294a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-c7d54bc3.js → BMI_BOYS.percentile.yearly-695a4fe2.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-4d09aca0.js → BMI_BOYS.zscore.monthly-9fb9f281.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-319b78c5.js → BMI_BOYS.zscore.weekly-d2109e4b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-764732c5.js → BMI_BOYS.zscore.yearly-bfa5361b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-5a8e4069.js → BMI_GIRLS.percentile.monthly-f5f60596.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-a2fe6df1.js → BMI_GIRLS.percentile.weekly-26e4e864.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-810fe911.js → BMI_GIRLS.percentile.yearly-5a2b297d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-afab03b0.js → BMI_GIRLS.zscore.monthly-4e80bed5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-8f4e7198.js → BMI_GIRLS.zscore.weekly-03b79f0b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-7f043621.js → BMI_GIRLS.zscore.yearly-822ed949.js} +0 -0
- /package/build/esm/{ChevronDown-d24fd24b.js → ChevronDown-74267eb8.js} +0 -0
- /package/build/esm/{Close-6243d246.js → Close-372aa467.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-91c12176.js → HEAD CIRCUM_BOYS.percentile.monthly-21b04c4c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-40e77c68.js → HEAD CIRCUM_BOYS.percentile.weekly-049a9d97.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-1a284ec4.js → HEAD CIRCUM_BOYS.percentile.yearly-a4bbbaba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-16f716a6.js → HEAD CIRCUM_BOYS.zscore.monthly-7cb348c6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-07d20112.js → HEAD CIRCUM_BOYS.zscore.weekly-678a1a52.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-1201a10a.js → HEAD CIRCUM_BOYS.zscore.yearly-db81b17e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a6348baf.js → HEAD CIRCUM_GIRLS.percentile.monthly-cee33cd5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-af26363f.js → HEAD CIRCUM_GIRLS.percentile.weekly-2cec19c3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-e7637928.js → HEAD CIRCUM_GIRLS.percentile.yearly-5949e664.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-9be0e0ca.js → HEAD CIRCUM_GIRLS.zscore.monthly-7c2bffab.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3ffe9dcd.js → HEAD CIRCUM_GIRLS.zscore.weekly-356dd00a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d7226db1.js → HEAD CIRCUM_GIRLS.zscore.yearly-e7b62215.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c2e21892.js → HEIGHT_BOYS.percentile.monthly-359c4335.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-22018f1e.js → HEIGHT_BOYS.percentile.weekly-a4d4acd3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-391cd377.js → HEIGHT_BOYS.percentile.yearly-ec9a7f9b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e11f50f4.js → HEIGHT_BOYS.zscore.monthly-12331258.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-8e2c8306.js → HEIGHT_BOYS.zscore.weekly-172054d3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-78e974bb.js → HEIGHT_BOYS.zscore.yearly-bb47a3be.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-0a49ff89.js → HEIGHT_GIRLS.percentile.monthly-c93c0b34.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-5e158a8e.js → HEIGHT_GIRLS.percentile.weekly-f1f83097.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f5544ab2.js → HEIGHT_GIRLS.percentile.yearly-ccee4e55.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-92f67ec2.js → HEIGHT_GIRLS.zscore.monthly-caf5410c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f5d11f32.js → HEIGHT_GIRLS.zscore.weekly-b1e28b0e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-4fe6aad9.js → HEIGHT_GIRLS.zscore.yearly-c3af35d3.js} +0 -0
- /package/build/esm/{Visible-7f408f98.js → Visible-3f9d7dca.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b09ae73a.js → WEIGHT_BOYS.percentile.monthly-8a4647df.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-733a24a9.js → WEIGHT_BOYS.percentile.weekly-a2a6adf1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-2bfcfc93.js → WEIGHT_BOYS.percentile.yearly-073df8b7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c0d3a746.js → WEIGHT_BOYS.zscore.monthly-bb9e73d2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-b41ff498.js → WEIGHT_BOYS.zscore.weekly-ef32ce7a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-15bb7570.js → WEIGHT_BOYS.zscore.yearly-6cc77688.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-5b79dea8.js → WEIGHT_GIRLS.percentile.monthly-a4b518bc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-33052637.js → WEIGHT_GIRLS.percentile.weekly-dcedaebb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-64382b53.js → WEIGHT_GIRLS.percentile.yearly-9e66577e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-63f19584.js → WEIGHT_GIRLS.zscore.monthly-c07cb81f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-938ebce2.js → WEIGHT_GIRLS.zscore.weekly-9c5c3e8e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-016e1cfc.js → WEIGHT_GIRLS.zscore.yearly-e99ce511.js} +0 -0
- /package/build/esm/{animation-bf170ee9.js → animation-0b2299dc.js} +0 -0
- /package/build/esm/{cart-5bdb4fa5.js → cart-f961dadc.js} +0 -0
- /package/build/esm/{cookieHelper-ff6c13b4.js → cookieHelper-73ce3871.js} +0 -0
- /package/build/esm/{doctor-f4cadffb.js → doctor-8a07ca44.js} +0 -0
- /package/build/esm/{index-6c0f560b.js → index-782fed08.js} +0 -0
- /package/build/esm/{index-528e64f4.js → index-b65a8764.js} +0 -0
- /package/build/esm/{index-b87433a0.js → index-c3264b34.js} +0 -0
- /package/build/esm/{index-eeedf0f0.js → index-e3787b20.js} +0 -0
- /package/build/esm/{isProduction-2838b9ae.js → isProduction-5684a28c.js} +0 -0
- /package/build/esm/{localizeNumberFormat-9303c122.js → localizeNumberFormat-42ae8d89.js} +0 -0
- /package/build/esm/{normalizeLink-38ab69f4.js → normalizeLink-d6f57223.js} +0 -0
- /package/build/esm/{number-fcae69c7.js → number-13f075cf.js} +0 -0
- /package/build/esm/{paths-d1c61fa8.js → paths-49a813e7.js} +0 -0
- /package/build/esm/{theme-0af1cc3d.js → theme-f18c2351.js} +0 -0
- /package/build/esm/{translationsContext-036458b7.js → translationsContext-f3d1a7bd.js} +0 -0
- /package/build/esm/{tslib.es6-2673b49d.js → tslib.es6-761239c7.js} +0 -0
- /package/build/esm/{useIsInit-2c5ff93d.js → useIsInit-ee864235.js} +0 -0
- /package/build/esm/{useOutsideClick-7023de23.js → useOutsideClick-7451aa57.js} +0 -0
- /package/build/esm/{useScrollbarSize-dfdab229.js → useScrollbarSize-84bb5b47.js} +0 -0
- /package/build/esm/{useUniqueId-d4b0bdd3.js → useUniqueId-c23213b6.js} +0 -0
- /package/build/esm/{utils-511a24f4.js → utils-f8761b9d.js} +0 -0
- /package/build/{index-c524c362.js → index-97ebd7e1.js} +0 -0
- /package/build/{index-bced434a.js → index-ba3797bb.js} +0 -0
- /package/build/{index-5c400e5e.js → index-bba97c2e.js} +0 -0
- /package/build/{index-18ddaa1b.js → index-df5cd44b.js} +0 -0
- /package/build/{isProduction-2e55aee3.js → isProduction-aa963bf9.js} +0 -0
- /package/build/{localizeNumberFormat-2befc6e4.js → localizeNumberFormat-90d4f9d5.js} +0 -0
- /package/build/{normalizeLink-0fd36e61.js → normalizeLink-451ae6d8.js} +0 -0
- /package/build/{number-92da0262.js → number-c2338382.js} +0 -0
- /package/build/{paths-350514c4.js → paths-e0bbfce7.js} +0 -0
- /package/build/{theme-f410baf6.js → theme-e4f7f487.js} +0 -0
- /package/build/{translationsContext-11cafcfc.js → translationsContext-39528d2f.js} +0 -0
- /package/build/{tslib.es6-4bc45883.js → tslib.es6-7e140b89.js} +0 -0
- /package/build/{useIsInit-0f6d1879.js → useIsInit-38cec0c4.js} +0 -0
- /package/build/{useOutsideClick-e067cc79.js → useOutsideClick-e579e1ac.js} +0 -0
- /package/build/{useScrollbarSize-ed50b4a6.js → useScrollbarSize-5a8be010.js} +0 -0
- /package/build/{useUniqueId-4ce69bff.js → useUniqueId-8929fe5f.js} +0 -0
- /package/build/{utils-4849d92a.js → utils-524bda7c.js} +0 -0
|
@@ -1,51 +1,49 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var index$1 = require('./index-
|
|
5
|
-
require('./translationsContext-
|
|
4
|
+
var index$1 = require('./index-d34cd464.js');
|
|
5
|
+
require('./translationsContext-39528d2f.js');
|
|
6
6
|
require('string-format');
|
|
7
|
-
var utils = require('./utils-
|
|
8
|
-
var tslib_es6 = require('./tslib.es6-
|
|
7
|
+
var utils = require('./utils-95d9832e.js');
|
|
8
|
+
var tslib_es6 = require('./tslib.es6-7e140b89.js');
|
|
9
9
|
var other = require('@hhgtech/icons/other');
|
|
10
10
|
var core = require('@mantine/core');
|
|
11
|
-
var index$d = require('./index-
|
|
12
|
-
var useTranslations = require('./useTranslations-
|
|
11
|
+
var index$d = require('./index-77a2b9ee.js');
|
|
12
|
+
var useTranslations = require('./useTranslations-200168a3.js');
|
|
13
13
|
var innertext = require('innertext');
|
|
14
|
-
var theme = require('./theme-
|
|
15
|
-
var index$9 = require('./index-
|
|
14
|
+
var theme = require('./theme-e4f7f487.js');
|
|
15
|
+
var index$9 = require('./index-05f106c2.js');
|
|
16
16
|
require('@mantine/dates');
|
|
17
|
-
var index$4 = require('./index-
|
|
18
|
-
var index$5 = require('./index-
|
|
19
|
-
var index$a = require('./index-
|
|
20
|
-
require('./useMantineLocale-
|
|
17
|
+
var index$4 = require('./index-a86ea1b6.js');
|
|
18
|
+
var index$5 = require('./index-df5cd44b.js');
|
|
19
|
+
var index$a = require('./index-1efa7d84.js');
|
|
20
|
+
require('./useMantineLocale-a4f0c61d.js');
|
|
21
|
+
var index$e = require('./index-a7de42d1.js');
|
|
21
22
|
require('@mantine/hooks');
|
|
22
|
-
var utils$1 = require('./utils-
|
|
23
|
-
var index$8 = require('./index-
|
|
24
|
-
var
|
|
25
|
-
var
|
|
23
|
+
var utils$1 = require('./utils-524bda7c.js');
|
|
24
|
+
var index$8 = require('./index-d5b4089d.js');
|
|
25
|
+
var dataTransform = require('./dataTransform-6b4d7a4e.js');
|
|
26
|
+
var constants = require('./constants-513a9a41.js');
|
|
27
|
+
var index$c = require('./index-dd1392e3.js');
|
|
26
28
|
var debounce = require('lodash/debounce');
|
|
27
29
|
var ContentEditable = require('react-contenteditable');
|
|
28
30
|
var core$1 = require('@hhgtech/icons/core');
|
|
29
|
-
var index$6 = require('./index-
|
|
30
|
-
var index$2 = require('./index-
|
|
31
|
-
var cookieHelper = require('./cookieHelper-
|
|
31
|
+
var index$6 = require('./index-c2900d8c.js');
|
|
32
|
+
var index$2 = require('./index-4af08ec2.js');
|
|
33
|
+
var cookieHelper = require('./cookieHelper-17491ce8.js');
|
|
32
34
|
var ReactDOM = require('react-dom');
|
|
33
35
|
var styled = require('@emotion/styled');
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
+
var defaultClassWrapper = require('./defaultClassWrapper-e87ca8ef.js');
|
|
37
|
+
var index$3 = require('./index-dcbd8bf3.js');
|
|
38
|
+
var number = require('./number-c2338382.js');
|
|
36
39
|
var dateFns = require('date-fns');
|
|
37
40
|
var dayjs = require('dayjs');
|
|
38
41
|
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
42
|
+
var index$7 = require('./index-3dcb9bc6.js');
|
|
39
43
|
var react = require('@emotion/react');
|
|
40
|
-
var index$b = require('./index-
|
|
41
|
-
var useUniqueId = require('./useUniqueId-
|
|
42
|
-
var routing = require('./routing-
|
|
43
|
-
require('./index.styles-2bdfde5f.js');
|
|
44
|
-
require('./constants-4e7c419e.js');
|
|
45
|
-
require('./utils-263a60f7.js');
|
|
46
|
-
require('./index-1250dd06.js');
|
|
47
|
-
require('./index.styled-8aca5145.js');
|
|
48
|
-
require('./index-c524c362.js');
|
|
44
|
+
var index$b = require('./index-264eeddd.js');
|
|
45
|
+
var useUniqueId = require('./useUniqueId-8929fe5f.js');
|
|
46
|
+
var routing = require('./routing-f6d54205.js');
|
|
49
47
|
|
|
50
48
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
51
49
|
|
|
@@ -93,7 +91,7 @@ const useTogetherAuthRequiredAction = (propsParams) => {
|
|
|
93
91
|
const params = Object.assign(Object.assign(Object.assign({}, defaultParams), propsParams), extraParams);
|
|
94
92
|
if (!isLoggedIn || isFirstInteract) {
|
|
95
93
|
if (!isLoggedIn) {
|
|
96
|
-
cookieHelper.deleteCookie(
|
|
94
|
+
cookieHelper.deleteCookie(constants.BEARER_TOKEN_COOKIE);
|
|
97
95
|
}
|
|
98
96
|
if (params === null || params === void 0 ? void 0 : params._joinCommunityIds) {
|
|
99
97
|
localStorage.setItem('to_join_community_ids', JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem('to_join_community_ids') || '[]') || [])
|
|
@@ -239,13 +237,13 @@ const CardLink = ({ title, url, image, logo, className, style, noRefetch, }) =>
|
|
|
239
237
|
!isMarryBaby && (React__default["default"].createElement("img", { className: "link-image-blur", src: displayImage, onError: (e) => {
|
|
240
238
|
if (!showDefaultRef.current) {
|
|
241
239
|
showDefaultRef.current = true;
|
|
242
|
-
e.currentTarget.src =
|
|
240
|
+
e.currentTarget.src = constants.DEFAULT_IMG;
|
|
243
241
|
}
|
|
244
242
|
}, loading: "lazy" })),
|
|
245
243
|
React__default["default"].createElement("img", { className: "link-image", src: displayImage, onError: (e) => {
|
|
246
244
|
if (!showDefaultRef.current) {
|
|
247
245
|
showDefaultRef.current = true;
|
|
248
|
-
e.currentTarget.src =
|
|
246
|
+
e.currentTarget.src = constants.DEFAULT_IMG;
|
|
249
247
|
}
|
|
250
248
|
}, loading: "lazy" }))),
|
|
251
249
|
React__default["default"].createElement("div", { className: "link-info-container" },
|
|
@@ -2414,7 +2412,7 @@ introUrl, bannerUrl, scheduleTime, isAnonymous, isAskDoctor, }) => tslib_es6.__a
|
|
|
2414
2412
|
resolve(uploadAndGetSrc(file, locale));
|
|
2415
2413
|
}, index * 2000);
|
|
2416
2414
|
})));
|
|
2417
|
-
imageSrcs === null || imageSrcs === void 0 ? void 0 : imageSrcs.filter(Boolean).slice(0,
|
|
2415
|
+
imageSrcs === null || imageSrcs === void 0 ? void 0 : imageSrcs.filter(Boolean).slice(0, constants.MAX_IMAGE_UPLOADS).forEach((imageFile, index) => {
|
|
2418
2416
|
bodyFormData.append(`images[${index}]`, imageFile);
|
|
2419
2417
|
});
|
|
2420
2418
|
}
|
|
@@ -3222,7 +3220,7 @@ const RichTextEditor = ({ html, onChange, className, style, onImagePickerClick,
|
|
|
3222
3220
|
if (!name || !DOMRect) {
|
|
3223
3221
|
return setFoundUsers([]);
|
|
3224
3222
|
}
|
|
3225
|
-
const res = yield ((((_e = cookieHelper.getCookie(
|
|
3223
|
+
const res = yield ((((_e = cookieHelper.getCookie(constants.BEARER_TOKEN_COOKIE)) === null || _e === void 0 ? void 0 : _e.length) || 0) > 0
|
|
3226
3224
|
? utils.callApiWithAuth(utils.getApiPath(utils.PATHS.SEARCH_USER, {
|
|
3227
3225
|
_locale: locale,
|
|
3228
3226
|
name: name,
|
|
@@ -3483,7 +3481,7 @@ const CreatePostDescription = ({ className, style, bannedWords = [], value, onCh
|
|
|
3483
3481
|
React__default["default"].createElement(CardLink, { title: previewUrl.title, url: previewUrl.url || '#', image: previewUrl.image, noRefetch: true }),
|
|
3484
3482
|
React__default["default"].createElement("img", { src: IconCloseCircle, className: "icon-close", onClick: () => setPreviewUrl(null), loading: "lazy" }))))),
|
|
3485
3483
|
React__default["default"].createElement("input", { ref: imagePicker, type: "file", accept: "image/png, image/gif, image/jpeg", multiple: true, style: { display: 'none' }, onChange: onSelectImages }),
|
|
3486
|
-
imageSrcs.length >
|
|
3484
|
+
imageSrcs.length > constants.MAX_IMAGE_UPLOADS ? (React__default["default"].createElement("div", { className: "input-notification" },
|
|
3487
3485
|
React__default["default"].createElement("img", { src: IconAlertCircleWarning, loading: "lazy" }),
|
|
3488
3486
|
React__default["default"].createElement(index$1.Text, { size: "p4", color: theme.theme.colors.alertWarning }, t(`createPost.popup.warningImage`)))) : null,
|
|
3489
3487
|
imageSrcs.length > 0 && (React__default["default"].createElement("div", { className: "image-gallery" }, imageSrcs.map((src, i) => (React__default["default"].createElement("div", { key: i, className: "image-item" },
|
|
@@ -3699,7 +3697,7 @@ const TopicSelectList = ({ className, style, topics: topicsProp, communityId, on
|
|
|
3699
3697
|
}), 'GET');
|
|
3700
3698
|
const topicRes = (_b = res === null || res === void 0 ? void 0 : res.data) === null || _b === void 0 ? void 0 : _b.topics;
|
|
3701
3699
|
if (Array.isArray(topicRes)) {
|
|
3702
|
-
setTopics(() => (topicRes === null || topicRes === void 0 ? void 0 : topicRes.map(
|
|
3700
|
+
setTopics(() => (topicRes === null || topicRes === void 0 ? void 0 : topicRes.map(dataTransform.formatTopic).sort((t1, t2) => (t1.order || 0) - (t2.order || 0))) || []);
|
|
3703
3701
|
}
|
|
3704
3702
|
}
|
|
3705
3703
|
catch (e) {
|
|
@@ -3796,7 +3794,7 @@ const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose,
|
|
|
3796
3794
|
innertext__default["default"](descriptionValue) &&
|
|
3797
3795
|
(optionalTopic || (!optionalTopic && selectedTopics.length > 0)) &&
|
|
3798
3796
|
currentCommunity &&
|
|
3799
|
-
(!imageFiles || imageFiles.length <=
|
|
3797
|
+
(!imageFiles || imageFiles.length <= constants.MAX_IMAGE_UPLOADS) &&
|
|
3800
3798
|
!(invalidUrls === null || invalidUrls === void 0 ? void 0 : invalidUrls.length) &&
|
|
3801
3799
|
!isSubmitting;
|
|
3802
3800
|
// HANDLE etra action when OPEN AND CLOSE
|
|
@@ -3831,7 +3829,7 @@ const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose,
|
|
|
3831
3829
|
}, [titleValue]);
|
|
3832
3830
|
const onCreateEditSuccess = (res) => {
|
|
3833
3831
|
if (onPostCreatedEdited) {
|
|
3834
|
-
onPostCreatedEdited(
|
|
3832
|
+
onPostCreatedEdited(dataTransform.formatPost(res), isInEditMode);
|
|
3835
3833
|
}
|
|
3836
3834
|
onClose && onClose();
|
|
3837
3835
|
};
|
|
@@ -3995,7 +3993,7 @@ const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose,
|
|
|
3995
3993
|
},
|
|
3996
3994
|
} })),
|
|
3997
3995
|
React__default["default"].createElement("div", { className: "input-group" },
|
|
3998
|
-
React__default["default"].createElement(index$
|
|
3996
|
+
React__default["default"].createElement(index$e.Button, { className: "submit-btn pointer-event-child-none", size: "lg", "data-event-category": "Ask Doctor", "data-event-action": "Submit Question", "data-event-label": window.location.href, onClick: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
3999
3997
|
if (isReadyToSubmit && !isSubmitting) {
|
|
4000
3998
|
setIsSubmitting(true);
|
|
4001
3999
|
try {
|
|
@@ -4258,7 +4256,7 @@ var CloseIcon = img$q;
|
|
|
4258
4256
|
const PopupFrame = ({ className, style, closeIcon, heading = '', children, isOpen = false, hasFullscreen = false, onClose = () => null, }) => {
|
|
4259
4257
|
const [expand, setExpand] = React.useState(false);
|
|
4260
4258
|
return (React__default["default"].createElement(StyledPopupFrame, { className: className, style: style, isExpand: expand, hasFullscreen: hasFullscreen },
|
|
4261
|
-
React__default["default"].createElement(
|
|
4259
|
+
React__default["default"].createElement(dataTransform.Popup, { type: "confirm", onClose: onClose, isOpen: isOpen, closeIcon: closeIcon || React__default["default"].createElement("img", { src: CloseIcon, loading: "lazy" }), enableAnimation: !hasFullscreen },
|
|
4262
4260
|
React__default["default"].createElement("div", { className: "header" },
|
|
4263
4261
|
React__default["default"].createElement(index$2.Heading, { tag: "h5" }, heading),
|
|
4264
4262
|
hasFullscreen && (React__default["default"].createElement(StyledFSBtn, { onClick: () => setExpand(!expand) },
|
|
@@ -4538,7 +4536,7 @@ const getCommentFormBody = ({ postId, message, photos, link, locale, sanitizeFun
|
|
|
4538
4536
|
const imageSrcs = yield Promise.all(photos === null || photos === void 0 ? void 0 : photos.map((file) => uploadAndGetSrc(file, locale)));
|
|
4539
4537
|
imageSrcs
|
|
4540
4538
|
.filter(Boolean)
|
|
4541
|
-
.slice(0,
|
|
4539
|
+
.slice(0, constants.MAX_IMAGE_UPLOADS)
|
|
4542
4540
|
.forEach((photo) => {
|
|
4543
4541
|
formData.append('images[]', photo);
|
|
4544
4542
|
});
|
|
@@ -4627,7 +4625,7 @@ const InputCommentBar = ({ isReply, className, onClose, replyToName, style, repl
|
|
|
4627
4625
|
setText('');
|
|
4628
4626
|
onRemoveAllImages();
|
|
4629
4627
|
onClose && onClose();
|
|
4630
|
-
const newComment =
|
|
4628
|
+
const newComment = dataTransform.formatComment(res.data);
|
|
4631
4629
|
if (typeof newComment.images === 'string') {
|
|
4632
4630
|
newComment.images = JSON.parse(newComment.images);
|
|
4633
4631
|
}
|
|
@@ -4717,7 +4715,7 @@ const InputCommentBar = ({ isReply, className, onClose, replyToName, style, repl
|
|
|
4717
4715
|
} })),
|
|
4718
4716
|
React__default["default"].createElement("img", { src: IconCloseCircleLine, className: "icon-close-comment", onClick: () => onClose && onClose(), loading: "lazy" }))),
|
|
4719
4717
|
React__default["default"].createElement("div", { className: "input-container", ref: mainInput },
|
|
4720
|
-
React__default["default"].createElement(index$7.UserAvatar, { className: `avatar-wrapper ${isReply ? 'avatar-wrapper-reply' : ''}`, avatar: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) ? userInfo.avatar :
|
|
4718
|
+
React__default["default"].createElement(index$7.UserAvatar, { className: `avatar-wrapper ${isReply ? 'avatar-wrapper-reply' : ''}`, avatar: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) ? userInfo.avatar : constants.DEFAULT_AVATAR_IMG, username: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || (userInfo === null || userInfo === void 0 ? void 0 : userInfo.username) }),
|
|
4721
4719
|
React__default["default"].createElement("input", { ref: imagePicker, onChange: onSelectImages, type: "file", multiple: true, accept: "image/png,image/jpeg", name: "images", style: { display: 'none' } }),
|
|
4722
4720
|
React__default["default"].createElement(index$c.Input
|
|
4723
4721
|
// actionIcon={
|
|
@@ -4774,7 +4772,7 @@ const InputCommentBar = ({ isReply, className, onClose, replyToName, style, repl
|
|
|
4774
4772
|
React__default["default"].createElement("img", { src: IconCloseCircle, className: "icon-close-circle", onClick: () => onRemoveImage(index), loading: "lazy" }))))))));
|
|
4775
4773
|
};
|
|
4776
4774
|
|
|
4777
|
-
const StyledItemWrapper =
|
|
4775
|
+
const StyledItemWrapper = defaultClassWrapper.setDefaultClass(styled__default["default"].a `
|
|
4778
4776
|
* {
|
|
4779
4777
|
pointer-events: none;
|
|
4780
4778
|
}
|
|
@@ -5722,7 +5720,7 @@ const PostSingleImageViewPopup = ({ initialViewIndex, images, onClose, alt, }) =
|
|
|
5722
5720
|
React__default["default"].createElement("img", { src: ChevronRightIcon, alt: "right arrow", "data-disabled": rightDisabled, loading: "lazy" })))))))));
|
|
5723
5721
|
};
|
|
5724
5722
|
|
|
5725
|
-
const StyledInner =
|
|
5723
|
+
const StyledInner = defaultClassWrapper.setDefaultClass(styled__default["default"].div `
|
|
5726
5724
|
position: absolute;
|
|
5727
5725
|
top: 0;
|
|
5728
5726
|
right: 0;
|
|
@@ -5983,7 +5981,7 @@ const SocialLinkPreview = ({ url, image, className, style, baseUrl = '', autoPla
|
|
|
5983
5981
|
width: responsiveWidth.current,
|
|
5984
5982
|
transform: 'translate(-50%, -50%)',
|
|
5985
5983
|
}, scrolling: "no", frameBorder: "0", allowFullScreen: true, allow: "autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share", loading: "lazy" })) : null)) : (React__default["default"].createElement("a", { href: displayUrl, target: "_blank", rel: "noreferrer" },
|
|
5986
|
-
React__default["default"].createElement("div", { className: `link-image-wrapper ${(previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? 'fetching' : ''}` }, (previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? (React__default["default"].createElement(Loading$1, { className: "loading-spinner" })) : (React__default["default"].createElement(index$9.ImageWrap, { className: "link-image", src: displayImage ||
|
|
5984
|
+
React__default["default"].createElement("div", { className: `link-image-wrapper ${(previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? 'fetching' : ''}` }, (previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? (React__default["default"].createElement(Loading$1, { className: "loading-spinner" })) : (React__default["default"].createElement(index$9.ImageWrap, { className: "link-image", src: displayImage || constants.DEFAULT_IMG, backupSrc: constants.DEFAULT_IMG, alt: displayUrl })))))));
|
|
5987
5985
|
};
|
|
5988
5986
|
|
|
5989
5987
|
var styles$f = {"loading":"PD6nRZX"};
|
|
@@ -6217,7 +6215,7 @@ const PostCard$1 = ({ post, className = '' }) => {
|
|
|
6217
6215
|
React__default["default"].createElement(PostContent, { className: "post-content-wrapper", description: ((_h = (_g = (_f = post === null || post === void 0 ? void 0 : post.expertAnswer) === null || _f === void 0 ? void 0 : _f.answer) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.content) || '',
|
|
6218
6216
|
// disableShortenContent={disableShortenContent}
|
|
6219
6217
|
mentions: post === null || post === void 0 ? void 0 : post.mentions, "data-testid": "Content of the Post" })),
|
|
6220
|
-
React__default["default"].createElement(index$
|
|
6218
|
+
React__default["default"].createElement(index$e.Button, { variant: "secondary", "data-event-category": "Together", "data-event-action": "Doctor Reply Click", "data-event-label": currentPageUrl, size: "md", onClick: () => {
|
|
6221
6219
|
if (!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id)) {
|
|
6222
6220
|
authActionWrapper === null || authActionWrapper === void 0 ? void 0 : authActionWrapper(() => (window.location.href = postHref));
|
|
6223
6221
|
}
|
|
@@ -6256,7 +6254,7 @@ const Answering = ({ id }) => {
|
|
|
6256
6254
|
_locale: locale,
|
|
6257
6255
|
id,
|
|
6258
6256
|
}), 'GET');
|
|
6259
|
-
const resData = (((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.replies) || []).map(
|
|
6257
|
+
const resData = (((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.replies) || []).map(dataTransform.formatPost);
|
|
6260
6258
|
setPosts(resData);
|
|
6261
6259
|
setLoading(false);
|
|
6262
6260
|
}))();
|
|
@@ -6305,9 +6303,9 @@ const Care = () => {
|
|
|
6305
6303
|
(((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.communities) || [])
|
|
6306
6304
|
.filter((i) => ((i === null || i === void 0 ? void 0 : i.question) || []).length > 0)
|
|
6307
6305
|
.map((i) => {
|
|
6308
|
-
tmpQuestionByCom[i.id] = i.question.map(
|
|
6306
|
+
tmpQuestionByCom[i.id] = i.question.map(dataTransform.formatPost);
|
|
6309
6307
|
delete i.question;
|
|
6310
|
-
tmpCom.push(
|
|
6308
|
+
tmpCom.push(dataTransform.formatCommunity(i));
|
|
6311
6309
|
});
|
|
6312
6310
|
setCommunities(tmpCom);
|
|
6313
6311
|
setQuestions(tmpQuestionByCom);
|
|
@@ -6412,7 +6410,7 @@ const Posts = () => {
|
|
|
6412
6410
|
id,
|
|
6413
6411
|
isAnonymous: 0,
|
|
6414
6412
|
}), 'GET');
|
|
6415
|
-
const resData = (((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.posts) || []).map(
|
|
6413
|
+
const resData = (((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.posts) || []).map(dataTransform.formatPost);
|
|
6416
6414
|
setPosts(resData);
|
|
6417
6415
|
setLoading(false);
|
|
6418
6416
|
}))();
|
|
@@ -6561,7 +6559,7 @@ const ProfileDetail = (_a) => {
|
|
|
6561
6559
|
const resInfo = {
|
|
6562
6560
|
data: restDetail === null || restDetail === void 0 ? void 0 : restDetail.data,
|
|
6563
6561
|
experiences: (((_b = (_a = restDetail === null || restDetail === void 0 ? void 0 : restDetail.data) === null || _a === void 0 ? void 0 : _a.fields) === null || _b === void 0 ? void 0 : _b.experiences) || []).map(formatExperience),
|
|
6564
|
-
relatedPosts: (((_c = restDetail === null || restDetail === void 0 ? void 0 : restDetail.data) === null || _c === void 0 ? void 0 : _c.related_post) || []).map((i) =>
|
|
6562
|
+
relatedPosts: (((_c = restDetail === null || restDetail === void 0 ? void 0 : restDetail.data) === null || _c === void 0 ? void 0 : _c.related_post) || []).map((i) => dataTransform.formatArticle(i.post)),
|
|
6565
6563
|
educations: (((_e = (_d = restDetail === null || restDetail === void 0 ? void 0 : restDetail.data) === null || _d === void 0 ? void 0 : _d.fields) === null || _e === void 0 ? void 0 : _e.educations) || []).map(formatEducation),
|
|
6566
6564
|
awards: ((_g = (_f = restDetail === null || restDetail === void 0 ? void 0 : restDetail.data) === null || _f === void 0 ? void 0 : _f.fields) === null || _g === void 0 ? void 0 : _g.awards_accreditations) || [],
|
|
6567
6565
|
contact: ((_j = (_h = restDetail === null || restDetail === void 0 ? void 0 : restDetail.data) === null || _h === void 0 ? void 0 : _h.fields) === null || _j === void 0 ? void 0 : _j.contact) || {},
|
|
@@ -6706,12 +6704,12 @@ const SkipQuestionOfExpertBtn = (_a) => {
|
|
|
6706
6704
|
React__default["default"].createElement("div", { className: styles$2.alertHeading }, t('profilePanel.skipQuestion.heading')),
|
|
6707
6705
|
React__default["default"].createElement("div", { className: styles$2.alertDesc }, t('profilePanel.skipQuestion.content')),
|
|
6708
6706
|
React__default["default"].createElement("div", { className: styles$2.alertAction },
|
|
6709
|
-
React__default["default"].createElement(index$
|
|
6707
|
+
React__default["default"].createElement(index$e.Button, { size: "md", variant: "secondary", leftIcon: React__default["default"].createElement(core$1.Close, { color: _theme.fn.primaryColor(), size: 24 }), onClick: () => setShowAlert(false), styles: () => ({
|
|
6710
6708
|
leftIcon: {
|
|
6711
6709
|
marginRight: 0,
|
|
6712
6710
|
},
|
|
6713
6711
|
}) }),
|
|
6714
|
-
React__default["default"].createElement(index$
|
|
6712
|
+
React__default["default"].createElement(index$e.Button, { variant: "primary", size: "md", leftIcon: React__default["default"].createElement(core$1.Check, { color: 'white', size: 24 }), onClick: handleSkip, loading: loading, "data-event-category": "Together", "data-event-action": "Unclear Question Click", "data-event-label": currentPageUrl, styles: () => ({
|
|
6715
6713
|
leftIcon: {
|
|
6716
6714
|
marginRight: 0,
|
|
6717
6715
|
},
|
|
@@ -6907,10 +6905,10 @@ const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, classN
|
|
|
6907
6905
|
description: t('morePopover.report.description'),
|
|
6908
6906
|
isShowheader: true,
|
|
6909
6907
|
type: 'list',
|
|
6910
|
-
list: Object.keys(
|
|
6908
|
+
list: Object.keys(constants.REPORT_REASON_MAP)
|
|
6911
6909
|
.map((k) => ({
|
|
6912
|
-
label:
|
|
6913
|
-
reason:
|
|
6910
|
+
label: constants.REPORT_REASON_MAP[k].label,
|
|
6911
|
+
reason: constants.REPORT_REASON_MAP[k].reportReasonText,
|
|
6914
6912
|
reasonValue: k,
|
|
6915
6913
|
}))
|
|
6916
6914
|
.map((item) => ({
|
|
@@ -7361,7 +7359,7 @@ const SourceList = (_a) => {
|
|
|
7361
7359
|
setData(res
|
|
7362
7360
|
.map((i, index) => {
|
|
7363
7361
|
var _a, _b;
|
|
7364
|
-
return ((_a = i === null || i === void 0 ? void 0 : i.data) === null || _a === void 0 ? void 0 : _a.post) && Object.assign(Object.assign({},
|
|
7362
|
+
return ((_a = i === null || i === void 0 ? void 0 : i.data) === null || _a === void 0 ? void 0 : _a.post) && Object.assign(Object.assign({}, dataTransform.formatArticle((_b = i === null || i === void 0 ? void 0 : i.data) === null || _b === void 0 ? void 0 : _b.post)), { href: listPaths[index].href });
|
|
7365
7363
|
})
|
|
7366
7364
|
.filter(Boolean));
|
|
7367
7365
|
setLoading(false);
|
|
@@ -7380,7 +7378,7 @@ const SourceList = (_a) => {
|
|
|
7380
7378
|
: utils.getDiscoverApiPath(utils.DISCOVER_PATHS.GET_CATEGORY_OR_ARTICLE_DETAIL, {
|
|
7381
7379
|
fullSlug: categorySlug,
|
|
7382
7380
|
}, true), 'GET');
|
|
7383
|
-
(res === null || res === void 0 ? void 0 : res.data) && setCategories([
|
|
7381
|
+
(res === null || res === void 0 ? void 0 : res.data) && setCategories([dataTransform.formatCategory((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.category)]);
|
|
7384
7382
|
}))();
|
|
7385
7383
|
}, [data]);
|
|
7386
7384
|
const handleRemoveItem = (idx) => {
|
|
@@ -7871,7 +7869,7 @@ const getMostEngagingComment = (postId, locale) => tslib_es6.__awaiter(void 0, v
|
|
|
7871
7869
|
perPage: 1,
|
|
7872
7870
|
withoutReply: 1,
|
|
7873
7871
|
}), 'GET');
|
|
7874
|
-
return (_c = (_b = (_a = commentsRes === null || commentsRes === void 0 ? void 0 : commentsRes.data) === null || _a === void 0 ? void 0 : _a.comments) === null || _b === void 0 ? void 0 : _b.map(
|
|
7872
|
+
return (_c = (_b = (_a = commentsRes === null || commentsRes === void 0 ? void 0 : commentsRes.data) === null || _a === void 0 ? void 0 : _a.comments) === null || _b === void 0 ? void 0 : _b.map(dataTransform.formatComment)) === null || _c === void 0 ? void 0 : _c[0];
|
|
7875
7873
|
});
|
|
7876
7874
|
const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onCommentClick, onCommentCountClick, onMostEngagingCommentClick, onPostCommentSuccess: onPostCommentSuccessProp, disableCardLink, disableShortenContent, onDeletePost, onEditPost, post: postProp, mostEngagingComment: mostEngagingCommentProp, onDeleteComment: onDeleteCommentProp, showInputComment: propsShowInputComment, InlineCommentsComponent, hasQuickBookingEnable, handleMakeAppointment, cardAuthorProps, }) => {
|
|
7877
7875
|
const [post, setPost] = React.useState(postProp);
|
|
@@ -7970,7 +7968,7 @@ const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onC
|
|
|
7970
7968
|
// _location: postHref,
|
|
7971
7969
|
}
|
|
7972
7970
|
: undefined },
|
|
7973
|
-
isOpenSharePopup && (React__default["default"].createElement(SharePopup, { url: postHref, avatar:
|
|
7971
|
+
isOpenSharePopup && (React__default["default"].createElement(SharePopup, { url: postHref, avatar: constants.DEFAULT_IMG, text: title, onClose: () => setIsOpenSharePopup(false) })),
|
|
7974
7972
|
React__default["default"].createElement(StyledCardPost$1, { className: className, style: style, "data-is-marrybaby": isMarryBaby },
|
|
7975
7973
|
isPin ? React__default["default"].createElement(LabelPin, { className: "post-pin" }) : null,
|
|
7976
7974
|
React__default["default"].createElement("div", { style: { position: 'relative', padding: '1rem 1rem 0' } },
|
package/build/types.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-7e140b89.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var cookieHelper = require('./cookieHelper-
|
|
6
|
-
var useUniqueId = require('./useUniqueId-
|
|
7
|
-
var index = require('./index-
|
|
8
|
-
var useTranslations = require('./useTranslations-
|
|
5
|
+
var cookieHelper = require('./cookieHelper-17491ce8.js');
|
|
6
|
+
var useUniqueId = require('./useUniqueId-8929fe5f.js');
|
|
7
|
+
var index = require('./index-df5cd44b.js');
|
|
8
|
+
var useTranslations = require('./useTranslations-200168a3.js');
|
|
9
9
|
|
|
10
10
|
function normalizeAndHash(string) {
|
|
11
11
|
const utf8 = new TextEncoder().encode(string.trim().toLowerCase());
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-7e140b89.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var getDynamicHealthTool = require('./getDynamicHealthTool-
|
|
5
|
+
var getDynamicHealthTool = require('./getDynamicHealthTool-2a92e1a5.js');
|
|
6
6
|
|
|
7
7
|
const useHealthToolsCache = (locale) => {
|
|
8
8
|
const [allTools, setAllTools] = React.useState([]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var utils = require('./utils-
|
|
4
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var utils = require('./utils-524bda7c.js');
|
|
4
|
+
var tslib_es6 = require('./tslib.es6-7e140b89.js');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var dayjs = require('dayjs');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-df5cd44b.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var translationsContext = require('./translationsContext-
|
|
4
|
+
var translationsContext = require('./translationsContext-39528d2f.js');
|
|
5
5
|
var formatString = require('string-format');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|