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 __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;
};
import React, { useContext } from 'react';
import { Context } from '../context';
function IconTreeModelVideoGenerationCancComponent(props, ref) {
    var prefixFromContext = useContext(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.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-tree_model_video-generation-canc").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 24 24" }, rest, { ref: ref }),
        React.createElement("rect", { width: "24", height: "24", fill: useCurrentColor ? 'currentColor' : '#A061EF', rx: "6" }),
        React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M18.527 12.003a.7.7 0 0 1 .986.994l-2.136 2.12 2.14 2.157a.7.7 0 0 1-.994.987l-2.137-2.155-2.136 2.155a.7.7 0 0 1-.995-.987l2.14-2.158-2.136-2.119a.7.7 0 0 1 .987-.994l2.14 2.123 2.14-2.123ZM16.085 4.95a1.7 1.7 0 0 1 1.7 1.7v1.58a.701.701 0 0 1-1.4 0V6.65a.3.3 0 0 0-.3-.3H6.05a.3.3 0 0 0-.3.3v10.035a.3.3 0 0 0 .3.3h4.45a.7.7 0 1 1 0 1.4H6.05a1.7 1.7 0 0 1-1.7-1.7V6.65a1.7 1.7 0 0 1 1.7-1.7h10.035ZM8.905 8.5c.093 0 .183.031.255.089l3.003 2.403a.406.406 0 0 1 0 .634L9.16 14.028a.407.407 0 0 1-.66-.316V8.906c0-.224.182-.406.406-.406Z" }));
}
var IconTreeModelVideoGenerationCanc = React.forwardRef(IconTreeModelVideoGenerationCancComponent);
export default IconTreeModelVideoGenerationCanc;
