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 IconUploadingOfdComponent(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-uploading-ofd").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 32 32" }, rest, { ref: ref }),
            react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#FB0', fillRule: "evenodd", d: "M8 2a4 4 0 0 0-4 4v20a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V12L18 2H8Z", clipRule: "evenodd" }),
            react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M22.044 18.831a1.059 1.059 0 0 1 .744.299 1.038 1.038 0 0 1 .312.738 1.032 1.032 0 0 1-.654.962 1.054 1.054 0 0 1-.402.074l-3.389.001a1.053 1.053 0 0 1-.73-.307 1.033 1.033 0 0 1 0-1.46c.193-.194.456-.304.73-.307h3.39Zm.326 1.814a.882.882 0 0 1-.083.028l.005-.001.078-.027Zm.464-.454a.831.831 0 0 1-.048.094c.004-.006.01-.013.013-.02l.035-.075Zm.066-.323-.001.026v-.026Zm-.066-.322c.01.025.021.05.03.077l-.03-.077Zm-.464-.454a.863.863 0 0 1 .091.044l-.013-.009-.078-.035Z", opacity: ".7" }),
            react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M19.506 12.3c.275.003.538.114.732.307a1.032 1.032 0 0 1 0 1.46 1.051 1.051 0 0 1-.732.307h-.002c-.62 0-1.216.245-1.655.679a2.299 2.299 0 0 0-.684 1.633v6.029c0 .937-.305 1.85-.867 2.603a4.433 4.433 0 0 1-2.256 1.586 4.478 4.478 0 0 1-2.767-.047 4.43 4.43 0 0 1-2.2-1.665 4.354 4.354 0 0 1 .183-5.203 4.438 4.438 0 0 1 2.31-1.509 4.479 4.479 0 0 1 2.764.143 1.044 1.044 0 0 1 .671.943 1.03 1.03 0 0 1-.29.743 1.048 1.048 0 0 1-1.135.249 2.366 2.366 0 0 0-1.444-.08 2.345 2.345 0 0 0-1.215.774 2.298 2.298 0 0 0-.156 2.71c.267.41.658.728 1.118.905.46.178.966.207 1.444.083a2.344 2.344 0 0 0 1.216-.771c.312-.376.495-.838.526-1.322l.005-.142v-6.197c0-.04.003-.08.009-.12l.018-.208a4.371 4.371 0 0 1 1.376-2.707 4.46 4.46 0 0 1 3.03-1.183h.001Zm-5.008 12.217c.069-.067.136-.136.198-.21l-.134.148c-.02.021-.043.041-.064.062Zm-5.966-1.29a4.142 4.142 0 0 1-.03-.659l.001.334c.005.11.015.218.029.326Zm2.006-1.778c-.016.026-.029.054-.043.08a1.96 1.96 0 0 1 .056-.1l-.013.02Zm6.073-7.82-.144.14a4.164 4.164 0 0 0 .144-.14Z" }),
            react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#FFDD80', d: "m18 2 10 10h-6a4 4 0 0 1-4-4V2Z" }));
    }
    var IconUploadingOfd = react_1.default.forwardRef(IconUploadingOfdComponent);
    exports.default = IconUploadingOfd;
});
