"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importStar(require("react"));
var context_1 = require("../context");
function IconDiagramCrackingComponent(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-diagram-cracking").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 24 24", fill: useCurrentColor ? 'currentColor' : 'none', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("rect", { width: "24", height: "24", rx: "6", fill: useCurrentColor ? 'currentColor' : '#1A1B1E', fillOpacity: ".05" }),
        react_1.default.createElement("g", { fill: useCurrentColor ? 'currentColor' : '#CCC' },
            react_1.default.createElement("path", { d: "M12.4017 8.18066L13.4065 10.9287L9.65653 14.9912L13.4065 19.6787L11.9759 20.582H3.12333C2.73806 20.5817 2.49879 20.1629 2.69462 19.8311L4.08915 17.4727C4.22558 17.2419 4.5048 17.1725 4.72489 17.2725L6.66532 11.9414C6.82406 11.5056 7.44036 11.5042 7.60087 11.9395L8.42509 14.1748L9.32255 12.2129C9.49666 11.8324 10.034 11.823 10.221 12.1973L10.6097 12.9766L12.0784 8.50098C12.1343 8.3309 12.2592 8.22408 12.4017 8.18066ZM6.72978 4.1875C7.82627 4.18751 8.71507 5.07637 8.71513 6.17285C8.71513 7.26938 7.8263 8.15819 6.72978 8.1582C5.63324 8.1582 4.74442 7.26939 4.74442 6.17285C4.74448 5.07636 5.63327 4.1875 6.72978 4.1875Z" }),
            react_1.default.createElement("path", { d: "M17.3271 15.2393L17.9014 14.0967C18.0895 13.7216 18.6287 13.7335 18.8008 14.1162L21.1943 19.4385C21.3424 19.7679 21.1013 20.1403 20.7402 20.1406H14.6309L16.0625 19.2363L12.3125 14.3926L15.8086 10.75L17.3271 15.2393Z" })));
}
var IconDiagramCracking = react_1.default.forwardRef(IconDiagramCrackingComponent);
exports.default = IconDiagramCracking;
