"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _emotion = require("@salutejs/plasma-new-hope/emotion");
const _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        size: {
            s: (0, _emotion.css)`
                ${_emotion.tooltipTokens.paddingTop}: 0.5rem;
                ${_emotion.tooltipTokens.paddingRight}: 0.75rem;
                ${_emotion.tooltipTokens.paddingBottom}: 0.5rem;
                ${_emotion.tooltipTokens.paddingLeft}: 0.75rem;

                ${_emotion.tooltipTokens.minHeight}: 2rem;
                ${_emotion.tooltipTokens.borderRadius}: 0.5rem;

                ${_emotion.tooltipTokens.textFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.tooltipTokens.textFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.tooltipTokens.textFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.tooltipTokens.textFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.tooltipTokens.textFontLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.tooltipTokens.textFontLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.tooltipTokens.contentLeftMargin}: 0.25rem;

                ${_emotion.tooltipTokens.arrowMaskWidth}: 1rem;
                ${_emotion.tooltipTokens.arrowMaskHeight}: 1rem;
                ${_emotion.tooltipTokens.arrowMaskImage}: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");
                ${_emotion.tooltipTokens.arrowHeight}: 0.375rem;
                ${_emotion.tooltipTokens.arrowEdgeMargin}: 0.5625rem;
                ${_emotion.tooltipTokens.arrowBackground}: ${_sdds_serv.surfaceSolidCardBrightness};
            `,
            m: (0, _emotion.css)`
                ${_emotion.tooltipTokens.paddingTop}: 0.6875rem;
                ${_emotion.tooltipTokens.paddingRight}: 0.875rem;
                ${_emotion.tooltipTokens.paddingBottom}: 0.6875rem;
                ${_emotion.tooltipTokens.paddingLeft}: 0.875rem;

                ${_emotion.tooltipTokens.minHeight}: 2.5rem;
                ${_emotion.tooltipTokens.borderRadius}: 0.625rem;

                ${_emotion.tooltipTokens.textFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.tooltipTokens.textFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.tooltipTokens.textFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.tooltipTokens.textFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.tooltipTokens.textFontLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.tooltipTokens.textFontLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.tooltipTokens.contentLeftMargin}: 0.375rem;

                ${_emotion.tooltipTokens.arrowMaskWidth}: 1.25rem;
                ${_emotion.tooltipTokens.arrowMaskHeight}: 1.25rem;
                ${_emotion.tooltipTokens.arrowMaskImage}: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==");
                ${_emotion.tooltipTokens.arrowHeight}: 0.5rem;
                ${_emotion.tooltipTokens.arrowEdgeMargin}: 0.625rem;
                ${_emotion.tooltipTokens.arrowBackground}: ${_sdds_serv.surfaceSolidCardBrightness};
            `
        },
        view: {
            // TODO заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
            default: (0, _emotion.css)`
                ${_emotion.tooltipTokens.backgroundColor}: ${_sdds_serv.surfaceSolidCardBrightness};
                ${_emotion.tooltipTokens.boxShadow}: 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08);
                ${_emotion.tooltipTokens.color}: ${_sdds_serv.textPrimary};
            `
        }
    }
};
