"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get Description () {
        return Description;
    },
    get IconWrapper () {
        return IconWrapper;
    },
    get StyledButton () {
        return StyledButton;
    },
    get base () {
        return base;
    }
});
const _styledcomponents = /*#__PURE__*/ _interop_require_wildcard(require("styled-components"));
const _Button = require("../Button");
const _engines = require("../../engines");
const _EmptyStatetokens = require("./EmptyState.tokens");
function _getRequireWildcardCache(nodeInterop) {
    if (typeof WeakMap !== "function") return null;
    var cacheBabelInterop = new WeakMap();
    var cacheNodeInterop = new WeakMap();
    return (_getRequireWildcardCache = function(nodeInterop) {
        return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
    })(nodeInterop);
}
function _interop_require_wildcard(obj, nodeInterop) {
    if (!nodeInterop && obj && obj.__esModule) {
        return obj;
    }
    if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
        return {
            default: obj
        };
    }
    var cache = _getRequireWildcardCache(nodeInterop);
    if (cache && cache.has(obj)) {
        return cache.get(obj);
    }
    var newObj = {
        __proto__: null
    };
    var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
    for(var key in obj){
        if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
            var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
            if (desc && (desc.get || desc.set)) {
                Object.defineProperty(newObj, key, desc);
            } else {
                newObj[key] = obj[key];
            }
        }
    }
    newObj.default = obj;
    if (cache) {
        cache.set(obj, newObj);
    }
    return newObj;
}
const mergedButtonConfig = (0, _engines.mergeConfig)(_Button.buttonConfig);
const Button = (0, _engines.component)(mergedButtonConfig);
const base = (0, _styledcomponents.css)([
    `display:flex;flex-direction:column;align-items:center;background:var(--surface-solid-card);box-shadow:0 4px 14px -4px rgba(8,8,8,0.08),0 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(`,
    `);padding:var(`,
    `);text-align:center;`
], _EmptyStatetokens.tokens.borderRadius, _EmptyStatetokens.tokens.padding);
const StyledButton = (0, _styledcomponents.default)(Button).withConfig({
    displayName: "EmptyState.styles__StyledButton",
    componentId: "sc-7b78d443-0"
})([
    ``,
    `:var(--text-primary);`,
    `:var(--text-primary-active);`,
    `:var(--text-primary-hover);`,
    `:none;`,
    `:0;`,
    `:var(`,
    `);`,
    `:0;`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:600;`,
    `:var(`,
    `);`,
    `:var(`,
    `);margin:var(`,
    `);`
], _Button.buttonTokens.buttonColor, _Button.buttonTokens.buttonColorActive, _Button.buttonTokens.buttonColorHover, _Button.buttonTokens.buttonBackgroundColor, _Button.buttonTokens.buttonPadding, _Button.buttonTokens.buttonHeight, _EmptyStatetokens.tokens.buttonHeight, _Button.buttonTokens.buttonRadius, _Button.buttonTokens.buttonFontFamily, _EmptyStatetokens.tokens.fontFamily, _Button.buttonTokens.buttonFontSize, _EmptyStatetokens.tokens.fontSize, _Button.buttonTokens.buttonFontStyle, _EmptyStatetokens.tokens.fontStyle, _Button.buttonTokens.buttonFontWeight, _Button.buttonTokens.buttonLetterSpacing, _EmptyStatetokens.tokens.fontLetterSpacing, _Button.buttonTokens.buttonLineHeight, _EmptyStatetokens.tokens.fontLineHeight, _EmptyStatetokens.tokens.buttonMargin);
const IconWrapper = _styledcomponents.default.div.withConfig({
    displayName: "EmptyState.styles__IconWrapper",
    componentId: "sc-7b78d443-1"
})([
    `margin:var(`,
    `);line-height:0;`
], _EmptyStatetokens.tokens.iconMargin);
const Description = _styledcomponents.default.div.withConfig({
    displayName: "EmptyState.styles__Description",
    componentId: "sc-7b78d443-2"
})([
    `margin:var(`,
    `);font-family:var(`,
    `);font-size:var(`,
    `);font-style:var(`,
    `);font-weight:var(`,
    `);letter-spacing:var(`,
    `);line-height:var(`,
    `);`
], _EmptyStatetokens.tokens.descriptionMargin, _EmptyStatetokens.tokens.fontFamily, _EmptyStatetokens.tokens.fontSize, _EmptyStatetokens.tokens.fontStyle, _EmptyStatetokens.tokens.fontWeight, _EmptyStatetokens.tokens.fontLetterSpacing, _EmptyStatetokens.tokens.fontLineHeight);
