"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 StyledContent () {
        return StyledContent;
    },
    get StyledContentWrapper () {
        return StyledContentWrapper;
    },
    get StyledDescription () {
        return StyledDescription;
    },
    get StyledInput () {
        return StyledInput;
    },
    get StyledLabel () {
        return StyledLabel;
    },
    get StyledRoot () {
        return StyledRoot;
    },
    get StyledTrigger () {
        return StyledTrigger;
    }
});
var _react = /*#__PURE__*/ _interop_require_default(require("react"));
var _styledcomponents = /*#__PURE__*/ _interop_require_wildcard(require("styled-components"));
var _Typography = require("../Typography");
var _mixins = require("../../mixins");
var _tokens = require("../../tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
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;
}
var StyledRoot = _styledcomponents.default.div.withConfig({
    displayName: "Basebox__StyledRoot",
    componentId: "sc-a5c1d526-0"
})([
    "",
    " position:relative;align-items:flex-start;display:flex;cursor:pointer;"
], _mixins.applyNoSelect);
var StyledContentWrapper = _styledcomponents.default.label.withConfig({
    displayName: "Basebox__StyledContentWrapper",
    componentId: "sc-a5c1d526-1"
})([
    "position:relative;align-items:flex-start;display:flex;width:100%;cursor:inherit;"
]);
var StyledInput = _styledcomponents.default.input.withConfig({
    displayName: "Basebox__StyledInput",
    componentId: "sc-a5c1d526-2"
})([
    "position:absolute;&:focus{outline:0 none;}"
]);
var StyledTrigger = _styledcomponents.default.div.withConfig({
    displayName: "Basebox__StyledTrigger",
    componentId: "sc-a5c1d526-3"
})([
    "box-sizing:border-box;position:relative;transition:",
    ";"
], function(param) {
    var theme = param.theme;
    return theme.lowPerformance ? 'unset' : 'all 0.1s ease-in-out';
});
var StyledContent = _styledcomponents.default.div.withConfig({
    displayName: "Basebox__StyledContent",
    componentId: "sc-a5c1d526-4"
})([
    "display:flex;flex-direction:column;margin-left:0.75rem;"
]);
var StyledLabel = (0, _styledcomponents.default)(_Typography.Body1).withConfig({
    displayName: "Basebox__StyledLabel",
    componentId: "sc-a5c1d526-5"
})([
    "",
    ""
], function(param) {
    var singleLine = param.singleLine;
    return singleLine && (0, _styledcomponents.css)([
        "",
        ""
    ], _mixins.applyEllipsis);
});
var StyledDescription = (0, _styledcomponents.default)(_Typography.Footnote1).withConfig({
    displayName: "Basebox__StyledDescription",
    componentId: "sc-a5c1d526-6"
})([
    "color:",
    ";",
    ""
], _tokens.secondary, function(param) {
    var singleLine = param.singleLine;
    return singleLine && (0, _styledcomponents.css)([
        "",
        ""
    ], _mixins.applyEllipsis);
});
