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 IconObsComponent(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-obs").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 16 16", fill: useCurrentColor ? 'currentColor' : 'none', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
            react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.10127 12.9284C2.26033 12.9284 0.767944 11.436 0.767944 9.59505C0.767944 7.75409 2.26033 6.26172 4.10127 6.26172C5.94224 6.26172 7.43461 7.75409 7.43461 9.59505C7.43461 9.61112 7.43451 9.62719 7.43427 9.64322H9.07784V12.9284H4.19014V12.9272C4.16061 12.928 4.13101 12.9284 4.10127 12.9284Z", fill: useCurrentColor ? 'currentColor' : '#AEB8CA' }),
            react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.86313 12.918C5.00387 12.7423 2.73926 10.3677 2.73926 7.4642C2.73926 4.4464 5.18567 2 8.20347 2C10.9755 2 13.2654 4.06413 13.62 6.73923C14.5868 7.3228 15.2332 8.38343 15.2332 9.59507C15.2332 11.436 13.7408 12.9284 11.8999 12.9284H8.20347H8.1287C8.03933 12.9284 7.95073 12.9249 7.86313 12.918Z", fill: useCurrentColor ? 'currentColor' : '#8D99AE' }),
            react_1.default.createElement("path", { d: "M11.5837 9.42777C11.6888 9.53277 11.6144 9.7123 11.4659 9.7123H10.0369C9.96327 9.7123 9.90357 9.772 9.90357 9.84564V11.6919C9.93391 12.3794 10.4922 12.9273 11.1766 12.9273C11.1924 12.9273 11.2082 12.9271 11.2239 12.9265V12.9276H9.90097V12.9271H8.22177C7.48537 12.9271 6.88844 12.3302 6.88844 11.5938V9.84564C6.88844 9.772 6.82874 9.7123 6.75511 9.7123H5.36464C5.21614 9.7123 5.14177 9.53277 5.24681 9.42777L8.17961 6.49604C8.30977 6.3659 8.52077 6.3659 8.65094 6.49604L11.5837 9.42777Z", fill: useCurrentColor ? 'currentColor' : '#F6F8FA' }));
    }
    var IconObs = react_1.default.forwardRef(IconObsComponent);
    exports.default = IconObs;
});
