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

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

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

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

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

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

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

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

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