"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 IconNvidiaComponent(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-nvidia").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 24 24", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("g", { clipPath: "url(#svg_540df7f838__clip0_2729_21679)" },
            react_1.default.createElement("path", { d: "M8.95372 8.79567V7.36443C9.07755 7.35467 9.22542 7.34801 9.37401 7.34642H9.37776C13.3021 7.22254 15.875 10.723 15.875 10.723C15.875 10.723 13.0988 14.5769 10.1208 14.5769C9.72708 14.5777 9.33581 14.5151 8.96198 14.3916V10.0423C10.4908 10.2275 10.8 10.9001 11.7111 12.4289L13.7525 10.714C13.7525 10.714 12.2597 8.7604 9.75 8.7604C9.71013 8.75965 9.66294 8.7589 9.61566 8.7589C9.3852 8.75897 9.15493 8.77199 8.92593 8.79792L8.9537 8.79558L8.95372 8.79567ZM8.95372 4.05688V6.19662L9.37776 6.16953C14.8318 5.98426 18.3937 10.6426 18.3937 10.6426C18.3937 10.6426 14.3109 15.6104 10.0577 15.6104C9.69041 15.609 9.32385 15.5766 8.96198 15.5136V16.8398C9.26398 16.8781 9.56794 16.8988 9.87235 16.902C13.8321 16.902 16.6968 14.8779 19.4722 12.4912C19.9316 12.8627 21.8139 13.7551 22.2041 14.1446C19.5691 16.3541 13.4259 18.1314 9.94289 18.1314C9.61817 18.1317 9.29369 18.1139 8.97096 18.0781V19.943H24.0151V4.05839L8.95372 4.05688ZM8.95372 14.39V15.5218C5.29418 14.8674 4.27734 11.0585 4.27734 11.0585C4.27734 11.0585 6.03656 9.11314 8.95372 8.79492V10.0325H8.94547C7.41666 9.8464 6.21358 11.2784 6.21358 11.2784C6.21358 11.2784 6.89431 13.692 8.95447 14.3908L8.95372 14.39ZM2.45723 10.8986C2.45723 10.8986 4.62244 7.69916 8.96198 7.36293V6.19587C4.15574 6.58539 0 10.651 0 10.651C0 10.651 2.35137 17.4574 8.95445 18.0759V16.8382C4.11135 16.2378 2.45796 10.8978 2.45796 10.8978L2.45723 10.8986Z" })),
        react_1.default.createElement("defs", null,
            react_1.default.createElement("clipPath", { id: "svg_540df7f838__clip0_2729_21679" },
                react_1.default.createElement("path", { d: "M0 0H24V24H0z" }))));
}
var IconNvidia = react_1.default.forwardRef(IconNvidiaComponent);
exports.default = IconNvidia;
