import e from "react";
var t = {
	color: void 0,
	size: void 0,
	className: void 0,
	style: void 0,
	attr: void 0
}, n = e.createContext && /* @__PURE__ */ e.createContext(t), r = [
	"attr",
	"size",
	"title"
];
function i(e, t) {
	if (e == null) return {};
	var n = a(e, t), r, i;
	if (Object.getOwnPropertySymbols) {
		var o = Object.getOwnPropertySymbols(e);
		for (i = 0; i < o.length; i++) r = o[i], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
	}
	return n;
}
function a(e, t) {
	if (e == null) return {};
	var n = {};
	for (var r in e) if (Object.prototype.hasOwnProperty.call(e, r)) {
		if (t.indexOf(r) >= 0) continue;
		n[r] = e[r];
	}
	return n;
}
function o() {
	return o = Object.assign ? Object.assign.bind() : function(e) {
		for (var t = 1; t < arguments.length; t++) {
			var n = arguments[t];
			for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
		}
		return e;
	}, o.apply(this, arguments);
}
function s(e, t) {
	var n = Object.keys(e);
	if (Object.getOwnPropertySymbols) {
		var r = Object.getOwnPropertySymbols(e);
		t && (r = r.filter(function(t) {
			return Object.getOwnPropertyDescriptor(e, t).enumerable;
		})), n.push.apply(n, r);
	}
	return n;
}
function c(e) {
	for (var t = 1; t < arguments.length; t++) {
		var n = arguments[t] == null ? {} : arguments[t];
		t % 2 ? s(Object(n), !0).forEach(function(t) {
			l(e, t, n[t]);
		}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s(Object(n)).forEach(function(t) {
			Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
		});
	}
	return e;
}
function l(e, t, n) {
	return t = u(t), t in e ? Object.defineProperty(e, t, {
		value: n,
		enumerable: !0,
		configurable: !0,
		writable: !0
	}) : e[t] = n, e;
}
function u(e) {
	var t = d(e, "string");
	return typeof t == "symbol" ? t : t + "";
}
function d(e, t) {
	if (typeof e != "object" || !e) return e;
	var n = e[Symbol.toPrimitive];
	if (n !== void 0) {
		var r = n.call(e, t || "default");
		if (typeof r != "object") return r;
		throw TypeError("@@toPrimitive must return a primitive value.");
	}
	return (t === "string" ? String : Number)(e);
}
function f(t) {
	return t && t.map((t, n) => /* @__PURE__ */ e.createElement(t.tag, c({ key: n }, t.attr), f(t.child)));
}
function p(t) {
	return (n) => /* @__PURE__ */ e.createElement(m, o({ attr: c({}, t.attr) }, n), f(t.child));
}
function m(a) {
	var s = (t) => {
		var { attr: n, size: s, title: l } = a, u = i(a, r), d = s || t.size || "1em", f;
		return t.className && (f = t.className), a.className && (f = (f ? f + " " : "") + a.className), /* @__PURE__ */ e.createElement("svg", o({
			stroke: "currentColor",
			fill: "currentColor",
			strokeWidth: "0"
		}, t.attr, n, u, {
			className: f,
			style: c(c({ color: a.color || t.color }, t.style), a.style),
			height: d,
			width: d,
			xmlns: "http://www.w3.org/2000/svg"
		}), l && /* @__PURE__ */ e.createElement("title", null, l), a.children);
	};
	return n === void 0 ? s(t) : /* @__PURE__ */ e.createElement(n.Consumer, null, (e) => s(e));
}
export { p as b };

//# sourceMappingURL=iconBase.C7m0emOO.js.map