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 __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;
};
import React, { useContext } from 'react';
import { Context } from '../context';
function IconVideoComponent(props, ref) {
    var prefixFromContext = useContext(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.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-video").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'currentColor', viewBox: "0 0 28 28" }, rest, { ref: ref }),
        React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#FB0', fillRule: "evenodd", d: "M7 1.75a3.5 3.5 0 0 0-3.5 3.5v17.5a3.5 3.5 0 0 0 3.5 3.5h14a3.5 3.5 0 0 0 3.5-3.5V10.5l-8.75-8.75H7Z", clipRule: "evenodd" }),
        React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#FFDD80', d: "m15.75 1.75 8.75 8.75h-5.25a3.5 3.5 0 0 1-3.5-3.5V1.75Z" }),
        React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M15.05 14.3a1 1 0 0 0-1-1h-5.7a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5.7a1 1 0 0 0 1-1v-5Z" }),
        React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M20.65 13.534a.5.5 0 0 0-.777-.416l-3.2 2.133a.5.5 0 0 0-.223.417v2.264a.5.5 0 0 0 .223.416l3.2 2.134a.5.5 0 0 0 .777-.416v-6.532Z", opacity: ".7" }));
}
var IconVideo = React.forwardRef(IconVideoComponent);
export default IconVideo;
