var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                t[p[i]] = s[p[i]];
        }
    return t;
};
(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", "react", "../context"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var react_1 = __importStar(require("react"));
    var context_1 = require("../context");
    function IconVariableAssignmentComponent(props, ref) {
        var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
        var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? false : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
        var prefix = prefixFromProps || prefixFromContext || 'hiagent';
        var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
        return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-variable_assignment").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 20 20" }, rest, { ref: ref }),
            react_1.default.createElement("rect", { width: "20", height: "20", fill: useCurrentColor ? 'currentColor' : '#FF9600', rx: "6" }),
            react_1.default.createElement("g", { fill: useCurrentColor ? 'currentColor' : '#fff' },
                react_1.default.createElement("path", { d: "M4.75004 5.91667V15.0833H15.25V5.91667H4.75004ZM16.4167 15.0833C16.4167 15.7277 15.8944 16.25 15.25 16.25H4.75004C4.10571 16.25 3.58337 15.7277 3.58337 15.0833V5.91667C3.58337 5.27233 4.10571 4.75 4.75004 4.75H15.25C15.8944 4.75 16.4167 5.27233 16.4167 5.91667V15.0833Z" }),
                react_1.default.createElement("path", { d: "M4.16663 5.91666C4.16663 5.5945 4.42779 5.33333 4.74996 5.33333H15.25C15.5721 5.33333 15.8333 5.5945 15.8333 5.91666V7.66666H4.16663V5.91666Z" }),
                react_1.default.createElement("path", { d: "M4.75004 5.91667V7.08333H15.25V5.91667H4.75004zM16.4167 7.66667C16.4167 7.98883 16.1555 8.25 15.8334 8.25H4.16671C3.84454 8.25 3.58337 7.98883 3.58337 7.66667V5.91667C3.58337 5.27233 4.10571 4.75 4.75004 4.75H15.25C15.8944 4.75 16.4167 5.27234 16.4167 5.91667V7.66667zM7.5847 9.63575C7.83217 9.42952 8.20071 9.46252 8.40696 9.70997 8.61307 9.95744 8.57916 10.326 8.33177 10.5322L7.072 11.5811 8.37083 12.8799 8.41087 12.9238C8.59767 13.1529 8.58416 13.4905 8.37083 13.7041 8.15728 13.9177 7.81967 13.931 7.59056 13.7441L7.54563 13.7041 5.79563 11.9541C5.67999 11.8383 5.61836 11.6791 5.62571 11.5156 5.6332 11.352 5.70888 11.1986 5.8347 11.0938L7.5847 9.63575zM10.3962 9.50977C10.713 9.56754 10.9226 9.87163 10.865 10.1885L10.282 13.3965C10.2243 13.7133 9.92103 13.9236 9.60423 13.8662 9.28727 13.8086 9.0769 13.5045 9.1345 13.1875L9.71751 9.9795C9.77514 9.66255 10.0793 9.45217 10.3962 9.50977zM11.5935 9.70997C11.7869 9.47811 12.1229 9.4343 12.3679 9.59962L12.4158 9.63575 14.1658 11.0938 14.2097 11.1357C14.3086 11.2375 14.3682 11.3725 14.3747 11.5156 14.3821 11.6792 14.3196 11.8383 14.2038 11.9541L12.4538 13.7041C12.226 13.9319 11.8574 13.9319 11.6296 13.7041 11.4018 13.4763 11.4018 13.1077 11.6296 12.8799L12.9265 11.5811 11.6677 10.5322 11.6238 10.4912C11.4172 10.2799 11.4002 9.94187 11.5935 9.70997z" })));
    }
    var IconVariableAssignment = react_1.default.forwardRef(IconVariableAssignmentComponent);
    exports.default = IconVariableAssignment;
});
