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 IconSystemNetworkControlComponent(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-system_network-control").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 20 20" }, rest, { ref: ref }),
            react_1.default.createElement("path", { d: "M10.337 2.007c-.197.962-.65 2.367-1.404 2.768-.451.24-.727.322-.936.384-.206.062-.348.104-.529.259.131.602.333.83.536 1.06.105.119.21.238.307.41.407.73.524 1.593.168 2.302-.454.906-1.246 1.012-2.192.587-.359-.161-.703-.532-1-.852-.27-.29-.503-.54-.673-.555-.107-.009-.288.047-.51.116-.517.16-1.25.386-1.742-.003a2.064 2.064 0 0 1-.185-.164 8.003 8.003 0 0 1 8.16-6.312Zm6.623 11.94c-.173-.286-.47-.66-.88-.902-.468-.277-.924-.25-1.311-.226-.205.013-.39.024-.549-.012-.18-.04-.288-.197-.427-.397-.213-.308-.5-.72-1.227-.978-1.2-.426-3.273.05-3.505 1.866-.181 1.423.564 2.137 1.243 2.788.187.18.37.355.526.538.48.564.412 1.044.27 1.3a8.005 8.005 0 0 0 5.86-3.977Z", opacity: ".5" }),
            react_1.default.createElement("path", { d: "M16.96 13.947a8 8 0 0 0-6.623-11.94c-.197.962-.65 2.367-1.404 2.768-.45.24-.727.322-.936.384-.206.062-.348.104-.529.259.131.602.333.83.536 1.06.105.119.21.238.307.41.407.73.524 1.593.168 2.302-.454.906-1.246 1.012-2.192.587-.359-.161-.703-.532-1-.852-.27-.29-.503-.54-.672-.555-.107-.009-.29.047-.51.116-.518.16-1.25.386-1.743-.003a2.064 2.064 0 0 1-.185-.164A8.003 8.003 0 0 1 2 10a8 8 0 0 0 9.101 7.925c.14-.258.21-.737-.271-1.301-.157-.183-.339-.358-.526-.538-.68-.65-1.424-1.365-1.242-2.788.231-1.816 2.304-2.292 3.504-1.866.728.258 1.014.67 1.227.978.14.2.248.356.428.397.158.036.343.025.548.012.387-.024.843-.052 1.312.226.41.242.706.616.88.902Z" }));
    }
    var IconSystemNetworkControl = react_1.default.forwardRef(IconSystemNetworkControlComponent);
    exports.default = IconSystemNetworkControl;
});
