"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 IconNewWindow1Component(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-new-window-1").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 14 14", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("path", { d: "M6.7085 1.02081C6.86958 1.02081 7.00016 1.1514 7.00016 1.31248V2.18748C7.00016 2.34856 6.86958 2.47915 6.7085 2.47915H2.47933V11.5208H11.521V7.29165C11.521 7.13056 11.6516 6.99998 11.8127 6.99998H12.6877C12.8487 6.99998 12.9793 7.13056 12.9793 7.29165V12.6875C12.9793 12.8486 12.8487 12.9791 12.6877 12.9791H1.31266C1.15158 12.9791 1.021 12.8486 1.021 12.6875V1.31248C1.021 1.1514 1.15158 1.02081 1.31266 1.02081H6.7085Z" }),
        react_1.default.createElement("path", { d: "M9.10224 1.02081C8.97231 1.02081 8.90725 1.1779 8.99912 1.26977L10.3469 2.61757L6.68687 6.27763C6.57297 6.39153 6.57297 6.5762 6.68687 6.69011L7.30559 7.30882C7.41949 7.42273 7.60416 7.42273 7.71807 7.30882L11.3781 3.64877L12.7304 5.00103C12.8222 5.0929 12.9793 5.02783 12.9793 4.89791V1.16665C12.9793 1.0861 12.914 1.02081 12.8335 1.02081H9.10224Z" }));
}
var IconNewWindow1 = react_1.default.forwardRef(IconNewWindow1Component);
exports.default = IconNewWindow1;
