(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "tslib", "styled-components", "../../../InputBase", "../../../InputBase/style"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.SelectContainerStyled = void 0;
    var tslib_1 = require("tslib");
    var styled_components_1 = (0, tslib_1.__importStar)(require("styled-components"));
    var InputBase_1 = (0, tslib_1.__importDefault)(require("../../../InputBase"));
    var style_1 = require("../../../InputBase/style");
    exports.SelectContainerStyled = (0, styled_components_1.default)(InputBase_1.default)(templateObject_8 || (templateObject_8 = (0, tslib_1.__makeTemplateObject)(["\n  min-width: 150px;\n  padding-right: 16px;\n\n  .select__placeholder {\n    ", "\n  }\n\n  ", "\n\n  .avatar_icon {\n    svg {\n      width: 7.5px;\n    }\n  }\n\n  ", " {\n    margin-left: 2px;\n  }\n\n  ", ";\n\n  ", ";\n\n  ", "\n"], ["\n  min-width: 150px;\n  padding-right: 16px;\n\n  .select__placeholder {\n    ", "\n  }\n\n  ", "\n\n  .avatar_icon {\n    svg {\n      width: 7.5px;\n    }\n  }\n\n  ", " {\n    margin-left: 2px;\n  }\n\n  ", ";\n\n  ", ";\n\n  ", "\n"])), function (_a) {
        var isFocused = _a.isFocused, isHasValue = _a.isHasValue;
        return (isFocused || isHasValue) && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n        top: -2px;\n      "], ["\n        top: -2px;\n      "])));
    }, function (_a) {
        var size = _a.size, isFocused = _a.isFocused, isHasValue = _a.isHasValue;
        return size === "m" && (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = (0, tslib_1.__makeTemplateObject)(["\n      ", " {\n        display: none;\n      }\n      .select__placeholder {\n        left: 20px;\n      }\n      ", "\n    "], ["\n      ", " {\n        display: none;\n      }\n      .select__placeholder {\n        left: 20px;\n      }\n      ", "\n    "])), style_1.IconStyled, (isFocused || isHasValue) && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = (0, tslib_1.__makeTemplateObject)(["\n        .react-select__input-container {\n          margin: 0;\n          padding-bottom: 0;\n        }\n      "], ["\n        .react-select__input-container {\n          margin: 0;\n          padding-bottom: 0;\n        }\n      "]))));
    }, style_1.IconStyled, function (_a) {
        var isFocused = _a.isFocused, isHasValue = _a.isHasValue, isMulti = _a.isMulti, isReadOnly = _a.isReadOnly;
        return (isFocused || isHasValue || isReadOnly) &&
            isMulti && (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = (0, tslib_1.__makeTemplateObject)(["\n      .select__content {\n        margin-top: 0;\n      }\n    "], ["\n      .select__content {\n        margin-top: 0;\n      }\n    "])));
    }, function (_a) {
        var isFocused = _a.isFocused, isHasValue = _a.isHasValue, isMulti = _a.isMulti, isReadOnly = _a.isReadOnly, size = _a.size;
        return (isFocused || isHasValue || isReadOnly) &&
            isMulti &&
            (size === "m"
                ? (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = (0, tslib_1.__makeTemplateObject)(["\n          padding-left: 16px;\n          ", " {\n            margin-top: 7px;\n          }\n        "], ["\n          padding-left: 16px;\n          ", " {\n            margin-top: 7px;\n          }\n        "])), style_1.IconStyled) : (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = (0, tslib_1.__makeTemplateObject)(["\n          ", " {\n            margin-top: 11px;\n          }\n        "], ["\n          ", " {\n            margin-top: 11px;\n          }\n        "])), style_1.IconStyled));
    }, function (_a) {
        var isMulti = _a.isMulti;
        return isMulti && (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = (0, tslib_1.__makeTemplateObject)(["\n      ", " {\n        margin-right: 8px;\n      }\n    "], ["\n      ", " {\n        margin-right: 8px;\n      }\n    "])), style_1.IconStyled);
    });
    var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
});
