@hhgtech/hhg-components 1.27.118 → 1.27.120
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/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/molecules/surveyOrPremiumBanner/context.d.ts +1 -0
- package/build/components/molecules/surveyOrPremiumBanner/pnBanner.d.ts +4 -0
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-5abf567e.js → core-84b5dac6.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +2 -2
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/molecules/surveyOrPremiumBanner/context.d.ts +1 -0
- package/build/esm/components/molecules/surveyOrPremiumBanner/pnBanner.d.ts +4 -0
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-b8ddbb0c.js → core-4ec3ce2a.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{fixedBottomAdBlock-a32fe420.js → fixedBottomAdBlock-31a77c12.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-5f675043.js +1 -0
- package/build/esm/{getSocialList-185324fb.js → getSocialList-d8e9ae3c.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/index-0cca4fad.js +1 -0
- package/build/esm/{index-681da2c5.js → index-15321bc1.js} +1 -1
- package/build/esm/{index-7127cefc.js → index-3a36e9cc.js} +1 -1
- package/build/esm/{index-1a2c5721.js → index-3f130197.js} +1 -1
- package/build/esm/{index-be889897.js → index-44de7ddd.js} +1 -1
- package/build/esm/{index-b6741208.js → index-4b04ca34.js} +1 -1
- package/build/esm/{index-cdba6e66.js → index-5c35297c.js} +6 -6
- package/build/esm/{index-897ef6fd.js → index-76fd6037.js} +4 -4
- package/build/esm/{index-84e3bc41.js → index-79a0f61d.js} +1 -1
- package/build/esm/{index-a789d474.js → index-81ae9084.js} +2 -2
- package/build/esm/index-88d3c41b.js +1 -0
- package/build/esm/{index-1d2af5ca.js → index-92cd3f6f.js} +1 -1
- package/build/esm/{index-07eb323d.js → index-aacd8fbd.js} +1 -1
- package/build/esm/{index-a69bab69.js → index-b17e40ac.js} +399 -399
- package/build/esm/{index-0b1ed7bc.js → index-b1e045d1.js} +1 -1
- package/build/esm/{index-ba3d6784.js → index-dbeeb372.js} +1 -1
- package/build/esm/index-dd17ccda.js +1 -0
- package/build/esm/{index-1c8a24c8.js → index-e48f69c2.js} +1 -1
- package/build/esm/{index-c94469ea.js → index-e5db3fdc.js} +1 -1
- package/build/esm/{index-bbe8f1aa.js → index-f86a46c1.js} +1 -1
- package/build/esm/{index-5aa882e9.js → index-fb55e0ca.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-8e5aca0f.js +50 -0
- package/build/esm/{index.styled-0a083967.js → index.styled-a9e4f7a9.js} +4 -4
- package/build/esm/{index.styled-191768aa.js → index.styled-ff55cb8e.js} +1 -1
- package/build/esm/{index.styles-603f5989.js → index.styles-f65cf7e9.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/{normalizeLink-6dcbd88c.js → normalizeLink-2793d85f.js} +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +1 -1
- package/build/esm/pwg.js +5 -5
- package/build/esm/together.js +1 -1
- package/build/esm/{types-db930e17.js → types-00f1433c.js} +1 -1
- package/build/esm/{types-64a5a13b.js → types-94337a9a.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-4469d7d3.js → useCategory-fbd8e2a1.js} +1 -1
- package/build/esm/useHealthToolCache-906b72c9.js +1 -0
- package/build/esm/{useRafState-e395d515.js → useRafState-8c80c3e9.js} +1 -1
- package/build/esm/useTranslations-134d488e.js +1 -0
- package/build/esm/{utils-7680e0a3.js → utils-ecd8ba5c.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/{fixedBottomAdBlock-87eb6f93.js → fixedBottomAdBlock-ab1b05a1.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-d05335e1.js → getDynamicHealthTool-d5234b9e.js} +1 -1
- package/build/{getSocialList-6244a006.js → getSocialList-f68ef45a.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-896497fd.js → index-13f61e91.js} +1 -1
- package/build/{index-fa859407.js → index-1bce1027.js} +1 -1
- package/build/{index-2670da4e.js → index-1fa1b8a7.js} +1 -1
- package/build/{index-40c52167.js → index-269271be.js} +209 -209
- package/build/{index-6421d4d4.js → index-26992af4.js} +1 -1
- package/build/{index-0a84fa3f.js → index-280d89a9.js} +2 -2
- package/build/{index-b5320924.js → index-2a95cc3d.js} +1 -1
- package/build/{index-ea0939c8.js → index-33dda952.js} +1 -1
- package/build/{index-553f4234.js → index-486cc884.js} +1 -1
- package/build/{index-0b32300a.js → index-5023985e.js} +1 -1
- package/build/{index-b04bb6cb.js → index-50c38121.js} +3 -3
- package/build/{index-dd9bc522.js → index-5fbd20bb.js} +2 -2
- package/build/{index-4e32a9cf.js → index-66654f77.js} +1 -1
- package/build/{index-1963e3b3.js → index-91eaf58d.js} +1 -1
- package/build/index-b24ae354.js +1 -0
- package/build/index-b9e6747c.js +1 -0
- package/build/{index-7d95e040.js → index-bc1b8f19.js} +1 -1
- package/build/{index-f7778b92.js → index-d3aad9ab.js} +1 -1
- package/build/{index-ce65fe78.js → index-dd49104f.js} +1 -1
- package/build/{index-36949c82.js → index-f198055f.js} +1 -1
- package/build/{index-6613e21d.js → index-f705ed26.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-0dbd988b.js → index.styled-5386f0f1.js} +3 -3
- package/build/{index.styled-fedb1239.js → index.styled-97ca5857.js} +1 -1
- package/build/index.styled-a8212f99.js +50 -0
- package/build/{index.styles-54e08317.js → index.styles-669aa729.js} +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/{normalizeLink-ccb2756c.js → normalizeLink-5bd31678.js} +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +1 -1
- package/build/together.js +1 -1
- package/build/{types-c447966a.js → types-d32d0279.js} +1 -1
- package/build/{types-3a20eae3.js → types-ff793bf1.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-638b57c8.js → useCategory-652dd3c3.js} +1 -1
- package/build/useHealthToolCache-e8688daa.js +1 -0
- package/build/{useRafState-c4f14278.js → useRafState-92dc85bd.js} +1 -1
- package/build/{useTranslations-3956fa8d.js → useTranslations-8eb2c58b.js} +1 -1
- package/build/utils-3abf927f.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/esm/getDynamicHealthTool-c49a164f.js +0 -1
- package/build/esm/index-1ad25640.js +0 -1
- package/build/esm/index-4b7ee151.js +0 -1
- package/build/esm/index-f2c835c9.js +0 -1
- package/build/esm/index.styled-e0551d8b.js +0 -50
- package/build/esm/useHealthToolCache-b48af760.js +0 -1
- package/build/esm/useTranslations-81dfb10e.js +0 -1
- package/build/index-e0d5e299.js +0 -1
- package/build/index-e8c82c40.js +0 -1
- package/build/index.styled-0d31c953.js +0 -50
- package/build/useHealthToolCache-a3f3ab2f.js +0 -1
- package/build/utils-e4cbf1ef.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-8e7da6ee.js → BMI_BOYS.percentile.monthly-978c1488.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-3090b480.js → BMI_BOYS.percentile.weekly-019c3ae7.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-4c8150ff.js → BMI_BOYS.percentile.yearly-1f839d10.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-2654d1e2.js → BMI_BOYS.zscore.monthly-477b2380.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-a92c2ff6.js → BMI_BOYS.zscore.weekly-c853dbe0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-c10bb14d.js → BMI_BOYS.zscore.yearly-03cacb4f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-fe7d4ab6.js → BMI_GIRLS.percentile.monthly-16f4a86f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-cd1aaa73.js → BMI_GIRLS.percentile.weekly-361a0e93.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-9340b3a6.js → BMI_GIRLS.percentile.yearly-56399502.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-104f7daf.js → BMI_GIRLS.zscore.monthly-6d71f045.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-a68d24da.js → BMI_GIRLS.zscore.weekly-65fa7150.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-cbf00443.js → BMI_GIRLS.zscore.yearly-ce7251dc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-354e22d4.js → HEAD CIRCUM_BOYS.percentile.monthly-865e1c51.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-165ce805.js → HEAD CIRCUM_BOYS.percentile.weekly-9b2bf9a8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-5f4a787a.js → HEAD CIRCUM_BOYS.percentile.yearly-cb761663.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-12d2fa6e.js → HEAD CIRCUM_BOYS.zscore.monthly-f42bcc12.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-4ad2b4c1.js → HEAD CIRCUM_BOYS.zscore.weekly-68993411.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-a5542a65.js → HEAD CIRCUM_BOYS.zscore.yearly-eebe786e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-daffcf71.js → HEAD CIRCUM_GIRLS.percentile.monthly-a7b52fb0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-6189ee56.js → HEAD CIRCUM_GIRLS.percentile.weekly-512ca9d9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-76b9a01e.js → HEAD CIRCUM_GIRLS.percentile.yearly-2490ca5b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-5a610e69.js → HEAD CIRCUM_GIRLS.zscore.monthly-47c000f8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-97136a39.js → HEAD CIRCUM_GIRLS.zscore.weekly-d8196dd7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-7f6cf896.js → HEAD CIRCUM_GIRLS.zscore.yearly-b8e7a2ab.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-d387dd40.js → HEIGHT_BOYS.percentile.monthly-3fd7d3a9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-58932c36.js → HEIGHT_BOYS.percentile.weekly-e7c8b14b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-0f33f0e3.js → HEIGHT_BOYS.percentile.yearly-5147ba0a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-557cac29.js → HEIGHT_BOYS.zscore.monthly-9fd50bed.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-7c7b4540.js → HEIGHT_BOYS.zscore.weekly-14f2021a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-3569724e.js → HEIGHT_BOYS.zscore.yearly-9d7c9618.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-bd97c267.js → HEIGHT_GIRLS.percentile.monthly-d8f4d12d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-fc656668.js → HEIGHT_GIRLS.percentile.weekly-b5c95866.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-005e137c.js → HEIGHT_GIRLS.percentile.yearly-216ddc32.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-79bf9108.js → HEIGHT_GIRLS.zscore.monthly-27ac9965.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-f3904143.js → HEIGHT_GIRLS.zscore.weekly-5eb7914c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-09a6d96d.js → HEIGHT_GIRLS.zscore.yearly-99b93a77.js} +0 -0
- /package/build/{Onboarding-730507da.js → Onboarding-fe4c97e8.js} +0 -0
- /package/build/{Visible-35dadad2.js → Visible-9fbf9865.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-1202c96b.js → WEIGHT_BOYS.percentile.monthly-8407e3f3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-869bae9c.js → WEIGHT_BOYS.percentile.weekly-3096c1b9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-13f75106.js → WEIGHT_BOYS.percentile.yearly-39225023.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-948c56e4.js → WEIGHT_BOYS.zscore.monthly-a9f6c6c3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-9344472a.js → WEIGHT_BOYS.zscore.weekly-e7b90dfe.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-46c85cf3.js → WEIGHT_BOYS.zscore.yearly-96eedd9d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-11094455.js → WEIGHT_GIRLS.percentile.monthly-ef1728d6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-aba35348.js → WEIGHT_GIRLS.percentile.weekly-7887c5f0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-708f149a.js → WEIGHT_GIRLS.percentile.yearly-47116b1b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-5e7bb8e8.js → WEIGHT_GIRLS.zscore.monthly-0e07c0ae.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-417d9ec0.js → WEIGHT_GIRLS.zscore.weekly-794e010d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-83c72e59.js → WEIGHT_GIRLS.zscore.yearly-81c816da.js} +0 -0
- /package/build/{constants-33c2ff87.js → constants-8bf2f178.js} +0 -0
- /package/build/{cookieHelper-1d3cda8c.js → cookieHelper-9969f123.js} +0 -0
- /package/build/{dataTransform-f9f87cec.js → dataTransform-7592e944.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-6968bb13.js → BMI_BOYS.percentile.monthly-c78732f4.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-f30159a9.js → BMI_BOYS.percentile.weekly-1970a9d2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-f912bc90.js → BMI_BOYS.percentile.yearly-9ac09d15.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-674e209e.js → BMI_BOYS.zscore.monthly-337bc373.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-ec911aa9.js → BMI_BOYS.zscore.weekly-819d42f0.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-3cfb4cfd.js → BMI_BOYS.zscore.yearly-7c101ef3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-dcea867a.js → BMI_GIRLS.percentile.monthly-b6ba57cb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-f0413eb2.js → BMI_GIRLS.percentile.weekly-2db2b4e6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-54466b70.js → BMI_GIRLS.percentile.yearly-9a3cf78f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-5f453744.js → BMI_GIRLS.zscore.monthly-2110d697.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-3e3f5ee7.js → BMI_GIRLS.zscore.weekly-4a4644ff.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-8f15eaff.js → BMI_GIRLS.zscore.yearly-9b4b020d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-60d7b3e9.js → HEAD CIRCUM_BOYS.percentile.monthly-b26ad179.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-aaf427b8.js → HEAD CIRCUM_BOYS.percentile.weekly-ad76b774.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-b29fbe74.js → HEAD CIRCUM_BOYS.percentile.yearly-41e8412d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-672c3d1a.js → HEAD CIRCUM_BOYS.zscore.monthly-0c110aee.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-aab95ec4.js → HEAD CIRCUM_BOYS.zscore.weekly-4006800c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5d6d4362.js → HEAD CIRCUM_BOYS.zscore.yearly-726b1f08.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-f36410fe.js → HEAD CIRCUM_GIRLS.percentile.monthly-4982433c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-5586ae4c.js → HEAD CIRCUM_GIRLS.percentile.weekly-2f10d24b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-aa10a00c.js → HEAD CIRCUM_GIRLS.percentile.yearly-51283356.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c25d4666.js → HEAD CIRCUM_GIRLS.zscore.monthly-2812baeb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-cd88698d.js → HEAD CIRCUM_GIRLS.zscore.weekly-6ccea6f8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-28b0b557.js → HEAD CIRCUM_GIRLS.zscore.yearly-659a7729.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-afa5c381.js → HEIGHT_BOYS.percentile.monthly-39157f65.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-6ee6622d.js → HEIGHT_BOYS.percentile.weekly-d10453e0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-ad25a486.js → HEIGHT_BOYS.percentile.yearly-4ab22940.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-117c472d.js → HEIGHT_BOYS.zscore.monthly-1077c4aa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-d8f384a7.js → HEIGHT_BOYS.zscore.weekly-d20ac1e4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3e1d48af.js → HEIGHT_BOYS.zscore.yearly-04c087fa.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-5e30c8bd.js → HEIGHT_GIRLS.percentile.monthly-c14705a8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-e3c80067.js → HEIGHT_GIRLS.percentile.weekly-4813540a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-0c725c9d.js → HEIGHT_GIRLS.percentile.yearly-8da252d7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-38d7c279.js → HEIGHT_GIRLS.zscore.monthly-14f78f7f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0494cf26.js → HEIGHT_GIRLS.zscore.weekly-c9c975d8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-eff58738.js → HEIGHT_GIRLS.zscore.yearly-60add9d4.js} +0 -0
- /package/build/esm/{Onboarding-f56be7bd.js → Onboarding-8496287e.js} +0 -0
- /package/build/esm/{Visible-9b1ae9ab.js → Visible-cc2dadb9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-c1e97836.js → WEIGHT_BOYS.percentile.monthly-677b2fce.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-0c2d58b6.js → WEIGHT_BOYS.percentile.weekly-2a59ebee.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-11d98f25.js → WEIGHT_BOYS.percentile.yearly-61721859.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-25591035.js → WEIGHT_BOYS.zscore.monthly-a739bea7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-feba8ec8.js → WEIGHT_BOYS.zscore.weekly-14bcf0b2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-cba04733.js → WEIGHT_BOYS.zscore.yearly-5a30e699.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-7ec9dd4a.js → WEIGHT_GIRLS.percentile.monthly-08646439.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-1df3fc61.js → WEIGHT_GIRLS.percentile.weekly-cc0aa1a6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-41cbb83d.js → WEIGHT_GIRLS.percentile.yearly-a912482d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-48ed391e.js → WEIGHT_GIRLS.zscore.monthly-8605e338.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-63e8ec94.js → WEIGHT_GIRLS.zscore.weekly-0e86e3bb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-7c8e064c.js → WEIGHT_GIRLS.zscore.yearly-f6e786f3.js} +0 -0
- /package/build/esm/{constants-6c1c61a2.js → constants-ecc3ad49.js} +0 -0
- /package/build/esm/{cookieHelper-9f6506ff.js → cookieHelper-f4c56bbc.js} +0 -0
- /package/build/esm/{dataTransform-3f7af48f.js → dataTransform-12526a4f.js} +0 -0
- /package/build/esm/{index-049a47c7.js → index-f311dacd.js} +0 -0
- /package/build/esm/{isProduction-f8461634.js → isProduction-392cb2d0.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6d384c5c.js → localizeNumberFormat-54487b5b.js} +0 -0
- /package/build/esm/{number-210bc97a.js → number-110fe516.js} +0 -0
- /package/build/esm/{paths-cc515f8f.js → paths-a71c30e9.js} +0 -0
- /package/build/esm/{screenSizeContext-64d03f9b.js → screenSizeContext-e5131a57.js} +0 -0
- /package/build/esm/{theme-24b6f2ab.js → theme-8f14fa25.js} +0 -0
- /package/build/esm/{translationsContext-0aa58aa7.js → translationsContext-e3dc67fc.js} +0 -0
- /package/build/esm/{tslib.es6-2356bfb0.js → tslib.es6-49cd97ec.js} +0 -0
- /package/build/esm/{types-ea691ee0.js → types-45fa6d51.js} +0 -0
- /package/build/esm/{useIsInit-2f4366c3.js → useIsInit-08ed4db6.js} +0 -0
- /package/build/esm/{useOutsideClick-0d4cbc3b.js → useOutsideClick-e2f8a02a.js} +0 -0
- /package/build/esm/{useScrollbarSize-c6eecdad.js → useScrollbarSize-d4c146b7.js} +0 -0
- /package/build/esm/{useUniqueId-bb106737.js → useUniqueId-a17d3179.js} +0 -0
- /package/build/{index-1f60305e.js → index-5058e6bf.js} +0 -0
- /package/build/{isProduction-57fe8bab.js → isProduction-cb47b3d6.js} +0 -0
- /package/build/{localizeNumberFormat-ee5334f3.js → localizeNumberFormat-9f3c5a1d.js} +0 -0
- /package/build/{number-87b1a9c8.js → number-4365c7b7.js} +0 -0
- /package/build/{paths-c67c3311.js → paths-2a23059f.js} +0 -0
- /package/build/{screenSizeContext-86d5960a.js → screenSizeContext-f3493d87.js} +0 -0
- /package/build/{theme-b10c2a5b.js → theme-16abc401.js} +0 -0
- /package/build/{translationsContext-c21cd48e.js → translationsContext-c2b9fafb.js} +0 -0
- /package/build/{tslib.es6-f933b2d7.js → tslib.es6-a3533d4c.js} +0 -0
- /package/build/{types-8d9fe642.js → types-69a60f21.js} +0 -0
- /package/build/{useIsInit-9123723b.js → useIsInit-1f156205.js} +0 -0
- /package/build/{useOutsideClick-b226f753.js → useOutsideClick-5914e74f.js} +0 -0
- /package/build/{useScrollbarSize-07c26a4a.js → useScrollbarSize-1cf84027.js} +0 -0
- /package/build/{useUniqueId-0ba4b8eb.js → useUniqueId-a14afd26.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-a3533d4c.js"),t=require("react"),a=require("@mantine/core"),i=require("./useTranslations-8eb2c58b.js"),n=require("lodash/debounce"),o=require("./isProduction-cb47b3d6.js"),r=require("./index-5023985e.js");require("./useCategory-652dd3c3.js");var l=require("./gAssets.js"),s=require("./cookieHelper-9969f123.js"),d=require("./index.styles-669aa729.js"),c=require("styled-components"),u=require("./index.styled-97ca5857.js"),p=require("./index-13f61e91.js"),m=require("./index-280d89a9.js"),h=require("./screenSizeContext-f3493d87.js"),g=require("./theme-16abc401.js");require("@mantine/dates");var f=require("./Onboarding-fe4c97e8.js"),b=require("dayjs"),x=require("./number-4365c7b7.js"),v=require("@mantine/hooks");require("innertext");var y=require("date-fns"),w=require("react-day-picker/DayPickerInput");require("react-dom");var C=require("./index-50c38121.js");require("lodash/throttle");var E=require("./index-91eaf58d.js"),k=require("./index-f198055f.js"),S=require("./index-1fa1b8a7.js"),A=require("./index-dd49104f.js"),T=require("./types-69a60f21.js"),N=require("react-hook-form");require("./translationsContext-c2b9fafb.js"),require("string-format");var I=require("@hookform/resolvers/yup"),B=require("./index-486cc884.js"),P=require("./index-d3aad9ab.js");require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./index.styled-a8212f99.js"),require("uuid"),require("./utils-3abf927f.js");var D=require("dayjs/plugin/relativeTime"),M=require("./paths-2a23059f.js"),z=require("./constants-8bf2f178.js"),O=require("./index-bc1b8f19.js"),L=require("./useUniqueId-a14afd26.js");require("react-contenteditable");var _=require("./normalizeLink-5bd31678.js"),R=require("@mantine/form"),j=require("./useHealthToolCache-e8688daa.js"),$=require("js-cookie"),F=require("lodash/flatten"),U=require("lodash/uniqBy");function V(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function H(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var q=V(t),G=H(t),W=V(n),Q=V(c),Z=V(b),X=V(w),Y=V(D),K=V($),J=V(F),ee=V(U);const te=({type:e,size:t="small",label:a,name:i,checked:n,value:o,className:r,isDisabled:l=!1,onChange:s,dataEventCategory:c,dataEventAction:u,dataEventLabel:p})=>{const m=!!u&&!!c&&!!p?{"data-event-category":c,"data-event-action":u,"data-event-label":p}:{};return q.default.createElement(d.StyledRadio,{"data-disabled":l,className:r,"data-type":e,"data-size":t},q.default.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"}},m),q.default.createElement("input",Object.assign({type:"radio",checked:n,name:i,value:o,onChange:()=>s(o)},m)),a))},ae={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},ie=t=>{var{siteType:a,role:n,title:o,styles:r,className:l}=t,s=e.__rest(t,["siteType","role","title","styles","className"]);const{t:c}=i.useTranslations(),u=n?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((t=>t===e)))(n):"",{classes:p,cx:m}=d.useStyles$1(void 0,{name:"AuthorBadge",styles:r});return u&&ae[u]?q.default.createElement("div",Object.assign({className:m(p.root,l),"data-label-type":u,"data-is-marrybaby":"marryBaby"===a},s),o||c(ae[u])):null},ne=e=>G.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"})),oe=a=>{var{label:n,bookingId:l,bookingType:s="doctor",locale:c="vi-VN"}=a,u=e.__rest(a,["label","bookingId","bookingType","locale"]);const{t:p}=i.useTranslations(),[m,h]=t.useState(!1),g=t.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]),f=t.useCallback((()=>e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,a,i,n,u,p,m,g,f,b,x,v,y,w;const C="doctor"===s?M.PATHS.GET_DOCTOR_DETAIL:"hospital"===s?M.PATHS.GET_HOSPITAL_DETAIL:"service"===s?M.PATHS.GET_SERVICE_DETAIL:"";try{h(!0);const E=yield d.callApi(d.getCarePath(C,{id:l,site:r.domainLocales[c]}),"get");if(1===(null==E?void 0:E._status)){const l="doctor"===s?{id:null===(t=null===(e=null==E?void 0:E._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.id,slug:null===(i=null===(a=null==E?void 0:E._data)||void 0===a?void 0:a.doctor)||void 0===i?void 0:i.slug,localSlug:null===(n=z.LOCALIZED_SLUGS[c])||void 0===n?void 0:n.DOCTOR}:"hospital"===s?{id:null===(p=null===(u=null==E?void 0:E._data)||void 0===u?void 0:u.branch)||void 0===p?void 0:p.id,slug:null===(g=null===(m=null==E?void 0:E._data)||void 0===m?void 0:m.branch)||void 0===g?void 0:g.slug,localSlug:null===(f=z.LOCALIZED_SLUGS[c])||void 0===f?void 0:f.HOSPITAL}:{id:null===(x=null===(b=null==E?void 0:E._data)||void 0===b?void 0:b.service)||void 0===x?void 0:x.id,slug:null===(y=null===(v=null==E?void 0:E._data)||void 0===v?void 0:v.service)||void 0===y?void 0:y.slug,localSlug:null===(w=z.LOCALIZED_SLUGS[c])||void 0===w?void 0:w.SERVICE};window.location.href=`https://${o.isProduction?"":"discover."}${r.domainLocales[c]}/care/${l.localSlug}/${l.slug}-${l.id}/`}else h(!1)}catch(e){console.log(e),h(!1)}}))),[]);return l&&s?q.default.createElement(d.Button,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:g,onClick:f,loading:m},u),n||p("careBooking.bookAnAppointment")):null},re=t.memo((()=>q.default.createElement("div",{className:"shoppable"},q.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),q.default.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),le=t.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>q.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),se=t.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>q.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var de=a.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ce=Q.default.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 125px;
|
|
4
4
|
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
background: ${e=>e.theme.colors.neutral100};
|
|
431
431
|
border-radius: ${e=>e.theme.borderRadius};
|
|
432
432
|
}
|
|
433
|
-
`,ge=({alignRight:e=!0,placeholder:a,displayDateFormat:i,onChange:n,customInput:o,pickedDate:r,className:l,isStatic:s,disabledDays:d,modifiers:c,UnHideOnClickOutside:u,initialMonth:p,locale:m="en-PH"})=>{const h=t.useRef(!1),g=
|
|
433
|
+
`,ge=({alignRight:e=!0,placeholder:a,displayDateFormat:i,onChange:n,customInput:o,pickedDate:r,className:l,isStatic:s,disabledDays:d,modifiers:c,UnHideOnClickOutside:u,initialMonth:p,locale:m="en-PH"})=>{const h=t.useRef(!1),g=y.format,[f,b]=t.useState(p||new Date),x=t.useRef(null),v=t.useRef(null),w=pe[m],C=e=>{u||x.current&&x.current.contains(e.target)||v.current&&v.current.hideDayPicker()},E=(new Date).getFullYear(),k=new Date(E-150,0),S=new Date(E+1,0),A=({date:e,onChange:t,monthLabels:a})=>{const i=[];for(let e=S.getFullYear();e>=k.getFullYear();e-=1)i.push(e);const n=function(e){const{year:a,month:i}=e.target.form;t(new Date(a.value,i.value))};return q.default.createElement("div",{className:"DayPicker-Caption"},q.default.createElement(he,null,q.default.createElement("select",{name:"month",onChange:n,value:e.getMonth()},a.map(((e,t)=>q.default.createElement("option",{key:e,value:t},e)))),q.default.createElement("select",{name:"year",onChange:n,value:e.getFullYear()},i.map((e=>q.default.createElement("option",{key:e,value:e},e))))))};return t.useEffect((()=>(document.addEventListener("mousedown",C,{passive:!0}),()=>{document.removeEventListener("mousedown",C,!1)})),[]),q.default.createElement(me,{className:l,"data-align-right":e,ref:x,"data-is-static":s||void 0},q.default.createElement(X.default,{ref:v,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:o&&q.default.forwardRef(((e,t)=>q.default.createElement(o,Object.assign({},e)))),onDayPickerHide:()=>{h.current=!1},onDayPickerShow:()=>{h.current=!0},dayPickerProps:{month:f,className:"picker",selectedDays:r,canChangeMonth:!0,enableOutsideDaysClick:!s,firstDayOfWeek:1,captionElement:({date:e,localeUtils:t})=>{const a=null==t?void 0:t.getMonths();return q.default.createElement(A,{date:e,monthLabels:w||a,onChange:b})},disabledDays:d||void 0,modifiers:c},format:i||"yyyy-MM-dd",formatDate:(e,t)=>g(e,t),hideOnDayClick:!s,placeholder:a||"",onDayChange:e=>{var t;t=e,v.current&&!s&&v.current.hideDayPicker(),n&&n(t)},showOverlay:s}))},fe=Q.default.div`
|
|
434
434
|
--dropdown-padding: 12px 18px 12px 16px;
|
|
435
435
|
position: relative;
|
|
436
436
|
box-sizing: border-box;
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
-
${
|
|
593
|
+
${h.MediaQueries.mbDown} {
|
|
594
594
|
&[data-size='lg'] {
|
|
595
595
|
font-size: 16px;
|
|
596
596
|
line-height: 24px;
|
|
@@ -880,7 +880,7 @@
|
|
|
880
880
|
margin-top: 2px;
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
|
-
`,Ue=({name:e,description:t,image:a,isDescriptionHidden:i})=>q.default.createElement(Fe,null,a,!i&&q.default.createElement("figcaption",null,q.default.createElement(
|
|
883
|
+
`,Ue=({name:e,description:t,image:a,isDescriptionHidden:i})=>q.default.createElement(Fe,null,a,!i&&q.default.createElement("figcaption",null,q.default.createElement(k.Text,{size:"p4",type:"bold"},e),q.default.createElement(k.Text,{size:"p4"},t))),Ve=Q.default.div`
|
|
884
884
|
display: flex;
|
|
885
885
|
align-items: center;
|
|
886
886
|
margin-top: 24px;
|
|
@@ -1219,7 +1219,7 @@
|
|
|
1219
1219
|
}
|
|
1220
1220
|
}
|
|
1221
1221
|
}
|
|
1222
|
-
`,nt=Q.default(
|
|
1222
|
+
`,nt=Q.default(d.StyledRadio)`
|
|
1223
1223
|
&[data-type='circle'] {
|
|
1224
1224
|
padding: 16px 20px;
|
|
1225
1225
|
border: 0.5px solid transparent;
|
|
@@ -1351,7 +1351,7 @@
|
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
1353
|
}
|
|
1354
|
-
`,lt=({size:e="small",label:t,name:a,checked:i,value:n,className:o,isDisabled:r=!1,onChange:l,hasImage:s,inputType:d,image:c})=>q.default.createElement(nt,{"data-disabled":r,className:o,"data-type":"circle","data-size":e,"data-checked":i,onClick:()=>{l(n)},"data-has-image":s},s&&q.default.createElement("div",{className:"choice-image-wrapper"},c&&q.default.createElement("img",{src:c,loading:"lazy"})),q.default.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${a}-${n}`},t),q.default.createElement("input",{type:d,checked:i,name:a,id:`${a}-${n}`,value:n,readOnly:!0})),st=({question:e,description:a,onOptionsChange:
|
|
1354
|
+
`,lt=({size:e="small",label:t,name:a,checked:i,value:n,className:o,isDisabled:r=!1,onChange:l,hasImage:s,inputType:d,image:c})=>q.default.createElement(nt,{"data-disabled":r,className:o,"data-type":"circle","data-size":e,"data-checked":i,onClick:()=>{l(n)},"data-has-image":s},s&&q.default.createElement("div",{className:"choice-image-wrapper"},c&&q.default.createElement("img",{src:c,loading:"lazy"})),q.default.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${a}-${n}`},t),q.default.createElement("input",{type:d,checked:i,name:a,id:`${a}-${n}`,value:n,readOnly:!0})),st=({question:e,description:a,onOptionsChange:i,onTextOptionsChange:n,style:o,className:r})=>{const{type:l,title:s,subtitle:c,image:u,textOptions:p,options:m,name:h,is_multi_select:g}=e,f=!!(null==m?void 0:m.some((e=>e.image))),[b,x]=t.useState([]),[v,y]=t.useState((()=>(null==p?void 0:p.slice())||[]));return t.useEffect((()=>{i&&i(b.slice())}),[!!i,b]),t.useEffect((()=>{n&&n(v)}),[!!n,v]),q.default.createElement(rt,{className:r,style:o},q.default.createElement("div",{className:"survey-question-text-wrapper"},s&&q.default.createElement(d.Heading,{"data-nosubtitle":!c,className:"survey-question-title",tag:"h4"},s),c&&q.default.createElement(k.Text,{className:"survey-question-subtitle",size:"p2"},c),a&&q.default.createElement(k.Text,{className:"survey-question-description",size:"p2"},a)),u&&q.default.createElement("img",{src:u,className:"survey-question-image",loading:"lazy"}),q.default.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===l&&q.default.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},m.map((e=>{var t;return q.default.createElement(lt,{inputType:"radio",label:e.label,name:h,key:`${h}-${e.value}`,checked:(null===(t=b[0])||void 0===t?void 0:t.value)===e.value,value:e.value,onChange:e=>{x([m.find((t=>t.value===e))])},className:"survey-question-option-item",image:e.image,hasImage:f})}))),"checkbox"===l&&q.default.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},m.map((e=>q.default.createElement(lt,{inputType:"checkbox",label:e.label,name:h,key:`${h}-${e.value}`,checked:!!b.find((t=>t.value===e.value)),value:e.value,onChange:()=>{const t=b.findIndex((t=>t.value===e.value));x(t>=0?e=>(e.splice(t,1),e.slice()):g?t=>t.concat(e).slice():[e])},className:"survey-question-option-item survey-option-radio",image:e.image,hasImage:f})))),"textbox"===l&&v.map(((e,t)=>e.isTextArea?q.default.createElement(d.TextArea,{key:t,placeholder:e.placeholder,height:"150px",value:e.value,onChange:e=>y((a=>(a[t].value=e,a.slice())))}):q.default.createElement(A.Input,{key:t,value:e.value,name:e.name,size:"md",className:"survey-contact-input",label:e.label,placeholder:e.placeholder,onChange:e=>{y((a=>(a[t].value=e,a.slice())))},type:e.type})))))};var dt;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(dt||(dt={}));const ct=200,ut=Q.default.div``,pt=Q.default.div`
|
|
1355
1355
|
width: 100vw;
|
|
1356
1356
|
height: 100vh;
|
|
1357
1357
|
position: fixed;
|
|
@@ -1637,7 +1637,7 @@
|
|
|
1637
1637
|
width: 375px;
|
|
1638
1638
|
word-wrap: break-word;
|
|
1639
1639
|
word-break: break-word;
|
|
1640
|
-
${
|
|
1640
|
+
${h.MediaQueries.mbDown} {
|
|
1641
1641
|
width: 100%;
|
|
1642
1642
|
}
|
|
1643
1643
|
&[data-theme='helloSites'] {
|
|
@@ -1657,7 +1657,7 @@
|
|
|
1657
1657
|
z-index: 1000;
|
|
1658
1658
|
bottom: 0;
|
|
1659
1659
|
right: 0;
|
|
1660
|
-
${
|
|
1660
|
+
${h.MediaQueries.mbDown} {
|
|
1661
1661
|
left: 0;
|
|
1662
1662
|
right: unset;
|
|
1663
1663
|
}
|
|
@@ -1713,7 +1713,7 @@
|
|
|
1713
1713
|
line-height: 22px;
|
|
1714
1714
|
text-decoration: none;
|
|
1715
1715
|
text-decoration-line: underline;
|
|
1716
|
-
`,St=
|
|
1716
|
+
`,St=c.keyframes`
|
|
1717
1717
|
from {
|
|
1718
1718
|
transform: translateY(100%);
|
|
1719
1719
|
visibility: visible;
|
|
@@ -1722,7 +1722,7 @@
|
|
|
1722
1722
|
to {
|
|
1723
1723
|
transform: translateY(0);
|
|
1724
1724
|
}
|
|
1725
|
-
`,At=
|
|
1725
|
+
`,At=c.keyframes`
|
|
1726
1726
|
from {
|
|
1727
1727
|
transform: translate(0, 0);
|
|
1728
1728
|
}
|
|
@@ -1743,13 +1743,13 @@
|
|
|
1743
1743
|
font-weight: 500;
|
|
1744
1744
|
font-size: 10px;
|
|
1745
1745
|
line-height: 16px;
|
|
1746
|
-
color: ${
|
|
1746
|
+
color: ${g.theme.colors.gray600};
|
|
1747
1747
|
overflow: hidden;
|
|
1748
1748
|
text-overflow: ellipsis;
|
|
1749
1749
|
white-space: nowrap;
|
|
1750
1750
|
width: 60px;
|
|
1751
1751
|
text-align: center;
|
|
1752
|
-
${
|
|
1752
|
+
${h.MediaQueries.mbDown} {
|
|
1753
1753
|
max-width: 60px;
|
|
1754
1754
|
}
|
|
1755
1755
|
}
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
min-width: 152px;
|
|
1781
1781
|
height: 32px;
|
|
1782
1782
|
/* Neutral/Neutral-50 */
|
|
1783
|
-
background: ${
|
|
1783
|
+
background: ${g.theme.colors.primary50};
|
|
1784
1784
|
border-radius: 20px;
|
|
1785
1785
|
flex-grow: 1;
|
|
1786
1786
|
.mobile-navigation-icon {
|
|
@@ -1791,13 +1791,13 @@
|
|
|
1791
1791
|
}
|
|
1792
1792
|
.mobile-navigation-label {
|
|
1793
1793
|
max-width: max-content;
|
|
1794
|
-
color: ${
|
|
1794
|
+
color: ${g.theme.colors.primaryBase};
|
|
1795
1795
|
}
|
|
1796
1796
|
}
|
|
1797
1797
|
|
|
1798
1798
|
&[data-is-active='true'] {
|
|
1799
1799
|
.mobile-navigation-label {
|
|
1800
|
-
color: ${
|
|
1800
|
+
color: ${g.theme.colors.primaryBase};
|
|
1801
1801
|
}
|
|
1802
1802
|
}
|
|
1803
1803
|
|
|
@@ -1817,7 +1817,7 @@
|
|
|
1817
1817
|
height: 100%;
|
|
1818
1818
|
align-items: center;
|
|
1819
1819
|
justify-content: space-evenly;
|
|
1820
|
-
background-color: ${
|
|
1820
|
+
background-color: ${g.theme.colors.white};
|
|
1821
1821
|
@supports (padding-bottom: env(safe-area-inset-bottom)) {
|
|
1822
1822
|
min-height: calc(56px + env(safe-area-inset-bottom));
|
|
1823
1823
|
max-height: calc(56px + env(safe-area-inset-bottom));
|
|
@@ -1849,9 +1849,9 @@
|
|
|
1849
1849
|
position: absolute;
|
|
1850
1850
|
left: 100%;
|
|
1851
1851
|
transform: translate(-10px, calc(-50% + 3px));
|
|
1852
|
-
background-color: ${
|
|
1852
|
+
background-color: ${g.theme.colors.green800};
|
|
1853
1853
|
border-radius: 32px;
|
|
1854
|
-
border: 2px solid ${
|
|
1854
|
+
border: 2px solid ${g.theme.colors.white};
|
|
1855
1855
|
padding: 1px 4px;
|
|
1856
1856
|
display: flex;
|
|
1857
1857
|
flex-direction: column;
|
|
@@ -1868,13 +1868,13 @@
|
|
|
1868
1868
|
top: 0;
|
|
1869
1869
|
left: 0;
|
|
1870
1870
|
height: 3px;
|
|
1871
|
-
background-color: ${
|
|
1871
|
+
background-color: ${g.theme.colors.primaryBase};
|
|
1872
1872
|
transition: width 150ms linear;
|
|
1873
1873
|
`,Q.default.div`
|
|
1874
1874
|
a {
|
|
1875
1875
|
text-decoration: none;
|
|
1876
1876
|
}
|
|
1877
|
-
`;const Bt=t=>{var{badgeAmount:a,disabled:i=!1,hasBadge:n=!1,icon:o,isActive:r=!1,isSpecial:l=!1,label:d}=t,c=e.__rest(t,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return q.default.createElement(Tt,Object.assign({"data-is-special":l,"data-is-active":r,"data-is-disabled":i},c),q.default.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(d)},n&&q.default.createElement(It,{"data-no-label":!Boolean(d)},q.default.createElement(S.Text,{size:"s5",type:"semiBold",color:l?s.theme.colors.primaryBase:s.theme.colors.white},a)),o),d&&q.default.createElement("span",{className:"mobile-navigation-label"},d))},Pt=t=>{var{children:a,on:i="",isCollapsed:n=!1,template:o="homepage"}=t,r=e.__rest(t,["children","on","isCollapsed","template"]);return q.default.createElement(Nt,Object.assign({on:i,"data-is-collapsed":n,"data-template":o},r),a)};Pt.Icon=Bt;var Dt={SAME:0,CAMELCASE:1,possibleStandardNames:{accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}};function Mt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==a)return;var i,n,o=[],r=!0,l=!1;try{for(a=a.call(e);!(r=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);r=!0);}catch(e){l=!0,n=e}finally{try{r||null==a.return||a.return()}finally{if(l)throw n}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return zt(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return zt(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a<t;a++)i[a]=e[a];return i}function Ot(e,t,a,i,n,o,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=n,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=r}var Lt={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){Lt[e]=new Ot(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=Mt(e,2),a=t[0],i=t[1];Lt[a]=new Ot(a,1,!1,i,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Lt[e]=new Ot(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Lt[e]=new Ot(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){Lt[e]=new Ot(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Lt[e]=new Ot(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Lt[e]=new Ot(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Lt[e]=new Ot(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Lt[e]=new Ot(e,5,!1,e.toLowerCase(),null,!1,!1)}));var _t=/[\-\:]([a-z])/g,Rt=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(_t,Rt);Lt[t]=new Ot(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(_t,Rt);Lt[t]=new Ot(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(_t,Rt);Lt[t]=new Ot(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Lt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!1,!1)}));Lt.xlinkHref=new Ot("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Lt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!0,!0)}));var jt=Dt.CAMELCASE,$t=Dt.SAME,Ft=Dt.possibleStandardNames,Ut=function(e){return Lt.hasOwnProperty(e)?Lt[e]:null},Vt=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),Ht=Object.keys(Ft).reduce((function(e,t){var a=Ft[t];return a===$t?e[t]=t:a===jt?e[t.toLowerCase()]=t:e[t]=a,e}),{}),qt=Object.defineProperty({BOOLEAN:3,BOOLEANISH_STRING:2,NUMERIC:5,OVERLOADED_BOOLEAN:4,POSITIVE_NUMERIC:6,RESERVED:0,STRING:1,getPropertyInfo:Ut,isCustomAttribute:Vt,possibleStandardNames:Ht},"__esModule",{value:!0}),Gt=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Wt=/\n/g,Qt=/^\s*/,Zt=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Xt=/^:\s*/,Yt=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Kt=/^[;\s]*/,Jt=/^\s+|\s+$/g,ea="";function ta(e){return e?e.replace(Jt,ea):ea}var aa=function(e,t){var a,i=null;if(!e||"string"!=typeof e)return i;for(var n,o,r=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var a=1,i=1;function n(e){var t=e.match(Wt);t&&(a+=t.length);var n=e.lastIndexOf("\n");i=~n?e.length-n:i+e.length}function o(){var e={line:a,column:i};return function(t){return t.position=new r(e),d(),t}}function r(e){this.start=e,this.end={line:a,column:i},this.source=t.source}function l(n){var o=new Error(t.source+":"+a+":"+i+": "+n);if(o.reason=n,o.filename=t.source,o.line=a,o.column=i,o.source=e,!t.silent)throw o}function s(t){var a=t.exec(e);if(a){var i=a[0];return n(i),e=e.slice(i.length),a}}function d(){s(Qt)}function c(e){var t;for(e=e||[];t=u();)!1!==t&&e.push(t);return e}function u(){var t=o();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var a=2;ea!=e.charAt(a)&&("*"!=e.charAt(a)||"/"!=e.charAt(a+1));)++a;if(a+=2,ea===e.charAt(a-1))return l("End of comment missing");var r=e.slice(2,a-2);return i+=2,n(r),e=e.slice(a),i+=2,t({type:"comment",comment:r})}}function p(){var e=o(),t=s(Zt);if(t){if(u(),!s(Xt))return l("property missing ':'");var a=s(Yt),i=e({type:"declaration",property:ta(t[0].replace(Gt,ea)),value:a?ta(a[0].replace(Gt,ea)):ea});return s(Kt),i}}return r.prototype.content=e,d(),function(){var e,t=[];for(c(t);e=p();)!1!==e&&(t.push(e),c(t));return t}()}(e),l="function"==typeof t,s=0,d=r.length;s<d;s++)n=(a=r[s]).property,o=a.value,l?t(n,o,a):o&&(i||(i={}),i[n]=o);return i},ia=i.createCommonjsModule((function(e,t){t.__esModule=!0,t.camelCase=void 0;var a=/^--[a-zA-Z0-9-]+$/,i=/-([a-z])/g,n=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,r=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||n.test(e)||a.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(r,s):e.replace(o,s)).replace(i,l))}})),na=i.createCommonjsModule((function(e,t){var a=i.commonjsGlobal&&i.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var n=a(aa);t.default=function(e,t){var a={};return e&&"string"==typeof e?((0,n.default)(e,(function(e,i){e&&i&&(a[(0,ia.camelCase)(e,t)]=i)})),a):a}})),oa=na.default;var ra={reactCompat:!0};var la=q.default.version.split(".")[0]>=16,sa=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var da={PRESERVE_CUSTOM_ATTRIBUTES:la,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var a,i,n="function"==typeof t,o={},r={};for(a in e)i=e[a],n&&(o=t(a,i))&&2===o.length?r[o[0]]=o[1]:"string"==typeof i&&(r[i]=a);return r},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=oa(e,ra)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!sa.has(e.name)},elementsWithNoTextChildren:sa},ca=function(e){var t,a,i,n,o,r={},l=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(i=e[t],qt.isCustomAttribute(t))r[t]=i;else if(n=ua(a=t.toLowerCase()))switch(o=qt.getPropertyInfo(n),"checked"!==n&&"value"!==n||l||(n=ua("default"+a)),r[n]=i,o&&o.type){case qt.BOOLEAN:r[n]=!0;break;case qt.OVERLOADED_BOOLEAN:""===i&&(r[n]=!0)}else da.PRESERVE_CUSTOM_ATTRIBUTES&&(r[t]=i);return da.setStyleProp(e.style,r),r};function ua(e){return qt.possibleStandardNames[e]}var pa=da.setStyleProp,ma=da.canTextBeChildOfNode;function ha(e){return da.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&da.isCustomComponent(e.name,e.attribs)}var ga=function e(t,a){for(var i,n,o,r,l,s=(a=a||{}).library||q.default,d=s.cloneElement,c=s.createElement,u=s.isValidElement,p=[],m="function"==typeof a.replace,h=a.trim,g=0,f=t.length;g<f;g++)if(i=t[g],m&&u(o=a.replace(i)))f>1&&(o=d(o,{key:o.key||g})),p.push(o);else if("text"!==i.type){switch(r=i.attribs,ha(i)?pa(r.style,r):r&&(r=ca(r)),l=null,i.type){case"script":case"style":i.children[0]&&(r.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?r.defaultValue=i.children[0].data:i.children&&i.children.length&&(l=e(i.children,a));break;default:continue}f>1&&(r.key=g),p.push(c(i.name,r,l))}else{if((n=!i.data.trim().length)&&i.parent&&!ma(i.parent))continue;if(h&&n)continue;p.push(i.data)}return 1===p.length?p[0]:p},fa=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ba=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};var xa=function(e){var t;return e>=55296&&e<=57343||e>1114111?"�":ba(null!==(t=fa.get(e))&&void 0!==t?t:e)},va=Object.defineProperty({default:xa},"__esModule",{value:!0}),ya=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204]),wa=Object.defineProperty({default:ya},"__esModule",{value:!0}),Ca=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34]),Ea=wa,ka=Object.defineProperty({default:Ca},"__esModule",{value:!0}),Sa=va,Aa=i.createCommonjsModule((function(e,t){var a=i.commonjsGlobal&&i.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var n=a(Ea);t.htmlDecodeTree=n.default;var o=a(ka);t.xmlDecodeTree=o.default;var r,l=a(Sa);function s(e){return function(t,a){for(var i="",n=0,o=0;(o=t.indexOf("&",o))>=0;)if(i+=t.slice(n,o),n=o,o+=1,35!==t.charCodeAt(o)){for(var s=null,c=1,u=0,p=e[u];o<t.length&&!((u=d(e,p,u+1,t.charCodeAt(o)))<0);o++,c++)(p=e[u])&r.HAS_VALUE&&(a&&59!==t.charCodeAt(o)?u+=1:(s=p&r.MULTI_BYTE?String.fromCharCode(e[++u],e[++u]):String.fromCharCode(e[++u]),c=0));null!=s&&(i+=s,n=o-c+1)}else{var m=o+1,h=10,g=t.charCodeAt(m);for(120==(32|g)&&(h=16,o+=1,m+=1);(g=t.charCodeAt(++o))>=48&&g<=57||16===h&&(32|g)>=97&&(32|g)<=102;);if(m!==o){var f=t.substring(m,o),b=parseInt(f,h);if(59===t.charCodeAt(o))o+=1;else if(a)continue;i+=l.default(b),n=o}}return i+t.slice(n)}}function d(e,a,i,n){if(a<=128)return n===a?i:-1;var o=(a&r.BRANCH_LENGTH)>>8;if(0===o)return-1;if(1===o)return n===e[i]?i+1:-1;var l=a&r.JUMP_TABLE;if(l){var s=n-t.JUMP_OFFSET_BASE-l;return s<0||s>o?-1:e[i+s]-1}for(var d=i,c=d+o-1;d<=c;){var u=d+c>>>1,p=e[u];if(p<n)d=u+1;else{if(!(p>n))return e[u+o];c=u-1}}return-1}!function(e){e[e.HAS_VALUE=32768]="HAS_VALUE",e[e.BRANCH_LENGTH=32512]="BRANCH_LENGTH",e[e.MULTI_BYTE=128]="MULTI_BYTE",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(r=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47,t.determineBranch=d;var c=s(n.default),u=s(o.default);t.decodeHTML=function(e){return c(e,!1)},t.decodeHTMLStrict=function(e){return c(e,!0)},t.decodeXML=function(e){return u(e,!0)}})),Ta=Aa,Na=(i.commonjsGlobal&&i.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(Sa);function Ia(e){return 32===e||10===e||9===e||12===e||13===e}function Ba(e){return 47===e||62===e||Ia(e)}function Pa(e){return e>=48&&e<=57}var Da={Cdata:new Uint16Array([67,68,65,84,65,91]),CdataEnd:new Uint16Array([93,93,62]),CommentEnd:new Uint16Array([45,45,62]),ScriptEnd:new Uint16Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint16Array([60,47,115,116,121,108,101]),TitleEnd:new Uint16Array([60,47,116,105,116,108,101])},Ma=function(){function e(e,t){var a=e.xmlMode,i=void 0!==a&&a,n=e.decodeEntities,o=void 0===n||n;this.cbs=t,this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.isSpecial=!1,this.running=!0,this.ended=!1,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.trieResult=null,this.entityExcess=0,this.xmlMode=i,this.decodeEntities=o,this.entityTrie=i?Ta.xmlDecodeTree:Ta.htmlDecodeTree}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.currentSequence=void 0,this.running=!0,this.ended=!1},e.prototype.write=function(e){if(this.ended)return this.cbs.onerror(Error(".write() after done!"));this.buffer+=e,this.parse()},e.prototype.end=function(e){if(this.ended)return this.cbs.onerror(Error(".end() after done!"));e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteSectionStart=function(){return this.sectionStart+this.bufferOffset},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){60===e||!this.decodeEntities&&this.fastForwardTo(60)?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&38===e&&(this._state=25)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?Ba(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this._state=3,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||Ia(e)){var t=this._index-this.currentSequence.length;if(this.sectionStart<t){var a=this._index;this._index=t,this.cbs.ontext(this.getSection()),this._index=a}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Da.TitleEnd?this.decodeEntities&&38===e&&(this._state=25):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)},e.prototype.stateCDATASequence=function(e){e===Da.Cdata[this.sequenceIndex]?++this.sequenceIndex===Da.Cdata.length&&(this._state=21,this.currentSequence=Da.CdataEnd,this.sequenceIndex=0,this.sectionStart=this._index+1):(this.sequenceIndex=0,this._state=16,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this._index<this.buffer.length;)if(this.buffer.charCodeAt(this._index)===e)return!0;return this._index=this.buffer.length-1,!1},e.prototype.stateInCommentLike=function(e){if(e===this.currentSequence[this.sequenceIndex]){if(++this.sequenceIndex===this.currentSequence.length){var t=this.buffer.slice(this.sectionStart,this._index-2);this.currentSequence===Da.CdataEnd?this.cbs.oncdata(t):this.cbs.oncomment(t),this.sequenceIndex=0,this.sectionStart=this._index+1,this._state=1}}else 0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!Ba(e):function(e){return e>=97&&e<=122||e>=65&&e<=90}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this._state=23},e.prototype.stateBeforeTagName=function(e){if(33===e)this._state=15,this.sectionStart=this._index+1;else if(63===e)this._state=17,this.sectionStart=this._index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this._index,this.xmlMode||t!==Da.TitleEnd[2]?this._state=this.xmlMode||t!==Da.ScriptEnd[2]?3:22:this.startSpecial(Da.TitleEnd,3)}else 47===e?this._state=5:(this._state=1,this.stateText(e))},e.prototype.stateInTagName=function(e){Ba(e)&&(this.cbs.onopentagname(this.getSection()),this.sectionStart=-1,this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){Ia(e)||(62===e?this._state=1:(this._state=this.isTagStartChar(e)?6:20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(62===e||Ia(e))&&(this.cbs.onclosetag(this.getSection()),this.sectionStart=-1,this._state=7,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(62===e||this.fastForwardTo(62))&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){62===e?(this.cbs.onopentagend(),this.isSpecial?(this._state=24,this.sequenceIndex=0):this._state=1,this.baseState=this._state,this.sectionStart=this._index+1):47===e?this._state=4:Ia(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){62===e?(this.cbs.onselfclosingtag(),this._state=1,this.baseState=1,this.sectionStart=this._index+1,this.isSpecial=!1):Ia(e)||(this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(61===e||Ba(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){61===e?this._state=11:47===e||62===e?(this.cbs.onattribend(void 0),this._state=8,this.stateBeforeAttributeName(e)):Ia(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){34===e?(this._state=12,this.sectionStart=this._index+1):39===e?(this._state=13,this.sectionStart=this._index+1):Ia(e)||(this.sectionStart=this._index,this._state=14,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(String.fromCharCode(t)),this._state=8):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,34)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,39)},e.prototype.stateInAttributeValueNoQuotes=function(e){Ia(e)||62===e?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(null),this._state=8,this.stateBeforeAttributeName(e)):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateBeforeDeclaration=function(e){91===e?(this._state=19,this.sequenceIndex=0):this._state=45===e?18:16},e.prototype.stateInDeclaration=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){45===e?(this._state=21,this.currentSequence=Da.CommentEnd,this.sequenceIndex=2,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInSpecialComment=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===Da.ScriptEnd[3]?this.startSpecial(Da.ScriptEnd,4):t===Da.StyleEnd[3]?this.startSpecial(Da.StyleEnd,4):(this._state=3,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,35===e?this._state=26:38===e||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.trieResult=null,this._state=27,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,Ta.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this._index--;if(this.trieCurrent=this.entityTrie[this.trieIndex],this.trieCurrent&Ta.BinTrieFlags.HAS_VALUE)if(this.allowLegacyEntity()||59===e){var t=this._index-this.entityExcess+1;t>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,t)),this.trieResult=this.trieCurrent&Ta.BinTrieFlags.MULTI_BYTE?String.fromCharCode(this.entityTrie[++this.trieIndex],this.entityTrie[++this.trieIndex]):String.fromCharCode(this.entityTrie[++this.trieIndex]),this.entityExcess=0,this.sectionStart=this._index+1}else this.trieIndex+=1},e.prototype.emitNamedEntity=function(){this.trieResult&&this.emitPartial(this.trieResult),this._state=this.baseState},e.prototype.stateBeforeNumericEntity=function(e){120==(32|e)?(this.entityExcess++,this._state=29):(this._state=28,this.stateInNumericEntity(e))},e.prototype.decodeNumericEntity=function(e,t){var a=this._index-this.entityExcess-1,i=a+2+(e>>4);if(i!==this._index){a>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,a));var n=this.buffer.substring(i,this._index),o=parseInt(n,e);this.emitPartial((0,Na.default)(o)),this.sectionStart=this._index+Number(t)}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){59===e?this.decodeNumericEntity(10,!0):Pa(e)?this.entityExcess++:(this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):this._state=this.baseState,this._index--)},e.prototype.stateInHexEntity=function(e){59===e?this.decodeNumericEntity(16,!0):(e<97||e>102)&&(e<65||e>70)&&!Pa(e)?(this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):this._state=this.baseState,this._index--):this.entityExcess++},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(1===this.baseState||24===this.baseState)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this._index&&(1===this._state||24===this._state&&0===this.sequenceIndex)&&(this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.sectionStart=this._index);var e=this.sectionStart<0?this._index:this.sectionStart;this.buffer=e===this.buffer.length?"":this.buffer.substr(e),this._index-=e,this.bufferOffset+=e,this.sectionStart>0&&(this.sectionStart=0)},e.prototype.shouldContinue=function(){return this._index<this.buffer.length&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this._index);1===this._state?this.stateText(e):23===this._state?this.stateSpecialStartSequence(e):24===this._state?this.stateInSpecialTag(e):19===this._state?this.stateCDATASequence(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):21===this._state?this.stateInCommentLike(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):22===this._state?this.stateBeforeSpecialS(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):18===this._state?this.stateBeforeComment(e):17===this._state?this.stateInProcessingInstruction(e):27===this._state?this.stateInNamedEntity(e):25===this._state?this.stateBeforeEntity(e):29===this._state?this.stateInHexEntity(e):28===this._state?this.stateInNumericEntity(e):this.stateBeforeNumericEntity(e),this._index++}this.cleanup()},e.prototype.finish=function(){27===this._state&&this.emitNamedEntity(),this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);21===this._state?this.currentSequence===Da.CdataEnd?this.cbs.oncdata(e):this.cbs.oncomment(e):28===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):29===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):3===this._state||8===this._state||11===this._state||10===this._state||9===this._state||13===this._state||12===this._state||14===this._state||6===this._state||this.cbs.ontext(e)},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitPartial=function(e){1!==this.baseState&&24!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}(),za=Object.defineProperty({default:Ma},"__esModule",{value:!0}),Oa=i.createCommonjsModule((function(e,t){var a=i.commonjsGlobal&&i.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var n=a(za),o=new Set(["input","option","optgroup","select","button","datalist","textarea"]),r=new Set(["p"]),l=new Set(["thead","tbody"]),s=new Set(["dd","dt"]),d=new Set(["rt","rp"]),c=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",r],["h1",r],["h2",r],["h3",r],["h4",r],["h5",r],["h6",r],["select",o],["input",o],["output",o],["button",o],["datalist",o],["textarea",o],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",s],["dt",s],["address",r],["article",r],["aside",r],["blockquote",r],["details",r],["div",r],["dl",r],["fieldset",r],["figcaption",r],["figure",r],["footer",r],["form",r],["header",r],["hr",r],["main",r],["nav",r],["ol",r],["pre",r],["section",r],["table",r],["ul",r],["rt",d],["rp",d],["tbody",l],["tfoot",l]]),u=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),p=new Set(["math","svg"]),m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),h=/\s|\//,g=function(){function e(e,t){var a,i,o,r,l;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(a=t.lowerCaseTags)&&void 0!==a?a:!t.xmlMode,this.lowerCaseAttributeNames=null!==(i=t.lowerCaseAttributeNames)&&void 0!==i?i:!t.xmlMode,this.tokenizer=new(null!==(o=t.Tokenizer)&&void 0!==o?o:n.default)(this.options,this),null===(l=(r=this.cbs).onparserinit)||void 0===l||l.call(r,this)}return e.prototype.ontext=function(e){var t,a,i=this.tokenizer.getAbsoluteIndex();this.endIndex=i-1,null===(a=(t=this.cbs).ontext)||void 0===a||a.call(t,e),this.startIndex=i},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&u.has(e)},e.prototype.onopentagname=function(e){this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),this.emitOpenTag(e)},e.prototype.emitOpenTag=function(e){var t,a,i,n;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&c.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var r=this.stack.pop();null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,r,!0)}this.isVoidElement(e)||(this.stack.push(e),p.has(e)?this.foreignContext.push(!0):m.has(e)&&this.foreignContext.push(!1)),null===(n=(i=this.cbs).onopentagname)||void 0===n||n.call(i,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,a;this.startIndex=this.openTagStart,this.endIndex=this.tokenizer.getAbsoluteIndex(),this.attribs&&(null===(a=(t=this.cbs).onopentag)||void 0===a||a.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(){this.endOpenTag(!1),this.startIndex=this.endIndex+1},e.prototype.onclosetag=function(e){var t,a,i,n,o,r;if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),(p.has(e)||m.has(e))&&this.foreignContext.pop(),this.isVoidElement(e))this.options.xmlMode||"br"!==e||(null===(a=(t=this.cbs).onopentagname)||void 0===a||a.call(t,e),null===(n=(i=this.cbs).onopentag)||void 0===n||n.call(i,e,{},!0),null===(r=(o=this.cbs).onclosetag)||void 0===r||r.call(o,e,!1));else{var l=this.stack.lastIndexOf(e);if(-1!==l)if(this.cbs.onclosetag)for(var s=this.stack.length-l;s--;)this.cbs.onclosetag(this.stack.pop(),0!==s);else this.stack.length=l;else this.options.xmlMode||"p"!==e||(this.emitOpenTag(e),this.closeCurrentTag(!0))}this.startIndex=this.endIndex+1},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=this.endIndex+1):this.onopentagend()},e.prototype.closeCurrentTag=function(e){var t,a,i=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===i&&(null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,i,!e),this.stack.pop())},e.prototype.onattribname=function(e){this.startIndex=this.tokenizer.getAbsoluteSectionStart(),this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,a;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).onattribute)||void 0===a||a.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(h),a=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(a=a.toLowerCase()),a},e.prototype.ondeclaration=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}this.startIndex=this.endIndex+1},e.prototype.onprocessinginstruction=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}this.startIndex=this.endIndex+1},e.prototype.oncomment=function(e){var t,a,i,n;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).oncomment)||void 0===a||a.call(t,e),null===(n=(i=this.cbs).oncommentend)||void 0===n||n.call(i),this.startIndex=this.endIndex+1},e.prototype.oncdata=function(e){var t,a,i,n,o,r,l,s,d,c;this.endIndex=this.tokenizer.getAbsoluteIndex(),this.options.xmlMode||this.options.recognizeCDATA?(null===(a=(t=this.cbs).oncdatastart)||void 0===a||a.call(t),null===(n=(i=this.cbs).ontext)||void 0===n||n.call(i,e),null===(r=(o=this.cbs).oncdataend)||void 0===r||r.call(o)):(null===(s=(l=this.cbs).oncomment)||void 0===s||s.call(l,"[CDATA["+e+"]]"),null===(c=(d=this.cbs).oncommentend)||void 0===c||c.call(d)),this.startIndex=this.endIndex+1},e.prototype.onerror=function(e){var t,a;null===(a=(t=this.cbs).onerror)||void 0===a||a.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var a=this.stack.length;a>0;this.cbs.onclosetag(this.stack[--a],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,a,i;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],this.startIndex=0,this.endIndex=0,null===(i=(a=this.cbs).onparserinit)||void 0===i||i.call(a,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=g})),La=i.createCommonjsModule((function(e,t){var a;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(a=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===a.Tag||e.type===a.Script||e.type===a.Style},t.Root=a.Root,t.Text=a.Text,t.Directive=a.Directive,t.Comment=a.Comment,t.Script=a.Script,t.Style=a.Style,t.Tag=a.Tag,t.CDATA=a.CDATA,t.Doctype=a.Doctype})),_a=i.createCommonjsModule((function(e,t){var a,n=i.commonjsGlobal&&i.commonjsGlobal.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=i.commonjsGlobal&&i.commonjsGlobal.__assign||function(){return o=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var r=new Map([[La.ElementType.Tag,1],[La.ElementType.Script,1],[La.ElementType.Style,1],[La.ElementType.Directive,1],[La.ElementType.Text,3],[La.ElementType.CDATA,4],[La.ElementType.Comment,8],[La.ElementType.Root,9]]),l=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=r.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),w(this,e)},e}();t.Node=l;var s=function(e){function t(t,a){var i=e.call(this,t)||this;return i.data=a,i}return n(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(l);t.DataNode=s;var d=function(e){function t(t){return e.call(this,La.ElementType.Text,t)||this}return n(t,e),t}(s);t.Text=d;var c=function(e){function t(t){return e.call(this,La.ElementType.Comment,t)||this}return n(t,e),t}(s);t.Comment=c;var u=function(e){function t(t,a){var i=e.call(this,La.ElementType.Directive,a)||this;return i.name=t,i}return n(t,e),t}(s);t.ProcessingInstruction=u;var p=function(e){function t(t,a){var i=e.call(this,t)||this;return i.children=a,i}return n(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=p;var m=function(e){function t(t){return e.call(this,La.ElementType.Root,t)||this}return n(t,e),t}(p);t.Document=m;var h=function(e){function t(t,a,i,n){void 0===i&&(i=[]),void 0===n&&(n="script"===t?La.ElementType.Script:"style"===t?La.ElementType.Style:La.ElementType.Tag);var o=e.call(this,n,i)||this;return o.name=t,o.attribs=a,o}return n(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var a,i;return{name:t,value:e.attribs[t],namespace:null===(a=e["x-attribsNamespace"])||void 0===a?void 0:a[t],prefix:null===(i=e["x-attribsPrefix"])||void 0===i?void 0:i[t]}}))},enumerable:!1,configurable:!0}),t}(p);function g(e){return(0,La.isTag)(e)}function f(e){return e.type===La.ElementType.CDATA}function b(e){return e.type===La.ElementType.Text}function x(e){return e.type===La.ElementType.Comment}function v(e){return e.type===La.ElementType.Directive}function y(e){return e.type===La.ElementType.Root}function w(e,t){var a;if(void 0===t&&(t=!1),b(e))a=new d(e.data);else if(x(e))a=new c(e.data);else if(g(e)){var i=t?C(e.children):[],n=new h(e.name,o({},e.attribs),i);i.forEach((function(e){return e.parent=n})),null!=e.namespace&&(n.namespace=e.namespace),e["x-attribsNamespace"]&&(n["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(n["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),a=n}else if(f(e)){i=t?C(e.children):[];var r=new p(La.ElementType.CDATA,i);i.forEach((function(e){return e.parent=r})),a=r}else if(y(e)){i=t?C(e.children):[];var l=new m(i);i.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),a=l}else{if(!v(e))throw new Error("Not implemented yet: ".concat(e.type));var s=new u(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),a=s}return a.startIndex=e.startIndex,a.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(a.sourceCodeLocation=e.sourceCodeLocation),a}function C(e){for(var t=e.map((function(e){return w(e,!0)})),a=1;a<t.length;a++)t[a].prev=t[a-1],t[a-1].next=t[a];return t}t.Element=h,t.isTag=g,t.isCDATA=f,t.isText=b,t.isComment=x,t.isDirective=v,t.isDocument=y,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=w})),Ra=i.createCommonjsModule((function(e,t){var a=i.commonjsGlobal&&i.commonjsGlobal.__createBinding||(Object.create?function(e,t,a,i){void 0===i&&(i=a);var n=Object.getOwnPropertyDescriptor(t,a);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,i,n)}:function(e,t,a,i){void 0===i&&(i=a),e[i]=t[a]}),n=i.commonjsGlobal&&i.commonjsGlobal.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||a(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0,n(_a,t);var o=/\s+/g,r={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,a){this.dom=[],this.root=new _a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(a=t,t=r),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:r,this.elementCB=null!=a?a:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new _a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var a=this.options.xmlMode?La.ElementType.Tag:void 0,i=new _a.Element(e,t,void 0,a);this.addNode(i),this.tagStack.push(i)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,a=this.lastNode;if(a&&a.type===La.ElementType.Text)t?a.data=(a.data+e).replace(o," "):a.data+=e,this.options.withEndIndices&&(a.endIndex=this.parser.endIndex);else{t&&(e=e.replace(o," "));var i=new _a.Text(e);this.addNode(i),this.lastNode=i}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===La.ElementType.Comment)this.lastNode.data+=e;else{var t=new _a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new _a.Text(""),t=new _a.NodeWithChildren(La.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var a=new _a.ProcessingInstruction(e,t);this.addNode(a)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],a=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),a&&(e.prev=a,a.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l}));var ja=function(e){for(var t=0,a=e.length;t<a;t++){e[t].parent=null}return e},$a=Ra,Fa=Oa.Parser,Ua=$a.DomHandler,Va=ja;var Ha=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string.");if(""===e)return[];var a=new Ua(void 0,t);return new Fa(a,t).end(e),Va(a.dom)};Ha="function"==typeof Ha.default?Ha.default:Ha;var qa={lowerCaseAttributeNames:!1};function Ga(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:ga(Ha(e,(t=t||{}).htmlparser2||qa),t)}Ga.domToReact=ga,Ga.htmlToDOM=Ha,Ga.attributesToProps=ca,Ga.Element=$a.Element;var Wa=Ga,Qa=Ga;Wa.default=Qa,Wa.domToReact,Wa.htmlToDOM,Wa.attributesToProps,Wa.Element,Q.default.div`
|
|
1877
|
+
`;const Bt=t=>{var{badgeAmount:a,disabled:i=!1,hasBadge:n=!1,icon:o,isActive:r=!1,isSpecial:l=!1,label:s}=t,d=e.__rest(t,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return q.default.createElement(Tt,Object.assign({"data-is-special":l,"data-is-active":r,"data-is-disabled":i},d),q.default.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(s)},n&&q.default.createElement(It,{"data-no-label":!Boolean(s)},q.default.createElement(k.Text,{size:"s5",type:"semiBold",color:l?g.theme.colors.primaryBase:g.theme.colors.white},a)),o),s&&q.default.createElement("span",{className:"mobile-navigation-label"},s))},Pt=t=>{var{children:a,on:i="",isCollapsed:n=!1,template:o="homepage"}=t,r=e.__rest(t,["children","on","isCollapsed","template"]);return q.default.createElement(Nt,Object.assign({on:i,"data-is-collapsed":n,"data-template":o},r),a)};Pt.Icon=Bt;var Dt={SAME:0,CAMELCASE:1,possibleStandardNames:{accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}};function Mt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==a)return;var i,n,o=[],r=!0,l=!1;try{for(a=a.call(e);!(r=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);r=!0);}catch(e){l=!0,n=e}finally{try{r||null==a.return||a.return()}finally{if(l)throw n}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return zt(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return zt(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a<t;a++)i[a]=e[a];return i}function Ot(e,t,a,i,n,o,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=n,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=r}var Lt={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){Lt[e]=new Ot(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=Mt(e,2),a=t[0],i=t[1];Lt[a]=new Ot(a,1,!1,i,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Lt[e]=new Ot(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Lt[e]=new Ot(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){Lt[e]=new Ot(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Lt[e]=new Ot(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Lt[e]=new Ot(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Lt[e]=new Ot(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Lt[e]=new Ot(e,5,!1,e.toLowerCase(),null,!1,!1)}));var _t=/[\-\:]([a-z])/g,Rt=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(_t,Rt);Lt[t]=new Ot(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(_t,Rt);Lt[t]=new Ot(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(_t,Rt);Lt[t]=new Ot(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Lt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!1,!1)}));Lt.xlinkHref=new Ot("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Lt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!0,!0)}));var jt=Dt.CAMELCASE,$t=Dt.SAME,Ft=Dt.possibleStandardNames,Ut=function(e){return Lt.hasOwnProperty(e)?Lt[e]:null},Vt=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),Ht=Object.keys(Ft).reduce((function(e,t){var a=Ft[t];return a===$t?e[t]=t:a===jt?e[t.toLowerCase()]=t:e[t]=a,e}),{}),qt=Object.defineProperty({BOOLEAN:3,BOOLEANISH_STRING:2,NUMERIC:5,OVERLOADED_BOOLEAN:4,POSITIVE_NUMERIC:6,RESERVED:0,STRING:1,getPropertyInfo:Ut,isCustomAttribute:Vt,possibleStandardNames:Ht},"__esModule",{value:!0}),Gt=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Wt=/\n/g,Qt=/^\s*/,Zt=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Xt=/^:\s*/,Yt=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Kt=/^[;\s]*/,Jt=/^\s+|\s+$/g,ea="";function ta(e){return e?e.replace(Jt,ea):ea}var aa=function(e,t){var a,i=null;if(!e||"string"!=typeof e)return i;for(var n,o,r=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var a=1,i=1;function n(e){var t=e.match(Wt);t&&(a+=t.length);var n=e.lastIndexOf("\n");i=~n?e.length-n:i+e.length}function o(){var e={line:a,column:i};return function(t){return t.position=new r(e),d(),t}}function r(e){this.start=e,this.end={line:a,column:i},this.source=t.source}function l(n){var o=new Error(t.source+":"+a+":"+i+": "+n);if(o.reason=n,o.filename=t.source,o.line=a,o.column=i,o.source=e,!t.silent)throw o}function s(t){var a=t.exec(e);if(a){var i=a[0];return n(i),e=e.slice(i.length),a}}function d(){s(Qt)}function c(e){var t;for(e=e||[];t=u();)!1!==t&&e.push(t);return e}function u(){var t=o();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var a=2;ea!=e.charAt(a)&&("*"!=e.charAt(a)||"/"!=e.charAt(a+1));)++a;if(a+=2,ea===e.charAt(a-1))return l("End of comment missing");var r=e.slice(2,a-2);return i+=2,n(r),e=e.slice(a),i+=2,t({type:"comment",comment:r})}}function p(){var e=o(),t=s(Zt);if(t){if(u(),!s(Xt))return l("property missing ':'");var a=s(Yt),i=e({type:"declaration",property:ta(t[0].replace(Gt,ea)),value:a?ta(a[0].replace(Gt,ea)):ea});return s(Kt),i}}return r.prototype.content=e,d(),function(){var e,t=[];for(c(t);e=p();)!1!==e&&(t.push(e),c(t));return t}()}(e),l="function"==typeof t,s=0,d=r.length;s<d;s++)n=(a=r[s]).property,o=a.value,l?t(n,o,a):o&&(i||(i={}),i[n]=o);return i},ia=d.createCommonjsModule((function(e,t){t.__esModule=!0,t.camelCase=void 0;var a=/^--[a-zA-Z0-9-]+$/,i=/-([a-z])/g,n=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,r=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||n.test(e)||a.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(r,s):e.replace(o,s)).replace(i,l))}})),na=d.createCommonjsModule((function(e,t){var a=d.commonjsGlobal&&d.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var i=a(aa);t.default=function(e,t){var a={};return e&&"string"==typeof e?((0,i.default)(e,(function(e,i){e&&i&&(a[(0,ia.camelCase)(e,t)]=i)})),a):a}})),oa=na.default;var ra={reactCompat:!0};var la=q.default.version.split(".")[0]>=16,sa=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var da={PRESERVE_CUSTOM_ATTRIBUTES:la,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var a,i,n="function"==typeof t,o={},r={};for(a in e)i=e[a],n&&(o=t(a,i))&&2===o.length?r[o[0]]=o[1]:"string"==typeof i&&(r[i]=a);return r},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=oa(e,ra)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!sa.has(e.name)},elementsWithNoTextChildren:sa},ca=function(e){var t,a,i,n,o,r={},l=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(i=e[t],qt.isCustomAttribute(t))r[t]=i;else if(n=ua(a=t.toLowerCase()))switch(o=qt.getPropertyInfo(n),"checked"!==n&&"value"!==n||l||(n=ua("default"+a)),r[n]=i,o&&o.type){case qt.BOOLEAN:r[n]=!0;break;case qt.OVERLOADED_BOOLEAN:""===i&&(r[n]=!0)}else da.PRESERVE_CUSTOM_ATTRIBUTES&&(r[t]=i);return da.setStyleProp(e.style,r),r};function ua(e){return qt.possibleStandardNames[e]}var pa=da.setStyleProp,ma=da.canTextBeChildOfNode;function ha(e){return da.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&da.isCustomComponent(e.name,e.attribs)}var ga=function e(t,a){for(var i,n,o,r,l,s=(a=a||{}).library||q.default,d=s.cloneElement,c=s.createElement,u=s.isValidElement,p=[],m="function"==typeof a.replace,h=a.trim,g=0,f=t.length;g<f;g++)if(i=t[g],m&&u(o=a.replace(i)))f>1&&(o=d(o,{key:o.key||g})),p.push(o);else if("text"!==i.type){switch(r=i.attribs,ha(i)?pa(r.style,r):r&&(r=ca(r)),l=null,i.type){case"script":case"style":i.children[0]&&(r.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?r.defaultValue=i.children[0].data:i.children&&i.children.length&&(l=e(i.children,a));break;default:continue}f>1&&(r.key=g),p.push(c(i.name,r,l))}else{if((n=!i.data.trim().length)&&i.parent&&!ma(i.parent))continue;if(h&&n)continue;p.push(i.data)}return 1===p.length?p[0]:p},fa=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ba=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};var xa=function(e){var t;return e>=55296&&e<=57343||e>1114111?"�":ba(null!==(t=fa.get(e))&&void 0!==t?t:e)},va=Object.defineProperty({default:xa},"__esModule",{value:!0}),ya=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204]),wa=Object.defineProperty({default:ya},"__esModule",{value:!0}),Ca=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34]),Ea=wa,ka=Object.defineProperty({default:Ca},"__esModule",{value:!0}),Sa=va,Aa=d.createCommonjsModule((function(e,t){var a=d.commonjsGlobal&&d.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var i=a(Ea);t.htmlDecodeTree=i.default;var n=a(ka);t.xmlDecodeTree=n.default;var o,r=a(Sa);function l(e){return function(t,a){for(var i="",n=0,l=0;(l=t.indexOf("&",l))>=0;)if(i+=t.slice(n,l),n=l,l+=1,35!==t.charCodeAt(l)){for(var d=null,c=1,u=0,p=e[u];l<t.length&&!((u=s(e,p,u+1,t.charCodeAt(l)))<0);l++,c++)(p=e[u])&o.HAS_VALUE&&(a&&59!==t.charCodeAt(l)?u+=1:(d=p&o.MULTI_BYTE?String.fromCharCode(e[++u],e[++u]):String.fromCharCode(e[++u]),c=0));null!=d&&(i+=d,n=l-c+1)}else{var m=l+1,h=10,g=t.charCodeAt(m);for(120==(32|g)&&(h=16,l+=1,m+=1);(g=t.charCodeAt(++l))>=48&&g<=57||16===h&&(32|g)>=97&&(32|g)<=102;);if(m!==l){var f=t.substring(m,l),b=parseInt(f,h);if(59===t.charCodeAt(l))l+=1;else if(a)continue;i+=r.default(b),n=l}}return i+t.slice(n)}}function s(e,a,i,n){if(a<=128)return n===a?i:-1;var r=(a&o.BRANCH_LENGTH)>>8;if(0===r)return-1;if(1===r)return n===e[i]?i+1:-1;var l=a&o.JUMP_TABLE;if(l){var s=n-t.JUMP_OFFSET_BASE-l;return s<0||s>r?-1:e[i+s]-1}for(var d=i,c=d+r-1;d<=c;){var u=d+c>>>1,p=e[u];if(p<n)d=u+1;else{if(!(p>n))return e[u+r];c=u-1}}return-1}!function(e){e[e.HAS_VALUE=32768]="HAS_VALUE",e[e.BRANCH_LENGTH=32512]="BRANCH_LENGTH",e[e.MULTI_BYTE=128]="MULTI_BYTE",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(o=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47,t.determineBranch=s;var c=l(i.default),u=l(n.default);t.decodeHTML=function(e){return c(e,!1)},t.decodeHTMLStrict=function(e){return c(e,!0)},t.decodeXML=function(e){return u(e,!0)}})),Ta=Aa,Na=(d.commonjsGlobal&&d.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(Sa);function Ia(e){return 32===e||10===e||9===e||12===e||13===e}function Ba(e){return 47===e||62===e||Ia(e)}function Pa(e){return e>=48&&e<=57}var Da={Cdata:new Uint16Array([67,68,65,84,65,91]),CdataEnd:new Uint16Array([93,93,62]),CommentEnd:new Uint16Array([45,45,62]),ScriptEnd:new Uint16Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint16Array([60,47,115,116,121,108,101]),TitleEnd:new Uint16Array([60,47,116,105,116,108,101])},Ma=function(){function e(e,t){var a=e.xmlMode,i=void 0!==a&&a,n=e.decodeEntities,o=void 0===n||n;this.cbs=t,this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.isSpecial=!1,this.running=!0,this.ended=!1,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.trieResult=null,this.entityExcess=0,this.xmlMode=i,this.decodeEntities=o,this.entityTrie=i?Ta.xmlDecodeTree:Ta.htmlDecodeTree}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.currentSequence=void 0,this.running=!0,this.ended=!1},e.prototype.write=function(e){if(this.ended)return this.cbs.onerror(Error(".write() after done!"));this.buffer+=e,this.parse()},e.prototype.end=function(e){if(this.ended)return this.cbs.onerror(Error(".end() after done!"));e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteSectionStart=function(){return this.sectionStart+this.bufferOffset},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){60===e||!this.decodeEntities&&this.fastForwardTo(60)?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&38===e&&(this._state=25)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?Ba(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this._state=3,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||Ia(e)){var t=this._index-this.currentSequence.length;if(this.sectionStart<t){var a=this._index;this._index=t,this.cbs.ontext(this.getSection()),this._index=a}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Da.TitleEnd?this.decodeEntities&&38===e&&(this._state=25):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)},e.prototype.stateCDATASequence=function(e){e===Da.Cdata[this.sequenceIndex]?++this.sequenceIndex===Da.Cdata.length&&(this._state=21,this.currentSequence=Da.CdataEnd,this.sequenceIndex=0,this.sectionStart=this._index+1):(this.sequenceIndex=0,this._state=16,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this._index<this.buffer.length;)if(this.buffer.charCodeAt(this._index)===e)return!0;return this._index=this.buffer.length-1,!1},e.prototype.stateInCommentLike=function(e){if(e===this.currentSequence[this.sequenceIndex]){if(++this.sequenceIndex===this.currentSequence.length){var t=this.buffer.slice(this.sectionStart,this._index-2);this.currentSequence===Da.CdataEnd?this.cbs.oncdata(t):this.cbs.oncomment(t),this.sequenceIndex=0,this.sectionStart=this._index+1,this._state=1}}else 0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!Ba(e):function(e){return e>=97&&e<=122||e>=65&&e<=90}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this._state=23},e.prototype.stateBeforeTagName=function(e){if(33===e)this._state=15,this.sectionStart=this._index+1;else if(63===e)this._state=17,this.sectionStart=this._index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this._index,this.xmlMode||t!==Da.TitleEnd[2]?this._state=this.xmlMode||t!==Da.ScriptEnd[2]?3:22:this.startSpecial(Da.TitleEnd,3)}else 47===e?this._state=5:(this._state=1,this.stateText(e))},e.prototype.stateInTagName=function(e){Ba(e)&&(this.cbs.onopentagname(this.getSection()),this.sectionStart=-1,this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){Ia(e)||(62===e?this._state=1:(this._state=this.isTagStartChar(e)?6:20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(62===e||Ia(e))&&(this.cbs.onclosetag(this.getSection()),this.sectionStart=-1,this._state=7,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(62===e||this.fastForwardTo(62))&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){62===e?(this.cbs.onopentagend(),this.isSpecial?(this._state=24,this.sequenceIndex=0):this._state=1,this.baseState=this._state,this.sectionStart=this._index+1):47===e?this._state=4:Ia(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){62===e?(this.cbs.onselfclosingtag(),this._state=1,this.baseState=1,this.sectionStart=this._index+1,this.isSpecial=!1):Ia(e)||(this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(61===e||Ba(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){61===e?this._state=11:47===e||62===e?(this.cbs.onattribend(void 0),this._state=8,this.stateBeforeAttributeName(e)):Ia(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){34===e?(this._state=12,this.sectionStart=this._index+1):39===e?(this._state=13,this.sectionStart=this._index+1):Ia(e)||(this.sectionStart=this._index,this._state=14,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(String.fromCharCode(t)),this._state=8):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,34)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,39)},e.prototype.stateInAttributeValueNoQuotes=function(e){Ia(e)||62===e?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(null),this._state=8,this.stateBeforeAttributeName(e)):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateBeforeDeclaration=function(e){91===e?(this._state=19,this.sequenceIndex=0):this._state=45===e?18:16},e.prototype.stateInDeclaration=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){45===e?(this._state=21,this.currentSequence=Da.CommentEnd,this.sequenceIndex=2,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInSpecialComment=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===Da.ScriptEnd[3]?this.startSpecial(Da.ScriptEnd,4):t===Da.StyleEnd[3]?this.startSpecial(Da.StyleEnd,4):(this._state=3,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,35===e?this._state=26:38===e||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.trieResult=null,this._state=27,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,Ta.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this._index--;if(this.trieCurrent=this.entityTrie[this.trieIndex],this.trieCurrent&Ta.BinTrieFlags.HAS_VALUE)if(this.allowLegacyEntity()||59===e){var t=this._index-this.entityExcess+1;t>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,t)),this.trieResult=this.trieCurrent&Ta.BinTrieFlags.MULTI_BYTE?String.fromCharCode(this.entityTrie[++this.trieIndex],this.entityTrie[++this.trieIndex]):String.fromCharCode(this.entityTrie[++this.trieIndex]),this.entityExcess=0,this.sectionStart=this._index+1}else this.trieIndex+=1},e.prototype.emitNamedEntity=function(){this.trieResult&&this.emitPartial(this.trieResult),this._state=this.baseState},e.prototype.stateBeforeNumericEntity=function(e){120==(32|e)?(this.entityExcess++,this._state=29):(this._state=28,this.stateInNumericEntity(e))},e.prototype.decodeNumericEntity=function(e,t){var a=this._index-this.entityExcess-1,i=a+2+(e>>4);if(i!==this._index){a>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,a));var n=this.buffer.substring(i,this._index),o=parseInt(n,e);this.emitPartial((0,Na.default)(o)),this.sectionStart=this._index+Number(t)}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){59===e?this.decodeNumericEntity(10,!0):Pa(e)?this.entityExcess++:(this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):this._state=this.baseState,this._index--)},e.prototype.stateInHexEntity=function(e){59===e?this.decodeNumericEntity(16,!0):(e<97||e>102)&&(e<65||e>70)&&!Pa(e)?(this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):this._state=this.baseState,this._index--):this.entityExcess++},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(1===this.baseState||24===this.baseState)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this._index&&(1===this._state||24===this._state&&0===this.sequenceIndex)&&(this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.sectionStart=this._index);var e=this.sectionStart<0?this._index:this.sectionStart;this.buffer=e===this.buffer.length?"":this.buffer.substr(e),this._index-=e,this.bufferOffset+=e,this.sectionStart>0&&(this.sectionStart=0)},e.prototype.shouldContinue=function(){return this._index<this.buffer.length&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this._index);1===this._state?this.stateText(e):23===this._state?this.stateSpecialStartSequence(e):24===this._state?this.stateInSpecialTag(e):19===this._state?this.stateCDATASequence(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):21===this._state?this.stateInCommentLike(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):22===this._state?this.stateBeforeSpecialS(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):18===this._state?this.stateBeforeComment(e):17===this._state?this.stateInProcessingInstruction(e):27===this._state?this.stateInNamedEntity(e):25===this._state?this.stateBeforeEntity(e):29===this._state?this.stateInHexEntity(e):28===this._state?this.stateInNumericEntity(e):this.stateBeforeNumericEntity(e),this._index++}this.cleanup()},e.prototype.finish=function(){27===this._state&&this.emitNamedEntity(),this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);21===this._state?this.currentSequence===Da.CdataEnd?this.cbs.oncdata(e):this.cbs.oncomment(e):28===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):29===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):3===this._state||8===this._state||11===this._state||10===this._state||9===this._state||13===this._state||12===this._state||14===this._state||6===this._state||this.cbs.ontext(e)},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitPartial=function(e){1!==this.baseState&&24!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}(),za=Object.defineProperty({default:Ma},"__esModule",{value:!0}),Oa=d.createCommonjsModule((function(e,t){var a=d.commonjsGlobal&&d.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var i=a(za),n=new Set(["input","option","optgroup","select","button","datalist","textarea"]),o=new Set(["p"]),r=new Set(["thead","tbody"]),l=new Set(["dd","dt"]),s=new Set(["rt","rp"]),c=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",o],["h1",o],["h2",o],["h3",o],["h4",o],["h5",o],["h6",o],["select",n],["input",n],["output",n],["button",n],["datalist",n],["textarea",n],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",l],["dt",l],["address",o],["article",o],["aside",o],["blockquote",o],["details",o],["div",o],["dl",o],["fieldset",o],["figcaption",o],["figure",o],["footer",o],["form",o],["header",o],["hr",o],["main",o],["nav",o],["ol",o],["pre",o],["section",o],["table",o],["ul",o],["rt",s],["rp",s],["tbody",r],["tfoot",r]]),u=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),p=new Set(["math","svg"]),m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),h=/\s|\//,g=function(){function e(e,t){var a,n,o,r,l;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(a=t.lowerCaseTags)&&void 0!==a?a:!t.xmlMode,this.lowerCaseAttributeNames=null!==(n=t.lowerCaseAttributeNames)&&void 0!==n?n:!t.xmlMode,this.tokenizer=new(null!==(o=t.Tokenizer)&&void 0!==o?o:i.default)(this.options,this),null===(l=(r=this.cbs).onparserinit)||void 0===l||l.call(r,this)}return e.prototype.ontext=function(e){var t,a,i=this.tokenizer.getAbsoluteIndex();this.endIndex=i-1,null===(a=(t=this.cbs).ontext)||void 0===a||a.call(t,e),this.startIndex=i},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&u.has(e)},e.prototype.onopentagname=function(e){this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),this.emitOpenTag(e)},e.prototype.emitOpenTag=function(e){var t,a,i,n;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&c.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var r=this.stack.pop();null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,r,!0)}this.isVoidElement(e)||(this.stack.push(e),p.has(e)?this.foreignContext.push(!0):m.has(e)&&this.foreignContext.push(!1)),null===(n=(i=this.cbs).onopentagname)||void 0===n||n.call(i,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,a;this.startIndex=this.openTagStart,this.endIndex=this.tokenizer.getAbsoluteIndex(),this.attribs&&(null===(a=(t=this.cbs).onopentag)||void 0===a||a.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(){this.endOpenTag(!1),this.startIndex=this.endIndex+1},e.prototype.onclosetag=function(e){var t,a,i,n,o,r;if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),(p.has(e)||m.has(e))&&this.foreignContext.pop(),this.isVoidElement(e))this.options.xmlMode||"br"!==e||(null===(a=(t=this.cbs).onopentagname)||void 0===a||a.call(t,e),null===(n=(i=this.cbs).onopentag)||void 0===n||n.call(i,e,{},!0),null===(r=(o=this.cbs).onclosetag)||void 0===r||r.call(o,e,!1));else{var l=this.stack.lastIndexOf(e);if(-1!==l)if(this.cbs.onclosetag)for(var s=this.stack.length-l;s--;)this.cbs.onclosetag(this.stack.pop(),0!==s);else this.stack.length=l;else this.options.xmlMode||"p"!==e||(this.emitOpenTag(e),this.closeCurrentTag(!0))}this.startIndex=this.endIndex+1},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=this.endIndex+1):this.onopentagend()},e.prototype.closeCurrentTag=function(e){var t,a,i=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===i&&(null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,i,!e),this.stack.pop())},e.prototype.onattribname=function(e){this.startIndex=this.tokenizer.getAbsoluteSectionStart(),this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,a;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).onattribute)||void 0===a||a.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(h),a=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(a=a.toLowerCase()),a},e.prototype.ondeclaration=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}this.startIndex=this.endIndex+1},e.prototype.onprocessinginstruction=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}this.startIndex=this.endIndex+1},e.prototype.oncomment=function(e){var t,a,i,n;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).oncomment)||void 0===a||a.call(t,e),null===(n=(i=this.cbs).oncommentend)||void 0===n||n.call(i),this.startIndex=this.endIndex+1},e.prototype.oncdata=function(e){var t,a,i,n,o,r,l,s,d,c;this.endIndex=this.tokenizer.getAbsoluteIndex(),this.options.xmlMode||this.options.recognizeCDATA?(null===(a=(t=this.cbs).oncdatastart)||void 0===a||a.call(t),null===(n=(i=this.cbs).ontext)||void 0===n||n.call(i,e),null===(r=(o=this.cbs).oncdataend)||void 0===r||r.call(o)):(null===(s=(l=this.cbs).oncomment)||void 0===s||s.call(l,"[CDATA["+e+"]]"),null===(c=(d=this.cbs).oncommentend)||void 0===c||c.call(d)),this.startIndex=this.endIndex+1},e.prototype.onerror=function(e){var t,a;null===(a=(t=this.cbs).onerror)||void 0===a||a.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var a=this.stack.length;a>0;this.cbs.onclosetag(this.stack[--a],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,a,i;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],this.startIndex=0,this.endIndex=0,null===(i=(a=this.cbs).onparserinit)||void 0===i||i.call(a,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=g})),La=d.createCommonjsModule((function(e,t){var a;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(a=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===a.Tag||e.type===a.Script||e.type===a.Style},t.Root=a.Root,t.Text=a.Text,t.Directive=a.Directive,t.Comment=a.Comment,t.Script=a.Script,t.Style=a.Style,t.Tag=a.Tag,t.CDATA=a.CDATA,t.Doctype=a.Doctype})),_a=d.createCommonjsModule((function(e,t){var a,i=d.commonjsGlobal&&d.commonjsGlobal.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),n=d.commonjsGlobal&&d.commonjsGlobal.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=new Map([[La.ElementType.Tag,1],[La.ElementType.Script,1],[La.ElementType.Style,1],[La.ElementType.Directive,1],[La.ElementType.Text,3],[La.ElementType.CDATA,4],[La.ElementType.Comment,8],[La.ElementType.Root,9]]),r=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=o.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),w(this,e)},e}();t.Node=r;var l=function(e){function t(t,a){var i=e.call(this,t)||this;return i.data=a,i}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(r);t.DataNode=l;var s=function(e){function t(t){return e.call(this,La.ElementType.Text,t)||this}return i(t,e),t}(l);t.Text=s;var c=function(e){function t(t){return e.call(this,La.ElementType.Comment,t)||this}return i(t,e),t}(l);t.Comment=c;var u=function(e){function t(t,a){var i=e.call(this,La.ElementType.Directive,a)||this;return i.name=t,i}return i(t,e),t}(l);t.ProcessingInstruction=u;var p=function(e){function t(t,a){var i=e.call(this,t)||this;return i.children=a,i}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(r);t.NodeWithChildren=p;var m=function(e){function t(t){return e.call(this,La.ElementType.Root,t)||this}return i(t,e),t}(p);t.Document=m;var h=function(e){function t(t,a,i,n){void 0===i&&(i=[]),void 0===n&&(n="script"===t?La.ElementType.Script:"style"===t?La.ElementType.Style:La.ElementType.Tag);var o=e.call(this,n,i)||this;return o.name=t,o.attribs=a,o}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var a,i;return{name:t,value:e.attribs[t],namespace:null===(a=e["x-attribsNamespace"])||void 0===a?void 0:a[t],prefix:null===(i=e["x-attribsPrefix"])||void 0===i?void 0:i[t]}}))},enumerable:!1,configurable:!0}),t}(p);function g(e){return(0,La.isTag)(e)}function f(e){return e.type===La.ElementType.CDATA}function b(e){return e.type===La.ElementType.Text}function x(e){return e.type===La.ElementType.Comment}function v(e){return e.type===La.ElementType.Directive}function y(e){return e.type===La.ElementType.Root}function w(e,t){var a;if(void 0===t&&(t=!1),b(e))a=new s(e.data);else if(x(e))a=new c(e.data);else if(g(e)){var i=t?C(e.children):[],o=new h(e.name,n({},e.attribs),i);i.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=n({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=n({},e["x-attribsPrefix"])),a=o}else if(f(e)){i=t?C(e.children):[];var r=new p(La.ElementType.CDATA,i);i.forEach((function(e){return e.parent=r})),a=r}else if(y(e)){i=t?C(e.children):[];var l=new m(i);i.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),a=l}else{if(!v(e))throw new Error("Not implemented yet: ".concat(e.type));var d=new u(e.name,e.data);null!=e["x-name"]&&(d["x-name"]=e["x-name"],d["x-publicId"]=e["x-publicId"],d["x-systemId"]=e["x-systemId"]),a=d}return a.startIndex=e.startIndex,a.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(a.sourceCodeLocation=e.sourceCodeLocation),a}function C(e){for(var t=e.map((function(e){return w(e,!0)})),a=1;a<t.length;a++)t[a].prev=t[a-1],t[a-1].next=t[a];return t}t.Element=h,t.isTag=g,t.isCDATA=f,t.isText=b,t.isComment=x,t.isDirective=v,t.isDocument=y,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=w})),Ra=d.createCommonjsModule((function(e,t){var a=d.commonjsGlobal&&d.commonjsGlobal.__createBinding||(Object.create?function(e,t,a,i){void 0===i&&(i=a);var n=Object.getOwnPropertyDescriptor(t,a);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,i,n)}:function(e,t,a,i){void 0===i&&(i=a),e[i]=t[a]}),i=d.commonjsGlobal&&d.commonjsGlobal.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||a(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0,i(_a,t);var n=/\s+/g,o={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},r=function(){function e(e,t,a){this.dom=[],this.root=new _a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(a=t,t=o),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:o,this.elementCB=null!=a?a:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new _a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var a=this.options.xmlMode?La.ElementType.Tag:void 0,i=new _a.Element(e,t,void 0,a);this.addNode(i),this.tagStack.push(i)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,a=this.lastNode;if(a&&a.type===La.ElementType.Text)t?a.data=(a.data+e).replace(n," "):a.data+=e,this.options.withEndIndices&&(a.endIndex=this.parser.endIndex);else{t&&(e=e.replace(n," "));var i=new _a.Text(e);this.addNode(i),this.lastNode=i}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===La.ElementType.Comment)this.lastNode.data+=e;else{var t=new _a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new _a.Text(""),t=new _a.NodeWithChildren(La.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var a=new _a.ProcessingInstruction(e,t);this.addNode(a)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],a=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),a&&(e.prev=a,a.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=r,t.default=r}));var ja=function(e){for(var t=0,a=e.length;t<a;t++){e[t].parent=null}return e},$a=Ra,Fa=Oa.Parser,Ua=$a.DomHandler,Va=ja;var Ha=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string.");if(""===e)return[];var a=new Ua(void 0,t);return new Fa(a,t).end(e),Va(a.dom)};Ha="function"==typeof Ha.default?Ha.default:Ha;var qa={lowerCaseAttributeNames:!1};function Ga(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:ga(Ha(e,(t=t||{}).htmlparser2||qa),t)}Ga.domToReact=ga,Ga.htmlToDOM=Ha,Ga.attributesToProps=ca,Ga.Element=$a.Element;var Wa=Ga,Qa=Ga;Wa.default=Qa,Wa.domToReact,Wa.htmlToDOM,Wa.attributesToProps,Wa.Element,Q.default.div`
|
|
1878
1878
|
margin-top: 13px;
|
|
1879
1879
|
&[data-is-mobile='false'] {
|
|
1880
1880
|
display: flex;
|
|
@@ -1889,7 +1889,7 @@
|
|
|
1889
1889
|
&[data-is-mobile='false'] {
|
|
1890
1890
|
max-width: 540px;
|
|
1891
1891
|
}
|
|
1892
|
-
${
|
|
1892
|
+
${h.MediaQueries.tdUp} {
|
|
1893
1893
|
padding-right: 120px;
|
|
1894
1894
|
}
|
|
1895
1895
|
`,Q.default.div`
|
|
@@ -1924,20 +1924,20 @@
|
|
|
1924
1924
|
|
|
1925
1925
|
align-items: center;
|
|
1926
1926
|
|
|
1927
|
-
${
|
|
1927
|
+
${h.MediaQueries.mbUp} {
|
|
1928
1928
|
img {
|
|
1929
1929
|
width: 190px;
|
|
1930
1930
|
height: 155px;
|
|
1931
1931
|
}
|
|
1932
1932
|
}
|
|
1933
|
-
${
|
|
1933
|
+
${h.MediaQueries.mbDown} {
|
|
1934
1934
|
width: 70px;
|
|
1935
1935
|
}
|
|
1936
|
-
`,Xa="hhgcomp-toolbanner-iconcontainer";
|
|
1936
|
+
`,Xa="hhgcomp-toolbanner-iconcontainer";d.getDefaultClassWrapper(Za,Xa),Q.default.div`
|
|
1937
1937
|
position: relative;
|
|
1938
1938
|
z-index: 1;
|
|
1939
1939
|
max-width: 100%;
|
|
1940
|
-
${
|
|
1940
|
+
${h.MediaQueries.mbUp} {
|
|
1941
1941
|
padding: 23px 40px;
|
|
1942
1942
|
max-width: calc(100% - 210px);
|
|
1943
1943
|
&[data-is-side='true'] {
|
|
@@ -1946,7 +1946,7 @@
|
|
|
1946
1946
|
}
|
|
1947
1947
|
`;const Ya=Q.default.div`
|
|
1948
1948
|
position: relative;
|
|
1949
|
-
`,Ka="hhgcomp-toolbanner-inner";
|
|
1949
|
+
`,Ka="hhgcomp-toolbanner-inner";d.getDefaultClassWrapper(Ya,Ka);const Ja=Q.default.div`
|
|
1950
1950
|
position: relative;
|
|
1951
1951
|
width: 100%;
|
|
1952
1952
|
height: 100%;
|
|
@@ -1962,9 +1962,9 @@
|
|
|
1962
1962
|
border-top-right-radius: 16px;
|
|
1963
1963
|
}
|
|
1964
1964
|
}
|
|
1965
|
-
`,ei="hhgcomp-toolbanner-wrapper",ti=
|
|
1965
|
+
`,ei="hhgcomp-toolbanner-wrapper",ti=d.getDefaultClassWrapper(Ja,ei),ai=Q.default.div`
|
|
1966
1966
|
width: 100%;
|
|
1967
|
-
${
|
|
1967
|
+
${h.MediaQueries.mbDown} {
|
|
1968
1968
|
padding-bottom: 24px;
|
|
1969
1969
|
}
|
|
1970
1970
|
|
|
@@ -1977,18 +1977,18 @@
|
|
|
1977
1977
|
a {
|
|
1978
1978
|
text-decoration: underline;
|
|
1979
1979
|
}
|
|
1980
|
-
${
|
|
1980
|
+
${h.MediaQueries.mbDown} {
|
|
1981
1981
|
padding-bottom: 0;
|
|
1982
1982
|
}
|
|
1983
1983
|
}
|
|
1984
1984
|
|
|
1985
|
-
${
|
|
1985
|
+
${h.MediaQueries.tdDown} {
|
|
1986
1986
|
height: auto;
|
|
1987
1987
|
.${ei} {
|
|
1988
1988
|
.${Ka} {
|
|
1989
1989
|
display: flex;
|
|
1990
1990
|
align-items: center;
|
|
1991
|
-
${
|
|
1991
|
+
${h.MediaQueries.mbDown} {
|
|
1992
1992
|
justify-content: space-between;
|
|
1993
1993
|
}
|
|
1994
1994
|
.${Xa} {
|
|
@@ -2001,7 +2001,7 @@
|
|
|
2001
2001
|
min-height: 0;
|
|
2002
2002
|
align-self: flex-end;
|
|
2003
2003
|
margin-bottom: -20px;
|
|
2004
|
-
${
|
|
2004
|
+
${h.MediaQueries.mbDown} {
|
|
2005
2005
|
right: unset;
|
|
2006
2006
|
}
|
|
2007
2007
|
}
|
|
@@ -2016,7 +2016,7 @@
|
|
|
2016
2016
|
gap: 16px;
|
|
2017
2017
|
width: 100%;
|
|
2018
2018
|
background-color: ;
|
|
2019
|
-
${
|
|
2019
|
+
${h.MediaQueries.mbDown} {
|
|
2020
2020
|
padding: 16px 0;
|
|
2021
2021
|
}
|
|
2022
2022
|
`,ni=Q.default.div`
|
|
@@ -2066,7 +2066,7 @@
|
|
|
2066
2066
|
height: 14px;
|
|
2067
2067
|
}
|
|
2068
2068
|
}
|
|
2069
|
-
`,li=({className:e,heading:t,color:n="blue",isMobile:o,bannerUrl:r,bannerUrlLarge:l,bannerColor:s,medicalReview:c={link:"#",reviewer:"",date:""},icon:u,style:p,siteType:m,isEmbeded:h})=>{var g,f;const{t:b}=
|
|
2069
|
+
`,li=({className:e,heading:t,color:n="blue",isMobile:o,bannerUrl:r,bannerUrlLarge:l,bannerColor:s,medicalReview:c={link:"#",reviewer:"",date:""},icon:u,style:p,siteType:m,isEmbeded:h})=>{var g,f;const{t:b}=i.useTranslations(),x=a.useMantineTheme(),v=o?r:l||r,y={pink:[8,6]},w=x.colors[n]||x.colors.blue,C=(null==c?void 0:c.reviewer)?q.default.createElement(d.Text,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},q.default.createElement("div",{dangerouslySetInnerHTML:{__html:b("toolPage.toolReviewer",{expert_name:`<a href="${c.link}">${c.reviewer.trim()}</a>`,date:c.date})}})):null;return q.default.createElement(ai,{"data-is-mobile":o,style:p,"data-site":m},q.default.createElement(ti,{className:e,"data-banner-url":v,"data-is-mobile":o,"data-site":m,"data-banner-color":s,"data-is-embedded":h,bgColor:`linear-gradient(71deg, ${null==w?void 0:w[(null===(g=y[n])||void 0===g?void 0:g[0])||7]} -4.07%, ${null==w?void 0:w[(null===(f=y[n])||void 0===f?void 0:f[1])||4]} 90.13%)}`},"marryBaby"===m&&h?q.default.createElement(ii,null,q.default.createElement(ni,null,u),q.default.createElement(oi,null,q.default.createElement(d.Heading,{color:"white",tag:"h5",as:"h2"},t),c&&q.default.createElement(ri,{"data-is-mobile":o},C))):q.default.createElement(a.Flex,{gap:a.rem(24),align:"center",justify:"space-between",sx:{padding:`${a.rem(13)} ${a.rem(20)}`,gap:a.rem(24)}},q.default.createElement(a.Box,null,q.default.createElement(d.Heading,{tag:"h5",as:"h2",color:"#fff"},t),c&&q.default.createElement(d.Text,{size:"n1",as:"div"},C)),q.default.createElement(a.Flex,{justify:"center",align:"center",sx:e=>{var t,i;return{width:a.rem(64),height:a.rem(64),borderRadius:"50%",background:(null===(i=null===(t=e.colors)||void 0===t?void 0:t[n])||void 0===i?void 0:i[0])||e.colors.blue[0],flexShrink:0,img:{maxWidth:a.rem(48),maxHeight:a.rem(48)},[e.fn.smallerThan("sm")]:{width:a.rem(56),height:a.rem(56),img:{maxWidth:a.rem(40),maxHeight:a.rem(40)}}}}},u))))},si=Q.default(Ce)`
|
|
2070
2070
|
border-color: ${e=>e.theme.mbColors.lightGray};
|
|
2071
2071
|
background-color: ${e=>e.theme.colors.white};
|
|
2072
2072
|
border-radius: 16px;
|
|
@@ -2077,12 +2077,12 @@
|
|
|
2077
2077
|
}
|
|
2078
2078
|
|
|
2079
2079
|
& > ul {
|
|
2080
|
-
z-index: ${
|
|
2080
|
+
z-index: ${d.Z_INDEX.menuSearchPopup};
|
|
2081
2081
|
max-height: 300px;
|
|
2082
2082
|
overflow-y: auto;
|
|
2083
2083
|
}
|
|
2084
2084
|
|
|
2085
|
-
${e=>e.groupedWithLabel&&
|
|
2085
|
+
${e=>e.groupedWithLabel&&c.css`
|
|
2086
2086
|
& > div:first-child {
|
|
2087
2087
|
color: ${e=>e.theme.mbColors.midGray};
|
|
2088
2088
|
font-size: 12px;
|
|
@@ -2092,7 +2092,7 @@
|
|
|
2092
2092
|
&[data-dropdown-open='true'] {
|
|
2093
2093
|
border-color: ${e=>e.theme.mbColors.pink};
|
|
2094
2094
|
}
|
|
2095
|
-
`;Q.default(
|
|
2095
|
+
`;Q.default(d.PureInput)`
|
|
2096
2096
|
& input {
|
|
2097
2097
|
border-color: ${e=>e.theme.mbColors.lightGray};
|
|
2098
2098
|
background-color: ${e=>e.theme.colors.white};
|
|
@@ -2108,7 +2108,7 @@
|
|
|
2108
2108
|
& .displayIcon {
|
|
2109
2109
|
pointer-events: none;
|
|
2110
2110
|
}
|
|
2111
|
-
`;const di=Q.default(
|
|
2111
|
+
`;const di=Q.default(A.Input)`
|
|
2112
2112
|
& label {
|
|
2113
2113
|
position: absolute;
|
|
2114
2114
|
z-index: 1;
|
|
@@ -2127,7 +2127,7 @@
|
|
|
2127
2127
|
font-size: 12px;
|
|
2128
2128
|
}
|
|
2129
2129
|
|
|
2130
|
-
${
|
|
2130
|
+
${h.MediaQueries.tdDown} {
|
|
2131
2131
|
max-width: 220px;
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
@@ -2194,10 +2194,10 @@
|
|
|
2194
2194
|
min-width: unset;
|
|
2195
2195
|
max-width: unset;
|
|
2196
2196
|
|
|
2197
|
-
${
|
|
2197
|
+
${h.MediaQueries.mbDown} {
|
|
2198
2198
|
font-size: 14px;
|
|
2199
2199
|
}
|
|
2200
|
-
${
|
|
2200
|
+
${h.MediaQueries.tdUp} {
|
|
2201
2201
|
font-size: 16px;
|
|
2202
2202
|
&[data-is-side='true'] {
|
|
2203
2203
|
font-size: 14px;
|
|
@@ -2226,14 +2226,14 @@
|
|
|
2226
2226
|
}
|
|
2227
2227
|
input {
|
|
2228
2228
|
&[data-is-side='true'] {
|
|
2229
|
-
${
|
|
2229
|
+
${h.MediaQueries.tdUp} {
|
|
2230
2230
|
font-size: 14px;
|
|
2231
2231
|
}
|
|
2232
2232
|
}
|
|
2233
|
-
${
|
|
2233
|
+
${h.MediaQueries.mbDown} {
|
|
2234
2234
|
font-size: 14px;
|
|
2235
2235
|
}
|
|
2236
|
-
${
|
|
2236
|
+
${h.MediaQueries.tdUp} {
|
|
2237
2237
|
font-size: 16px;
|
|
2238
2238
|
}
|
|
2239
2239
|
}
|
|
@@ -2266,7 +2266,7 @@
|
|
|
2266
2266
|
`,Q.default.div`
|
|
2267
2267
|
padding-bottom: 2px;
|
|
2268
2268
|
margin: auto;
|
|
2269
|
-
${
|
|
2269
|
+
${h.MediaQueries.mbUp} {
|
|
2270
2270
|
width: 100%;
|
|
2271
2271
|
padding: 24px;
|
|
2272
2272
|
}
|
|
@@ -2275,7 +2275,7 @@
|
|
|
2275
2275
|
width: 100%;
|
|
2276
2276
|
margin-bottom: 0;
|
|
2277
2277
|
}
|
|
2278
|
-
${
|
|
2278
|
+
${h.MediaQueries.mbDown} {
|
|
2279
2279
|
width: 100%;
|
|
2280
2280
|
margin-bottom: 0;
|
|
2281
2281
|
}
|
|
@@ -2294,7 +2294,7 @@
|
|
|
2294
2294
|
& > div {
|
|
2295
2295
|
width: calc(50% - 8px);
|
|
2296
2296
|
|
|
2297
|
-
${
|
|
2297
|
+
${h.MediaQueries.mbUp} {
|
|
2298
2298
|
max-width: 186px;
|
|
2299
2299
|
justify-self: left;
|
|
2300
2300
|
}
|
|
@@ -2316,14 +2316,14 @@
|
|
|
2316
2316
|
width: 100%;
|
|
2317
2317
|
display: flex;
|
|
2318
2318
|
justify-content: center;
|
|
2319
|
-
${
|
|
2319
|
+
${h.MediaQueries.mbUp} {
|
|
2320
2320
|
padding: 0 16px;
|
|
2321
2321
|
&[data-is-side='true'] {
|
|
2322
2322
|
margin-top: 24px;
|
|
2323
2323
|
}
|
|
2324
2324
|
}
|
|
2325
2325
|
|
|
2326
|
-
${
|
|
2326
|
+
${h.MediaQueries.mbDown} {
|
|
2327
2327
|
margin-top: 24px;
|
|
2328
2328
|
&[data-site='marryBaby'] {
|
|
2329
2329
|
margin-top: 12px;
|
|
@@ -2336,12 +2336,12 @@
|
|
|
2336
2336
|
button {
|
|
2337
2337
|
width: 100%;
|
|
2338
2338
|
margin: auto;
|
|
2339
|
-
${
|
|
2339
|
+
${h.MediaQueries.mbUp} {
|
|
2340
2340
|
max-width: 200px;
|
|
2341
2341
|
}
|
|
2342
2342
|
}
|
|
2343
2343
|
`;Q.default.div`
|
|
2344
|
-
${
|
|
2344
|
+
${h.MediaQueries.mbUp} {
|
|
2345
2345
|
padding-left: 16px;
|
|
2346
2346
|
padding-right: 16px;
|
|
2347
2347
|
}
|
|
@@ -2352,7 +2352,7 @@
|
|
|
2352
2352
|
margin-bottom: 28px;
|
|
2353
2353
|
}
|
|
2354
2354
|
`,Q.default.div`
|
|
2355
|
-
${
|
|
2355
|
+
${h.MediaQueries.mbUp} {
|
|
2356
2356
|
padding-left: 16px;
|
|
2357
2357
|
padding-right: 16px;
|
|
2358
2358
|
}
|
|
@@ -2368,28 +2368,28 @@
|
|
|
2368
2368
|
`,Q.default.div`
|
|
2369
2369
|
margin-bottom: 32px;
|
|
2370
2370
|
|
|
2371
|
-
${
|
|
2371
|
+
${h.MediaQueries.mbUp} {
|
|
2372
2372
|
padding-left: 16px;
|
|
2373
2373
|
padding-right: 16px;
|
|
2374
2374
|
}
|
|
2375
2375
|
`,Q.default.div`
|
|
2376
2376
|
margin-bottom: 32px;
|
|
2377
2377
|
|
|
2378
|
-
${
|
|
2378
|
+
${h.MediaQueries.mbUp} {
|
|
2379
2379
|
padding-left: 16px;
|
|
2380
2380
|
padding-right: 16px;
|
|
2381
2381
|
}
|
|
2382
2382
|
`,Q.default.div`
|
|
2383
2383
|
margin-bottom: 16px;
|
|
2384
2384
|
|
|
2385
|
-
${
|
|
2385
|
+
${h.MediaQueries.mbUp} {
|
|
2386
2386
|
padding-left: 16px;
|
|
2387
2387
|
padding-right: 16px;
|
|
2388
2388
|
}
|
|
2389
2389
|
`,Q.default.div`
|
|
2390
2390
|
margin-bottom: 24px;
|
|
2391
2391
|
|
|
2392
|
-
${
|
|
2392
|
+
${h.MediaQueries.mbUp} {
|
|
2393
2393
|
padding-left: 16px;
|
|
2394
2394
|
padding-right: 16px;
|
|
2395
2395
|
}
|
|
@@ -2401,7 +2401,7 @@
|
|
|
2401
2401
|
margin-bottom: 8px;
|
|
2402
2402
|
}
|
|
2403
2403
|
|
|
2404
|
-
${
|
|
2404
|
+
${h.MediaQueries.mbUp} {
|
|
2405
2405
|
padding-left: 16px;
|
|
2406
2406
|
padding-right: 16px;
|
|
2407
2407
|
}
|
|
@@ -2412,7 +2412,7 @@
|
|
|
2412
2412
|
margin-bottom: 8px;
|
|
2413
2413
|
}
|
|
2414
2414
|
|
|
2415
|
-
${
|
|
2415
|
+
${h.MediaQueries.mbUp} {
|
|
2416
2416
|
padding-left: 16px;
|
|
2417
2417
|
padding-right: 16px;
|
|
2418
2418
|
}
|
|
@@ -2423,14 +2423,14 @@
|
|
|
2423
2423
|
margin-bottom: 24px;
|
|
2424
2424
|
}
|
|
2425
2425
|
|
|
2426
|
-
${
|
|
2426
|
+
${h.MediaQueries.mbUp} {
|
|
2427
2427
|
padding-left: 16px;
|
|
2428
2428
|
padding-right: 16px;
|
|
2429
2429
|
}
|
|
2430
2430
|
`,Q.default.div`
|
|
2431
2431
|
padding: 68px 0 56px 0;
|
|
2432
2432
|
|
|
2433
|
-
${
|
|
2433
|
+
${h.MediaQueries.mbUp} {
|
|
2434
2434
|
padding: 84px 0 72px 0;
|
|
2435
2435
|
}
|
|
2436
2436
|
`,Q.default.div`
|
|
@@ -2444,7 +2444,7 @@
|
|
|
2444
2444
|
display: -webkit-box;
|
|
2445
2445
|
-webkit-box-orient: vertical;
|
|
2446
2446
|
}
|
|
2447
|
-
${
|
|
2447
|
+
${h.MediaQueries.mbUp} {
|
|
2448
2448
|
padding-right: 16px;
|
|
2449
2449
|
padding-bottom: 10px;
|
|
2450
2450
|
flex-wrap: wrap;
|
|
@@ -2460,7 +2460,7 @@
|
|
|
2460
2460
|
}
|
|
2461
2461
|
}
|
|
2462
2462
|
|
|
2463
|
-
${
|
|
2463
|
+
${h.MediaQueries.mbDown} {
|
|
2464
2464
|
width: 100%;
|
|
2465
2465
|
margin-bottom: 15px;
|
|
2466
2466
|
|
|
@@ -2478,7 +2478,7 @@
|
|
|
2478
2478
|
flex-direction: column;
|
|
2479
2479
|
}
|
|
2480
2480
|
|
|
2481
|
-
${
|
|
2481
|
+
${h.MediaQueries.mbDown} {
|
|
2482
2482
|
flex-direction: column;
|
|
2483
2483
|
.input-section {
|
|
2484
2484
|
width: 100%;
|
|
@@ -2493,7 +2493,7 @@
|
|
|
2493
2493
|
margin-bottom: 9px;
|
|
2494
2494
|
}
|
|
2495
2495
|
}
|
|
2496
|
-
${
|
|
2496
|
+
${h.MediaQueries.mbDown} {
|
|
2497
2497
|
.label {
|
|
2498
2498
|
margin-bottom: 9px;
|
|
2499
2499
|
}
|
|
@@ -2515,7 +2515,7 @@
|
|
|
2515
2515
|
margin-bottom: 24px;
|
|
2516
2516
|
width: 100%;
|
|
2517
2517
|
|
|
2518
|
-
${
|
|
2518
|
+
${h.MediaQueries.mbUp} {
|
|
2519
2519
|
padding: 0 16px;
|
|
2520
2520
|
}
|
|
2521
2521
|
.card {
|
|
@@ -2535,13 +2535,13 @@
|
|
|
2535
2535
|
}
|
|
2536
2536
|
|
|
2537
2537
|
& > div {
|
|
2538
|
-
${
|
|
2538
|
+
${h.MediaQueries.mbUp} {
|
|
2539
2539
|
width: calc(18% - 4px);
|
|
2540
2540
|
max-width: 186px;
|
|
2541
2541
|
justify-self: left;
|
|
2542
2542
|
}
|
|
2543
2543
|
|
|
2544
|
-
${
|
|
2544
|
+
${h.MediaQueries.mbDown} {
|
|
2545
2545
|
width: calc(31% - 8px);
|
|
2546
2546
|
max-width: 109px;
|
|
2547
2547
|
justify-self: left;
|
|
@@ -2563,25 +2563,25 @@
|
|
|
2563
2563
|
}
|
|
2564
2564
|
`,Ei=Q.default.form`
|
|
2565
2565
|
margin: auto;
|
|
2566
|
-
${
|
|
2566
|
+
${h.MediaQueries.mbUp} {
|
|
2567
2567
|
width: 100%;
|
|
2568
2568
|
padding: 20px;
|
|
2569
2569
|
display: flex;
|
|
2570
2570
|
justify-content: space-between;
|
|
2571
2571
|
flex-wrap: wrap;
|
|
2572
2572
|
}
|
|
2573
|
-
${
|
|
2573
|
+
${h.MediaQueries.mbDown} {
|
|
2574
2574
|
padding: 16px;
|
|
2575
2575
|
}
|
|
2576
2576
|
.due-date-calculate-button {
|
|
2577
2577
|
width: 100%;
|
|
2578
2578
|
margin: 12px auto 0;
|
|
2579
|
-
${
|
|
2579
|
+
${h.MediaQueries.mbUp} {
|
|
2580
2580
|
max-width: 200px;
|
|
2581
2581
|
}
|
|
2582
2582
|
}
|
|
2583
2583
|
&[data-is-side='true'] {
|
|
2584
|
-
${
|
|
2584
|
+
${h.MediaQueries.mbUp} {
|
|
2585
2585
|
padding: 24px 40px 0px 40px;
|
|
2586
2586
|
}
|
|
2587
2587
|
}
|
|
@@ -2594,17 +2594,17 @@
|
|
|
2594
2594
|
.input-form {
|
|
2595
2595
|
display: flex;
|
|
2596
2596
|
|
|
2597
|
-
${
|
|
2597
|
+
${h.MediaQueries.mbUp} {
|
|
2598
2598
|
margin-bottom: 24px;
|
|
2599
2599
|
width: calc(50% - 8px);
|
|
2600
2600
|
}
|
|
2601
2601
|
&[data-is-side='true'] {
|
|
2602
|
-
${
|
|
2602
|
+
${h.MediaQueries.mbUp} {
|
|
2603
2603
|
margin-bottom: 8px;
|
|
2604
2604
|
width: 100%;
|
|
2605
2605
|
}
|
|
2606
2606
|
}
|
|
2607
|
-
${
|
|
2607
|
+
${h.MediaQueries.mbDown} {
|
|
2608
2608
|
margin-bottom: 8px;
|
|
2609
2609
|
}
|
|
2610
2610
|
.label-text {
|
|
@@ -2619,15 +2619,15 @@
|
|
|
2619
2619
|
display: flex;
|
|
2620
2620
|
width: calc(50% - 8px);
|
|
2621
2621
|
|
|
2622
|
-
${
|
|
2622
|
+
${h.MediaQueries.mbUp} {
|
|
2623
2623
|
margin-bottom: 24px;
|
|
2624
2624
|
}
|
|
2625
2625
|
&[data-is-side='true'] {
|
|
2626
|
-
${
|
|
2626
|
+
${h.MediaQueries.mbUp} {
|
|
2627
2627
|
margin-bottom: 8px;
|
|
2628
2628
|
}
|
|
2629
2629
|
}
|
|
2630
|
-
${
|
|
2630
|
+
${h.MediaQueries.mbDown} {
|
|
2631
2631
|
margin-bottom: 8px;
|
|
2632
2632
|
width: 100%;
|
|
2633
2633
|
}
|
|
@@ -2641,14 +2641,14 @@
|
|
|
2641
2641
|
}
|
|
2642
2642
|
.day-slider {
|
|
2643
2643
|
width: 100%;
|
|
2644
|
-
${
|
|
2644
|
+
${h.MediaQueries.mbUp} {
|
|
2645
2645
|
width: calc(50% - 8px);
|
|
2646
2646
|
&[data-is-side='true'] {
|
|
2647
2647
|
width: 100%;
|
|
2648
2648
|
}
|
|
2649
2649
|
}
|
|
2650
2650
|
}
|
|
2651
|
-
`,ki="hhgcomp-embedtoolcard-content",Si=
|
|
2651
|
+
`,ki="hhgcomp-embedtoolcard-content",Si=d.getDefaultClassWrapper(Ei,ki),Ai=Q.default.div`
|
|
2652
2652
|
padding: 0;
|
|
2653
2653
|
background-color: white;
|
|
2654
2654
|
border: 1px solid #e4e8ec;
|
|
@@ -2660,10 +2660,10 @@
|
|
|
2660
2660
|
}
|
|
2661
2661
|
.due-date-cal {
|
|
2662
2662
|
.${ki} {
|
|
2663
|
-
${
|
|
2663
|
+
${h.MediaQueries.mbUp} {
|
|
2664
2664
|
padding: 24px;
|
|
2665
2665
|
}
|
|
2666
|
-
${
|
|
2666
|
+
${h.MediaQueries.mbDown} {
|
|
2667
2667
|
padding: 16px;
|
|
2668
2668
|
}
|
|
2669
2669
|
}
|
|
@@ -2691,17 +2691,17 @@
|
|
|
2691
2691
|
}
|
|
2692
2692
|
.input-form {
|
|
2693
2693
|
display: flex;
|
|
2694
|
-
${
|
|
2694
|
+
${h.MediaQueries.mbUp} {
|
|
2695
2695
|
width: calc(50% - 8px);
|
|
2696
2696
|
margin-bottom: 24px;
|
|
2697
2697
|
}
|
|
2698
2698
|
&[data-is-side='true'] {
|
|
2699
|
-
${
|
|
2699
|
+
${h.MediaQueries.mbUp} {
|
|
2700
2700
|
margin-bottom: 12px;
|
|
2701
2701
|
width: 100%;
|
|
2702
2702
|
}
|
|
2703
2703
|
}
|
|
2704
|
-
${
|
|
2704
|
+
${h.MediaQueries.mbDown} {
|
|
2705
2705
|
margin-bottom: 8px;
|
|
2706
2706
|
}
|
|
2707
2707
|
}
|
|
@@ -2744,7 +2744,7 @@
|
|
|
2744
2744
|
}
|
|
2745
2745
|
.input-form {
|
|
2746
2746
|
display: flex;
|
|
2747
|
-
${
|
|
2747
|
+
${h.MediaQueries.mbUp} {
|
|
2748
2748
|
width: calc(50% - 8px);
|
|
2749
2749
|
margin-bottom: 24px;
|
|
2750
2750
|
&[data-is-side='true'] {
|
|
@@ -2752,7 +2752,7 @@
|
|
|
2752
2752
|
width: 100%;
|
|
2753
2753
|
}
|
|
2754
2754
|
}
|
|
2755
|
-
${
|
|
2755
|
+
${h.MediaQueries.mbDown} {
|
|
2756
2756
|
margin-bottom: 8px;
|
|
2757
2757
|
}
|
|
2758
2758
|
}
|
|
@@ -2763,7 +2763,7 @@
|
|
|
2763
2763
|
flex-wrap: wrap;
|
|
2764
2764
|
justify-content: space-between;
|
|
2765
2765
|
}
|
|
2766
|
-
${
|
|
2766
|
+
${h.MediaQueries.mbDown} {
|
|
2767
2767
|
display: flex;
|
|
2768
2768
|
flex-wrap: wrap;
|
|
2769
2769
|
justify-content: space-between;
|
|
@@ -2772,22 +2772,22 @@
|
|
|
2772
2772
|
.hide-asking-mobile {
|
|
2773
2773
|
gap: 10px;
|
|
2774
2774
|
&[data-is-side='true'] {
|
|
2775
|
-
${
|
|
2775
|
+
${h.MediaQueries.mbUp} {
|
|
2776
2776
|
display: none;
|
|
2777
2777
|
}
|
|
2778
2778
|
}
|
|
2779
|
-
${
|
|
2779
|
+
${h.MediaQueries.mbDown} {
|
|
2780
2780
|
display: none;
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
|
2783
2783
|
.hide-asking-desk {
|
|
2784
2784
|
gap: 10px;
|
|
2785
2785
|
&[data-is-side='true'] {
|
|
2786
|
-
${
|
|
2786
|
+
${h.MediaQueries.mbUp} {
|
|
2787
2787
|
display: unset;
|
|
2788
2788
|
}
|
|
2789
2789
|
}
|
|
2790
|
-
${
|
|
2790
|
+
${h.MediaQueries.mbUp} {
|
|
2791
2791
|
display: none;
|
|
2792
2792
|
}
|
|
2793
2793
|
}
|
|
@@ -2807,13 +2807,13 @@
|
|
|
2807
2807
|
label {
|
|
2808
2808
|
font-size: 14px;
|
|
2809
2809
|
}
|
|
2810
|
-
`,Ni=Q.default(
|
|
2810
|
+
`,Ni=Q.default(d.Button)`
|
|
2811
2811
|
margin: 0 auto 24px;
|
|
2812
|
-
${
|
|
2812
|
+
${h.MediaQueries.mbUp} {
|
|
2813
2813
|
max-width: 200px;
|
|
2814
2814
|
margin: 24px auto;
|
|
2815
2815
|
}
|
|
2816
|
-
`,Ii=Q.default(
|
|
2816
|
+
`,Ii=Q.default(d.PureInput)`
|
|
2817
2817
|
&.bmi--input {
|
|
2818
2818
|
+ .bmi--input {
|
|
2819
2819
|
margin-top: 24px;
|
|
@@ -2835,7 +2835,7 @@
|
|
|
2835
2835
|
width: 100%;
|
|
2836
2836
|
gap: 16px;
|
|
2837
2837
|
> div {
|
|
2838
|
-
${
|
|
2838
|
+
${h.MediaQueries.mbDown} {
|
|
2839
2839
|
width: calc(50% - 8px);
|
|
2840
2840
|
}
|
|
2841
2841
|
width: calc(33% - 8px);
|
|
@@ -2851,7 +2851,7 @@
|
|
|
2851
2851
|
}
|
|
2852
2852
|
.bmi-side-embed {
|
|
2853
2853
|
> div {
|
|
2854
|
-
${
|
|
2854
|
+
${h.MediaQueries.mbUp} {
|
|
2855
2855
|
width: calc(50% - 8px);
|
|
2856
2856
|
}
|
|
2857
2857
|
}
|
|
@@ -2861,7 +2861,7 @@
|
|
|
2861
2861
|
}
|
|
2862
2862
|
}
|
|
2863
2863
|
|
|
2864
|
-
${
|
|
2864
|
+
${h.MediaQueries.mbDown} {
|
|
2865
2865
|
&.bmi--input {
|
|
2866
2866
|
.bmi--input-radio_gender {
|
|
2867
2867
|
> div {
|
|
@@ -2912,7 +2912,7 @@
|
|
|
2912
2912
|
}
|
|
2913
2913
|
}
|
|
2914
2914
|
`;const Di=Q.default.div`
|
|
2915
|
-
${
|
|
2915
|
+
${h.MediaQueries.mbUp} {
|
|
2916
2916
|
display: flex;
|
|
2917
2917
|
width: 100%;
|
|
2918
2918
|
align-items: flex-start;
|
|
@@ -2922,14 +2922,14 @@
|
|
|
2922
2922
|
width: 100%;
|
|
2923
2923
|
}
|
|
2924
2924
|
&[data-is-side='true'] {
|
|
2925
|
-
${
|
|
2925
|
+
${h.MediaQueries.mbUp} {
|
|
2926
2926
|
display: flex;
|
|
2927
2927
|
flex-direction: column;
|
|
2928
2928
|
gap: 0px;
|
|
2929
2929
|
}
|
|
2930
2930
|
}
|
|
2931
2931
|
}
|
|
2932
|
-
${
|
|
2932
|
+
${h.MediaQueries.mbDown} {
|
|
2933
2933
|
display: flex;
|
|
2934
2934
|
flex-direction: column;
|
|
2935
2935
|
gap: 0px;
|
|
@@ -3060,7 +3060,7 @@
|
|
|
3060
3060
|
width: 24px;
|
|
3061
3061
|
height: 24px;
|
|
3062
3062
|
flex-shrink: 0;
|
|
3063
|
-
`,Ri=Q.default(
|
|
3063
|
+
`,Ri=Q.default(d.PureInput)`
|
|
3064
3064
|
input[data-icon='true'] {
|
|
3065
3065
|
padding-right: 36px;
|
|
3066
3066
|
padding-left: 48px;
|
|
@@ -3092,7 +3092,7 @@
|
|
|
3092
3092
|
.error-input input {
|
|
3093
3093
|
border: 1px solid ${e=>e.theme.colors.red700};
|
|
3094
3094
|
}
|
|
3095
|
-
`,Ui=Q.default(
|
|
3095
|
+
`,Ui=Q.default(m.Label)`
|
|
3096
3096
|
display: inline-flex;
|
|
3097
3097
|
padding-bottom: 6px;
|
|
3098
3098
|
gap: 4px;
|
|
@@ -3106,7 +3106,7 @@
|
|
|
3106
3106
|
width: 100%;
|
|
3107
3107
|
}
|
|
3108
3108
|
`;Q.default.div`
|
|
3109
|
-
${
|
|
3109
|
+
${h.MediaQueries.mbUp} {
|
|
3110
3110
|
padding: 0 16px;
|
|
3111
3111
|
}
|
|
3112
3112
|
|
|
@@ -3124,7 +3124,7 @@
|
|
|
3124
3124
|
& > div {
|
|
3125
3125
|
width: calc(50% - 8px);
|
|
3126
3126
|
|
|
3127
|
-
${
|
|
3127
|
+
${h.MediaQueries.mbUp} {
|
|
3128
3128
|
max-width: 186px;
|
|
3129
3129
|
justify-self: left;
|
|
3130
3130
|
}
|
|
@@ -3138,7 +3138,7 @@
|
|
|
3138
3138
|
padding: 36px;
|
|
3139
3139
|
padding-top: 0;
|
|
3140
3140
|
background-color: white;
|
|
3141
|
-
${
|
|
3141
|
+
${h.MediaQueries.mbDown} {
|
|
3142
3142
|
padding: 16px;
|
|
3143
3143
|
padding-top: 0;
|
|
3144
3144
|
}
|
|
@@ -3147,11 +3147,11 @@
|
|
|
3147
3147
|
padding: 24px;
|
|
3148
3148
|
border-bottom-right-radius: 16px;
|
|
3149
3149
|
border-bottom-left-radius: 16px;
|
|
3150
|
-
${
|
|
3150
|
+
${h.MediaQueries.mbDown} {
|
|
3151
3151
|
padding: 16px;
|
|
3152
3152
|
}
|
|
3153
3153
|
}
|
|
3154
|
-
`,Gi=Q.default((({onSubmit:e,onError:n,schema:o,siteType:
|
|
3154
|
+
`,Gi=Q.default((({onSubmit:e,onError:n,schema:o,siteType:r})=>{const{t:l}=i.useTranslations(),s="mb"===a.useMantineTheme().other.template,{control:c,setValue:u,watch:p,handleSubmit:h,formState:{isSubmitted:b}}=N.useForm({resolver:I.yupResolver(o),mode:"onSubmit",defaultValues:{name:"",gender:f.Gender.Boy,measurementDate:new Date}}),x=p("weight"),v=p("height"),y=p("head"),w=t.useMemo((()=>b&&!x&&!v&&!y),[b,x,v,y]);t.useEffect((()=>{const e=Hi(v,x);u("bmi",String(e)||"0")}),[x,v]);const E=t.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return q.default.createElement(q.default.Fragment,null,q.default.createElement(ji,{"data-theme":r},q.default.createElement($i,{onSubmit:h(e,n)},q.default.createElement(N.Controller,{control:c,name:"gender",render:({field:{onChange:e,value:t}})=>q.default.createElement(C.BabyGrowthGender,{onChange:e,value:t,siteType:r})}),"marryBaby"===r?q.default.createElement(q.default.Fragment,null,q.default.createElement(N.Controller,{control:c,name:"birthday",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>q.default.createElement(Fi,null,q.default.createElement(di,{label:l("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(t),CustomInput:q.default.createElement(ge,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:i=>q.default.createElement(A.Input,Object.assign({onChange:e,className:(null==a?void 0:a.message)?"error-input":"",name:"birthday",size:"md"},i,{value:t&&Z.default(t).format(d.DUE_DATE_FORMAT)}))}),actionIcon:q.default.createElement(m.Icon.CalendarMB,{size:32})}))}),q.default.createElement(Vi,null,q.default.createElement(N.Controller,{control:c,name:"height",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>q.default.createElement(Fi,null,q.default.createElement(di,{label:`${l("babyGrowth.height")} ${l("babyGrowth.cm")}`,name:"height",size:"md",value:String(t),CustomInput:q.default.createElement(A.Input,{className:w||(null==a?void 0:a.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),q.default.createElement(N.Controller,{control:c,name:"weight",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>q.default.createElement(Fi,null,q.default.createElement(di,{label:`${l("babyGrowth.weight")} ${l("babyGrowth.kg")}`,name:"weight",size:"md",value:String(t),CustomInput:q.default.createElement(A.Input,{className:w||(null==a?void 0:a.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),q.default.createElement(Vi,null,q.default.createElement(N.Controller,{control:c,name:"head",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>q.default.createElement(Fi,null,q.default.createElement(di,{label:`${l("babyGrowth.headCircumference")} ${l("babyGrowth.cm")}`,name:"head",size:"md",value:String(t),CustomInput:q.default.createElement(A.Input,{className:w||(null==a?void 0:a.message)?"error-input":"",name:"head",size:"md",value:String(t),onChange:e,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),q.default.createElement(N.Controller,{control:c,name:"bmi",render:({field:{value:e}})=>q.default.createElement(Fi,null,q.default.createElement(di,{label:`${l("babyGrowth.input.bmi")} ${l("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(e),CustomInput:q.default.createElement(A.Input,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0,style:{color:"#9495A0"}})}))})),q.default.createElement(N.Controller,{control:c,name:"measurementDate",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>q.default.createElement(Fi,null,q.default.createElement(di,{label:l("babyGrowth.input.measurementDate"),name:"date",size:"md",value:fi(t),CustomInput:q.default.createElement(ge,{placeholder:t&&Z.default(t).format(d.DUE_DATE_FORMAT),pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:i=>q.default.createElement(A.Input,Object.assign({className:(null==a?void 0:a.message)&&"error-input",name:"measurementDate",size:"md",placeholder:t&&Z.default(t).format(d.DUE_DATE_FORMAT),onChange:e},i,{value:t&&Z.default(t).format(d.DUE_DATE_FORMAT)}))}),actionIcon:q.default.createElement(m.Icon.CalendarMB,{size:32})}))}),q.default.createElement(d.Button,{size:"lg",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":E},l("babyGrowth.input.submit"))):q.default.createElement(q.default.Fragment,null,q.default.createElement(N.Controller,{control:c,name:"birthday",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>q.default.createElement(Fi,null,q.default.createElement(Ui,{size:"label1",htmlFor:"birthday"},q.default.createElement(d.Text,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.birthday"))),q.default.createElement(ge,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:i=>q.default.createElement(A.Input,Object.assign({onChange:e,className:(null==a?void 0:a.message)?"error-input":"",name:"birthday",size:"md",actionIcon:q.default.createElement(m.Icon.Calendar,null)},i,{value:t&&Z.default(t).format(d.DUE_DATE_FORMAT)}))}))}),q.default.createElement(Vi,null,q.default.createElement(N.Controller,{control:c,name:"height",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>q.default.createElement(Fi,null,q.default.createElement(Ui,{size:"label1",htmlFor:"height"},q.default.createElement(d.Text,{size:"s4",weight:"semiBold"},l("babyGrowth.height")),q.default.createElement(d.Text,{as:"span",size:"n1",color:g.theme.colors.gray400},l("babyGrowth.cm"))),q.default.createElement(A.Input,{className:w||(null==a?void 0:a.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),q.default.createElement(N.Controller,{control:c,name:"weight",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>q.default.createElement(Fi,null,q.default.createElement(Ui,{size:"label1",htmlFor:"weight"},q.default.createElement(d.Text,{size:"s4",weight:"semiBold"},l("babyGrowth.weight")),q.default.createElement(d.Text,{as:"span",size:"n1",color:g.theme.colors.gray400},l("babyGrowth.kg"))),q.default.createElement(A.Input,{className:w||(null==a?void 0:a.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),q.default.createElement(Vi,null,q.default.createElement(N.Controller,{control:c,name:"head",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>q.default.createElement(Fi,null,q.default.createElement(Ui,{size:"label1",htmlFor:"head"},q.default.createElement(d.Text,{size:"s4",weight:"semiBold"},l("babyGrowth.headCircumference")),q.default.createElement(d.Text,{as:"span",size:"n1",color:g.theme.colors.gray400},l("babyGrowth.cm"))),q.default.createElement(A.Input,{className:w||(null==a?void 0:a.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),q.default.createElement(N.Controller,{control:c,name:"bmi",render:({field:{value:e}})=>q.default.createElement(Fi,null,q.default.createElement(Ui,{size:"label1",htmlFor:"bmi"},q.default.createElement(d.Text,{size:"s4",weight:"semiBold"},l("babyGrowth.input.bmi")),q.default.createElement(d.Text,{as:"span",size:"n1",color:g.theme.colors.gray400},l("babyGrowth.kg.m2"))),q.default.createElement(A.Input,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0}))})),q.default.createElement(N.Controller,{control:c,name:"measurementDate",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>q.default.createElement(Fi,null,q.default.createElement(Ui,{size:"label1",htmlFor:"measurementDate"},q.default.createElement(d.Text,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.measurementDate"))),q.default.createElement(ge,{placeholder:t&&Z.default(t).format(d.DUE_DATE_FORMAT),pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:i=>q.default.createElement(A.Input,Object.assign({className:(null==a?void 0:a.message)&&"error-input",name:"measurementDate",size:"md",placeholder:t&&Z.default(t).format(d.DUE_DATE_FORMAT),onChange:e,actionIcon:q.default.createElement(m.Icon.Calendar,null)},i,{value:t&&Z.default(t).format(d.DUE_DATE_FORMAT)}))}))}),q.default.createElement(d.Button,{size:"lg",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":E},l("babyGrowth.input.submit"))))))}))`
|
|
3155
3155
|
padding-block: 0;
|
|
3156
3156
|
`;Q.default(li)`
|
|
3157
3157
|
padding-inline: 20px;
|
|
@@ -3162,7 +3162,7 @@
|
|
|
3162
3162
|
align-self: center;
|
|
3163
3163
|
}
|
|
3164
3164
|
|
|
3165
|
-
${
|
|
3165
|
+
${h.MediaQueries.mbDown} {
|
|
3166
3166
|
padding-inline: 0;
|
|
3167
3167
|
img.embedded-icon {
|
|
3168
3168
|
width: 125px;
|
|
@@ -3175,7 +3175,7 @@
|
|
|
3175
3175
|
max-width: 200px;
|
|
3176
3176
|
}
|
|
3177
3177
|
}
|
|
3178
|
-
`;var Wi=a.createStyles(((e,t)=>{const{isMarryBaby:a,isSide:i,direction:n}=t;return{root:Object.assign(Object.assign(Object.assign(Object.assign({position:"relative",display:"flex"},"auto"===n?{flexDirection:"row"}:{flexDirection:"column"===n?"column-reverse":"row"}),{gap:"8px",padding:"16px",borderRadius:a?"16px":"8px"}),!a&&{backgroundImage:`url(${
|
|
3178
|
+
`;var Wi=a.createStyles(((e,t)=>{const{isMarryBaby:a,isSide:i,direction:n}=t;return{root:Object.assign(Object.assign(Object.assign(Object.assign({position:"relative",display:"flex"},"auto"===n?{flexDirection:"row"}:{flexDirection:"column"===n?"column-reverse":"row"}),{gap:"8px",padding:"16px",borderRadius:a?"16px":"8px"}),!a&&{backgroundImage:`url(${l.CommonGAssets.getAssetPath("bgPattern/baby-poop.svg")})`,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center"}),{backgroundColor:a?e.colors.toneGreen.toString():e.colors[e.primaryColor][0],[e.fn.smallerThan("sm")]:Object.assign({},"auto"===n?{flexDirection:"column-reverse"}:{}),[e.fn.smallerThan("md")]:{borderRadius:a?"12px":"8px"},[e.fn.largerThan("md")]:{padding:"32px",gap:"20px"}}),inner:{display:"flex",gap:"16px",flexDirection:"column",flex:1},content:{display:"flex",flexDirection:"column",gap:"16px"},reviewText:{display:"flex",gap:"4px",a:{color:e.colors.gray[6],fontWeight:"bold","&:not(:hover)":{textDecoration:"none"}}},reviewTextIcon:{flexShrink:0,width:"16px",height:"16px",[e.fn.largerThan("sm")]:{marginTop:"2px"}},thumbnail:Object.assign(Object.assign({img:{objectFit:"contain",objectPosition:"bottom",width:"100%",height:"100%"}},"column"===n?{width:"80%",alignSelf:"center"}:"row"===n?{width:"40%"}:{}),{[e.fn.smallerThan("sm")]:Object.assign({},"auto"===n?{width:"80%",alignSelf:"center"}:{}),[e.fn.largerThan("sm")]:Object.assign({},"auto"===n?{width:"40%"}:{})}),action:{display:"flex",justifyContent:a?"center":"flex-start"},btn:{minWidth:a?"auto":"143px",width:i||a?"100%":"auto",[e.fn.smallerThan("md")]:{width:"100%"}},sponsorLogo:Object.assign(Object.assign({position:"absolute",top:0,height:40,objectFit:"contain",objectPosition:"top"},"column"===n?{left:"16px",height:40}:"row"===n?{height:50,right:"40px"}:{left:"16px",height:40}),{[e.fn.largerThan("sm")]:Object.assign({},"auto"===n?{height:50,right:"40px",left:"unset"}:{})})}}));const Qi=Q.default.div`
|
|
3179
3179
|
display: flex;
|
|
3180
3180
|
width: 100%;
|
|
3181
3181
|
|
|
@@ -3232,10 +3232,10 @@
|
|
|
3232
3232
|
height: 36px;
|
|
3233
3233
|
object-fit: contain;
|
|
3234
3234
|
}
|
|
3235
|
-
`,Xi=Q.default(
|
|
3235
|
+
`,Xi=Q.default(d.Button)`
|
|
3236
3236
|
margin: 0 auto 24px;
|
|
3237
3237
|
width: 100%;
|
|
3238
|
-
${
|
|
3238
|
+
${h.MediaQueries.mbUp} {
|
|
3239
3239
|
max-width: 200px;
|
|
3240
3240
|
}
|
|
3241
3241
|
`;Q.default.div`
|
|
@@ -3249,7 +3249,7 @@
|
|
|
3249
3249
|
display: -webkit-box;
|
|
3250
3250
|
-webkit-box-orient: vertical;
|
|
3251
3251
|
}
|
|
3252
|
-
${
|
|
3252
|
+
${h.MediaQueries.mbUp} {
|
|
3253
3253
|
padding-right: 16px;
|
|
3254
3254
|
padding-bottom: 10px;
|
|
3255
3255
|
flex-wrap: wrap;
|
|
@@ -3263,20 +3263,20 @@
|
|
|
3263
3263
|
}
|
|
3264
3264
|
}
|
|
3265
3265
|
&[data-is-side='true'] {
|
|
3266
|
-
${
|
|
3266
|
+
${h.MediaQueries.mbDown} {
|
|
3267
3267
|
width: 100%;
|
|
3268
3268
|
.label {
|
|
3269
3269
|
margin-bottom: 9px;
|
|
3270
3270
|
}
|
|
3271
3271
|
}
|
|
3272
3272
|
}
|
|
3273
|
-
${
|
|
3273
|
+
${h.MediaQueries.mbDown} {
|
|
3274
3274
|
width: 100%;
|
|
3275
3275
|
.label {
|
|
3276
3276
|
margin-bottom: 9px;
|
|
3277
3277
|
}
|
|
3278
3278
|
}
|
|
3279
|
-
`,Q.default(
|
|
3279
|
+
`,Q.default(d.PureInput)`
|
|
3280
3280
|
&.bmi--input {
|
|
3281
3281
|
+ .bmi--input {
|
|
3282
3282
|
margin-top: 24px;
|
|
@@ -3314,7 +3314,7 @@
|
|
|
3314
3314
|
}
|
|
3315
3315
|
}
|
|
3316
3316
|
|
|
3317
|
-
${
|
|
3317
|
+
${h.MediaQueries.mbUp} {
|
|
3318
3318
|
&.bmi--input {
|
|
3319
3319
|
.bmi--input-radio_gender {
|
|
3320
3320
|
> div {
|
|
@@ -3324,7 +3324,7 @@
|
|
|
3324
3324
|
}
|
|
3325
3325
|
}
|
|
3326
3326
|
|
|
3327
|
-
${
|
|
3327
|
+
${h.MediaQueries.mbDown} {
|
|
3328
3328
|
&.bmi--input {
|
|
3329
3329
|
.bmi--input-radio_gender {
|
|
3330
3330
|
> div {
|
|
@@ -3359,7 +3359,7 @@
|
|
|
3359
3359
|
}
|
|
3360
3360
|
}
|
|
3361
3361
|
`,Ji=Q.default.div`
|
|
3362
|
-
${
|
|
3362
|
+
${h.MediaQueries.mbUp} {
|
|
3363
3363
|
display: flex;
|
|
3364
3364
|
width: 100%;
|
|
3365
3365
|
align-items: flex-start;
|
|
@@ -3371,26 +3371,26 @@
|
|
|
3371
3371
|
}
|
|
3372
3372
|
}
|
|
3373
3373
|
|
|
3374
|
-
${
|
|
3374
|
+
${h.MediaQueries.mbDown} {
|
|
3375
3375
|
display: flex;
|
|
3376
3376
|
flex-direction: column;
|
|
3377
3377
|
gap: 16px;
|
|
3378
3378
|
margin-bottom: 8px;
|
|
3379
3379
|
}
|
|
3380
3380
|
&[data-is-side='true'] {
|
|
3381
|
-
${
|
|
3381
|
+
${h.MediaQueries.mbUp} {
|
|
3382
3382
|
display: flex;
|
|
3383
3383
|
flex-direction: column-reverse;
|
|
3384
3384
|
gap: 0px;
|
|
3385
3385
|
}
|
|
3386
3386
|
}
|
|
3387
|
-
`,en=Q.default(
|
|
3387
|
+
`,en=Q.default(d.Button)`
|
|
3388
3388
|
margin: 0 auto 24px;
|
|
3389
|
-
${
|
|
3389
|
+
${h.MediaQueries.mbUp} {
|
|
3390
3390
|
max-width: 200px;
|
|
3391
3391
|
margin: 24px auto;
|
|
3392
3392
|
}
|
|
3393
|
-
`;Q.default(
|
|
3393
|
+
`;Q.default(d.PureInput)`
|
|
3394
3394
|
&.bmi--input {
|
|
3395
3395
|
+ .bmi--input {
|
|
3396
3396
|
margin-top: 24px;
|
|
@@ -3412,7 +3412,7 @@
|
|
|
3412
3412
|
width: 100%;
|
|
3413
3413
|
gap: 16px;
|
|
3414
3414
|
> div {
|
|
3415
|
-
${
|
|
3415
|
+
${h.MediaQueries.mbDown} {
|
|
3416
3416
|
width: calc(50% - 8px);
|
|
3417
3417
|
}
|
|
3418
3418
|
width: calc(33% - 8px);
|
|
@@ -3428,7 +3428,7 @@
|
|
|
3428
3428
|
}
|
|
3429
3429
|
.bmi-side-embed {
|
|
3430
3430
|
> div {
|
|
3431
|
-
${
|
|
3431
|
+
${h.MediaQueries.mbUp} {
|
|
3432
3432
|
width: calc(50% - 8px);
|
|
3433
3433
|
}
|
|
3434
3434
|
}
|
|
@@ -3438,7 +3438,7 @@
|
|
|
3438
3438
|
}
|
|
3439
3439
|
}
|
|
3440
3440
|
|
|
3441
|
-
${
|
|
3441
|
+
${h.MediaQueries.mbDown} {
|
|
3442
3442
|
&.bmi--input {
|
|
3443
3443
|
.bmi--input-radio_gender {
|
|
3444
3444
|
> div {
|
|
@@ -3478,7 +3478,7 @@
|
|
|
3478
3478
|
}
|
|
3479
3479
|
}
|
|
3480
3480
|
`,nn=Q.default.div`
|
|
3481
|
-
${
|
|
3481
|
+
${h.MediaQueries.mbUp} {
|
|
3482
3482
|
display: flex;
|
|
3483
3483
|
width: 100%;
|
|
3484
3484
|
align-items: flex-start;
|
|
@@ -3488,19 +3488,19 @@
|
|
|
3488
3488
|
width: 100%;
|
|
3489
3489
|
}
|
|
3490
3490
|
&[data-is-side='true'] {
|
|
3491
|
-
${
|
|
3491
|
+
${h.MediaQueries.mbUp} {
|
|
3492
3492
|
display: flex;
|
|
3493
3493
|
flex-direction: column;
|
|
3494
3494
|
gap: 0px;
|
|
3495
3495
|
}
|
|
3496
3496
|
}
|
|
3497
3497
|
}
|
|
3498
|
-
${
|
|
3498
|
+
${h.MediaQueries.mbDown} {
|
|
3499
3499
|
display: flex;
|
|
3500
3500
|
flex-direction: column;
|
|
3501
3501
|
gap: 0px;
|
|
3502
3502
|
}
|
|
3503
|
-
`,on=({locale:e,onSubmit:a,isSide:n,siteType:o})=>{const{t:
|
|
3503
|
+
`,on=({locale:e,onSubmit:a,isSide:n,siteType:o})=>{const{t:r}=i.useTranslations(),[l,s]=t.useState(new Date),[c,u]=t.useState(28),[p,h]=t.useState(7),f={cycle:c,periodDateStart:l,periodLength:p},b=t.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return q.default.createElement(q.default.Fragment,null,q.default.createElement(pi,{className:"input-form input-section","data-is-side":!0},"marryBaby"===o?q.default.createElement(di,{label:r("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:fi(l),CustomInput:q.default.createElement(ge,{onChange:e=>{s(e)},placeholder:"dd/mm/yyyy",pickedDate:l,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:y.addDays(new Date,-45),after:new Date},customInput:e=>q.default.createElement(A.Input,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:l&&Z.default(l).format(d.DUE_DATE_FORMAT)}))}),actionIcon:q.default.createElement(m.Icon.CalendarMB,{size:32})}):q.default.createElement(A.Input,{label:q.default.createElement(d.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},r("dueDatePage.lastPeriod.lastPeriodLabel")),value:fi(l),size:"md",name:"date",className:"due-date-input",CustomInput:q.default.createElement(ge,{customInput:e=>q.default.createElement("input",Object.assign({},e,{type:"date",className:"due-date-input",value:fi(l)})),locale:e,pickedDate:l,displayDateFormat:T.DATE_FORMAT,onChange:e=>{s(e)},disabledDays:{before:y.addDays(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),q.default.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===o?"marryBaby":"","data-is-side":n},"marryBaby"===o?q.default.createElement(B.MarryBabyText,{type:"bodytext-3",color:g.theme.mbColors.midGray},r("ovulationPage.cycleLength")):q.default.createElement(d.Text,{size:"s4",weight:"semiBold",color:"#595959"},r("ovulationPage.cycleLength")+" ",q.default.createElement(d.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},r("ovulationPage.dayUnit"))),q.default.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===o&&q.default.createElement(d.Text,{size:"s3",weight:"semiBold",color:g.theme.colors.gray600},c),q.default.createElement(P.Slider,{containerStyle:{flex:1},min:21,max:45,step:1,value:c,onChange:u,labelAlwaysOn:"marryBaby"!==o,withControl:"marryBaby"!==o,label:"marryBaby"!==o?void 0:null}))),q.default.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===o?"marryBaby":"","data-is-side":n},"marryBaby"===o?q.default.createElement(B.MarryBabyText,{type:"bodytext-3",color:g.theme.mbColors.midGray},r("ovulationPage.periodDuration")):q.default.createElement(d.Text,{size:"s4",weight:"semiBold",color:"#595959"},r("ovulationPage.periodDuration")+" ",q.default.createElement(d.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},r("ovulationPage.dayUnit"))),q.default.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===o&&q.default.createElement(d.Text,{size:"s3",weight:"semiBold",color:g.theme.colors.gray600},p),q.default.createElement(P.Slider,{containerStyle:{flex:1},min:1,max:15,step:1,value:p,onChange:h,labelAlwaysOn:"marryBaby"!==o,withControl:"marryBaby"!==o,label:"marryBaby"!==o?void 0:null}))),q.default.createElement("div",{style:{width:"100%",display:"flex"}},q.default.createElement(d.Button,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===o?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:b,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(f)),a&&a({startDate:l,cycle:c,periodLength:p})},role:"button"},r("dueDatePage.lastPeriod.calculate"))))};var rn;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(rn||(rn={}));const ln=Q.default.div`
|
|
3504
3504
|
flex: 1;
|
|
3505
3505
|
`,sn=Q.default.div`
|
|
3506
3506
|
padding: 0 10px;
|
|
@@ -3516,7 +3516,7 @@
|
|
|
3516
3516
|
margin-left: 5px;
|
|
3517
3517
|
}
|
|
3518
3518
|
}
|
|
3519
|
-
${
|
|
3519
|
+
${h.MediaQueries.mbDown} {
|
|
3520
3520
|
height: 70px;
|
|
3521
3521
|
}
|
|
3522
3522
|
`,cn=Q.default.div`
|
|
@@ -3560,7 +3560,7 @@
|
|
|
3560
3560
|
justify-content: center;
|
|
3561
3561
|
align-items: center;
|
|
3562
3562
|
height: 34px;
|
|
3563
|
-
${
|
|
3563
|
+
${h.MediaQueries.mbUp} {
|
|
3564
3564
|
height: 38px;
|
|
3565
3565
|
}
|
|
3566
3566
|
&[data-is-disabled='true'] {
|
|
@@ -3597,11 +3597,11 @@
|
|
|
3597
3597
|
`,xn=Q.default.div`
|
|
3598
3598
|
position: relative;
|
|
3599
3599
|
font-weight: 600;
|
|
3600
|
-
${
|
|
3600
|
+
${h.MediaQueries.mbDown} {
|
|
3601
3601
|
width: 32px;
|
|
3602
3602
|
height: 32px;
|
|
3603
3603
|
}
|
|
3604
|
-
${
|
|
3604
|
+
${h.MediaQueries.mbUp} {
|
|
3605
3605
|
width: 36px;
|
|
3606
3606
|
height: 36px;
|
|
3607
3607
|
}
|
|
@@ -3639,7 +3639,7 @@
|
|
|
3639
3639
|
pointer-events: none;
|
|
3640
3640
|
caret-color: transparent;
|
|
3641
3641
|
}
|
|
3642
|
-
${
|
|
3642
|
+
${h.MediaQueries.mbDown} {
|
|
3643
3643
|
width: 100%;
|
|
3644
3644
|
}
|
|
3645
3645
|
`,yn=Q.default.div`
|
|
@@ -3658,7 +3658,7 @@
|
|
|
3658
3658
|
padding-bottom: 16px;
|
|
3659
3659
|
align-items: stretch;
|
|
3660
3660
|
user-select: none;
|
|
3661
|
-
${
|
|
3661
|
+
${h.MediaQueries.mbDown} {
|
|
3662
3662
|
width: 100%;
|
|
3663
3663
|
}
|
|
3664
3664
|
`,wn=Q.default.div`
|
|
@@ -3692,7 +3692,7 @@
|
|
|
3692
3692
|
}
|
|
3693
3693
|
}
|
|
3694
3694
|
}
|
|
3695
|
-
`,Cn=Q.default(
|
|
3695
|
+
`,Cn=Q.default(C.Drawer)`
|
|
3696
3696
|
padding-bottom: 24px;
|
|
3697
3697
|
.share-container {
|
|
3698
3698
|
display: flex;
|
|
@@ -3807,7 +3807,7 @@
|
|
|
3807
3807
|
}
|
|
3808
3808
|
`,An=Q.default.div`
|
|
3809
3809
|
background-color: white;
|
|
3810
|
-
background-image: url(${
|
|
3810
|
+
background-image: url(${l.CommonGAssets.getAssetPath("close-blue.svg")});
|
|
3811
3811
|
background-repeat: no-repeat;
|
|
3812
3812
|
background-size: 10px;
|
|
3813
3813
|
background-position: center;
|
|
@@ -3817,7 +3817,7 @@
|
|
|
3817
3817
|
top: 1px;
|
|
3818
3818
|
right: 1px;
|
|
3819
3819
|
cursor: pointer;
|
|
3820
|
-
`,Tn={},Nn=e=>{if(Tn[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([Tn[e]]),delete Tn[e]}))}},In=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],Bn=t.forwardRef((function({className:e,adUnitPath:
|
|
3820
|
+
`,Tn={},Nn=e=>{if(Tn[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([Tn[e]]),delete Tn[e]}))}},In=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],Bn=t.forwardRef((function({className:e,adUnitPath:n,size:o,divId:r,pos:s,sizeMapping:d,contentId:c,isHidden:u,hideIfHasSubot:p,isSticky:m,refreshInterval:h,customTargetings:g,style:b,adDefaultSize:x,noWrapper:v,showCloseBtn:y,onCloseAd:w,headerBottom:C,wrapperProps:E,locale:k,isMarryBaby:S},A){const T=h||(k===f.LOCALE.Vietnam&&s.some((e=>In.includes(e)))?30:void 0),{t:N}=i.useTranslations(),I=t.useRef(null),B=t.useRef(null),P=t.useRef(T);P.current=T;const[D,M]=t.useState(!1),z=()=>{P.current&&(null!==B.current&&clearInterval(B.current),B.current=window.setInterval((()=>{window.googletag=window.googletag||{cmd:[]};const{googletag:e}=window;e.cmd.push((function(){Tn[r]&&e.pubads().refresh([Tn[r]])}))}),1e3*P.current))};if(t.useEffect((()=>()=>{Nn(r),B.current&&clearInterval(B.current)}),[]),t.useEffect((()=>{z()}),[T]),t.useEffect((()=>{u||(({contentId:e,adUnitPath:t,size:a,divId:i,pos:n,sizeMapping:o,hideIfHasSubot:r,customTargetings:l,onSuccess:s})=>{if(!i||!document.getElementById(i))return console.error("divId is required");Nn(i),window.googletag=window.googletag||{cmd:[]};const{googletag:d}=window;d.cmd.push((function(){const c=document.querySelector('meta[name="content_id"]'),u="string"==typeof e?e:null==c?void 0:c.content,p=d.defineSlot(t,a,i);if(p){try{l&&Object.keys(l).forEach((e=>{e&&(null==p||p.setTargeting(e,l[e]))}))}catch(e){console.error(e)}Tn[i]=p,p.setTargeting("Pos",n),p.addService(d.pubads()),u&&p.setTargeting("Content_ID",u),o&&p.defineSizeMapping(o),r&&document.getElementById("subot--container")&&p.setTargeting("chatbot",!0),d.display(i),null==s||s()}}))})({contentId:c,adUnitPath:n,size:o,divId:r,pos:s,sizeMapping:d,hideIfHasSubot:p,customTargetings:g,onSuccess:z})}),[u]),D)return null;const O=q.default.createElement("div",{style:{position:"relative",width:"fit-content",height:"fit-content",overflow:"hidden",maxWidth:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},q.default.createElement("div",{ref:A,id:r}),y&&q.default.createElement(An,{onClick:()=>{null==w||w(),M(!0)}}));if(m)return O;const L=x?x[0]:o?Array.isArray(o[0])?o[0][0]:o[0]:void 0,_=x?x[1]:o?Array.isArray(o[0])?o[0][1]:o[1]:void 0;return q.default.createElement(a.Box,Object.assign({},E,{className:e}),q.default.createElement(kn,{ref:I,className:e,style:b,"data-no-wrapper":!!v,"data-header-bottom":!!C},v?O:q.default.createElement(q.default.Fragment,null,q.default.createElement(Sn,{"data-header-bottom":!!C},q.default.createElement("img",{src:S?l.CommonGAssets.getAssetPath("adsIcon-mb.svg"):l.CommonGAssets.getAssetPath("adsIcon.svg"),alt:"",loading:"lazy"}),q.default.createElement("span",null,N("adBanner.title"))),q.default.createElement("div",{style:{minWidth:L||"100%",minHeight:_||"100%",position:"relative"}},O))))})),Pn=t.memo(Bn,((e,t)=>e.adUnitPath===t.adUnitPath&&e.divId===t.divId&&e.className===t.className)),Dn=[{title:"Health News & Current Affairs",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:l.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-health.svg"),checked:!1,id:1},{title:"Educational Medical Hello Bacsi Content",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:l.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-education.svg"),checked:!1,id:2},{title:"Hello Health Community Feed",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:l.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-community.svg"),checked:!1,id:3}],Mn=t.createContext({}),zn=e=>{const{data:{userInfo:a,env:{togetherBasePath:i}}}=t.useContext(d.TogetherComponentGlobalContext),{defaultParams:n}=t.useContext(Mn)||{},o=null==a?void 0:a.id,r=a&&"number"==typeof a.communities_interacted&&0===a.communities_interacted;return{authActionWrapper:(t,a)=>{const l=Object.assign(Object.assign(Object.assign({},n),e),a);if(!o||r){o||s.deleteCookie(d.BEARER_TOKEN_COOKIE),(null==l?void 0:l._joinCommunityIds)&&(localStorage.setItem("to_join_community_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_community_ids")||"[]")||[]).concat(l._joinCommunityIds).filter(Boolean))))),null==l||delete l._joinCommunityIds),(null==l?void 0:l._joinTopicIds)&&(localStorage.setItem("to_join_topic_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_topic_ids")||"[]")||[]).concat(l._joinTopicIds).filter(Boolean))))),null==l||delete l._joinTopicIds);const e=(null==l?void 0:l._location)||window.location.href;return null==l||delete l._location,window.location.href=d.getUrlToSignUp(e,l,i),null}return t&&t()},params:Object.assign(Object.assign({},n),e)}},On=Q.default.div`
|
|
3821
3821
|
display: flex;
|
|
3822
3822
|
align-items: center;
|
|
3823
3823
|
justify-content: center;
|
|
@@ -3825,7 +3825,7 @@
|
|
|
3825
3825
|
button {
|
|
3826
3826
|
position: relative;
|
|
3827
3827
|
}
|
|
3828
|
-
`,Ln=
|
|
3828
|
+
`,Ln=c.keyframes`
|
|
3829
3829
|
0% {
|
|
3830
3830
|
transform: rotate(0deg);
|
|
3831
3831
|
}
|
|
@@ -3853,7 +3853,7 @@
|
|
|
3853
3853
|
&[data-is-marrybaby='true'] {
|
|
3854
3854
|
box-shadow: none;
|
|
3855
3855
|
}
|
|
3856
|
-
`;const _n=({className:e,size:t="md"})=>{const{t:a}=
|
|
3856
|
+
`;const _n=({className:e,size:t="md"})=>{const{t:a}=i.useTranslations();return q.default.createElement(On,{className:e},q.default.createElement(S.Button,{size:t,color:"transparent",isLoading:!0},a("loading")))},Rn=Q.default.div`
|
|
3857
3857
|
.link-info-container {
|
|
3858
3858
|
padding: 0.5rem 1rem;
|
|
3859
3859
|
background: ${e=>e.color||"#f4faff"};
|
|
@@ -3913,7 +3913,7 @@
|
|
|
3913
3913
|
}
|
|
3914
3914
|
}
|
|
3915
3915
|
}
|
|
3916
|
-
`,jn=t.createContext({});var $n="vvR-m49";const Fn=({children:e,className:a=""})=>{const{isReplied:i,trackingCategory:n,trackingLabel:o,onLikeClick:r}=t.useContext(jn);return q.default.createElement("div",{className:`${$n} ${a}`,"data-event-category":n,"data-event-action":i?"Like Comment Click":"Like Post Click","data-event-label":o,onClick:()=>{null==r||r()}},e)},Un=({children:e,className:a=""})=>{const{trackingCategory:i,trackingLabel:n,onShareClick:o}=t.useContext(jn);return q.default.createElement("div",{className:`${$n} ${a}`,onClick:()=>{null==o||o()},"data-event-category":i,"data-event-action":"Share Icon Click","data-event-label":n},e)},Vn=({children:e,className:a=""})=>{const{isReplied:i,trackingCategory:n,trackingLabel:o,onCommentClick:r}=t.useContext(jn);return q.default.createElement("div",{className:`${$n} ${a}`,"data-event-category":n,"data-event-action":i?"Reply Comment Click":"Comment Text Click","data-event-label":o,onClick:e=>{e.preventDefault(),e.stopPropagation(),null==r||r()}},e)};var Hn,qn="UhiT4m5",Gn="oEfeTkV",Wn="OlbikxJ",Qn="_9GXHCn3",Zn="HCsrR0N",Xn="MV3lNuh";exports.CardReactionType=void 0,(Hn=exports.CardReactionType||(exports.CardReactionType={}))[Hn.post=1]="post",Hn[Hn.reply=2]="reply";const Yn=a=>{var{type:n,viewCount:o=0,loveCount:
|
|
3916
|
+
`,jn=t.createContext({});var $n="vvR-m49";const Fn=({children:e,className:a=""})=>{const{isReplied:i,trackingCategory:n,trackingLabel:o,onLikeClick:r}=t.useContext(jn);return q.default.createElement("div",{className:`${$n} ${a}`,"data-event-category":n,"data-event-action":i?"Like Comment Click":"Like Post Click","data-event-label":o,onClick:()=>{null==r||r()}},e)},Un=({children:e,className:a=""})=>{const{trackingCategory:i,trackingLabel:n,onShareClick:o}=t.useContext(jn);return q.default.createElement("div",{className:`${$n} ${a}`,onClick:()=>{null==o||o()},"data-event-category":i,"data-event-action":"Share Icon Click","data-event-label":n},e)},Vn=({children:e,className:a=""})=>{const{isReplied:i,trackingCategory:n,trackingLabel:o,onCommentClick:r}=t.useContext(jn);return q.default.createElement("div",{className:`${$n} ${a}`,"data-event-category":n,"data-event-action":i?"Reply Comment Click":"Comment Text Click","data-event-label":o,onClick:e=>{e.preventDefault(),e.stopPropagation(),null==r||r()}},e)};var Hn,qn="UhiT4m5",Gn="oEfeTkV",Wn="OlbikxJ",Qn="_9GXHCn3",Zn="HCsrR0N",Xn="MV3lNuh";exports.CardReactionType=void 0,(Hn=exports.CardReactionType||(exports.CardReactionType={}))[Hn.post=1]="post",Hn[Hn.reply=2]="reply";const Yn=a=>{var{type:n,viewCount:o=0,loveCount:r=0,replyCount:l=0,replyPadding:s,liked:c,isReplied:u,onCommentClick:p,onLikeClick:h,onShareClick:f,className:b,style:v,hideCommentIcon:y,showingMostEngaging:w,isMarryBaby:C,hasShare:E=!0,hasCountLike:k=!0,trackingCategory:S="Together",trackingLabel:A="",children:T}=a,N=e.__rest(a,["type","viewCount","loveCount","replyCount","replyPadding","liked","isReplied","onCommentClick","onLikeClick","onShareClick","className","style","hideCommentIcon","showingMostEngaging","isMarryBaby","hasShare","hasCountLike","trackingCategory","trackingLabel","children"]);const{data:{env:{isMarryBaby:I}}}=t.useContext(d.TogetherComponentGlobalContext),B=Boolean(C)?C:I,{t:P}=i.useTranslations();return q.default.createElement(jn.Provider,{value:{liked:c,loveCount:r,trackingCategory:S,trackingLabel:A,isReplied:u,onLikeClick:h,onShareClick:f,onCommentClick:p}},T||q.default.createElement("div",Object.assign({className:`${qn} ${b}`,"data-show-most-engaging":w,"data-type":n===exports.CardReactionType.post?"post":"reply","data-reply-padding":n===exports.CardReactionType.reply&&s,"data-is-marrybaby":B,style:v},N),q.default.createElement("div",{className:Gn},q.default.createElement("div",{className:Wn},q.default.createElement(Fn,{className:Zn},q.default.createElement(d.Text,{className:Qn,size:"p3",as:"div"},q.default.createElement(m.Heart,{className:"txt-icon",isMarryBaby:B,isSolid:c,color:c?B?g.theme.mbColors.pink:g.theme.colors.red800:"#737373"}),k&&q.default.createElement("div",{className:Xn},r))),E&&q.default.createElement(Un,{className:Zn},q.default.createElement(d.Text,{size:"p3",className:Qn,as:"div"},q.default.createElement(m.Icon.Share,{isMarryBaby:B}))),q.default.createElement(d.Text,{size:"p3",className:Qn,as:"div"},q.default.createElement(m.Icon.Eye,{isMarryBaby:B}),q.default.createElement("div",{className:Xn},x.abbreviateNumber(o)))),!y&&q.default.createElement(Vn,{className:Zn},q.default.createElement(d.Text,{size:"p3",className:Qn,as:"div"},u?q.default.createElement(m.Icon.Reply,{className:"txt-icon"}):q.default.createElement(m.Icon.Comment,{className:"txt-icon",isMarryBaby:B}),u?P("cardReactions.reply"):q.default.createElement("div",{className:Xn},P("post.commentCount",{count:l})))))))};Yn.LikeWrapper=Fn,Yn.ShareWrapper=Un,Yn.CommentWrapper=Vn;const Kn=a.createStyles((e=>({wrapper:{display:"flex",flexWrap:"wrap",width:"100%",padding:"0.5rem 0",gap:"0.5rem"},item:{position:"relative",whiteSpace:"nowrap",padding:"5px 12px",background:e.colors.gray[0],borderRadius:"2rem",cursor:"pointer","-webkit-user-drag":"none",userSelect:"none",textDecoration:"none","*":{pointerEvents:"none"},"&:first-child":{marginLeft:0}},text:{}}))),Jn=Q.default.div`
|
|
3917
3917
|
display: flex;
|
|
3918
3918
|
align-items: center;
|
|
3919
3919
|
justify-content: space-between;
|
|
@@ -3980,13 +3980,13 @@
|
|
|
3980
3980
|
}
|
|
3981
3981
|
}
|
|
3982
3982
|
&.label-sorting {
|
|
3983
|
-
${
|
|
3983
|
+
${h.MediaQueries.tdUp} {
|
|
3984
3984
|
padding-bottom: 1.5rem;
|
|
3985
3985
|
margin-bottom: -0.75rem;
|
|
3986
3986
|
}
|
|
3987
3987
|
}
|
|
3988
3988
|
}
|
|
3989
|
-
`,eo=({label:e,rightLabel:a,onClick:
|
|
3989
|
+
`,eo=({label:e,rightLabel:a,onClick:i,color:n,className:o,style:r})=>{const{data:{env:{isMarryBaby:l}}}=t.useContext(d.TogetherComponentGlobalContext);return q.default.createElement(Jn,{"data-is-marrybaby":l,"data-color":n,onClick:i,className:o,style:r},q.default.createElement(k.Text,{className:"label-sort-pin-heading",size:l?"p4":"p3",type:"bold"},e),a)};const to=Q.default.div`
|
|
3990
3990
|
position: relative;
|
|
3991
3991
|
display: content;
|
|
3992
3992
|
|
|
@@ -4292,7 +4292,7 @@
|
|
|
4292
4292
|
}
|
|
4293
4293
|
}
|
|
4294
4294
|
}
|
|
4295
|
-
`,io=({className:e,style:a,toggleButtonContent:
|
|
4295
|
+
`,io=({className:e,style:a,toggleButtonContent:i,position:n="bottom",align:o="end",children:r,buttonProps:l})=>{const{data:{env:{isMarryBaby:s}}}=t.useContext(d.TogetherComponentGlobalContext),[c,u]=t.useState(!1),p=t.useRef(null),m=t.useRef(c);return t.useEffect((()=>{var e;m.current=c,c&&(null===(e=p.current)||void 0===e||e.focus())}),[c]),t.useEffect((()=>{const e=e=>{var t;!(null===(t=p.current)||void 0===t?void 0:t.contains(e.target))&&m.current&&u(!1)};return window.addEventListener("click",e,{passive:!0}),()=>{window.removeEventListener("click",e)}}),[]),q.default.createElement(to,{"data-is-marrybaby":s,className:e,style:a},q.default.createElement(S.Button,Object.assign({theme:s?"marryBaby":"helloSites",className:"popover-menu__btn",size:"md",color:"transparent",onClick:()=>u((e=>!e))},l),i),c?q.default.createElement("div",{ref:p,className:`popover-menu__content --position-${n} --align-${o}`,tabIndex:0,onClick:e=>e.stopPropagation()},"function"==typeof r?r({setShow:u}):r):null)};const no=t=>{var{data:a}=t,i=e.__rest(t,["data"]);return q.default.createElement(io,Object.assign({},i),(({setShow:e})=>q.default.createElement(oo,{data:a,setShow:e})))},oo=({data:e,setShow:a})=>{var i;const[n,o]=t.useState(""),r=t.useMemo((()=>e&&((e,t)=>{const a=t.split(".");let i=e;return a.forEach((e=>{var t,a;e&&i&&"list"===(null==i?void 0:i.type)&&(i=null===(a=null===(t=null==i?void 0:i.list)||void 0===t?void 0:t[Number(e)])||void 0===a?void 0:a.subTree)})),i})(e,n)),[e,n]);if(!e)return null;if(!r)return null;return q.default.createElement(ao,null,r.isShowheader?q.default.createElement("div",{className:"__header"},n?q.default.createElement("img",{className:"__back-btn",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15 18L9 12L15 6' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",onClick:()=>o((e=>e.split(".").slice(0,-1).join("."))),loading:"lazy"}):null,r.title?q.default.createElement(d.Heading,{className:"__title",tag:"h6"},r.title):null):null,r.description?q.default.createElement(k.Text,{className:"tree-text-description",color:g.theme.colors.gray600,size:"p3",type:"regular"},r.description):null,q.default.createElement("div",{className:"__content"},"jsx"===r.type?null===(i=null==r?void 0:r.jsxRenderer)||void 0===i?void 0:i.call(r,a):null,"list"===r.type?q.default.createElement("ul",{className:"__list"},Array.isArray(r.list)?r.list.map(((e,t)=>q.default.createElement("li",{key:t,style:e.style,className:`__item ${e.className}`}," ",q.default.createElement("div",{className:"__btn "+(e.selected?"--checked":""),onClick:()=>((e,{subTree:t,onClick:i=(()=>null)})=>{i&&i(),t?o((t=>t.split(".").concat(String(e)).join("."))):a&&a(!1)})(t,e),"data-event-category":e.dataEventCategory,"data-event-action":e.dataEventAction,"data-event-label":e.dataEventLabel},e.icon&&q.default.createElement("img",{className:"__icon",src:e.icon,loading:"lazy"}),q.default.createElement("span",null,e.label)),e.subTree?q.default.createElement("img",{className:"__toggle",src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 12L10 8L6 4' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}):null,e.selected?q.default.createElement("img",{className:"__toggle",src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.3334 4L6.00002 11.3333L2.66669 8' stroke='%238C8C8C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}):null))):null):null))};var ro;!function(e){e.latest="latest",e.oldest="oldest",e.popular="popular"}(ro||(ro={}));const lo=t=>{var{size:a=15}=t,i=e.__rest(t,["size"]);return q.default.createElement("svg",Object.assign({width:a,height:a,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),q.default.createElement("path",{d:"M7.43701 14C11.0614 14 13.9995 11.0619 13.9995 7.4375C13.9995 3.81313 11.0614 0.875 7.43701 0.875C3.81264 0.875 0.874512 3.81313 0.874512 7.4375C0.874512 11.0619 3.81264 14 7.43701 14Z",fill:"white",stroke:"#E4E8EC",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),q.default.createElement("path",{d:"M8.53125 6.34375V4.15625H6.34375V6.34375H4.15625V8.53125H6.34375V10.7188H8.53125V8.53125H10.7188V6.34375H8.53125Z",fill:"#FF5331"}))},so=t=>{var{size:a,color:i}=t,n=e.__rest(t,["size","color"]);return q.default.createElement("svg",Object.assign({width:a,height:a,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),q.default.createElement("path",{d:"M7.29998 8.71005L6.24868 7.64851C6.14527 7.54509 6.02647 7.49338 5.89228 7.49338C5.75811 7.49338 5.63931 7.54509 5.53588 7.64851C5.43247 7.75192 5.38012 7.87179 5.37883 8.00811C5.37756 8.14444 5.42649 8.26217 5.52563 8.36131L6.8782 9.71386C6.99871 9.83437 7.13931 9.89463 7.29998 9.89463C7.46066 9.89463 7.60126 9.83437 7.72177 9.71386L10.4846 6.95105C10.588 6.84764 10.6397 6.72884 10.6397 6.59465C10.6397 6.46047 10.588 6.34167 10.4846 6.23825C10.3812 6.13484 10.2613 6.0842 10.125 6.08633C9.98866 6.08846 9.87093 6.1391 9.77178 6.23825L7.29998 8.71005ZM7.99998 14.2703H7.84293C7.79379 14.2703 7.74913 14.2592 7.70897 14.2369C6.34743 13.7857 5.22222 12.9235 4.33333 11.6504C3.44444 10.3773 3 8.96046 3 7.39978V4.39723C3 4.1451 3.07308 3.91754 3.21923 3.71455C3.36539 3.51155 3.55342 3.36432 3.78333 3.27288L7.5782 1.85621C7.72093 1.80494 7.86153 1.7793 7.99998 1.7793C8.13844 1.7793 8.27903 1.80494 8.42177 1.85621L12.2166 3.27288C12.4465 3.36432 12.6346 3.51155 12.7807 3.71455C12.9269 3.91754 13 4.1451 13 4.39723V7.39978C13 8.96046 12.5555 10.3773 11.6666 11.6504C10.7777 12.9235 9.65253 13.7857 8.291 14.2369C8.23972 14.2592 8.14272 14.2703 7.99998 14.2703Z",fill:i}))};so.defaultProps={size:24,color:g.theme.colors.gray600,activeColor:g.theme.colors.primaryBase,isActive:!1};var co="dZWeHns",uo="tMiOKib",po="uDcqD-2",mo="pDlsows",ho="m-HVXw1";const go=({children:e,className:t=""})=>q.default.createElement("div",{className:`${uo} ${t}`},e),fo=({children:e,className:t=""})=>q.default.createElement("div",{className:`${po} ${t}`},e);var bo="sTU4T4I",xo="tCql9Je",vo="_3j7uYhH",yo="PHABgoT";const wo=({avatarProps:e,title:t,subTitle:a,children:i,className:n="",style:o,onAvatarClick:r,avatarIcon:l,dataEventCategory:s,dataEventAction:d,dataEventLabel:c})=>q.default.createElement("div",{className:`${bo} ${n}`,style:o},q.default.createElement("div",{className:vo,onClick:r,"data-event-category":s,"data-event-action":d,"data-event-label":c},q.default.createElement(u.UserAvatar,Object.assign({},e)),l&&q.default.createElement("div",{className:yo},l)),q.default.createElement("div",{className:`${xo} ${n}`,style:{minHeight:`${(null==e?void 0:e.size)||40}px`}},i||q.default.createElement(q.default.Fragment,null,t&&q.default.createElement(go,null,t),a&&q.default.createElement(fo,null,a))));wo.MainText=go,wo.SubText=fo,wo.SubDivider=({className:e=""})=>q.default.createElement("span",{className:`${ho} ${e}`}),wo.Row=({children:e,className:t=""})=>q.default.createElement("div",{className:`${co} ${t} row`},e),wo.ColLeft=({children:e,className:t=""})=>q.default.createElement("div",{className:`${t} col-left`},e),wo.ColRight=({children:e,className:t=""})=>q.default.createElement("div",{className:`${t} col-right`},e),wo.SubTextRow=t=>{var{children:a,className:i=""}=t,n=e.__rest(t,["children","className"]);return q.default.createElement("div",Object.assign({className:`${mo} ${i}`},n),a)};var Co=a.createStyles((()=>({root:{},authorBadge:{background:"yellow"}})));const Eo=Q.default.div`
|
|
4296
4296
|
position: fixed;
|
|
4297
4297
|
left: 50%;
|
|
4298
4298
|
width: 343px;
|
|
@@ -4302,7 +4302,7 @@
|
|
|
4302
4302
|
transform: translate(-50%, -50%);
|
|
4303
4303
|
transition: all 0.5s ease-in-out;
|
|
4304
4304
|
|
|
4305
|
-
${
|
|
4305
|
+
${h.MediaQueries.tdUp} {
|
|
4306
4306
|
width: 750px;
|
|
4307
4307
|
}
|
|
4308
4308
|
|
|
@@ -4322,7 +4322,7 @@
|
|
|
4322
4322
|
}
|
|
4323
4323
|
|
|
4324
4324
|
.popup-content {
|
|
4325
|
-
${
|
|
4325
|
+
${h.MediaQueries.mbDown} {
|
|
4326
4326
|
display: block;
|
|
4327
4327
|
}
|
|
4328
4328
|
display: flex;
|
|
@@ -4460,7 +4460,7 @@
|
|
|
4460
4460
|
li {
|
|
4461
4461
|
list-style-type: disc;
|
|
4462
4462
|
}
|
|
4463
|
-
`;var No="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",Io="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9 16.9998C13.4183 16.9998 17 13.418 17 8.99976C17 4.58148 13.4183 0.999756 9 0.999756C4.58172 0.999756 1 4.58148 1 8.99976C1 13.418 4.58172 16.9998 9 16.9998Z' fill='white' stroke='%23E4E8EC' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10.3333 7.66679V5.00012H7.66667V7.66679H5V10.3335H7.66667V13.0001H10.3333V10.3335H13V7.66679H10.3333Z' fill='%23FF5331'/%3e%3c/svg%3e";const Bo=({isOpen:e=!0,onClose:a,enableAnimation:
|
|
4463
|
+
`;var No="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",Io="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9 16.9998C13.4183 16.9998 17 13.418 17 8.99976C17 4.58148 13.4183 0.999756 9 0.999756C4.58172 0.999756 1 4.58148 1 8.99976C1 13.418 4.58172 16.9998 9 16.9998Z' fill='white' stroke='%23E4E8EC' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10.3333 7.66679V5.00012H7.66667V7.66679H5V10.3335H7.66667V13.0001H10.3333V10.3335H13V7.66679H10.3333Z' fill='%23FF5331'/%3e%3c/svg%3e";const Bo=({isOpen:e=!0,onClose:a,enableAnimation:n=!0,doctorId:o,locale:r,isMobile:s,overwriteProfileProps:c,avatarFallback:u=l.CommonGAssets.getAssetPath("avatar.jpg"),trackingCategory:m="Together"})=>{var h,f,b;const{t:x}=i.useTranslations(),[v,y]=t.useState(null),[w,C]=t.useState(!1);t.useEffect((()=>{if(e&&o&&String(null==v?void 0:v.id)!==String(o)){C(!0);try{y(null),d.callApi(d.getCarePath(d.CARE_PATHS.GET_DOCTOR_INFO,{doctorId:o,website_url:d.domainLocales[r]}),"get").then((e=>{y(Object.assign(Object.assign({},null==e?void 0:e._data.doctor),c))}))}catch(e){console.error(e)}C(!1)}}),[e,o,null==v?void 0:v.id]);const E=(null==v?void 0:v.experiences)||[],A=((null==v?void 0:v.specialties)||[]).map((e=>(null==e?void 0:e.name)||e)).join(" • "),T=E.map((e=>{try{return JSON.parse(e.description)}catch(t){return e.description}})).filter((e=>e.content));return q.default.createElement(q.default.Fragment,null,q.default.createElement(Eo,{"data-open":e,"data-animation":n,onClick:e=>e.stopPropagation()},w||!v?q.default.createElement(_n,null):q.default.createElement("div",{className:"popup-content"},q.default.createElement("div",{className:"close-button",onClick:a},q.default.createElement("img",{src:No,style:{width:20,height:20},alt:"close-icon",loading:"lazy"})),q.default.createElement("div",{className:"main-info"},q.default.createElement("div",{className:"border-banner"}),q.default.createElement("div",{className:"avatar-title"},q.default.createElement(So,null,q.default.createElement("div",{className:"image-container"},q.default.createElement("div",{style:{position:"relative"}},q.default.createElement(p.ImageWrap,{src:null==v?void 0:v.avatar,backupSrc:u,className:"profile-image",alt:"avatar"}),q.default.createElement("img",{className:"badge-avatar",src:Io,alt:"badge",loading:"lazy"})))),q.default.createElement(Ao,null,q.default.createElement(k.Text,{size:"s3",type:"semiBold",className:"full-name"},null==v?void 0:v.name),q.default.createElement("div",{className:"specialty"},A&&q.default.createElement(q.default.Fragment,null,q.default.createElement(k.Text,{size:"p4",color:g.theme.colors.gray800},A," • ")),q.default.createElement("a",{href:d.getCareHospitalUrl({id:null===(h=null==v?void 0:v.organization)||void 0===h?void 0:h.id,name:null===(f=null==v?void 0:v.organization)||void 0===f?void 0:f.name,slug:null===(b=null==v?void 0:v.organization)||void 0===b?void 0:b.slug,locale:r}),className:"organisation",target:"_blank",rel:"noreferrer"},q.default.createElement(k.Text,{size:"p4",className:"organisation",color:g.theme.colors.gray800,style:{textDecoration:"underline"}},null==v?void 0:v.organization.name))))),!s&&q.default.createElement("div",{className:"btn-wrapper"},q.default.createElement("a",{href:d.getCareDoctorUrl({name:v.name,id:v.id,locale:r})},q.default.createElement(S.Button,{color:"primary",size:"md",className:"btn-booking"},x("careBooking.bookAnAppointment"))))),T&&q.default.createElement(Ao,null,q.default.createElement("div",{className:"experience"},q.default.createElement(k.Text,{type:"bold",size:"s3",color:g.theme.colors.gray800,style:{paddingBottom:16}},x("expert.content.description").toUpperCase()),q.default.createElement(To,null,T.map(((e,t)=>q.default.createElement("li",{key:t},q.default.createElement(k.Text,{size:"p2"},(e=>(null==e?void 0:e.year)?`${e.year} ${null==e?void 0:e.content}`:(null==e?void 0:e.content)?e.content:"string"==typeof e?e:"")(e)))))),s?q.default.createElement("div",{className:"btn-wrapper"},q.default.createElement("a",{href:d.getCareDoctorUrl({name:v.name,id:v.id,locale:r})},q.default.createElement(S.Button,{color:"primary",size:"md",className:"btn-booking"},x("careBooking.bookAnAppointment")))):q.default.createElement("a",{href:d.getCareDoctorUrl({name:v.name,id:v.id,locale:r})},q.default.createElement(k.Text,{size:"s4",color:"#2D87F3",style:{paddingTop:24},"data-event-category":m,"data-event-action":"See Full Doctor Profile","data-event-label":d.getCurrentBaseUrl(r)+d.getCareDoctorUrl({name:v.name,id:v.id,locale:r})},x("home.seeExpert"))))))),q.default.createElement(ko,{"data-open":e,onClick:e=>{e.stopPropagation(),a()}}))},Po=Q.default.div`
|
|
4464
4464
|
position: fixed;
|
|
4465
4465
|
left: 50%;
|
|
4466
4466
|
width: 343px;
|
|
@@ -4470,7 +4470,7 @@
|
|
|
4470
4470
|
transform: translate(-50%, -50%);
|
|
4471
4471
|
transition: all 0.5s ease-in-out;
|
|
4472
4472
|
|
|
4473
|
-
${
|
|
4473
|
+
${h.MediaQueries.tdUp} {
|
|
4474
4474
|
width: 750px;
|
|
4475
4475
|
}
|
|
4476
4476
|
|
|
@@ -4490,7 +4490,7 @@
|
|
|
4490
4490
|
}
|
|
4491
4491
|
|
|
4492
4492
|
.popup-content {
|
|
4493
|
-
${
|
|
4493
|
+
${h.MediaQueries.mbDown} {
|
|
4494
4494
|
display: block;
|
|
4495
4495
|
}
|
|
4496
4496
|
display: flex;
|
|
@@ -4620,7 +4620,7 @@
|
|
|
4620
4620
|
width: 24px;
|
|
4621
4621
|
height: 24px;
|
|
4622
4622
|
}
|
|
4623
|
-
`;var Lo="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath fill='%2345A4FF' d='M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Z'/%3e%3cpath fill='%232D87F3' d='M24 12a12.1 12.1 0 0 0-.128-1.758l-5.077-5.077L5.041 18.958l4.858 4.858c.682.12 1.384.184 2.1.184 6.628 0 12-5.373 12-12Z'/%3e%3cpath fill='white' d='M9.014 17.824 5.04 18.959l1.135-3.973 2.368.47.47 2.368Z'/%3e%3cpath fill='%23F7F9FC' d='M8.544 15.456 5.041 18.96l3.972-1.135-.469-2.368Z'/%3e%3cpath fill='%23E4E8EC' d='M6.467 18.552 5.45 17.533 5.04 18.96l1.426-.407Z'/%3e%3cpath fill='%23D2D6DC' d='m5.957 18.043-.916.916 1.426-.407-.51-.509Z'/%3e%3cpath fill='%23FFD658' d='m15.828 5.331 2.837 2.837-9.651 9.652-2.838-2.837 9.652-9.652Z'/%3e%3cpath fill='%23FFC326' d='m7.594 16.404 9.651-9.651 1.419 1.418-9.652 9.652-1.418-1.419Z'/%3e%3cpath fill='%23FF5331' d='m18.312 8.525-2.837-2.838 1.123-1.123c.44-.44 1.154-.44 1.595 0l1.243 1.243c.44.44.44 1.154 0 1.594l-1.124 1.124Z'/%3e%3cpath fill='%23F44D2C' d='m18.816 5.186-1.921 1.92 1.418 1.419 1.124-1.124c.44-.44.44-1.154 0-1.594l-.622-.621Z'/%3e%3c/svg%3e";const _o={author:Lo,edtior:Lo,expert:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='12' cy='12' r='12' fill='%23FFCB37'/%3e%3ccircle cx='12' cy='12' r='10.5' fill='%23FE921D'/%3e%3cpath d='M11.443 5.13654C11.6446 4.63466 12.355 4.63466 12.5566 5.13654L13.9931 8.71375C14.0789 8.92747 14.2795 9.0732 14.5093 9.08878L18.3553 9.34957C18.8949 9.38615 19.1145 10.0619 18.6994 10.4086L15.7412 12.8802C15.5645 13.0279 15.4878 13.2637 15.544 13.4871L16.4845 17.2254C16.6164 17.7499 16.0417 18.1676 15.5836 17.88L12.3188 15.8303C12.1238 15.7079 11.8758 15.7079 11.6808 15.8303L8.41599 17.88C7.95794 18.1676 7.38314 17.7499 7.51509 17.2254L8.45556 13.4871C8.51175 13.2637 8.43513 13.0279 8.25839 12.8802L5.30017 10.4086C4.88514 10.0619 5.10469 9.38615 5.64429 9.34957L9.49031 9.08878C9.7201 9.0732 9.92068 8.92747 10.0065 8.71375L11.443 5.13654Z' fill='white'/%3e%3c/svg%3e","fact-check":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z' fill='%2300C076'/%3e%3cpath d='M11.9456 5.46631L6.66562 10.2663L4.26562 8.08449' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",medical:Io},Ro=({trackingCategory:e="Together",locale:a,isOpen:
|
|
4623
|
+
`;var Lo="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath fill='%2345A4FF' d='M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Z'/%3e%3cpath fill='%232D87F3' d='M24 12a12.1 12.1 0 0 0-.128-1.758l-5.077-5.077L5.041 18.958l4.858 4.858c.682.12 1.384.184 2.1.184 6.628 0 12-5.373 12-12Z'/%3e%3cpath fill='white' d='M9.014 17.824 5.04 18.959l1.135-3.973 2.368.47.47 2.368Z'/%3e%3cpath fill='%23F7F9FC' d='M8.544 15.456 5.041 18.96l3.972-1.135-.469-2.368Z'/%3e%3cpath fill='%23E4E8EC' d='M6.467 18.552 5.45 17.533 5.04 18.96l1.426-.407Z'/%3e%3cpath fill='%23D2D6DC' d='m5.957 18.043-.916.916 1.426-.407-.51-.509Z'/%3e%3cpath fill='%23FFD658' d='m15.828 5.331 2.837 2.837-9.651 9.652-2.838-2.837 9.652-9.652Z'/%3e%3cpath fill='%23FFC326' d='m7.594 16.404 9.651-9.651 1.419 1.418-9.652 9.652-1.418-1.419Z'/%3e%3cpath fill='%23FF5331' d='m18.312 8.525-2.837-2.838 1.123-1.123c.44-.44 1.154-.44 1.595 0l1.243 1.243c.44.44.44 1.154 0 1.594l-1.124 1.124Z'/%3e%3cpath fill='%23F44D2C' d='m18.816 5.186-1.921 1.92 1.418 1.419 1.124-1.124c.44-.44.44-1.154 0-1.594l-.622-.621Z'/%3e%3c/svg%3e";const _o={author:Lo,edtior:Lo,expert:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='12' cy='12' r='12' fill='%23FFCB37'/%3e%3ccircle cx='12' cy='12' r='10.5' fill='%23FE921D'/%3e%3cpath d='M11.443 5.13654C11.6446 4.63466 12.355 4.63466 12.5566 5.13654L13.9931 8.71375C14.0789 8.92747 14.2795 9.0732 14.5093 9.08878L18.3553 9.34957C18.8949 9.38615 19.1145 10.0619 18.6994 10.4086L15.7412 12.8802C15.5645 13.0279 15.4878 13.2637 15.544 13.4871L16.4845 17.2254C16.6164 17.7499 16.0417 18.1676 15.5836 17.88L12.3188 15.8303C12.1238 15.7079 11.8758 15.7079 11.6808 15.8303L8.41599 17.88C7.95794 18.1676 7.38314 17.7499 7.51509 17.2254L8.45556 13.4871C8.51175 13.2637 8.43513 13.0279 8.25839 12.8802L5.30017 10.4086C4.88514 10.0619 5.10469 9.38615 5.64429 9.34957L9.49031 9.08878C9.7201 9.0732 9.92068 8.92747 10.0065 8.71375L11.443 5.13654Z' fill='white'/%3e%3c/svg%3e","fact-check":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z' fill='%2300C076'/%3e%3cpath d='M11.9456 5.46631L6.66562 10.2663L4.26562 8.08449' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",medical:Io},Ro=({trackingCategory:e="Together",locale:a,isOpen:n=!0,onClose:o,enableAnimation:r=!0,expertId:s,overwriteProfileProps:c,avatarFallback:u=l.CommonGAssets.getAssetPath("avatar.jpg")})=>{const{t:m}=i.useTranslations(),[h,f]=t.useState(null),[b,x]=t.useState(!1);return t.useEffect((()=>{if(n&&s&&String(null==h?void 0:h.user_id)!==String(s)){x(!0);try{f(null),d.callApi(d.getDiscoverApiPath(d.DISCOVER_PATHS.GET_EXPERT_BY_ID,{id:s}),"get").then((e=>{f(Object.assign(Object.assign({},null==e?void 0:e.data),c))}))}catch(e){console.error(e)}x(!1)}}),[n,s,null==h?void 0:h.user_id]),q.default.createElement(q.default.Fragment,null,q.default.createElement(Po,{"data-open":n,"data-animation":r,onClick:e=>e.stopPropagation()},b||!h?q.default.createElement(_n,null):q.default.createElement("div",{className:"popup-content"},q.default.createElement("div",{className:"close-button",onClick:o},q.default.createElement("img",{src:No,style:{width:20,height:20},alt:"close-icon",loading:"lazy"})),q.default.createElement("div",{className:"main-info"},q.default.createElement("div",{className:"border-banner"}),q.default.createElement("div",{className:"avatar-title"},q.default.createElement(Mo,null,q.default.createElement("div",{className:"image-container"},q.default.createElement("div",{style:{position:"relative"}},q.default.createElement(p.ImageWrap,{src:null==h?void 0:h.avatar,className:"profile-image",alt:"avatar",backupSrc:u}),q.default.createElement("img",{className:"badge-avatar",src:_o[null==h?void 0:h.role],alt:"badge",loading:"lazy"})))),q.default.createElement(zo,null,q.default.createElement(k.Text,{size:"s3",className:"full-name",type:"semiBold"},null==h?void 0:h.display_name),q.default.createElement("div",null,q.default.createElement(k.Text,{size:"p4",color:g.theme.colors.gray800},null==h?void 0:h.specialty," • "),q.default.createElement("a",{href:null==h?void 0:h.organisation_url,className:"organisation",target:"_blank",rel:"noreferrer"},q.default.createElement(k.Text,{size:"p4",className:"organisation",color:g.theme.colors.gray800,style:{textDecoration:"underline"}},null==h?void 0:h.organisation)))))),q.default.createElement(zo,null,q.default.createElement("div",{className:"experience"},q.default.createElement(k.Text,{type:"bold",size:"p4",color:g.theme.colors.gray800,style:{paddingBottom:16}},m("expert.content.description").toUpperCase()),q.default.createElement("div",{className:"list-items"},!!(null==h?void 0:h.experiences)&&h.experiences.filter((e=>!(!e||!e.title&&!e.organization))).slice(0,3).map(((e,t)=>q.default.createElement(Oo,{key:t},q.default.createElement("img",{className:"bullet-point",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='12' cy='12' r='2' fill='%232D87F3'/%3e%3c/svg%3e",alt:"point",loading:"lazy"}),q.default.createElement("div",{className:"text-contain"},q.default.createElement(d.Heading,{tag:"h6",color:g.theme.colors.gray800},null==e?void 0:e.title),q.default.createElement(k.Text,{size:"p2",color:g.theme.colors.gray500},null==e?void 0:e.organization)))))),q.default.createElement("a",{href:null==h?void 0:h.profile_url,style:{display:"inline-block",paddingTop:24}},q.default.createElement(k.Text,{as:"span",size:"s4",color:"#2D87F3","data-event-category":e,"data-event-action":"See Full Doctor Profile","data-event-label":d.getCurrentBaseUrl(a)+(null==h?void 0:h.profile_url)},m("home.seeExpert"))))))),q.default.createElement(Do,{"data-open":n,onClick:e=>{e.stopPropagation(),o()}}))},jo=Q.default.div`
|
|
4624
4624
|
position: fixed;
|
|
4625
4625
|
left: 50%;
|
|
4626
4626
|
width: 343px;
|
|
@@ -4630,7 +4630,7 @@
|
|
|
4630
4630
|
transform: translate(-50%, -50%);
|
|
4631
4631
|
transition: all 0.5s ease-in-out;
|
|
4632
4632
|
|
|
4633
|
-
${
|
|
4633
|
+
${h.MediaQueries.tdUp} {
|
|
4634
4634
|
width: 750px;
|
|
4635
4635
|
}
|
|
4636
4636
|
|
|
@@ -4650,7 +4650,7 @@
|
|
|
4650
4650
|
}
|
|
4651
4651
|
|
|
4652
4652
|
.popup-content {
|
|
4653
|
-
${
|
|
4653
|
+
${h.MediaQueries.mbDown} {
|
|
4654
4654
|
display: block;
|
|
4655
4655
|
}
|
|
4656
4656
|
display: flex;
|
|
@@ -4778,7 +4778,7 @@
|
|
|
4778
4778
|
width: 24px;
|
|
4779
4779
|
height: 24px;
|
|
4780
4780
|
}
|
|
4781
|
-
`;const Vo=({isOpen:e=!0,onClose:a,enableAnimation:
|
|
4781
|
+
`;const Vo=({isOpen:e=!0,onClose:a,enableAnimation:n=!0,hospitalId:o,locale:r,isMobile:s,overwriteProfileProps:c,avatarFallback:u=l.CommonGAssets.getAssetPath("avatar.jpg"),trackingCategory:m="Together"})=>{const{t:h}=i.useTranslations(),[f,b]=t.useState(null),[x,v]=t.useState(!1);t.useEffect((()=>{if(e&&o&&String(null==f?void 0:f.id)!==String(o)){v(!0);try{b(null),d.callApi(d.getCarePath(d.CARE_PATHS.GET_HOSPITAL_INFO,{hospital_branch_id:o,website_url:d.domainLocales[r]}),"get").then((e=>{b(Object.assign(Object.assign({},null==e?void 0:e._data.branch),c))}))}catch(e){console.error(e)}v(!1)}}),[e,o,null==f?void 0:f.id]);const y=(null==f?void 0:f.specialties)||[],w=t.useMemo((()=>y.map((e=>e.name))),[y]);return q.default.createElement(q.default.Fragment,null,q.default.createElement(jo,{"data-open":e,"data-animation":n,onClick:e=>e.stopPropagation()},x||!f?q.default.createElement(_n,null):q.default.createElement("div",{className:"popup-content"},q.default.createElement("div",{className:"close-button",onClick:a},q.default.createElement("img",{src:No,style:{width:20,height:20},alt:"close-icon",loading:"lazy"})),q.default.createElement("div",{className:"main-info"},q.default.createElement("div",{className:"border-banner"}),q.default.createElement("div",{className:"avatar-title"},q.default.createElement(Fo,null,q.default.createElement("div",{className:"image-container"},q.default.createElement("div",{style:{position:"relative"}},q.default.createElement(p.ImageWrap,{src:null==f?void 0:f.logo,className:"profile-image",alt:"avatar",backupSrc:u}),q.default.createElement("img",{className:"badge-avatar",src:Io,alt:"badge",loading:"lazy"})))),q.default.createElement(Uo,null,q.default.createElement(k.Text,{size:"s3",type:"semiBold",className:"full-name"},null==f?void 0:f.name),q.default.createElement("div",{className:"specialty"},y&&q.default.createElement(k.Text,{size:"p4",color:g.theme.colors.gray800},w.join(" • "),"•"),q.default.createElement("a",{href:d.getCareHospitalUrl({id:f.id,name:f.name,slug:f.slug,locale:r}),className:"organisation",target:"_blank",rel:"noreferrer"},q.default.createElement(k.Text,{size:"p4",className:"organisation",color:g.theme.colors.gray800,style:{textDecoration:"underline"}},null==f?void 0:f.name))))),!s&&q.default.createElement("a",{href:d.getCareHospitalUrl({id:f.id,name:f.name,slug:f.slug,locale:r})},q.default.createElement("div",{className:"btn-wrapper"},q.default.createElement(S.Button,{color:"primary",size:"md",className:"btn-booking"},h("careBooking.bookAnAppointment"))))),q.default.createElement(Uo,null,q.default.createElement("div",{className:"experience"},q.default.createElement(k.Text,{type:"bold",size:"s3",color:g.theme.colors.gray800,style:{paddingBottom:16}},h("hospital.content.description").toUpperCase()),q.default.createElement(k.Text,{size:"p2",color:g.theme.colors.gray500},f.about),s?q.default.createElement("a",{href:d.getCareHospitalUrl({id:f.id,name:f.name,slug:f.slug,locale:r})},q.default.createElement("div",{className:"btn-wrapper"},q.default.createElement(S.Button,{color:"primary",size:"md",className:"btn-booking"},h("careBooking.bookAnAppointment")))):q.default.createElement("a",{href:d.getCareHospitalUrl({id:f.id,name:f.name,slug:f.slug,locale:r})},q.default.createElement(k.Text,{size:"s4",color:"#2D87F3",as:"span","data-event-category":m,"data-event-action":"See Full Hospital Profile","data-event-label":d.getCurrentBaseUrl(r)+d.getCareHospitalUrl({id:f.id,name:f.name,slug:f.slug,locale:r})},h("home.seeHospital"))))))),q.default.createElement($o,{"data-open":e,onClick:e=>{e.stopPropagation(),a()}}))};var Ho="_2UKyiK1",qo="E5ga-tI",Go="_8Y2nWXX",Wo="d0T7kSP";const Qo=({open:e,onClose:t,children:a,profileModalProps:n})=>{const{t:o}=i.useTranslations();return q.default.createElement(O.Modal,Object.assign({className:Ho,opened:e,onClose:t,overlayOpacity:.2,overflow:"inside",styles:{inner:{padding:0,justifyContent:"flex-end"},modal:{height:"100%",borderRadius:0},body:{padding:"24px",maxHeight:"100%"},content:{maxHeight:"100%",height:"100%",borderRadius:0}},title:"Profile"},n),q.default.createElement("div",{className:qo},q.default.createElement("div",{className:Go},o("profilePanel.modal.heading")),q.default.createElement("div",{className:Wo,onClick:t},q.default.createElement(ne,null))),a)};Z.default.extend(Y.default);const Zo=t.createContext({}),Xo=e=>{const{className:n="",community:o,name:s,username:c,url:u,avatar:p,role:m,title:f,userType:b="user",expertId:x,specialty:v,organisation:y,isMarryBaby:w,doctorId:C,hospitalId:E,hasQuickBooking:k,handleMakeAppointment:S,communityTrackingAttr:A,isAnonymous:T,showDetailPopup:N,subLine:I,authActionWrapper:B,profileProps:P,profileModalProps:D,extendEle:M,avatarProps:z,hideInfo:O,timeText:L,onCloseFromPost:_,avatarIcon:R,badgeIconSize:j,hideBackground:$,children:F,styles:U,dataEventCategory:V,dataEventAction:H,dataEventLabel:G}=e,{data:{locale:W,router:Q,env:{isMarryBaby:Z,togetherBasePath:X}}}=t.useContext(d.TogetherComponentGlobalContext),{isMobile:Y}=d.useScreenSize(),{t:K}=i.useTranslations(),{classes:J}=Co(void 0,{name:"CardAuthor",styles:U}),ee="boolean"==typeof w?w:Z,te=ee?"marryBaby":"helloSites",ae=T?K("cardPost.anonymous"):s||c||"",ne=T?l.CommonGAssets.getAssetPath("avatar.jpg"):p,re=T?void 0:m,[le,se]=t.useState(!1),{asPath:de}=Q||{},ce=`https://${r.domainLocales[W]}${de}`,ue=()=>{if(T||"chatbot"===b)return!1;N?me(!0):u&&(window.location.href=u)};t.useEffect((()=>{h.toggleNoScroll(le)}),[le]);const[pe,me]=t.useState(!1),he="expert"===(null==e?void 0:e.role),ge=Boolean(C||E),fe=["expert"===re&&y&&q.default.createElement("span",null,y),"expert"===re&&v&&q.default.createElement("span",null,v),!("expert"===re&&v&&y)&&(null==o?void 0:o.name)&&q.default.createElement("a",Object.assign({href:(null==o?void 0:o.slug)&&o.isActive&&!o.isHidden?`${X}/${null==o?void 0:o.slug}/`:void 0,className:"author-community-name"},A),`${null==o?void 0:o.name}`),L&&q.default.createElement("span",null,L)].filter(Boolean),[be,xe]=t.useState(null);return t.useEffect((()=>{pe&&!be&&Promise.resolve().then((function(){return es})).then((e=>{xe((()=>e.ProfileDetail))}))}),[pe]),q.default.createElement(Zo.Provider,{value:{handleMakeAppointment:S,doctorId:C,hospitalId:E,currentUrl:ce}},q.default.createElement(Qo,{open:pe,onClose:()=>me(!1),profileModalProps:D},be&&q.default.createElement(be,Object.assign({currentPageUrl:G,authActionWrapper:B,onCloseFromPost:()=>{me(!1),null==_||_()}},P,{authorProps:Object.assign({userId:null==e?void 0:e.userId,avatar:ne,name:null==e?void 0:e.name,role:null==e?void 0:e.role,title:null==e?void 0:e.title,doctorId:C,hospitalId:E,hasQuickBooking:k},null==P?void 0:P.authorProps)}))),"expert"===re&&x?q.default.createElement(Ro,{isOpen:le,onClose:()=>se(!1),expertId:x}):null,"expert"===re&&C?q.default.createElement(Bo,{isOpen:le,onClose:()=>se(!1),doctorId:C,locale:W}):null,"expert"===re&&E?q.default.createElement(Vo,{isOpen:le,onClose:()=>se(!1),hospitalId:E,locale:W}):null,q.default.createElement("div",{className:`hhg-card-author ${J.root} ${n} ${he?"expert-author":""}`,"data-background":!$&&he,"data-is-marrybaby":ee},q.default.createElement(wo,{dataEventCategory:V,dataEventAction:H,dataEventLabel:G,onAvatarClick:ue,avatarProps:Object.assign(Object.assign({avatar:T?l.CommonGAssets.getAssetPath(ee?"anomyous-avatar-1.svg":"anomyous-avatar.svg"):ne,username:ae},z),{style:{cursor:T||!u&&!N?"default":"pointer"}}),avatarIcon:R||he&&q.default.createElement(lo,{size:j||15})},F?q.default.createElement("div",{onClick:ue},F):!O&&q.default.createElement(wo.Row,null,q.default.createElement(wo.ColLeft,null,q.default.createElement(a.Flex,{align:"center",onClick:ue},q.default.createElement(wo.MainText,{onClick:ue},ae,"chatbot"===b?q.default.createElement(q.default.Fragment,null," ",q.default.createElement(so,{color:g.theme.colors.primaryBase,size:16,style:{display:"inline-block",transform:"translate(0, 2px)"}})):re&&q.default.createElement(ie,{className:J.authorBadge,siteType:te,role:re,title:f,style:{verticalAlign:"bottom"}}))),I||q.default.createElement(wo.SubTextRow,{style:k?{position:"relative"}:{}},fe.map(((e,t)=>q.default.createElement(q.default.Fragment,null,0!==t&&q.default.createElement(wo.SubDivider,null),q.default.createElement(wo.SubText,null,e)))),k&&ge&&q.default.createElement(a.Box,{sx:{marginTop:a.rem(5)}},q.default.createElement(oe,{bookingId:C||E,bookingType:C?"doctor":E?"hospital":void 0,size:Y?"xs":"sm"})))))),M&&M))};Xo.MainText=wo.MainText,Xo.SubText=wo.SubText,Xo.SubTextRow=wo.SubTextRow,Xo.SubDivider=wo.SubDivider;const Yo=Q.default.div`
|
|
4782
4782
|
position: relative;
|
|
4783
4783
|
display: flex;
|
|
4784
4784
|
height: 100%;
|
|
@@ -4856,12 +4856,12 @@
|
|
|
4856
4856
|
.swich-input-group {
|
|
4857
4857
|
padding: 12px 16px;
|
|
4858
4858
|
border-radius: 8px;
|
|
4859
|
-
background: ${
|
|
4859
|
+
background: ${g.theme.colors.neutral50};
|
|
4860
4860
|
|
|
4861
4861
|
&.askdoctor-switch {
|
|
4862
|
-
background: ${
|
|
4862
|
+
background: ${g.theme.colors.primary50};
|
|
4863
4863
|
&.mb-color {
|
|
4864
|
-
background: ${
|
|
4864
|
+
background: ${g.theme.mbColors.tonePink};
|
|
4865
4865
|
}
|
|
4866
4866
|
|
|
4867
4867
|
|
|
@@ -4880,7 +4880,7 @@
|
|
|
4880
4880
|
.label-txt {
|
|
4881
4881
|
font-weight: normal;
|
|
4882
4882
|
font-size: 14px;
|
|
4883
|
-
color: ${
|
|
4883
|
+
color: ${g.theme.colors.gray800};
|
|
4884
4884
|
margin-left: 10px;
|
|
4885
4885
|
}
|
|
4886
4886
|
}
|
|
@@ -4891,10 +4891,10 @@
|
|
|
4891
4891
|
justify-content: space-between;
|
|
4892
4892
|
padding: 12px 16px;
|
|
4893
4893
|
border-radius: 8px;
|
|
4894
|
-
background: ${
|
|
4894
|
+
background: ${g.theme.colors.primary50};
|
|
4895
4895
|
|
|
4896
4896
|
&[data-is-marry-baby='true'] {
|
|
4897
|
-
background: ${
|
|
4897
|
+
background: ${g.theme.mbColors.tonePink};
|
|
4898
4898
|
}
|
|
4899
4899
|
.switch-label {
|
|
4900
4900
|
display: flex;
|
|
@@ -4904,7 +4904,7 @@
|
|
|
4904
4904
|
margin-bottom: 12px;
|
|
4905
4905
|
`,Jo=Q.default.div`
|
|
4906
4906
|
margin-bottom: 12px;
|
|
4907
|
-
color: ${
|
|
4907
|
+
color: ${g.theme.colors.red700};
|
|
4908
4908
|
svg {
|
|
4909
4909
|
margin-right: 5px;
|
|
4910
4910
|
}
|
|
@@ -5230,7 +5230,7 @@
|
|
|
5230
5230
|
}
|
|
5231
5231
|
}
|
|
5232
5232
|
}
|
|
5233
|
-
`;let Cr=null;function Er(e){var t,a;let i=-1;if(void 0!==window.getSelection){const n=window.getSelection();if((null==n?void 0:n.rangeCount)&&(null==n?void 0:n.rangeCount)>0){const n=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(n){const t=n.cloneRange();t.selectNodeContents(e),t.setEnd(n.endContainer,n.endOffset),i=kr(t.cloneContents().childNodes,i);const o=null===(a=n.endContainer.parentElement)||void 0===a?void 0:a.closest("mocka"),r=n.endContainer.nodeValue||n.endContainer.outerHTML;o&&(null==r?void 0:r.length)&&(i=i-n.endOffset+(o.outerHTML.length-(null==o?void 0:o.outerHTML.lastIndexOf(r))))}}}return i}function kr(e,t){return e.forEach(((a,i)=>{const n=i+1===e.length;if(a.nodeType===Node.ELEMENT_NODE){const e=a.outerHTML;if(!n)return void(t+=e.length);t+=e.indexOf(">")+1,t=kr(a.childNodes,t)}else a.nodeType===Node.TEXT_NODE&&(t+=(a.nodeValue||"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").length)})),t}e.__awaiter(void 0,void 0,void 0,(function*(){if("undefined"==typeof window)return;const e=yield Promise.resolve().then((function(){return H(require("react-quill"))}));Cr=e.default;const t=e.Quill||Cr.Quill;t.register("modules/preserveWhiteSpace",class{constructor(e,t){this.quill=e,this.options=t,e.container.style.whiteSpace="pre-line"}});const a=t.import("blots/inline");class i extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return i.setNodeConfigurations(t,e),t}static formats(e){return!(!e.innerText||!(e.getAttribute("data-href")||e.getAttribute("data-url")||e.getAttribute("data-error")||e.getAttribute("data-bad-word")))&&{"data-bad-word":e.getAttribute("data-bad-word"),"data-error":e.getAttribute("data-error"),"data-href":e.getAttribute("data-href"),"data-url":e.getAttribute("data-url"),"data-text":e.innerText||e.getAttribute("data-href")}}static setNodeConfigurations(e,t){var a,i;t&&(null===(i=null===(a=null==t?void 0:t["data-text"])||void 0===a?void 0:a.replace(/(\ )+/g," "))||void 0===i?void 0:i.replace(/(\u200c|‌)+/g,""))&&(t["data-bad-word"]&&e.setAttribute("data-bad-word",t["data-bad-word"]),t["data-href"]&&e.setAttribute("data-href",t["data-href"]),t["data-error"]&&e.setAttribute("data-error",t["data-error"]),t["data-url"]&&e.setAttribute("data-url",t["data-url"]))}}i.blotName="mocka1",i.tagName="mocka",t.register(i);class n extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return n.setNodeConfigurations(t,e),t}static formats(e){return!(!e.getAttribute("data-name")||!e.getAttribute("data-id"))&&{"data-name":e.getAttribute("data-name"),"data-id":e.getAttribute("data-id")}}static setNodeConfigurations(e,t){var a,i;t&&t["data-id"]&&(null===(i=null===(a=null==t?void 0:t["data-name"])||void 0===a?void 0:a.replace(/(\ )+/g," "))||void 0===i?void 0:i.replace(/(\u200c|‌)+/g,""))&&(t["data-id"]&&e.setAttribute("data-id",t["data-id"]),t["data-name"]&&e.setAttribute("data-name",t["data-name"]))}}n.blotName="mention",n.tagName="mention",t.register(n)}));const Sr=(e,t)=>{var a;const{formatUrl:i,bannedWords:n=[]}=t||{},o=e.replace(/<font [^\>]*>(.+)<\/font>/gim,((e,t)=>t.replace(/<u[^\>]*>(.+)<\/u>/gim,"$1"))).replace(nr,((e,t,a,i)=>{if(i!==a){const e=a.split(" "),n=e.findIndex(((t,a)=>{const n=e.slice(0,a+1).join(" ");return!i.startsWith(n)}));if(0===n)return`@${i}`;{const a=(n<0?e:e.slice(0,n)).join(" "),o=i.slice(a.length).trim();return console.log(n,a,o),`<mention data-id="${t}" data-name="${a}">${a}</mention> ${o} `}}return e}));if(!i)return{value:vr(o,n)};let r=(e=>e.replace(dr,((e,t)=>{const a=document.createElement("div");a.innerHTML=e;const i=a.firstChild;return(null==i?void 0:i.innerText)!==(null==i?void 0:i.getAttribute("data-bad-word"))?t:e})))((e=>{var t,a;return null===(a=null===(t=e.replace(/(\ )+/g," "))||void 0===t?void 0:t.replace(/(\u200c|‌)+/g,""))||void 0===a?void 0:a.replace(er,((e,t,a)=>{var i;const n=null===(i=t.match(/data-href="([^"]*)"/im))||void 0===i?void 0:i[1];return!n||n===a||a.match(rr)?a:n?`<a href="${n}">${a}</a>`:`<a href="${a}">${a}</a>`})).replace(tr,((e,t,a)=>{if('="'!==t&&'data-url="true">'!==t){const e=a.toLowerCase(),t=`${e.startsWith("http")?"":" https://"}${e}`;return cr({text:t,url:t,method:"edit"})}return e})).replace(sr,((e,t,a)=>cr({text:a||t,url:t,method:"edit"})))})(o));const l=(e=>{var t;return[...mr(e),...(null===(t=e.match(er))||void 0===t?void 0:t.map((e=>{var t,a;const i=null===(t=e.match(/data-href="([^"]*)"/im))||void 0===t?void 0:t[1],n=null===(a=e.match(/>(.*?)<\/mocka>/im))||void 0===a?void 0:a[1];return i||n})))||[]].filter((e=>!!e))})(o);if(l){const e=[];let t="";return l.forEach((t=>{if(t)try{const a=new URL(t);br.some((e=>a.origin.endsWith(e)))||e.push(t)}catch(a){e.push(t)}})),e.length>0&&(r=r.replace(new RegExp(`data-url="true">(${e.map(gr).join("|")})<`,"gi"),'data-error="true" data-url="true">$1<').replace(new RegExp(`data-href="(${e.map(gr).join("|")})" data-url="true">`,"gi"),'data-href="$1" data-error="true" data-url="true">')),t=null===(a=l.filter((t=>-1===e.indexOf(t))))||void 0===a?void 0:a[0],{invalidUrls:e,previewUrl:t,value:vr(r,n)}}return{value:vr(r,n)}},Ar=({onAddLink:e,id:t})=>q.default.createElement("div",{id:"toolbar-"+t,onClick:e=>{e.preventDefault(),e.stopPropagation()}},q.default.createElement("span",{className:"ql-formats"},q.default.createElement("button",{className:"ql-bold",type:"button"}),q.default.createElement("button",{className:"ql-italic",type:"button"}),q.default.createElement("button",{className:"ql-underline",type:"button"})),q.default.createElement("span",{className:"ql-formats"},q.default.createElement("button",{className:"ql-list",value:"ordered",type:"button"}),q.default.createElement("button",{className:"ql-list",value:"bullet",type:"button"})),q.default.createElement("span",{className:"ql-formats"},q.default.createElement("button",{className:"ql-image",type:"button"}),e&&q.default.createElement(io,{className:"link-tool-wrapper",toggleButtonContent:q.default.createElement("img",{className:"link-icon",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.54545 16H7.09091C6.55368 16 6.02172 15.8965 5.52539 15.6955C5.02905 15.4945 4.57808 15.1999 4.1982 14.8284C3.43101 14.0783 3 13.0609 3 12C3 10.9391 3.43101 9.92172 4.1982 9.17157C4.96539 8.42143 6.00593 8 7.09091 8H9.54545M13.9256 8H16.9091C17.4463 8 17.9783 8.10346 18.4746 8.30448C18.9709 8.5055 19.4219 8.80014 19.8018 9.17157C20.1817 9.54301 20.483 9.98396 20.6886 10.4693C20.8942 10.9546 21 11.4747 21 12C21 12.5253 20.8942 13.0454 20.6886 13.5307C20.483 14.016 20.1817 14.457 19.8018 14.8284C19.4219 15.1999 18.9709 15.4945 18.4746 15.6955C17.9783 15.8965 17.4463 16 16.9091 16H13.9256' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M9 12H15' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}),buttonProps:{size:"md",color:"transparent"},align:"end"},(({setShow:t})=>q.default.createElement(Nr,{onAddUrl:e,setShow:t}))))),Tr=["notification.limitUrlDomain","notification.urlWrongFormat"],Nr=({onAddUrl:e,setShow:a})=>{const{data:{env:{isMarryBaby:n}}}=t.useContext(
|
|
5233
|
+
`;let Cr=null;function Er(e){var t,a;let i=-1;if(void 0!==window.getSelection){const n=window.getSelection();if((null==n?void 0:n.rangeCount)&&(null==n?void 0:n.rangeCount)>0){const n=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(n){const t=n.cloneRange();t.selectNodeContents(e),t.setEnd(n.endContainer,n.endOffset),i=kr(t.cloneContents().childNodes,i);const o=null===(a=n.endContainer.parentElement)||void 0===a?void 0:a.closest("mocka"),r=n.endContainer.nodeValue||n.endContainer.outerHTML;o&&(null==r?void 0:r.length)&&(i=i-n.endOffset+(o.outerHTML.length-(null==o?void 0:o.outerHTML.lastIndexOf(r))))}}}return i}function kr(e,t){return e.forEach(((a,i)=>{const n=i+1===e.length;if(a.nodeType===Node.ELEMENT_NODE){const e=a.outerHTML;if(!n)return void(t+=e.length);t+=e.indexOf(">")+1,t=kr(a.childNodes,t)}else a.nodeType===Node.TEXT_NODE&&(t+=(a.nodeValue||"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").length)})),t}e.__awaiter(void 0,void 0,void 0,(function*(){if("undefined"==typeof window)return;const e=yield Promise.resolve().then((function(){return H(require("react-quill"))}));Cr=e.default;const t=e.Quill||Cr.Quill;t.register("modules/preserveWhiteSpace",class{constructor(e,t){this.quill=e,this.options=t,e.container.style.whiteSpace="pre-line"}});const a=t.import("blots/inline");class i extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return i.setNodeConfigurations(t,e),t}static formats(e){return!(!e.innerText||!(e.getAttribute("data-href")||e.getAttribute("data-url")||e.getAttribute("data-error")||e.getAttribute("data-bad-word")))&&{"data-bad-word":e.getAttribute("data-bad-word"),"data-error":e.getAttribute("data-error"),"data-href":e.getAttribute("data-href"),"data-url":e.getAttribute("data-url"),"data-text":e.innerText||e.getAttribute("data-href")}}static setNodeConfigurations(e,t){var a,i;t&&(null===(i=null===(a=null==t?void 0:t["data-text"])||void 0===a?void 0:a.replace(/(\ )+/g," "))||void 0===i?void 0:i.replace(/(\u200c|‌)+/g,""))&&(t["data-bad-word"]&&e.setAttribute("data-bad-word",t["data-bad-word"]),t["data-href"]&&e.setAttribute("data-href",t["data-href"]),t["data-error"]&&e.setAttribute("data-error",t["data-error"]),t["data-url"]&&e.setAttribute("data-url",t["data-url"]))}}i.blotName="mocka1",i.tagName="mocka",t.register(i);class n extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return n.setNodeConfigurations(t,e),t}static formats(e){return!(!e.getAttribute("data-name")||!e.getAttribute("data-id"))&&{"data-name":e.getAttribute("data-name"),"data-id":e.getAttribute("data-id")}}static setNodeConfigurations(e,t){var a,i;t&&t["data-id"]&&(null===(i=null===(a=null==t?void 0:t["data-name"])||void 0===a?void 0:a.replace(/(\ )+/g," "))||void 0===i?void 0:i.replace(/(\u200c|‌)+/g,""))&&(t["data-id"]&&e.setAttribute("data-id",t["data-id"]),t["data-name"]&&e.setAttribute("data-name",t["data-name"]))}}n.blotName="mention",n.tagName="mention",t.register(n)}));const Sr=(e,t)=>{var a;const{formatUrl:i,bannedWords:n=[]}=t||{},o=e.replace(/<font [^\>]*>(.+)<\/font>/gim,((e,t)=>t.replace(/<u[^\>]*>(.+)<\/u>/gim,"$1"))).replace(nr,((e,t,a,i)=>{if(i!==a){const e=a.split(" "),n=e.findIndex(((t,a)=>{const n=e.slice(0,a+1).join(" ");return!i.startsWith(n)}));if(0===n)return`@${i}`;{const a=(n<0?e:e.slice(0,n)).join(" "),o=i.slice(a.length).trim();return console.log(n,a,o),`<mention data-id="${t}" data-name="${a}">${a}</mention> ${o} `}}return e}));if(!i)return{value:vr(o,n)};let r=(e=>e.replace(dr,((e,t)=>{const a=document.createElement("div");a.innerHTML=e;const i=a.firstChild;return(null==i?void 0:i.innerText)!==(null==i?void 0:i.getAttribute("data-bad-word"))?t:e})))((e=>{var t,a;return null===(a=null===(t=e.replace(/(\ )+/g," "))||void 0===t?void 0:t.replace(/(\u200c|‌)+/g,""))||void 0===a?void 0:a.replace(er,((e,t,a)=>{var i;const n=null===(i=t.match(/data-href="([^"]*)"/im))||void 0===i?void 0:i[1];return!n||n===a||a.match(rr)?a:n?`<a href="${n}">${a}</a>`:`<a href="${a}">${a}</a>`})).replace(tr,((e,t,a)=>{if('="'!==t&&'data-url="true">'!==t){const e=a.toLowerCase(),t=`${e.startsWith("http")?"":" https://"}${e}`;return cr({text:t,url:t,method:"edit"})}return e})).replace(sr,((e,t,a)=>cr({text:a||t,url:t,method:"edit"})))})(o));const l=(e=>{var t;return[...mr(e),...(null===(t=e.match(er))||void 0===t?void 0:t.map((e=>{var t,a;const i=null===(t=e.match(/data-href="([^"]*)"/im))||void 0===t?void 0:t[1],n=null===(a=e.match(/>(.*?)<\/mocka>/im))||void 0===a?void 0:a[1];return i||n})))||[]].filter((e=>!!e))})(o);if(l){const e=[];let t="";return l.forEach((t=>{if(t)try{const a=new URL(t);br.some((e=>a.origin.endsWith(e)))||e.push(t)}catch(a){e.push(t)}})),e.length>0&&(r=r.replace(new RegExp(`data-url="true">(${e.map(gr).join("|")})<`,"gi"),'data-error="true" data-url="true">$1<').replace(new RegExp(`data-href="(${e.map(gr).join("|")})" data-url="true">`,"gi"),'data-href="$1" data-error="true" data-url="true">')),t=null===(a=l.filter((t=>-1===e.indexOf(t))))||void 0===a?void 0:a[0],{invalidUrls:e,previewUrl:t,value:vr(r,n)}}return{value:vr(r,n)}},Ar=({onAddLink:e,id:t})=>q.default.createElement("div",{id:"toolbar-"+t,onClick:e=>{e.preventDefault(),e.stopPropagation()}},q.default.createElement("span",{className:"ql-formats"},q.default.createElement("button",{className:"ql-bold",type:"button"}),q.default.createElement("button",{className:"ql-italic",type:"button"}),q.default.createElement("button",{className:"ql-underline",type:"button"})),q.default.createElement("span",{className:"ql-formats"},q.default.createElement("button",{className:"ql-list",value:"ordered",type:"button"}),q.default.createElement("button",{className:"ql-list",value:"bullet",type:"button"})),q.default.createElement("span",{className:"ql-formats"},q.default.createElement("button",{className:"ql-image",type:"button"}),e&&q.default.createElement(io,{className:"link-tool-wrapper",toggleButtonContent:q.default.createElement("img",{className:"link-icon",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.54545 16H7.09091C6.55368 16 6.02172 15.8965 5.52539 15.6955C5.02905 15.4945 4.57808 15.1999 4.1982 14.8284C3.43101 14.0783 3 13.0609 3 12C3 10.9391 3.43101 9.92172 4.1982 9.17157C4.96539 8.42143 6.00593 8 7.09091 8H9.54545M13.9256 8H16.9091C17.4463 8 17.9783 8.10346 18.4746 8.30448C18.9709 8.5055 19.4219 8.80014 19.8018 9.17157C20.1817 9.54301 20.483 9.98396 20.6886 10.4693C20.8942 10.9546 21 11.4747 21 12C21 12.5253 20.8942 13.0454 20.6886 13.5307C20.483 14.016 20.1817 14.457 19.8018 14.8284C19.4219 15.1999 18.9709 15.4945 18.4746 15.6955C17.9783 15.8965 17.4463 16 16.9091 16H13.9256' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M9 12H15' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}),buttonProps:{size:"md",color:"transparent"},align:"end"},(({setShow:t})=>q.default.createElement(Nr,{onAddUrl:e,setShow:t}))))),Tr=["notification.limitUrlDomain","notification.urlWrongFormat"],Nr=({onAddUrl:e,setShow:a})=>{const{data:{env:{isMarryBaby:n}}}=t.useContext(d.TogetherComponentGlobalContext),{t:o}=i.useTranslations(),[r,l]=t.useState(""),[s,c]=t.useState(""),[u,p]=t.useState(-1),m=r.trim()&&s.trim()&&u<0;return q.default.createElement("div",{className:"link-tool-popover"},q.default.createElement(A.Input,{name:"url",value:r,size:"md",label:"URL",placeholder:o("placeholder.enterUrlHere"),type:"text",className:"link-input-url",onChange:e=>{l(e),(e=>{const t=xr(e.trim());try{const e=new URL(t);return e.protocol.startsWith("http")?br.some((t=>e.origin.endsWith("/"+t)||e.origin.endsWith("."+t)))?(p(-1),!0):(p(0),!1):(p(1),!1)}catch(e){return p(1),!1}})(e)}}),u>=0&&q.default.createElement(k.Text,{size:"c2",className:"error-text"},o(Tr[u])),q.default.createElement(A.Input,{name:"text",value:s,size:"md",label:o("createPost.urlText"),placeholder:o("placeholder.enterUrlTextHere"),type:"text",className:"link-input-text",onChange:e=>c(e)}),q.default.createElement("div",{"data-is-marrybaby":n,className:"link-input-button-wrapper"},q.default.createElement(S.Button,{theme:n?"marryBaby":"helloSites",size:"sm",color:"primary",className:"link-input-button",onClick:()=>{m&&(e(s.trim(),xr(r.trim())),a&&a(!1))},isDisabled:!m},o("insert"))))},Ir=Q.default.div`
|
|
5234
5234
|
input:focus,
|
|
5235
5235
|
textarea:focus,
|
|
5236
5236
|
[contenteditable='true'] {
|
|
@@ -5422,7 +5422,7 @@
|
|
|
5422
5422
|
overflow: hidden;
|
|
5423
5423
|
border-radius: 1rem;
|
|
5424
5424
|
&[data-open='true'] {
|
|
5425
|
-
${
|
|
5425
|
+
${h.MediaQueries.mbDown} {
|
|
5426
5426
|
top: 100%;
|
|
5427
5427
|
transform: translate(-50%, -100%);
|
|
5428
5428
|
max-width: unset;
|
|
@@ -5434,12 +5434,12 @@
|
|
|
5434
5434
|
}
|
|
5435
5435
|
.popup-content {
|
|
5436
5436
|
.close-button {
|
|
5437
|
-
${
|
|
5437
|
+
${h.MediaQueries.mbDown} {
|
|
5438
5438
|
display: none;
|
|
5439
5439
|
}
|
|
5440
5440
|
}
|
|
5441
5441
|
.confirm-dialog {
|
|
5442
|
-
${
|
|
5442
|
+
${h.MediaQueries.mbDown} {
|
|
5443
5443
|
background: unset;
|
|
5444
5444
|
position: relative;
|
|
5445
5445
|
overflow-x: hidden;
|
|
@@ -5459,7 +5459,7 @@
|
|
|
5459
5459
|
}
|
|
5460
5460
|
.confirm-content {
|
|
5461
5461
|
padding: 0 40px 40px;
|
|
5462
|
-
${
|
|
5462
|
+
${h.MediaQueries.mbDown} {
|
|
5463
5463
|
padding-left: 1.5rem;
|
|
5464
5464
|
padding-right: 1.5rem;
|
|
5465
5465
|
}
|
|
@@ -5478,7 +5478,7 @@
|
|
|
5478
5478
|
}
|
|
5479
5479
|
}
|
|
5480
5480
|
.thumbnail-container {
|
|
5481
|
-
${
|
|
5481
|
+
${h.MediaQueries.mbDown} {
|
|
5482
5482
|
display: none;
|
|
5483
5483
|
}
|
|
5484
5484
|
&.is-icon {
|
|
@@ -5500,14 +5500,14 @@
|
|
|
5500
5500
|
height: 24px;
|
|
5501
5501
|
}
|
|
5502
5502
|
}
|
|
5503
|
-
${
|
|
5503
|
+
${h.MediaQueries.mbDown} {
|
|
5504
5504
|
display: flex;
|
|
5505
5505
|
}
|
|
5506
5506
|
}
|
|
5507
5507
|
}
|
|
5508
5508
|
}
|
|
5509
5509
|
}
|
|
5510
|
-
`,Dr=t=>{var{size:a,color:i,isExpand:n,useCurrentColor:o,isActive:r,activeColor:l}=t,s=e.__rest(t,["size","color","isExpand","useCurrentColor","isActive","activeColor"]);const d=o?"currentColor":r?l:i,c=Object.assign({width:a,height:a},s);return n?q.default.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c),q.default.createElement("path",{d:"M15.1801 4C14.6212 4 14.3418 4.67561 14.7373 5.07108L16.0864 6.42229L6.42229 16.0864L5.07108 14.7373C4.67561 14.3418 4 14.6212 4 15.1801V19.3718C4 19.7187 4.28026 20 4.62617 20H8.81987C9.37881 20 9.6582 19.3244 9.26272 18.9289L7.91357 17.5777L17.5777 7.91357L18.9289 9.26272C19.3244 9.6582 20 9.37881 20 8.81987V4.62617C20 4.28026 19.7187 4 19.3718 4H15.1801Z",fill:d})):q.default.createElement("svg",Object.assign({width:a,height:a,viewBox:"0 0 14 14",fill:d,xmlns:"http://www.w3.org/2000/svg"},s),q.default.createElement("path",{d:"M9.64991 0.333008C9.18412 0.333008 8.9513 0.896013 9.28086 1.22558L10.4052 2.35159L2.35171 10.405L1.2257 9.28074C0.896135 8.95118 0.33313 9.184 0.33313 9.64979V13.1428C0.33313 13.432 0.566681 13.6663 0.854939 13.6663H4.34969C4.81547 13.6663 5.04829 13.1033 4.71873 12.7738L3.59444 11.6478L11.6479 3.59432L12.7739 4.71861C13.1035 5.04817 13.6665 4.81535 13.6665 4.34957V0.854817C13.6665 0.566559 13.4321 0.333008 13.1429 0.333008H9.64991Z"}))};Dr.defaultProps={size:24,color:
|
|
5510
|
+
`,Dr=t=>{var{size:a,color:i,isExpand:n,useCurrentColor:o,isActive:r,activeColor:l}=t,s=e.__rest(t,["size","color","isExpand","useCurrentColor","isActive","activeColor"]);const d=o?"currentColor":r?l:i,c=Object.assign({width:a,height:a},s);return n?q.default.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c),q.default.createElement("path",{d:"M15.1801 4C14.6212 4 14.3418 4.67561 14.7373 5.07108L16.0864 6.42229L6.42229 16.0864L5.07108 14.7373C4.67561 14.3418 4 14.6212 4 15.1801V19.3718C4 19.7187 4.28026 20 4.62617 20H8.81987C9.37881 20 9.6582 19.3244 9.26272 18.9289L7.91357 17.5777L17.5777 7.91357L18.9289 9.26272C19.3244 9.6582 20 9.37881 20 8.81987V4.62617C20 4.28026 19.7187 4 19.3718 4H15.1801Z",fill:d})):q.default.createElement("svg",Object.assign({width:a,height:a,viewBox:"0 0 14 14",fill:d,xmlns:"http://www.w3.org/2000/svg"},s),q.default.createElement("path",{d:"M9.64991 0.333008C9.18412 0.333008 8.9513 0.896013 9.28086 1.22558L10.4052 2.35159L2.35171 10.405L1.2257 9.28074C0.896135 8.95118 0.33313 9.184 0.33313 9.64979V13.1428C0.33313 13.432 0.566681 13.6663 0.854939 13.6663H4.34969C4.81547 13.6663 5.04829 13.1033 4.71873 12.7738L3.59444 11.6478L11.6479 3.59432L12.7739 4.71861C13.1035 5.04817 13.6665 4.81535 13.6665 4.34957V0.854817C13.6665 0.566559 13.4321 0.333008 13.1429 0.333008H9.64991Z"}))};Dr.defaultProps={size:24,color:g.theme.colors.gray600,activeColor:g.theme.colors.primaryBase};const Mr=Q.default.div`
|
|
5511
5511
|
[data-type='confirm'] {
|
|
5512
5512
|
max-width: 468px;
|
|
5513
5513
|
/* height: 486px; */
|
|
@@ -5555,7 +5555,7 @@
|
|
|
5555
5555
|
}
|
|
5556
5556
|
}
|
|
5557
5557
|
|
|
5558
|
-
${e=>e.isExpand&&
|
|
5558
|
+
${e=>e.isExpand&&c.css`
|
|
5559
5559
|
& > div[data-open] {
|
|
5560
5560
|
width: 100%;
|
|
5561
5561
|
height: 100%;
|
|
@@ -5564,7 +5564,7 @@
|
|
|
5564
5564
|
}
|
|
5565
5565
|
`}
|
|
5566
5566
|
|
|
5567
|
-
${e=>e.hasFullscreen&&
|
|
5567
|
+
${e=>e.hasFullscreen&&c.css`
|
|
5568
5568
|
& > div[data-open] {
|
|
5569
5569
|
transition: all 0.5s ease-in-out, width 0s, height 0s;
|
|
5570
5570
|
}
|
|
@@ -5573,7 +5573,7 @@
|
|
|
5573
5573
|
cursor: pointer;
|
|
5574
5574
|
display: flex;
|
|
5575
5575
|
align-items: center;
|
|
5576
|
-
`;var Or="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";const Lr=({className:e,style:a,closeIcon:
|
|
5576
|
+
`;var Or="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";const Lr=({className:e,style:a,closeIcon:i,heading:n="",children:o,isOpen:r=!1,hasFullscreen:l=!1,onClose:s=(()=>null)})=>{const[c,p]=t.useState(!1);return q.default.createElement(Mr,{className:e,style:a,isExpand:c,hasFullscreen:l},q.default.createElement(u.Popup,{type:"confirm",onClose:s,isOpen:r,closeIcon:i||q.default.createElement("img",{src:Or,loading:"lazy"}),enableAnimation:!l},q.default.createElement("div",{className:"header"},q.default.createElement(d.Heading,{tag:"h5"},n),l&&q.default.createElement(zr,{onClick:()=>p(!c)},q.default.createElement(Dr,{size:14,isExpand:c}))),q.default.createElement("div",{className:"content"},"function"==typeof o?o(c):o)))},_r=Q.default.div`
|
|
5577
5577
|
padding: 1rem;
|
|
5578
5578
|
border-top: 1px solid #f2f2f2;
|
|
5579
5579
|
&[data-is-reply='true'] {
|
|
@@ -5688,12 +5688,12 @@
|
|
|
5688
5688
|
.as-input {
|
|
5689
5689
|
font-size: 16px;
|
|
5690
5690
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
5691
|
-
${
|
|
5691
|
+
${h.MediaQueries.mbDown} {
|
|
5692
5692
|
font-size: 22px;
|
|
5693
5693
|
line-height: 1.2;
|
|
5694
5694
|
}
|
|
5695
5695
|
|
|
5696
|
-
${
|
|
5696
|
+
${h.MediaQueries.mbUp} {
|
|
5697
5697
|
font-size: 26px;
|
|
5698
5698
|
line-height: 1.2;
|
|
5699
5699
|
}
|
|
@@ -5703,12 +5703,12 @@
|
|
|
5703
5703
|
.as-input {
|
|
5704
5704
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
5705
5705
|
line-height: 22px;
|
|
5706
|
-
${
|
|
5706
|
+
${h.MediaQueries.mbDown} {
|
|
5707
5707
|
font-size: 14px;
|
|
5708
5708
|
line-height: 1.2;
|
|
5709
5709
|
}
|
|
5710
5710
|
|
|
5711
|
-
${
|
|
5711
|
+
${h.MediaQueries.mbUp} {
|
|
5712
5712
|
font-size: 16px;
|
|
5713
5713
|
line-height: 1.2;
|
|
5714
5714
|
}
|
|
@@ -5718,12 +5718,12 @@
|
|
|
5718
5718
|
.as-input {
|
|
5719
5719
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
5720
5720
|
line-height: 20px;
|
|
5721
|
-
${
|
|
5721
|
+
${h.MediaQueries.mbDown} {
|
|
5722
5722
|
font-size: 13px;
|
|
5723
5723
|
line-height: 1.5;
|
|
5724
5724
|
}
|
|
5725
5725
|
|
|
5726
|
-
${
|
|
5726
|
+
${h.MediaQueries.mbUp} {
|
|
5727
5727
|
font-size: 13px;
|
|
5728
5728
|
line-height: 1.5;
|
|
5729
5729
|
}
|
|
@@ -5885,7 +5885,7 @@
|
|
|
5885
5885
|
}
|
|
5886
5886
|
|
|
5887
5887
|
&[data-is-marrybaby='true'] {
|
|
5888
|
-
${
|
|
5888
|
+
${h.MediaQueries.mbDown} {
|
|
5889
5889
|
padding: 0.5rem;
|
|
5890
5890
|
}
|
|
5891
5891
|
.share__social {
|
|
@@ -5896,7 +5896,7 @@
|
|
|
5896
5896
|
align-items: center;
|
|
5897
5897
|
justify-content: center;
|
|
5898
5898
|
text-align: center;
|
|
5899
|
-
${
|
|
5899
|
+
${h.MediaQueries.mbDown} {
|
|
5900
5900
|
margin: 0;
|
|
5901
5901
|
}
|
|
5902
5902
|
& > img {
|
|
@@ -5933,7 +5933,7 @@
|
|
|
5933
5933
|
}
|
|
5934
5934
|
}
|
|
5935
5935
|
}
|
|
5936
|
-
`;const Fr=({className:e,trackingCategory:a="Together",style:o,shareUrl:r,title:l})=>{const{action:{pushNotifications:c},data:{env:{isMarryBaby:u}}}=t.useContext(i.TogetherComponentGlobalContext),{t:p}=d.useTranslations(),m=t.useRef(null),[h,g]=t.useState(!1),f=()=>{if(!(null==m?void 0:m.current))return;const e=document.createElement("textarea");e.value=m.current.value,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),m.current.focus(),g(!0),c({title:"",message:p("share.linkCopied"),type:"success"})};t.useEffect((()=>{f(),navigator.share&&navigator.share({title:l||"Read This Post",url:r}).then((()=>{c({title:"",message:p("share.linkShared"),type:"success"})})).catch(console.error)}),[]);const b=((e,t)=>t?[{icon:"data:image/svg+xml,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35 9.58333V30.4167C35 32.9417 32.9417 35 30.4167 35H25.8333V23.3333H28.85C29.275 23.3333 29.6333 23.0167 29.6833 22.6L29.9917 20.1C30.025 19.8667 29.95 19.625 29.7917 19.45C29.6333 19.2667 29.4083 19.1667 29.1667 19.1667H25.8333V16.25C25.8333 15.3333 26.5833 14.5833 27.5 14.5833H29.1667C29.625 14.5833 30 14.2083 30 13.75V10.9333C30 10.5083 29.6667 10.15 29.2417 10.1083C29.1917 10.1 28.0167 10 26.525 10C22.8583 10 20.8333 12.1833 20.8333 16.1417V19.1667H17.5C17.0417 19.1667 16.6667 19.5417 16.6667 20V22.5C16.6667 22.9583 17.0417 23.3333 17.5 23.3333H20.8333V35H9.58333C7.05833 35 5 32.9417 5 30.4167V9.58333C5 7.05833 7.05833 5 9.58333 5H30.4167C32.9417 5 35 7.05833 35 9.58333Z' fill='url(%23paint0_linear)'/%3e%3cdefs%3e%3clinearGradient id='paint0_linear' x1='20' y1='5' x2='20' y2='35' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%234DABF7'/%3e%3cstop offset='1' stop-color='%232668DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",name:"Facebook",href:`https://www.facebook.com/sharer.php?u=${e}`},{icon:"data:image/png;base64,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",name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`},{icon:"data:image/svg+xml,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35 30.8333C35 33.135 33.1342 35 30.8333 35H9.16667C6.865 35 5 33.135 5 30.8333V9.16667C5 6.865 6.865 5 9.16667 5H30.8333C33.1342 5 35 6.865 35 9.16667V30.8333Z' fill='%2303A9F4'/%3e%3cpath d='M30 14.2667C29.265 14.5925 28.3342 14.8983 27.5 15C28.3483 14.4967 29.6942 13.4483 30 12.5C29.2075 12.9658 27.7742 13.4633 26.8392 13.6433C26.0925 12.8517 25.0275 12.5 23.8475 12.5C21.5808 12.5 20 14.4208 20 16.6667V18.3333C16.6667 18.3333 13.4167 15.7942 11.3942 13.3333C11.0383 13.9342 10.8383 14.6375 10.8383 15.3808C10.8383 16.8967 12.2308 18.435 13.3333 19.1667C12.6608 19.1458 11.3875 18.6325 10.8333 18.3333C10.8333 18.3467 10.8333 18.3633 10.8333 18.3808C10.8333 20.3533 12.2175 21.6925 14.0933 22.0658C13.7508 22.16 13.3333 22.5 11.7267 22.5C12.2483 24.1125 14.8708 24.965 16.6667 25C15.2617 26.0892 12.7567 26.6667 10.8333 26.6667C10.5008 26.6667 10.3208 26.685 10 26.6475C11.815 27.7975 14.35 28.3333 16.6667 28.3333C24.2142 28.3333 28.3333 22.5683 28.3333 17.1917C28.3333 17.015 28.3275 16.4233 28.3183 16.25C29.125 15.6817 29.4517 15.0867 30 14.2667Z' fill='white'/%3e%3c/svg%3e",name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:"data:image/svg+xml,%3csvg width='41' height='40' viewBox='0 0 41 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35.5 30.8333C35.5 33.135 33.635 35 31.3333 35H9.66667C7.36583 35 5.5 33.135 5.5 30.8333V9.16667C5.5 6.865 7.36583 5 9.66667 5H31.3333C33.635 5 35.5 6.865 35.5 9.16667V30.8333Z' fill='%230078D4'/%3e%3cpath opacity='0.05' d='M25.4993 30.8327V22.4168C25.4993 21.0093 24.8168 20.1685 23.6727 20.1685C22.9935 20.1685 22.4943 20.551 22.1902 21.3052C22.176 21.3585 22.156 21.576 22.1643 22.2335L22.166 30.8327H16.3327V14.9993H22.166V15.8835C23.0177 15.296 24.0618 14.9993 25.281 14.9993C29.0702 14.9993 31.3318 17.5768 31.3318 21.8943L31.3327 30.8327H25.4993ZM9.66602 30.8327V14.9993H12.5468C10.8777 14.9993 9.66602 13.7727 9.66602 12.0818C9.66602 10.3927 10.8977 9.16602 12.5943 9.16602C14.271 9.16602 15.4652 10.3585 15.4993 12.0652C15.4993 13.7685 14.2668 14.9993 12.5702 14.9993H15.4993V30.8327H9.66602Z' fill='black'/%3e%3cpath opacity='0.07' d='M25.9173 30.4173V22.4182C25.9173 20.774 25.0582 19.7532 23.674 19.7532C22.5948 19.7532 22.0615 20.5132 21.8048 21.1507C21.7365 21.3165 21.7457 21.9748 21.749 22.2557L21.7507 30.4173H16.7507V15.4173H21.7507V16.7823C22.4132 16.0965 23.4798 15.4173 25.2823 15.4173C28.8098 15.4173 30.9165 17.839 30.9165 21.8957L30.9173 30.4173H25.9173ZM10.084 30.4173V15.4173H15.084V30.4173H10.084ZM12.5482 14.584C11.1207 14.584 10.084 13.5323 10.084 12.0832C10.084 10.6348 11.1407 9.58398 12.5957 9.58398C14.0323 9.58398 15.0548 10.6082 15.084 12.0748C15.084 13.5323 14.0273 14.584 12.5715 14.584H12.5482Z' fill='black'/%3e%3cpath d='M10.5 15.8333H14.6667V30H10.5V15.8333ZM12.5708 14.1667H12.5475C11.3042 14.1667 10.5 13.24 10.5 12.0825C10.5 10.9 11.3292 10 12.595 10C13.8625 10 14.6433 10.9 14.6667 12.0825C14.6667 13.2392 13.8625 14.1667 12.5708 14.1667ZM30.5 30H26.3333V22.4175C26.3333 20.5858 25.3125 19.3358 23.6733 19.3358C22.4225 19.3358 21.7458 20.1792 21.4175 20.9942C21.2975 21.2858 21.3333 22.0925 21.3333 22.5V30H17.1667V15.8333H21.3333V18.0133C21.9342 17.0833 22.875 15.8333 25.2817 15.8333C28.2633 15.8333 30.4992 17.7083 30.4992 21.895L30.5 30Z' fill='white'/%3e%3c/svg%3e",name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='none'%3e%3cpath fill='url(%23a)' d='M36.667 19.584c0 8.975-7.458 16.25-16.666 16.25a16.97 16.97 0 0 1-3.987-.47 1.68 1.68 0 0 0-1.15.12l-3.647 1.825a1.417 1.417 0 0 1-2.05-1.267v-3.355c0-.479-.214-.925-.567-1.249-3.245-2.966-5.266-7.179-5.266-11.854 0-8.975 7.458-16.25 16.667-16.25 9.208 0 16.666 7.275 16.666 16.25Z'/%3e%3cpath fill='black' d='M29.16 14.41c-.357 0-.703.118-1 .343l-4.745 3.512a.594.594 0 0 1-.363.125.565.565 0 0 1-.341-.113l-3.31-2.492a3.821 3.821 0 0 0-2.298-.765c-1.313 0-2.52.66-3.23 1.764l-1.009 1.575-3.433 5.58a1.633 1.633 0 0 0-.06 1.678c.299.545.862.883 1.47.883.357 0 .703-.118 1-.342l4.746-3.513a.594.594 0 0 1 .362-.125c.125 0 .243.04.342.114l3.31 2.491a3.819 3.819 0 0 0 2.297.765c1.314 0 2.521-.659 3.23-1.763l1.01-1.576 3.433-5.58a1.633 1.633 0 0 0 .059-1.678 1.682 1.682 0 0 0-1.47-.883Z' opacity='.05'/%3e%3cpath fill='black' d='M29.161 14.826c-.266 0-.525.09-.75.258L23.665 18.6c-.18.136-.39.207-.61.207a.98.98 0 0 1-.591-.197l-3.311-2.492a3.405 3.405 0 0 0-2.048-.68c-1.17 0-2.246.587-2.879 1.572l-1.008 1.575-3.43 5.574c-.247.387-.266.86-.048 1.259.222.405.656.667 1.104.667.266 0 .525-.09.75-.259l4.747-3.515c.18-.136.39-.206.61-.206a.98.98 0 0 1 .592.196l3.31 2.493c.6.446 1.307.68 2.048.68 1.171 0 2.247-.587 2.88-1.572l1.008-1.576 3.429-5.573c.247-.387.267-.86.048-1.26a1.281 1.281 0 0 0-1.104-.666Z' opacity='.07'/%3e%3cpath fill='white' d='m28.663 15.417-4.75 3.516c-.509.384-1.2.384-1.7.009L18.9 16.449a3.004 3.004 0 0 0-4.325.784l-1.008 1.575-3.425 5.566c-.5.784.458 1.675 1.2 1.117l4.75-3.517a1.412 1.412 0 0 1 1.7-.008l3.311 2.492a3.004 3.004 0 0 0 4.325-.783l1.009-1.575 3.425-5.567c.5-.783-.459-1.675-1.2-1.116Z'/%3e%3cdefs%3e%3cradialGradient id='a' cx='0' cy='0' r='1' gradientTransform='translate(9.24 35.816) scale(39.6767)' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%231292FF'/%3e%3cstop offset='.079' stop-color='%232982FF'/%3e%3cstop offset='.23' stop-color='%234E69FF'/%3e%3cstop offset='.351' stop-color='%236559FF'/%3e%3cstop offset='.428' stop-color='%236D53FF'/%3e%3cstop offset='.754' stop-color='%23DF47AA'/%3e%3cstop offset='.946' stop-color='%23FF6257'/%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e",name:"Messenger",href:`https://www.facebook.com/sharer.php?u=${e}`}]:[{icon:"data:image/svg+xml,%3csvg width='33' height='32' viewBox='0 0 33 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M30.7336 6.21933e-10H2.2536C1.28305 0.00703318 0.499975 0.795821 0.5 1.7664V30.2464C0.507033 31.217 1.29582 32 2.2664 32H17.5944V19.6256H13.4344V14.7808H17.5944V11.216C17.5944 7.0848 20.1192 4.832 23.8056 4.832C25.0498 4.8267 26.2933 4.8908 27.5304 5.024V9.344H24.9896C22.9832 9.344 22.5928 10.304 22.5928 11.696V14.7808H27.38L26.74 19.6256H22.58V32H30.7336C31.7092 32 32.5 31.2092 32.5 30.2336V1.7536C32.493 0.783047 31.7042 -2.54822e-05 30.7336 6.21933e-10Z' fill='%233B5998'/%3e%3c/svg%3e",name:"Facebook",href:`https://www.facebook.com/sharer.php?u=${e}`},{icon:"data:image/png;base64,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",name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`},{icon:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='33' height='32' fill='none'%3e%3crect width='32' height='32' x='.5' fill='%231FA1F3' rx='4'/%3e%3cpath fill='white' fill-rule='evenodd' d='m16.23 13.235.04.634-.673-.077c-2.455-.298-4.6-1.308-6.42-3.004l-.89-.842-.23.622c-.486 1.385-.175 2.848.836 3.832.54.544.418.621-.512.298-.324-.104-.607-.181-.634-.143-.095.091.229 1.27.485 1.735.35.648 1.066 1.282 1.848 1.657l.66.298-.781.013c-.756 0-.783.013-.702.285.27.841 1.335 1.735 2.523 2.123l.836.272-.729.414a7.893 7.893 0 0 1-3.614.958c-.607.013-1.106.065-1.106.104 0 .13 1.645.854 2.603 1.14 2.873.84 6.285.478 8.848-.959 1.82-1.023 3.641-3.055 4.491-5.023.459-1.049.917-2.965.917-3.884 0-.596.04-.673.796-1.385.445-.415.863-.868.944-.997.135-.246.122-.246-.566-.026-1.147.388-1.309.337-.742-.246.418-.414.917-1.165.917-1.385 0-.04-.202.026-.432.142-.242.13-.782.324-1.187.44l-.728.22-.66-.427c-.365-.233-.877-.492-1.147-.57-.688-.18-1.74-.155-2.36.052-1.687.583-2.752 2.085-2.63 3.729Z' clip-rule='evenodd'/%3e%3c/svg%3e",name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAACqCAMAAADlak+OAAAC+lBMVEUAAAAqtkD3+fz5+fn////8/P39/v4ptT8psj5CxFIqtD8+wlBMy1opsD4tuEKQ1537/Pv9/f76+/opsz9DxVQvukRKyVlGx1ZPzF1Tz2BX0WNJyFgrt0FSzl9FxlU4vkpQzV45v0wxu0X3+fg8wU46wE1Vz2E2vUkzu0dOy1worj1AwlFW0GL2+PcntD01u0j8/v1IyFc9wU9ExlQ7v035+vkvt0MttkIlszz1+PUsskEorDz3/PhFv1cnqTv09/Tt9e/5/PkrsEDy9/Po8+ovsUP5+v3r9O0yuEVZ0GQmpjrz+fTr9+zw9fFRyV7k9OZNyFswtUXc8t/G6cz2+/ft+O4ztEf2+vY2tEots0L0+/Xv9/He7+FAwFHi8+Wr4LR50IZYzmMroT7R7dXv+fFTy2FFwlU7vE3h8OTZ7tyi2aqP3JeC14xIxFg+vlD6/fry+vPm8ujd8eTZ8tvA6cV+0opczmdMvl1LuFwzskcrrD/o9urJ7M5izm9dxm9cwWxTxWLV8NnN7tG96MK75MG557+m3a+O1Zl31IE8tU/m9ujf9OLT6tav4LeK2JNtzXpGvFk7uE4ksjsmozrV7dnO6tLH58zC58jA4MWG1pB7zIhoynZf0WpZymcqqD7E68mt5LOi4amc1qWc36SU2J5tx3tOxl1LwltDvVQ/uFI5skw2uEoxq0QmnznR79XL6dDM5NCx5biw3beX1qCI0ZR2yoRbx2pbvGo5o0k0uEfb7N235L2137u05rqi0amW3p6S1Z1914d2wIJt0XhqwXdYxWdQv2JFuFdDtVUwoUIrpT7W6tqo1q+Aw4tlxnVhw3BezmpVwGZVvWVRuWI/pk84p0rF4cmo466e3aee2aeY26GQ0ZqJzJOE0I+Ay4x0zoFjyHFkt3FOw18mnDix2bes2bSFyJBz1X1vyX1l0nBds2pBrlI4rUq63cCi3at7wIZzxoBx0X1pzXVp0nRVsGNNrFz7/vuXz6Byu32Qyppiv3FXt2ZLs1xHqFZlrTw8AAAAAXRSTlMAQObYZgAAFhBJREFUeNrUlcENxCAMBLEl+xtREF83kAJIDRRA7SdehwlR8mOZCkarsRwmRDHjhZiZaPhANIbAJOqLKQNhcYNNP9iimTZsGoIiqjZZ8FIduo8q8xCtMjK6j6qXNfbkKyVaRao1l8cDE+45K62neluZF4Bg2ricrU5mLSiqRKmXlfusJyHRy+o4ayEoUhmHBWx1JjskcBAah49AUAsYhm0RIM9KlP//IATFrbVR+wgUOYEfs3XMmkYYhwF8eusRODi9LR8gU4ZbXA6XK3UQD+T0YjwPeog3NCYQIeUSiSAxJsaTQArpIg5Kk8EOgRJDh7ZoKCSb1iwlg12tSxe/QF8vwf9pKAa8S/NsCic/Hv8+aOwWWJ1Wb6tjLDN/XAj+GpqsikXMOVNmFysmK7LopzVS0mMB8XOxYoqhJGhWEgQhFb6PIEgSfpO+8864sGg2K0BpgiBIkkzVrtq/S/V88/z8JF/vXrQ61+GXJIFDA/fprQA1+hQi1+1fiVwovlLUeVlWVVnmtwPBnexbJX+6+U5gMRe8/8FqNDr83iNbJSUekEWKeTERBnFJPpir33xMSewcAdons4KUIL2FTjenRz2ci0JAhTAUxXEin262r1Ps3S08nRWkxJxQ6JT240ueyUIfgt1q8Gs3UxNYmgatzVag0gQbyeRDPDinBCXjiVaBJQnQ2m913Evbt+95cToVyuXkFeW0IIHWdqshlcJXzWM/QB/JRctv/mQiEksA1k7r8FAJ71E3JHMIqI/Guvw7Jzdho1o7rVBq7VQpiiMpQCjOE/Wr/Lau67yaxOOwjh7OmHs7VzoSWLgDy61QKundzMejaELA4MrUYna3Um2sGmlUK3vpDbwRiGEmtcVEJkUM19ZG67BUMtI6DEyU6nSJ/Nm3xtpBb9Avj9IffO9drlayepRD41iO370osHAHNlgduFSpcBFKmqUM4kR1o7I2KGu+WMxnDn4d0370D6pZPjq2wU5m+bhek3C1DpusxqluNVdEZO5oXd34tNbXNAM3P5nhm5rWv/yZ5T1O89hyrxM3XmjWKiu0yoY7t0EROUf9IFFPVy/7uNH5fwX7cd3lXmO36KdMT3IBpR0ZjpelVjgA7+f9gNs5CnItpRs9LbawOD8liwsLvsHqXsCD4GmK/9ICrCVWOAA2lTl85UYgTZ596JV9izhTrTh/STPfkCbCOI6/qYlodKwxF8eGEAi2gln4orgXzZSIjdsxHSuXkuSNdJMGW2bp8F+rabXelLFqTFst8sXCynqRYmOVvWvZCytLehPVm0iDXve73XP3THtR99wXwWOev/vc977P7/mdHsz/8iXt1qLfd4XuFGBL1LOud/X066cuSr4S1TQ6m81X7cCo/6St6v666HRrZVoqMPYNO6ueFS8rcNVO4eu09/m+t1UJ2vF/qgK13fQP2634fm2NGFYtK3YVUM85ZEs2NrUKpiJUBbCCtUEbJcO6zooxUM1a7GrdqfcObAjjnMi1GbdurVKorVuNbd/nhmz48bhm+hs2YVj1rIA6/+xIreyqbcgXBlRgJYHN+0Pt1EbJ2d5zC3s3QZ9Vy4ob68inDmajHNWkv5vngZVIRr4tGsH9wNr6cB6225ISday4BRz62WiTXXWFANVoJGYVYGd7tZKzTMenEZQC1awQ1gahBUiuAmqeHBVYC7BTo5KzVOAaXl+krDgB888uyAELQADYykqjClVWsuAsvnuIrDAaqGHFCZi+LyegudHfbcSopLBGyKxHuv1tzvP3UArUsUICFi55tKisO+PLswZDpUoZDIa2bDJAIWPd156fRrBErDgB95aOSwuBcabCgAqs6mG7Y0NuqXHVd56CXqCWdcumhjtjNmpjQVrHYo6vNmBVIxkIxIdTTgYVdl9ZRsuLnBUSsLens14rVqT2h6I8JitAsgUZFOPC77K5KbtU2TPzRHinIWLF/erQ9NU9lFiwNhNLrEFl+V+xicXFlD/Mk8Dy2aRUmjmyhJYXESvaXF+ek2ytdUyEWa68Gqm8nA37hlxNDNPsGM/x8LlClVd3zzkZlC7P2X4wlpwVbIUd6+pOFCrPcJTluHJJHBdOBa0WDegELDnxB9WFL5D8Xbgp9FU4LEj8mGN/jdulZ9bxcQQSS8wKTeBwzy2HlhIfU9DXvQY1PzfYpNkgyBKAIJcrF8f7h9wIdt+D/gYwlpgVBmxoAugpuWZznF6PUdtiGUAtSPM7ONfN6RWz6rnwhKMWtYKLy5OQWBJWtGWNLB2Xag36EnqZVa/nvoYClg1IGtdUjtUrhYVyfLZR8mLfuZ46MJaMFXpr3ZsZ1FspsJWVWfU0l09dsICtSEwmzitmBVgwVsrYtrHnwtRNxipMAtevMJSYfacvQdO0XhRNs9FQAFAlWUYnwnrlovWsnFht6yM0GyphxRGY7zygFW21Da9wRah0Yi5o3YClaU5GWZpWzEpzq+N2dAnPgwUIARkrNNfX11AEtI7UGlvp8Lgd0oplcc4lMKsCWN4XRCti58Wf6NVLKWsJNNfTy85a1LAao+maGhqppoZbCTVrilk17ZEcRysWVMoNoxDU1i9NkrLCC+GtXmSrazEPdREsHKSzQ8xa1hODMZ6uUc5KJ96NohDs//IWQkDCCmPLkxmPyAori62oqEGCIzY+eAKxSrD2xTANpygT1Er7j9WKrG6xE5QoZhX+KPRzzC1GyZaMpk0VRWJjwd+IFa+uLFtBIDoX2S9ehelYniRlHfnYgUYL+3i4y4RhTRVpiRXrhPNDAs5RKKiVmOiVxuOHr+C/HkSs8zALiFVaPyQqZA44MqWlDGBRF1IErFALnhGFtq4vb7cTsEJct799sK/ASmkH46xpt0kSHHLZjHVdBpr6/KzOpFi7d3PRPtRtbGf7z8DfYJSzbmroP2sTa7gbo106nQy7W6frWklKPQvvXJ/hJMWsUGs1gq6z7b6wuIhYn4+h+/VEVk3AigSoOm94ymVZ21+HV+564SSlgtuDfQU9vyvTpxWx4jYwfVEcK7S942Fdqa5IpaWJVCtV7Gpz38l0KZyjWFA48a5VKwb2yMcRtLgUsk4ud2jRy8u7BOAVo5rT/iGmOKyZ+ICXhBVqlQ5I2yzVuvSqTgErHgbuPTousjLO2wNQck197+qUSyOjWoObX3jNhL6WpuPH3CJr/a0eMtZXzxwUGrNjaQApltk8cNspd1hL++wNrxlOIZI5fbJvj8h6oLOnDgKrmHVvz616xHosnhZJMKrZexkPsJpAZJWUFWp1HU3a0EvXl4UGEta6ns4DiLXv5F1Egi/QMvDhAqXBg8sAfEbKuhIKSCPsE/WsXetZW1paViPtFjwRXva2kLMO70e+krBCGwBWO2YtM69TWcvdeIYp2mAfl5rJVOa9HEGsHnLWA1pKkK3vaFfZX9rV8vjHqGysNRNPlxEKWD2UIDWs9YgVfP3DyrmHJhXFcZyQCoJqGPsvELvGQrgpw0e2mZaGQslovUtNWOSKujVqCC7KXhvV1iZsuRJ6rIXWRrVWhltFRFbUKnqv9diSGlHrSfT+o9+95+pZzrQd+/6zcc65537u19/53XPP8Zo7kDV3WfUWHAVr1nWvshGh5sZZheQx0MCzajYDa+4A1FwmsKdoTjxvzW35tIyAFF2zIUPWq60lPGvRylUSSeI5JBKFLdJZII/nAvvBkA2aDVLQz7LudTHWlz8JWR/bEStduysgkUhy/xSwKmz+9rk4ZNc2RmyoXUJDXJhEwOqYPQOxmjruErBCztr+xKrkuqCWj44qFJJEAatT61gPUcArf9NoT25iQ8X48QrQeFw+oJdVpZs1iNXY8IvkvsXNXRCr0n7IA2eTJArOz0R3bYonLnn+2q6IjW+J29hWrdLaON6/sAZ21VKIteDrVTLWvg+VSiHHWlYeYk81QAqx0xnptMPTTCxmIc3acFPO0mUfW/Z3+rU2RiEW44r+LaKNhbwp7JyQiLX50m6edfG5HkYsHj9QYrGT6TlQJserBDse+pcBlDjewOY/N3fqIntLd9QGxQNpocjzzsixCgXX98KD7KBZ2cF1ZusMjlWo8VXboM9krCKnthrGV9zZrLJtjijDUoG7AM2E3hV8geJFhQccEa0CVSSwbmhZjM5D1R1uRnPtwbKyz4boepVFDq1YJBIPEBSKnMFuH8y48LR7U1eIEbGCWgVMHbP4NFHQXupRoIo/ZKv2zUesM+p/uMmeC6RXG0qUKOYLK6KKZKwIVgs5R45hp+7YstLDQA2gBvbEF7/B251b9nhs4j9hRWJtaZEQhav+5N08suct6dEnbWh8wu5uBLMmgS1dv0iOrZVPLWip1jIKkXiZg3vcxRUz96+MMv1h4d9Ao51nNTZclRI9x7JrRMc1iNWw1c/k5IiSKicnB8FiZ4dl5Recc3iCWn7CgCvkU8ta/IwIdwUHh5bos/g83ttHyuo+89YiFHK9FJUGMWsiLChQOnsNOIuphi6yb+nq8sVHHc4Ua3etgkPwwUz3bA0KV93uS81SwjUi968Go1LIijI+iopSGCuTaR2+pTEsbCOUJJbJd44O/MGqHV1MCVkpLS9+uknXs6R9vVaag1XOaO9xymQ5f5EMFPRXlcGIT6dhXwp3aaF5/EhnqMoi4FgFJV/fSAnWCdGClvvSbh1v7PI9WsyaBHZC2LnhnR22EdOxroZw6s9qc9TRQk6a6xfdxKwQBB0mAWLVL4nkpDIWYJsuw/eN07LO8VU7ESs6ztNZEAuBsz/3SdFm92BZURC00Ryscn6dg5FNkP1VEyaEzU3a7vaCfHlKVvncqhA0jh0lc1avMwgQa8l3CAGCNXgUsCPdz+t1Sr6nRx44RyqZzWZvpPHYopRxkLWzMWDGx8gCFYW8rfQJyAJkexsoCN58LaGEnAyzu5lx41LCjjODtf7ynSmsHTZjXbXTPC52wDinv12PzBCYOn65IQSI9+KkzRfrdIiVsoOxKWHHASvQ1pzeUjZndVJzh8nzNz0Nhs18N/AnULE8PrJ6+/JGErBiY+92GPnr1rDGphaiDde8Kt80N2tYsoFVdKombAZWJLB1ayxa9WfPoBAgZpX23aikYxH7LiJLD5utUpmbgj0V7fBugTxhC2zmOkdNWJUdbyyLdhXzqFTbkzfoRkC8Jy91/3wBaYsTXbsnaM5Ow5oNUoHCNf5GX9lUOfciBHcLk88p7LzlNatU2dl8SzPjqNMI+YRV/xwlVyJWZGxeX+/1+ag/AcxgnNlphWDB3COunlPbCucuyl8tz1qdv3RT581gE4saV86Gs3qK98H6+A0brSTfdcDG7vv5AkYqJ8paEUyHiXFBs8Je1+HRVb7NdevKS297Z7FluEnY1VVMxWx9i20lYUUpNq/5xnIaRQHMthh8svSoIHgHNf4GKqBiWDA+WFqniYVXW2+fGz1pkX/niUtblYhVoNva06Qa9a/OjgIBmhpLpRoVOxqqnK/aTRTqmDJ2fN6H71nErCOPPi6mBKwo0zuXWT1qUFL3V79yGHyhJUZagDo2nPjW7GajNUPWaXc7TIiVtp46ohocKwZOLDFffmSnKcSqsX59g23NgHX6j3oL6lO3+1WTeuyo/6CxY82u1mIN/3FRxhevm7kkkCnr0WeVOgEnfVXIrB5LAItsxaBj1bNcjcsBNRYBF+/n4SRAziq90lrMh1VxqwtQ/4PU4cujaw0xVF3bdxwBGX2fcNqdk3y4UpV7veohQzIFhR5YV3UCXnTJ+V8c6ogMWSFc4TGGQtfvuzlvyP/QvNsrirk+UXJ58Xpf3khsawb3re3PrqPhSpuW3F44IlPO4UPU3ptVRk0MldbXX2rO42wdQsyKNw9LYhnrQg28cooqsAb7Erg6uNenp+OuWh5cvD8FRQAxK34L4qwedWw4vtc7ceLw4RNZwe9LsD/hMIL9f/i/CtqOaIq0Fln6oZ64wY2rhBxANieEZSIDn7Hae2ZNRIIflVi44LKj4lVQjWj/lXThkdNbS1BWQdmqsvceuIoigJQVZ9dTVtQ3rLy41MjThQtqXj3abTWarFV+L4ZNRwqm3ipvY03Frr6/vy8Po5Ky4j1ZlAXgBuudPGbhPG/NxqdVtUaLhoIyS23rRi9EQmpe9Fmom25XHNf3I9WYIFavYVRCVrxv9KPegFg1xw/PW+C6+bS8zqijaZrir8BS1HDzyORJSBOTiK8a85uVM3hNGwzD+HG77OSf4E3wbibLF4gQCOSwy6AsOEgvtrec3G2X0l0srNpu4sHDoId1CxW2gkgJxYPDqBtbYy4rbNK6gyBelNpBYW/ypX2bYq1N8pyC8fH75fH9vkhM3s1XSEpZheG0y1LUBwFYsVxL8HvQZT38sroGgRIYEBUlqe31UuPjUiRxKaR0BUWT/b26p/LwUZhqpt/rlmei+rw+AH8dUrJonFMFBimv4/Lpt+93vj61G6ckEvl83kW0N+ClyNKHb5/fyZLnCOHEejZpijFEDc768+A5jEFh4xgoiu7iOXVro9TYfAbx5q+UsMu7sb++rHK89zDjsFaZRhlR/bPic8Y7e+Qm4O286e2Nw9KfH9nsG1vZxvf91y/2MgLvHiOGymdOe90Ci6hhsO4ey3eiIkIcxBAuvbKVW86tACTD0FnoVZSrHE8UMYmowVjxsZ3oHLTZ5QvAtm7bK7X0XtdgY3C2QtSArHYJ/FuTojMpCeHkWoowC6aOpEQd1k0aKqKGwQqPGJFZ43EZ63xgmtNhBmrxPqhMqjgyFU+oAVlxxfolx72B8lymZbVH42pT0TTFrJ+2BDIfF81EqA07k2aBxVBDZD3qC55VUaoV9c6gqmgFkWWTrFhQqj29kmIWYY0LFX1qKkgaTs8ULNcioawQqCADZ2/SbSqiCOM5AlzFHI/0iirNq9woI6Vy7c7AbBqXpBhqSKy7cIJ1JhLP1U47gws7UMr5yFUsZofbnUwhXYkQmPxgcKnBGYUVgRBJaPVHYzCLLundLX783PuYhokEgZ4PoD4No4ycDx05uEm2bCjNKvBasipIEgFeB5XhJSElV9odu7qp2UMaJuvjo9VWztKdieQUKHJGqCiuUwuFAvBeDOp/z9oHRcuyisVhXz8f9SZgBjc1u6SIGl6uL+v1cVXTkJO2bqPN0NyGdG64Di8Aa5p2AlKUE1uabcaqAe+Cmfq4h+STYYg0EgSlnJ62dMibZEHipWA7iVXjg/Qe92XA2Dc4ERSEuC4vJUaBl5pdN1r9sM7o+4jBwvBzOJGW4kZwuqHAi240h84K3y6OdAsohgui0w1FvVfuoH0f5/X+tAEwTh/dNCkjugP2/rze//XJzff5urKCQnMA/a/uDE4ACGEgyAV8Swryew1YwKUGC7D2AxEuiZxfN9NAliXvHTMCvN+qHbcOUsy4MqmHxSObrLd+AjSKHdhm5HHl7IwLhFtsoQ8vL2hYYXXUNLfrUcPWVQqQMMOW6mr1xVKTCwMhDbLDQurisJiQ4+n94C90WdwggZwrgVw2TryTCBeOIzQaUWMojTiOKyyELW4k5ShuO+IgzsBNp97FeC7xv4vxBUzFmCaxFDSrAAAAAElFTkSuQmCC",name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:"data:image/svg+xml,%3csvg width='33' height='32' viewBox='0 0 33 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect x='0.5' width='32' height='32' rx='4' fill='%230077B5'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z' fill='white'/%3e%3c/svg%3e",name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`}])(r||"",u);return q.default.createElement($r,{"data-is-marrybaby":u,className:e,style:o},q.default.createElement("div",{className:"share__social"},b.map(((e,t)=>q.default.createElement(jr,{key:t,"data-event-category":a,"data-event-action":`Social Share - ${e.name}`,"data-event-label":r,href:e.href,target:"_blank",rel:"noreferrer"},q.default.createElement(n.ImageWrap,{alt:`share to ${e}`,src:e.icon}),q.default.createElement(S.Text,{className:"__label",size:"label2",type:"regular"},e.name))))),q.default.createElement("div",{className:"share__copy-link"},q.default.createElement(S.Text,{className:"__label",color:s.theme.colors.gray500,size:"p4",type:"regular"},p("orCopyLink")),q.default.createElement("div",{className:"__input-group"},q.default.createElement("input",{ref:m,type:"text",value:r,readOnly:!0,onFocus:e=>e.target.select()}),q.default.createElement("button",{className:"__copy",onClick:()=>f()},u?q.default.createElement(n.ImageWrap,{alt:"copy share link",src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' xmlns:v='https://vecta.io/nano'%3e%3cg fill='%233e3f58'%3e%3cpath d='M19.726 8.537l-.632.151.632-.151zm0 4.65l-.632-.151.632.151zm-9.097-8.918l.146.633-.146-.633zm4.744 0l-.146.633.146-.633zm1.303 11.983a.65.65 0 1 0 .649 1.126l-.649-1.126zM6.041 7.23a.65.65 0 0 0 1.182.541L6.041 7.23zm13.053 1.459c.342 1.43.342 2.918 0 4.348l1.264.303c.39-1.629.39-3.324 0-4.953l-1.264.303zm-8.32-3.786a9.94 9.94 0 0 1 4.452 0l.291-1.267a11.24 11.24 0 0 0-5.035 0l.291 1.267zm4.452 0c1.925.443 3.419 1.913 3.867 3.786l1.264-.303c-.566-2.363-2.445-4.199-4.84-4.75l-.291 1.267zm2.099 12.476c1.505-.868 2.62-2.314 3.033-4.04l-1.264-.303c-.327 1.368-1.213 2.521-2.418 3.217l.649 1.126zM10.482 3.636c-1.988.457-3.62 1.799-4.442 3.594l1.182.541c.652-1.425 1.954-2.501 3.551-2.868l-.291-1.267z'/%3e%3cpath d='M3.274 16.187l-.632.151.632-.151zm0-4.65l-.632-.151.632.151zm13.451 0l-.632.151.632-.151zm0 4.65l.632.151-.632-.151zm-4.354 4.268l-.146-.633.146.633zm-4.744 0l-.146.634.146-.634zm0-13.186l.146.633-.146-.633zm4.744 0l-.146.633.146-.633zm-8.465 8.767c-.342-1.43-.342-2.918 0-4.348l-1.264-.303c-.39 1.629-.39 3.324 0 4.953l1.264-.303zm12.187-4.348c.342 1.43.342 2.918 0 4.348l1.264.303c.39-1.629.39-3.324 0-4.953l-1.264.303zm-3.867 8.133a9.94 9.94 0 0 1-4.452 0l-.291 1.267a11.24 11.24 0 0 0 5.035 0l-.291-1.267zM7.774 7.903a9.94 9.94 0 0 1 4.452 0l.291-1.267a11.24 11.24 0 0 0-5.035 0l.291 1.267zm0 11.919c-1.925-.443-3.419-1.913-3.867-3.786l-1.264.303c.565 2.363 2.445 4.199 4.84 4.75l.291-1.267zm4.744 1.267c2.395-.551 4.275-2.387 4.84-4.75l-1.264-.303c-.448 1.872-1.942 3.343-3.867 3.786l.291 1.267zm-.291-13.186c1.925.443 3.419 1.913 3.867 3.785l1.264-.303c-.566-2.363-2.445-4.199-4.84-4.75l-.291 1.267zM7.482 6.636c-2.395.551-4.275 2.387-4.84 4.75l1.264.303c.448-1.872 1.942-3.343 3.867-3.785l-.291-1.267zM12.268 21l.083-2.523c.079-.573.221-.867.433-1.075l-.91-.928c-.499.489-.712 1.104-.811 1.827-.096.702-.095 1.596-.095 2.699h1.3zm4.205-5.409c-1.126 0-2.035-.001-2.748.093-.731.096-1.354.303-1.85.79l.91.928c.214-.21.519-.352 1.11-.43.609-.08 1.416-.082 2.579-.082v-1.3z'/%3e%3c/g%3e%3cpath d='M7 11h3m-3 3h5' stroke='%233e3f58' stroke-width='1.3' stroke-linecap='round'/%3e%3c/svg%3e"}):p(h?"copied":"copy")))))},Ur=Q.default.div`
|
|
5936
|
+
`;const Fr=({className:e,trackingCategory:a="Together",style:n,shareUrl:o,title:r})=>{const{action:{pushNotifications:l},data:{env:{isMarryBaby:s}}}=t.useContext(d.TogetherComponentGlobalContext),{t:c}=i.useTranslations(),u=t.useRef(null),[m,h]=t.useState(!1),f=()=>{if(!(null==u?void 0:u.current))return;const e=document.createElement("textarea");e.value=u.current.value,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),u.current.focus(),h(!0),l({title:"",message:c("share.linkCopied"),type:"success"})};t.useEffect((()=>{f(),navigator.share&&navigator.share({title:r||"Read This Post",url:o}).then((()=>{l({title:"",message:c("share.linkShared"),type:"success"})})).catch(console.error)}),[]);const b=((e,t)=>t?[{icon:"data:image/svg+xml,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35 9.58333V30.4167C35 32.9417 32.9417 35 30.4167 35H25.8333V23.3333H28.85C29.275 23.3333 29.6333 23.0167 29.6833 22.6L29.9917 20.1C30.025 19.8667 29.95 19.625 29.7917 19.45C29.6333 19.2667 29.4083 19.1667 29.1667 19.1667H25.8333V16.25C25.8333 15.3333 26.5833 14.5833 27.5 14.5833H29.1667C29.625 14.5833 30 14.2083 30 13.75V10.9333C30 10.5083 29.6667 10.15 29.2417 10.1083C29.1917 10.1 28.0167 10 26.525 10C22.8583 10 20.8333 12.1833 20.8333 16.1417V19.1667H17.5C17.0417 19.1667 16.6667 19.5417 16.6667 20V22.5C16.6667 22.9583 17.0417 23.3333 17.5 23.3333H20.8333V35H9.58333C7.05833 35 5 32.9417 5 30.4167V9.58333C5 7.05833 7.05833 5 9.58333 5H30.4167C32.9417 5 35 7.05833 35 9.58333Z' fill='url(%23paint0_linear)'/%3e%3cdefs%3e%3clinearGradient id='paint0_linear' x1='20' y1='5' x2='20' y2='35' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%234DABF7'/%3e%3cstop offset='1' stop-color='%232668DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",name:"Facebook",href:`https://www.facebook.com/sharer.php?u=${e}`},{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAzTSURBVHgB7Z0JdFTVGce/776ZCQkBElLCksga9kU2FQQRSlGo1AYUKwpuVA91xdZqtVTx1ONyrIpKBesC1AO1WHsiPQcsoIig1oNgEEEMKonsIQkhk2WWd+/X+96YTEK2+2beSJJ5v3Nyst25c9/3v/f7vru8NwAODg4ODg4ODg4ODg4ODvEEgt0sohTwQbb86VJZ+0gQ1Ft+Tzm7WNeOIJZeA/ya0eCGlkspIuYTQC5xvk3TtBz5eynYiH0CLJSGBrEICG9syOC1GZ4BYt0CgAHdgEFrA3GVbPSjhjBgA9ELYPR4PzwCRItUil82GPzrbgV3h3at0Pi1YIhLpQj3QpREJ4DZ62ErgPm9WeaMAv2NW0BzazFwfeeGfCnElGhGQ+S98FYaCRaMf+X54Ft5E7A2ZHyD3oJoa4BMW0REZMaw2POHdAf+yf3AkhPalPFrE/FIiHQEKBs/NQnEOwvbtPENzJFARClWX2hdgN/Qc6rGBwJ6dg5A3y5t2vjV9JZfj4BFrBnGdD10SLX45UNA/88doGkYFwKYSFfUx4orsjgCxBLVkjLNFM/PAYwn4xsIIZTS8WrUBTDyfZCTLEXmjgXq3xU0iDcQb7QSC9QFCC0vKOFiQH+cEV89vxYpnHNlW1lwQWKyasnZI0HPTG3dM91oQE27VLWsupEQz1ctuviKuO39JmhhYqYugDDTrGYZ0BX40O7ggjiGQM1WBhZGACgFloWTpFQOMQjCapXR1EHx7X6sYqsAQzNAHxbn7scqtgpw5QjH/VjFVgEu6QcecLCEbQKgXHgb2gM4OFjCNgHk/q7okeL4f6vYJsDwHkb662AV2wQY1iN+lx6iwTaXkZYMrYLTlURlPjTnKl2SgZI853beYpsA3TqYKWiTo6DcD4HMB7gLCC27q3njQV92LUuAKJm5TAR2FYBZz5OzMbhoKjunmZt9AnRqPgYwuTlTFTAnzGCVnqloS4YlhCF+ywlXtvnt9I7Nb77oIrIr92ggZgxD+zd3WoAOtowAue3IkxWcQ8d24PnwPhZobiv64CnCBatFzZnRx7JRDM9AW9oqpyvhN2/G+3MO5NNJJLgR5SZTTJIMWy7K4zJ3wZSC2UV9sUmfW+YDMf/1sJEWTET97qmswXZ+cgj4O7kE2/MEFFeg3IcmPiGL0bwLwd07DXHtTuIuTW6NpiNNGxyapSOEXVBjDd5zmPSVHxNu/RqgsJzI6AnDMyG4YCJj04chysBtmxi2CGD0Ds2GJgnZPW9fI0RBCZnt6tcF+DNzGDvbUEXlIJ56V9CLW6mWWzKNqu09KmDFNnNfQs87Gbq+SweAPm1wfQ+GWDcZCHIQ9/9L8OXbqN6J7fcOgPbeAQFjeqH+t/lMyFm/LbazRUmZ/hAX0XvUJeuFeGtXyPg9OoHYeDfTEt3123jnPwSva/z6VBvfoLaAdVxQ7b/L1s9/jTdo/NrsKiDX7OXclXeSbFl4tEXFoA5k9F6IQtA3d5L+1H9DxpcWEq/fxESvNKxX33NbKJiTGzbSrNFYMfcCoAHpLFDopeR1sp7XPqJEqm13bD7tfWaTCOTk/uCm0KyX5l+IMCQD4XQF0YcHARfnCAzoAAXFAHNfIX3XYnRDlAecbREgwIFVBiBi9h0jvmidqDH2n7OZPmVg/Vihy6D4xEaqKfeHGcz38BWYBD8YYUBXhIlZ6BnbW3gXrqFkUDSONCq9vD2cxd0+Gfnjs1jNQeLzUhFHZAKM66vRlcs4llaabfbk7CY9e3R0yYFdwQSLK0CHCCgsI3H1y4SnK0JtmXsB8//+soYD9eavgJf5Qq5nVE/UF//cLFfPyDeMZx3mj8OqmsY1knBWR+MtXwn9cEmo3mEZKJ6YzRo8xT22F+BdU8Ojae1n0bsh26L54RLrQ9Ho0Qv+Lvh3p0K9OksG3WXXN57v7/iWai7+Z4OAZHRutP2XDUblW58++S7888QsEE1ldDOGhieEXxwm7QfXGzG2CXDSC5Z5MEcEN+0P3SOWmgT6xns0luxp3C16q8ICdO3UtF/v1F5pZm5SGQgbNa190x0prX3433JpxcycIApsE6DIa62uV3eIwAvvkelq5EROvDyPiZ6dm7747p3CfjrvRNMz76+Pqx+L7JUWzqh2f9+0K80vDneCdLn+leCK7vilbQLsPaa+G/bpIdIf/Hf4ov80E+mXI7HZRbFpg7Gmt637TLATZxru5VVBgld2iGavjSiUkk7qz0D6fLOuHd+QO78Y/I295i+bqGas/3QQRm0/2wTYflCt3JHTRNe9KlDOeE0BZo7AwAPTmVI7xvZGtwySptClVYDTX+DwfUndMsfLCO5YC1zOAxRiUqjI8AzQRvcMdSCvD1j2MqF9X0J18jo5z9F/95bwbt5PnY3fjfOv88ZHbz7bVkNPeMF9pBT0zGa2Ja9aLviR0zVlSA5hce860WwSO3kg4iw5SlZcj3DJ07LvEqBh5HFPCLo4C2BQNxmHykB8cADY0TONT9JqL0VUOxM5i2dLr2U05Wkh135kvYXkmvAUBCb0E74hPZivpJzYhr2UIK+vQ3U9t01CPjIzevvZuof78bfArhnT+P83fEE890id98S3d1M7UEAaJiAFkKkgam/czII3rhQuLkUorSLcsFfWvdcs1qDhG5sJh1xQ6NdR56H2wnWs8rbVIsn4U3E5edbvAVi/R9Rr36/GYvDJq1jLWYqo5n+HINjU/7fXSiOtMjA9nPVcPQbd79/HhPTdupvVjQNGzp/VBfXHszEgFwnNmCEoPHnr3D7st89uzA3jMOnTh7SAdEd6Q9ElvSOKx7JZYPUtzOWx6W5P9UoWimaNNzAd/J8vBo90Kw3Wu/sw8E37BJdZDxnTfdUFvNQkxOxR6EpJrNthjAZ9Uwj6tjwQJ8rI0ymRguP7Io7piZqsHzfvI/3L48R7dUaaPRrNniwnXCJnD/iDnHDaYOaR/r/BVuwuIH3jl8SPlcpldPm+F2chTeqPrk6Jap1Wq7+G2CC2CiDfUux7xFiXicM7Y85CVQBbXZCUiL2TG9mSRLxi+y7PXz90TkdbwXYB5JqQZ2eBMwpUick+55PvOmdEVYmJABv2gbugpOmU1CFETASQGxxs8XrnrKgKMTvPKWeR7tzDTixojpgJINfK8c5/2rNZ35aJ6YlmudPkXrHdGQVNEfMj5et2gUMTxFwAufQc98sSTRFzAbp0iL909K1PK5TdbswFGJUZXyPgxU3e4HXLipSvOeYCzBweH7NiY5tNGl+/940SF1lYZY7pXY2y9+vTh7b9e4d1ueNz16oS8crWcsv2jJkASR7gz84BLjddGn2PknIhOiQiujVstSuoHx3089tfK6F9RwMR2VL9RQSlqk9MMXhoOvBJ/aHebRvGxGz97kp9w54qlvNZJY7s6daXzE7FCQMTWtU9xt4qTg+/XSZWbvNiua/eIQDlB3yrXzSDfCmC0oOIZK8XIlgplm/hPiF3ZU95uetoCZcpKYet+31M5+HTzVv3+9mOvJPiF6MS9UfnpMDg7u4WLcSZKkGvvl/OX9zshSPFemNtzQdFLGxJ8lVWHtoHJARWndSBB5RjQIIbxeUjkvhvZyTjxIHtWpQQ/iDRMxvKgi9t9monzvAmsxwCXAVret8MCli4SPaBrFpdAGSMEtMZVkoRRFDpfeRFsvW7Kowv6Jfu1n89pb2YOyGZZaZq50SMcj/RjgM+/tIWL23eW+UKcsWEgmgbKKI+AozHVlbRIStxwERwYySQFCHi+cDA7u7A7Iva07ShCS4pDGR01mIyt6gMEB0t1mF7nj9odIKNe/wuLshyqi4dbCqs6qMUByw+OZcvlS+5B6widC5FML5HbbgEF9KgHu7gRVkeNqZvAmWkuFhaMtKQzARon6A2omVcoiOlPPjNMZ2dLOPswPFAcOe3fu3zgiCekr9DFHe9WHE/YPmNLD66uA6GCJWFBBSMmTtJSWKB9I4MftJB0xI9yBkD0uQVcjkzqvARKyrnVHiG45kqYEQUk1FEHPrAm33yVctbVzrSUWDAg3IknJBmEW3y5ASReB7W9rP06GLrhgh9SM/nyk9QPxvSBVYck06A2tqzhfJpTZ8+YBHra0FLzU8RmiK1y4dIQBejpG5GltSWdsrypeuZAhEQ2WLcCml8DrMiFoF5XJTUVcYrbAsP+csnkraw4Pdr86N+iE89uE/GhCIZE3hrjQmhnh+h8Q2iW442RsIKlH6PnodI0Npp1C5NjoLW546MgEsVMCoa4xvY/UFuSywtV1QTrOToKzKeI9SyRwJCqVxhWQ2CLY3W8OEq7abmowzFZBloz2/sowzrEagIoL+oZe0dGAYnY2ENc+Ug3QZeyIGcPsornQ4ODg4ODg4ODg4ODg4ODmfzfz5w/2ZW/n9aAAAAAElFTkSuQmCC",name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`},{icon:"data:image/svg+xml,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35 30.8333C35 33.135 33.1342 35 30.8333 35H9.16667C6.865 35 5 33.135 5 30.8333V9.16667C5 6.865 6.865 5 9.16667 5H30.8333C33.1342 5 35 6.865 35 9.16667V30.8333Z' fill='%2303A9F4'/%3e%3cpath d='M30 14.2667C29.265 14.5925 28.3342 14.8983 27.5 15C28.3483 14.4967 29.6942 13.4483 30 12.5C29.2075 12.9658 27.7742 13.4633 26.8392 13.6433C26.0925 12.8517 25.0275 12.5 23.8475 12.5C21.5808 12.5 20 14.4208 20 16.6667V18.3333C16.6667 18.3333 13.4167 15.7942 11.3942 13.3333C11.0383 13.9342 10.8383 14.6375 10.8383 15.3808C10.8383 16.8967 12.2308 18.435 13.3333 19.1667C12.6608 19.1458 11.3875 18.6325 10.8333 18.3333C10.8333 18.3467 10.8333 18.3633 10.8333 18.3808C10.8333 20.3533 12.2175 21.6925 14.0933 22.0658C13.7508 22.16 13.3333 22.5 11.7267 22.5C12.2483 24.1125 14.8708 24.965 16.6667 25C15.2617 26.0892 12.7567 26.6667 10.8333 26.6667C10.5008 26.6667 10.3208 26.685 10 26.6475C11.815 27.7975 14.35 28.3333 16.6667 28.3333C24.2142 28.3333 28.3333 22.5683 28.3333 17.1917C28.3333 17.015 28.3275 16.4233 28.3183 16.25C29.125 15.6817 29.4517 15.0867 30 14.2667Z' fill='white'/%3e%3c/svg%3e",name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:"data:image/svg+xml,%3csvg width='41' height='40' viewBox='0 0 41 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35.5 30.8333C35.5 33.135 33.635 35 31.3333 35H9.66667C7.36583 35 5.5 33.135 5.5 30.8333V9.16667C5.5 6.865 7.36583 5 9.66667 5H31.3333C33.635 5 35.5 6.865 35.5 9.16667V30.8333Z' fill='%230078D4'/%3e%3cpath opacity='0.05' d='M25.4993 30.8327V22.4168C25.4993 21.0093 24.8168 20.1685 23.6727 20.1685C22.9935 20.1685 22.4943 20.551 22.1902 21.3052C22.176 21.3585 22.156 21.576 22.1643 22.2335L22.166 30.8327H16.3327V14.9993H22.166V15.8835C23.0177 15.296 24.0618 14.9993 25.281 14.9993C29.0702 14.9993 31.3318 17.5768 31.3318 21.8943L31.3327 30.8327H25.4993ZM9.66602 30.8327V14.9993H12.5468C10.8777 14.9993 9.66602 13.7727 9.66602 12.0818C9.66602 10.3927 10.8977 9.16602 12.5943 9.16602C14.271 9.16602 15.4652 10.3585 15.4993 12.0652C15.4993 13.7685 14.2668 14.9993 12.5702 14.9993H15.4993V30.8327H9.66602Z' fill='black'/%3e%3cpath opacity='0.07' d='M25.9173 30.4173V22.4182C25.9173 20.774 25.0582 19.7532 23.674 19.7532C22.5948 19.7532 22.0615 20.5132 21.8048 21.1507C21.7365 21.3165 21.7457 21.9748 21.749 22.2557L21.7507 30.4173H16.7507V15.4173H21.7507V16.7823C22.4132 16.0965 23.4798 15.4173 25.2823 15.4173C28.8098 15.4173 30.9165 17.839 30.9165 21.8957L30.9173 30.4173H25.9173ZM10.084 30.4173V15.4173H15.084V30.4173H10.084ZM12.5482 14.584C11.1207 14.584 10.084 13.5323 10.084 12.0832C10.084 10.6348 11.1407 9.58398 12.5957 9.58398C14.0323 9.58398 15.0548 10.6082 15.084 12.0748C15.084 13.5323 14.0273 14.584 12.5715 14.584H12.5482Z' fill='black'/%3e%3cpath d='M10.5 15.8333H14.6667V30H10.5V15.8333ZM12.5708 14.1667H12.5475C11.3042 14.1667 10.5 13.24 10.5 12.0825C10.5 10.9 11.3292 10 12.595 10C13.8625 10 14.6433 10.9 14.6667 12.0825C14.6667 13.2392 13.8625 14.1667 12.5708 14.1667ZM30.5 30H26.3333V22.4175C26.3333 20.5858 25.3125 19.3358 23.6733 19.3358C22.4225 19.3358 21.7458 20.1792 21.4175 20.9942C21.2975 21.2858 21.3333 22.0925 21.3333 22.5V30H17.1667V15.8333H21.3333V18.0133C21.9342 17.0833 22.875 15.8333 25.2817 15.8333C28.2633 15.8333 30.4992 17.7083 30.4992 21.895L30.5 30Z' fill='white'/%3e%3c/svg%3e",name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='none'%3e%3cpath fill='url(%23a)' d='M36.667 19.584c0 8.975-7.458 16.25-16.666 16.25a16.97 16.97 0 0 1-3.987-.47 1.68 1.68 0 0 0-1.15.12l-3.647 1.825a1.417 1.417 0 0 1-2.05-1.267v-3.355c0-.479-.214-.925-.567-1.249-3.245-2.966-5.266-7.179-5.266-11.854 0-8.975 7.458-16.25 16.667-16.25 9.208 0 16.666 7.275 16.666 16.25Z'/%3e%3cpath fill='black' d='M29.16 14.41c-.357 0-.703.118-1 .343l-4.745 3.512a.594.594 0 0 1-.363.125.565.565 0 0 1-.341-.113l-3.31-2.492a3.821 3.821 0 0 0-2.298-.765c-1.313 0-2.52.66-3.23 1.764l-1.009 1.575-3.433 5.58a1.633 1.633 0 0 0-.06 1.678c.299.545.862.883 1.47.883.357 0 .703-.118 1-.342l4.746-3.513a.594.594 0 0 1 .362-.125c.125 0 .243.04.342.114l3.31 2.491a3.819 3.819 0 0 0 2.297.765c1.314 0 2.521-.659 3.23-1.763l1.01-1.576 3.433-5.58a1.633 1.633 0 0 0 .059-1.678 1.682 1.682 0 0 0-1.47-.883Z' opacity='.05'/%3e%3cpath fill='black' d='M29.161 14.826c-.266 0-.525.09-.75.258L23.665 18.6c-.18.136-.39.207-.61.207a.98.98 0 0 1-.591-.197l-3.311-2.492a3.405 3.405 0 0 0-2.048-.68c-1.17 0-2.246.587-2.879 1.572l-1.008 1.575-3.43 5.574c-.247.387-.266.86-.048 1.259.222.405.656.667 1.104.667.266 0 .525-.09.75-.259l4.747-3.515c.18-.136.39-.206.61-.206a.98.98 0 0 1 .592.196l3.31 2.493c.6.446 1.307.68 2.048.68 1.171 0 2.247-.587 2.88-1.572l1.008-1.576 3.429-5.573c.247-.387.267-.86.048-1.26a1.281 1.281 0 0 0-1.104-.666Z' opacity='.07'/%3e%3cpath fill='white' d='m28.663 15.417-4.75 3.516c-.509.384-1.2.384-1.7.009L18.9 16.449a3.004 3.004 0 0 0-4.325.784l-1.008 1.575-3.425 5.566c-.5.784.458 1.675 1.2 1.117l4.75-3.517a1.412 1.412 0 0 1 1.7-.008l3.311 2.492a3.004 3.004 0 0 0 4.325-.783l1.009-1.575 3.425-5.567c.5-.783-.459-1.675-1.2-1.116Z'/%3e%3cdefs%3e%3cradialGradient id='a' cx='0' cy='0' r='1' gradientTransform='translate(9.24 35.816) scale(39.6767)' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%231292FF'/%3e%3cstop offset='.079' stop-color='%232982FF'/%3e%3cstop offset='.23' stop-color='%234E69FF'/%3e%3cstop offset='.351' stop-color='%236559FF'/%3e%3cstop offset='.428' stop-color='%236D53FF'/%3e%3cstop offset='.754' stop-color='%23DF47AA'/%3e%3cstop offset='.946' stop-color='%23FF6257'/%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e",name:"Messenger",href:`https://www.facebook.com/sharer.php?u=${e}`}]:[{icon:"data:image/svg+xml,%3csvg width='33' height='32' viewBox='0 0 33 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M30.7336 6.21933e-10H2.2536C1.28305 0.00703318 0.499975 0.795821 0.5 1.7664V30.2464C0.507033 31.217 1.29582 32 2.2664 32H17.5944V19.6256H13.4344V14.7808H17.5944V11.216C17.5944 7.0848 20.1192 4.832 23.8056 4.832C25.0498 4.8267 26.2933 4.8908 27.5304 5.024V9.344H24.9896C22.9832 9.344 22.5928 10.304 22.5928 11.696V14.7808H27.38L26.74 19.6256H22.58V32H30.7336C31.7092 32 32.5 31.2092 32.5 30.2336V1.7536C32.493 0.783047 31.7042 -2.54822e-05 30.7336 6.21933e-10Z' fill='%233B5998'/%3e%3c/svg%3e",name:"Facebook",href:`https://www.facebook.com/sharer.php?u=${e}`},{icon:"data:image/png;base64,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",name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`},{icon:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='33' height='32' fill='none'%3e%3crect width='32' height='32' x='.5' fill='%231FA1F3' rx='4'/%3e%3cpath fill='white' fill-rule='evenodd' d='m16.23 13.235.04.634-.673-.077c-2.455-.298-4.6-1.308-6.42-3.004l-.89-.842-.23.622c-.486 1.385-.175 2.848.836 3.832.54.544.418.621-.512.298-.324-.104-.607-.181-.634-.143-.095.091.229 1.27.485 1.735.35.648 1.066 1.282 1.848 1.657l.66.298-.781.013c-.756 0-.783.013-.702.285.27.841 1.335 1.735 2.523 2.123l.836.272-.729.414a7.893 7.893 0 0 1-3.614.958c-.607.013-1.106.065-1.106.104 0 .13 1.645.854 2.603 1.14 2.873.84 6.285.478 8.848-.959 1.82-1.023 3.641-3.055 4.491-5.023.459-1.049.917-2.965.917-3.884 0-.596.04-.673.796-1.385.445-.415.863-.868.944-.997.135-.246.122-.246-.566-.026-1.147.388-1.309.337-.742-.246.418-.414.917-1.165.917-1.385 0-.04-.202.026-.432.142-.242.13-.782.324-1.187.44l-.728.22-.66-.427c-.365-.233-.877-.492-1.147-.57-.688-.18-1.74-.155-2.36.052-1.687.583-2.752 2.085-2.63 3.729Z' clip-rule='evenodd'/%3e%3c/svg%3e",name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:"data:image/png;base64,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",name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:"data:image/svg+xml,%3csvg width='33' height='32' viewBox='0 0 33 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect x='0.5' width='32' height='32' rx='4' fill='%230077B5'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z' fill='white'/%3e%3c/svg%3e",name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`}])(o||"",s);return q.default.createElement($r,{"data-is-marrybaby":s,className:e,style:n},q.default.createElement("div",{className:"share__social"},b.map(((e,t)=>q.default.createElement(jr,{key:t,"data-event-category":a,"data-event-action":`Social Share - ${e.name}`,"data-event-label":o,href:e.href,target:"_blank",rel:"noreferrer"},q.default.createElement(p.ImageWrap,{alt:`share to ${e}`,src:e.icon}),q.default.createElement(k.Text,{className:"__label",size:"label2",type:"regular"},e.name))))),q.default.createElement("div",{className:"share__copy-link"},q.default.createElement(k.Text,{className:"__label",color:g.theme.colors.gray500,size:"p4",type:"regular"},c("orCopyLink")),q.default.createElement("div",{className:"__input-group"},q.default.createElement("input",{ref:u,type:"text",value:o,readOnly:!0,onFocus:e=>e.target.select()}),q.default.createElement("button",{className:"__copy",onClick:()=>f()},s?q.default.createElement(p.ImageWrap,{alt:"copy share link",src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' xmlns:v='https://vecta.io/nano'%3e%3cg fill='%233e3f58'%3e%3cpath d='M19.726 8.537l-.632.151.632-.151zm0 4.65l-.632-.151.632.151zm-9.097-8.918l.146.633-.146-.633zm4.744 0l-.146.633.146-.633zm1.303 11.983a.65.65 0 1 0 .649 1.126l-.649-1.126zM6.041 7.23a.65.65 0 0 0 1.182.541L6.041 7.23zm13.053 1.459c.342 1.43.342 2.918 0 4.348l1.264.303c.39-1.629.39-3.324 0-4.953l-1.264.303zm-8.32-3.786a9.94 9.94 0 0 1 4.452 0l.291-1.267a11.24 11.24 0 0 0-5.035 0l.291 1.267zm4.452 0c1.925.443 3.419 1.913 3.867 3.786l1.264-.303c-.566-2.363-2.445-4.199-4.84-4.75l-.291 1.267zm2.099 12.476c1.505-.868 2.62-2.314 3.033-4.04l-1.264-.303c-.327 1.368-1.213 2.521-2.418 3.217l.649 1.126zM10.482 3.636c-1.988.457-3.62 1.799-4.442 3.594l1.182.541c.652-1.425 1.954-2.501 3.551-2.868l-.291-1.267z'/%3e%3cpath d='M3.274 16.187l-.632.151.632-.151zm0-4.65l-.632-.151.632.151zm13.451 0l-.632.151.632-.151zm0 4.65l.632.151-.632-.151zm-4.354 4.268l-.146-.633.146.633zm-4.744 0l-.146.634.146-.634zm0-13.186l.146.633-.146-.633zm4.744 0l-.146.633.146-.633zm-8.465 8.767c-.342-1.43-.342-2.918 0-4.348l-1.264-.303c-.39 1.629-.39 3.324 0 4.953l1.264-.303zm12.187-4.348c.342 1.43.342 2.918 0 4.348l1.264.303c.39-1.629.39-3.324 0-4.953l-1.264.303zm-3.867 8.133a9.94 9.94 0 0 1-4.452 0l-.291 1.267a11.24 11.24 0 0 0 5.035 0l-.291-1.267zM7.774 7.903a9.94 9.94 0 0 1 4.452 0l.291-1.267a11.24 11.24 0 0 0-5.035 0l.291 1.267zm0 11.919c-1.925-.443-3.419-1.913-3.867-3.786l-1.264.303c.565 2.363 2.445 4.199 4.84 4.75l.291-1.267zm4.744 1.267c2.395-.551 4.275-2.387 4.84-4.75l-1.264-.303c-.448 1.872-1.942 3.343-3.867 3.786l.291 1.267zm-.291-13.186c1.925.443 3.419 1.913 3.867 3.785l1.264-.303c-.566-2.363-2.445-4.199-4.84-4.75l-.291 1.267zM7.482 6.636c-2.395.551-4.275 2.387-4.84 4.75l1.264.303c.448-1.872 1.942-3.343 3.867-3.785l-.291-1.267zM12.268 21l.083-2.523c.079-.573.221-.867.433-1.075l-.91-.928c-.499.489-.712 1.104-.811 1.827-.096.702-.095 1.596-.095 2.699h1.3zm4.205-5.409c-1.126 0-2.035-.001-2.748.093-.731.096-1.354.303-1.85.79l.91.928c.214-.21.519-.352 1.11-.43.609-.08 1.416-.082 2.579-.082v-1.3z'/%3e%3c/g%3e%3cpath d='M7 11h3m-3 3h5' stroke='%233e3f58' stroke-width='1.3' stroke-linecap='round'/%3e%3c/svg%3e"}):c(m?"copied":"copy")))))},Ur=Q.default.div`
|
|
5937
5937
|
.share-popup {
|
|
5938
5938
|
> div:first-child {
|
|
5939
5939
|
height: unset;
|
|
@@ -5992,7 +5992,7 @@
|
|
|
5992
5992
|
overflow: hidden;
|
|
5993
5993
|
border-radius: 1rem;
|
|
5994
5994
|
&[data-open='true'] {
|
|
5995
|
-
${
|
|
5995
|
+
${h.MediaQueries.mbDown} {
|
|
5996
5996
|
max-width: unset;
|
|
5997
5997
|
width: 100%;
|
|
5998
5998
|
top: 100%;
|
|
@@ -6108,12 +6108,12 @@
|
|
|
6108
6108
|
}
|
|
6109
6109
|
}
|
|
6110
6110
|
}
|
|
6111
|
-
`;var qr=a.createStyles((e=>({root:{mention:{color:e.fn.primaryColor()},a:{"&,&:visited,&:focus":{color:e.fn.primaryColor()}},".create-post-link":{display:"inline",color:e.fn.primaryColor(),cursor:"pointer"}}})));const Gr=n=>{var{trackingCategory:o,url:r,className:l,style:s,replyingTo:c,mentionedUser:u,description:p,disableShortenContent:m,mentions:h=[],maxChars:g=1e3,hideShowAllBtn:f,styles:b,onClickCreatePostLink:x}=n,v=e.__rest(n,["trackingCategory","url","className","style","replyingTo","mentionedUser","description","disableShortenContent","mentions","maxChars","hideShowAllBtn","styles","onClickCreatePostLink"]);const{classes:y,theme:w}=qr(void 0,{name:"PostContent",styles:b}),[C,E]=t.useState(!1),{t:k}=
|
|
6111
|
+
`;var qr=a.createStyles((e=>({root:{mention:{color:e.fn.primaryColor()},a:{"&,&:visited,&:focus":{color:e.fn.primaryColor()}},".create-post-link":{display:"inline",color:e.fn.primaryColor(),cursor:"pointer"}}})));const Gr=n=>{var{trackingCategory:o,url:r,className:l,style:s,replyingTo:c,mentionedUser:u,description:p,disableShortenContent:m,mentions:h=[],maxChars:g=1e3,hideShowAllBtn:f,styles:b,onClickCreatePostLink:x}=n,v=e.__rest(n,["trackingCategory","url","className","style","replyingTo","mentionedUser","description","disableShortenContent","mentions","maxChars","hideShowAllBtn","styles","onClickCreatePostLink"]);const{classes:y,theme:w}=qr(void 0,{name:"PostContent",styles:b}),[C,E]=t.useState(!1),{t:k}=i.useTranslations(),{authActionWrapper:S}=zn(),[A,T]=t.useState(!1),N=pr(ur(p||"","display"),h),{action:{sanitizeFunction:I}}=t.useContext(d.TogetherComponentGlobalContext),B=t.useMemo((()=>{const e=I(N||"");if(m||C)return{showContent:e,hasSeeMore:!1};const t=e.slice(0,g),a=g-27*((t.match(/<\/div>/g)||[]).length-1),i=(t||"").slice(0,a<40?40:a),n=I(i.replace(/(<|<\/)( +|[a-zA-Z]*)$/gi,"")),o=n.length<e.length-10;return{showContent:o?n:e,hasSeeMore:o}}),[m,C,N]),P=(null==u?void 0:u.name)||c,D="expert"===(null==u?void 0:u.role)&&!!(null==u?void 0:u.partnerId),M=t.useRef(null),z=e=>{e.preventDefault(),null==x||x()};return t.useEffect((()=>{var e;return null===(e=null==M?void 0:M.current)||void 0===e||e.querySelectorAll("[data-create-post]").forEach((e=>{e.addEventListener("click",z,{passive:!0})})),()=>{var e;null===(e=null==M?void 0:M.current)||void 0===e||e.querySelectorAll("[data-create-post]").forEach((e=>{e.removeEventListener("click",z,!1)}))}}),[m,C,N]),q.default.createElement(q.default.Fragment,null,D&&q.default.createElement(Ro,{isOpen:A,onClose:()=>T(!1),expertId:String(null==u?void 0:u.partnerId)}),q.default.createElement(Hr,Object.assign({ref:M,className:`${y.root} ${l} no-replace-click`,style:s,mentionColor:w.fn.primaryColor()},v),P&&q.default.createElement(a.Anchor,{onClick:()=>D&&T(!0),className:"post-content-replying"},"@",P),(null==p?void 0:p.startsWith("[mention+id="))&&q.default.createElement("span",{className:"post-content-replying tag-only",style:{color:w.fn.primaryColor()}},"@"),q.default.createElement("span",{dangerouslySetInnerHTML:{__html:B.showContent},className:"post-content "+(B.hasSeeMore?"has-see-more":"")}),B.hasSeeMore&&!C&&q.default.createElement("span",null,"... ",!f&&q.default.createElement(a.Anchor,Object.assign({onClick:e=>{e.preventDefault(),e.stopPropagation(),S((()=>E(!0)))},className:"see-more-text"},o?{"data-event-category":o,"data-event-action":"See More Post Click","data-event-label":r}:{}),k("post.seeMore")))))},Wr=Q.default.div`
|
|
6112
6112
|
padding: 14px 16px 14px 17px;
|
|
6113
6113
|
background: ${e=>e.bgColor};
|
|
6114
6114
|
border-left: 3px solid ${e=>e.highlight};
|
|
6115
6115
|
|
|
6116
|
-
${
|
|
6116
|
+
${h.MediaQueries.mbUp} {
|
|
6117
6117
|
padding: 12px 12px 12px 17px;
|
|
6118
6118
|
}
|
|
6119
6119
|
`,Qr=Q.default.div`
|
|
@@ -6283,7 +6283,7 @@
|
|
|
6283
6283
|
object-fit: cover;
|
|
6284
6284
|
}
|
|
6285
6285
|
}
|
|
6286
|
-
`,Jr=Q.default((t=>{var{icon:a,bgColor:i=
|
|
6286
|
+
`,Jr=Q.default((t=>{var{icon:a,bgColor:i=g.theme.colors.yellow50,highlightColor:n=g.theme.colors.yellow800,message:o}=t,r=e.__rest(t,["icon","bgColor","highlightColor","message"]);return q.default.createElement(Wr,Object.assign({bgColor:i,highlight:n},r),q.default.createElement(Qr,null,a&&q.default.createElement(Xr,null,a),q.default.createElement(Zr,{"data-has-icon":Boolean(a)},o)))}))`
|
|
6287
6287
|
margin-bottom: 16px;
|
|
6288
6288
|
`,el=Q.default.div`
|
|
6289
6289
|
position: fixed;
|
|
@@ -6354,7 +6354,7 @@
|
|
|
6354
6354
|
opacity: 0.5;
|
|
6355
6355
|
}
|
|
6356
6356
|
}
|
|
6357
|
-
${
|
|
6357
|
+
${h.MediaQueries.tdUp} {
|
|
6358
6358
|
padding: 8px;
|
|
6359
6359
|
> img {
|
|
6360
6360
|
width: 30px;
|
|
@@ -6373,7 +6373,7 @@
|
|
|
6373
6373
|
align-items: center;
|
|
6374
6374
|
justify-content: center;
|
|
6375
6375
|
cursor: pointer;
|
|
6376
|
-
`,rl="hhgcomp-sensitivemask-inner",ll=
|
|
6376
|
+
`,rl="hhgcomp-sensitivemask-inner",ll=d.getDefaultClassWrapper(ol,rl),sl=Q.default.div``,dl=Q.default.div`
|
|
6377
6377
|
position: absolute;
|
|
6378
6378
|
bottom: 0;
|
|
6379
6379
|
left: 0;
|
|
@@ -6453,7 +6453,7 @@
|
|
|
6453
6453
|
overflow: hidden;
|
|
6454
6454
|
border-radius: 1rem;
|
|
6455
6455
|
}
|
|
6456
|
-
`;var ul="PD6nRZX";const pl=({className:e,size:t="md"})=>{const{t:a}=d.useTranslations();return q.default.createElement("div",{className:`${ul} ${e}`},q.default.createElement(A.Button,{size:t,color:"transparent",isLoading:!0},a("loading")))},ml=t.createContext({});var hl="l5fL1xL",gl="L-aGKo7";const fl=({children:e,className:t=""})=>q.default.createElement("div",{className:`${hl} ${t}`},e),bl=({children:e,className:t=""})=>q.default.createElement("div",{className:`${gl} ${t}`},e);var xl="eaR8ATZ",vl="xM-7K0a",yl="DZmf3s7";const wl=({src:e,defaultSrc:t=o.CommonGAssets.getAssetPath("logo/logomark.png"),ratio:a=1,size:i=80,radius:r=8,alt:l,className:s=""})=>q.default.createElement("div",{className:s},q.default.createElement("div",{className:yl,style:{width:`${i}px`,height:i*a+"px",borderRadius:`${r}px`}},q.default.createElement(n.ImageWrap,{src:e,backupSrc:t,alt:l}))),Cl=({category:e,title:t,src:a,children:i,className:n=""})=>q.default.createElement("div",{className:`${xl} ${n}`},q.default.createElement(wl,{src:a}),q.default.createElement("div",{className:vl},i||q.default.createElement("div",null,e&&q.default.createElement(fl,null,e),t&&q.default.createElement(bl,null,t))));Cl.CategoryText=fl,Cl.Title=bl;const El=({featureImage:e,postTitle:t,author:a,categories:i,isReview:n,className:o=""})=>{var r;const l=n?"Medically reviewed by Jobelle Ann Dela Cruz Bigalbal, MD":"Written by Jobelle Ann Dela Cruz Bigalbal, MD";return q.default.createElement(Cl,{src:e,className:o},q.default.createElement(q.default.Fragment,null,q.default.createElement(Cl.CategoryText,null,null===(r=null==i?void 0:i[0])||void 0===r?void 0:r.name),q.default.createElement(Cl.Title,null,t),q.default.createElement(wo,{avatarProps:Object.assign(Object.assign({},a),{size:32}),subTitle:q.default.createElement(q.default.Fragment,null,l,q.default.createElement(wo.SubDivider,null),"Dec 12, 2022")})))};var kl={container:"SFSgnOz",header:"Tf3aoVa",heading:"TOt4QXl",headingIcon:"_5XYN1KT",accBodyGroup:"yE-tZRj",accBodyGroupItem:"LXiGuGT",accBodyGroupDesc:"r4rx-6v",subTitle:"XrHh8-C",subIcon:"c5-Yecd",group:"UBj6nWr",groupBody:"_2vptVBd",articleCardLink:"ZPDAwiR",relatedList:"_6wJn-NR",socialItem:"_21XDdFv",mbChevronWrapper:"LSyr3Zo"};const Sl=({className:e=""})=>{var i,n,l,c,u;const{t:p}=d.useTranslations(),{info:m,isMarryBaby:h,currentPageUrl:g}=t.useContext(ml),f=null==m?void 0:m.data,b=[{type:"linkedin",icon:o.CommonGAssets.getAssetPath("linkedin.svg"),url:null===(i=null==m?void 0:m.contact)||void 0===i?void 0:i.linkedin,eventAction:"Doctor Profile - Linkedin"},{type:"instagram",icon:o.CommonGAssets.getAssetPath("instagram.svg"),url:null===(n=null==m?void 0:m.contact)||void 0===n?void 0:n.instagram,eventAction:"Doctor Profile - Instagram"},{type:"facebook",icon:o.CommonGAssets.getAssetPath("facebook.svg"),url:null===(l=null==m?void 0:m.contact)||void 0===l?void 0:l.facebook,eventAction:"Doctor Profile - Facebook"},{type:"youtube",icon:o.CommonGAssets.getAssetPath("youtube.svg"),url:null===(c=null==m?void 0:m.contact)||void 0===c?void 0:c.youtube,eventAction:"Doctor Profile - Youtube"},{type:"tiktok",icon:o.CommonGAssets.getAssetPath("tiktok.svg"),url:null===(u=null==m?void 0:m.contact)||void 0===u?void 0:u.tiktok,eventAction:"Doctor Profile - TikTok"}],x=[...((null==m?void 0:m.experiences)||[]).length>0?[{key:"experience",heading:p("profilePanel.experience"),iconSrc:o.CommonGAssets.getAssetPath(h?"award-doc-mb.svg":"award-doc.svg"),eventAction:"Doctor Experience Click",panel:q.default.createElement("div",{className:kl.accBodyGroup},null==m?void 0:m.experiences.map(((e,t)=>q.default.createElement("div",{className:kl.accBodyGroupItem,key:String(t)},q.default.createElement("div",{className:kl.accBodyGroupTitle},e.title),q.default.createElement("div",{className:kl.accBodyGroupDesc},q.default.createElement("p",null,e.organization),q.default.createElement("p",null,e.duration))))))}]:[],...((null==m?void 0:m.educations)||[]).length>0?[{key:"education",heading:p("profilePanel.education"),iconSrc:o.CommonGAssets.getAssetPath(h?"book-mb.svg":"book.svg"),eventAction:"Doctor Degree Click",panel:q.default.createElement("div",{className:kl.accBodyGroup},null==m?void 0:m.educations.map(((e,t)=>q.default.createElement("div",{className:kl.accBodyGroupItem,key:String(t)},q.default.createElement("div",{className:kl.accBodyGroupTitle},e.schoolName),q.default.createElement("div",{className:kl.accBodyGroupDesc},q.default.createElement("p",null,e.study),q.default.createElement("p",null,e.completedYear))))))}]:[],...((null==m?void 0:m.awards)||[]).length>0?[{key:"awards",heading:p("profilePanel.awards"),iconSrc:o.CommonGAssets.getAssetPath(h?"award-mb.svg":"award.svg"),eventAction:"Doctor Award Click",panel:q.default.createElement("div",{className:kl.accBodyGroup},null==m?void 0:m.awards.map(((e,t)=>q.default.createElement("div",{className:kl.accBodyGroupTitle,key:t},e.title))))}]:[]],v=(null==m?void 0:m.relatedPosts)||[],y=b.filter((e=>e.url));return q.default.createElement("div",{className:`${kl.container} ${e}`,"data-is-marrybaby":h},x.length>0&&q.default.createElement(a.Accordion,{defaultValue:x[0].key,chevron:h?q.default.createElement("div",{className:kl.mbChevronWrapper},q.default.createElement(r.Plus,{size:12,color:s.theme.mbColors.midGray})):q.default.createElement(r.Plus,{color:s.theme.colors.gray400}),styles:{chevron:{"&[data-rotate]":{".minus-path":{display:"block"},".plus-path":{display:"none"}}},content:{display:"flex",flexDirection:"column",gap:"16px",padding:"0"},item:{border:0},control:{paddingLeft:0,"&:hover":{background:"transparent"},"*":{pointerEvents:"none"}}}},x.map((e=>q.default.createElement(a.Accordion.Item,{key:e.key,value:e.key},q.default.createElement(a.Accordion.Control,{"data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":g},q.default.createElement("div",{className:kl.header},q.default.createElement("div",{className:kl.headingIcon},q.default.createElement("img",{src:e.iconSrc,loading:"lazy"})),q.default.createElement("div",{className:kl.heading},e.heading))),q.default.createElement(a.Accordion.Panel,null,e.panel))))),v.length>0&&q.default.createElement("div",{className:kl.group},q.default.createElement("div",{className:kl.subTitle},q.default.createElement("img",{className:kl.subIcon,src:o.CommonGAssets.getAssetPath(h?"mb-logo.svg":"logo/circle-solid.svg"),loading:"lazy"}),p("profilePanel.publishedArticles")),q.default.createElement("div",{className:`${kl.relatedList}`},null==m?void 0:m.relatedPosts.map((e=>q.default.createElement("a",{key:String(e.id),href:`${window.location.origin}${null==e?void 0:e.permalink}`,className:kl.articleCardLink},q.default.createElement(El,Object.assign({className:"article-card"},Object.assign(Object.assign({},e),!e.author&&{author:{displayName:null==f?void 0:f.name,avatar:null==f?void 0:f.avatar}}),{isReview:!0}))))))),y.length>0&&q.default.createElement("div",{className:kl.group},q.default.createElement("div",{className:kl.subTitle},q.default.createElement("img",{className:kl.subIcon,src:o.CommonGAssets.getAssetPath(h?"social-mb.svg":"social.svg"),loading:"lazy"}),p("profilePanel.socialLinks")),q.default.createElement("div",{className:kl.groupBody},q.default.createElement(a.Flex,null,b.map(((e,t)=>e.url&&q.default.createElement("div",{className:kl.socialItem,key:t},q.default.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},q.default.createElement("img",{src:e.icon,loading:"lazy",width:"32px","data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":g})))))))))};var Al={container:"GYUElSy",question:"_3C6QpT1",questionTitle:"_9M9VYL6",community:"_1RuSyv3",questionCard:"_1IG-eEp"};const Tl=({post:e,className:a=""})=>{var n,o,r,l,s,c,u,p;const{t:m}=d.useTranslations(),{data:{userInfo:h,env:{togetherBasePath:g}}}=t.useContext(i.TogetherComponentGlobalContext),{authActionWrapper:f,authorProps:b,currentPageUrl:x}=t.useContext(ml),v=`${window.location.origin}${g}/${null===(n=null==e?void 0:e.community)||void 0===n?void 0:n.slug}/${null==e?void 0:e.slug}/`;return q.default.createElement("div",{className:`${Al.container} ${a}`},q.default.createElement("div",{className:Al.header},q.default.createElement("div",{className:Al.question},m("profilePanel.question")," ",q.default.createElement(i.Anchor,{className:Al.questionTitle,href:"#",onClick:()=>{(null==h?void 0:h.id)||null==f||f((()=>window.location.href=v))}},"#",null==e?void 0:e.title)),q.default.createElement("div",{className:Al.community},null===(o=null==e?void 0:e.community)||void 0===o?void 0:o.name," - ",null==e?void 0:e.createdTime)),q.default.createElement("div",{className:Al.questionCard},q.default.createElement(Xo,Object.assign({className:"card-author"},b,{role:"user",avatarIcon:q.default.createElement(lo,null),subLine:q.default.createElement(Xo.SubTextRow,null,q.default.createElement(Xo.SubText,null,null===(s=null===(l=null===(r=null==e?void 0:e.expertAnswer)||void 0===r?void 0:r.answer)||void 0===l?void 0:l[0])||void 0===s?void 0:s.createdTime))})),q.default.createElement(Gr,{className:"post-content-wrapper",description:(null===(p=null===(u=null===(c=null==e?void 0:e.expertAnswer)||void 0===c?void 0:c.answer)||void 0===u?void 0:u[0])||void 0===p?void 0:p.content)||"",mentions:null==e?void 0:e.mentions,"data-testid":"Content of the Post"})),q.default.createElement(i.Button,{variant:"secondary","data-event-category":"Together","data-event-action":"Doctor Reply Click","data-event-label":x,size:"md",onClick:()=>{(null==h?void 0:h.id)?window.location.href=v:null==f||f((()=>window.location.href=v))}},m("profilePanel.anserwing.viewFull")))};var Nl="MrdoES3",Il="_8fd7YMs",Bl="DomiQfw",Pl="-b2qnfL";const Dl=({message:e,buttonTxt:a,imgSrc:i,onBtnClick:n})=>{const{siteType:r,isMarryBaby:l}=t.useContext(ml);return q.default.createElement("div",{className:Il},q.default.createElement("div",{className:Bl},q.default.createElement("img",{src:i||o.CommonGAssets.getAssetPath(l?"comments-mb.svg":"comments.svg"),loading:"lazy"})),e&&q.default.createElement("div",{className:Pl},e),a&&q.default.createElement(A.Button,{size:"md",theme:r,color:"secondary",onClick:n},a))},Ml=({id:a})=>{const{t:n}=d.useTranslations(),{data:{locale:o}}=t.useContext(i.TogetherComponentGlobalContext),{authorProps:r}=t.useContext(ml),[l,s]=t.useState(null),[c,u]=t.useState(!1);return t.useEffect((()=>{a&&e.__awaiter(void 0,void 0,void 0,(function*(){var e;u(!0);const t=yield i.callApi(i.getApiPath(i.PATHS.USER.LIST_ANSWERS,{_locale:o,id:a}),"GET"),n=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.replies)||[]).map(v.formatPost);s(n),u(!1)}))}),[]),q.default.createElement("div",{className:Nl},c?q.default.createElement(pl,null):null!==l&&(l.length>0?l.map((e=>q.default.createElement(Tl,{className:"post-card",key:e.id,post:e}))):q.default.createElement(Dl,{message:n("profilePanel.emptyPostMess.content",{name:(null==r?void 0:r.name)||(null==r?void 0:r.username)})})))};var zl="toEutn7",Ol="drdisHs";const Ll=a=>{var n,o,r,l,{post:s}=a,d=e.__rest(a,["post"]);const{data:{env:{togetherBasePath:c}}}=t.useContext(i.TogetherComponentGlobalContext);return q.default.createElement(q.default.Fragment,null,q.default.createElement("div",Object.assign({},d,{className:`${zl} ${(null==d?void 0:d.className)||""}`}),q.default.createElement(Xo,{className:"card-author",avatar:null===(n=null==s?void 0:s.author)||void 0===n?void 0:n.avatar,name:(null===(o=null==s?void 0:s.author)||void 0===o?void 0:o.name)||(null===(r=null==s?void 0:s.author)||void 0===r?void 0:r.username),isAnonymous:Boolean(null==s?void 0:s.isAnonymous),subLine:q.default.createElement(Xo.SubTextRow,null,q.default.createElement(Xo.SubText,null,null==s?void 0:s.createdTime))}),q.default.createElement(i.Anchor,{href:`${window.location.origin}${c}/${null===(l=null==s?void 0:s.community)||void 0===l?void 0:l.slug}/${null==s?void 0:s.slug}/`,className:Ol,rel:"noreferrer"},null==s?void 0:s.title)))};var _l={accordion:"I-uIJ6E",header:"_41WRsj2",heading:"AcOGL93",headingIcon:"JD3dWJN",panel:"dKAgnS8",chevron:"L2Q9T6m",container:"h-pSmhX"};const Rl=()=>{var n,r;const{t:l}=d.useTranslations(),{data:{locale:c,userInfo:u}}=t.useContext(i.TogetherComponentGlobalContext),{onSkipQuestion:p,countValues:m,setCountValues:h}=t.useContext(ml),[g,f]=t.useState(),[b,x]=t.useState([]),[y,w]=t.useState(!1),C=null==u?void 0:u.id;t.useEffect((()=>{C&&e.__awaiter(void 0,void 0,void 0,(function*(){var e;w(!0);const t=yield i.callApiWithAuth(i.getApiPath(i.PATHS.USER.LIST_QUESTION_NEED_REPLY,{_locale:c}),"GET"),a=[],n=Object.create({});((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.communities)||[]).filter((e=>((null==e?void 0:e.question)||[]).length>0)).map((e=>{n[e.id]=e.question.map(v.formatPost),delete e.question,a.push(v.formatCommunity(e))})),x(a),f(n),w(!1)}))}),[]);const E=({id:e,communityId:t})=>{if(e&&t&&g){const a=Object.assign(Object.assign({},g),{[t]:[...((null==g?void 0:g[t])||[]).filter((t=>t.id!==e))]});let i=0;Object.keys(a).map((e=>i+=a[e].length||0)),f(a),h(Object.assign(Object.assign({},m),{total_question:i})),null==p||p(i)}};return q.default.createElement("div",{className:_l.container},y?q.default.createElement(pl,null):(null==m?void 0:m.total_question)>0?b.length>0&&q.default.createElement(a.Accordion,{className:_l.accordion,defaultValue:String((null===(r=b[null===(n=Object.keys(b))||void 0===n?void 0:n[0]])||void 0===r?void 0:r.id)||""),styles:e=>({control:{padding:"16px",border:`1px solid ${e.colors.neutral[1]}`,borderTopLeftRadius:"8px",borderTopRightRadius:"8px",'&[aria-expanded="false"]':{borderBottom:0}},chevron:{width:"32px",height:"32px"},content:{padding:0,border:`1px solid ${e.colors.neutral[1]}`,borderTop:0,borderBottom:0},label:{padding:0},item:{marginBottom:"16px"}}),chevron:q.default.createElement("div",{className:_l.chevron},q.default.createElement(i.ArrowDown,{color:s.theme.colors.gray600,size:20}))},b.map((e=>{const t=g&&(null==g?void 0:g[e.id])||[];return t.length>0&&q.default.createElement(a.Accordion.Item,{key:e.id,value:String(e.id)},q.default.createElement(a.Accordion.Control,null,q.default.createElement("div",{className:_l.header},q.default.createElement("div",{className:_l.headingIcon},q.default.createElement("img",{src:e.thumbnail,loading:"lazy"})),q.default.createElement("div",{className:_l.heading},e.name))),q.default.createElement(a.Accordion.Panel,null,q.default.createElement("div",{className:_l.body},t.map((e=>q.default.createElement(Ll,{className:"question-card",key:e.id,post:e,onSkip:E}))))))}))):q.default.createElement(Dl,{message:l("profilePanel.emptyCareMess.content"),imgSrc:o.CommonGAssets.getAssetPath("questions.svg")}))};var jl="GA-zc-O",$l="A18McWD",Fl="IB049vj",Ul="_8I--vEV";const Vl=({post:e,className:n=""})=>{var o;const{data:{userInfo:r,env:{togetherBasePath:l}}}=t.useContext(i.TogetherComponentGlobalContext),{t:s}=d.useTranslations(),c=a.useMantineTheme(),{authActionWrapper:u,authorProps:p}=t.useContext(ml),m=`${window.location.origin}${l}/${null===(o=null==e?void 0:e.community)||void 0===o?void 0:o.slug}/${null==e?void 0:e.slug}/`;return q.default.createElement("div",{className:`${jl} ${n}`},q.default.createElement("div",{className:Fl},q.default.createElement("a",{"data-event-category":"Together","data-event-action":"Click Post","data-event-label":m,className:Ul,href:m,onClick:e=>{(null==r?void 0:r.id)||(e.preventDefault(),null==u||u((()=>window.location.href=m)))}}),q.default.createElement(wo,{className:"card-author",avatarProps:{avatar:null==p?void 0:p.avatar,size:32}},q.default.createElement(Xo.MainText,{className:$l},null==e?void 0:e.title),q.default.createElement(Xo.SubTextRow,null,q.default.createElement(Xo.SubText,null,null==e?void 0:e.createdTime))),q.default.createElement(Gr,{className:"post-content-wrapper",description:null==e?void 0:e.description,mentions:null==e?void 0:e.mentions,maxChars:200,"data-testid":"Content of the Post",hideShowAllBtn:!0}),q.default.createElement(i.Text,{size:"p3",color:c.fn.primaryColor()},s("post.seeMore"))))};var Hl="TSMHoEM";const ql=()=>{const{t:a}=d.useTranslations(),{data:{locale:n}}=t.useContext(i.TogetherComponentGlobalContext),{authorId:o,authorProps:r,isAuthorLogin:l,onCloseFromPost:s}=t.useContext(ml),[c,u]=t.useState(null),[p,m]=t.useState(!1);return t.useEffect((()=>{o&&e.__awaiter(void 0,void 0,void 0,(function*(){var e;m(!0);const t=yield i.callApi(i.getApiPath(i.PATHS.USER.LIST_POST,{_locale:n,id:o,isAnonymous:0}),"GET"),a=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.posts)||[]).map(v.formatPost);u(a),m(!1)}))}),[o]),q.default.createElement("div",{className:Hl},p?q.default.createElement(pl,null):null!==c&&(c.length>0?c.map((e=>q.default.createElement(Vl,{className:"post-card",key:e.id,post:e}))):q.default.createElement(Dl,{message:a("profilePanel.emptyPostMess.content",{name:(null==r?void 0:r.name)||(null==r?void 0:r.username)||""}),buttonTxt:l&&a("profilePanel.createPost"),onBtnClick:()=>{null==s||s()}})))};var Gl="_4Vekw96",Wl="DIJdGcB",Ql="aQSt4-Q";const Zl=e=>e?{title:null==e?void 0:e.title,organization:null==e?void 0:e.organization,duration:e.duration}:{},Xl=e=>e?{completedYear:null==e?void 0:e.completed_year,schoolName:e.school_name,study:e.study}:{};var Yl,Kl;exports.TabName=void 0,(Yl=exports.TabName||(exports.TabName={}))[Yl.About=0]="About",Yl[Yl.Care=1]="Care",Yl[Yl.Answer=2]="Answer",Yl[Yl.Posts=3]="Posts",function(e){e[e.Expert=0]="Expert",e[e.User=1]="User"}(Kl||(Kl={}));const Jl=a=>{var n,{authorProps:o,selectedTab:r,authActionWrapper:l,onSkipQuestion:s,onCloseFromPost:c,hideQuestionTab:u,hideAnswerTab:p,showSkipQuestionTag:m,rolesToShowQuestionsTab:h=["expert"],currentPageUrl:g}=a,f=e.__rest(a,["authorProps","selectedTab","authActionWrapper","onSkipQuestion","onCloseFromPost","hideQuestionTab","hideAnswerTab","showSkipQuestionTag","rolesToShowQuestionsTab","currentPageUrl"]);const{data:{locale:b,userInfo:x,env:{isMarryBaby:y}}}=t.useContext(i.TogetherComponentGlobalContext),{t:w}=d.useTranslations(),C=null==o?void 0:o.role,E=null==x?void 0:x.role,k=String(null==o?void 0:o.userId),[S,A]=t.useState(),[T,N]=t.useState(!1),[I,B]=t.useState(),P=(null==x?void 0:x._togetherUserId)===(null==o?void 0:o.userId),D=[...-1!==h.indexOf(C)?[{value:exports.TabName.About,text:w("profilePanel.tabs.highlight"),content:q.default.createElement(Sl,{id:k,info:I}),dataEventCategory:"Together",dataEventAction:"Doctor Profile Click",dataEventLabel:g}]:[],{value:exports.TabName.Posts,text:w("profilePanel.tabs.posts"),content:q.default.createElement(ql,null),hasCountResult:!0,keyOfCountApi:"post",keyOfResult:"total_post"},...u||-1===h.indexOf(E)||(null==x?void 0:x._togetherUserId)!==(null==o?void 0:o.userId)?[]:[{value:exports.TabName.Care,text:`${w("profilePanel.tabs.care")}`,content:q.default.createElement(Rl,null),hasCountResult:!0,keyOfCountApi:"question",keyOfResult:"total_question",dataEventCategory:"Together",dataEventAction:"Doctor Questions Click",dataEventLabel:g}],...p||-1===h.indexOf(C)?[]:[{value:exports.TabName.Answer,text:`${w("profilePanel.tabs.expertAnswer")}`,content:q.default.createElement(Ml,{id:k}),hasCountResult:!0,keyOfCountApi:"reply",keyOfResult:"total_reply",dataEventCategory:"Together",dataEventAction:"Doctor Reply Tab Click",dataEventLabel:g}]],[M,z]=t.useState(null),[O,L]=t.useState(null),_={value:String(O),dataList:M,onTabChange:e=>L(Number(e))},R=null==D?void 0:D.filter((e=>null==e?void 0:e.hasCountResult));t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,a,n,o,l,s,d,c,u;N(!0);const p=yield Promise.all([i.callApi(i.getApiPath(i.PATHS.USER.DETAIL,{_locale:b,id:k}),"GET"),...R.map((e=>i.callApi(i.getApiPath(i.PATHS.USER.COUNT_TABS,{_locale:b,id:k,[e.keyOfCountApi]:1}),"GET")))]),[m]=p,h={data:null==m?void 0:m.data,experiences:((null===(t=null===(e=null==m?void 0:m.data)||void 0===e?void 0:e.fields)||void 0===t?void 0:t.experiences)||[]).map(Zl),relatedPosts:((null===(a=null==m?void 0:m.data)||void 0===a?void 0:a.related_post)||[]).map((e=>v.formatArticle(e.post))),educations:((null===(o=null===(n=null==m?void 0:m.data)||void 0===n?void 0:n.fields)||void 0===o?void 0:o.educations)||[]).map(Xl),awards:(null===(s=null===(l=null==m?void 0:m.data)||void 0===l?void 0:l.fields)||void 0===s?void 0:s.awards_accreditations)||[],contact:(null===(c=null===(d=null==m?void 0:m.data)||void 0===d?void 0:d.fields)||void 0===c?void 0:c.contact)||{}};1===(null==m?void 0:m.status)&&B(h);const g=(null==h?void 0:h.relatedPosts)||[],f=Object.keys(h.contact).map((e=>{var t;return""!==(null===(t=null==h?void 0:h.contact)||void 0===t?void 0:t[e])})),x=[...(null==h?void 0:h.experiences)||[],...(null==h?void 0:h.educations)||[],...(null==h?void 0:h.awards)||[]],y=g.length>0||f.length>0||x.length>0,w={},C=R.map(((e,t)=>{var a,i,n;const o=(null===(n=null===(i=null===(a=p[t+1])||void 0===a?void 0:a.data)||void 0===i?void 0:i.counting)||void 0===n?void 0:n[e.keyOfResult])||0;return o>0?(w[e.keyOfResult]=o,e):-1!==[exports.TabName.Care,exports.TabName.Posts].indexOf(e.value)?e:void 0})).filter(Boolean).map((e=>e.value)),E=D.map((e=>{const t=Object.assign(Object.assign({},e),{text:e.text+(e.keyOfResult?` (${(null==w?void 0:w[e.keyOfResult])||"0"})`:"")});return t.hasCountResult?-1!==C.indexOf(t.value)?t:void 0:t.value===exports.TabName.About?y&&t:t})).filter(Boolean);z(E),L(r||(null===(u=null==E?void 0:E[0])||void 0===u?void 0:u.value)),A(w),N(!1)}))}),[]);const j=null==I?void 0:I.data;return q.default.createElement(ml.Provider,{value:{isMarryBaby:y,siteType:y?"marryBaby":"helloSites",authorId:String((null==o?void 0:o.userId)||""),authActionWrapper:l,onSkipQuestion:s,info:I,authorProps:o,onCloseFromPost:c,countValues:S,setCountValues:A,isAuthorLogin:P,showSkipQuestionTag:m,currentPageUrl:g}},q.default.createElement("div",Object.assign({},f,{className:`${Gl} ${(null==f?void 0:f.className)||""}`,"data-is-marrybaby":y}),T?q.default.createElement(pl,null):q.default.createElement(q.default.Fragment,null,q.default.createElement(Xo,Object.assign({},o,{className:"card-author",showDetailPopup:!1,subLine:"expert"===(null==o?void 0:o.role)?(null==j?void 0:j.specialty)&&(null==j?void 0:j.organisation)&&q.default.createElement(Xo.SubTextRow,null,(null==j?void 0:j.specialty)&&q.default.createElement(q.default.Fragment,null,q.default.createElement(Xo.SubText,null,null==j?void 0:j.specialty),q.default.createElement(Xo.SubDivider,null)),q.default.createElement(Xo.SubText,null,null==j?void 0:j.organisation)):(null==j?void 0:j.created_at)&&q.default.createElement(Xo.SubTextRow,null,q.default.createElement(Xo.SubText,null,w("profilePanel.joined")," ",W.default(null==j?void 0:j.created_at).toNow(!0)))})),"expert"===C&&q.default.createElement("div",{className:Wl,dangerouslySetInnerHTML:{__html:null===(n=null==I?void 0:I.data)||void 0===n?void 0:n.description}}),null!==M&&null!==O&&(M.length>0?q.default.createElement("div",{className:Ql},q.default.createElement(i.Tabs,Object.assign({},_))):q.default.createElement(Dl,{message:w("profilePanel.emptyPostMess.content",{text:(null==o?void 0:o.name)||(null==o?void 0:o.username)||""})})))))};var es=Object.freeze({__proto__:null,get TabName(){return exports.TabName},get UserType(){return Kl},TabDataInit:{experiences:[],relatedPosts:[],educations:[],awards:[],contact:{},data:{}},ProfileDetail:Jl});const ts=Q.default.div`
|
|
6456
|
+
`;var ul="PD6nRZX";const pl=({className:e,size:t="md"})=>{const{t:a}=i.useTranslations();return q.default.createElement("div",{className:`${ul} ${e}`},q.default.createElement(S.Button,{size:t,color:"transparent",isLoading:!0},a("loading")))},ml=t.createContext({});var hl="l5fL1xL",gl="L-aGKo7";const fl=({children:e,className:t=""})=>q.default.createElement("div",{className:`${hl} ${t}`},e),bl=({children:e,className:t=""})=>q.default.createElement("div",{className:`${gl} ${t}`},e);var xl="eaR8ATZ",vl="xM-7K0a",yl="DZmf3s7";const wl=({src:e,defaultSrc:t=l.CommonGAssets.getAssetPath("logo/logomark.png"),ratio:a=1,size:i=80,radius:n=8,alt:o,className:r=""})=>q.default.createElement("div",{className:r},q.default.createElement("div",{className:yl,style:{width:`${i}px`,height:i*a+"px",borderRadius:`${n}px`}},q.default.createElement(p.ImageWrap,{src:e,backupSrc:t,alt:o}))),Cl=({category:e,title:t,src:a,children:i,className:n=""})=>q.default.createElement("div",{className:`${xl} ${n}`},q.default.createElement(wl,{src:a}),q.default.createElement("div",{className:vl},i||q.default.createElement("div",null,e&&q.default.createElement(fl,null,e),t&&q.default.createElement(bl,null,t))));Cl.CategoryText=fl,Cl.Title=bl;const El=({featureImage:e,postTitle:t,author:a,categories:i,isReview:n,className:o=""})=>{var r;const l=n?"Medically reviewed by Jobelle Ann Dela Cruz Bigalbal, MD":"Written by Jobelle Ann Dela Cruz Bigalbal, MD";return q.default.createElement(Cl,{src:e,className:o},q.default.createElement(q.default.Fragment,null,q.default.createElement(Cl.CategoryText,null,null===(r=null==i?void 0:i[0])||void 0===r?void 0:r.name),q.default.createElement(Cl.Title,null,t),q.default.createElement(wo,{avatarProps:Object.assign(Object.assign({},a),{size:32}),subTitle:q.default.createElement(q.default.Fragment,null,l,q.default.createElement(wo.SubDivider,null),"Dec 12, 2022")})))};var kl={container:"SFSgnOz",header:"Tf3aoVa",heading:"TOt4QXl",headingIcon:"_5XYN1KT",accBodyGroup:"yE-tZRj",accBodyGroupItem:"LXiGuGT",accBodyGroupDesc:"r4rx-6v",subTitle:"XrHh8-C",subIcon:"c5-Yecd",group:"UBj6nWr",groupBody:"_2vptVBd",articleCardLink:"ZPDAwiR",relatedList:"_6wJn-NR",socialItem:"_21XDdFv",mbChevronWrapper:"LSyr3Zo"};const Sl=({className:e=""})=>{var n,o,r,s,d;const{t:c}=i.useTranslations(),{info:u,isMarryBaby:p,currentPageUrl:h}=t.useContext(ml),f=null==u?void 0:u.data,b=[{type:"linkedin",icon:l.CommonGAssets.getAssetPath("linkedin.svg"),url:null===(n=null==u?void 0:u.contact)||void 0===n?void 0:n.linkedin,eventAction:"Doctor Profile - Linkedin"},{type:"instagram",icon:l.CommonGAssets.getAssetPath("instagram.svg"),url:null===(o=null==u?void 0:u.contact)||void 0===o?void 0:o.instagram,eventAction:"Doctor Profile - Instagram"},{type:"facebook",icon:l.CommonGAssets.getAssetPath("facebook.svg"),url:null===(r=null==u?void 0:u.contact)||void 0===r?void 0:r.facebook,eventAction:"Doctor Profile - Facebook"},{type:"youtube",icon:l.CommonGAssets.getAssetPath("youtube.svg"),url:null===(s=null==u?void 0:u.contact)||void 0===s?void 0:s.youtube,eventAction:"Doctor Profile - Youtube"},{type:"tiktok",icon:l.CommonGAssets.getAssetPath("tiktok.svg"),url:null===(d=null==u?void 0:u.contact)||void 0===d?void 0:d.tiktok,eventAction:"Doctor Profile - TikTok"}],x=[...((null==u?void 0:u.experiences)||[]).length>0?[{key:"experience",heading:c("profilePanel.experience"),iconSrc:l.CommonGAssets.getAssetPath(p?"award-doc-mb.svg":"award-doc.svg"),eventAction:"Doctor Experience Click",panel:q.default.createElement("div",{className:kl.accBodyGroup},null==u?void 0:u.experiences.map(((e,t)=>q.default.createElement("div",{className:kl.accBodyGroupItem,key:String(t)},q.default.createElement("div",{className:kl.accBodyGroupTitle},e.title),q.default.createElement("div",{className:kl.accBodyGroupDesc},q.default.createElement("p",null,e.organization),q.default.createElement("p",null,e.duration))))))}]:[],...((null==u?void 0:u.educations)||[]).length>0?[{key:"education",heading:c("profilePanel.education"),iconSrc:l.CommonGAssets.getAssetPath(p?"book-mb.svg":"book.svg"),eventAction:"Doctor Degree Click",panel:q.default.createElement("div",{className:kl.accBodyGroup},null==u?void 0:u.educations.map(((e,t)=>q.default.createElement("div",{className:kl.accBodyGroupItem,key:String(t)},q.default.createElement("div",{className:kl.accBodyGroupTitle},e.schoolName),q.default.createElement("div",{className:kl.accBodyGroupDesc},q.default.createElement("p",null,e.study),q.default.createElement("p",null,e.completedYear))))))}]:[],...((null==u?void 0:u.awards)||[]).length>0?[{key:"awards",heading:c("profilePanel.awards"),iconSrc:l.CommonGAssets.getAssetPath(p?"award-mb.svg":"award.svg"),eventAction:"Doctor Award Click",panel:q.default.createElement("div",{className:kl.accBodyGroup},null==u?void 0:u.awards.map(((e,t)=>q.default.createElement("div",{className:kl.accBodyGroupTitle,key:t},e.title))))}]:[]],v=(null==u?void 0:u.relatedPosts)||[],y=b.filter((e=>e.url));return q.default.createElement("div",{className:`${kl.container} ${e}`,"data-is-marrybaby":p},x.length>0&&q.default.createElement(a.Accordion,{defaultValue:x[0].key,chevron:p?q.default.createElement("div",{className:kl.mbChevronWrapper},q.default.createElement(m.Plus,{size:12,color:g.theme.mbColors.midGray})):q.default.createElement(m.Plus,{color:g.theme.colors.gray400}),styles:{chevron:{"&[data-rotate]":{".minus-path":{display:"block"},".plus-path":{display:"none"}}},content:{display:"flex",flexDirection:"column",gap:"16px",padding:"0"},item:{border:0},control:{paddingLeft:0,"&:hover":{background:"transparent"},"*":{pointerEvents:"none"}}}},x.map((e=>q.default.createElement(a.Accordion.Item,{key:e.key,value:e.key},q.default.createElement(a.Accordion.Control,{"data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":h},q.default.createElement("div",{className:kl.header},q.default.createElement("div",{className:kl.headingIcon},q.default.createElement("img",{src:e.iconSrc,loading:"lazy"})),q.default.createElement("div",{className:kl.heading},e.heading))),q.default.createElement(a.Accordion.Panel,null,e.panel))))),v.length>0&&q.default.createElement("div",{className:kl.group},q.default.createElement("div",{className:kl.subTitle},q.default.createElement("img",{className:kl.subIcon,src:l.CommonGAssets.getAssetPath(p?"mb-logo.svg":"logo/circle-solid.svg"),loading:"lazy"}),c("profilePanel.publishedArticles")),q.default.createElement("div",{className:`${kl.relatedList}`},null==u?void 0:u.relatedPosts.map((e=>q.default.createElement("a",{key:String(e.id),href:`${window.location.origin}${null==e?void 0:e.permalink}`,className:kl.articleCardLink},q.default.createElement(El,Object.assign({className:"article-card"},Object.assign(Object.assign({},e),!e.author&&{author:{displayName:null==f?void 0:f.name,avatar:null==f?void 0:f.avatar}}),{isReview:!0}))))))),y.length>0&&q.default.createElement("div",{className:kl.group},q.default.createElement("div",{className:kl.subTitle},q.default.createElement("img",{className:kl.subIcon,src:l.CommonGAssets.getAssetPath(p?"social-mb.svg":"social.svg"),loading:"lazy"}),c("profilePanel.socialLinks")),q.default.createElement("div",{className:kl.groupBody},q.default.createElement(a.Flex,null,b.map(((e,t)=>e.url&&q.default.createElement("div",{className:kl.socialItem,key:t},q.default.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},q.default.createElement("img",{src:e.icon,loading:"lazy",width:"32px","data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":h})))))))))};var Al={container:"GYUElSy",question:"_3C6QpT1",questionTitle:"_9M9VYL6",community:"_1RuSyv3",questionCard:"_1IG-eEp"};const Tl=({post:e,className:a=""})=>{var n,o,r,l,s,c,u,p;const{t:m}=i.useTranslations(),{data:{userInfo:h,env:{togetherBasePath:g}}}=t.useContext(d.TogetherComponentGlobalContext),{authActionWrapper:f,authorProps:b,currentPageUrl:x}=t.useContext(ml),v=`${window.location.origin}${g}/${null===(n=null==e?void 0:e.community)||void 0===n?void 0:n.slug}/${null==e?void 0:e.slug}/`;return q.default.createElement("div",{className:`${Al.container} ${a}`},q.default.createElement("div",{className:Al.header},q.default.createElement("div",{className:Al.question},m("profilePanel.question")," ",q.default.createElement(d.Anchor,{className:Al.questionTitle,href:"#",onClick:()=>{(null==h?void 0:h.id)||null==f||f((()=>window.location.href=v))}},"#",null==e?void 0:e.title)),q.default.createElement("div",{className:Al.community},null===(o=null==e?void 0:e.community)||void 0===o?void 0:o.name," - ",null==e?void 0:e.createdTime)),q.default.createElement("div",{className:Al.questionCard},q.default.createElement(Xo,Object.assign({className:"card-author"},b,{role:"user",avatarIcon:q.default.createElement(lo,null),subLine:q.default.createElement(Xo.SubTextRow,null,q.default.createElement(Xo.SubText,null,null===(s=null===(l=null===(r=null==e?void 0:e.expertAnswer)||void 0===r?void 0:r.answer)||void 0===l?void 0:l[0])||void 0===s?void 0:s.createdTime))})),q.default.createElement(Gr,{className:"post-content-wrapper",description:(null===(p=null===(u=null===(c=null==e?void 0:e.expertAnswer)||void 0===c?void 0:c.answer)||void 0===u?void 0:u[0])||void 0===p?void 0:p.content)||"",mentions:null==e?void 0:e.mentions,"data-testid":"Content of the Post"})),q.default.createElement(d.Button,{variant:"secondary","data-event-category":"Together","data-event-action":"Doctor Reply Click","data-event-label":x,size:"md",onClick:()=>{(null==h?void 0:h.id)?window.location.href=v:null==f||f((()=>window.location.href=v))}},m("profilePanel.anserwing.viewFull")))};var Nl="MrdoES3",Il="_8fd7YMs",Bl="DomiQfw",Pl="-b2qnfL";const Dl=({message:e,buttonTxt:a,imgSrc:i,onBtnClick:n})=>{const{siteType:o,isMarryBaby:r}=t.useContext(ml);return q.default.createElement("div",{className:Il},q.default.createElement("div",{className:Bl},q.default.createElement("img",{src:i||l.CommonGAssets.getAssetPath(r?"comments-mb.svg":"comments.svg"),loading:"lazy"})),e&&q.default.createElement("div",{className:Pl},e),a&&q.default.createElement(S.Button,{size:"md",theme:o,color:"secondary",onClick:n},a))},Ml=({id:a})=>{const{t:n}=i.useTranslations(),{data:{locale:o}}=t.useContext(d.TogetherComponentGlobalContext),{authorProps:r}=t.useContext(ml),[l,s]=t.useState(null),[c,p]=t.useState(!1);return t.useEffect((()=>{a&&e.__awaiter(void 0,void 0,void 0,(function*(){var e;p(!0);const t=yield d.callApi(d.getApiPath(d.PATHS.USER.LIST_ANSWERS,{_locale:o,id:a}),"GET"),i=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.replies)||[]).map(u.formatPost);s(i),p(!1)}))}),[]),q.default.createElement("div",{className:Nl},c?q.default.createElement(pl,null):null!==l&&(l.length>0?l.map((e=>q.default.createElement(Tl,{className:"post-card",key:e.id,post:e}))):q.default.createElement(Dl,{message:n("profilePanel.emptyPostMess.content",{name:(null==r?void 0:r.name)||(null==r?void 0:r.username)})})))};var zl="toEutn7",Ol="drdisHs";const Ll=a=>{var i,n,o,r,{post:l}=a,s=e.__rest(a,["post"]);const{data:{env:{togetherBasePath:c}}}=t.useContext(d.TogetherComponentGlobalContext);return q.default.createElement(q.default.Fragment,null,q.default.createElement("div",Object.assign({},s,{className:`${zl} ${(null==s?void 0:s.className)||""}`}),q.default.createElement(Xo,{className:"card-author",avatar:null===(i=null==l?void 0:l.author)||void 0===i?void 0:i.avatar,name:(null===(n=null==l?void 0:l.author)||void 0===n?void 0:n.name)||(null===(o=null==l?void 0:l.author)||void 0===o?void 0:o.username),isAnonymous:Boolean(null==l?void 0:l.isAnonymous),subLine:q.default.createElement(Xo.SubTextRow,null,q.default.createElement(Xo.SubText,null,null==l?void 0:l.createdTime))}),q.default.createElement(d.Anchor,{href:`${window.location.origin}${c}/${null===(r=null==l?void 0:l.community)||void 0===r?void 0:r.slug}/${null==l?void 0:l.slug}/`,className:Ol,rel:"noreferrer"},null==l?void 0:l.title)))};var _l={accordion:"I-uIJ6E",header:"_41WRsj2",heading:"AcOGL93",headingIcon:"JD3dWJN",panel:"dKAgnS8",chevron:"L2Q9T6m",container:"h-pSmhX"};const Rl=()=>{var n,o;const{t:r}=i.useTranslations(),{data:{locale:s,userInfo:c}}=t.useContext(d.TogetherComponentGlobalContext),{onSkipQuestion:p,countValues:m,setCountValues:h}=t.useContext(ml),[f,b]=t.useState(),[x,v]=t.useState([]),[y,w]=t.useState(!1),C=null==c?void 0:c.id;t.useEffect((()=>{C&&e.__awaiter(void 0,void 0,void 0,(function*(){var e;w(!0);const t=yield d.callApiWithAuth(d.getApiPath(d.PATHS.USER.LIST_QUESTION_NEED_REPLY,{_locale:s}),"GET"),a=[],i=Object.create({});((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.communities)||[]).filter((e=>((null==e?void 0:e.question)||[]).length>0)).map((e=>{i[e.id]=e.question.map(u.formatPost),delete e.question,a.push(u.formatCommunity(e))})),v(a),b(i),w(!1)}))}),[]);const E=({id:e,communityId:t})=>{if(e&&t&&f){const a=Object.assign(Object.assign({},f),{[t]:[...((null==f?void 0:f[t])||[]).filter((t=>t.id!==e))]});let i=0;Object.keys(a).map((e=>i+=a[e].length||0)),b(a),h(Object.assign(Object.assign({},m),{total_question:i})),null==p||p(i)}};return q.default.createElement("div",{className:_l.container},y?q.default.createElement(pl,null):(null==m?void 0:m.total_question)>0?x.length>0&&q.default.createElement(a.Accordion,{className:_l.accordion,defaultValue:String((null===(o=x[null===(n=Object.keys(x))||void 0===n?void 0:n[0]])||void 0===o?void 0:o.id)||""),styles:e=>({control:{padding:"16px",border:`1px solid ${e.colors.neutral[1]}`,borderTopLeftRadius:"8px",borderTopRightRadius:"8px",'&[aria-expanded="false"]':{borderBottom:0}},chevron:{width:"32px",height:"32px"},content:{padding:0,border:`1px solid ${e.colors.neutral[1]}`,borderTop:0,borderBottom:0},label:{padding:0},item:{marginBottom:"16px"}}),chevron:q.default.createElement("div",{className:_l.chevron},q.default.createElement(d.ArrowDown,{color:g.theme.colors.gray600,size:20}))},x.map((e=>{const t=f&&(null==f?void 0:f[e.id])||[];return t.length>0&&q.default.createElement(a.Accordion.Item,{key:e.id,value:String(e.id)},q.default.createElement(a.Accordion.Control,null,q.default.createElement("div",{className:_l.header},q.default.createElement("div",{className:_l.headingIcon},q.default.createElement("img",{src:e.thumbnail,loading:"lazy"})),q.default.createElement("div",{className:_l.heading},e.name))),q.default.createElement(a.Accordion.Panel,null,q.default.createElement("div",{className:_l.body},t.map((e=>q.default.createElement(Ll,{className:"question-card",key:e.id,post:e,onSkip:E}))))))}))):q.default.createElement(Dl,{message:r("profilePanel.emptyCareMess.content"),imgSrc:l.CommonGAssets.getAssetPath("questions.svg")}))};var jl="GA-zc-O",$l="A18McWD",Fl="IB049vj",Ul="_8I--vEV";const Vl=({post:e,className:n=""})=>{var o;const{data:{userInfo:r,env:{togetherBasePath:l}}}=t.useContext(d.TogetherComponentGlobalContext),{t:s}=i.useTranslations(),c=a.useMantineTheme(),{authActionWrapper:u,authorProps:p}=t.useContext(ml),m=`${window.location.origin}${l}/${null===(o=null==e?void 0:e.community)||void 0===o?void 0:o.slug}/${null==e?void 0:e.slug}/`;return q.default.createElement("div",{className:`${jl} ${n}`},q.default.createElement("div",{className:Fl},q.default.createElement("a",{"data-event-category":"Together","data-event-action":"Click Post","data-event-label":m,className:Ul,href:m,onClick:e=>{(null==r?void 0:r.id)||(e.preventDefault(),null==u||u((()=>window.location.href=m)))}}),q.default.createElement(wo,{className:"card-author",avatarProps:{avatar:null==p?void 0:p.avatar,size:32}},q.default.createElement(Xo.MainText,{className:$l},null==e?void 0:e.title),q.default.createElement(Xo.SubTextRow,null,q.default.createElement(Xo.SubText,null,null==e?void 0:e.createdTime))),q.default.createElement(Gr,{className:"post-content-wrapper",description:null==e?void 0:e.description,mentions:null==e?void 0:e.mentions,maxChars:200,"data-testid":"Content of the Post",hideShowAllBtn:!0}),q.default.createElement(d.Text,{size:"p3",color:c.fn.primaryColor()},s("post.seeMore"))))};var Hl="TSMHoEM";const ql=()=>{const{t:a}=i.useTranslations(),{data:{locale:n}}=t.useContext(d.TogetherComponentGlobalContext),{authorId:o,authorProps:r,isAuthorLogin:l,onCloseFromPost:s}=t.useContext(ml),[c,p]=t.useState(null),[m,h]=t.useState(!1);return t.useEffect((()=>{o&&e.__awaiter(void 0,void 0,void 0,(function*(){var e;h(!0);const t=yield d.callApi(d.getApiPath(d.PATHS.USER.LIST_POST,{_locale:n,id:o,isAnonymous:0}),"GET"),a=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.posts)||[]).map(u.formatPost);p(a),h(!1)}))}),[o]),q.default.createElement("div",{className:Hl},m?q.default.createElement(pl,null):null!==c&&(c.length>0?c.map((e=>q.default.createElement(Vl,{className:"post-card",key:e.id,post:e}))):q.default.createElement(Dl,{message:a("profilePanel.emptyPostMess.content",{name:(null==r?void 0:r.name)||(null==r?void 0:r.username)||""}),buttonTxt:l&&a("profilePanel.createPost"),onBtnClick:()=>{null==s||s()}})))};var Gl="_4Vekw96",Wl="DIJdGcB",Ql="aQSt4-Q";const Zl=e=>e?{title:null==e?void 0:e.title,organization:null==e?void 0:e.organization,duration:e.duration}:{},Xl=e=>e?{completedYear:null==e?void 0:e.completed_year,schoolName:e.school_name,study:e.study}:{};var Yl,Kl;exports.TabName=void 0,(Yl=exports.TabName||(exports.TabName={}))[Yl.About=0]="About",Yl[Yl.Care=1]="Care",Yl[Yl.Answer=2]="Answer",Yl[Yl.Posts=3]="Posts",function(e){e[e.Expert=0]="Expert",e[e.User=1]="User"}(Kl||(Kl={}));const Jl=a=>{var n,{authorProps:o,selectedTab:r,authActionWrapper:l,onSkipQuestion:s,onCloseFromPost:c,hideQuestionTab:p,hideAnswerTab:m,showSkipQuestionTag:h,rolesToShowQuestionsTab:g=["expert"],currentPageUrl:f}=a,b=e.__rest(a,["authorProps","selectedTab","authActionWrapper","onSkipQuestion","onCloseFromPost","hideQuestionTab","hideAnswerTab","showSkipQuestionTag","rolesToShowQuestionsTab","currentPageUrl"]);const{data:{locale:x,userInfo:v,env:{isMarryBaby:y}}}=t.useContext(d.TogetherComponentGlobalContext),{t:w}=i.useTranslations(),C=null==o?void 0:o.role,E=null==v?void 0:v.role,k=String(null==o?void 0:o.userId),[S,A]=t.useState(),[T,N]=t.useState(!1),[I,B]=t.useState(),P=(null==v?void 0:v._togetherUserId)===(null==o?void 0:o.userId),D=[...-1!==g.indexOf(C)?[{value:exports.TabName.About,text:w("profilePanel.tabs.highlight"),content:q.default.createElement(Sl,{id:k,info:I}),dataEventCategory:"Together",dataEventAction:"Doctor Profile Click",dataEventLabel:f}]:[],{value:exports.TabName.Posts,text:w("profilePanel.tabs.posts"),content:q.default.createElement(ql,null),hasCountResult:!0,keyOfCountApi:"post",keyOfResult:"total_post"},...p||-1===g.indexOf(E)||(null==v?void 0:v._togetherUserId)!==(null==o?void 0:o.userId)?[]:[{value:exports.TabName.Care,text:`${w("profilePanel.tabs.care")}`,content:q.default.createElement(Rl,null),hasCountResult:!0,keyOfCountApi:"question",keyOfResult:"total_question",dataEventCategory:"Together",dataEventAction:"Doctor Questions Click",dataEventLabel:f}],...m||-1===g.indexOf(C)?[]:[{value:exports.TabName.Answer,text:`${w("profilePanel.tabs.expertAnswer")}`,content:q.default.createElement(Ml,{id:k}),hasCountResult:!0,keyOfCountApi:"reply",keyOfResult:"total_reply",dataEventCategory:"Together",dataEventAction:"Doctor Reply Tab Click",dataEventLabel:f}]],[M,z]=t.useState(null),[O,L]=t.useState(null),_={value:String(O),dataList:M,onTabChange:e=>L(Number(e))},R=null==D?void 0:D.filter((e=>null==e?void 0:e.hasCountResult));t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,a,i,n,o,l,s,c,p;N(!0);const m=yield Promise.all([d.callApi(d.getApiPath(d.PATHS.USER.DETAIL,{_locale:x,id:k}),"GET"),...R.map((e=>d.callApi(d.getApiPath(d.PATHS.USER.COUNT_TABS,{_locale:x,id:k,[e.keyOfCountApi]:1}),"GET")))]),[h]=m,g={data:null==h?void 0:h.data,experiences:((null===(t=null===(e=null==h?void 0:h.data)||void 0===e?void 0:e.fields)||void 0===t?void 0:t.experiences)||[]).map(Zl),relatedPosts:((null===(a=null==h?void 0:h.data)||void 0===a?void 0:a.related_post)||[]).map((e=>u.formatArticle(e.post))),educations:((null===(n=null===(i=null==h?void 0:h.data)||void 0===i?void 0:i.fields)||void 0===n?void 0:n.educations)||[]).map(Xl),awards:(null===(l=null===(o=null==h?void 0:h.data)||void 0===o?void 0:o.fields)||void 0===l?void 0:l.awards_accreditations)||[],contact:(null===(c=null===(s=null==h?void 0:h.data)||void 0===s?void 0:s.fields)||void 0===c?void 0:c.contact)||{}};1===(null==h?void 0:h.status)&&B(g);const f=(null==g?void 0:g.relatedPosts)||[],b=Object.keys(g.contact).map((e=>{var t;return""!==(null===(t=null==g?void 0:g.contact)||void 0===t?void 0:t[e])})),v=[...(null==g?void 0:g.experiences)||[],...(null==g?void 0:g.educations)||[],...(null==g?void 0:g.awards)||[]],y=f.length>0||b.length>0||v.length>0,w={},C=R.map(((e,t)=>{var a,i,n;const o=(null===(n=null===(i=null===(a=m[t+1])||void 0===a?void 0:a.data)||void 0===i?void 0:i.counting)||void 0===n?void 0:n[e.keyOfResult])||0;return o>0?(w[e.keyOfResult]=o,e):-1!==[exports.TabName.Care,exports.TabName.Posts].indexOf(e.value)?e:void 0})).filter(Boolean).map((e=>e.value)),E=D.map((e=>{const t=Object.assign(Object.assign({},e),{text:e.text+(e.keyOfResult?` (${(null==w?void 0:w[e.keyOfResult])||"0"})`:"")});return t.hasCountResult?-1!==C.indexOf(t.value)?t:void 0:t.value===exports.TabName.About?y&&t:t})).filter(Boolean);z(E),L(r||(null===(p=null==E?void 0:E[0])||void 0===p?void 0:p.value)),A(w),N(!1)}))}),[]);const j=null==I?void 0:I.data;return q.default.createElement(ml.Provider,{value:{isMarryBaby:y,siteType:y?"marryBaby":"helloSites",authorId:String((null==o?void 0:o.userId)||""),authActionWrapper:l,onSkipQuestion:s,info:I,authorProps:o,onCloseFromPost:c,countValues:S,setCountValues:A,isAuthorLogin:P,showSkipQuestionTag:h,currentPageUrl:f}},q.default.createElement("div",Object.assign({},b,{className:`${Gl} ${(null==b?void 0:b.className)||""}`,"data-is-marrybaby":y}),T?q.default.createElement(pl,null):q.default.createElement(q.default.Fragment,null,q.default.createElement(Xo,Object.assign({},o,{className:"card-author",showDetailPopup:!1,subLine:"expert"===(null==o?void 0:o.role)?(null==j?void 0:j.specialty)&&(null==j?void 0:j.organisation)&&q.default.createElement(Xo.SubTextRow,null,(null==j?void 0:j.specialty)&&q.default.createElement(q.default.Fragment,null,q.default.createElement(Xo.SubText,null,null==j?void 0:j.specialty),q.default.createElement(Xo.SubDivider,null)),q.default.createElement(Xo.SubText,null,null==j?void 0:j.organisation)):(null==j?void 0:j.created_at)&&q.default.createElement(Xo.SubTextRow,null,q.default.createElement(Xo.SubText,null,w("profilePanel.joined")," ",Z.default(null==j?void 0:j.created_at).toNow(!0)))})),"expert"===C&&q.default.createElement("div",{className:Wl,dangerouslySetInnerHTML:{__html:null===(n=null==I?void 0:I.data)||void 0===n?void 0:n.description}}),null!==M&&null!==O&&(M.length>0?q.default.createElement("div",{className:Ql},q.default.createElement(d.Tabs,Object.assign({},_))):q.default.createElement(Dl,{message:w("profilePanel.emptyPostMess.content",{text:(null==o?void 0:o.name)||(null==o?void 0:o.username)||""})})))))};var es=Object.freeze({__proto__:null,get TabName(){return exports.TabName},get UserType(){return Kl},TabDataInit:{experiences:[],relatedPosts:[],educations:[],awards:[],contact:{},data:{}},ProfileDetail:Jl});const ts=Q.default.div`
|
|
6457
6457
|
position: relative;
|
|
6458
6458
|
margin-bottom: 24px;
|
|
6459
6459
|
background: white;
|
|
@@ -6463,7 +6463,7 @@
|
|
|
6463
6463
|
text-decoration: none;
|
|
6464
6464
|
}
|
|
6465
6465
|
|
|
6466
|
-
${
|
|
6466
|
+
${h.MediaQueries.mbDown} {
|
|
6467
6467
|
margin-bottom: 8px;
|
|
6468
6468
|
}
|
|
6469
6469
|
&.flat-top {
|
|
@@ -6486,7 +6486,7 @@
|
|
|
6486
6486
|
width: 40px;
|
|
6487
6487
|
height: 40px;
|
|
6488
6488
|
font-size: 20px;
|
|
6489
|
-
${
|
|
6489
|
+
${h.MediaQueries.mbDown} {
|
|
6490
6490
|
width: 32px;
|
|
6491
6491
|
height: 32px;
|
|
6492
6492
|
font-size: 16px;
|
|
@@ -6542,7 +6542,7 @@
|
|
|
6542
6542
|
}
|
|
6543
6543
|
&[data-most-engaging='true'] {
|
|
6544
6544
|
border: none;
|
|
6545
|
-
${
|
|
6545
|
+
${h.MediaQueries.mbDown} {
|
|
6546
6546
|
margin: 1rem;
|
|
6547
6547
|
border: 1px solid #e4e8ec;
|
|
6548
6548
|
}
|
|
@@ -6590,7 +6590,7 @@
|
|
|
6590
6590
|
.popover-menu__btn {
|
|
6591
6591
|
width: 24px;
|
|
6592
6592
|
height: 24px;
|
|
6593
|
-
${
|
|
6593
|
+
${h.MediaQueries.mbDown} {
|
|
6594
6594
|
width: 18px;
|
|
6595
6595
|
height: 18px;
|
|
6596
6596
|
}
|
|
@@ -6602,7 +6602,7 @@
|
|
|
6602
6602
|
right: 1rem;
|
|
6603
6603
|
}
|
|
6604
6604
|
width: 350px;
|
|
6605
|
-
${
|
|
6605
|
+
${h.MediaQueries.mbDown} {
|
|
6606
6606
|
max-width: calc(320px - 2rem);
|
|
6607
6607
|
}
|
|
6608
6608
|
}
|
|
@@ -6624,17 +6624,17 @@
|
|
|
6624
6624
|
transform: translateX(-50%);
|
|
6625
6625
|
}
|
|
6626
6626
|
}
|
|
6627
|
-
${
|
|
6627
|
+
${h.MediaQueries.mbDown} {
|
|
6628
6628
|
margin-bottom: 12px;
|
|
6629
6629
|
}
|
|
6630
6630
|
}
|
|
6631
6631
|
`,as=Q.default.div`
|
|
6632
6632
|
.add-link {
|
|
6633
|
-
color: ${
|
|
6633
|
+
color: ${g.theme.colors.primaryBase};
|
|
6634
6634
|
}
|
|
6635
6635
|
`,is=Q.default.div`
|
|
6636
6636
|
margin: 16px 0;
|
|
6637
|
-
background: ${
|
|
6637
|
+
background: ${g.theme.colors.yellow50};
|
|
6638
6638
|
padding: 5px 10px;
|
|
6639
6639
|
border-radius: 2px;
|
|
6640
6640
|
|
|
@@ -6658,7 +6658,7 @@
|
|
|
6658
6658
|
display: flex;
|
|
6659
6659
|
flex-wrap: wrap;
|
|
6660
6660
|
row-gap: 16px;
|
|
6661
|
-
${
|
|
6661
|
+
${h.MediaQueries.tdUp} {
|
|
6662
6662
|
align-items: center;
|
|
6663
6663
|
column-gap: 24px;
|
|
6664
6664
|
}
|
|
@@ -6666,7 +6666,7 @@
|
|
|
6666
6666
|
display: flex;
|
|
6667
6667
|
align-items: center;
|
|
6668
6668
|
gap: 16px;
|
|
6669
|
-
${
|
|
6669
|
+
${h.MediaQueries.mbDown} {
|
|
6670
6670
|
width: 100%;
|
|
6671
6671
|
justify-content: space-between;
|
|
6672
6672
|
}
|
|
@@ -6684,18 +6684,18 @@
|
|
|
6684
6684
|
width: 100%;
|
|
6685
6685
|
height: 100%;
|
|
6686
6686
|
}
|
|
6687
|
-
`,ms=({categories:e})=>{const{t:a}=
|
|
6687
|
+
`,ms=({categories:e})=>{const{t:a}=i.useTranslations(),{data:{locale:n,env:{isMarryBaby:o}}}=t.useContext(d.TogetherComponentGlobalContext),r=_.getCurrentBaseUrl(n,o);return q.default.createElement(ls,null,q.default.createElement(ss,null,q.default.createElement(d.Heading,{tag:"h6",as:"h5"},a("cardReply.recommentCategories.heading"))),q.default.createElement(ds,null,e.map((e=>q.default.createElement(cs,{href:r+e.permalink,key:String(e.termId),target:"_blank"},q.default.createElement(us,null,q.default.createElement(ps,null,q.default.createElement("img",{src:e.featureImage||l.CommonGAssets.getAssetPath(o?"mb-logo.svg":"/logo/logomark.png"),alt:e.displayName,loading:"lazy"})),q.default.createElement(k.Text,{size:"s3",type:"bold"},e.displayName)),q.default.createElement(m.Icon.ArrowRight,{size:20,color:g.theme.colors.gray400}))))))},hs=Q.default.a`
|
|
6688
6688
|
padding: 12px 0;
|
|
6689
6689
|
display: flex;
|
|
6690
6690
|
flex-direction: column;
|
|
6691
6691
|
gap: 8px;
|
|
6692
|
-
border-top: 1px solid ${
|
|
6692
|
+
border-top: 1px solid ${g.theme.colors.neutral100};
|
|
6693
6693
|
text-decoration: none;
|
|
6694
6694
|
|
|
6695
6695
|
&:first-child {
|
|
6696
6696
|
border-top: 0;
|
|
6697
6697
|
}
|
|
6698
|
-
`,gs=Q.default.div``,fs=({postTitle:e,articleReviewed:t,modifiedTime:a,href:
|
|
6698
|
+
`,gs=Q.default.div``,fs=({postTitle:e,articleReviewed:t,modifiedTime:a,href:n})=>{const{t:o}=i.useTranslations(),r=(()=>{const{expert:e,editor:a,is_author:i}=t;if(e){const t={name:e.display_name,role:"expert",avatar:e.avatar};return i?Object.assign({title:o("articleAuthor.title.written-by")},t):"expert"===e.role?Object.assign({title:o("articleAuthor.title.expert")},t):Object.assign({title:o("articleAuthor.title.medical")},t)}if(a)return{title:o("articleAuthor.title.fact-check"),name:a.display_name,avatar:a.avatar}})();return q.default.createElement(hs,{href:n,title:e,target:"_blank"},q.default.createElement(k.Text,{size:"s3",as:"h5",type:"bold"},e),q.default.createElement(gs,null,q.default.createElement(Xo,{avatar:null==r?void 0:r.avatar,avatarProps:{size:32},name:null==r?void 0:r.name,role:null==r?void 0:r.role,hideBackground:!0},q.default.createElement(Xo.SubTextRow,null,q.default.createElement(Xo.SubText,null,null==r?void 0:r.title," ",q.default.createElement("span",{style:{color:g.theme.colors.gray800}},null==r?void 0:r.name)),q.default.createElement(Xo.SubDivider,null),q.default.createElement(Xo.SubText,null,a)))))};var bs="F4mmgSy",xs="A7QrQ7A";const vs=n=>{var{listUrl:o,categorySlug:r,editMode:s,onListChange:c,isMarryBaby:p}=n,h=e.__rest(n,["listUrl","categorySlug","editMode","onListChange","isMarryBaby"]);const{t:f}=i.useTranslations(),[b,x]=t.useState(o||[]),[v,y]=t.useState([]),[w,C]=t.useState([]),[E,T]=t.useState(!1);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){T(!0);const e=b.map((e=>{const t=new URL(e),a=String(t.pathname).split("/").filter((e=>""!=e));return{isMarrySite:-1!==t.origin.search("marrybaby.vn"),path:a[a.length-1],href:e}})),t=[...e.map((e=>d.callApi(e.isMarrySite?d.getMarryBabyApiPath(d.DISCOVER_PATHS.GET_PREVIEW_ARTICLE,{fullSlug:e.path},!0):d.getDiscoverApiPath(d.DISCOVER_PATHS.GET_PREVIEW_ARTICLE,{fullSlug:e.path},!0),"GET")))],a=yield Promise.all(t);y(a.map(((t,a)=>{var i,n;return(null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.post)&&Object.assign(Object.assign({},u.formatArticle(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.post)),{href:e[a].href})})).filter(Boolean)),T(!1)}))}),[]),t.useEffect((()=>{0===(null==v?void 0:v.length)&&r&&e.__awaiter(void 0,void 0,void 0,(function*(){var e;const t=yield d.callApi(p?d.getMarryBabyApiPath(d.DISCOVER_PATHS.GET_CATEGORY_OR_ARTICLE_DETAIL,{fullSlug:r},!0):d.getDiscoverApiPath(d.DISCOVER_PATHS.GET_CATEGORY_OR_ARTICLE_DETAIL,{fullSlug:r},!0),"GET");(null==t?void 0:t.data)&&C([u.formatCategory(null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.category)])}))}),[v]);return t.useEffect((()=>{null==c||c(b)}),[b]),q.default.createElement("div",Object.assign({},h),!s&&q.default.createElement(is,null,q.default.createElement("img",{className:"icon",src:l.CommonGAssets.getAssetPath("warning.svg"),alt:"warning",style:{marginBottom:"3px",width:"18px"},loading:"lazy"}),q.default.createElement(k.Text,{size:"s3",as:"span",dangerouslySetInnerHTML:{__html:f("cardReply.disclaimer")}})),E?q.default.createElement(_n,null):v.length>0||s?q.default.createElement(as,null,q.default.createElement(a.Accordion,{defaultValue:"accordion",styles:{control:{border:`1px solid ${g.theme.colors.neutral100}`,borderTopLeftRadius:"8px",borderTopRightRadius:"8px",'&[aria-expanded="false"]':{borderBottom:0}},chevron:{width:"32px",height:"32px"},content:{padding:0,border:`1px solid ${g.theme.colors.neutral100}`,borderTop:0,borderBottom:0},item:{marginBottom:"16px"}},chevron:q.default.createElement("div",{className:xs},q.default.createElement(d.ArrowDown,{color:g.theme.colors.gray600,size:20}))},q.default.createElement(a.Accordion.Item,{value:"accordion"},q.default.createElement(a.Accordion.Control,null,q.default.createElement("div",{className:bs},q.default.createElement(d.Heading,{as:"h4",tag:"h6"},f("cardReply.source")))),q.default.createElement(a.Accordion.Panel,null,q.default.createElement(os,null,(v||[]).map(((e,t)=>q.default.createElement(ns,{key:String(t)},"object"==typeof e?q.default.createElement(fs,Object.assign({},e)):q.default.createElement(rs,null,q.default.createElement(A.Input,{style:{width:"100%"},name:"source-list",value:e||"",size:"sm",onChange:e=>{x((a=>{const i=[...a];return i[t]=e,i})),y((a=>{const i=[...a];return i[t]=e,i}))}})),s&&q.default.createElement(S.Button,{size:"md",color:"transparent",icon:q.default.createElement(m.Icon.Trash,null),onClick:()=>(e=>{x((t=>{const a=[...t];return a.splice(e,1),a})),y((t=>{const a=[...t];return a.splice(e,1),a}))})(t)})))),s&&q.default.createElement(S.Button,{className:"add-link",color:"transparent",size:"md",icon:q.default.createElement(m.Icon.Plus,{color:g.theme.colors.primaryBase,size:18}),onClick:()=>{x((e=>[...e,""])),y((e=>[...e,""]))}},"Add source")))))):q.default.createElement(ms,{categories:w}))},ys=Q.default.div`
|
|
6699
6699
|
position: relative;
|
|
6700
6700
|
margin-bottom: 0;
|
|
6701
6701
|
background: white;
|
|
@@ -6713,7 +6713,7 @@
|
|
|
6713
6713
|
width: 40px;
|
|
6714
6714
|
height: 40px;
|
|
6715
6715
|
font-size: 20px;
|
|
6716
|
-
${
|
|
6716
|
+
${h.MediaQueries.mbDown} {
|
|
6717
6717
|
width: 32px;
|
|
6718
6718
|
height: 32px;
|
|
6719
6719
|
font-size: 16px;
|
|
@@ -6818,12 +6818,12 @@
|
|
|
6818
6818
|
}
|
|
6819
6819
|
|
|
6820
6820
|
margin-left: 56px;
|
|
6821
|
-
${
|
|
6821
|
+
${h.MediaQueries.mbDown} {
|
|
6822
6822
|
margin-left: 40px;
|
|
6823
6823
|
}
|
|
6824
6824
|
> .post-author {
|
|
6825
6825
|
margin-left: -56px;
|
|
6826
|
-
${
|
|
6826
|
+
${h.MediaQueries.mbDown} {
|
|
6827
6827
|
margin-left: -40px;
|
|
6828
6828
|
}
|
|
6829
6829
|
.author-info {
|
|
@@ -6841,7 +6841,7 @@
|
|
|
6841
6841
|
width: 40px;
|
|
6842
6842
|
height: 40px;
|
|
6843
6843
|
font-size: 20px;
|
|
6844
|
-
${
|
|
6844
|
+
${h.MediaQueries.mbDown} {
|
|
6845
6845
|
width: 24px;
|
|
6846
6846
|
height: 24px;
|
|
6847
6847
|
font-size: 12px;
|
|
@@ -6854,7 +6854,7 @@
|
|
|
6854
6854
|
width: 40px;
|
|
6855
6855
|
height: 40px;
|
|
6856
6856
|
font-size: 20px;
|
|
6857
|
-
${
|
|
6857
|
+
${h.MediaQueries.mbDown} {
|
|
6858
6858
|
width: 24px;
|
|
6859
6859
|
height: 24px;
|
|
6860
6860
|
font-size: 12px;
|
|
@@ -6882,16 +6882,16 @@
|
|
|
6882
6882
|
.post-content-wrapper {
|
|
6883
6883
|
padding-top: 0;
|
|
6884
6884
|
padding-bottom: 0;
|
|
6885
|
-
${
|
|
6885
|
+
${h.MediaQueries.mbDown} {
|
|
6886
6886
|
padding-left: 0.5rem;
|
|
6887
6887
|
}
|
|
6888
6888
|
}
|
|
6889
6889
|
|
|
6890
|
-
${
|
|
6890
|
+
${h.MediaQueries.mbDown} {
|
|
6891
6891
|
margin-bottom: 12px;
|
|
6892
6892
|
}
|
|
6893
6893
|
}
|
|
6894
6894
|
`,ws=Q.default(vs)`
|
|
6895
6895
|
margin-top: 12px;
|
|
6896
6896
|
padding: 0.5rem 1rem 1rem;
|
|
6897
|
-
`;var Cs;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(Cs||(Cs={}));const Es={DUE_DATE:Cs.DUE_DATE,BMI:Cs.BMI,BMR:Cs.BMR,OVULATION:Cs.OVULATION,IFRAME:Cs.IFRAME,PWG:Cs.PWG,THR:Cs.THR,BABY_VACCINE:Cs.BABY_VACCINE,BABY_GROWTH:Cs.BABY_GROWTH,BABY_POOP:Cs.BABY_POOP},ks={[Es.DUE_DATE]:o.CommonGAssets.getAssetPath("health-tools/due-date-icon.svg")};var Ss,As,Ts,Ns;!function(e){e.Pregnant="pregnant",e.Parenting="parenting"}(Ss||(Ss={})),function(e){e.Option="option"}(As||(As={})),function(e){e.Button="button",e.Checkbox="checkbox"}(Ts||(Ts={})),function(e){e.ShowTool="showTool",e.ShowPremiumModal="showPremiumModal",e.ShowOptionBanner="showOptionBanner",e.Hide="hide"}(Ns||(Ns={}));const Is=e=>({[Es.DUE_DATE]:{heading:e("pnBanner.dueDateTool.heading"),description:e("pnBanner.dueDateTool.desc"),btnLabel:e("pnBanner.caclNow"),value:Es.DUE_DATE,dataEventAction:"Try our Due Date Calculator Click"},[Es.BABY_VACCINE]:{heading:e("pnBanner.vaccination.heading"),description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:Es.BABY_VACCINE,dataEventAction:"Try our Baby Vaccine Scheduler Click"},[Es.BABY_GROWTH]:{heading:"Baby Growth",description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:Es.BABY_GROWTH},[c.RISK_SCREENER_NAME.HPV]:{heading:e("pnBanner.hpv.heading"),description:e("pnBanner.hpv.desc"),thumbnail:{desktop:o.CommonGAssets.getAssetPath("newsletter/banner-option-hpv-desktop.png"),mobile:o.CommonGAssets.getAssetPath("newsletter/banner-option-hpv-mobile.png")},isRiskScreener:!0,btnLabel:e("pnBanner.checkNow"),value:c.RISK_SCREENER_NAME.HPV,hideDescOnMobile:!0,dataEventAction:"Keep safe from HPV virus Click"}}),Bs=t.createContext({}),Ps="api/v1/categories?site={website_url}",Ds="api/v1/subscription?site={website_url}",Ms="api/v1/categories?site={website_url}";var zs=a.createStyles((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:a.rem(32),padding:`${a.rem(6)} ${a.rem(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const Os=({heading:e,description:n,thumbnail:o={desktop:"",mobile:""},hideDescOnMobile:r,children:l})=>{const{isMobile:s,minHeight:d}=t.useContext(Bs);return q.default.createElement(a.Box,{sx:()=>({borderRadius:a.rem(8),background:"linear-gradient(180deg, #FAFDFF 0%, #E3F2FF 100%)"})},q.default.createElement(a.Box,{sx:e=>({minHeight:a.rem(d),borderRadius:"inherit",background:`url(${s?o.mobile:o.desktop})`,backgroundPosition:"center right",backgroundRepeat:"no-repeat",backgroundSize:"contain",padding:`${a.rem(24)} ${a.rem(16)}`,display:"flex",flexDirection:"column",justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${a.rem(22)} ${a.rem(32)}`}})},q.default.createElement(a.Stack,{spacing:a.rem(16)},q.default.createElement(a.Stack,{spacing:a.rem(4),sx:e=>({maxWidth:"60%",[e.fn.largerThan("sm")]:{maxWidth:"70%"}})},e&&q.default.createElement(i.Heading,{tag:"h4"},e),!(r&&s)&&n&&q.default.createElement(i.Text,{size:"p4"},n)),q.default.createElement(a.Box,null,l))))},Ls=n=>{const{styleType:o=Ts.Button,items:l=[],buttonProps:s,styles:u,submitBtnTracking:p}=n,{classes:m}=zs(void 0,{name:"PremiumBannerWithOptions",styles:u}),{t:h,locale:g}=d.useTranslations(),{surveyType:f,articleId:b,handleClickOption:x,source:v,isMobile:y,setShowPNModal:w}=t.useContext(Bs),{getHealthToolLink:C}=j.useHealthToolsCache(g),E=R.useForm({initialValues:{bannerOptions:[]}}),k=t=>e.__awaiter(void 0,void 0,void 0,(function*(){return yield i.callApiWithAuth(i.getApiPath(i.PATHS.HEALTH_TOOL.CREATE,{_locale:g,type:nd[f]}),"POST",{headers:{"Content-Type":"application/json"},data:{value:t,article:b,source:v}})})),S=t.useCallback((()=>q.default.createElement(a.Flex,{gap:a.rem(8),className:m.wrapper},l.map(((e,t)=>q.default.createElement(a.Box,{key:String(t),component:e.isLink?"a":"div",href:e.isRiskScreener?`https://${c.domainLocales[g]}/bot/${c.RISK_SCREENER_SLUG[g][e.activeTool]}/`:e.isLink?C(e.activeTool):void 0},q.default.createElement(i.Button,Object.assign({className:m.button,classNames:{label:m.buttonLabel},size:"sm"},e.tracking,s,{onClick:()=>{e.isLink||(e.isPNBtn&&w(!0),k(e.value),x(e.value))}}),e.label)))))),[l,E]),A=t.useCallback((()=>q.default.createElement(a.Flex,null,q.default.createElement(a.Flex,{align:"center",gap:a.rem(24),sx:e=>({background:"white",borderRadius:a.rem(8),padding:a.rem(4),[e.fn.largerThan("sm")]:{paddingLeft:a.rem(16)}})},q.default.createElement(i.Checkbox.Group,Object.assign({},E.getInputProps("bannerOptions",{type:"checkbox"})),q.default.createElement(a.Flex,{gap:a.rem(16)},l.map(((e,t)=>q.default.createElement(i.Checkbox,{key:String(t),value:e.value,label:e.label,styles:{label:{cursor:"pointer"}}}))))),q.default.createElement(i.Button,Object.assign({size:"sm"},p,s,{disabled:0===E.getInputProps("bannerOptions").value.length,leftIcon:y?q.default.createElement(r.Icon.ArrowRightTail,{size:18,useCurrentColor:!0}):void 0,onClick:()=>{const e=E.getInputProps("bannerOptions").value;k(e.join("|")),x(e.join("|"))},styles:e=>({root:{[e.fn.smallerThan("sm")]:{width:a.rem(38),minWidth:"auto",padding:0}}})}),!y&&h("pnBanner.submit"))))),[l,E]);return q.default.createElement(Os,Object.assign({},n),o===Ts.Button?S():o===Ts.Checkbox?A():null)},_s=e=>{var n,o;const{t:r}=d.useTranslations(),{heading:l,description:s,thumbnail:u,btnLabel:p,value:m,isRiskScreener:h,hideDescOnMobile:f,dataEventAction:b}=e,{locale:x}=d.useTranslations(),{isMobile:v}=t.useContext(Bs),{getHealthToolLink:y,allTools:w}=j.useHealthToolsCache(x),C=h?"mainBanner":"toolBanner",E=t.useMemo((()=>{const e=h?`https://${g.isProduction?"":"discover."}${c.domainLocales[x]}/bot/${c.RISK_SCREENER_SLUG[x][m]}`:y(m);return q.default.createElement("a",{href:e},q.default.createElement(i.Button,{size:"sm","data-event-category":"Focused Audience","data-event-action":b,"data-event-label":e},p||r("pnBanner.caclNow")))}),[w]);return"mainBanner"===C?q.default.createElement(Os,Object.assign({},Object.assign(Object.assign({},e),{thumbnail:e.thumbnail})),E):q.default.createElement(a.Flex,{gap:a.rem(7),align:"center",justify:"space-between",sx:e=>({borderRadius:a.rem(8),background:e.colors.blue[0],minHeight:a.rem(180),padding:`${a.rem(24)} ${a.rem(16)}`,[e.fn.largerThan("sm")]:{padding:`${a.rem(34)} ${a.rem(32)}`}})},q.default.createElement(a.Stack,{spacing:a.rem(12)},q.default.createElement(a.Stack,{spacing:a.rem(4)},l&&q.default.createElement(i.Heading,{tag:"h4"},l),!(v&&f)&&s&&q.default.createElement(i.Text,{size:"p4"},s)),q.default.createElement(a.Flex,{gap:a.rem(8),sx:{button:{minWidth:a.rem(120)}}},E)),q.default.createElement(a.Flex,{align:"center",justify:"center",sx:e=>({width:a.rem(96),height:a.rem(96),borderRadius:"50%",background:"white",flexShrink:0,[e.fn.largerThan("sm")]:{width:a.rem(112),height:a.rem(112)},img:{maxWidth:a.rem(64),[e.fn.largerThan("sm")]:{maxWidth:a.rem(73)}}})},q.default.createElement("img",{alt:"health-tool-icon",src:u||(null===(o=null===(n=w.filter((e=>e.template===m)))||void 0===n?void 0:n[0])||void 0===o?void 0:o.icon)||ks[m]||"",loading:"lazy"})))},Rs=()=>{var e,a,i;const{t:n}=d.useTranslations(),{state:o,Outside:r}=t.useContext(Bs);return(null==o?void 0:o.action)===Ns.ShowTool?q.default.createElement(r,null,Is(n)[null===(e=null==o?void 0:o.props)||void 0===e?void 0:e.value]?q.default.createElement(_s,Object.assign({},Is(n)[null===(a=null==o?void 0:o.props)||void 0===a?void 0:a.value],{value:null===(i=null==o?void 0:o.props)||void 0===i?void 0:i.value})):null):(null==o?void 0:o.action)===Ns.ShowOptionBanner?q.default.createElement(r,null,q.default.createElement(Ls,Object.assign({},null==o?void 0:o.props))):null},js=n=>{var{isMobile:l,children:s,desktopBanner:d=o.CommonGAssets.getAssetPath("friso/onboarding-banner.jpg"),mobileBanner:c=o.CommonGAssets.getAssetPath("friso/onboarding-banner-mobile.jpg"),modalRatio:u={width:937,height:536},mobileBannerRatio:p={width:750,height:480},desktopBannerRatio:m={width:420,height:536},closeProps:h}=n,g=e.__rest(n,["isMobile","children","desktopBanner","mobileBanner","modalRatio","mobileBannerRatio","desktopBannerRatio","closeProps"]);const{width:b,height:x}=f.useViewportSize(),v=(x<=667?190:265)+b*p.height/p.width+74,[y,w]=t.useState(!1);return q.default.createElement(L.Modal,Object.assign({styles:e=>({content:{flex:"auto",background:"transparent",[e.fn.smallerThan("sm")]:{maxHeight:"100%",height:"100%",position:"relative",borderRadius:0},[e.fn.largerThan("sm")]:{maxWidth:a.rem(u.width),width:"100%",height:"100%",maxHeight:a.rem(u.height),boxShadow:"none"}},body:{padding:0,width:"100%",height:"100%",[e.fn.largerThan("sm")]:{display:"flex",alignItems:"center"}},inner:{padding:0,[e.fn.smallerThan("sm")]:{display:"flex",alignItems:"flex-end"}}})},g),l?q.default.createElement(a.Box,{sx:{position:"relative",height:"100%"},onTouchStart:()=>w(!0)},q.default.createElement(a.Box,{className:"mobile-template",sx:{position:"absolute",height:100*(y?1:v/x)+"%",left:0,bottom:0,right:0,transition:"height 0.4s ease"}},q.default.createElement(a.Box,{sx:{height:"100%",backgroundColor:"white",borderTopLeftRadius:y?0:a.rem(12),borderTopRightRadius:y?0:a.rem(12)}},q.default.createElement(a.Box,{sx:{height:"calc(100% - 74px)",background:`url(${c})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"top center",overflowY:"auto",borderRadius:"inherit"}},q.default.createElement(i.Button,Object.assign({unstyled:!0,leftIcon:q.default.createElement(r.Icon.Close,null),sx:{position:"absolute",right:0,top:"10px",zIndex:1}},h,{onClick:()=>null==g?void 0:g.onClose()})),q.default.createElement(a.AspectRatio,{ratio:(null==p?void 0:p.width)/(null==p?void 0:p.height),w:"100%"}),q.default.createElement(a.Box,{sx:{padding:`${a.rem(28)} ${a.rem(16)} ${a.rem(16)}`,background:"white"}},s))))):q.default.createElement(a.AspectRatio,{className:"desktop-template",ratio:u.width/u.height,w:"100%",sx:{position:"relative","& > div":{justifyContent:"flex-end"}}},q.default.createElement(a.Box,{sx:{width:"100%",height:"100%",justifyContent:"flex-end",alignItems:"stretch",borderRadius:a.rem(8),background:"white",boxShadow:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 2.25rem 1.75rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 1.0625rem 1.0625rem -0.4375rem"}},q.default.createElement("img",{alt:"",src:d,loading:"lazy",style:{borderTopLeftRadius:a.rem(8),borderBottomLeftRadius:a.rem(8),height:"100%",display:"block"}}),q.default.createElement(a.Box,{sx:{position:"relative",height:"100%",width:(u.width-m.width)/u.width*100+"%"}},q.default.createElement(i.Button,Object.assign({unstyled:!0,leftIcon:q.default.createElement(r.Icon.Close,null)},h,{onClick:()=>null==g?void 0:g.onClose(),sx:{position:"absolute",right:0,top:"10px"}})),q.default.createElement(a.Box,{className:"side-banner-modal-container",sx:{height:"100%",padding:`${a.rem(40)} ${a.rem(24)} 0`}},s)))))},$s="user/subscription",Fs=t.createContext({}),Us=n=>{var o,{value:r,name:l,isMobile:s}=n,d=e.__rest(n,["value","name","isMobile"]);const c=t.useRef(null),u=t.useMemo((()=>{var e;return Boolean(null===(e=c.current)||void 0===e?void 0:e.checked)}),[null===(o=c.current)||void 0===o?void 0:o.checked]);return t.useEffect((()=>{var e,t;if(u){const a=null===(e=c.current)||void 0===e?void 0:e.querySelector(".mantine-Chip-checkIcon"),i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.setAttribute("width","16"),i.setAttribute("height","16"),i.setAttribute("viewBox","0 0 16 16"),i.setAttribute("fill","none"),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("class","mantine-Chip-checkIcon");const n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("d","M13.32 3.99443C13.1468 3.99959 12.9825 4.07198 12.8617 4.19625L5.99973 11.0582L3.80442 8.86292C3.74299 8.79894 3.66941 8.74786 3.58799 8.71267C3.50657 8.67748 3.41895 8.65889 3.33025 8.65798C3.24156 8.65708 3.15358 8.67388 3.07146 8.70741C2.98934 8.74094 2.91474 8.79051 2.85202 8.85323C2.7893 8.91595 2.73973 8.99055 2.7062 9.07267C2.67267 9.15479 2.65587 9.24277 2.65677 9.33146C2.65768 9.42016 2.67627 9.50778 2.71146 9.5892C2.74665 9.67062 2.79773 9.7442 2.86171 9.80563L5.52838 12.4723C5.65341 12.5973 5.82295 12.6675 5.99973 12.6675C6.17651 12.6675 6.34606 12.5973 6.47108 12.4723L13.8044 5.13896C13.9008 5.04532 13.9666 4.92476 13.9932 4.79308C14.0198 4.6614 14.0061 4.52474 13.9537 4.40102C13.9013 4.2773 13.8128 4.17228 13.6998 4.09972C13.5867 4.02717 13.4543 3.99047 13.32 3.99443Z"),n.setAttribute("fill","#2D87F3"),i.appendChild(n),null===(t=null==a?void 0:a.parentNode)||void 0===t||t.replaceChild(i,a)}}),[u]),q.default.createElement(a.Chip,Object.assign({ref:c,value:r,radius:6},d,{styles:e=>({label:{display:"flex",border:"1px solid #DBDFE5 !important",borderRadius:6,padding:"8px 12px 8px 8px",height:"initial",gap:4,position:"relative","&[data-checked='true']":{borderColor:"#2D87F3 !important",backgroundColor:"#E3F2FF !important",color:"#2D87F3 !important",gap:0},"&:hover":{color:"initial",backgroundColor:"initial"},"&:not([data-checked])":{paddingLeft:36,[e.fn.smallerThan("sm")]:{paddingLeft:30},"&::before":{top:5,content:'"+"',position:"absolute",left:16,fontSize:18,color:"#262626",[e.fn.smallerThan("sm")]:{left:11}}}},input:{display:"none"}})}),q.default.createElement(i.Text,{size:s?"p3":"p4",color:"gray.7",span:!0},l))},Vs=({topicsGroup:e,onTopicChange:n,isBlock:o=!1,selectedTopics:r=[],inputProps:l,labelProps:s,maxSelect:c=5,hasScroll:u,readonly:p})=>{const{action:{pushNotifications:m}}=t.useContext(i.TogetherComponentGlobalContext),h=J.default(e.map((e=>e.topics||[]))),{t:g}=d.useTranslations(),[f,b]=t.useState([]);t.useEffect((()=>{b(r)}),[r.length]),t.useEffect((()=>{null==n||n(f)}),[f]);const x=e=>{e.length>5?m({type:"danger",title:g("pnTopicSection.maxSelectError.title",{maxSelect:c}),message:g("pnTopicSection.maxSelectError.desc")}):!p&&b((()=>h.filter((t=>e.some((e=>t.catId===e))))))};return q.default.createElement(a.Stack,{spacing:12},e.map(((e,t)=>q.default.createElement(a.Stack,{key:String(t),spacing:12},e.label&&q.default.createElement(i.Text,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},s),e.label),u?q.default.createElement(a.ScrollArea,{w:"100%",offsetScrollbars:!0,scrollbarSize:4,p:16,m:-16,styles:{viewport:{margin:-16,padding:16}}},q.default.createElement(a.Box,{w:800},q.default.createElement(a.Chip.Group,Object.assign({value:f.map((e=>e.catId)),multiple:!0},l,{onChange:x}),q.default.createElement(a.Flex,{gap:8,wrap:"wrap"},e.topics.map((t=>q.default.createElement(Us,Object.assign({key:t.catId,value:t.catId,name:t.localName,isBlock:o},e.tracking)))))))):q.default.createElement(a.Chip.Group,Object.assign({value:f.map((e=>e.catId)),multiple:!0},l,{onChange:x}),q.default.createElement(a.Flex,{gap:8,wrap:"wrap"},e.topics.map((t=>t.catId?q.default.createElement(Us,Object.assign({key:t.catId,value:t.catId,name:t.localName,isBlock:o},e.tracking)):q.default.isValidElement(t.component)?t.component:null))))))))},Hs=n=>{var{heading:o,children:r,stickyActions:l}=n,s=e.__rest(n,["heading","children","stickyActions"]);const{isMobile:d}=t.useContext(Fs),c=q.default.createElement(a.Stack,{spacing:a.rem(24),sx:{height:"100%"}},q.default.createElement(i.Heading,{tag:"h4",style:{textAlign:"center"}},o),q.default.createElement(a.Box,null,r));return q.default.createElement(a.Box,{sx:e=>({[e.fn.largerThan("sm")]:{position:"relative",height:"100%"}})},d?c:q.default.createElement(a.ScrollArea,Object.assign({className:"layout-body",h:l?"calc(100% - 90px)":"100%"},s),c),l&&q.default.createElement(a.Flex,{gap:a.rem(8),sx:e=>({position:"absolute",left:0,right:0,bottom:0,padding:a.rem(16),button:{flexGrow:1},justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${a.rem(24)} 0`}})},l))},qs=()=>{const{t:n,locale:o}=d.useTranslations(),{data:{userInfo:l},action:{pushNotifications:s}}=t.useContext(i.TogetherComponentGlobalContext),c=null==l?void 0:l.id,{currentUrl:u,isMobile:p,pnSuggestCategory:m=[],nextStep:h,formValues:g,setFormValues:f,onSubmit:b,submitLoading:x,selectCategory:v,setCategoryLibs:y,setSelectCategory:w,maxSelectCategory:C}=t.useContext(Fs),E=m.map((e=>e.catId)),k=R.useForm({validate:{name:R.isNotEmpty(n("healthToolPNModal.mainForm.requireName"))},initialValues:Object.assign(Object.assign({},g),{fitnessTopics:E})}),[S,A]=t.useState([]),[T,N]=t.useState([]);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e;try{const t=yield i.callApiWithAuth(i.getPremiumApiPath(Ms,{_locale:o}),"get"),a=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.subscription)||[]).filter((e=>!E.includes(e.catId)));A(m),N(a),y([...m,...a])}catch(e){console.log(e)}}))}),[]),t.useEffect((()=>{c&&k.setFieldValue("name",(null==l?void 0:l.name)||"")}),[c]);const I=()=>{""!==k.getInputProps("name").value?(f(k.getTransformedValues()),h()):k.validateField("name")},B=t.useMemo((()=>q.default.createElement(i.Button,{variant:"tertiary",dataEventCategory:"Newsletter",dataEventAction:"More Category Click",dataEventLabel:u,leftIcon:q.default.createElement(r.Icon.Plus,{size:16,color:"#262626",useCurrentColor:!0}),onClick:I,styles:e=>({root:{borderRadius:a.rem(6),padding:"2px 15px",height:a.rem(40)},label:{fontSize:a.rem(14),fontWeight:400,[e.fn.smallerThan("sm")]:{fontSize:a.rem(12),lineHeight:a.rem(16),height:a.rem(40)}},leftIcon:{marginRight:"5px"}})},q.default.createElement(i.Text,{size:p?"p3":"p4"},n("home.seeMore")))),[k]);return t.useEffect((()=>{k.setFieldValue("fitnessTopics",v.map((e=>e.catId)))}),[v]),q.default.createElement("form",{style:{height:"100%"},onSubmit:k.onSubmit((e=>{if(0===v.length)return s({type:"danger",title:n("newsletter.error.minTitle"),message:n("newsletter.error.minCotennt")}),!1;f(e),null==b||b(e.name)}))},q.default.createElement(Hs,{heading:n("healthToolPNModal.heading"),stickyActions:q.default.createElement(q.default.Fragment,null,q.default.createElement(i.Button,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Register Click",dataEventLabel:u,loading:x,sx:{maxWidth:a.rem(240)}},n("healthToolPNModal.register")))},q.default.createElement(a.Stack,{spacing:a.rem(16)},q.default.createElement(i.Input,Object.assign({label:n("newsletter.welcome.description")},k.getInputProps("name"))),q.default.createElement(Vs,{topicsGroup:[...0===m.length&&0===T.length?[{topics:[{component:B}]}]:[],...m.length>0?[{label:n("healthToolPNModal.mainForm.tailorTopicsHeading"),topics:[...m,...0===T.length?[{component:B}]:[]]}]:[],...T.length>0?[{label:n("healthToolPNModal.findMore.chooseFav"),topics:[...T,...T.length>0?[{component:B}]:[]]}]:[]],selectedTopics:[...S],labelProps:{size:p?"p3":"p4",color:"gray.6"},onTopicChange:w,maxSelect:C}))))},Gs=t.forwardRef((function(t,n){var{label:o}=t,r=e.__rest(t,["label"]);return q.default.createElement("div",Object.assign({ref:n},r),q.default.createElement(a.Group,{noWrap:!0},q.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),q.default.createElement(i.Text,{size:"p3"},o)))})),Ws=t.forwardRef((function(t,a){var{label:n}=t,o=e.__rest(t,["label"]);return q.default.createElement("div",Object.assign({ref:a},o),q.default.createElement(i.Text,{size:"p3"},n))})),Qs=({history:e,onDelete:t})=>q.default.createElement(a.Flex,{wrap:"wrap",gap:8},ee.default(e,"catId").map((e=>q.default.createElement(a.Badge,{key:e.catId,rightSection:q.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:()=>null==t?void 0:t(e)},q.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 9C1.5 4.8525 4.8525 1.5 9 1.5C13.1475 1.5 16.5 4.8525 16.5 9C16.5 13.1475 13.1475 16.5 9 16.5C4.8525 16.5 1.5 13.1475 1.5 9ZM11.1677 12.2248C11.4602 12.5173 11.9327 12.5173 12.2252 12.2248C12.5101 11.9323 12.5101 11.4523 12.2252 11.1673L10.0577 8.99979L12.2252 6.83229C12.5177 6.53979 12.5177 6.0673 12.2252 5.7748C11.9327 5.4823 11.4602 5.4823 11.1677 5.7748L9.00015 7.9423L6.83265 5.7748C6.54015 5.4823 6.06765 5.4823 5.77515 5.7748C5.63471 5.91492 5.55579 6.10516 5.55579 6.30354C5.55579 6.50193 5.63471 6.69217 5.77515 6.83229L7.94265 8.99979L5.77515 11.1673C5.63471 11.3074 5.55579 11.4977 5.55579 11.696C5.55579 11.8944 5.63471 12.0847 5.77515 12.2248C6.06765 12.5173 6.54015 12.5173 6.83265 12.2248L9.00015 10.0573L11.1677 12.2248Z",fill:"#8C8C8C"})),styles:{root:{height:32,background:"#ffffff",padding:"5px 12px",border:`1px solid ${i.themeColors.neutral[4]}`,borderRadius:32,textTransform:"unset"},rightSection:{height:18,cursor:"pointer"}}},q.default.createElement(i.Text,{size:"p4"},e.localName))))),Zs=({topics:e,onTopicChange:n,isBlock:o=!1,selectedTopics:r,labelProps:l,maxSelect:s=5})=>{const{action:{pushNotifications:c}}=t.useContext(i.TogetherComponentGlobalContext),[u,p]=t.useState([]),{t:m}=d.useTranslations();t.useEffect((()=>{p(r)}),[r.length]),t.useEffect((()=>{n(u)}),[u]);return e&&0!==e.length?q.default.createElement(a.Stack,{spacing:12,px:16,mx:-16},q.default.createElement(i.Text,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},l),m("pnTopicSection.recentView")),q.default.createElement(a.Chip.Group,{value:u.map((e=>e.catId)),onChange:t=>{o&&u.length<t.length?c({type:"danger",title:m("pnTopicSection.maxSelectError.title",{maxSelect:s}),message:m("pnTopicSection.maxSelectError.desc")}):p((()=>e.filter((e=>t.some((t=>e.catId===t))))))},multiple:!0},q.default.createElement(a.Flex,{gap:8,wrap:"wrap"},e.map(((e,t)=>q.default.createElement(Us,{key:t,value:e.catId,name:e.localName,isBlock:o})))))):null},Xs=t=>{var{topic:n,active:o,onClick:r}=t,l=e.__rest(t,["topic","active","onClick"]);return q.default.createElement(a.Box,Object.assign({sx:e=>({position:"relative",cursor:"pointer",padding:2,borderRadius:8,boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04)",minHeight:a.rem(130),[e.fn.largerThan("sm")]:{minHeight:a.rem(138)}}),onClick:()=>r(n,o)},l),o&&q.default.createElement(a.Box,{id:"test",sx:{position:"absolute",top:2,right:2,width:20,height:20,zIndex:1}},q.default.createElement("svg",{id:"test",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66699 9.99984C1.66699 5.39984 5.40033 1.6665 10.0003 1.6665C14.6003 1.6665 18.3337 5.39984 18.3337 9.99984C18.3337 14.5998 14.6003 18.3332 10.0003 18.3332C5.40033 18.3332 1.66699 14.5998 1.66699 9.99984ZM4.75066 10.5827L7.74232 13.5744C8.06732 13.8994 8.60066 13.8994 8.91732 13.5744L15.2423 7.2494C15.5673 6.9244 15.5673 6.3994 15.2423 6.0744C14.9173 5.7494 14.3923 5.7494 14.0673 6.0744L8.33399 11.8077L5.92566 9.40773C5.60066 9.08273 5.07566 9.08273 4.75066 9.40773C4.59461 9.56342 4.50692 9.7748 4.50692 9.99523C4.50692 10.2157 4.59461 10.427 4.75066 10.5827Z",fill:"#2D87F3"}),q.default.createElement("path",{d:"M7.74224 13.5772L4.75057 10.5856C4.59453 10.4299 4.50684 10.2185 4.50684 9.99808C4.50684 9.77765 4.59453 9.56627 4.75057 9.41058C5.07557 9.08558 5.60057 9.08558 5.92557 9.41058L8.33391 11.8106L14.0672 6.07725C14.3922 5.75225 14.9172 5.75225 15.2422 6.07725C15.5672 6.40225 15.5672 6.92725 15.2422 7.25225L8.91724 13.5772C8.60057 13.9022 8.06724 13.9022 7.74224 13.5772Z",fill:"white"}))),q.default.createElement(a.Box,{sx:{borderRadius:"8px"}},q.default.createElement(i.AspectRatio,{ratio:1.5,mb:10,sx:e=>({background:e.colors.neutral[0]})},q.default.createElement(a.Box,null,q.default.createElement("img",{src:n.guid||"",alt:"cat",loading:"lazy",style:{maxHeight:"63px"}})))),q.default.createElement(i.Text,{size:"p4",ta:"center",px:6,sx:{display:"-webkit-box","-webkit-line-clamp":"2","-webkit-box-orient":"vertical",overflow:"hidden"}},n.localName||""))},Ys=({topics:e,selectedTopics:n=[],onTopicChange:o,isBlock:r=!1,labelProps:l,pushNotifications:s,maxSelect:c=5})=>{const{t:u}=d.useTranslations(),[p,m]=t.useState([]),h=(e,t)=>{if(t)m((t=>t.filter((t=>t.catId!==e.catId))));else{if(r)return void s({type:"danger",title:u("pnTopicSection.maxSelectError.title",{maxSelect:c}),message:u("pnTopicSection.maxSelectError.desc")});m((t=>[...t,e]))}};t.useEffect((()=>{m(n)}),[n.length]),t.useEffect((()=>{o(p)}),[p]);const[g,f]=t.useState(!1),[b,x]=t.useState(0),[v,y]=t.useState(0),w=t.useRef(null),C=()=>{f(!1)};return q.default.createElement(a.Stack,{spacing:10},q.default.createElement(a.Flex,{justify:"space-between",align:"center",w:"100%"},q.default.createElement(i.Text,Object.assign({size:"s5",color:"gray.4",weight:"semiBold",span:!0},l),u("pnTopicSection.trending"))),q.default.createElement(a.Box,null,q.default.createElement(a.ScrollArea,{type:"always",w:"100%",offsetScrollbars:!0,scrollbarSize:4,px:4,viewportRef:w,viewportProps:{onMouseDown:e=>{e.preventDefault(),w.current&&(f(!0),x(e.pageX-w.current.offsetLeft),y(w.current.scrollLeft))},onMouseUp:C,onMouseLeave:C,onMouseMove:e=>{if(e.preventDefault(),!g||!w.current)return;const t=2*(e.pageX-w.current.offsetLeft-b);w.current.scrollLeft=v-t}},styles:{viewport:{paddingBottom:16}}},q.default.createElement(a.Box,{w:{base:112*e.length+8*(e.length-1)+10}},q.default.createElement(a.Flex,{gap:8},e.map(((e,t)=>q.default.createElement(Xs,{key:t,topic:e,onClick:h,active:p.some((t=>t.catId===e.catId)),w:{base:112}}))))))))},Ks=n=>{var{isLoggedIn:o,maxSelect:r=5,values:l=[],labelProps:s,onChange:c}=n,u=e.__rest(n,["isLoggedIn","maxSelect","values","labelProps","onChange"]);const{action:{pushNotifications:p}}=t.useContext(i.TogetherComponentGlobalContext),[m,h]=t.useState(""),{t:g,locale:f}=d.useTranslations(),b=t.useRef(null),[x,v]=t.useState([]),[y,w]=t.useState([]),[C,E]=t.useState([]),[k,S]=t.useState([]),[A,T]=t.useState(null),[N,I]=t.useState([]);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t;const a=yield i.callApiWithAuth(i.getPremiumApiPath(Ps,{_locale:f}),"get"),n=(null===(e=null==a?void 0:a.data)||void 0===e?void 0:e.interested)||[],o=(null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.trending)||[],r=ee.default([...n,...o],"catId").map((e=>Object.assign(Object.assign({},e),{value:e.catId||"",label:e.localName||""})));if(I(r||[]),T((null==a?void 0:a.data)||null),l.length>0){const e=n.filter((e=>l.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"interested"}))),t=o.filter((e=>l.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"trending"})));S(e),w(t)}}))}),[o]);const B=t.useMemo((()=>ee.default([...x,...y,...k,...C],"catId")),[x,y,k,C]),[P,D]=t.useState(!1);t.useEffect((()=>{B.length>=r?D(!0):D(!1),null==c||c(B)}),[B]);return q.default.createElement(a.Stack,Object.assign({spacing:a.rem(16)},u),q.default.createElement(a.Stack,{spacing:a.rem(8)},q.default.createElement(i.Text,{size:"p3"},g("pnTopicSection.maxSelectError.detail",{max:r,maxTopic:B.length})),q.default.createElement(a.MultiSelect,{ref:b,maxSelectedValues:3,styles:{wrapper:{overflow:"initial !important"},separator:{padding:16},separatorLabel:{fontWeight:600,fontSize:12,lineHeight:"18px",textTransform:"uppercase",color:i.themeColors.gray[4],"&::after":{display:"none"}},searchInput:{fontSize:"inherit"},input:{paddingRight:16}},nothingFound:q.default.createElement(i.Text,{size:"s4",color:"gray.6"},g("pnTopicSection.notFound")),itemComponent:""===m?Gs:Ws,size:"lg",placeholder:g("pnTopicSection.plsEnterFavTopics"),data:N,onSearchChange:h,searchValue:m,icon:q.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9682 19.7465 14.8936 19.0205 16.4115 17.8063L20.3168 21.7116C20.7018 22.0966 21.3261 22.0966 21.7111 21.7116C22.0961 21.3266 22.0961 20.7023 21.7111 20.3173L17.8059 16.4121C19.0203 14.894 19.7465 12.9684 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#595959"})),rightSection:q.default.createElement(q.default.Fragment,null),zIndex:500,searchable:!0,withinPortal:!0,onChange:t=>{return a=t,e.__awaiter(void 0,void 0,void 0,(function*(){var e;const t={trending:w,recently:E,interested:S,default:v};let i="default";if(P)p({type:"danger",title:g("pnTopicSection.maxSelectError.title",{maxSelect:r}),message:g("pnTopicSection.maxSelectError.desc")});else{const n=[{key:"trending",array:null==A?void 0:A.trending},{key:"recently",array:null==A?void 0:A.recently},{key:"interested",array:null==A?void 0:A.interested}].find((e=>{var t;return null===(t=e.array)||void 0===t?void 0:t.some((e=>e.catId===a[0]))}));i=(null==n?void 0:n.key)||"default",t[i]((e=>[...e,...N.filter((e=>a.some((t=>e.catId===t))))].map((e=>Object.assign(Object.assign({},e),{template:i}))))),null===(e=b.current)||void 0===e||e.blur()}return null}));var a},value:[]}),B&&B.length>0&&q.default.createElement(Qs,{history:B,onDelete:e=>{const t={trending:w,recently:E,interested:S,default:v};(t[e.template]||t.default)((t=>{const a=[...t],i=a.findIndex((t=>t.catId===e.catId));return a.splice(i,1),a}))}})),q.default.createElement(a.Box,{sx:e=>({position:"relative",height:a.rem(175),[e.fn.largerThan("sm")]:{height:a.rem(190)}})},q.default.createElement(a.Box,{sx:{position:"absolute",top:0,right:0,left:0}},q.default.createElement(Ys,{topics:((null==A?void 0:A.trending)||[]).map((e=>Object.assign(Object.assign({},e),{template:"trending"}))),selectedTopics:y,onTopicChange:w,isBlock:P,labelProps:s}))),q.default.createElement(Zs,{topics:((null==A?void 0:A.recently)||[]).map((e=>Object.assign(Object.assign({},e),{template:"recently"}))),selectedTopics:C,onTopicChange:E,isBlock:P,labelProps:s}),q.default.createElement(Vs,{labelProps:s,topicsGroup:[{label:g("pnTopicSection.ppAlsoInterested"),topics:((null==A?void 0:A.interested)||[]).map((e=>Object.assign(Object.assign({},e),{template:"interested"})))}],selectedTopics:k,onTopicChange:S,isBlock:P}))},Js=()=>{const{t:e}=d.useTranslations(),{action:{pushNotifications:n}}=t.useContext(i.TogetherComponentGlobalContext),{prevStep:o,formValues:r,submitLoading:l,onSubmit:s,selectCategory:c,maxSelectCategory:u,setSelectCategory:p,currentUrl:m,isLoggedIn:h}=t.useContext(Fs);return q.default.createElement(Hs,{heading:e("newsletter.topic.title"),type:"always",styles:{root:{paddingRight:a.rem(25)}},stickyActions:q.default.createElement(q.default.Fragment,null,q.default.createElement(i.Button,{fullWidth:!0,variant:"secondary",dataEventCategory:"Newsletter",dataEventAction:"Back Click",dataEventLabel:m,onClick:o},e("healthToolPNModal.back")),q.default.createElement(i.Button,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Next Click",dataEventLabel:m,onClick:()=>{if(0===c.length)return n({type:"danger",title:e("newsletter.error.minTitle"),message:e("newsletter.error.minCotennt")}),!1;null==s||s(r.name)},loading:l},e("healthToolPNModal.next")))},q.default.createElement(Ks,{isLoggedIn:h,maxSelect:u,values:r.fitnessTopics,onChange:p,labelProps:{size:"s5",sx:{textTransform:"uppercase"}}}))},ed=()=>{const{t:e}=d.useTranslations(),{close:n,selectCategory:o,onRegisterSuccess:r,currentUrl:l,finishLabelOnResult:s,disclaimerText:c}=t.useContext(Fs);return t.useEffect((()=>()=>{setTimeout((()=>{null==r||r()}),400)}),[]),q.default.createElement(Hs,{heading:e("healthToolPNModal.heading"),stickyActions:q.default.createElement(i.Button,{fullWidth:!0,sx:{maxWidth:a.rem(300)},dataEventCategory:"Newsletter",dataEventAction:"Continue Reading Click",dataEventLabel:l,onClick:()=>{n()}},s||e("healthToolPNModal.finish"))},q.default.createElement(a.Stack,null,q.default.createElement(a.Flex,{gap:a.rem(8),sx:e=>({background:e.colors.green[0],border:`1px solid ${e.colors.green[1]}`,borderRadius:a.rem(8),padding:a.rem(8)})},q.default.createElement(a.Box,null,q.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{d:"M9.99984 18.3334C14.6022 18.3334 18.3332 14.6025 18.3332 10.0001C18.3332 5.39771 14.6022 1.66675 9.99984 1.66675C5.39746 1.66675 1.6665 5.39771 1.6665 10.0001C1.6665 14.6025 5.39746 18.3334 9.99984 18.3334Z",fill:"#00B16A"}),q.default.createElement("path",{d:"M9.58558 12.6674C9.22944 12.668 8.87668 12.5983 8.54752 12.4623C8.21835 12.3264 7.91925 12.1268 7.66732 11.8751L6.68587 10.8931C6.55607 10.7587 6.48424 10.5787 6.48587 10.3919C6.48749 10.2051 6.56243 10.0263 6.69455 9.89422C6.82667 9.7621 7.00539 9.68716 7.19222 9.68554C7.37906 9.68391 7.55906 9.75574 7.69345 9.88554L8.67491 10.8675C8.79344 10.986 8.93415 11.08 9.08902 11.1442C9.24389 11.2083 9.40987 11.2413 9.5775 11.2413C9.74513 11.2413 9.91111 11.2083 10.066 11.1442C10.2208 11.08 10.3616 10.986 10.4801 10.8675L16.7033 5.24335C16.8443 5.12184 17.0272 5.06032 17.213 5.07195C17.3987 5.08358 17.5726 5.16744 17.6973 5.30558C17.8221 5.44373 17.8878 5.6252 17.8805 5.81118C17.8731 5.99717 17.7933 6.17291 17.6581 6.30081L11.4592 11.8998C11.2128 12.1448 10.9205 12.3387 10.5989 12.4705C10.2774 12.6022 9.93304 12.6692 9.58558 12.6674Z",fill:"white"}))),q.default.createElement(i.Text,{size:"p3"},c||e("pnModal.disclaimer"))),q.default.createElement(i.Heading,{tag:"h5"},e("healthToolPNModal.yourPre")),o.length>0&&q.default.createElement(Vs,{topicsGroup:[{label:"",topics:o}],selectedTopics:o,readonly:!0})))},td=({isMobile:n,isLoggedIn:r,pnSuggestCategory:l=[],acquisitionInfo:s,currentUrl:p,opened:m,close:h,finishLabelOnResult:g,onRegisterSuccess:f,disclaimerText:b})=>{const{t:x,locale:v}=d.useTranslations(),{action:{pushNotifications:y}}=t.useContext(i.TogetherComponentGlobalContext),w=o.CommonGAssets.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),C=o.CommonGAssets.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),[E,k]=t.useState([]),[S,A]=t.useState([]),[T,N]=t.useState(0),[I,B]=t.useState({name:"",fitnessTopics:[]}),[P,D]=t.useState(!1),M=()=>N(2),z=t.useCallback((t=>e.__awaiter(void 0,void 0,void 0,(function*(){try{D(!0),yield i.callApiWithAuth(i.getPremiumApiPath(Ds,{website_url:i.getWebsiteUrlApi(v)}),"post",{headers:{"Content-Type":"application/json"},method:"POST",data:{ga_client_id:K.default.get(c.GA_TOKEN_COOKIE),client_ip:window.clientIP||"",user_info:Object.assign(Object.assign({},s.userInfo),{name:t||I.name,type_subscription:1}),domain:c.domainLocales[v||u.LOCALE.Vietnam],category:S,perferred:s.preferredTopics.map((({id:e})=>({id:e})))}}),D(!1),yield i.callApiWithAuth(i.getSsoApiPath($s),"post",{headers:{"Content-Type":"application/json"},method:"PUT",data:{subscription:1}}),M()}catch(e){console.log({err:e}),D(!1),y({title:x("notification.comment.somethingWrong"),message:"",type:"danger"})}}))),[I,S]);return t.useEffect((()=>{[w,C].forEach((e=>{(new Image).src=e}))}),[]),q.default.createElement(Fs.Provider,{value:{currentUrl:p,isMobile:n,isLoggedIn:r,opened:m,close:h,pnSuggestCategory:l,nextStep:()=>N((e=>e<3?e+1:e)),prevStep:()=>N((e=>e>0?e-1:e)),lastStep:M,categoryLibs:E,setCategoryLibs:k,selectCategory:S,setSelectCategory:A,formValues:I,setFormValues:B,maxSelectCategory:5,submitLoading:P,onSubmit:z,onRegisterSuccess:f,finishLabelOnResult:g,disclaimerText:b}},q.default.createElement(js,{isMobile:n,desktopBanner:o.CommonGAssets.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),mobileBanner:o.CommonGAssets.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),modalRatio:{width:960,height:588},desktopBannerRatio:{width:384,height:588},opened:m,onClose:h,zIndex:305,closeProps:{dataEventCategory:"Newsletter",dataEventAction:"Close Click",dataEventLabel:p}},q.default.createElement(a.Stepper,{active:T,onStepClick:N,styles:{root:{height:"100%"},content:{padding:0,height:"100%",width:"100%"},steps:{display:"none"}}},q.default.createElement(a.Stepper.Step,null,q.default.createElement(qs,null)),q.default.createElement(a.Stepper.Step,null,q.default.createElement(Js,null)),q.default.createElement(a.Stepper.Step,null,q.default.createElement(ed,null)))))},ad=()=>{const{locale:a}=d.useTranslations(),{isMobile:n,isLoggedIn:o,currentUrl:r,acquisitionInfo:l,categoryIds:s,state:c,setState:u,settings:p,submitHandler:m,subcribeHealthStatus:h,showPNModal:g,setShowPNModal:f,setIsBack:b}=t.useContext(Bs),[x,v]=t.useState([]),[y,w]=t.useState(g);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t;const n=yield i.callApiWithAuth(i.getPremiumApiPath(Ps,{_locale:a}),"get"),o=[...(null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.interested)||[],...(null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.trending)||[]];v(o.filter((e=>s.includes(Number(e.catId)))))}))}),[]);const C=t.useRef([]);return t.useEffect((()=>{const e=(null==h?void 0:h.value)||"",t=e.split("|").filter(Boolean);let a=e;C.current.push(h),t.length>1&&(null!==C.current[0]&&b(!0),Object.keys(m).map((e=>{const i=e.split("|");if(t.length===i.length){let n=0;t.map((e=>{i.includes(String(e))&&(n+=1)})),n===t.length&&(a=e)}})));const i=t.length>0?m[a]:p;u(i)}),[h]),t.useEffect((()=>{w(g)}),[g]),(null==c?void 0:c.action)!==Ns.Hide?q.default.createElement(q.default.Fragment,null,q.default.createElement(Rs,Object.assign({},p.props)),q.default.createElement(td,{acquisitionInfo:l,isMobile:n,isLoggedIn:o,currentUrl:r,pnSuggestCategory:x,opened:y,close:()=>{var e;w(!1),f(!1),setTimeout((()=>{var e;(null===(e=c.actionParams)||void 0===e?void 0:e.hideBannerWhenClose)&&u({action:Ns.Hide})}),400),(null===(e=c.actionParams)||void 0===e?void 0:e.hideBannerWhenClose)&&u({action:Ns.Hide})},onRegisterSuccess:()=>w(!1)})):null},id={pregnancy:Ss.Pregnant,parenting:Ss.Parenting},nd={[Ss.Pregnant]:"pregnant",[Ss.Parenting]:"parent"};exports.API_DATE_FORMAT=gi,exports.AdBlock=Pn,exports.AffiliateIcon=re,exports.AuthorBadge=ie,exports.Body=({children:e,className:t,style:a,isHoverable:i,isStriped:n})=>q.default.createElement(tt,{className:t,style:a,"data-is-striped":n||void 0,"data-is-hoverable":i||void 0},e),exports.BookingBtn=oe,exports.BookmarkedIcon=le,exports.CardAuthor=Xo,exports.CardReactions=Yn,exports.Cell=({children:e,className:t,style:a,textAlign:i,isTableHead:n})=>q.default.createElement(Ye,{className:t,style:a,"data-text-align":i||"left",as:n?"th":"td"},e),exports.Close=ne,exports.DatePicker=ge,exports.DateToInputValue=fi,exports.DoctorInfo=Ue,exports.Dropdown=Ce,exports.FormControl=Pi,exports.FormControl$1=Ki,exports.FormControl$2=an,exports.Head=({isSticky:e,children:t,className:a,style:i})=>q.default.createElement(et,{className:a,"data-is-sticky":e||void 0,style:i},q.default.createElement(Je,null,t)),exports.LabelSortPin=eo,exports.LabelSorting=({onChange:e,className:a,style:n,leftLabel:o,rightLabel:r,color:l,value:s,choices:d})=>{const{data:{env:{isMarryBaby:c}}}=t.useContext(i.TogetherComponentGlobalContext);return q.default.createElement(eo,{label:o,rightLabel:q.default.createElement(no,{position:"bottom",align:"end",data:{isShowheader:!1,type:"list",list:d.map((t=>({label:t.label,onClick:()=>e&&e(String(t.value)),selected:t.value===s,className:"bold-item"})))},toggleButtonContent:q.default.createElement("div",{style:{display:"flex"}},q.default.createElement(S.Text,{style:{display:"flex",alignItems:"center",fontWeight:"normal",marginRight:12},size:"p4"},r),q.default.createElement("img",{src:c?"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M8 14L12 18L16 14' stroke='%233E3F58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3cpath d='M16 10L12 6L8 10' stroke='%233E3F58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3c/svg%3e":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.49992 7H11.4998C11.6352 7 11.7525 6.94506 11.8514 6.83509C11.9502 6.72515 11.9999 6.59496 11.9999 6.44449C11.9999 6.29402 11.9503 6.16389 11.8514 6.0538L8.35141 2.16491C8.25252 2.05509 8.13538 2 7.99988 2C7.86437 2 7.74723 2.05509 7.64826 2.16491L4.1483 6.0538C4.04932 6.16377 3.99988 6.29402 3.99988 6.44449C3.99988 6.59493 4.04932 6.72515 4.1483 6.83509C4.24738 6.94506 4.36452 7 4.49992 7Z' fill='%238C8C8C'/%3e%3cpath d='M11.4998 9H4.49992C4.36441 9 4.24727 9.05497 4.1483 9.16482C4.04932 9.2748 3.99988 9.40496 3.99988 9.55543C3.99988 9.7059 4.04932 9.83616 4.1483 9.94607L7.64826 13.835C7.74734 13.9449 7.86448 14 7.99988 14C8.13527 14 8.25252 13.9449 8.35141 13.835L11.8514 9.94604C11.9502 9.83616 11.9999 9.7059 11.9999 9.5554C11.9999 9.40496 11.9503 9.2748 11.8514 9.16479C11.7525 9.05485 11.6352 9 11.4998 9Z' fill='%238C8C8C'/%3e%3c/svg%3e",style:{width:16,height:16,alignSelf:"center"},loading:"lazy"}))}),color:"gray",className:a,style:n})},exports.Loading=_n,exports.MAPPING_CATEGORY_PREMIUM_API_TYPE=nd,exports.MAPPING_CATEGORY_PREMIUM_TYPE=id,exports.MainInputTriggerContext=Rr,exports.MenuLink=({icon:e,isActive:t,children:a,isCollapsed:i,activeIcon:n,onLinkClick:o,textSize:r="base",textType:l="bold",textColorActive:s="#fff",textColor:d="#595959"})=>q.default.createElement(He,{"data-is-link-active":t||void 0,onClick:o,"data-is-link-collapsed":i||void 0},t&&n?n:e,!i&&q.default.createElement(S.Text,{size:r,type:l,color:t?s:d},a)),exports.MobileBottomNavigation=Pt,exports.MobileBottomNavigationIcon=Bt,exports.OvulationCalculator=({locale:e,onSubmitOvulation:a,isSide:n,siteType:o})=>{const{t:r}=d.useTranslations(),[l,s]=t.useState(rn.trackPeriod),c=[{label:r("ovulationPage.trackPeriod"),value:rn.trackPeriod},{label:r("ovulationPage.conceive"),value:rn.conceive},{label:r("ovulationPage.avoidPregnancy"),value:rn.avoidPregnancy}];return q.default.createElement(yi,null,q.default.createElement(ci,{className:"input-form input-section","data-is-side":!0},"marryBaby"===o?q.default.createElement(si,{groupedWithLabel:r("dueDatePage.calculationMethod"),options:c,placeholder:r("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:c[l],onChange:e=>{s(e.value)}}):q.default.createElement(q.default.Fragment,null,q.default.createElement(i.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},r("ovulationPage.objectives")),q.default.createElement(ui,{"data-is-side":n},q.default.createElement(Ce,{options:c,placeholder:r("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:c[l],onChange:e=>{s(e.value)}})))),q.default.createElement(on,{siteType:o,locale:e,onSubmit:({startDate:e,cycle:t,periodLength:i})=>{a&&a({method:l,periodDateStart:e,cycle:t,periodLength:i})},isSide:n}))},exports.PopoverMenu=io,exports.PopupDoctor=Bo,exports.PopupExpert=Ro,exports.PopupFrame=Lr,exports.PopupHospital=Vo,exports.PostContent=Gr,exports.ProfileDetail=Jl,exports.ProfileDetailModal=Qo,exports.Radio=te,exports.RadioGroup=_e,exports.RichTextEditor=({html:a,onChange:n,className:o,style:r,onImagePickerClick:l,bannedWords:s=[],onInvalidUrlsChange:d,onPreviewUrlChange:c,setEditorRef:u,isReplying:p})=>{var m,h,g,f;const b=t.useRef([]);b.current=s;const[y,w]=t.useState([]),[C,E]=t.useState(null),{data:{locale:k}}=t.useContext(i.TogetherComponentGlobalContext),A=(null==s?void 0:s.join(","))||"";t.useEffect((()=>{var e,t;const a=null===(t=null===(e=z.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root.innerHTML;I(a)}),[A]);const T=e=>{C&&C.url===e||(E({url:e,isFetching:!0}),i.callApi(i.getApiPath(i.PATHS.FETCH_PREVIEW,{_locale:k}),"POST",{data:{link:e}}).then((t=>{var a,i,n,o;E({title:null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.title,description:null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.description,image:(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.image)||(null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.logo),url:e})})).catch((()=>{E(null)})))},N=t.useRef(T);N.current=T;const I=t.useCallback(Z.default((e=>{if(e){const t=Sr(e,{bannedWords:b.current,formatUrl:!0}),{invalidUrls:a,previewUrl:i,value:o}=t;a&&w(a),i?N.current(i):E(null),o!==e&&(null==n||n(o))}}),500),[]);t.useEffect((()=>{d&&d(y)}),[y]),t.useEffect((()=>{c&&((null==C?void 0:C.url)?c({title:C.title||"",url:C.url||"",image:C.image||"",description:C.description||""}):c(null))}),[C]);const B=t.useRef(l);B.current=l;const P=_.useUniqueId(),D=t.useRef({toolbar:{handlers:{image:()=>{var e;return null===(e=B.current)||void 0===e?void 0:e.call(B)},link:()=>!1},container:"#toolbar-"+P},preserveWhiteSpace:!0}),M=t.useRef(-1),z=t.useRef(null);u&&(null===(h=null===(m=z.current)||void 0===m?void 0:m.getEditor())||void 0===h?void 0:h.root)&&u(null===(f=null===(g=z.current)||void 0===g?void 0:g.getEditor())||void 0===f?void 0:f.root);const O=()=>{var e,t,a,i,n,o,r,l;if(null===(t=null===(e=z.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root){const e=Er(null===(i=null===(a=z.current)||void 0===a?void 0:a.getEditor())||void 0===i?void 0:i.root),t=null===(o=null===(n=z.current)||void 0===n?void 0:n.getEditor())||void 0===o?void 0:o.root.innerHTML;if(e>=0&&e<t.length){if(hr(t,!0).length<30-(p?1:0)){const e=function(e){var t,a;let i=null;if(void 0!==window.getSelection){const n=window.getSelection();if((null==n?void 0:n.rangeCount)&&(null==n?void 0:n.rangeCount)>0){const n=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(n){const t=n.cloneRange();t.selectNodeContents(e),t.setEnd(n.endContainer,n.endOffset);const o=(t.endContainer.nodeValue||"").substring(0,n.endOffset),r=o.lastIndexOf("@");if(r+1<o.length&&(0===r||" @"===o.slice(r-1,r+1))){const e=null===(a=o.slice(r+1))||void 0===a?void 0:a.trim();if(e){t.setStart(n.endContainer,r);const a=t.cloneRange();a.setStart(a.endContainer,r),i={name:e,rect:t.getBoundingClientRect(),replaceRange:a}}}}}}return i}(null===(l=null===(r=z.current)||void 0===r?void 0:r.getEditor())||void 0===l?void 0:l.root);e?(F(e.name,e.rect),H.current=e.replaceRange):(H.current=null,F("",null))}else H.current=null,F("",null);M.current=e}}else R([])},[L,R]=t.useState([]),[j,$]=t.useState({top:0,left:0}),F=t.useCallback(Z.default(((t,a,n)=>e.__awaiter(void 0,void 0,void 0,(function*(){var e,o,r,l;if(!t||!DOMRect)return R([]);const s=yield((null===(e=x.getCookie(i.BEARER_TOKEN_COOKIE))||void 0===e?void 0:e.length)||0)>0?i.callApiWithAuth(i.getApiPath(i.PATHS.SEARCH_USER,{_locale:k,name:t}),"get"):i.callApiWithAdminAuth(i.getApiPath(i.ADMIN_PATHS.SEARCH_USER,{_locale:k,name:t}),"get");Q(0),R(null===(r=null===(o=null==s?void 0:s.data)||void 0===o?void 0:o.users)||void 0===r?void 0:r.filter((e=>!(null==n?void 0:n.includes(String(e.id))))));const d=a,c=null===(l=V.current)||void 0===l?void 0:l.getBoundingClientRect();if(d&&c){const e=343,t=256,a={top:d.bottom-c.top,width:"min(343px, 100%)",maxHeight:t};c.width-(d.left-c.left)<e?a.right=0:a.left=d.left-c.left,$(a)}}))),500),[]),U=(e,t)=>{var a,i,n;if(H.current){H.current.deleteContents();const o=document.createElement("mention");o.setAttribute("data-id",e),o.setAttribute("data-name",t),o.innerText=t;const r=document.createTextNode(" ");H.current.insertNode(r),H.current.insertNode(o);(null===(i=null===(a=z.current)||void 0===a?void 0:a.getEditor())||void 0===i?void 0:i.root).focus();const l=null===(n=window.getSelection())||void 0===n?void 0:n.getRangeAt(0);null==l||l.setStart(H.current.endContainer,H.current.endOffset),null==l||l.setEnd(H.current.endContainer,H.current.endOffset)}R([])},V=t.useRef(null),H=t.useRef(null),G=t.useRef(null),[W,Q]=t.useState(0);return t.useEffect((()=>{if(G.current){const e=G.current,t=e.children.item(W);if(t){const a=e.getBoundingClientRect(),i=t.getBoundingClientRect();t.offsetTop<e.scrollTop?e.scrollTop=t.offsetTop:t.offsetTop+i.height>e.scrollTop+a.height&&(e.scrollTop=t.offsetTop-a.height+i.height)}}}),[W]),t.useEffect((()=>{const e=function(e){var t;(null===(t=V.current)||void 0===t?void 0:t.contains(e.target))||R([])};return window.addEventListener("click",e,{passive:!0}),()=>{window.removeEventListener("click",e)}}),[]),q.default.createElement(wr,{ref:V,className:o,style:r,onKeyDownCapture:e=>{if(null==L?void 0:L.length){let t=!1;if("ArrowDown"===e.key)t=!0,Q((e=>e+1>=L.length?0:e+1));else if("Escape"===e.key)t=!0,Q(0),R([]);else if("ArrowUp"===e.key)t=!0,Q((e=>e-1<0?L.length-1:e-1));else if("Enter"===e.key||"Tab"===e.key){const e=L[W];e&&(t=!0,U(e.id,e.name))}if(t)return e.preventDefault(),!1}}},q.default.createElement(Ar,{id:P,onAddLink:(e,t)=>{var a,i;const o=M.current+1,r=null===(i=null===(a=z.current)||void 0===a?void 0:a.getEditor())||void 0===i?void 0:i.root.innerHTML,l=((null==r?void 0:r.substring(0,o))||"")+`<mocka data-href="${t}" data-url="true">${e}</mocka> `+((null==r?void 0:r.substring(o))||"");null==n||n(l),I(l)}}),Cr&&q.default.createElement(Cr,{ref:z,theme:"snow",value:a,onChange:e=>{null==n||n(e),I(e),O()},onChangeSelection:()=>{O()},modules:D.current,formats:["mocka1","mention","id","key","bold","italic","underline","list","bullet"]}),!!(null==L?void 0:L.length)&&q.default.createElement("div",{ref:G,className:"mention-search-container",style:j},L.map(((e,t)=>q.default.createElement("div",{className:"mention-search-item "+(W===t?"item-selected":""),key:e.id,onClick:t=>{t.preventDefault(),t.stopPropagation(),U(e.id,e.name)},onMouseEnter:()=>{Q(t)}},q.default.createElement(v.UserAvatar,{className:"search-avatar",username:e.name,avatar:e.avatar}),q.default.createElement("div",null,q.default.createElement(S.Text,{size:"p2"},e.name),q.default.createElement(S.Text,{size:"p4",color:"#595959"},"@",e.username)))))))},exports.Row=Je,exports.ShareBox=Fr,exports.SharePopup=({trackingCategory:e,className:n,style:o,url:r,avatar:s,text:c,onClose:u})=>{const{data:{env:{isMarryBaby:p}}}=t.useContext(i.TogetherComponentGlobalContext),{t:m}=d.useTranslations(),[h,g]=t.useState(!1);return t.useEffect((()=>(l.toggleNoScroll(!0),setTimeout((()=>g(!0)),0),()=>l.toggleNoScroll(!1))),[]),q.default.createElement(a.Portal,null,q.default.createElement(Ur,{"data-is-marrybaby":p,className:n,style:o},q.default.createElement(Lr,{className:"share-popup",isOpen:h,onClose:u,heading:m("bottomBar.share")},p?q.default.createElement(S.Text,{className:"share-mb-text",size:"sm"},m("article.shareOn")):q.default.createElement("div",{className:"custom-share__header"},s&&q.default.createElement("div",{className:"custom-share__header-image"},q.default.createElement("img",{src:s,loading:"lazy"})),q.default.createElement("div",{className:"custom-share__header-info"},q.default.createElement(i.Heading,{tag:"h4"},c),q.default.createElement(S.Text,{className:"desc",size:"md"},r))),h&&q.default.createElement(Fr,{trackingCategory:e,shareUrl:r||("undefined"!=typeof window?window.location.href:""),title:c}))))},exports.SideHeader=({isCollapsed:e,defaultLogo:t,onBackClick:a,customIcon:i})=>q.default.createElement(je,null,q.default.createElement(k.Logo,{type:e?"logomark":t||"hellocare",customSize:{width:e?"24px":"77px",height:"24px"}}),q.default.createElement($e,{"data-is-collapsed":e||void 0,onClick:a},i||q.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 20 20",width:"20px",height:"20px"},q.default.createElement("path",{d:"M10 .75A9.25 9.25 0 1019.25 10 9.25 9.25 0 0010 .75z",fill:"none",stroke:"#d2d6dc",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),q.default.createElement("path",{d:"M11.44 6.53L8 10l3.48 3.47",fill:"none",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})))),exports.SideMenu=({isCollapsed:e,className:t,style:a,children:i})=>q.default.createElement(Re,{style:a,className:t,"data-is-collapsed":e||void 0},i),exports.SourceList=vs,exports.StyleForm=Gi,exports.StyledAcceptButton=Et,exports.StyledAcceptCardContainer=vt,exports.StyledActive=Ci,exports.StyledArrowWrapper=il,exports.StyledBabyGrowthWrapper=qi,exports.StyledBreadcrumbContainer=Ie,exports.StyledBreadcrumbWrapper=Be,exports.StyledButton=Ni,exports.StyledButton$1=Xi,exports.StyledButton$2=en,exports.StyledButtonGroup=Ct,exports.StyledCalendarCellsWrapper=sn,exports.StyledCalendarDateGrid=fn,exports.StyledCalendarDayLabel=pn,exports.StyledCalendarDayNumber=xn,exports.StyledCalendarDayNumberWrapper=bn,exports.StyledCalendarDaysOfWeek=un,exports.StyledCalendarDaysWrapper=hn,exports.StyledCalendarHead=dn,exports.StyledCalendarMonthSeparator=mn,exports.StyledCalendarMonthWrapper=gn,exports.StyledCalendarWrapper=ln,exports.StyledCalendarWrapper$1=yn,exports.StyledCardLink=Rn,exports.StyledCardPost=ys,exports.StyledCardPost$1=ts,exports.StyledCategoryCard=ce,exports.StyledCheckboxGroup=ue,exports.StyledCircleArrow=nl,exports.StyledContainer=Ai,exports.StyledContainer$1=Bi,exports.StyledContainer$2=Yi,exports.StyledContainer$3=tn,exports.StyledContent=Si,exports.StyledCreateNewPost=Yo,exports.StyledCreatePostDescription=yr,exports.StyledCreatePostTitle=Ir,exports.StyledDescription=wt,exports.StyledDescriptionWrapper=Qe,exports.StyledDetailStep=Pe,exports.StyledDetailStepDescription=Oe,exports.StyledDetailStepIndicator=De,exports.StyledDetailStepIndicatorExternal=Me,exports.StyledDetailStepLabel=ze,exports.StyledDot=We,exports.StyledDropDown=si,exports.StyledError=Jo,exports.StyledFixedAdBlock=En,exports.StyledFloatButtonGroup=ut,exports.StyledFloatButtonGroupBackgroundPanel=pt,exports.StyledFloatButtonGroupButton=ft,exports.StyledFloatButtonGroupButtonIcon=xt,exports.StyledFloatButtonGroupButtonLabel=bt,exports.StyledFloatButtonGroupContent=mt,exports.StyledFloatButtonGroupItemsWrapper=ht,exports.StyledFloatButtonGroupToggleIcon=gt,exports.StyledFormInput=wi,exports.StyledIcon=sl,exports.StyledIconText=Ee,exports.StyledImagePreviewContainer=el,exports.StyledImagePreviewPopup=Kr,exports.StyledImagePreviewTopbar=tl,exports.StyledImagePreviewWrapper=al,exports.StyledInner=ll,exports.StyledInput=Ii,exports.StyledInputCommentBar=_r,exports.StyledInputForm=xi,exports.StyledInputWrapper=yi,exports.StyledIsQuestion=Ko,exports.StyledLastPeriodFormContainer=pi,exports.StyledMethodContainer=ci,exports.StyledMethodSwitcherContainer=ui,exports.StyledNotificationBar=Jr,exports.StyledPoliciesButton=kt,exports.StyledPopupDanger=Pr,exports.StyledPostImagePreview=Yr,exports.StyledRadioGroup=Ti,exports.StyledRadioImageGroup=Qi,exports.StyledRadioImageItem=Zi,exports.StyledRow=Di,exports.StyledRow$1=Ji,exports.StyledRow$2=nn,exports.StyledScrollList=qe,exports.StyledShareContainer=wn,exports.StyledShareDrawer=Cn,exports.StyledSlider=ke,exports.StyledSocialLinkPreview=cl,exports.StyledSourceList=ws,exports.StyledStatisticContainer=Ge,exports.StyledStatisticNumberWrapper=Ze,exports.StyledStep=Se,exports.StyledStepLabel=Ne,exports.StyledSubmitButton=vi,exports.StyledSubmitReportForm=Vr,exports.StyledSurveyQuestionCard=it,exports.StyledSurveyThankyouCard=ot,exports.StyledTextField=di,exports.StyledTitleSection=yt,exports.StyledTopicSelectList=Br,exports.StyledTrack=Te,exports.StyledTrackContainer=Ae,exports.StyledTwins=bi,exports.StyledWrapper=vn,exports.StyledWrapper$1=dl,exports.SurveyOrPremiumBanner=r=>{var{type:l,articleId:s=0,categoryIds:u=[],isMarketing:p,isSurveyType:m,hasPremiumBanner:g,currentUrl:f,isMobile:b,subcribeHealthStatus:x,setShouldAcquisitionModalOpen:v,onValueChange:y,source:w="discover",Wrapper:C}=r,E=e.__rest(r,["type","articleId","categoryIds","isMarketing","isSurveyType","hasPremiumBanner","currentUrl","isMobile","subcribeHealthStatus","setShouldAcquisitionModalOpen","onValueChange","source","Wrapper"]);const{locale:k,t:S}=d.useTranslations(),{data:{userInfo:A}}=t.useContext(i.TogetherComponentGlobalContext),T=Boolean(null==A?void 0:A.id),[N,I]=t.useState(null),[B,P]=t.useState(),[D,M]=t.useState(""),[z,O]=t.useState(!1),[L,_]=t.useState(!1),R=t.useMemo((()=>id[l]),[]),j=((e,t)=>({[Ss.Pregnant]:{action:Ns.ShowOptionBanner,props:{heading:e("pnBanner.pregnancy.heading"),description:e("pnBanner.pregnancy.desc"),styleType:Ts.Button,thumbnail:{desktop:o.CommonGAssets.getAssetPath("newsletter/banner-option-pregnancy-desktop.png"),mobile:o.CommonGAssets.getAssetPath("newsletter/banner-option-pregnancy-mobile.png")},buttonProps:{variant:"white",styles:e=>({minWidth:a.rem(80),[e.fn.largerThan("sm")]:{minWidth:a.rem(120)}})},items:[{label:e("switchBtn.yes"),value:"yes",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Are you navigating the world of pregnancy - Yes Click",dataEventLabel:t}},{label:e("switchBtn.no"),value:"no",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Are you navigating the world of pregnancy - No Click",dataEventLabel:t}}]},submitHandler:{yes:{action:Ns.ShowTool,props:{value:Es.DUE_DATE}},no:{action:Ns.ShowPremiumModal}}},[Ss.Parenting]:{action:Ns.ShowOptionBanner,props:{heading:e("pnBanner.parenting.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:o.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:o.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,styleType:Ts.Checkbox,items:[{label:e("pnBanner.toddlers"),value:"todders"},{label:e("pnBanner.teenager"),value:"teenager"}],submitBtnTracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the age range of your kids Click",dataEventLabel:t}},submitHandler:{todders:{action:Ns.ShowTool,props:{value:Es.BABY_VACCINE}},teenager:{action:Ns.ShowOptionBanner,props:{styleType:Ts.Button,heading:e("pnBanner.teenager.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:o.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:o.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-mobile.png")},buttonProps:{variant:"white"},items:[{label:e("childCard.boy"),value:"teenager.boy",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the gender of your kids - Boy Click",dataEventLabel:t}},{label:e("childCard.girl"),value:"teenager.girl",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the gender of your kids - Girl Click",dataEventLabel:t}}]}},"teenager.boy":{action:Ns.ShowPremiumModal},"teenager.girl":{action:Ns.ShowTool,activeTool:c.RISK_SCREENER_NAME.HPV,props:{value:c.RISK_SCREENER_NAME.HPV}},"todders|teenager":{action:Ns.ShowOptionBanner,props:{styleType:Ts.Button,heading:e("pnBanner.both.heading"),description:e("pnBanner.both.desc"),thumbnail:{desktop:o.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:o.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,buttonProps:{variant:"secondary"},styles:e=>({wrapper:{[e.fn.smallerThan("sm")]:{flexDirection:"column"}},button:{background:e.colors.blue[0]}}),items:[{label:e("pnBanner.vaccine.btnLabel"),activeTool:Es.BABY_VACCINE,isLink:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Baby Vaccine Click",dataEventLabel:t}},{label:e("pnBanner.pn.btnLabel"),value:"todders|teenager.showPN",isPNBtn:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Premium Newsletter Click",dataEventLabel:t}}]}},"todders|teenager.showPN":{action:Ns.ShowOptionBanner,props:{styleType:Ts.Button,heading:e("pnBanner.both.heading"),description:e("pnBanner.both.desc"),thumbnail:{desktop:o.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:o.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,buttonProps:{variant:"secondary"},styles:e=>({wrapper:{[e.fn.smallerThan("sm")]:{flexDirection:"column"}},button:{background:e.colors.blue[0]}}),items:[{label:e("pnBanner.vaccine.btnLabel"),activeTool:Es.BABY_VACCINE,isLink:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Baby Vaccine Click",dataEventLabel:t}}]}}}}}))(S,f)[R],$=null==j?void 0:j.submitHandler,F=()=>e.__awaiter(void 0,void 0,void 0,(function*(){const e=p?h.getCurrentBaseUrl(k)+"/dang-ky-nhan-tin/":`${window.location.href}?source=acquisition`;T?null==v||v():window.location.href=`${h.getCurrentSsoUrl(k)}/?returnUrl=${encodeURIComponent(e)}`})),U=e=>{const t=(e=>{let t="";const a=e.split("|");return 1===a.length?e:(Object.keys($).map((e=>{const i=e.split("|");if(a.length===i.length){let n=0;a.map((e=>{i.includes(String(e))&&(n+=1)})),n===a.length&&(t=e)}})),t)})(e);if(t){const a=$[t];a.action===Ns.ShowPremiumModal?g?(O(!0),P(Object.assign(Object.assign({},B),{actionParams:{hideBannerWhenClose:a.action===Ns.ShowPremiumModal}}))):(P({action:Ns.Hide}),null==y||y(e)):(P(a),null==y||y(e))}},V=C||a.Box,H=()=>q.default.createElement(a.Container,Object.assign({mih:{base:144,md:160},fluid:!0,p:0,sx:{borderRadius:4,cursor:"pointer"},onClick:F,"data-event-category":"Newsletter","data-event-action":"Banner Click","data-event-label":f,className:"pointer-event-child-none"},E),q.default.createElement(n.ImageWrap,{src:p?o.CommonGAssets.getAssetPath(`newsletter/${b?"Mobile":"Desktop"}_Marketing.png`):o.CommonGAssets.getAssetPath(`newsletter/${b?"Mobile":"Desktop"}_${l}.png`),alt:"newsletter banner"})),G=()=>g&&1!==(null==A?void 0:A.subscription)?q.default.createElement(H,null):null;return t.useEffect((()=>{T&&I({userInfo:A,preferredTopics:Dn,healthTopics:[]})}),[T]),T?m&&j&&void 0!==x?(()=>{const e=$[(null==x?void 0:x.value)||""];return(null==e?void 0:e.action)===Ns.ShowPremiumModal?G():q.default.createElement(Bs.Provider,{value:{settings:j,submitHandler:$,type:l,surveyType:R,value:D,setValue:M,isMobile:b,isLoggedIn:T,hasPremiumBanner:g,currentUrl:f,acquisitionInfo:N,categoryIds:u,subcribeHealthStatus:x,articleId:s,onValueChange:y,state:B,setState:P,handleClickOption:U,showPNModal:z,setShowPNModal:O,source:w,Outside:V,isBack:L,setIsBack:_,minHeight:180}},q.default.createElement(ad,null))})():G():g?q.default.createElement(H,null):null},exports.SurveyQuestionCard=({className:e,headerText:a,style:i,question:n,termAndPolicyText:o,prevText:r,nextText:l,isContactForm:s,isDisableNext:d,isDisablePrev:c,onPrevClick:u,onNextClick:p,isSubmitButton:m,isButtonCenter:h,progress:g,descriptionText:f})=>{var b,x,v;const[y,w]=t.useState([]),{is_multi_select:C,multi_select_option:E,from:k,to:T}=n,N=null==n?void 0:n.type,I="checkbox"===N&&(null===(b=n.options)||void 0===b?void 0:b.length)&&(!y||0===y.length||C&&E===dt.RANGE&&(y.length<k||y.length>T)||C&&E===dt.EXACT_NUMBER&&y.length!==k)||"radio"===N&&(null===(x=n.options)||void 0===x?void 0:x.length)&&(!y||0===y.length)||"textbox"===N&&(null===(v=n.textOptions)||void 0===v?void 0:v.length)&&(y.length<n.textOptions.length||y.some((e=>!e.value))),B="number"==typeof g?g>1?1:g<0?0:Number(g.toFixed(2)):-1,P=t.useRef(null),D=()=>"textbox"!==N||P.current.reportValidity();return q.default.createElement(it,{className:e,style:i},q.default.createElement("div",{className:"survey-inner-wrapper"},a&&q.default.createElement("div",{className:"survey-header"},q.default.createElement(S.Text,{className:"survey-header-text",size:"c2"},a)),q.default.createElement("form",{ref:P,onSubmit:e=>e.preventDefault()},q.default.createElement(st,{question:n,description:f,onOptionsChange:e=>{w(e)},onTextOptionsChange:e=>{w(e)}})),s&&l&&q.default.createElement(A.Button,{className:"survey-contact-submit",size:"lg",isDisabled:d||I,onClick:()=>D()&&p&&p(y)},l),o&&q.default.createElement("div",{className:"term-policy-container"},o),"number"==typeof g&&q.default.createElement("div",{className:"survey-progress-wrapper"},q.default.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${B})`}})),(r||l)&&q.default.createElement("div",{"data-center":h,className:"survey-button-wrapper"},r&&q.default.createElement(A.Button,{className:"survey-prev-button",size:"lg",color:c?"primary":"secondary",isDisabled:c,icon:q.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:c?"#fff":"#2D87F3"})),onClick:u},r),!s&&l&&q.default.createElement(A.Button,{onClick:()=>D()&&p&&p(y),className:"survey-next-button",size:"lg",isDisabled:d||I},l," ",m?void 0:q.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},exports.TRANSITION_TIMING=ct,exports.Table=({children:e,className:t,style:a,horizontalPadding:i,verticalPadding:n})=>q.default.createElement(Xe,{className:t,style:a,theme:{horizontalPadding:i,verticalPadding:n}},e),exports.TagTopic=a=>{var{topics:n=[],onClick:o,className:r,style:l,trackingCategory:s="Together",locale:u="vi-VN",classNames:p,styles:m,unstyled:h,shortenedNumber:g=3,shortenedStyle:f}=a,b=e.__rest(a,["topics","onClick","className","style","trackingCategory","locale","classNames","styles","unstyled","shortenedNumber","shortenedStyle"]);const{t:x}=d.useTranslations(),{classes:v}=Kn(void 0,{name:"TagTopic",classNames:p,styles:m,unstyled:h}),{data:{env:{togetherBasePath:y}},action:{sanitizeFunction:C}}=t.useContext(i.TogetherComponentGlobalContext),[E,k]=t.useState(!f);return q.default.createElement("div",Object.assign({onClick:o,className:`${v.wrapper} ${r}`,style:l},b),(E?n:n.slice(0,g)).map(((e,t)=>{const a=(null==e?void 0:e.dueDateMonth)&&0!==(null==e?void 0:e.dueDateMonth)&&(null==e?void 0:e.dueDateYear)&&0!==(null==e?void 0:e.dueDateYear);return q.default.createElement("a",{className:v.item,key:t,"data-event-category":s,"data-event-action":"Topic in Post Click","data-event-label":`${i.getCurrentBaseUrl(u)}${y}${e.url}`,href:e.isActive&&!e.isHidden?`${y}${e.url}/`:void 0},q.default.createElement(i.Text,{size:"p4"},q.default.createElement("span",{style:Object.assign({},a&&{textTransform:"capitalize"}),dangerouslySetInnerHTML:{__html:a?`${w.format(new Date(2020,Number(e.dueDateMonth)-1,1),"MMMM",{locale:c.DATE_FNS_LOCALE[u]})}/${null==e?void 0:e.dueDateYear}`:(null==C?void 0:C(e.name))||e.name}})))})),!E&&n.length>g&&q.default.createElement("a",{className:v.item,href:"#",onClick:e=>{e.preventDefault(),k(!0)}},q.default.createElement(i.Text,{size:"p4"},"+",x("tagTopic.moreTopics",{number:n.length-g}))))},exports.TogetherAuthConfigContext=Mn,exports.TogetherAuthConfigContextProvider=({children:e,defaultParams:t})=>q.default.createElement(Mn.Provider,{value:{defaultParams:t}},e),exports.ToolsBannerCard=li,exports.TreePopoverMenu=no,exports.UnbookmarkedIcon=se,exports.UserInfo=({isCollapsed:e,userName:t,role:a,avatar:i})=>q.default.createElement(Ve,{"data-is-collapsed":e||void 0},q.default.createElement(Ue,{image:i,name:t,description:a,isDescriptionHidden:e})),exports.decodeMention=pr,exports.decodePostUrl=ur,exports.encodePostContent=(e,t=(e=>e))=>((e,t=(e=>e))=>{var a;return t(null===(a=e.replace(/(\ )+/g," ").replace(/(\&)+/g,"&"))||void 0===a?void 0:a.replace(/(\u200c|‌)+/g,"").replace(tr,((e,t,a)=>'="'!==t&&'data-url="true">'!==t?`<a href="${a}" target="_blank">${a}</a>`:e)).replace(er,((e,t,a)=>{var i;const n=null===(i=t.match(/data-href="([^"]*)"/im))||void 0===i?void 0:i[1];return n?`<a href="${n}" target="_blank">${a}</a>`:`<a href="${a}" target="_blank">${a}</a>`})))})((e=>e.replace(ir,((e,t,a)=>`[mention+id="${t}"+name="${a}"]`)))(fr(e)),t),exports.getDueDateConception=e=>{const t=new Date(e);return t.setDate(t.getDate()+265),{startDate:e,dueDate:t,otherInfo:{method:exports.DueDateCalculatorType.conception+1,conception_date:w.format(e,gi),first_day:null,cycle_length_days:null,ivf_transfer_date:null,days_transfer:null}}},exports.getDueDateIVF=(e,t)=>{const a=new Date(e);return a.setDate(a.getDate()+265-t),{startDate:e,dueDate:a,otherInfo:{method:exports.DueDateCalculatorType.IVF+1,ivf_transfer_date:w.format(e,gi),days_transfer:t,conception_date:null,first_day:null,cycle_length_days:null}}},exports.getDueDateLastPeriod=(e,t)=>{const a=t-21+272,i=new Date(e);return i.setDate(i.getDate()+a),{startDate:e,dueDate:i,otherInfo:{method:exports.DueDateCalculatorType.lastPeriod+1,first_day:w.format(e,gi),cycle_length_days:t,conception_date:null,ivf_transfer_date:null,days_transfer:null}}},exports.getMentionIdsFromString=hr,exports.highlightBadWords=vr,exports.htmlReactParser=Wa,exports.img=Or,exports.removeBannedWordWrapper=fr,exports.uploadAndGetSrc=(t,a,n)=>"string"==typeof t?Promise.resolve(t):e.__awaiter(void 0,void 0,void 0,(function*(){var e;const o=new FormData;if(t.type.startsWith("image/gif"))o.append("image",t);else{const e=yield Promise.resolve().then((function(){return H(require("browser-image-compression"))})),a=yield e.default(t,{maxSizeMB:.4,maxWidthOrHeight:1536,useWebWorker:!0});o.append("image",a)}const r=n?i.callApiWithAdminAuth:i.callApiWithAuth,l=yield r(i.getApiPath(n?i.ADMIN_PATHS.COMMENT.IMAGE_UPLOAD:i.PATHS.COMMENT.IMAGE_UPLOAD,{_locale:a}),"POST",{data:o});return(null===(e=null==l?void 0:l.data)||void 0===e?void 0:e.image)||""})),exports.useStyles=de,exports.useStyles$1=at,exports.useStyles$2=Wi,exports.useTogetherAuthRequiredAction=zn,exports.youtubeVidIdGetter=e=>{var t;if(!e.includes("youtu"))return"";return(null===(t=/(.*?)(^|\/|v=)([a-z0-9_-]{11})(.*)?/gim.exec(e))||void 0===t?void 0:t[3])||""};
|
|
6897
|
+
`;var Cs;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(Cs||(Cs={}));const Es={DUE_DATE:Cs.DUE_DATE,BMI:Cs.BMI,BMR:Cs.BMR,OVULATION:Cs.OVULATION,IFRAME:Cs.IFRAME,PWG:Cs.PWG,THR:Cs.THR,BABY_VACCINE:Cs.BABY_VACCINE,BABY_GROWTH:Cs.BABY_GROWTH,BABY_POOP:Cs.BABY_POOP},ks={[Es.DUE_DATE]:l.CommonGAssets.getAssetPath("health-tools/due-date-icon.svg")};var Ss,As,Ts,Ns;!function(e){e.Pregnant="pregnant",e.Parenting="parenting"}(Ss||(Ss={})),function(e){e.Option="option"}(As||(As={})),function(e){e.Button="button",e.Checkbox="checkbox"}(Ts||(Ts={})),function(e){e.ShowTool="showTool",e.ShowPremiumModal="showPremiumModal",e.ShowOptionBanner="showOptionBanner",e.Hide="hide"}(Ns||(Ns={}));const Is=e=>({[Es.DUE_DATE]:{heading:e("pnBanner.dueDateTool.heading"),description:e("pnBanner.dueDateTool.desc"),btnLabel:e("pnBanner.caclNow"),value:Es.DUE_DATE,dataEventAction:"Try our Due Date Calculator Click"},[Es.BABY_VACCINE]:{heading:e("pnBanner.vaccination.heading"),description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:Es.BABY_VACCINE,dataEventAction:"Try our Baby Vaccine Scheduler Click"},[Es.BABY_GROWTH]:{heading:"Baby Growth",description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:Es.BABY_GROWTH},[r.RISK_SCREENER_NAME.HPV]:{heading:e("pnBanner.hpv.heading"),description:e("pnBanner.hpv.desc"),thumbnail:{desktop:l.CommonGAssets.getAssetPath("newsletter/banner-option-hpv-desktop.png"),mobile:l.CommonGAssets.getAssetPath("newsletter/banner-option-hpv-mobile.png")},isRiskScreener:!0,btnLabel:e("pnBanner.checkNow"),value:r.RISK_SCREENER_NAME.HPV,hideDescOnMobile:!0,dataEventAction:"Keep safe from HPV virus Click"}}),Bs=t.createContext({}),Ps=n=>{var o=e.__rest(n,[]);const{locale:r}=i.useTranslations(),{type:s,isMobile:d,currentUrl:c,isMarketing:u,isLoggedIn:m,setShouldAcquisitionModalOpen:h}=t.useContext(Bs);return q.default.createElement(a.Container,Object.assign({mih:{base:144,md:160},fluid:!0,p:0,sx:{borderRadius:4,cursor:"pointer"},onClick:()=>e.__awaiter(void 0,void 0,void 0,(function*(){const e=u?_.getCurrentBaseUrl(r)+"/dang-ky-nhan-tin/":`${window.location.href}?source=acquisition`;m?null==h||h():window.location.href=`${_.getCurrentSsoUrl(r)}/?returnUrl=${encodeURIComponent(e)}`})),"data-event-category":"Newsletter","data-event-action":"Banner Click","data-event-label":c,className:"pointer-event-child-none"},o),q.default.createElement(p.ImageWrap,{src:u?l.CommonGAssets.getAssetPath(`newsletter/${d?"Mobile":"Desktop"}_Marketing.png`):l.CommonGAssets.getAssetPath(`newsletter/${d?"Mobile":"Desktop"}_${s}.png`),style:{maxWidth:"100%"},alt:"newsletter banner"}))},Ds="api/v1/categories?site={website_url}",Ms="api/v1/subscription?site={website_url}",zs="api/v1/categories?site={website_url}";var Os=a.createStyles((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:a.rem(32),padding:`${a.rem(6)} ${a.rem(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const Ls=({heading:e,description:i,thumbnail:n={desktop:"",mobile:""},hideDescOnMobile:o,children:r})=>{const{isMobile:l,minHeight:s}=t.useContext(Bs);return q.default.createElement(a.Box,{sx:()=>({borderRadius:a.rem(8),background:"linear-gradient(180deg, #FAFDFF 0%, #E3F2FF 100%)"})},q.default.createElement(a.Box,{sx:e=>({minHeight:a.rem(s),borderRadius:"inherit",background:`url(${l?n.mobile:n.desktop})`,backgroundPosition:"center right",backgroundRepeat:"no-repeat",backgroundSize:"contain",padding:`${a.rem(24)} ${a.rem(16)}`,display:"flex",flexDirection:"column",justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${a.rem(22)} ${a.rem(32)}`}})},q.default.createElement(a.Stack,{spacing:a.rem(16)},q.default.createElement(a.Stack,{spacing:a.rem(4),sx:e=>({maxWidth:"60%",[e.fn.largerThan("sm")]:{maxWidth:"70%"}})},e&&q.default.createElement(d.Heading,{tag:"h4"},e),!(o&&l)&&i&&q.default.createElement(d.Text,{size:"p4"},i)),q.default.createElement(a.Box,null,r))))},_s=n=>{const{styleType:o=Ts.Button,items:l=[],buttonProps:s,styles:c,submitBtnTracking:u}=n,{classes:p}=Os(void 0,{name:"PremiumBannerWithOptions",styles:c}),{t:h,locale:g}=i.useTranslations(),{surveyType:f,articleId:b,handleClickOption:x,hasPremiumBanner:v,source:y,isMobile:w,setShowPNModal:C}=t.useContext(Bs),E=t.useMemo((()=>v?l:l.filter((e=>!Boolean(e.isPNBtn))).filter(Boolean)),[l]),{getHealthToolLink:k}=j.useHealthToolsCache(g),S=R.useForm({initialValues:{bannerOptions:[]}}),A=t=>e.__awaiter(void 0,void 0,void 0,(function*(){return yield d.callApiWithAuth(d.getApiPath(d.PATHS.HEALTH_TOOL.CREATE,{_locale:g,type:od[f]}),"POST",{headers:{"Content-Type":"application/json"},data:{value:t,article:b,source:y}})})),T=t.useCallback((()=>q.default.createElement(a.Flex,{gap:a.rem(8),className:p.wrapper},E.map(((e,t)=>q.default.createElement(a.Box,{key:String(t),component:e.isLink?"a":"div",href:e.isRiskScreener?`https://${r.domainLocales[g]}/bot/${r.RISK_SCREENER_SLUG[g][e.activeTool]}/`:e.isLink?k(e.activeTool):void 0},q.default.createElement(d.Button,Object.assign({className:p.button,classNames:{label:p.buttonLabel},size:"sm"},e.tracking,s,{onClick:()=>{e.isLink||(e.isPNBtn&&C(!0),A(e.value),x(e.value))}}),e.label)))))),[E,S]),N=t.useCallback((()=>q.default.createElement(a.Flex,null,q.default.createElement(a.Flex,{align:"center",gap:a.rem(24),sx:e=>({background:"white",borderRadius:a.rem(8),padding:a.rem(4),[e.fn.largerThan("sm")]:{paddingLeft:a.rem(16)}})},q.default.createElement(d.Checkbox.Group,Object.assign({},S.getInputProps("bannerOptions",{type:"checkbox"})),q.default.createElement(a.Flex,{gap:a.rem(16)},E.map(((e,t)=>q.default.createElement(d.Checkbox,{key:String(t),value:e.value,label:e.label,styles:{label:{cursor:"pointer"}}}))))),q.default.createElement(d.Button,Object.assign({size:"sm"},u,s,{disabled:0===S.getInputProps("bannerOptions").value.length,leftIcon:w?q.default.createElement(m.Icon.ArrowRightTail,{size:18,useCurrentColor:!0}):void 0,onClick:()=>{const e=S.getInputProps("bannerOptions").value;A(e.join("|")),x(e.join("|"))},styles:e=>({root:{[e.fn.smallerThan("sm")]:{width:a.rem(38),minWidth:"auto",padding:0}}})}),!w&&h("pnBanner.submit"))))),[E,S]);return q.default.createElement(Ls,Object.assign({},n),o===Ts.Button?T():o===Ts.Checkbox?N():null)},Rs=e=>{var n,l;const{t:s}=i.useTranslations(),{heading:c,description:u,thumbnail:p,btnLabel:m,value:h,isRiskScreener:g,hideDescOnMobile:f,dataEventAction:b}=e,{locale:x}=i.useTranslations(),{isMobile:v}=t.useContext(Bs),{getHealthToolLink:y,allTools:w}=j.useHealthToolsCache(x),C=g?"mainBanner":"toolBanner",E=t.useMemo((()=>{const e=g?`https://${o.isProduction?"":"discover."}${r.domainLocales[x]}/bot/${r.RISK_SCREENER_SLUG[x][h]}`:y(h);return q.default.createElement("a",{href:e},q.default.createElement(d.Button,{size:"sm","data-event-category":"Focused Audience","data-event-action":b,"data-event-label":e},m||s("pnBanner.caclNow")))}),[w]);return"mainBanner"===C?q.default.createElement(Ls,Object.assign({},Object.assign(Object.assign({},e),{thumbnail:e.thumbnail})),E):q.default.createElement(a.Flex,{gap:a.rem(7),align:"center",justify:"space-between",sx:e=>({borderRadius:a.rem(8),background:e.colors.blue[0],minHeight:a.rem(180),padding:`${a.rem(24)} ${a.rem(16)}`,[e.fn.largerThan("sm")]:{padding:`${a.rem(34)} ${a.rem(32)}`}})},q.default.createElement(a.Stack,{spacing:a.rem(12)},q.default.createElement(a.Stack,{spacing:a.rem(4)},c&&q.default.createElement(d.Heading,{tag:"h4"},c),!(v&&f)&&u&&q.default.createElement(d.Text,{size:"p4"},u)),q.default.createElement(a.Flex,{gap:a.rem(8),sx:{button:{minWidth:a.rem(120)}}},E)),q.default.createElement(a.Flex,{align:"center",justify:"center",sx:e=>({width:a.rem(96),height:a.rem(96),borderRadius:"50%",background:"white",flexShrink:0,[e.fn.largerThan("sm")]:{width:a.rem(112),height:a.rem(112)},img:{maxWidth:a.rem(64),[e.fn.largerThan("sm")]:{maxWidth:a.rem(73)}}})},q.default.createElement("img",{alt:"health-tool-icon",src:p||(null===(l=null===(n=w.filter((e=>e.template===h)))||void 0===n?void 0:n[0])||void 0===l?void 0:l.icon)||ks[h]||"",loading:"lazy"})))},js=()=>{var e,a,n;const{t:o}=i.useTranslations(),{state:r,Outside:l}=t.useContext(Bs);return(null==r?void 0:r.action)===Ns.ShowTool?q.default.createElement(l,null,Is(o)[null===(e=null==r?void 0:r.props)||void 0===e?void 0:e.value]?q.default.createElement(Rs,Object.assign({},Is(o)[null===(a=null==r?void 0:r.props)||void 0===a?void 0:a.value],{value:null===(n=null==r?void 0:r.props)||void 0===n?void 0:n.value})):null):(null==r?void 0:r.action)===Ns.ShowOptionBanner?q.default.createElement(l,null,q.default.createElement(_s,Object.assign({},null==r?void 0:r.props))):null},$s=i=>{var{isMobile:n,children:o,desktopBanner:r=l.CommonGAssets.getAssetPath("friso/onboarding-banner.jpg"),mobileBanner:s=l.CommonGAssets.getAssetPath("friso/onboarding-banner-mobile.jpg"),modalRatio:c={width:937,height:536},mobileBannerRatio:u={width:750,height:480},desktopBannerRatio:p={width:420,height:536},closeProps:h}=i,g=e.__rest(i,["isMobile","children","desktopBanner","mobileBanner","modalRatio","mobileBannerRatio","desktopBannerRatio","closeProps"]);const{width:f,height:b}=v.useViewportSize(),x=(b<=667?190:265)+f*u.height/u.width+74,[y,w]=t.useState(!1);return q.default.createElement(O.Modal,Object.assign({styles:e=>({content:{flex:"auto",background:"transparent",[e.fn.smallerThan("sm")]:{maxHeight:"100%",height:"100%",position:"relative",borderRadius:0},[e.fn.largerThan("sm")]:{maxWidth:a.rem(c.width),width:"100%",height:"100%",maxHeight:a.rem(c.height),boxShadow:"none"}},body:{padding:0,width:"100%",height:"100%",[e.fn.largerThan("sm")]:{display:"flex",alignItems:"center"}},inner:{padding:0,[e.fn.smallerThan("sm")]:{display:"flex",alignItems:"flex-end"}}})},g),n?q.default.createElement(a.Box,{sx:{position:"relative",height:"100%"},onTouchStart:()=>w(!0)},q.default.createElement(a.Box,{className:"mobile-template",sx:{position:"absolute",height:100*(y?1:x/b)+"%",left:0,bottom:0,right:0,transition:"height 0.4s ease"}},q.default.createElement(a.Box,{sx:{height:"100%",backgroundColor:"white",borderTopLeftRadius:y?0:a.rem(12),borderTopRightRadius:y?0:a.rem(12)}},q.default.createElement(a.Box,{sx:{height:"calc(100% - 74px)",background:`url(${s})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"top center",overflowY:"auto",borderRadius:"inherit"}},q.default.createElement(d.Button,Object.assign({unstyled:!0,leftIcon:q.default.createElement(m.Icon.Close,null),sx:{position:"absolute",right:0,top:"10px",zIndex:1}},h,{onClick:()=>null==g?void 0:g.onClose()})),q.default.createElement(a.AspectRatio,{ratio:(null==u?void 0:u.width)/(null==u?void 0:u.height),w:"100%"}),q.default.createElement(a.Box,{sx:{padding:`${a.rem(28)} ${a.rem(16)} ${a.rem(16)}`,background:"white"}},o))))):q.default.createElement(a.AspectRatio,{className:"desktop-template",ratio:c.width/c.height,w:"100%",sx:{position:"relative","& > div":{justifyContent:"flex-end"}}},q.default.createElement(a.Box,{sx:{width:"100%",height:"100%",justifyContent:"flex-end",alignItems:"stretch",borderRadius:a.rem(8),background:"white",boxShadow:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 2.25rem 1.75rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 1.0625rem 1.0625rem -0.4375rem"}},q.default.createElement("img",{alt:"",src:r,loading:"lazy",style:{borderTopLeftRadius:a.rem(8),borderBottomLeftRadius:a.rem(8),height:"100%",display:"block"}}),q.default.createElement(a.Box,{sx:{position:"relative",height:"100%",width:(c.width-p.width)/c.width*100+"%"}},q.default.createElement(d.Button,Object.assign({unstyled:!0,leftIcon:q.default.createElement(m.Icon.Close,null)},h,{onClick:()=>null==g?void 0:g.onClose(),sx:{position:"absolute",right:0,top:"10px"}})),q.default.createElement(a.Box,{className:"side-banner-modal-container",sx:{height:"100%",padding:`${a.rem(40)} ${a.rem(24)} 0`}},o)))))},Fs="user/subscription",Us=t.createContext({}),Vs=i=>{var n,{value:o,name:r,isMobile:l}=i,s=e.__rest(i,["value","name","isMobile"]);const c=t.useRef(null),u=t.useMemo((()=>{var e;return Boolean(null===(e=c.current)||void 0===e?void 0:e.checked)}),[null===(n=c.current)||void 0===n?void 0:n.checked]);return t.useEffect((()=>{var e,t;if(u){const a=null===(e=c.current)||void 0===e?void 0:e.querySelector(".mantine-Chip-checkIcon"),i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.setAttribute("width","16"),i.setAttribute("height","16"),i.setAttribute("viewBox","0 0 16 16"),i.setAttribute("fill","none"),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("class","mantine-Chip-checkIcon");const n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("d","M13.32 3.99443C13.1468 3.99959 12.9825 4.07198 12.8617 4.19625L5.99973 11.0582L3.80442 8.86292C3.74299 8.79894 3.66941 8.74786 3.58799 8.71267C3.50657 8.67748 3.41895 8.65889 3.33025 8.65798C3.24156 8.65708 3.15358 8.67388 3.07146 8.70741C2.98934 8.74094 2.91474 8.79051 2.85202 8.85323C2.7893 8.91595 2.73973 8.99055 2.7062 9.07267C2.67267 9.15479 2.65587 9.24277 2.65677 9.33146C2.65768 9.42016 2.67627 9.50778 2.71146 9.5892C2.74665 9.67062 2.79773 9.7442 2.86171 9.80563L5.52838 12.4723C5.65341 12.5973 5.82295 12.6675 5.99973 12.6675C6.17651 12.6675 6.34606 12.5973 6.47108 12.4723L13.8044 5.13896C13.9008 5.04532 13.9666 4.92476 13.9932 4.79308C14.0198 4.6614 14.0061 4.52474 13.9537 4.40102C13.9013 4.2773 13.8128 4.17228 13.6998 4.09972C13.5867 4.02717 13.4543 3.99047 13.32 3.99443Z"),n.setAttribute("fill","#2D87F3"),i.appendChild(n),null===(t=null==a?void 0:a.parentNode)||void 0===t||t.replaceChild(i,a)}}),[u]),q.default.createElement(a.Chip,Object.assign({ref:c,value:o,radius:6},s,{styles:e=>({label:{display:"flex",border:"1px solid #DBDFE5 !important",borderRadius:6,padding:"8px 12px 8px 8px",height:"initial",gap:4,position:"relative","&[data-checked='true']":{borderColor:"#2D87F3 !important",backgroundColor:"#E3F2FF !important",color:"#2D87F3 !important",gap:0},"&:hover":{color:"initial",backgroundColor:"initial"},"&:not([data-checked])":{paddingLeft:36,[e.fn.smallerThan("sm")]:{paddingLeft:30},"&::before":{top:5,content:'"+"',position:"absolute",left:16,fontSize:18,color:"#262626",[e.fn.smallerThan("sm")]:{left:11}}}},input:{display:"none"}})}),q.default.createElement(d.Text,{size:l?"p3":"p4",color:"gray.7",span:!0},r))},Hs=({topicsGroup:e,onTopicChange:n,isBlock:o=!1,selectedTopics:r=[],inputProps:l,labelProps:s,maxSelect:c=5,hasScroll:u,readonly:p})=>{const{action:{pushNotifications:m}}=t.useContext(d.TogetherComponentGlobalContext),h=J.default(e.map((e=>e.topics||[]))),{t:g}=i.useTranslations(),[f,b]=t.useState([]);t.useEffect((()=>{b(r)}),[r.length]),t.useEffect((()=>{null==n||n(f)}),[f]);const x=e=>{e.length>5?m({type:"danger",title:g("pnTopicSection.maxSelectError.title",{maxSelect:c}),message:g("pnTopicSection.maxSelectError.desc")}):!p&&b((()=>h.filter((t=>e.some((e=>t.catId===e))))))};return q.default.createElement(a.Stack,{spacing:12},e.map(((e,t)=>q.default.createElement(a.Stack,{key:String(t),spacing:12},e.label&&q.default.createElement(d.Text,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},s),e.label),u?q.default.createElement(a.ScrollArea,{w:"100%",offsetScrollbars:!0,scrollbarSize:4,p:16,m:-16,styles:{viewport:{margin:-16,padding:16}}},q.default.createElement(a.Box,{w:800},q.default.createElement(a.Chip.Group,Object.assign({value:f.map((e=>e.catId)),multiple:!0},l,{onChange:x}),q.default.createElement(a.Flex,{gap:8,wrap:"wrap"},e.topics.map((t=>q.default.createElement(Vs,Object.assign({key:t.catId,value:t.catId,name:t.localName,isBlock:o},e.tracking)))))))):q.default.createElement(a.Chip.Group,Object.assign({value:f.map((e=>e.catId)),multiple:!0},l,{onChange:x}),q.default.createElement(a.Flex,{gap:8,wrap:"wrap"},e.topics.map((t=>t.catId?q.default.createElement(Vs,Object.assign({key:t.catId,value:t.catId,name:t.localName,isBlock:o},e.tracking)):q.default.isValidElement(t.component)?t.component:null))))))))},qs=i=>{var{heading:n,children:o,stickyActions:r}=i,l=e.__rest(i,["heading","children","stickyActions"]);const{isMobile:s}=t.useContext(Us),c=q.default.createElement(a.Stack,{spacing:a.rem(24),sx:{height:"100%"}},q.default.createElement(d.Heading,{tag:"h4",style:{textAlign:"center"}},n),q.default.createElement(a.Box,null,o));return q.default.createElement(a.Box,{sx:e=>({[e.fn.largerThan("sm")]:{position:"relative",height:"100%"}})},s?c:q.default.createElement(a.ScrollArea,Object.assign({className:"layout-body",h:r?"calc(100% - 90px)":"100%"},l),c),r&&q.default.createElement(a.Flex,{gap:a.rem(8),sx:e=>({position:"absolute",left:0,right:0,bottom:0,padding:a.rem(16),button:{flexGrow:1},justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${a.rem(24)} 0`}})},r))},Gs=()=>{const{t:n,locale:o}=i.useTranslations(),{data:{userInfo:r},action:{pushNotifications:l}}=t.useContext(d.TogetherComponentGlobalContext),s=null==r?void 0:r.id,{currentUrl:c,isMobile:u,pnSuggestCategory:p=[],nextStep:h,formValues:g,setFormValues:f,onSubmit:b,submitLoading:x,selectCategory:v,setCategoryLibs:y,setSelectCategory:w,maxSelectCategory:C}=t.useContext(Us),E=p.map((e=>e.catId)),k=R.useForm({validate:{name:R.isNotEmpty(n("healthToolPNModal.mainForm.requireName"))},initialValues:Object.assign(Object.assign({},g),{fitnessTopics:E})}),[S,A]=t.useState([]),[T,N]=t.useState([]);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e;try{const t=yield d.callApiWithAuth(d.getPremiumApiPath(zs,{_locale:o}),"get"),a=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.subscription)||[]).filter((e=>!E.includes(e.catId)));A(p),N(a),y([...p,...a])}catch(e){console.log(e)}}))}),[]),t.useEffect((()=>{s&&k.setFieldValue("name",(null==r?void 0:r.name)||"")}),[s]);const I=()=>{""!==k.getInputProps("name").value?(f(k.getTransformedValues()),h()):k.validateField("name")},B=t.useMemo((()=>q.default.createElement(d.Button,{variant:"tertiary",dataEventCategory:"Newsletter",dataEventAction:"More Category Click",dataEventLabel:c,leftIcon:q.default.createElement(m.Icon.Plus,{size:16,color:"#262626",useCurrentColor:!0}),onClick:I,styles:e=>({root:{borderRadius:a.rem(6),padding:"2px 15px",height:a.rem(40)},label:{fontSize:a.rem(14),fontWeight:400,[e.fn.smallerThan("sm")]:{fontSize:a.rem(12),lineHeight:a.rem(16),height:a.rem(40)}},leftIcon:{marginRight:"5px"}})},q.default.createElement(d.Text,{size:u?"p3":"p4"},n("home.seeMore")))),[k]);return t.useEffect((()=>{k.setFieldValue("fitnessTopics",v.map((e=>e.catId)))}),[v]),q.default.createElement("form",{style:{height:"100%"},onSubmit:k.onSubmit((e=>{if(0===v.length)return l({type:"danger",title:n("newsletter.error.minTitle"),message:n("newsletter.error.minCotennt")}),!1;f(e),null==b||b(e.name)}))},q.default.createElement(qs,{heading:n("healthToolPNModal.heading"),stickyActions:q.default.createElement(q.default.Fragment,null,q.default.createElement(d.Button,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Register Click",dataEventLabel:c,loading:x,sx:{maxWidth:a.rem(240)}},n("healthToolPNModal.register")))},q.default.createElement(a.Stack,{spacing:a.rem(16)},q.default.createElement(d.Input,Object.assign({label:n("newsletter.welcome.description")},k.getInputProps("name"))),q.default.createElement(Hs,{topicsGroup:[...0===p.length&&0===T.length?[{topics:[{component:B}]}]:[],...p.length>0?[{label:n("healthToolPNModal.mainForm.tailorTopicsHeading"),topics:[...p,...0===T.length?[{component:B}]:[]]}]:[],...T.length>0?[{label:n("healthToolPNModal.findMore.chooseFav"),topics:[...T,...T.length>0?[{component:B}]:[]]}]:[]],selectedTopics:[...S],labelProps:{size:u?"p3":"p4",color:"gray.6"},onTopicChange:w,maxSelect:C}))))},Ws=t.forwardRef((function(t,i){var{label:n}=t,o=e.__rest(t,["label"]);return q.default.createElement("div",Object.assign({ref:i},o),q.default.createElement(a.Group,{noWrap:!0},q.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),q.default.createElement(d.Text,{size:"p3"},n)))})),Qs=t.forwardRef((function(t,a){var{label:i}=t,n=e.__rest(t,["label"]);return q.default.createElement("div",Object.assign({ref:a},n),q.default.createElement(d.Text,{size:"p3"},i))})),Zs=({history:e,onDelete:t})=>q.default.createElement(a.Flex,{wrap:"wrap",gap:8},ee.default(e,"catId").map((e=>q.default.createElement(a.Badge,{key:e.catId,rightSection:q.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:()=>null==t?void 0:t(e)},q.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 9C1.5 4.8525 4.8525 1.5 9 1.5C13.1475 1.5 16.5 4.8525 16.5 9C16.5 13.1475 13.1475 16.5 9 16.5C4.8525 16.5 1.5 13.1475 1.5 9ZM11.1677 12.2248C11.4602 12.5173 11.9327 12.5173 12.2252 12.2248C12.5101 11.9323 12.5101 11.4523 12.2252 11.1673L10.0577 8.99979L12.2252 6.83229C12.5177 6.53979 12.5177 6.0673 12.2252 5.7748C11.9327 5.4823 11.4602 5.4823 11.1677 5.7748L9.00015 7.9423L6.83265 5.7748C6.54015 5.4823 6.06765 5.4823 5.77515 5.7748C5.63471 5.91492 5.55579 6.10516 5.55579 6.30354C5.55579 6.50193 5.63471 6.69217 5.77515 6.83229L7.94265 8.99979L5.77515 11.1673C5.63471 11.3074 5.55579 11.4977 5.55579 11.696C5.55579 11.8944 5.63471 12.0847 5.77515 12.2248C6.06765 12.5173 6.54015 12.5173 6.83265 12.2248L9.00015 10.0573L11.1677 12.2248Z",fill:"#8C8C8C"})),styles:{root:{height:32,background:"#ffffff",padding:"5px 12px",border:`1px solid ${d.themeColors.neutral[4]}`,borderRadius:32,textTransform:"unset"},rightSection:{height:18,cursor:"pointer"}}},q.default.createElement(d.Text,{size:"p4"},e.localName))))),Xs=({topics:e,onTopicChange:n,isBlock:o=!1,selectedTopics:r,labelProps:l,maxSelect:s=5})=>{const{action:{pushNotifications:c}}=t.useContext(d.TogetherComponentGlobalContext),[u,p]=t.useState([]),{t:m}=i.useTranslations();t.useEffect((()=>{p(r)}),[r.length]),t.useEffect((()=>{n(u)}),[u]);return e&&0!==e.length?q.default.createElement(a.Stack,{spacing:12,px:16,mx:-16},q.default.createElement(d.Text,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},l),m("pnTopicSection.recentView")),q.default.createElement(a.Chip.Group,{value:u.map((e=>e.catId)),onChange:t=>{o&&u.length<t.length?c({type:"danger",title:m("pnTopicSection.maxSelectError.title",{maxSelect:s}),message:m("pnTopicSection.maxSelectError.desc")}):p((()=>e.filter((e=>t.some((t=>e.catId===t))))))},multiple:!0},q.default.createElement(a.Flex,{gap:8,wrap:"wrap"},e.map(((e,t)=>q.default.createElement(Vs,{key:t,value:e.catId,name:e.localName,isBlock:o})))))):null},Ys=t=>{var{topic:i,active:n,onClick:o}=t,r=e.__rest(t,["topic","active","onClick"]);return q.default.createElement(a.Box,Object.assign({sx:e=>({position:"relative",cursor:"pointer",padding:2,borderRadius:8,boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04)",minHeight:a.rem(130),[e.fn.largerThan("sm")]:{minHeight:a.rem(138)}}),onClick:()=>o(i,n)},r),n&&q.default.createElement(a.Box,{id:"test",sx:{position:"absolute",top:2,right:2,width:20,height:20,zIndex:1}},q.default.createElement("svg",{id:"test",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66699 9.99984C1.66699 5.39984 5.40033 1.6665 10.0003 1.6665C14.6003 1.6665 18.3337 5.39984 18.3337 9.99984C18.3337 14.5998 14.6003 18.3332 10.0003 18.3332C5.40033 18.3332 1.66699 14.5998 1.66699 9.99984ZM4.75066 10.5827L7.74232 13.5744C8.06732 13.8994 8.60066 13.8994 8.91732 13.5744L15.2423 7.2494C15.5673 6.9244 15.5673 6.3994 15.2423 6.0744C14.9173 5.7494 14.3923 5.7494 14.0673 6.0744L8.33399 11.8077L5.92566 9.40773C5.60066 9.08273 5.07566 9.08273 4.75066 9.40773C4.59461 9.56342 4.50692 9.7748 4.50692 9.99523C4.50692 10.2157 4.59461 10.427 4.75066 10.5827Z",fill:"#2D87F3"}),q.default.createElement("path",{d:"M7.74224 13.5772L4.75057 10.5856C4.59453 10.4299 4.50684 10.2185 4.50684 9.99808C4.50684 9.77765 4.59453 9.56627 4.75057 9.41058C5.07557 9.08558 5.60057 9.08558 5.92557 9.41058L8.33391 11.8106L14.0672 6.07725C14.3922 5.75225 14.9172 5.75225 15.2422 6.07725C15.5672 6.40225 15.5672 6.92725 15.2422 7.25225L8.91724 13.5772C8.60057 13.9022 8.06724 13.9022 7.74224 13.5772Z",fill:"white"}))),q.default.createElement(a.Box,{sx:{borderRadius:"8px"}},q.default.createElement(d.AspectRatio,{ratio:1.5,mb:10,sx:e=>({background:e.colors.neutral[0]})},q.default.createElement(a.Box,null,q.default.createElement("img",{src:i.guid||"",alt:"cat",loading:"lazy",style:{maxHeight:"63px"}})))),q.default.createElement(d.Text,{size:"p4",ta:"center",px:6,sx:{display:"-webkit-box","-webkit-line-clamp":"2","-webkit-box-orient":"vertical",overflow:"hidden"}},i.localName||""))},Ks=({topics:e,selectedTopics:n=[],onTopicChange:o,isBlock:r=!1,labelProps:l,pushNotifications:s,maxSelect:c=5})=>{const{t:u}=i.useTranslations(),[p,m]=t.useState([]),h=(e,t)=>{if(t)m((t=>t.filter((t=>t.catId!==e.catId))));else{if(r)return void s({type:"danger",title:u("pnTopicSection.maxSelectError.title",{maxSelect:c}),message:u("pnTopicSection.maxSelectError.desc")});m((t=>[...t,e]))}};t.useEffect((()=>{m(n)}),[n.length]),t.useEffect((()=>{o(p)}),[p]);const[g,f]=t.useState(!1),[b,x]=t.useState(0),[v,y]=t.useState(0),w=t.useRef(null),C=()=>{f(!1)};return q.default.createElement(a.Stack,{spacing:10},q.default.createElement(a.Flex,{justify:"space-between",align:"center",w:"100%"},q.default.createElement(d.Text,Object.assign({size:"s5",color:"gray.4",weight:"semiBold",span:!0},l),u("pnTopicSection.trending"))),q.default.createElement(a.Box,null,q.default.createElement(a.ScrollArea,{type:"always",w:"100%",offsetScrollbars:!0,scrollbarSize:4,px:4,viewportRef:w,viewportProps:{onMouseDown:e=>{e.preventDefault(),w.current&&(f(!0),x(e.pageX-w.current.offsetLeft),y(w.current.scrollLeft))},onMouseUp:C,onMouseLeave:C,onMouseMove:e=>{if(e.preventDefault(),!g||!w.current)return;const t=2*(e.pageX-w.current.offsetLeft-b);w.current.scrollLeft=v-t}},styles:{viewport:{paddingBottom:16}}},q.default.createElement(a.Box,{w:{base:112*e.length+8*(e.length-1)+10}},q.default.createElement(a.Flex,{gap:8},e.map(((e,t)=>q.default.createElement(Ys,{key:t,topic:e,onClick:h,active:p.some((t=>t.catId===e.catId)),w:{base:112}}))))))))},Js=n=>{var{isLoggedIn:o,maxSelect:r=5,values:l=[],labelProps:s,onChange:c}=n,u=e.__rest(n,["isLoggedIn","maxSelect","values","labelProps","onChange"]);const{action:{pushNotifications:p}}=t.useContext(d.TogetherComponentGlobalContext),[m,h]=t.useState(""),{t:g,locale:f}=i.useTranslations(),b=t.useRef(null),[x,v]=t.useState([]),[y,w]=t.useState([]),[C,E]=t.useState([]),[k,S]=t.useState([]),[A,T]=t.useState(null),[N,I]=t.useState([]);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t;const a=yield d.callApiWithAuth(d.getPremiumApiPath(Ds,{_locale:f}),"get"),i=(null===(e=null==a?void 0:a.data)||void 0===e?void 0:e.interested)||[],n=(null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.trending)||[],o=ee.default([...i,...n],"catId").map((e=>Object.assign(Object.assign({},e),{value:e.catId||"",label:e.localName||""})));if(I(o||[]),T((null==a?void 0:a.data)||null),l.length>0){const e=i.filter((e=>l.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"interested"}))),t=n.filter((e=>l.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"trending"})));S(e),w(t)}}))}),[o]);const B=t.useMemo((()=>ee.default([...x,...y,...k,...C],"catId")),[x,y,k,C]),[P,D]=t.useState(!1);t.useEffect((()=>{B.length>=r?D(!0):D(!1),null==c||c(B)}),[B]);return q.default.createElement(a.Stack,Object.assign({spacing:a.rem(16)},u),q.default.createElement(a.Stack,{spacing:a.rem(8)},q.default.createElement(d.Text,{size:"p3"},g("pnTopicSection.maxSelectError.detail",{max:r,maxTopic:B.length})),q.default.createElement(a.MultiSelect,{ref:b,maxSelectedValues:3,styles:{wrapper:{overflow:"initial !important"},separator:{padding:16},separatorLabel:{fontWeight:600,fontSize:12,lineHeight:"18px",textTransform:"uppercase",color:d.themeColors.gray[4],"&::after":{display:"none"}},searchInput:{fontSize:"inherit"},input:{paddingRight:16}},nothingFound:q.default.createElement(d.Text,{size:"s4",color:"gray.6"},g("pnTopicSection.notFound")),itemComponent:""===m?Ws:Qs,size:"lg",placeholder:g("pnTopicSection.plsEnterFavTopics"),data:N,onSearchChange:h,searchValue:m,icon:q.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9682 19.7465 14.8936 19.0205 16.4115 17.8063L20.3168 21.7116C20.7018 22.0966 21.3261 22.0966 21.7111 21.7116C22.0961 21.3266 22.0961 20.7023 21.7111 20.3173L17.8059 16.4121C19.0203 14.894 19.7465 12.9684 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#595959"})),rightSection:q.default.createElement(q.default.Fragment,null),zIndex:500,searchable:!0,withinPortal:!0,onChange:t=>{return a=t,e.__awaiter(void 0,void 0,void 0,(function*(){var e;const t={trending:w,recently:E,interested:S,default:v};let i="default";if(P)p({type:"danger",title:g("pnTopicSection.maxSelectError.title",{maxSelect:r}),message:g("pnTopicSection.maxSelectError.desc")});else{const n=[{key:"trending",array:null==A?void 0:A.trending},{key:"recently",array:null==A?void 0:A.recently},{key:"interested",array:null==A?void 0:A.interested}].find((e=>{var t;return null===(t=e.array)||void 0===t?void 0:t.some((e=>e.catId===a[0]))}));i=(null==n?void 0:n.key)||"default",t[i]((e=>[...e,...N.filter((e=>a.some((t=>e.catId===t))))].map((e=>Object.assign(Object.assign({},e),{template:i}))))),null===(e=b.current)||void 0===e||e.blur()}return null}));var a},value:[]}),B&&B.length>0&&q.default.createElement(Zs,{history:B,onDelete:e=>{const t={trending:w,recently:E,interested:S,default:v};(t[e.template]||t.default)((t=>{const a=[...t],i=a.findIndex((t=>t.catId===e.catId));return a.splice(i,1),a}))}})),q.default.createElement(a.Box,{sx:e=>({position:"relative",height:a.rem(175),[e.fn.largerThan("sm")]:{height:a.rem(190)}})},q.default.createElement(a.Box,{sx:{position:"absolute",top:0,right:0,left:0}},q.default.createElement(Ks,{topics:((null==A?void 0:A.trending)||[]).map((e=>Object.assign(Object.assign({},e),{template:"trending"}))),selectedTopics:y,onTopicChange:w,isBlock:P,labelProps:s}))),q.default.createElement(Xs,{topics:((null==A?void 0:A.recently)||[]).map((e=>Object.assign(Object.assign({},e),{template:"recently"}))),selectedTopics:C,onTopicChange:E,isBlock:P,labelProps:s}),q.default.createElement(Hs,{labelProps:s,topicsGroup:[{label:g("pnTopicSection.ppAlsoInterested"),topics:((null==A?void 0:A.interested)||[]).map((e=>Object.assign(Object.assign({},e),{template:"interested"})))}],selectedTopics:k,onTopicChange:S,isBlock:P}))},ed=()=>{const{t:e}=i.useTranslations(),{action:{pushNotifications:n}}=t.useContext(d.TogetherComponentGlobalContext),{prevStep:o,formValues:r,submitLoading:l,onSubmit:s,selectCategory:c,maxSelectCategory:u,setSelectCategory:p,currentUrl:m,isLoggedIn:h}=t.useContext(Us);return q.default.createElement(qs,{heading:e("newsletter.topic.title"),type:"always",styles:{root:{paddingRight:a.rem(25)}},stickyActions:q.default.createElement(q.default.Fragment,null,q.default.createElement(d.Button,{fullWidth:!0,variant:"secondary",dataEventCategory:"Newsletter",dataEventAction:"Back Click",dataEventLabel:m,onClick:o},e("healthToolPNModal.back")),q.default.createElement(d.Button,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Next Click",dataEventLabel:m,onClick:()=>{if(0===c.length)return n({type:"danger",title:e("newsletter.error.minTitle"),message:e("newsletter.error.minCotennt")}),!1;null==s||s(r.name)},loading:l},e("healthToolPNModal.next")))},q.default.createElement(Js,{isLoggedIn:h,maxSelect:u,values:r.fitnessTopics,onChange:p,labelProps:{size:"s5",sx:{textTransform:"uppercase"}}}))},td=()=>{const{t:e}=i.useTranslations(),{close:n,selectCategory:o,onRegisterSuccess:r,currentUrl:l,finishLabelOnResult:s,disclaimerText:c}=t.useContext(Us);return t.useEffect((()=>()=>{setTimeout((()=>{null==r||r()}),400)}),[]),q.default.createElement(qs,{heading:e("healthToolPNModal.heading"),stickyActions:q.default.createElement(d.Button,{fullWidth:!0,sx:{maxWidth:a.rem(300)},dataEventCategory:"Newsletter",dataEventAction:"Continue Reading Click",dataEventLabel:l,onClick:()=>{n()}},s||e("healthToolPNModal.finish"))},q.default.createElement(a.Stack,null,q.default.createElement(a.Flex,{gap:a.rem(8),sx:e=>({background:e.colors.green[0],border:`1px solid ${e.colors.green[1]}`,borderRadius:a.rem(8),padding:a.rem(8)})},q.default.createElement(a.Box,null,q.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{d:"M9.99984 18.3334C14.6022 18.3334 18.3332 14.6025 18.3332 10.0001C18.3332 5.39771 14.6022 1.66675 9.99984 1.66675C5.39746 1.66675 1.6665 5.39771 1.6665 10.0001C1.6665 14.6025 5.39746 18.3334 9.99984 18.3334Z",fill:"#00B16A"}),q.default.createElement("path",{d:"M9.58558 12.6674C9.22944 12.668 8.87668 12.5983 8.54752 12.4623C8.21835 12.3264 7.91925 12.1268 7.66732 11.8751L6.68587 10.8931C6.55607 10.7587 6.48424 10.5787 6.48587 10.3919C6.48749 10.2051 6.56243 10.0263 6.69455 9.89422C6.82667 9.7621 7.00539 9.68716 7.19222 9.68554C7.37906 9.68391 7.55906 9.75574 7.69345 9.88554L8.67491 10.8675C8.79344 10.986 8.93415 11.08 9.08902 11.1442C9.24389 11.2083 9.40987 11.2413 9.5775 11.2413C9.74513 11.2413 9.91111 11.2083 10.066 11.1442C10.2208 11.08 10.3616 10.986 10.4801 10.8675L16.7033 5.24335C16.8443 5.12184 17.0272 5.06032 17.213 5.07195C17.3987 5.08358 17.5726 5.16744 17.6973 5.30558C17.8221 5.44373 17.8878 5.6252 17.8805 5.81118C17.8731 5.99717 17.7933 6.17291 17.6581 6.30081L11.4592 11.8998C11.2128 12.1448 10.9205 12.3387 10.5989 12.4705C10.2774 12.6022 9.93304 12.6692 9.58558 12.6674Z",fill:"white"}))),q.default.createElement(d.Text,{size:"p3"},c||e("pnModal.disclaimer"))),q.default.createElement(d.Heading,{tag:"h5"},e("healthToolPNModal.yourPre")),o.length>0&&q.default.createElement(Hs,{topicsGroup:[{label:"",topics:o}],selectedTopics:o,readonly:!0})))},ad=({isMobile:n,isLoggedIn:o,pnSuggestCategory:s=[],acquisitionInfo:c,currentUrl:u,opened:p,close:m,finishLabelOnResult:h,onRegisterSuccess:g,disclaimerText:b})=>{const{t:x,locale:v}=i.useTranslations(),{action:{pushNotifications:y}}=t.useContext(d.TogetherComponentGlobalContext),w=l.CommonGAssets.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),C=l.CommonGAssets.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),[E,k]=t.useState([]),[S,A]=t.useState([]),[T,N]=t.useState(0),[I,B]=t.useState({name:"",fitnessTopics:[]}),[P,D]=t.useState(!1),M=()=>N(2),z=t.useCallback((t=>e.__awaiter(void 0,void 0,void 0,(function*(){try{D(!0),yield d.callApiWithAuth(d.getPremiumApiPath(Ms,{website_url:d.getWebsiteUrlApi(v)}),"post",{headers:{"Content-Type":"application/json"},method:"POST",data:{ga_client_id:K.default.get(r.GA_TOKEN_COOKIE),client_ip:window.clientIP||"",user_info:Object.assign(Object.assign({},c.userInfo),{name:t||I.name,type_subscription:1}),domain:r.domainLocales[v||f.LOCALE.Vietnam],category:S,perferred:c.preferredTopics.map((({id:e})=>({id:e})))}}),D(!1),yield d.callApiWithAuth(d.getSsoApiPath(Fs),"post",{headers:{"Content-Type":"application/json"},method:"PUT",data:{subscription:1}}),M()}catch(e){console.log({err:e}),D(!1),y({title:x("notification.comment.somethingWrong"),message:"",type:"danger"})}}))),[I,S]);return t.useEffect((()=>{[w,C].forEach((e=>{(new Image).src=e}))}),[]),q.default.createElement(Us.Provider,{value:{currentUrl:u,isMobile:n,isLoggedIn:o,opened:p,close:m,pnSuggestCategory:s,nextStep:()=>N((e=>e<3?e+1:e)),prevStep:()=>N((e=>e>0?e-1:e)),lastStep:M,categoryLibs:E,setCategoryLibs:k,selectCategory:S,setSelectCategory:A,formValues:I,setFormValues:B,maxSelectCategory:5,submitLoading:P,onSubmit:z,onRegisterSuccess:g,finishLabelOnResult:h,disclaimerText:b}},q.default.createElement($s,{isMobile:n,desktopBanner:l.CommonGAssets.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),mobileBanner:l.CommonGAssets.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),modalRatio:{width:960,height:588},desktopBannerRatio:{width:384,height:588},opened:p,onClose:m,zIndex:305,closeProps:{dataEventCategory:"Newsletter",dataEventAction:"Close Click",dataEventLabel:u}},q.default.createElement(a.Stepper,{active:T,onStepClick:N,styles:{root:{height:"100%"},content:{padding:0,height:"100%",width:"100%"},steps:{display:"none"}}},q.default.createElement(a.Stepper.Step,null,q.default.createElement(Gs,null)),q.default.createElement(a.Stepper.Step,null,q.default.createElement(ed,null)),q.default.createElement(a.Stepper.Step,null,q.default.createElement(td,null)))))},id=()=>{const{locale:a}=i.useTranslations(),{isMobile:n,isLoggedIn:o,currentUrl:r,acquisitionInfo:l,categoryIds:s,state:c,setState:u,settings:p,submitHandler:m,subcribeHealthStatus:h,showPNModal:g,setShowPNModal:f,setIsBack:b}=t.useContext(Bs),[x,v]=t.useState([]),[y,w]=t.useState(g);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t;const i=yield d.callApiWithAuth(d.getPremiumApiPath(Ds,{_locale:a}),"get"),n=[...(null===(e=null==i?void 0:i.data)||void 0===e?void 0:e.interested)||[],...(null===(t=null==i?void 0:i.data)||void 0===t?void 0:t.trending)||[]];v(n.filter((e=>s.includes(Number(e.catId)))))}))}),[]);const C=t.useRef([]);return t.useEffect((()=>{const e=(null==h?void 0:h.value)||"",t=e.split("|").filter(Boolean);let a=e;C.current.push(h),t.length>1&&(null!==C.current[0]&&b(!0),Object.keys(m).map((e=>{const i=e.split("|");if(t.length===i.length){let n=0;t.map((e=>{i.includes(String(e))&&(n+=1)})),n===t.length&&(a=e)}})));const i=t.length>0?m[a]:p;u(i)}),[h]),t.useEffect((()=>{w(g)}),[g]),(null==c?void 0:c.action)!==Ns.Hide?q.default.createElement(q.default.Fragment,null,q.default.createElement(js,Object.assign({},p.props)),q.default.createElement(ad,{acquisitionInfo:l,isMobile:n,isLoggedIn:o,currentUrl:r,pnSuggestCategory:x,opened:y,close:()=>{var e;w(!1),f(!1),setTimeout((()=>{var e;(null===(e=c.actionParams)||void 0===e?void 0:e.hideBannerWhenClose)&&u({action:Ns.Hide})}),400),(null===(e=c.actionParams)||void 0===e?void 0:e.hideBannerWhenClose)&&u({action:Ns.Hide})},onRegisterSuccess:()=>w(!1)})):null},nd={pregnancy:Ss.Pregnant,parenting:Ss.Parenting},od={[Ss.Pregnant]:"pregnant",[Ss.Parenting]:"parent"};exports.API_DATE_FORMAT=gi,exports.AdBlock=Pn,exports.AffiliateIcon=re,exports.AuthorBadge=ie,exports.Body=({children:e,className:t,style:a,isHoverable:i,isStriped:n})=>q.default.createElement(tt,{className:t,style:a,"data-is-striped":n||void 0,"data-is-hoverable":i||void 0},e),exports.BookingBtn=oe,exports.BookmarkedIcon=le,exports.CardAuthor=Xo,exports.CardReactions=Yn,exports.Cell=({children:e,className:t,style:a,textAlign:i,isTableHead:n})=>q.default.createElement(Ye,{className:t,style:a,"data-text-align":i||"left",as:n?"th":"td"},e),exports.Close=ne,exports.DatePicker=ge,exports.DateToInputValue=fi,exports.DoctorInfo=Ue,exports.Dropdown=Ce,exports.FormControl=Pi,exports.FormControl$1=Ki,exports.FormControl$2=an,exports.Head=({isSticky:e,children:t,className:a,style:i})=>q.default.createElement(et,{className:a,"data-is-sticky":e||void 0,style:i},q.default.createElement(Je,null,t)),exports.LabelSortPin=eo,exports.LabelSorting=({onChange:e,className:a,style:i,leftLabel:n,rightLabel:o,color:r,value:l,choices:s})=>{const{data:{env:{isMarryBaby:c}}}=t.useContext(d.TogetherComponentGlobalContext);return q.default.createElement(eo,{label:n,rightLabel:q.default.createElement(no,{position:"bottom",align:"end",data:{isShowheader:!1,type:"list",list:s.map((t=>({label:t.label,onClick:()=>e&&e(String(t.value)),selected:t.value===l,className:"bold-item"})))},toggleButtonContent:q.default.createElement("div",{style:{display:"flex"}},q.default.createElement(k.Text,{style:{display:"flex",alignItems:"center",fontWeight:"normal",marginRight:12},size:"p4"},o),q.default.createElement("img",{src:c?"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M8 14L12 18L16 14' stroke='%233E3F58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3cpath d='M16 10L12 6L8 10' stroke='%233E3F58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3c/svg%3e":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.49992 7H11.4998C11.6352 7 11.7525 6.94506 11.8514 6.83509C11.9502 6.72515 11.9999 6.59496 11.9999 6.44449C11.9999 6.29402 11.9503 6.16389 11.8514 6.0538L8.35141 2.16491C8.25252 2.05509 8.13538 2 7.99988 2C7.86437 2 7.74723 2.05509 7.64826 2.16491L4.1483 6.0538C4.04932 6.16377 3.99988 6.29402 3.99988 6.44449C3.99988 6.59493 4.04932 6.72515 4.1483 6.83509C4.24738 6.94506 4.36452 7 4.49992 7Z' fill='%238C8C8C'/%3e%3cpath d='M11.4998 9H4.49992C4.36441 9 4.24727 9.05497 4.1483 9.16482C4.04932 9.2748 3.99988 9.40496 3.99988 9.55543C3.99988 9.7059 4.04932 9.83616 4.1483 9.94607L7.64826 13.835C7.74734 13.9449 7.86448 14 7.99988 14C8.13527 14 8.25252 13.9449 8.35141 13.835L11.8514 9.94604C11.9502 9.83616 11.9999 9.7059 11.9999 9.5554C11.9999 9.40496 11.9503 9.2748 11.8514 9.16479C11.7525 9.05485 11.6352 9 11.4998 9Z' fill='%238C8C8C'/%3e%3c/svg%3e",style:{width:16,height:16,alignSelf:"center"},loading:"lazy"}))}),color:"gray",className:a,style:i})},exports.Loading=_n,exports.MAPPING_CATEGORY_PREMIUM_API_TYPE=od,exports.MAPPING_CATEGORY_PREMIUM_TYPE=nd,exports.MainInputTriggerContext=Rr,exports.MenuLink=({icon:e,isActive:t,children:a,isCollapsed:i,activeIcon:n,onLinkClick:o,textSize:r="base",textType:l="bold",textColorActive:s="#fff",textColor:d="#595959"})=>q.default.createElement(He,{"data-is-link-active":t||void 0,onClick:o,"data-is-link-collapsed":i||void 0},t&&n?n:e,!i&&q.default.createElement(k.Text,{size:r,type:l,color:t?s:d},a)),exports.MobileBottomNavigation=Pt,exports.MobileBottomNavigationIcon=Bt,exports.OvulationCalculator=({locale:e,onSubmitOvulation:a,isSide:n,siteType:o})=>{const{t:r}=i.useTranslations(),[l,s]=t.useState(rn.trackPeriod),c=[{label:r("ovulationPage.trackPeriod"),value:rn.trackPeriod},{label:r("ovulationPage.conceive"),value:rn.conceive},{label:r("ovulationPage.avoidPregnancy"),value:rn.avoidPregnancy}];return q.default.createElement(yi,null,q.default.createElement(ci,{className:"input-form input-section","data-is-side":!0},"marryBaby"===o?q.default.createElement(si,{groupedWithLabel:r("dueDatePage.calculationMethod"),options:c,placeholder:r("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:c[l],onChange:e=>{s(e.value)}}):q.default.createElement(q.default.Fragment,null,q.default.createElement(d.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},r("ovulationPage.objectives")),q.default.createElement(ui,{"data-is-side":n},q.default.createElement(Ce,{options:c,placeholder:r("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:c[l],onChange:e=>{s(e.value)}})))),q.default.createElement(on,{siteType:o,locale:e,onSubmit:({startDate:e,cycle:t,periodLength:i})=>{a&&a({method:l,periodDateStart:e,cycle:t,periodLength:i})},isSide:n}))},exports.PopoverMenu=io,exports.PopupDoctor=Bo,exports.PopupExpert=Ro,exports.PopupFrame=Lr,exports.PopupHospital=Vo,exports.PostContent=Gr,exports.ProfileDetail=Jl,exports.ProfileDetailModal=Qo,exports.Radio=te,exports.RadioGroup=_e,exports.RichTextEditor=({html:a,onChange:i,className:n,style:o,onImagePickerClick:r,bannedWords:l=[],onInvalidUrlsChange:c,onPreviewUrlChange:p,setEditorRef:m,isReplying:h})=>{var g,f,b,x;const v=t.useRef([]);v.current=l;const[y,w]=t.useState([]),[C,E]=t.useState(null),{data:{locale:S}}=t.useContext(d.TogetherComponentGlobalContext),A=(null==l?void 0:l.join(","))||"";t.useEffect((()=>{var e,t;const a=null===(t=null===(e=z.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root.innerHTML;I(a)}),[A]);const T=e=>{C&&C.url===e||(E({url:e,isFetching:!0}),d.callApi(d.getApiPath(d.PATHS.FETCH_PREVIEW,{_locale:S}),"POST",{data:{link:e}}).then((t=>{var a,i,n,o;E({title:null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.title,description:null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.description,image:(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.image)||(null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.logo),url:e})})).catch((()=>{E(null)})))},N=t.useRef(T);N.current=T;const I=t.useCallback(W.default((e=>{if(e){const t=Sr(e,{bannedWords:v.current,formatUrl:!0}),{invalidUrls:a,previewUrl:n,value:o}=t;a&&w(a),n?N.current(n):E(null),o!==e&&(null==i||i(o))}}),500),[]);t.useEffect((()=>{c&&c(y)}),[y]),t.useEffect((()=>{p&&((null==C?void 0:C.url)?p({title:C.title||"",url:C.url||"",image:C.image||"",description:C.description||""}):p(null))}),[C]);const B=t.useRef(r);B.current=r;const P=L.useUniqueId(),D=t.useRef({toolbar:{handlers:{image:()=>{var e;return null===(e=B.current)||void 0===e?void 0:e.call(B)},link:()=>!1},container:"#toolbar-"+P},preserveWhiteSpace:!0}),M=t.useRef(-1),z=t.useRef(null);m&&(null===(f=null===(g=z.current)||void 0===g?void 0:g.getEditor())||void 0===f?void 0:f.root)&&m(null===(x=null===(b=z.current)||void 0===b?void 0:b.getEditor())||void 0===x?void 0:x.root);const O=()=>{var e,t,a,i,n,o,r,l;if(null===(t=null===(e=z.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root){const e=Er(null===(i=null===(a=z.current)||void 0===a?void 0:a.getEditor())||void 0===i?void 0:i.root),t=null===(o=null===(n=z.current)||void 0===n?void 0:n.getEditor())||void 0===o?void 0:o.root.innerHTML;if(e>=0&&e<t.length){if(hr(t,!0).length<30-(h?1:0)){const e=function(e){var t,a;let i=null;if(void 0!==window.getSelection){const n=window.getSelection();if((null==n?void 0:n.rangeCount)&&(null==n?void 0:n.rangeCount)>0){const n=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(n){const t=n.cloneRange();t.selectNodeContents(e),t.setEnd(n.endContainer,n.endOffset);const o=(t.endContainer.nodeValue||"").substring(0,n.endOffset),r=o.lastIndexOf("@");if(r+1<o.length&&(0===r||" @"===o.slice(r-1,r+1))){const e=null===(a=o.slice(r+1))||void 0===a?void 0:a.trim();if(e){t.setStart(n.endContainer,r);const a=t.cloneRange();a.setStart(a.endContainer,r),i={name:e,rect:t.getBoundingClientRect(),replaceRange:a}}}}}}return i}(null===(l=null===(r=z.current)||void 0===r?void 0:r.getEditor())||void 0===l?void 0:l.root);e?(F(e.name,e.rect),H.current=e.replaceRange):(H.current=null,F("",null))}else H.current=null,F("",null);M.current=e}}else R([])},[_,R]=t.useState([]),[j,$]=t.useState({top:0,left:0}),F=t.useCallback(W.default(((t,a,i)=>e.__awaiter(void 0,void 0,void 0,(function*(){var e,n,o,r;if(!t||!DOMRect)return R([]);const l=yield((null===(e=s.getCookie(d.BEARER_TOKEN_COOKIE))||void 0===e?void 0:e.length)||0)>0?d.callApiWithAuth(d.getApiPath(d.PATHS.SEARCH_USER,{_locale:S,name:t}),"get"):d.callApiWithAdminAuth(d.getApiPath(d.ADMIN_PATHS.SEARCH_USER,{_locale:S,name:t}),"get");Z(0),R(null===(o=null===(n=null==l?void 0:l.data)||void 0===n?void 0:n.users)||void 0===o?void 0:o.filter((e=>!(null==i?void 0:i.includes(String(e.id))))));const c=a,u=null===(r=V.current)||void 0===r?void 0:r.getBoundingClientRect();if(c&&u){const e=343,t=256,a={top:c.bottom-u.top,width:"min(343px, 100%)",maxHeight:t};u.width-(c.left-u.left)<e?a.right=0:a.left=c.left-u.left,$(a)}}))),500),[]),U=(e,t)=>{var a,i,n;if(H.current){H.current.deleteContents();const o=document.createElement("mention");o.setAttribute("data-id",e),o.setAttribute("data-name",t),o.innerText=t;const r=document.createTextNode(" ");H.current.insertNode(r),H.current.insertNode(o);(null===(i=null===(a=z.current)||void 0===a?void 0:a.getEditor())||void 0===i?void 0:i.root).focus();const l=null===(n=window.getSelection())||void 0===n?void 0:n.getRangeAt(0);null==l||l.setStart(H.current.endContainer,H.current.endOffset),null==l||l.setEnd(H.current.endContainer,H.current.endOffset)}R([])},V=t.useRef(null),H=t.useRef(null),G=t.useRef(null),[Q,Z]=t.useState(0);return t.useEffect((()=>{if(G.current){const e=G.current,t=e.children.item(Q);if(t){const a=e.getBoundingClientRect(),i=t.getBoundingClientRect();t.offsetTop<e.scrollTop?e.scrollTop=t.offsetTop:t.offsetTop+i.height>e.scrollTop+a.height&&(e.scrollTop=t.offsetTop-a.height+i.height)}}}),[Q]),t.useEffect((()=>{const e=function(e){var t;(null===(t=V.current)||void 0===t?void 0:t.contains(e.target))||R([])};return window.addEventListener("click",e,{passive:!0}),()=>{window.removeEventListener("click",e)}}),[]),q.default.createElement(wr,{ref:V,className:n,style:o,onKeyDownCapture:e=>{if(null==_?void 0:_.length){let t=!1;if("ArrowDown"===e.key)t=!0,Z((e=>e+1>=_.length?0:e+1));else if("Escape"===e.key)t=!0,Z(0),R([]);else if("ArrowUp"===e.key)t=!0,Z((e=>e-1<0?_.length-1:e-1));else if("Enter"===e.key||"Tab"===e.key){const e=_[Q];e&&(t=!0,U(e.id,e.name))}if(t)return e.preventDefault(),!1}}},q.default.createElement(Ar,{id:P,onAddLink:(e,t)=>{var a,n;const o=M.current+1,r=null===(n=null===(a=z.current)||void 0===a?void 0:a.getEditor())||void 0===n?void 0:n.root.innerHTML,l=((null==r?void 0:r.substring(0,o))||"")+`<mocka data-href="${t}" data-url="true">${e}</mocka> `+((null==r?void 0:r.substring(o))||"");null==i||i(l),I(l)}}),Cr&&q.default.createElement(Cr,{ref:z,theme:"snow",value:a,onChange:e=>{null==i||i(e),I(e),O()},onChangeSelection:()=>{O()},modules:D.current,formats:["mocka1","mention","id","key","bold","italic","underline","list","bullet"]}),!!(null==_?void 0:_.length)&&q.default.createElement("div",{ref:G,className:"mention-search-container",style:j},_.map(((e,t)=>q.default.createElement("div",{className:"mention-search-item "+(Q===t?"item-selected":""),key:e.id,onClick:t=>{t.preventDefault(),t.stopPropagation(),U(e.id,e.name)},onMouseEnter:()=>{Z(t)}},q.default.createElement(u.UserAvatar,{className:"search-avatar",username:e.name,avatar:e.avatar}),q.default.createElement("div",null,q.default.createElement(k.Text,{size:"p2"},e.name),q.default.createElement(k.Text,{size:"p4",color:"#595959"},"@",e.username)))))))},exports.Row=Je,exports.ShareBox=Fr,exports.SharePopup=({trackingCategory:e,className:n,style:o,url:r,avatar:l,text:s,onClose:c})=>{const{data:{env:{isMarryBaby:u}}}=t.useContext(d.TogetherComponentGlobalContext),{t:p}=i.useTranslations(),[m,g]=t.useState(!1);return t.useEffect((()=>(h.toggleNoScroll(!0),setTimeout((()=>g(!0)),0),()=>h.toggleNoScroll(!1))),[]),q.default.createElement(a.Portal,null,q.default.createElement(Ur,{"data-is-marrybaby":u,className:n,style:o},q.default.createElement(Lr,{className:"share-popup",isOpen:m,onClose:c,heading:p("bottomBar.share")},u?q.default.createElement(k.Text,{className:"share-mb-text",size:"sm"},p("article.shareOn")):q.default.createElement("div",{className:"custom-share__header"},l&&q.default.createElement("div",{className:"custom-share__header-image"},q.default.createElement("img",{src:l,loading:"lazy"})),q.default.createElement("div",{className:"custom-share__header-info"},q.default.createElement(d.Heading,{tag:"h4"},s),q.default.createElement(k.Text,{className:"desc",size:"md"},r))),m&&q.default.createElement(Fr,{trackingCategory:e,shareUrl:r||("undefined"!=typeof window?window.location.href:""),title:s}))))},exports.SideHeader=({isCollapsed:e,defaultLogo:t,onBackClick:a,customIcon:i})=>q.default.createElement(je,null,q.default.createElement(E.Logo,{type:e?"logomark":t||"hellocare",customSize:{width:e?"24px":"77px",height:"24px"}}),q.default.createElement($e,{"data-is-collapsed":e||void 0,onClick:a},i||q.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 20 20",width:"20px",height:"20px"},q.default.createElement("path",{d:"M10 .75A9.25 9.25 0 1019.25 10 9.25 9.25 0 0010 .75z",fill:"none",stroke:"#d2d6dc",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),q.default.createElement("path",{d:"M11.44 6.53L8 10l3.48 3.47",fill:"none",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})))),exports.SideMenu=({isCollapsed:e,className:t,style:a,children:i})=>q.default.createElement(Re,{style:a,className:t,"data-is-collapsed":e||void 0},i),exports.SourceList=vs,exports.StyleForm=Gi,exports.StyledAcceptButton=Et,exports.StyledAcceptCardContainer=vt,exports.StyledActive=Ci,exports.StyledArrowWrapper=il,exports.StyledBabyGrowthWrapper=qi,exports.StyledBreadcrumbContainer=Ie,exports.StyledBreadcrumbWrapper=Be,exports.StyledButton=Ni,exports.StyledButton$1=Xi,exports.StyledButton$2=en,exports.StyledButtonGroup=Ct,exports.StyledCalendarCellsWrapper=sn,exports.StyledCalendarDateGrid=fn,exports.StyledCalendarDayLabel=pn,exports.StyledCalendarDayNumber=xn,exports.StyledCalendarDayNumberWrapper=bn,exports.StyledCalendarDaysOfWeek=un,exports.StyledCalendarDaysWrapper=hn,exports.StyledCalendarHead=dn,exports.StyledCalendarMonthSeparator=mn,exports.StyledCalendarMonthWrapper=gn,exports.StyledCalendarWrapper=ln,exports.StyledCalendarWrapper$1=yn,exports.StyledCardLink=Rn,exports.StyledCardPost=ys,exports.StyledCardPost$1=ts,exports.StyledCategoryCard=ce,exports.StyledCheckboxGroup=ue,exports.StyledCircleArrow=nl,exports.StyledContainer=Ai,exports.StyledContainer$1=Bi,exports.StyledContainer$2=Yi,exports.StyledContainer$3=tn,exports.StyledContent=Si,exports.StyledCreateNewPost=Yo,exports.StyledCreatePostDescription=yr,exports.StyledCreatePostTitle=Ir,exports.StyledDescription=wt,exports.StyledDescriptionWrapper=Qe,exports.StyledDetailStep=Pe,exports.StyledDetailStepDescription=Oe,exports.StyledDetailStepIndicator=De,exports.StyledDetailStepIndicatorExternal=Me,exports.StyledDetailStepLabel=ze,exports.StyledDot=We,exports.StyledDropDown=si,exports.StyledError=Jo,exports.StyledFixedAdBlock=En,exports.StyledFloatButtonGroup=ut,exports.StyledFloatButtonGroupBackgroundPanel=pt,exports.StyledFloatButtonGroupButton=ft,exports.StyledFloatButtonGroupButtonIcon=xt,exports.StyledFloatButtonGroupButtonLabel=bt,exports.StyledFloatButtonGroupContent=mt,exports.StyledFloatButtonGroupItemsWrapper=ht,exports.StyledFloatButtonGroupToggleIcon=gt,exports.StyledFormInput=wi,exports.StyledIcon=sl,exports.StyledIconText=Ee,exports.StyledImagePreviewContainer=el,exports.StyledImagePreviewPopup=Kr,exports.StyledImagePreviewTopbar=tl,exports.StyledImagePreviewWrapper=al,exports.StyledInner=ll,exports.StyledInput=Ii,exports.StyledInputCommentBar=_r,exports.StyledInputForm=xi,exports.StyledInputWrapper=yi,exports.StyledIsQuestion=Ko,exports.StyledLastPeriodFormContainer=pi,exports.StyledMethodContainer=ci,exports.StyledMethodSwitcherContainer=ui,exports.StyledNotificationBar=Jr,exports.StyledPoliciesButton=kt,exports.StyledPopupDanger=Pr,exports.StyledPostImagePreview=Yr,exports.StyledRadioGroup=Ti,exports.StyledRadioImageGroup=Qi,exports.StyledRadioImageItem=Zi,exports.StyledRow=Di,exports.StyledRow$1=Ji,exports.StyledRow$2=nn,exports.StyledScrollList=qe,exports.StyledShareContainer=wn,exports.StyledShareDrawer=Cn,exports.StyledSlider=ke,exports.StyledSocialLinkPreview=cl,exports.StyledSourceList=ws,exports.StyledStatisticContainer=Ge,exports.StyledStatisticNumberWrapper=Ze,exports.StyledStep=Se,exports.StyledStepLabel=Ne,exports.StyledSubmitButton=vi,exports.StyledSubmitReportForm=Vr,exports.StyledSurveyQuestionCard=it,exports.StyledSurveyThankyouCard=ot,exports.StyledTextField=di,exports.StyledTitleSection=yt,exports.StyledTopicSelectList=Br,exports.StyledTrack=Te,exports.StyledTrackContainer=Ae,exports.StyledTwins=bi,exports.StyledWrapper=vn,exports.StyledWrapper$1=dl,exports.SurveyOrPremiumBanner=n=>{var{type:o,articleId:s=0,categoryIds:c=[],isMarketing:u,isSurveyType:p,hasPremiumBanner:m,currentUrl:h,isMobile:g,subcribeHealthStatus:f,setShouldAcquisitionModalOpen:b,onValueChange:x,source:v="discover",Wrapper:y}=n;e.__rest(n,["type","articleId","categoryIds","isMarketing","isSurveyType","hasPremiumBanner","currentUrl","isMobile","subcribeHealthStatus","setShouldAcquisitionModalOpen","onValueChange","source","Wrapper"]);const{t:w}=i.useTranslations(),{data:{userInfo:C}}=t.useContext(d.TogetherComponentGlobalContext),E=Boolean(null==C?void 0:C.id),[k,S]=t.useState(null),[A,T]=t.useState(),[N,I]=t.useState(""),[B,P]=t.useState(!1),[D,M]=t.useState(!1),z=t.useMemo((()=>nd[o]),[]),O=((e,t)=>({[Ss.Pregnant]:{action:Ns.ShowOptionBanner,props:{heading:e("pnBanner.pregnancy.heading"),description:e("pnBanner.pregnancy.desc"),styleType:Ts.Button,thumbnail:{desktop:l.CommonGAssets.getAssetPath("newsletter/banner-option-pregnancy-desktop.png"),mobile:l.CommonGAssets.getAssetPath("newsletter/banner-option-pregnancy-mobile.png")},buttonProps:{variant:"white",styles:e=>({minWidth:a.rem(80),[e.fn.largerThan("sm")]:{minWidth:a.rem(120)}})},items:[{label:e("switchBtn.yes"),value:"yes",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Are you navigating the world of pregnancy - Yes Click",dataEventLabel:t}},{label:e("switchBtn.no"),value:"no",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Are you navigating the world of pregnancy - No Click",dataEventLabel:t}}]},submitHandler:{yes:{action:Ns.ShowTool,props:{value:Es.DUE_DATE}},no:{action:Ns.ShowPremiumModal}}},[Ss.Parenting]:{action:Ns.ShowOptionBanner,props:{heading:e("pnBanner.parenting.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:l.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:l.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,styleType:Ts.Checkbox,items:[{label:e("pnBanner.toddlers"),value:"todders"},{label:e("pnBanner.teenager"),value:"teenager"}],submitBtnTracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the age range of your kids Click",dataEventLabel:t}},submitHandler:{todders:{action:Ns.ShowTool,props:{value:Es.BABY_VACCINE}},teenager:{action:Ns.ShowOptionBanner,props:{styleType:Ts.Button,heading:e("pnBanner.teenager.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:l.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:l.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-mobile.png")},buttonProps:{variant:"white"},items:[{label:e("childCard.boy"),value:"teenager.boy",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the gender of your kids - Boy Click",dataEventLabel:t}},{label:e("childCard.girl"),value:"teenager.girl",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the gender of your kids - Girl Click",dataEventLabel:t}}]}},"teenager.boy":{action:Ns.ShowPremiumModal},"teenager.girl":{action:Ns.ShowTool,activeTool:r.RISK_SCREENER_NAME.HPV,props:{value:r.RISK_SCREENER_NAME.HPV}},"todders|teenager":{action:Ns.ShowOptionBanner,props:{styleType:Ts.Button,heading:e("pnBanner.both.heading"),description:e("pnBanner.both.desc"),thumbnail:{desktop:l.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:l.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,buttonProps:{variant:"secondary"},styles:e=>({wrapper:{[e.fn.smallerThan("sm")]:{flexDirection:"column"}},button:{background:e.colors.blue[0]}}),items:[{label:e("pnBanner.vaccine.btnLabel"),activeTool:Es.BABY_VACCINE,isLink:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Baby Vaccine Click",dataEventLabel:t}},{label:e("pnBanner.pn.btnLabel"),value:"todders|teenager.showPN",isPNBtn:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Premium Newsletter Click",dataEventLabel:t}}]}},"todders|teenager.showPN":{action:Ns.ShowOptionBanner,props:{styleType:Ts.Button,heading:e("pnBanner.both.heading"),description:e("pnBanner.both.desc"),thumbnail:{desktop:l.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:l.CommonGAssets.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,buttonProps:{variant:"secondary"},styles:e=>({wrapper:{[e.fn.smallerThan("sm")]:{flexDirection:"column"}},button:{background:e.colors.blue[0]}}),items:[{label:e("pnBanner.vaccine.btnLabel"),activeTool:Es.BABY_VACCINE,isLink:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Baby Vaccine Click",dataEventLabel:t}}]}}}}}))(w,h)[z],L=null==O?void 0:O.submitHandler,_=y||a.Box,R=()=>m&&1!==(null==C?void 0:C.subscription)?q.default.createElement(Ps,null):null;return t.useEffect((()=>{E&&S({userInfo:C,preferredTopics:Dn,healthTopics:[]})}),[E]),q.default.createElement(Bs.Provider,{value:{settings:O,submitHandler:L,type:o,surveyType:z,value:N,setValue:I,isMobile:g,isLoggedIn:E,isMarketing:u,hasPremiumBanner:m,currentUrl:h,acquisitionInfo:k,categoryIds:c,subcribeHealthStatus:f,articleId:s,onValueChange:x,state:A,setState:T,handleClickOption:e=>{const t=(e=>{let t="";const a=e.split("|");return 1===a.length?e:(Object.keys(L).map((e=>{const i=e.split("|");if(a.length===i.length){let n=0;a.map((e=>{i.includes(String(e))&&(n+=1)})),n===a.length&&(t=e)}})),t)})(e);if(t){const a=L[t];a.action===Ns.ShowPremiumModal?m?(P(!0),T(Object.assign(Object.assign({},A),{actionParams:{hideBannerWhenClose:a.action===Ns.ShowPremiumModal}}))):(T({action:Ns.Hide}),null==x||x(e)):(T(a),null==x||x(e))}},showPNModal:B,setShowPNModal:P,source:v,Outside:_,isBack:D,setIsBack:M,minHeight:180,setShouldAcquisitionModalOpen:b}},void 0!==f?E?p&&O?(()=>{const e=L[(null==f?void 0:f.value)||""];return(null==e?void 0:e.action)===Ns.ShowPremiumModal?R():q.default.createElement(id,null)})():R():m?q.default.createElement(Ps,null):null:null)},exports.SurveyQuestionCard=({className:e,headerText:a,style:i,question:n,termAndPolicyText:o,prevText:r,nextText:l,isContactForm:s,isDisableNext:d,isDisablePrev:c,onPrevClick:u,onNextClick:p,isSubmitButton:m,isButtonCenter:h,progress:g,descriptionText:f})=>{var b,x,v;const[y,w]=t.useState([]),{is_multi_select:C,multi_select_option:E,from:A,to:T}=n,N=null==n?void 0:n.type,I="checkbox"===N&&(null===(b=n.options)||void 0===b?void 0:b.length)&&(!y||0===y.length||C&&E===dt.RANGE&&(y.length<A||y.length>T)||C&&E===dt.EXACT_NUMBER&&y.length!==A)||"radio"===N&&(null===(x=n.options)||void 0===x?void 0:x.length)&&(!y||0===y.length)||"textbox"===N&&(null===(v=n.textOptions)||void 0===v?void 0:v.length)&&(y.length<n.textOptions.length||y.some((e=>!e.value))),B="number"==typeof g?g>1?1:g<0?0:Number(g.toFixed(2)):-1,P=t.useRef(null),D=()=>"textbox"!==N||P.current.reportValidity();return q.default.createElement(it,{className:e,style:i},q.default.createElement("div",{className:"survey-inner-wrapper"},a&&q.default.createElement("div",{className:"survey-header"},q.default.createElement(k.Text,{className:"survey-header-text",size:"c2"},a)),q.default.createElement("form",{ref:P,onSubmit:e=>e.preventDefault()},q.default.createElement(st,{question:n,description:f,onOptionsChange:e=>{w(e)},onTextOptionsChange:e=>{w(e)}})),s&&l&&q.default.createElement(S.Button,{className:"survey-contact-submit",size:"lg",isDisabled:d||I,onClick:()=>D()&&p&&p(y)},l),o&&q.default.createElement("div",{className:"term-policy-container"},o),"number"==typeof g&&q.default.createElement("div",{className:"survey-progress-wrapper"},q.default.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${B})`}})),(r||l)&&q.default.createElement("div",{"data-center":h,className:"survey-button-wrapper"},r&&q.default.createElement(S.Button,{className:"survey-prev-button",size:"lg",color:c?"primary":"secondary",isDisabled:c,icon:q.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:c?"#fff":"#2D87F3"})),onClick:u},r),!s&&l&&q.default.createElement(S.Button,{onClick:()=>D()&&p&&p(y),className:"survey-next-button",size:"lg",isDisabled:d||I},l," ",m?void 0:q.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q.default.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},exports.TRANSITION_TIMING=ct,exports.Table=({children:e,className:t,style:a,horizontalPadding:i,verticalPadding:n})=>q.default.createElement(Xe,{className:t,style:a,theme:{horizontalPadding:i,verticalPadding:n}},e),exports.TagTopic=a=>{var{topics:n=[],onClick:o,className:l,style:s,trackingCategory:c="Together",locale:u="vi-VN",classNames:p,styles:m,unstyled:h,shortenedNumber:g=3,shortenedStyle:f}=a,b=e.__rest(a,["topics","onClick","className","style","trackingCategory","locale","classNames","styles","unstyled","shortenedNumber","shortenedStyle"]);const{t:x}=i.useTranslations(),{classes:v}=Kn(void 0,{name:"TagTopic",classNames:p,styles:m,unstyled:h}),{data:{env:{togetherBasePath:w}},action:{sanitizeFunction:C}}=t.useContext(d.TogetherComponentGlobalContext),[E,k]=t.useState(!f);return q.default.createElement("div",Object.assign({onClick:o,className:`${v.wrapper} ${l}`,style:s},b),(E?n:n.slice(0,g)).map(((e,t)=>{const a=(null==e?void 0:e.dueDateMonth)&&0!==(null==e?void 0:e.dueDateMonth)&&(null==e?void 0:e.dueDateYear)&&0!==(null==e?void 0:e.dueDateYear);return q.default.createElement("a",{className:v.item,key:t,"data-event-category":c,"data-event-action":"Topic in Post Click","data-event-label":`${d.getCurrentBaseUrl(u)}${w}${e.url}`,href:e.isActive&&!e.isHidden?`${w}${e.url}/`:void 0},q.default.createElement(d.Text,{size:"p4"},q.default.createElement("span",{style:Object.assign({},a&&{textTransform:"capitalize"}),dangerouslySetInnerHTML:{__html:a?`${y.format(new Date(2020,Number(e.dueDateMonth)-1,1),"MMMM",{locale:r.DATE_FNS_LOCALE[u]})}/${null==e?void 0:e.dueDateYear}`:(null==C?void 0:C(e.name))||e.name}})))})),!E&&n.length>g&&q.default.createElement("a",{className:v.item,href:"#",onClick:e=>{e.preventDefault(),k(!0)}},q.default.createElement(d.Text,{size:"p4"},"+",x("tagTopic.moreTopics",{number:n.length-g}))))},exports.TogetherAuthConfigContext=Mn,exports.TogetherAuthConfigContextProvider=({children:e,defaultParams:t})=>q.default.createElement(Mn.Provider,{value:{defaultParams:t}},e),exports.ToolsBannerCard=li,exports.TreePopoverMenu=no,exports.UnbookmarkedIcon=se,exports.UserInfo=({isCollapsed:e,userName:t,role:a,avatar:i})=>q.default.createElement(Ve,{"data-is-collapsed":e||void 0},q.default.createElement(Ue,{image:i,name:t,description:a,isDescriptionHidden:e})),exports.decodeMention=pr,exports.decodePostUrl=ur,exports.encodePostContent=(e,t=(e=>e))=>((e,t=(e=>e))=>{var a;return t(null===(a=e.replace(/(\ )+/g," ").replace(/(\&)+/g,"&"))||void 0===a?void 0:a.replace(/(\u200c|‌)+/g,"").replace(tr,((e,t,a)=>'="'!==t&&'data-url="true">'!==t?`<a href="${a}" target="_blank">${a}</a>`:e)).replace(er,((e,t,a)=>{var i;const n=null===(i=t.match(/data-href="([^"]*)"/im))||void 0===i?void 0:i[1];return n?`<a href="${n}" target="_blank">${a}</a>`:`<a href="${a}" target="_blank">${a}</a>`})))})((e=>e.replace(ir,((e,t,a)=>`[mention+id="${t}"+name="${a}"]`)))(fr(e)),t),exports.getDueDateConception=e=>{const t=new Date(e);return t.setDate(t.getDate()+265),{startDate:e,dueDate:t,otherInfo:{method:exports.DueDateCalculatorType.conception+1,conception_date:y.format(e,gi),first_day:null,cycle_length_days:null,ivf_transfer_date:null,days_transfer:null}}},exports.getDueDateIVF=(e,t)=>{const a=new Date(e);return a.setDate(a.getDate()+265-t),{startDate:e,dueDate:a,otherInfo:{method:exports.DueDateCalculatorType.IVF+1,ivf_transfer_date:y.format(e,gi),days_transfer:t,conception_date:null,first_day:null,cycle_length_days:null}}},exports.getDueDateLastPeriod=(e,t)=>{const a=t-21+272,i=new Date(e);return i.setDate(i.getDate()+a),{startDate:e,dueDate:i,otherInfo:{method:exports.DueDateCalculatorType.lastPeriod+1,first_day:y.format(e,gi),cycle_length_days:t,conception_date:null,ivf_transfer_date:null,days_transfer:null}}},exports.getMentionIdsFromString=hr,exports.highlightBadWords=vr,exports.htmlReactParser=Wa,exports.img=Or,exports.removeBannedWordWrapper=fr,exports.uploadAndGetSrc=(t,a,i)=>"string"==typeof t?Promise.resolve(t):e.__awaiter(void 0,void 0,void 0,(function*(){var e;const n=new FormData;if(t.type.startsWith("image/gif"))n.append("image",t);else{const e=yield Promise.resolve().then((function(){return H(require("browser-image-compression"))})),a=yield e.default(t,{maxSizeMB:.4,maxWidthOrHeight:1536,useWebWorker:!0});n.append("image",a)}const o=i?d.callApiWithAdminAuth:d.callApiWithAuth,r=yield o(d.getApiPath(i?d.ADMIN_PATHS.COMMENT.IMAGE_UPLOAD:d.PATHS.COMMENT.IMAGE_UPLOAD,{_locale:a}),"POST",{data:n});return(null===(e=null==r?void 0:r.data)||void 0===e?void 0:e.image)||""})),exports.useStyles=de,exports.useStyles$1=at,exports.useStyles$2=Wi,exports.useTogetherAuthRequiredAction=zn,exports.youtubeVidIdGetter=e=>{var t;if(!e.includes("youtu"))return"";return(null===(t=/(.*?)(^|\/|v=)([a-z0-9_-]{11})(.*)?/gim.exec(e))||void 0===t?void 0:t[3])||""};
|