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(--text-primary-hover);\n                ",
        ": var(--text-primary-active);\n                ",
        ": var(--surface-accent);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-secondary);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-transparent-tertiary);\n                ",
        ": var(--surface-solid-default);\n\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(--surface-solid-default);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary-hover);\n                ",
        ": var(--text-primary-active);\n                ",
        ": var(--surface-accent);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-negative);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-transparent-tertiary);\n                ",
        ": var(--surface-negative);\n\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(--surface-negative);\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 2.5rem;\n                ",
        ": 2.5rem;\n                ",
        ": 0.5rem;\n                ",
        ": 0.625rem;\n\n                ",
        ": 2.5rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.75rem;\n                ",
        ": 0.75rem;\n\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-font-weight);\n                ",
        ": var(--plasma-typo-body-l-letter-spacing);\n                ",
        ": var(--plasma-typo-body-l-line-height);\n\n                ",
        ": var(--plasma-typo-body-xs-font-family);\n                ",
        ": var(--plasma-typo-body-xs-font-size);\n                ",
        ": var(--plasma-typo-body-xs-font-style);\n                ",
        ": var(--plasma-typo-body-xs-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n\n                ",
        ": 36;\n                ",
        ": 2.25rem;\n                ",
        ": 2.25rem;\n\n                ",
        ": 0.125rem;\n                ",
        ": 2;\n\n                ",
        ": 0.25rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.25rem;\n                ",
        ": 0.375rem;\n\n                ",
        ": 0.5rem;\n\n                ",
        ": 2.5rem;\n                ",
        ": 0.625rem;\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 2.5rem;\n                ",
        ": 2.5rem;\n                ",
        ": 0.5rem;\n                ",
        ": 0.625rem;\n\n                ",
        ": 2.5rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.625rem;\n                ",
        ": 0.625rem;\n\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-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n                ",
        ": var(--plasma-typo-body-m-line-height);\n\n                ",
        ": var(--plasma-typo-body-xs-font-family);\n                ",
        ": var(--plasma-typo-body-xs-font-size);\n                ",
        ": var(--plasma-typo-body-xs-font-style);\n                ",
        ": var(--plasma-typo-body-xs-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n\n                ",
        ": 36;\n                ",
        ": 2.25rem;\n                ",
        ": 2.25rem;\n\n                ",
        ": 0.125rem;\n                ",
        ": 2;\n\n                ",
        ": 0.25rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.25rem;\n                ",
        ": 0.375rem;\n\n                ",
        ": 0.5rem;\n\n                ",
        ": 2.25rem;\n                ",
        ": 0.625rem;\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 2.5rem;\n                ",
        ": 2.5rem;\n                ",
        ": 0.5rem;\n                ",
        ": 0.625rem;\n\n                ",
        ": 2.5rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.5rem;\n                ",
        ": 0.5rem;\n\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-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n                ",
        ": var(--plasma-typo-body-s-line-height);\n\n                ",
        ": var(--plasma-typo-body-xs-font-family);\n                ",
        ": var(--plasma-typo-body-xs-font-size);\n                ",
        ": var(--plasma-typo-body-xs-font-style);\n                ",
        ": var(--plasma-typo-body-xs-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n\n                ",
        ": 36;\n                ",
        ": 2.25rem;\n                ",
        ": 2.25rem;\n\n                ",
        ": 0.125rem;\n                ",
        ": 2;\n\n                ",
        ": 0.25rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.25rem;\n                ",
        ": 0.375rem;\n\n                ",
        ": 0.5rem;\n\n                ",
        ": 2.25rem;\n                ",
        ": 0.625rem;\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 2rem;\n                ",
        ": 2rem;\n                ",
        ": 0.5rem;\n                ",
        ": 0.5rem;\n\n                ",
        ": 2rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.375rem;\n                ",
        ": 0.375rem;\n\n                ",
        ": var(--plasma-typo-body-xs-font-family);\n                ",
        ": var(--plasma-typo-body-xs-font-size);\n                ",
        ": var(--plasma-typo-body-xs-font-style);\n                ",
        ": var(--plasma-typo-body-xs-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n\n                ",
        ": var(--plasma-typo-body-xs-font-family);\n                ",
        ": var(--plasma-typo-body-xs-font-size);\n                ",
        ": var(--plasma-typo-body-xs-font-style);\n                ",
        ": var(--plasma-typo-body-xs-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n\n                ",
        ": 24;\n                ",
        ": 1.5rem;\n                ",
        ": 1.5rem;\n\n                ",
        ": 0.125rem;\n                ",
        ": 2;\n\n                ",
        ": 0.25rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.25rem;\n                ",
        ": 0.375rem;\n\n                ",
        ": 0.5rem;\n\n                ",
        ": 1.75rem;\n                ",
        ": 0.625rem;\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\n            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
import { css, fileTokens as tokens } from '@salutejs/plasma-new-hope/styled-components';
export var config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: css(_templateObject(), tokens.embedIconButtonColor, tokens.embedIconButtonColorHover, tokens.embedIconButtonColorActive, tokens.embedIconButtonFocusColor, tokens.cellTitleColor, tokens.cellSubtitleColor, tokens.progressBarCircularContentColor, tokens.progressBarCircularBackgroundStroke, tokens.progressBarCircularStroke, tokens.progressTrackBackgroundColor, tokens.progressFilledBackgroundColor),
            negative: css(_templateObject1(), tokens.embedIconButtonColor, tokens.embedIconButtonColorHover, tokens.embedIconButtonColorActive, tokens.embedIconButtonFocusColor, tokens.cellTitleColor, tokens.cellSubtitleColor, tokens.progressBarCircularContentColor, tokens.progressBarCircularBackgroundStroke, tokens.progressBarCircularStroke, tokens.progressTrackBackgroundColor, tokens.progressFilledBackgroundColor)
        },
        size: {
            l: css(_templateObject2(), tokens.embedIconButtonHeight, tokens.embedIconButtonWidth, tokens.embedIconButtonPadding, tokens.embedIconButtonRadius, tokens.cellHeight, tokens.cellTextboxGap, tokens.cellGap, tokens.cellPaddingRightContent, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.cellSubtitleFontFamily, tokens.cellSubtitleFontSize, tokens.cellSubtitleFontStyle, tokens.cellSubtitleFontWeight, tokens.cellSubtitleLetterSpacing, tokens.cellSubtitleLineHeight, tokens.progressBarCircularSize, tokens.progressBarCircularHeight, tokens.progressBarCircularWidth, tokens.progressBarCircularStrokeWidth, tokens.progressBarCircularStrokeSize, tokens.progressTrackHeight, tokens.progressTrackBorderRadius, tokens.progressFilledHeight, tokens.progressFilledBorderRadius, tokens.progressLinearGap, tokens.fileThumbSize, tokens.fileThumbRadius),
            m: css(_templateObject3(), tokens.embedIconButtonHeight, tokens.embedIconButtonWidth, tokens.embedIconButtonPadding, tokens.embedIconButtonRadius, tokens.cellHeight, tokens.cellTextboxGap, tokens.cellGap, tokens.cellPaddingRightContent, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.cellSubtitleFontFamily, tokens.cellSubtitleFontSize, tokens.cellSubtitleFontStyle, tokens.cellSubtitleFontWeight, tokens.cellSubtitleLetterSpacing, tokens.cellSubtitleLineHeight, tokens.progressBarCircularSize, tokens.progressBarCircularHeight, tokens.progressBarCircularWidth, tokens.progressBarCircularStrokeWidth, tokens.progressBarCircularStrokeSize, tokens.progressTrackHeight, tokens.progressTrackBorderRadius, tokens.progressFilledHeight, tokens.progressFilledBorderRadius, tokens.progressLinearGap, tokens.fileThumbSize, tokens.fileThumbRadius),
            s: css(_templateObject4(), tokens.embedIconButtonHeight, tokens.embedIconButtonWidth, tokens.embedIconButtonPadding, tokens.embedIconButtonRadius, tokens.cellHeight, tokens.cellTextboxGap, tokens.cellGap, tokens.cellPaddingRightContent, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.cellSubtitleFontFamily, tokens.cellSubtitleFontSize, tokens.cellSubtitleFontStyle, tokens.cellSubtitleFontWeight, tokens.cellSubtitleLetterSpacing, tokens.cellSubtitleLineHeight, tokens.progressBarCircularSize, tokens.progressBarCircularHeight, tokens.progressBarCircularWidth, tokens.progressBarCircularStrokeWidth, tokens.progressBarCircularStrokeSize, tokens.progressTrackHeight, tokens.progressTrackBorderRadius, tokens.progressFilledHeight, tokens.progressFilledBorderRadius, tokens.progressLinearGap, tokens.fileThumbSize, tokens.fileThumbRadius),
            xs: css(_templateObject5(), tokens.embedIconButtonHeight, tokens.embedIconButtonWidth, tokens.embedIconButtonPadding, tokens.embedIconButtonRadius, tokens.cellHeight, tokens.cellTextboxGap, tokens.cellGap, tokens.cellPaddingRightContent, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.cellSubtitleFontFamily, tokens.cellSubtitleFontSize, tokens.cellSubtitleFontStyle, tokens.cellSubtitleFontWeight, tokens.cellSubtitleLetterSpacing, tokens.cellSubtitleLineHeight, tokens.progressBarCircularSize, tokens.progressBarCircularHeight, tokens.progressBarCircularWidth, tokens.progressBarCircularStrokeWidth, tokens.progressBarCircularStrokeSize, tokens.progressTrackHeight, tokens.progressTrackBorderRadius, tokens.progressFilledHeight, tokens.progressFilledBorderRadius, tokens.progressLinearGap, tokens.fileThumbSize, tokens.fileThumbRadius)
        },
        disabled: {
            true: css(_templateObject6(), tokens.fileDisabledOpacity)
        }
    }
};
