"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 IconAgtDebugComponent(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-agt_debug").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: "M1.68959 4.38216C1.88888 3.91484 2.46324 3.86591 2.77523 4.16821C3.20069 4.58047 4.39359 5.72102 5.01052 6.31047L6.4981 4.8229C5.90865 4.20597 4.76811 3.01309 4.35584 2.58761C4.05355 2.27564 4.10245 1.70126 4.56979 1.50197C5.9317 0.921178 7.57347 1.57347 8.58316 2.58316C9.75227 3.75227 10.0692 5.44956 9.53632 6.90503L13.5833 10.952C13.9322 11.301 13.9322 11.8667 13.5833 12.2156L12.404 13.3949C12.0551 13.7438 11.4894 13.7438 11.1404 13.3949L7.09379 9.34828C5.63807 9.88171 3.94019 9.56495 2.77078 8.39554C1.76109 7.38585 1.10879 5.74409 1.68959 4.38216ZM7.05124 8.21193C7.01922 8.22002 6.9875 8.23121 6.95645 8.24562C5.83198 8.76745 4.45519 8.56367 3.52892 7.6374C2.8918 7.00028 2.531 6.15821 2.54671 5.43653C3.14422 6.01003 3.98363 6.81227 4.39715 7.2073C4.74992 7.5443 5.30356 7.53371 5.64511 7.19216L7.37978 5.45749C7.72133 5.11594 7.73192 4.5623 7.39492 4.20953C6.99989 3.79601 6.19767 2.95661 5.62415 2.35909C6.34583 2.34338 7.18791 2.70418 7.82502 3.34129C8.75129 4.26757 8.95507 5.64436 8.43324 6.76883C8.41789 6.80189 8.40621 6.83571 8.39801 6.86984C8.33815 7.05525 8.38184 7.26683 8.52907 7.41406L12.6988 11.5838L11.7722 12.5104L7.60246 8.34067C7.45337 8.19158 7.23831 8.14866 7.05124 8.21193Z", clipRule: "evenodd" }));
}
var IconAgtDebug = react_1.default.forwardRef(IconAgtDebugComponent);
exports.default = IconAgtDebug;
