"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 IconPluginCloudDeploymentComponent(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-plugin_cloud-deployment").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 12 12" }, rest, { ref: ref }),
        react_1.default.createElement("path", { d: "M6.03 1.043c1.947 0 3.541 1.5 3.694 3.407 1.225.47 2.08 1.7 2.08 3.12 0 1.809-1.395 3.323-3.172 3.324H3.429a.503.503 0 0 1-.142-.024C1.545 10.83.186 9.34.186 7.56c0-1.444.889-2.692 2.153-3.14A3.707 3.707 0 0 1 6.03 1.044Zm0 1A2.708 2.708 0 0 0 3.323 4.75a.497.497 0 0 1-.23.418.495.495 0 0 1-.235.14c-.943.236-1.672 1.141-1.672 2.252 0 1.302.997 2.313 2.172 2.313.258 0 1.966.016 2.223.02h3.05c1.175 0 2.174-1.014 2.174-2.324 0-1.116-.732-2.024-1.674-2.261a.5.5 0 0 1-.374-.43.498.498 0 0 1-.02-.128A2.707 2.707 0 0 0 6.03 2.043Zm-.073 1.464a.637.637 0 0 1 .49 1.054c.006.03.01.062.01.094v1.002l2.046.001a.5.5 0 0 1 .5.5v1.873a.497.497 0 0 1-.03.157.64.64 0 0 1-.444 1.106.644.644 0 0 1-.643-.644c0-.16.061-.306.159-.419a.5.5 0 0 1-.042-.2V6.657H6.457V8.03a.498.498 0 0 1-.034.178.64.64 0 0 1-.466 1.085.644.644 0 0 1-.466-1.085.5.5 0 0 1-.034-.178V6.656H3.913v1.375a.498.498 0 0 1-.044.2.638.638 0 0 1-.483 1.063.644.644 0 0 1-.446-1.106.499.499 0 0 1-.027-.157V6.156a.5.5 0 0 1 .5-.5h2.044v-1c0-.033.004-.065.01-.095a.638.638 0 0 1 .49-1.054Z" }));
}
var IconPluginCloudDeployment = react_1.default.forwardRef(IconPluginCloudDeploymentComponent);
exports.default = IconPluginCloudDeployment;
