"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
var _emotion = require("@salutejs/plasma-new-hope/emotion");
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-primary);\n                ",
        ": var(--surface-transparent-clear);\n                ",
        ": var(",
        ");\n                ",
        ": var(--text-primary-hover);\n                ",
        ": var(--text-primary-active);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-accent);\n                ",
        ": var(--surface-transparent-clear);\n                ",
        ": var(",
        ");\n                ",
        ": var(--text-accent-hover);\n                ",
        ": var(--text-accent-active);\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--surface-transparent-clear);\n                ",
        ": var(",
        ");\n                ",
        ": var(--text-secondary-hover);\n                ",
        ": var(--text-secondary-active);\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-positive);\n                ",
        ": var(--surface-transparent-clear);\n                ",
        ": var(",
        ");\n                ",
        ": var(--text-positive-hover);\n                ",
        ": var(--text-positive-active);\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-warning);\n                ",
        ": var(--surface-transparent-clear);\n                ",
        ": var(",
        ");\n                ",
        ": var(--text-warning-hover);\n                ",
        ": var(--text-warning-active);\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-negative);\n                ",
        ": var(--surface-transparent-clear);\n                ",
        ": var(",
        ");\n                ",
        ": var(--text-negative-hover);\n                ",
        ": var(--text-negative-active);\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-info);\n                ",
        ": var(--surface-transparent-clear);\n                ",
        ": var(",
        ");\n                ",
        ": var(--text-info-hover);\n                ",
        ": var(--text-info-active);\n            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject7() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 2.25rem;\n                ",
        ": 2.25rem;\n                ",
        ": 0rem;\n                ",
        ": 0.75rem;\n                ",
        ": var(--plasma-typo-body-l-font-family);\n                ",
        ": var(--plasma-typo-body-l-font-size);\n                ",
        ": var(--plasma-typo-body-l-font-style);\n                ",
        ": var(--plasma-typo-body-l-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-l-letter-spacing);\n                ",
        ": var(--plasma-typo-body-l-line-height);\n\n                ",
        ": 1.75rem;\n                ",
        ": inherit;\n            "
    ]);
    _templateObject7 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject8() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1.5rem;\n                ",
        ": 1.5rem;\n                ",
        ": 0rem;\n                ",
        ": 0.625rem;\n                ",
        ": var(--plasma-typo-body-m-font-family);\n                ",
        ": var(--plasma-typo-body-m-font-size);\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                ",
        ": var(--plasma-typo-body-m-line-height);\n\n                ",
        ": 1.25rem;\n                ",
        ": inherit;\n            "
    ]);
    _templateObject8 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject9() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1rem;\n                ",
        ": 1rem;\n                ",
        ": 0rem;\n                ",
        ": 0.5rem;\n                ",
        ": var(--plasma-typo-body-s-font-family);\n                ",
        ": var(--plasma-typo-body-s-font-size);\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                ",
        ": var(--plasma-typo-body-s-line-height);\n\n                ",
        ": 0.75rem;\n                ",
        ": inherit;\n            "
    ]);
    _templateObject9 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject10() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\n            "
    ]);
    _templateObject10 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject11() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--surface-accent);\n            "
    ]);
    _templateObject11 = function _templateObject() {
        return data;
    };
    return data;
}
var config = {
    defaults: {
        view: 'default',
        focused: 'true',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)(_templateObject(), _emotion.embedIconButtonTokens.embedIconButtonColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonColorHover, _emotion.embedIconButtonTokens.embedIconButtonColorActive),
            accent: (0, _emotion.css)(_templateObject1(), _emotion.embedIconButtonTokens.embedIconButtonColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonColorHover, _emotion.embedIconButtonTokens.embedIconButtonColorActive),
            secondary: (0, _emotion.css)(_templateObject2(), _emotion.embedIconButtonTokens.embedIconButtonColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonColorHover, _emotion.embedIconButtonTokens.embedIconButtonColorActive),
            positive: (0, _emotion.css)(_templateObject3(), _emotion.embedIconButtonTokens.embedIconButtonColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonColorHover, _emotion.embedIconButtonTokens.embedIconButtonColorActive),
            warning: (0, _emotion.css)(_templateObject4(), _emotion.embedIconButtonTokens.embedIconButtonColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonColorHover, _emotion.embedIconButtonTokens.embedIconButtonColorActive),
            negative: (0, _emotion.css)(_templateObject5(), _emotion.embedIconButtonTokens.embedIconButtonColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonColorHover, _emotion.embedIconButtonTokens.embedIconButtonColorActive),
            info: (0, _emotion.css)(_templateObject6(), _emotion.embedIconButtonTokens.embedIconButtonColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonBackgroundColor, _emotion.embedIconButtonTokens.embedIconButtonColorHover, _emotion.embedIconButtonTokens.embedIconButtonColorActive)
        },
        size: {
            l: (0, _emotion.css)(_templateObject7(), _emotion.embedIconButtonTokens.embedIconButtonHeight, _emotion.embedIconButtonTokens.embedIconButtonWidth, _emotion.embedIconButtonTokens.embedIconButtonPadding, _emotion.embedIconButtonTokens.embedIconButtonRadius, _emotion.embedIconButtonTokens.embedIconButtonFontFamily, _emotion.embedIconButtonTokens.embedIconButtonFontSize, _emotion.embedIconButtonTokens.embedIconButtonFontStyle, _emotion.embedIconButtonTokens.embedIconButtonFontWeight, _emotion.embedIconButtonTokens.embedIconButtonLetterSpacing, _emotion.embedIconButtonTokens.embedIconButtonLineHeight, _emotion.embedIconButtonTokens.embedIconButtonSpinnerSize, _emotion.embedIconButtonTokens.embedIconButtonSpinnerColor),
            m: (0, _emotion.css)(_templateObject8(), _emotion.embedIconButtonTokens.embedIconButtonHeight, _emotion.embedIconButtonTokens.embedIconButtonWidth, _emotion.embedIconButtonTokens.embedIconButtonPadding, _emotion.embedIconButtonTokens.embedIconButtonRadius, _emotion.embedIconButtonTokens.embedIconButtonFontFamily, _emotion.embedIconButtonTokens.embedIconButtonFontSize, _emotion.embedIconButtonTokens.embedIconButtonFontStyle, _emotion.embedIconButtonTokens.embedIconButtonFontWeight, _emotion.embedIconButtonTokens.embedIconButtonLetterSpacing, _emotion.embedIconButtonTokens.embedIconButtonLineHeight, _emotion.embedIconButtonTokens.embedIconButtonSpinnerSize, _emotion.embedIconButtonTokens.embedIconButtonSpinnerColor),
            s: (0, _emotion.css)(_templateObject9(), _emotion.embedIconButtonTokens.embedIconButtonHeight, _emotion.embedIconButtonTokens.embedIconButtonWidth, _emotion.embedIconButtonTokens.embedIconButtonPadding, _emotion.embedIconButtonTokens.embedIconButtonRadius, _emotion.embedIconButtonTokens.embedIconButtonFontFamily, _emotion.embedIconButtonTokens.embedIconButtonFontSize, _emotion.embedIconButtonTokens.embedIconButtonFontStyle, _emotion.embedIconButtonTokens.embedIconButtonFontWeight, _emotion.embedIconButtonTokens.embedIconButtonLetterSpacing, _emotion.embedIconButtonTokens.embedIconButtonLineHeight, _emotion.embedIconButtonTokens.embedIconButtonSpinnerSize, _emotion.embedIconButtonTokens.embedIconButtonSpinnerColor)
        },
        disabled: {
            true: (0, _emotion.css)(_templateObject10(), _emotion.embedIconButtonTokens.embedIconButtonDisabledOpacity)
        },
        focused: {
            true: (0, _emotion.css)(_templateObject11(), _emotion.embedIconButtonTokens.embedIconButtonFocusColor)
        }
    }
};
