"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: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_styledcomponents.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceSolidDefault};
                ${_styledcomponents.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_styledcomponents.loaderTokens.spinnerColor}: ${_sdds_serv.textPrimary};

                ${_styledcomponents.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            secondary: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_styledcomponents.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_styledcomponents.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_styledcomponents.loaderTokens.spinnerColor}: ${_sdds_serv.textSecondary};

                ${_styledcomponents.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_styledcomponents.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceAccent};
                ${_styledcomponents.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_styledcomponents.loaderTokens.spinnerColor}: ${_sdds_serv.textAccent};

                ${_styledcomponents.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            positive: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_styledcomponents.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfacePositive};
                ${_styledcomponents.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_styledcomponents.loaderTokens.spinnerColor}: ${_sdds_serv.textPositive};

                ${_styledcomponents.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            warning: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_styledcomponents.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceWarning};
                ${_styledcomponents.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_styledcomponents.loaderTokens.spinnerColor}: ${_sdds_serv.textWarning};

                ${_styledcomponents.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_styledcomponents.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceNegative};
                ${_styledcomponents.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_styledcomponents.loaderTokens.spinnerColor}: ${_sdds_serv.textNegative};

                ${_styledcomponents.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            info: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_styledcomponents.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceInfo};
                ${_styledcomponents.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_styledcomponents.loaderTokens.spinnerColor}: ${_sdds_serv.textInfo};

                ${_styledcomponents.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `
        },
        size: {
            xxl: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.width}: 100%;
                ${_styledcomponents.loaderTokens.height}: 100%;

                ${_styledcomponents.loaderTokens.progressBarCircularSize}: 128;
                ${_styledcomponents.loaderTokens.progressBarCircularHeight}: 8rem;
                ${_styledcomponents.loaderTokens.progressBarCircularWidth}: 8rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeWidth}: 0.25rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeSize}: 4;
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.h2.fontFamily};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.h2.fontSize};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.h2.fontStyle};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.h2Bold.fontWeight};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.h2.letterSpacing};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.h2.lineHeight};

                ${_styledcomponents.loaderTokens.spinnerSize}: 8rem;
            `,
            xl: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.width}: 100%;
                ${_styledcomponents.loaderTokens.height}: 100%;

                ${_styledcomponents.loaderTokens.progressBarCircularSize}: 88;
                ${_styledcomponents.loaderTokens.progressBarCircularHeight}: 5.5rem;
                ${_styledcomponents.loaderTokens.progressBarCircularWidth}: 5.5rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeWidth}: 0.25rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeSize}: 4;
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.h5.fontFamily};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.h5.fontSize};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.h5.fontStyle};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.h5Bold.fontWeight};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.h5.letterSpacing};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.h5.lineHeight};

                ${_styledcomponents.loaderTokens.spinnerSize}: 5.5rem;
            `,
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.width}: 100%;
                ${_styledcomponents.loaderTokens.height}: 100%;

                ${_styledcomponents.loaderTokens.progressBarCircularSize}: 56;
                ${_styledcomponents.loaderTokens.progressBarCircularHeight}: 3.5rem;
                ${_styledcomponents.loaderTokens.progressBarCircularWidth}: 3.5rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeSize}: 2;
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_styledcomponents.loaderTokens.spinnerSize}: 3.5rem;
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.width}: 100%;
                ${_styledcomponents.loaderTokens.height}: 100%;

                ${_styledcomponents.loaderTokens.progressBarCircularSize}: 48;
                ${_styledcomponents.loaderTokens.progressBarCircularHeight}: 3rem;
                ${_styledcomponents.loaderTokens.progressBarCircularWidth}: 3rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeSize}: 2;
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_styledcomponents.loaderTokens.spinnerSize}: 3rem;
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.width}: 100%;
                ${_styledcomponents.loaderTokens.height}: 100%;

                ${_styledcomponents.loaderTokens.progressBarCircularSize}: 32;
                ${_styledcomponents.loaderTokens.progressBarCircularHeight}: 2.25rem;
                ${_styledcomponents.loaderTokens.progressBarCircularWidth}: 2.25rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeSize}: 2;
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_styledcomponents.loaderTokens.spinnerSize}: 2.25rem;
            `,
            xs: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.width}: 100%;
                ${_styledcomponents.loaderTokens.height}: 100%;

                ${_styledcomponents.loaderTokens.progressBarCircularSize}: 24;
                ${_styledcomponents.loaderTokens.progressBarCircularHeight}: 1.5rem;
                ${_styledcomponents.loaderTokens.progressBarCircularWidth}: 1.5rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeSize}: 2;
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_styledcomponents.loaderTokens.spinnerSize}: 1.5rem;
            `,
            xxs: (0, _styledcomponents.css)`
                ${_styledcomponents.loaderTokens.width}: 100%;
                ${_styledcomponents.loaderTokens.height}: 100%;

                ${_styledcomponents.loaderTokens.progressBarCircularSize}: 16;
                ${_styledcomponents.loaderTokens.progressBarCircularHeight}: 1rem;
                ${_styledcomponents.loaderTokens.progressBarCircularWidth}: 1rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_styledcomponents.loaderTokens.progressBarCircularStrokeSize}: 2;
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.bodyXXS.fontFamily};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.bodyXXS.fontSize};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.bodyXXS.fontStyle};
                ${_styledcomponents.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.bodyXXS.fontWeight};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.bodyXXS.letterSpacing};
                ${_styledcomponents.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.bodyXXS.lineHeight};

                ${_styledcomponents.loaderTokens.spinnerSize}: 1rem;
            `
        }
    }
};
