"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 IconFlagAltComponent(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-flag-alt").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 18 18", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("g", { clipPath: "url(#svg_52d97b13df__clip0_450_21656)" },
            react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.375 16.0193C3.375 16.1864 3.3576 16.247 3.32491 16.3082C3.29223 16.3693 3.24427 16.4172 3.18316 16.4499C3.12205 16.4826 3.06143 16.5 2.89427 16.5H2.35573C2.18857 16.5 2.12795 16.4826 2.06684 16.4499C2.00573 16.4172 1.95777 16.3693 1.92509 16.3082C1.8924 16.247 1.875 16.1864 1.875 16.0193V1.98073C1.875 1.81357 1.8924 1.75295 1.92509 1.69184C1.95777 1.63073 2.00573 1.58277 2.06684 1.55009C2.12795 1.5174 2.18857 1.5 2.35573 1.5H2.89427C3.06143 1.5 3.12205 1.5174 3.18316 1.55009C3.24427 1.58277 3.29223 1.63073 3.32491 1.69184C3.3576 1.75295 3.375 1.81357 3.375 1.98073V2.25H10.6635C10.9979 2.25 11.1191 2.28481 11.2413 2.35017C11.3635 2.41554 11.4595 2.51146 11.5248 2.63368C11.5902 2.75591 11.625 2.87714 11.625 3.21146V5.25H15.1635C15.4979 5.25 15.6191 5.28481 15.7413 5.35017C15.8635 5.41554 15.9595 5.51146 16.0248 5.63368C16.0902 5.75591 16.125 5.87714 16.125 6.21146V12.5385C16.125 12.8729 16.0902 12.9941 16.0248 13.1163C15.9595 13.2385 15.8635 13.3345 15.7413 13.3998C15.6191 13.4652 15.4979 13.5 15.1635 13.5H7.33646C7.00214 13.5 6.88091 13.4652 6.75868 13.3998C6.63646 13.3345 6.54054 13.2385 6.47517 13.1163C6.41484 13.0035 6.38054 12.8915 6.37562 12.612L6.375 10.5H3.375V16.0193ZM14.625 6.75H11.625V9.53854C11.625 9.87286 11.5902 9.99409 11.5248 10.1163C11.4595 10.2385 11.3635 10.3345 11.2413 10.3998C11.1191 10.4652 10.9979 10.5 10.6635 10.5H7.87462L7.875 12H14.625V6.75ZM3.375 3.75H10.125V9H3.375V3.75Z" })),
        react_1.default.createElement("defs", null,
            react_1.default.createElement("clipPath", { id: "svg_52d97b13df__clip0_450_21656" },
                react_1.default.createElement("path", { d: "M0 0H18V18H0z" }))));
}
var IconFlagAlt = react_1.default.forwardRef(IconFlagAltComponent);
exports.default = IconFlagAlt;
