import { defineComponent as J3, ref as pl, shallowRef as fP, onMounted as dP, watch as h4, watchEffect as s$, toRaw as l$, openBlock as Q3, createElementBlock as t5, computed as vS, onBeforeUnmount as c$, resolveComponent as mS, mergeProps as $m, createVNode as yS } from "vue"; import { d as bS, u as f$, _ as d$ } from "./index-50ffe046.mjs"; import { merge as wS } from "lodash-es"; import { useUi as p$ } from "@fast-crud/fast-crud"; var se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function h$(t) { return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; } function as(t) { var e = { exports: {} }; return t(e, e.exports), e.exports; } var mi, z0, Fh = function(t) { return t && t.Math == Math && t; }, kt = Fh(typeof globalThis == "object" && globalThis) || Fh(typeof window == "object" && window) || Fh(typeof self == "object" && self) || Fh(typeof se == "object" && se) || function() { return this; }() || Function("return this")(), e5 = Function.prototype, ES = e5.apply, g$ = e5.bind, DS = e5.call, pP = typeof Reflect == "object" && Reflect.apply || (g$ ? DS.bind(ES) : function() { return DS.apply(ES, arguments); }), hP = Function.prototype, g4 = hP.bind, v4 = hP.call, v$ = g4 && g4.bind(v4), ge = g4 ? function(t) { return t && v$(v4, t); } : function(t) { return t && function() { return v4.apply(t, arguments); }; }, sn = function(t) { return typeof t == "function"; }, Gn = function(t) { try { return !!t(); } catch { return !0; } }, Hn = !Gn(function() { return Object.defineProperty({}, 1, { get: function() { return 7; } })[1] != 7; }), kc = Function.prototype.call, zn = kc.bind ? kc.bind(kc) : function() { return kc.apply(kc, arguments); }, CS = {}.propertyIsEnumerable, SS = Object.getOwnPropertyDescriptor, m$ = SS && !CS.call({ 1: 2 }, 1) ? function(t) { var e = SS(this, t); return !!e && e.enumerable; } : CS, n5 = { f: m$ }, Yr = function(t, e) { return { enumerable: !(1 & t), configurable: !(2 & t), writable: !(4 & t), value: e }; }, y$ = ge({}.toString), b$ = ge("".slice), Eu = function(t) { return b$(y$(t), 8, -1); }, Hm = kt.Object, w$ = ge("".split), gP = Gn(function() { return !Hm("z").propertyIsEnumerable(0); }) ? function(t) { return Eu(t) == "String" ? w$(t, "") : Hm(t); } : Hm, E$ = kt.TypeError, r5 = function(t) { if (t == null) throw E$("Can't call method on " + t); return t; }, Po = function(t) { return gP(r5(t)); }, tr = function(t) { return typeof t == "object" ? t !== null : sn(t); }, Qn = {}, xS = function(t) { return sn(t) ? t : void 0; }, oc = function(t, e) { return arguments.length < 2 ? xS(Qn[t]) || xS(kt[t]) : Qn[t] && Qn[t][e] || kt[t] && kt[t][e]; }, _d = ge({}.isPrototypeOf), Vm = oc("navigator", "userAgent") || "", AS = kt.process, OS = kt.Deno, kS = AS && AS.versions || OS && OS.version, BS = kS && kS.v8; BS && (z0 = (mi = BS.split("."))[0] > 0 && mi[0] < 4 ? 1 : +(mi[0] + mi[1])), !z0 && Vm && (!(mi = Vm.match(/Edge\/(\d+)/)) || mi[1] >= 74) && (mi = Vm.match(/Chrome\/(\d+)/)) && (z0 = +mi[1]); var Th, wg = z0, po = !!Object.getOwnPropertySymbols && !Gn(function() { var t = Symbol(); return !String(t) || !(Object(t) instanceof Symbol) || !Symbol.sham && wg && wg < 41; }), o5 = po && !Symbol.sham && typeof Symbol.iterator == "symbol", D$ = kt.Object, hl = o5 ? function(t) { return typeof t == "symbol"; } : function(t) { var e = oc("Symbol"); return sn(e) && _d(e.prototype, D$(t)); }, C$ = kt.String, m4 = function(t) { try { return C$(t); } catch { return "Object"; } }, S$ = kt.TypeError, i5 = function(t) { if (sn(t)) return t; throw S$(m4(t) + " is not a function"); }, Eg = function(t, e) { var n = t[e]; return n == null ? void 0 : i5(n); }, x$ = kt.TypeError, A$ = Object.defineProperty, ta = kt["__core-js_shared__"] || function(t, e) { try { A$(kt, t, { value: e, configurable: !0, writable: !0 }); } catch { kt[t] = e; } return e; }("__core-js_shared__", {}), us = as(function(t) { (t.exports = function(e, n) { return ta[e] || (ta[e] = n !== void 0 ? n : {}); })("versions", []).push({ version: "3.19.3", mode: "pure", copyright: "© 2021 Denis Pushkarev (zloirock.ru)" }); }), O$ = kt.Object, Fp = function(t) { return O$(r5(t)); }, k$ = ge({}.hasOwnProperty), Vt = Object.hasOwn || function(t, e) { return k$(Fp(t), e); }, B$ = 0, F$ = Math.random(), T$ = ge(1 .toString), Dg = function(t) { return "Symbol(" + (t === void 0 ? "" : t) + ")_" + T$(++B$ + F$, 36); }, Bc = us("wks"), Du = kt.Symbol, FS = Du && Du.for, _$ = o5 ? Du : Du && Du.withoutSetter || Dg, Bn = function(t) { if (!Vt(Bc, t) || !po && typeof Bc[t] != "string") { var e = "Symbol." + t; po && Vt(Du, t) ? Bc[t] = Du[t] : Bc[t] = o5 && FS ? FS(e) : _$(e); } return Bc[t]; }, P$ = kt.TypeError, j$ = Bn("toPrimitive"), N$ = function(t, e) { if (!tr(t) || hl(t)) return t; var n, r = Eg(t, j$); if (r) { if (e === void 0 && (e = "default"), n = zn(r, t, e), !tr(n) || hl(n)) return n; throw P$("Can't convert object to primitive value"); } return e === void 0 && (e = "number"), function(o, i) { var a, u; if (i === "string" && sn(a = o.toString) && !tr(u = zn(a, o)) || sn(a = o.valueOf) && !tr(u = zn(a, o)) || i !== "string" && sn(a = o.toString) && !tr(u = zn(a, o))) return u; throw x$("Can't convert object to primitive value"); }(t, e); }, ic = function(t) { var e = N$(t, "string"); return hl(e) ? e : e + ""; }, y4 = kt.document, I$ = tr(y4) && tr(y4.createElement), vP = function(t) { return I$ ? y4.createElement(t) : {}; }, mP = !Hn && !Gn(function() { return Object.defineProperty(vP("div"), "a", { get: function() { return 7; } }).a != 7; }), TS = Object.getOwnPropertyDescriptor, L$ = Hn ? TS : function(t, e) { if (t = Po(t), e = ic(e), mP) try { return TS(t, e); } catch { } if (Vt(t, e)) return Yr(!zn(n5.f, t, e), t[e]); }, _1 = { f: L$ }, R$ = /#|\.prototype\./, Tp = function(t, e) { var n = z$[M$(t)]; return n == H$ || n != $$ && (sn(e) ? Gn(e) : !!e); }, M$ = Tp.normalize = function(t) { return String(t).replace(R$, ".").toLowerCase(); }, z$ = Tp.data = {}, $$ = Tp.NATIVE = "N", H$ = Tp.POLYFILL = "P", V$ = Tp, _S = ge(ge.bind), a5 = function(t, e) { return i5(t), e === void 0 ? t : _S ? _S(t, e) : function() { return t.apply(e, arguments); }; }, U$ = kt.String, W$ = kt.TypeError, ar = function(t) { if (tr(t)) return t; throw W$(U$(t) + " is not an object"); }, G$ = kt.TypeError, PS = Object.defineProperty, q$ = Hn ? PS : function(t, e, n) { if (ar(t), e = ic(e), ar(n), mP) try { return PS(t, e, n); } catch { } if ("get" in n || "set" in n) throw G$("Accessors not supported"); return "value" in n && (t[e] = n.value), t; }, ja = { f: q$ }, _n = Hn ? function(t, e, n) { return ja.f(t, e, Yr(1, n)); } : function(t, e, n) { return t[e] = n, t; }, K$ = _1.f, Y$ = function(t) { var e = function(n, r, o) { if (this instanceof e) { switch (arguments.length) { case 0: return new t(); case 1: return new t(n); case 2: return new t(n, r); } return new t(n, r, o); } return pP(t, this, arguments); }; return e.prototype = t.prototype, e; }, qo = function(t, e) { var n, r, o, i, a, u, s, l, c = t.target, f = t.global, p = t.stat, d = t.proto, m = f ? kt : p ? kt[c] : (kt[c] || {}).prototype, g = f ? Qn : Qn[c] || _n(Qn, c, {})[c], v = g.prototype; for (o in e) n = !V$(f ? o : c + (p ? "." : "#") + o, t.forced) && m && Vt(m, o), a = g[o], n && (u = t.noTargetGet ? (l = K$(m, o)) && l.value : m[o]), i = n && u ? u : e[o], n && typeof a == typeof i || (s = t.bind && n ? a5(i, kt) : t.wrap && n ? Y$(i) : d && sn(i) ? ge(i) : i, (t.sham || i && i.sham || a && a.sham) && _n(s, "sham", !0), _n(g, o, s), d && (Vt(Qn, r = c + "Prototype") || _n(Qn, r, {}), _n(Qn[r], o, i), t.real && v && !v[o] && _n(v, o, i))); }, jS = us("keys"), P1 = function(t) { return jS[t] || (jS[t] = Dg(t)); }, X$ = !Gn(function() { function t() { } return t.prototype.constructor = null, Object.getPrototypeOf(new t()) !== t.prototype; }), NS = P1("IE_PROTO"), b4 = kt.Object, Z$ = b4.prototype, Cg = X$ ? b4.getPrototypeOf : function(t) { var e = Fp(t); if (Vt(e, NS)) return e[NS]; var n = e.constructor; return sn(n) && e instanceof n ? n.prototype : e instanceof b4 ? Z$ : null; }, J$ = kt.String, Q$ = kt.TypeError, Sg = Object.setPrototypeOf || ("__proto__" in {} ? function() { var t, e = !1, n = {}; try { (t = ge(Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set))(n, []), e = n instanceof Array; } catch { } return function(r, o) { return ar(r), function(i) { if (typeof i == "object" || sn(i)) return i; throw Q$("Can't set " + J$(i) + " as a prototype"); }(o), e ? t(r, o) : r.__proto__ = o, r; }; }() : void 0), tH = Math.ceil, eH = Math.floor, u5 = function(t) { var e = +t; return e != e || e === 0 ? 0 : (e > 0 ? eH : tH)(e); }, nH = Math.max, rH = Math.min, w4 = function(t, e) { var n = u5(t); return n < 0 ? nH(n + e, 0) : rH(n, e); }, oH = Math.min, _p = function(t) { return (e = t.length) > 0 ? oH(u5(e), 9007199254740991) : 0; var e; }, IS = function(t) { return function(e, n, r) { var o, i = Po(e), a = _p(i), u = w4(r, a); if (t && n != n) { for (; a > u; ) if ((o = i[u++]) != o) return !0; } else for (; a > u; u++) if ((t || u in i) && i[u] === n) return t || u || 0; return !t && -1; }; }, iH = { includes: IS(!0), indexOf: IS(!1) }, Pp = {}, aH = iH.indexOf, LS = ge([].push), yP = function(t, e) { var n, r = Po(t), o = 0, i = []; for (n in r) !Vt(Pp, n) && Vt(r, n) && LS(i, n); for (; e.length > o; ) Vt(r, n = e[o++]) && (~aH(i, n) || LS(i, n)); return i; }, xg = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"], uH = xg.concat("length", "prototype"), sH = Object.getOwnPropertyNames || function(t) { return yP(t, uH); }, s5 = { f: sH }, $0 = { f: Object.getOwnPropertySymbols }, lH = ge([].concat), cH = oc("Reflect", "ownKeys") || function(t) { var e = s5.f(ar(t)), n = $0.f; return n ? lH(e, n(t)) : e; }, l5 = Object.keys || function(t) { return yP(t, xg); }, fH = Hn ? Object.defineProperties : function(t, e) { ar(t); for (var n, r = Po(e), o = l5(e), i = o.length, a = 0; i > a; ) ja.f(t, n = o[a++], r[n]); return t; }, dH = oc("document", "documentElement"), bP = P1("IE_PROTO"), Um = function() { }, wP = function(t) { return "