"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 IconDataOnlineTaggingComponent(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-data_online_tagging").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 20 20", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("path", { opacity: ".5", fillRule: "evenodd", clipRule: "evenodd", d: "M17.5553 11.4231L18.0911 11.9589C18.4047 12.2685 18.4047 12.7726 18.0911 13.0822L12.8399 18.3334H11.1808V16.6743L15.3087 12.5424L16.432 11.4231C16.7416 11.1135 17.2457 11.1135 17.5553 11.4231Z" }),
        react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.4999 11.3727V6.83407C17.4999 6.65461 17.4276 6.48273 17.2992 6.3573L12.6942 1.85664C12.5697 1.73491 12.4024 1.66675 12.2283 1.66675H3.16667C2.79848 1.66675 2.5 1.96522 2.5 2.33341V17.6668C2.5 18.035 2.79848 18.3334 3.16667 18.3334H16.8333C17.2015 18.3334 17.4999 18.035 17.4999 17.6668V13.6734L12.8399 18.3334H11.1808V16.6743L15.3087 12.5424L16.432 11.4231C16.7238 11.1313 17.1883 11.1145 17.4999 11.3727ZM12.0833 8.5213H7.91667C7.68655 8.5213 7.5 8.70785 7.5 8.93797V9.7713C7.5 10.0014 7.68655 10.188 7.91667 10.188H12.0833C12.3135 10.188 12.5 10.0014 12.5 9.7713V8.93797C12.5 8.70785 12.3135 8.5213 12.0833 8.5213ZM12.0833 12.688H7.91667C7.68655 12.688 7.5 12.8745 7.5 13.1046V13.938C7.5 14.1681 7.68655 14.3546 7.91667 14.3546H12.0833C12.3135 14.3546 12.5 14.1681 12.5 13.938V13.1046C12.5 12.8745 12.3135 12.688 12.0833 12.688Z" }));
}
var IconDataOnlineTagging = react_1.default.forwardRef(IconDataOnlineTaggingComponent);
exports.default = IconDataOnlineTagging;
