"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
function _tagged_template_literal(strings, raw) {
    if (!raw) {
        raw = strings.slice(0);
    }
    return Object.freeze(Object.defineProperties(strings, {
        raw: {
            value: Object.freeze(raw)
        }
    }));
}
function _templateObject() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-negative);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-negative);\n                ",
        ": var(--outline-accent);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 2.5rem;\n                ",
        ": 0.75rem;\n\n                ",
        ": 0.75rem;\n\n                ",
        ": var(--plasma-typo-dspl-l-font-family);\n                ",
        ": var(--plasma-typo-dspl-l-font-style);\n                ",
        ": var(--plasma-typo-dspl-l-bold-font-weight);\n                ",
        ": var(--plasma-typo-dspl-l-letter-spacing);\n\n                ",
        ": 8rem;\n                ",
        ": 8rem;\n\n                ",
        ": 7rem;\n                ",
        ": 7rem;\n\n                ",
        ": 5.5rem;\n                ",
        ": 5.75rem;\n\n                ",
        ": var(--plasma-typo-h3-font-family);\n                ",
        ": var(--plasma-typo-h3-font-size);\n                ",
        ": var(--plasma-typo-h3-font-style);\n                ",
        ": var(--plasma-typo-h3-font-weight);\n                ",
        ": var(--plasma-typo-h3-letter-spacing);\n                ",
        ": var(--plasma-typo-h3-line-height);\n\n                ",
        ": 5rem;\n                ",
        ": 8rem;\n\n                ",
        ": 4.5rem;\n                ",
        ": 7rem;\n\n                ",
        ": 3.5rem;\n                ",
        ": 5.75rem;\n\n                ",
        ": 0.125rem;\n                ",
        ": 1.5rem;\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1.75rem;\n                ",
        ": 0.5rem;\n\n                ",
        ": 0.75rem;\n\n                ",
        ": var(--plasma-typo-dspl-m-font-family);\n                ",
        ": var(--plasma-typo-body-m-font-style);\n                ",
        ": var(--plasma-typo-body-m-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n\n                ",
        ": 5.5rem;\n                ",
        ": 5.75rem;\n\n                ",
        ": 4.5rem;\n                ",
        ": 4.75rem;\n\n                ",
        ": 3.5rem;\n                ",
        ": 3.75rem;\n\n                ",
        ": var(--plasma-typo-h4-font-family);\n                ",
        ": var(--plasma-typo-h4-font-size);\n                ",
        ": var(--plasma-typo-h4-font-style);\n                ",
        ": var(--plasma-typo-h4-font-weight);\n                ",
        ": var(--plasma-typo-h4-letter-spacing);\n                ",
        ": var(--plasma-typo-h4-line-height);\n\n                ",
        ": 3.5rem;\n                ",
        ": 5.75rem;\n\n                ",
        ": 3rem;\n                ",
        ": 4.75rem;\n\n                ",
        ": 2.25rem;\n                ",
        ": 3.75rem;\n\n                ",
        ": 0.094rem;\n                ",
        ": 1rem;\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1.5rem;\n                ",
        ": 0.25rem;\n\n                ",
        ": 0.5rem;\n\n                ",
        ": var(--plasma-typo-dspl-s-font-family);\n                ",
        ": var(--plasma-typo-body-s-font-style);\n                ",
        ": var(--plasma-typo-body-s-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n\n                ",
        ": 4rem;\n                ",
        ": 4.25rem;\n\n                ",
        ": 3rem;\n                ",
        ": 3.25rem;\n\n                ",
        ": 2.5rem;\n                ",
        ": 2.75rem;\n\n                ",
        ": var(--plasma-typo-h5-font-family);\n                ",
        ": var(--plasma-typo-h5-font-size);\n                ",
        ": var(--plasma-typo-h5-font-style);\n                ",
        ": var(--plasma-typo-h5-font-weight);\n                ",
        ": var(--plasma-typo-h5-letter-spacing);\n                ",
        ": var(--plasma-typo-h5-line-height);\n\n                ",
        ": 2.5rem;\n                ",
        ": 4.25rem;\n\n                ",
        ": 2rem;\n                ",
        ": 3.25rem;\n\n                ",
        ": 1.625rem;\n                ",
        ": 2.75rem;\n\n                ",
        ": 0.063rem;\n                ",
        ": 0.75rem;\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
var config = {
    defaults: {
        view: 'default',
        size: 'l'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.codeInputTokens.captionColor, _styledcomponents.codeInputTokens.captionColorError, _styledcomponents.codeInputTokens.codeColor, _styledcomponents.codeInputTokens.codeColorError, _styledcomponents.codeInputTokens.borderColorFocus)
        },
        size: {
            l: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.codeInputTokens.captionGap, _styledcomponents.codeInputTokens.codeItemsGap, _styledcomponents.codeInputTokens.separatorWidth, _styledcomponents.codeInputTokens.fontFamily, _styledcomponents.codeInputTokens.fontStyle, _styledcomponents.codeInputTokens.fontWeight, _styledcomponents.codeInputTokens.letterSpacing, _styledcomponents.codeInputTokens.largeFontSize, _styledcomponents.codeInputTokens.largeLineHeight, _styledcomponents.codeInputTokens.mediumFontSize, _styledcomponents.codeInputTokens.mediumLineHeight, _styledcomponents.codeInputTokens.smallFontSize, _styledcomponents.codeInputTokens.smallLineHeight, _styledcomponents.codeInputTokens.captionFontFamily, _styledcomponents.codeInputTokens.captionFontSize, _styledcomponents.codeInputTokens.captionFontStyle, _styledcomponents.codeInputTokens.captionFontWeight, _styledcomponents.codeInputTokens.captionLetterSpacing, _styledcomponents.codeInputTokens.captionLineHeight, _styledcomponents.codeInputTokens.largeCodeItemWidth, _styledcomponents.codeInputTokens.largeCodeItemHeight, _styledcomponents.codeInputTokens.mediumCodeItemWidth, _styledcomponents.codeInputTokens.mediumCodeItemHeight, _styledcomponents.codeInputTokens.smallCodeItemWidth, _styledcomponents.codeInputTokens.smallCodeItemHeight, _styledcomponents.codeInputTokens.codeItemCircleBorderWidth, _styledcomponents.codeInputTokens.codeItemCircleSize),
            m: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.codeInputTokens.captionGap, _styledcomponents.codeInputTokens.codeItemsGap, _styledcomponents.codeInputTokens.separatorWidth, _styledcomponents.codeInputTokens.fontFamily, _styledcomponents.codeInputTokens.fontStyle, _styledcomponents.codeInputTokens.fontWeight, _styledcomponents.codeInputTokens.letterSpacing, _styledcomponents.codeInputTokens.largeFontSize, _styledcomponents.codeInputTokens.largeLineHeight, _styledcomponents.codeInputTokens.mediumFontSize, _styledcomponents.codeInputTokens.mediumLineHeight, _styledcomponents.codeInputTokens.smallFontSize, _styledcomponents.codeInputTokens.smallLineHeight, _styledcomponents.codeInputTokens.captionFontFamily, _styledcomponents.codeInputTokens.captionFontSize, _styledcomponents.codeInputTokens.captionFontStyle, _styledcomponents.codeInputTokens.captionFontWeight, _styledcomponents.codeInputTokens.captionLetterSpacing, _styledcomponents.codeInputTokens.captionLineHeight, _styledcomponents.codeInputTokens.largeCodeItemWidth, _styledcomponents.codeInputTokens.largeCodeItemHeight, _styledcomponents.codeInputTokens.mediumCodeItemWidth, _styledcomponents.codeInputTokens.mediumCodeItemHeight, _styledcomponents.codeInputTokens.smallCodeItemWidth, _styledcomponents.codeInputTokens.smallCodeItemHeight, _styledcomponents.codeInputTokens.codeItemCircleBorderWidth, _styledcomponents.codeInputTokens.codeItemCircleSize),
            s: (0, _styledcomponents.css)(_templateObject3(), _styledcomponents.codeInputTokens.captionGap, _styledcomponents.codeInputTokens.codeItemsGap, _styledcomponents.codeInputTokens.separatorWidth, _styledcomponents.codeInputTokens.fontFamily, _styledcomponents.codeInputTokens.fontStyle, _styledcomponents.codeInputTokens.fontWeight, _styledcomponents.codeInputTokens.letterSpacing, _styledcomponents.codeInputTokens.largeFontSize, _styledcomponents.codeInputTokens.largeLineHeight, _styledcomponents.codeInputTokens.mediumFontSize, _styledcomponents.codeInputTokens.mediumLineHeight, _styledcomponents.codeInputTokens.smallFontSize, _styledcomponents.codeInputTokens.smallLineHeight, _styledcomponents.codeInputTokens.captionFontFamily, _styledcomponents.codeInputTokens.captionFontSize, _styledcomponents.codeInputTokens.captionFontStyle, _styledcomponents.codeInputTokens.captionFontWeight, _styledcomponents.codeInputTokens.captionLetterSpacing, _styledcomponents.codeInputTokens.captionLineHeight, _styledcomponents.codeInputTokens.largeCodeItemWidth, _styledcomponents.codeInputTokens.largeCodeItemHeight, _styledcomponents.codeInputTokens.mediumCodeItemWidth, _styledcomponents.codeInputTokens.mediumCodeItemHeight, _styledcomponents.codeInputTokens.smallCodeItemWidth, _styledcomponents.codeInputTokens.smallCodeItemHeight, _styledcomponents.codeInputTokens.codeItemCircleBorderWidth, _styledcomponents.codeInputTokens.codeItemCircleSize)
        },
        disabled: {
            true: (0, _styledcomponents.css)(_templateObject4(), _styledcomponents.codeInputTokens.disabledOpacity)
        }
    }
};
