"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-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, _styledcomponents.css)(_templateObject(), _styledcomponents.embedIconButtonTokens.embedIconButtonColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonColorHover, _styledcomponents.embedIconButtonTokens.embedIconButtonColorActive),
            accent: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.embedIconButtonTokens.embedIconButtonColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonColorHover, _styledcomponents.embedIconButtonTokens.embedIconButtonColorActive),
            secondary: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.embedIconButtonTokens.embedIconButtonColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonColorHover, _styledcomponents.embedIconButtonTokens.embedIconButtonColorActive),
            positive: (0, _styledcomponents.css)(_templateObject3(), _styledcomponents.embedIconButtonTokens.embedIconButtonColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonColorHover, _styledcomponents.embedIconButtonTokens.embedIconButtonColorActive),
            warning: (0, _styledcomponents.css)(_templateObject4(), _styledcomponents.embedIconButtonTokens.embedIconButtonColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonColorHover, _styledcomponents.embedIconButtonTokens.embedIconButtonColorActive),
            negative: (0, _styledcomponents.css)(_templateObject5(), _styledcomponents.embedIconButtonTokens.embedIconButtonColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonColorHover, _styledcomponents.embedIconButtonTokens.embedIconButtonColorActive),
            info: (0, _styledcomponents.css)(_templateObject6(), _styledcomponents.embedIconButtonTokens.embedIconButtonColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor, _styledcomponents.embedIconButtonTokens.embedIconButtonColorHover, _styledcomponents.embedIconButtonTokens.embedIconButtonColorActive)
        },
        size: {
            l: (0, _styledcomponents.css)(_templateObject7(), _styledcomponents.embedIconButtonTokens.embedIconButtonHeight, _styledcomponents.embedIconButtonTokens.embedIconButtonWidth, _styledcomponents.embedIconButtonTokens.embedIconButtonPadding, _styledcomponents.embedIconButtonTokens.embedIconButtonRadius, _styledcomponents.embedIconButtonTokens.embedIconButtonFontFamily, _styledcomponents.embedIconButtonTokens.embedIconButtonFontSize, _styledcomponents.embedIconButtonTokens.embedIconButtonFontStyle, _styledcomponents.embedIconButtonTokens.embedIconButtonFontWeight, _styledcomponents.embedIconButtonTokens.embedIconButtonLetterSpacing, _styledcomponents.embedIconButtonTokens.embedIconButtonLineHeight, _styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerSize, _styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerColor),
            m: (0, _styledcomponents.css)(_templateObject8(), _styledcomponents.embedIconButtonTokens.embedIconButtonHeight, _styledcomponents.embedIconButtonTokens.embedIconButtonWidth, _styledcomponents.embedIconButtonTokens.embedIconButtonPadding, _styledcomponents.embedIconButtonTokens.embedIconButtonRadius, _styledcomponents.embedIconButtonTokens.embedIconButtonFontFamily, _styledcomponents.embedIconButtonTokens.embedIconButtonFontSize, _styledcomponents.embedIconButtonTokens.embedIconButtonFontStyle, _styledcomponents.embedIconButtonTokens.embedIconButtonFontWeight, _styledcomponents.embedIconButtonTokens.embedIconButtonLetterSpacing, _styledcomponents.embedIconButtonTokens.embedIconButtonLineHeight, _styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerSize, _styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerColor),
            s: (0, _styledcomponents.css)(_templateObject9(), _styledcomponents.embedIconButtonTokens.embedIconButtonHeight, _styledcomponents.embedIconButtonTokens.embedIconButtonWidth, _styledcomponents.embedIconButtonTokens.embedIconButtonPadding, _styledcomponents.embedIconButtonTokens.embedIconButtonRadius, _styledcomponents.embedIconButtonTokens.embedIconButtonFontFamily, _styledcomponents.embedIconButtonTokens.embedIconButtonFontSize, _styledcomponents.embedIconButtonTokens.embedIconButtonFontStyle, _styledcomponents.embedIconButtonTokens.embedIconButtonFontWeight, _styledcomponents.embedIconButtonTokens.embedIconButtonLetterSpacing, _styledcomponents.embedIconButtonTokens.embedIconButtonLineHeight, _styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerSize, _styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerColor)
        },
        disabled: {
            true: (0, _styledcomponents.css)(_templateObject10(), _styledcomponents.embedIconButtonTokens.embedIconButtonDisabledOpacity)
        },
        focused: {
            true: (0, _styledcomponents.css)(_templateObject11(), _styledcomponents.embedIconButtonTokens.embedIconButtonFocusColor)
        }
    }
};
