var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
import { memoizeGetStyles } from '../../lib/theming/Emotion.js';
import { getAnimationKeyframes } from '../../lib/theming/AnimationKeyframes.js';
export var getStyles = memoizeGetStyles(function (emotion) {
    var AnimationKeyframes = getAnimationKeyframes(emotion);
    return {
        circle: function (t) {
            return emotion.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n        stroke: ", ";\n\n      animation:\n        ", " 1s cubic-bezier(0.5, 0.2, 0.5, 0.8) infinite,\n        ", " 2s cubic-bezier(0.36, 0.14, 0.38, 0.69) infinite,\n        ", " 2s linear infinite,\n        ", " 6s ease-in-out infinite;\n    "], ["\n        stroke: ", ";\n\n      animation:\n        ", " 1s cubic-bezier(0.5, 0.2, 0.5, 0.8) infinite,\n        ", " 2s cubic-bezier(0.36, 0.14, 0.38, 0.69) infinite,\n        ", " 2s linear infinite,\n        ", " 6s ease-in-out infinite;\n    "])), t.spinnerColor, AnimationKeyframes.spinnerCircleOffset(), AnimationKeyframes.spinnerCircleLength(), AnimationKeyframes.spinnerCircleRotate(), AnimationKeyframes.spinnerColor(t));
        },
        circleDimmedColor: function (t) {
            return emotion.css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n        stroke: ", ";\n      "], ["\n        stroke: ", ";\n      "])), t.spinnerDimmedColor);
        },
        circleWithoutColorAnimation: function () {
            return emotion.css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n        animation:\n          ", " 1s cubic-bezier(0.5, 0.2, 0.5, 0.8) infinite,\n          ", " 2s cubic-bezier(0.36, 0.14, 0.38, 0.69) infinite,\n          ", " 2s linear infinite;\n      "], ["\n        animation:\n          ", " 1s cubic-bezier(0.5, 0.2, 0.5, 0.8) infinite,\n          ", " 2s cubic-bezier(0.36, 0.14, 0.38, 0.69) infinite,\n          ", " 2s linear infinite;\n      "])), AnimationKeyframes.spinnerCircleOffset(), AnimationKeyframes.spinnerCircleLength(), AnimationKeyframes.spinnerCircleRotate());
        },
        captionColor: function (t) {
            return emotion.css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n        color: ", ";\n      "], ["\n        color: ", ";\n      "])), t.spinnerCaptionColor);
        },
        inline: function () {
            return emotion.css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n        font-size: inherit;\n        line-height: inherit;\n      "], ["\n        font-size: inherit;\n        line-height: inherit;\n      "])));
        },
        mini: function (t) {
            return emotion.css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n        margin-left: ", ";\n        font-size: ", ";\n        line-height: ", ";\n      "], ["\n        margin-left: ", ";\n        font-size: ", ";\n        line-height: ", ";\n      "])), t.spinnerCaptionGapSmall, t.spinnerFontSizeSmall, t.spinnerLineHeightSmall);
        },
        small: function (t) {
            return emotion.css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n        margin: ", ";\n        font-size: ", ";\n        line-height: ", ";\n      "], ["\n        margin: ", ";\n        font-size: ", ";\n        line-height: ", ";\n      "])), t.spinnerCaptionMarginSmall, t.spinnerFontSizeSmall, t.spinnerLineHeightSmall);
        },
        normal: function (t) {
            return emotion.css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n        display: block;\n        font-size: ", ";\n        line-height: ", ";\n        margin-top: ", ";\n      "], ["\n        display: block;\n        font-size: ", ";\n        line-height: ", ";\n        margin-top: ", ";\n      "])), t.spinnerFontSizeMedium, t.spinnerLineHeightMedium, t.spinnerCaptionGapMedium);
        },
        medium: function (t) {
            return emotion.css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n        margin: ", ";\n        font-size: ", ";\n        line-height: ", ";\n      "], ["\n        margin: ", ";\n        font-size: ", ";\n        line-height: ", ";\n      "])), t.spinnerCaptionMarginMedium, t.spinnerFontSizeMedium, t.spinnerLineHeightMedium);
        },
        big: function (t) {
            return emotion.css(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n        display: block;\n        font-size: ", ";\n        line-height: ", ";\n        margin-top: ", ";\n      "], ["\n        display: block;\n        font-size: ", ";\n        line-height: ", ";\n        margin-top: ", ";\n      "])), t.spinnerFontSizeLarge, t.spinnerLineHeightLarge, t.spinnerCaptionGapLarge);
        },
        large: function (t) {
            return emotion.css(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n        font-size: ", ";\n        line-height: ", ";\n        margin: ", ";\n      "], ["\n        font-size: ", ";\n        line-height: ", ";\n        margin: ", ";\n      "])), t.spinnerFontSizeLarge, t.spinnerLineHeightLarge, t.spinnerCaptionMarginLarge);
        },
        spinner: function () {
            return emotion.css(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n        display: inline-block;\n        text-align: center;\n        line-height: normal;\n      "], ["\n        display: inline-block;\n        text-align: center;\n        line-height: normal;\n      "])));
        },
        inner: function () {
            return emotion.css(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n        display: inline-block;\n      "], ["\n        display: inline-block;\n      "])));
        },
    };
});
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
//# sourceMappingURL=Spinner.styles.js.map