"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 AdditionalText () {
        return AdditionalText;
    },
    get DynamicInput () {
        return DynamicInput;
    },
    get Input () {
        return Input;
    },
    get InputWidthHelper () {
        return InputWidthHelper;
    },
    get InputWrapper () {
        return InputWrapper;
    },
    get Loader () {
        return Loader;
    },
    get StyledSpinner () {
        return StyledSpinner;
    },
    get TextWrapper () {
        return TextWrapper;
    }
});
var _styledcomponents = /*#__PURE__*/ _interop_require_default(require("styled-components"));
var _engines = require("../../../../engines");
var _Spinner = require("../../../Spinner");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
var mergedConfig = (0, _engines.mergeConfig)(_Spinner.spinnerConfig);
var Spinner = (0, _engines.component)(mergedConfig);
var InputWrapper = _styledcomponents.default.div.withConfig({
    displayName: "Input.styles__InputWrapper",
    componentId: "sc-3fb89a25-0"
})([
    "overflow-x:auto;overflow-y:hidden;flex:1;cursor:",
    ";::-webkit-scrollbar{display:none;}scrollbar-width:none;overscroll-behavior:contain;"
], function(param) {
    var isManualInput = param.isManualInput;
    return isManualInput ? 'text' : 'default';
});
var TextWrapper = _styledcomponents.default.div.withConfig({
    displayName: "Input.styles__TextWrapper",
    componentId: "sc-3fb89a25-1"
})([
    "display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box;"
]);
var AdditionalText = _styledcomponents.default.span.withConfig({
    displayName: "Input.styles__AdditionalText",
    componentId: "sc-3fb89a25-2"
})([
    ""
]);
var Loader = _styledcomponents.default.div.withConfig({
    displayName: "Input.styles__Loader",
    componentId: "sc-3fb89a25-3"
})([
    ""
]);
var StyledSpinner = (0, _styledcomponents.default)(Spinner).withConfig({
    displayName: "Input.styles__StyledSpinner",
    componentId: "sc-3fb89a25-4"
})([
    ""
]);
var DynamicInput = _styledcomponents.default.div.withConfig({
    displayName: "Input.styles__DynamicInput",
    componentId: "sc-3fb89a25-5"
})([
    "position:relative;"
]);
var Input = _styledcomponents.default.input.withConfig({
    displayName: "Input.styles__Input",
    componentId: "sc-3fb89a25-6"
})([
    "box-sizing:border-box;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:",
    ";cursor:",
    ";pointer-events:",
    ";transition:width 0.1s;"
], function(param) {
    var dynamicWidth = param.dynamicWidth;
    return dynamicWidth;
}, function(param) {
    var isManualInput = param.isManualInput;
    return isManualInput ? 'text' : 'default';
}, function(param) {
    var isManualInput = param.isManualInput;
    return isManualInput ? 'initial' : 'none';
});
var InputWidthHelper = _styledcomponents.default.span.withConfig({
    displayName: "Input.styles__InputWidthHelper",
    componentId: "sc-3fb89a25-7"
})([
    "position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre;"
]);
