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 IconBatchMovementComponent(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 ? true : _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-batch-movement").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 16 16" }, rest, { ref: ref }),
            react_1.default.createElement("path", { fillRule: "evenodd", d: "M14.3333 13.6667C14.5174 13.6667 14.6666 13.816 14.6666 14.0001V14.6667C14.6666 14.8508 14.5174 15.0001 14.3333 15.0001H1.66665C1.48255 15.0001 1.33331 14.8508 1.33331 14.6667V14.0001C1.33331 13.816 1.48255 13.6667 1.66665 13.6667H14.3333ZM14.3333 11.0001C14.5174 11.0001 14.6666 11.1493 14.6666 11.3334V12.0001C14.6666 12.1842 14.5174 12.3334 14.3333 12.3334H5.66665C5.48255 12.3334 5.33331 12.1842 5.33331 12.0001V11.3334C5.33331 11.1493 5.48255 11.0001 5.66665 11.0001H14.3333ZM8.4126 0.744068C8.5087 0.650347 8.65909 0.641827 8.76507 0.718508L8.79543 0.744068L13.2144 5.05341C13.3624 5.19774 13.3723 5.42577 13.244 5.58126L13.2144 5.61341L8.79543 9.92276C8.74466 9.97227 8.67581 10.0001 8.60401 10.0001C8.46601 10.0001 8.35213 9.89937 8.33542 9.76921L8.33331 9.73609V7.29217H7.8047C5.75269 7.29217 4.19809 7.96821 3.25477 9.18431C3.18971 9.26818 3.11251 9.37959 3.02317 9.51854C2.99627 9.56037 2.9521 9.588 2.90272 9.59389C2.81132 9.60479 2.72838 9.53954 2.71749 9.44814C2.68359 9.16395 2.66665 8.93381 2.66665 8.75774C2.66665 5.61442 5.14571 3.05942 8.22563 3.0011L8.33331 3.00008V0.930735C8.33331 0.860721 8.36183 0.793575 8.4126 0.744068ZM9.66665 3.45606V4.33341H8.33331C6.72389 4.33341 5.24262 5.23624 4.56858 6.66841C5.4623 6.2882 6.48797 6.03277 7.61579 6.00694L7.8047 6.00478H9.66665V7.21077L11.5918 5.33341L9.66665 3.45606Z", clipRule: "evenodd" }));
    }
    var IconBatchMovement = react_1.default.forwardRef(IconBatchMovementComponent);
    exports.default = IconBatchMovement;
});
