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 IconModelWarehouseDetailComponent(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-model_warehouse_detail").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 40 40", fill: useCurrentColor ? 'currentColor' : 'none', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
            react_1.default.createElement("rect", { width: "40", height: "40", rx: "4", fill: useCurrentColor ? 'currentColor' : 'url(#svg_96d6f2e7e1__paint0_linear_5833_14323)' }),
            react_1.default.createElement("path", { opacity: ".5", d: "M8.97399 26.6956C8.98635 27.1284 9.22209 27.525 9.59848 27.7423L19.3751 33.3869C19.5724 33.5008 19.793 33.5566 20.0132 33.5543L20.0129 21.6403C20.0128 21.2951 19.7705 20.8754 19.4716 20.7028L9.14436 14.7399C9.03745 14.9228 8.977 15.1328 8.97363 15.3515L8.97399 26.6956Z", fill: useCurrentColor ? 'currentColor' : '#D7E5FF' }),
            react_1.default.createElement("path", { d: "M19.3751 8.62853C19.7618 8.40524 20.2383 8.40524 20.6251 8.62853L30.4017 14.273C30.7884 14.4963 31.0267 14.909 31.0267 15.3556V26.6446C31.0267 27.0912 30.7884 27.5038 30.4017 27.7271L20.6251 33.3716C20.4356 33.481 20.2245 33.5368 20.013 33.539L20.0127 21.6251C20.0127 21.2799 19.7703 20.8602 19.4714 20.6876L9.14431 14.7248C9.25209 14.5404 9.40712 14.3835 9.59851 14.273L19.3751 8.62853zM8.97351 17.6499L8.9738 26.6715C8.97361 26.6625 8.97351 26.6536 8.97351 26.6446V17.6499z", fill: useCurrentColor ? 'currentColor' : '#EBF1FF' }),
            react_1.default.createElement("defs", null,
                react_1.default.createElement("linearGradient", { id: "svg_96d6f2e7e1__paint0_linear_5833_14323", x1: "40", y1: "3", x2: "-9", y2: "50", gradientUnits: "userSpaceOnUse" },
                    react_1.default.createElement("stop", { stopColor: "#5F9FFF" }),
                    react_1.default.createElement("stop", { offset: "1", stopColor: "#4281FF" }))));
    }
    var IconModelWarehouseDetail = react_1.default.forwardRef(IconModelWarehouseDetailComponent);
    exports.default = IconModelWarehouseDetail;
});
