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 IconUnlock25DComponent(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-unlock-25D").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 24 24" }, rest, { ref: ref }),
            react_1.default.createElement("g", null,
                react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#75B70A', d: "M12.592 8.072h-2.538v-1.52c0-.644.127-1.246.382-1.802a4.67 4.67 0 0 1 1.056-1.47 4.938 4.938 0 0 1 1.593-.996 5.4 5.4 0 0 1 2.004-.364c.644 0 1.265.12 1.862.362a5.288 5.288 0 0 1 1.591.996c.464.424.833.915 1.108 1.472a4 4 0 0 1 .413 1.802v1.52h-2.436v-.956c0-.846-.235-1.5-.706-1.963-.47-.463-1.107-.696-1.913-.696-.726 0-1.309.233-1.752.696-.444.463-.664 1.117-.664 1.963v.956Zm5.08 1.209c.362 0 .674.132.935.393.263.262.394.574.394.936v7.684a2.688 2.688 0 0 1-.715 1.842c-.221.235-.484.42-.785.554a2.427 2.427 0 0 1-.997.202H6.332a2.358 2.358 0 0 1-1.742-.736 2.364 2.364 0 0 1-.482-.775 2.604 2.604 0 0 1-.172-.947V10.61c0-.362.127-.674.383-.936.254-.262.564-.393.926-.393h12.426Z" }),
                react_1.default.createElement("path", { stroke: "#1A1B1E", strokeOpacity: ".08", strokeWidth: "2.4", d: "M11.872 7.352h-1.098v-.8c0-.546.108-1.044.316-1.502.215-.47.52-.894.898-1.246a4.24 4.24 0 0 1 1.362-.852 4.706 4.706 0 0 1 1.74-.312c.552 0 1.08.103 1.592.31a4.54 4.54 0 0 1 1.376.861c.398.364.712.781.948 1.258.224.453.338.945.338 1.483v.8h-.996v-.236c0-.982-.276-1.842-.92-2.477-.633-.624-1.468-.901-2.418-.901-.894 0-1.676.293-2.273.917-.609.636-.864 1.491-.864 2.461v.236h-.001Zm5.8 2.649c.167 0 .297.051.426.182a.56.56 0 0 1 .183.427v7.684a1.97 1.97 0 0 1-.519 1.349 1.734 1.734 0 0 1-.554.39 1.716 1.716 0 0 1-.704.139H6.332a1.64 1.64 0 0 1-1.216-.509 1.644 1.644 0 0 1-.336-.541 1.884 1.884 0 0 1-.124-.688V10.61a.576.576 0 0 1 .179-.434.528.528 0 0 1 .41-.175h12.426Z" }),
                react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M10.2 13.296a1.296 1.296 0 0 1 2.592 0v3.168a1.296 1.296 0 1 1-2.592 0v-3.168Z" })));
    }
    var IconUnlock25D = react_1.default.forwardRef(IconUnlock25DComponent);
    exports.default = IconUnlock25D;
});
