x-prop-tree 0.5.5 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,54 +1,53 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.id="x-prop-tree",e.appendChild(document.createTextNode('.v-icon{--v-icon-size-multiplier: 1;align-items:center;display:inline-flex;font-feature-settings:"liga";height:1em;justify-content:center;letter-spacing:normal;line-height:1;position:relative;text-indent:0;text-align:center;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1em;min-width:1em}.v-icon--clickable{cursor:pointer}.v-icon--disabled{pointer-events:none;opacity:.38}.v-icon--size-x-small{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-icon--size-small{font-size:calc(var(--v-icon-size-multiplier) * 1.25em)}.v-icon--size-default{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)}.v-icon--size-large{font-size:calc(var(--v-icon-size-multiplier) * 1.75em)}.v-icon--size-x-large{font-size:calc(var(--v-icon-size-multiplier) * 2em)}.v-icon__svg{fill:currentColor;width:100%;height:100%}.v-icon--start{margin-inline-end:8px}.v-icon--end{margin-inline-start:8px}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
- import { Fragment as tt, reactive as an, computed as I, watchEffect as nt, toRefs as Jn, warn as Qn, getCurrentInstance as er, inject as rt, shallowRef as tr, provide as sn, defineComponent as L, isRef as at, createVNode as A, mergeProps as it, unref as H, ref as k, toRef as nr, Text as rr, resolveDirective as se, withDirectives as W, openBlock as E, createElementBlock as pe, normalizeStyle as on, withModifiers as xe, renderSlot as ar, resolveComponent as P, createBlock as F, withCtx as N, renderList as ir, createTextVNode as st, toDisplayString as Ee, createElementVNode as sr, createCommentVNode as We, mergeModels as K, useModel as oe, watch as Ke, h as v } from "vue";
3
- import { useI18n as ot } from "vue-i18n";
4
- import { useColor as lt, eventBus as ln, useViewStack as un } from "x-essential-lib";
5
- import { parsePixelStr as or, parsePercentStr as lr, getPropDefault as j } from "x-runtime-lib";
6
- var ur = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", cr = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", cn = "M19,13H5V11H19V13Z", fn = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z", dn = typeof global == "object" && global && global.Object === Object && global, fr = typeof self == "object" && self && self.Object === Object && self, U = dn || fr || Function("return this")(), G = U.Symbol, mn = Object.prototype, dr = mn.hasOwnProperty, mr = mn.toString, le = G ? G.toStringTag : void 0;
7
- function gr(e) {
8
- var t = dr.call(e, le), n = e[le];
1
+ import { defineComponent as H, ref as R, computed as Y, resolveDirective as fe, withDirectives as k, openBlock as C, createElementBlock as W, normalizeStyle as Ie, withModifiers as j, renderSlot as Tn, resolveComponent as P, createBlock as U, unref as N, isRef as xt, withCtx as K, createVNode as M, Fragment as Nt, renderList as $n, createTextVNode as Je, toDisplayString as xe, createElementVNode as Ee, createCommentVNode as Z, mergeModels as F, useModel as de, mergeProps as Ft, watch as qe, watchEffect as bn, reactive as An, h as _ } from "vue";
2
+ import { useI18n as Qe } from "vue-i18n";
3
+ import { useColor as ke, eventBus as Bt, useViewStack as Rt } from "x-essential-lib";
4
+ import { getPropDefault as L, parsePixelStr as wn, parsePercentStr as Sn } from "x-runtime-lib";
5
+ var Ht = typeof global == "object" && global && global.Object === Object && global, Pn = typeof self == "object" && self && self.Object === Object && self, G = Ht || Pn || Function("return this")(), J = G.Symbol, jt = Object.prototype, On = jt.hasOwnProperty, Cn = jt.toString, me = J ? J.toStringTag : void 0;
6
+ function Vn(e) {
7
+ var t = On.call(e, me), n = e[me];
9
8
  try {
10
- e[le] = void 0;
9
+ e[me] = void 0;
11
10
  var r = !0;
12
11
  } catch {
13
12
  }
14
- var s = mr.call(e);
15
- return r && (t ? e[le] = n : delete e[le]), s;
13
+ var s = Cn.call(e);
14
+ return r && (t ? e[me] = n : delete e[me]), s;
16
15
  }
17
- var yr = Object.prototype, vr = yr.toString;
18
- function pr(e) {
19
- return vr.call(e);
16
+ var En = Object.prototype, Dn = En.toString;
17
+ function Ln(e) {
18
+ return Dn.call(e);
20
19
  }
21
- var hr = "[object Null]", _r = "[object Undefined]", vt = G ? G.toStringTag : void 0;
22
- function he(e) {
23
- return e == null ? e === void 0 ? _r : hr : vt && vt in Object(e) ? gr(e) : pr(e);
20
+ var Mn = "[object Null]", Un = "[object Undefined]", st = J ? J.toStringTag : void 0;
21
+ function Te(e) {
22
+ return e == null ? e === void 0 ? Un : Mn : st && st in Object(e) ? Vn(e) : Ln(e);
24
23
  }
25
- function q(e) {
24
+ function ee(e) {
26
25
  return e != null && typeof e == "object";
27
26
  }
28
- var me = Array.isArray;
29
- function _e(e) {
27
+ var ye = Array.isArray;
28
+ function $e(e) {
30
29
  var t = typeof e;
31
30
  return e != null && (t == "object" || t == "function");
32
31
  }
33
- var br = "[object AsyncFunction]", Tr = "[object Function]", $r = "[object GeneratorFunction]", Cr = "[object Proxy]";
34
- function gn(e) {
35
- if (!_e(e))
32
+ var xn = "[object AsyncFunction]", Nn = "[object Function]", Fn = "[object GeneratorFunction]", Bn = "[object Proxy]";
33
+ function Gt(e) {
34
+ if (!$e(e))
36
35
  return !1;
37
- var t = he(e);
38
- return t == Tr || t == $r || t == br || t == Cr;
36
+ var t = Te(e);
37
+ return t == Nn || t == Fn || t == xn || t == Bn;
39
38
  }
40
- var Ne = U["__core-js_shared__"], pt = function() {
41
- var e = /[^.]+$/.exec(Ne && Ne.keys && Ne.keys.IE_PROTO || "");
39
+ var je = G["__core-js_shared__"], ut = function() {
40
+ var e = /[^.]+$/.exec(je && je.keys && je.keys.IE_PROTO || "");
42
41
  return e ? "Symbol(src)_1." + e : "";
43
42
  }();
44
- function Sr(e) {
45
- return !!pt && pt in e;
43
+ function Rn(e) {
44
+ return !!ut && ut in e;
46
45
  }
47
- var wr = Function.prototype, Ar = wr.toString;
48
- function X(e) {
46
+ var Hn = Function.prototype, jn = Hn.toString;
47
+ function ne(e) {
49
48
  if (e != null) {
50
49
  try {
51
- return Ar.call(e);
50
+ return jn.call(e);
52
51
  } catch {
53
52
  }
54
53
  try {
@@ -58,1307 +57,754 @@ function X(e) {
58
57
  }
59
58
  return "";
60
59
  }
61
- var xr = /[\\^$.*+?()[\]{}|]/g, Or = /^\[object .+?Constructor\]$/, Pr = Function.prototype, Ir = Object.prototype, Vr = Pr.toString, Er = Ir.hasOwnProperty, Mr = RegExp(
62
- "^" + Vr.call(Er).replace(xr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
60
+ var Gn = /[\\^$.*+?()[\]{}|]/g, zn = /^\[object .+?Constructor\]$/, qn = Function.prototype, Kn = Object.prototype, Xn = qn.toString, Yn = Kn.hasOwnProperty, Zn = RegExp(
61
+ "^" + Xn.call(Yn).replace(Gn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
63
62
  );
64
- function kr(e) {
65
- if (!_e(e) || Sr(e))
63
+ function Wn(e) {
64
+ if (!$e(e) || Rn(e))
66
65
  return !1;
67
- var t = gn(e) ? Mr : Or;
68
- return t.test(X(e));
66
+ var t = Gt(e) ? Zn : zn;
67
+ return t.test(ne(e));
69
68
  }
70
- function Lr(e, t) {
69
+ function In(e, t) {
71
70
  return e == null ? void 0 : e[t];
72
71
  }
73
- function Z(e, t) {
74
- var n = Lr(e, t);
75
- return kr(n) ? n : void 0;
72
+ function re(e, t) {
73
+ var n = In(e, t);
74
+ return Wn(n) ? n : void 0;
76
75
  }
77
- var qe = Z(U, "WeakMap"), ht = Object.create, Br = /* @__PURE__ */ function() {
76
+ var Ke = re(G, "WeakMap"), ct = Object.create, Jn = /* @__PURE__ */ function() {
78
77
  function e() {
79
78
  }
80
79
  return function(t) {
81
- if (!_e(t))
80
+ if (!$e(t))
82
81
  return {};
83
- if (ht)
84
- return ht(t);
82
+ if (ct)
83
+ return ct(t);
85
84
  e.prototype = t;
86
85
  var n = new e();
87
86
  return e.prototype = void 0, n;
88
87
  };
89
88
  }();
90
- function Dr(e, t) {
89
+ function Qn(e, t) {
91
90
  var n = -1, r = e.length;
92
91
  for (t || (t = Array(r)); ++n < r; )
93
92
  t[n] = e[n];
94
93
  return t;
95
94
  }
96
- var _t = function() {
95
+ var ft = function() {
97
96
  try {
98
- var e = Z(Object, "defineProperty");
97
+ var e = re(Object, "defineProperty");
99
98
  return e({}, "", {}), e;
100
99
  } catch {
101
100
  }
102
101
  }();
103
- function Fr(e, t) {
102
+ function kn(e, t) {
104
103
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
105
104
  ;
106
105
  return e;
107
106
  }
108
- var Ur = 9007199254740991, jr = /^(?:0|[1-9]\d*)$/;
109
- function Nr(e, t) {
107
+ var er = 9007199254740991, tr = /^(?:0|[1-9]\d*)$/;
108
+ function nr(e, t) {
110
109
  var n = typeof e;
111
- return t = t ?? Ur, !!t && (n == "number" || n != "symbol" && jr.test(e)) && e > -1 && e % 1 == 0 && e < t;
110
+ return t = t ?? er, !!t && (n == "number" || n != "symbol" && tr.test(e)) && e > -1 && e % 1 == 0 && e < t;
112
111
  }
113
- function yn(e, t, n) {
114
- t == "__proto__" && _t ? _t(e, t, {
112
+ function zt(e, t, n) {
113
+ t == "__proto__" && ft ? ft(e, t, {
115
114
  configurable: !0,
116
115
  enumerable: !0,
117
116
  value: n,
118
117
  writable: !0
119
118
  }) : e[t] = n;
120
119
  }
121
- function ut(e, t) {
120
+ function et(e, t) {
122
121
  return e === t || e !== e && t !== t;
123
122
  }
124
- var Rr = Object.prototype, zr = Rr.hasOwnProperty;
125
- function vn(e, t, n) {
123
+ var rr = Object.prototype, ir = rr.hasOwnProperty;
124
+ function qt(e, t, n) {
126
125
  var r = e[t];
127
- (!(zr.call(e, t) && ut(r, n)) || n === void 0 && !(t in e)) && yn(e, t, n);
126
+ (!(ir.call(e, t) && et(r, n)) || n === void 0 && !(t in e)) && zt(e, t, n);
128
127
  }
129
- function Me(e, t, n, r) {
128
+ function Ne(e, t, n, r) {
130
129
  var s = !n;
131
130
  n || (n = {});
132
- for (var i = -1, l = t.length; ++i < l; ) {
133
- var d = t[i], u = void 0;
134
- u === void 0 && (u = e[d]), s ? yn(n, d, u) : vn(n, d, u);
131
+ for (var a = -1, d = t.length; ++a < d; ) {
132
+ var f = t[a], p = void 0;
133
+ p === void 0 && (p = e[f]), s ? zt(n, f, p) : qt(n, f, p);
135
134
  }
136
135
  return n;
137
136
  }
138
- var Hr = 9007199254740991;
139
- function pn(e) {
140
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Hr;
137
+ var ar = 9007199254740991;
138
+ function Kt(e) {
139
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ar;
141
140
  }
142
- function hn(e) {
143
- return e != null && pn(e.length) && !gn(e);
141
+ function Xt(e) {
142
+ return e != null && Kt(e.length) && !Gt(e);
144
143
  }
145
- var Gr = Object.prototype;
146
- function ct(e) {
147
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || Gr;
144
+ var lr = Object.prototype;
145
+ function tt(e) {
146
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || lr;
148
147
  return e === n;
149
148
  }
150
- function Wr(e, t) {
149
+ function or(e, t) {
151
150
  for (var n = -1, r = Array(e); ++n < e; )
152
151
  r[n] = t(n);
153
152
  return r;
154
153
  }
155
- var Kr = "[object Arguments]";
156
- function bt(e) {
157
- return q(e) && he(e) == Kr;
154
+ var sr = "[object Arguments]";
155
+ function dt(e) {
156
+ return ee(e) && Te(e) == sr;
158
157
  }
159
- var _n = Object.prototype, qr = _n.hasOwnProperty, Yr = _n.propertyIsEnumerable, Xr = bt(/* @__PURE__ */ function() {
158
+ var Yt = Object.prototype, ur = Yt.hasOwnProperty, cr = Yt.propertyIsEnumerable, fr = dt(/* @__PURE__ */ function() {
160
159
  return arguments;
161
- }()) ? bt : function(e) {
162
- return q(e) && qr.call(e, "callee") && !Yr.call(e, "callee");
160
+ }()) ? dt : function(e) {
161
+ return ee(e) && ur.call(e, "callee") && !cr.call(e, "callee");
163
162
  };
164
- function Zr() {
163
+ function dr() {
165
164
  return !1;
166
165
  }
167
- var bn = typeof exports == "object" && exports && !exports.nodeType && exports, Tt = bn && typeof module == "object" && module && !module.nodeType && module, Jr = Tt && Tt.exports === bn, $t = Jr ? U.Buffer : void 0, Qr = $t ? $t.isBuffer : void 0, Pe = Qr || Zr, ea = "[object Arguments]", ta = "[object Array]", na = "[object Boolean]", ra = "[object Date]", aa = "[object Error]", ia = "[object Function]", sa = "[object Map]", oa = "[object Number]", la = "[object Object]", ua = "[object RegExp]", ca = "[object Set]", fa = "[object String]", da = "[object WeakMap]", ma = "[object ArrayBuffer]", ga = "[object DataView]", ya = "[object Float32Array]", va = "[object Float64Array]", pa = "[object Int8Array]", ha = "[object Int16Array]", _a = "[object Int32Array]", ba = "[object Uint8Array]", Ta = "[object Uint8ClampedArray]", $a = "[object Uint16Array]", Ca = "[object Uint32Array]", $ = {};
168
- $[ya] = $[va] = $[pa] = $[ha] = $[_a] = $[ba] = $[Ta] = $[$a] = $[Ca] = !0;
169
- $[ea] = $[ta] = $[ma] = $[na] = $[ga] = $[ra] = $[aa] = $[ia] = $[sa] = $[oa] = $[la] = $[ua] = $[ca] = $[fa] = $[da] = !1;
170
- function Sa(e) {
171
- return q(e) && pn(e.length) && !!$[he(e)];
166
+ var Zt = typeof exports == "object" && exports && !exports.nodeType && exports, pt = Zt && typeof module == "object" && module && !module.nodeType && module, pr = pt && pt.exports === Zt, vt = pr ? G.Buffer : void 0, vr = vt ? vt.isBuffer : void 0, De = vr || dr, mr = "[object Arguments]", gr = "[object Array]", yr = "[object Boolean]", _r = "[object Date]", hr = "[object Error]", Tr = "[object Function]", $r = "[object Map]", br = "[object Number]", Ar = "[object Object]", wr = "[object RegExp]", Sr = "[object Set]", Pr = "[object String]", Or = "[object WeakMap]", Cr = "[object ArrayBuffer]", Vr = "[object DataView]", Er = "[object Float32Array]", Dr = "[object Float64Array]", Lr = "[object Int8Array]", Mr = "[object Int16Array]", Ur = "[object Int32Array]", xr = "[object Uint8Array]", Nr = "[object Uint8ClampedArray]", Fr = "[object Uint16Array]", Br = "[object Uint32Array]", S = {};
167
+ S[Er] = S[Dr] = S[Lr] = S[Mr] = S[Ur] = S[xr] = S[Nr] = S[Fr] = S[Br] = !0;
168
+ S[mr] = S[gr] = S[Cr] = S[yr] = S[Vr] = S[_r] = S[hr] = S[Tr] = S[$r] = S[br] = S[Ar] = S[wr] = S[Sr] = S[Pr] = S[Or] = !1;
169
+ function Rr(e) {
170
+ return ee(e) && Kt(e.length) && !!S[Te(e)];
172
171
  }
173
- function ft(e) {
172
+ function nt(e) {
174
173
  return function(t) {
175
174
  return e(t);
176
175
  };
177
176
  }
178
- var Tn = typeof exports == "object" && exports && !exports.nodeType && exports, ce = Tn && typeof module == "object" && module && !module.nodeType && module, wa = ce && ce.exports === Tn, Re = wa && dn.process, ie = function() {
177
+ var Wt = typeof exports == "object" && exports && !exports.nodeType && exports, ge = Wt && typeof module == "object" && module && !module.nodeType && module, Hr = ge && ge.exports === Wt, Ge = Hr && Ht.process, ce = function() {
179
178
  try {
180
- var e = ce && ce.require && ce.require("util").types;
181
- return e || Re && Re.binding && Re.binding("util");
179
+ var e = ge && ge.require && ge.require("util").types;
180
+ return e || Ge && Ge.binding && Ge.binding("util");
182
181
  } catch {
183
182
  }
184
- }(), Ct = ie && ie.isTypedArray, $n = Ct ? ft(Ct) : Sa, Aa = Object.prototype, xa = Aa.hasOwnProperty;
185
- function Cn(e, t) {
186
- var n = me(e), r = !n && Xr(e), s = !n && !r && Pe(e), i = !n && !r && !s && $n(e), l = n || r || s || i, d = l ? Wr(e.length, String) : [], u = d.length;
183
+ }(), mt = ce && ce.isTypedArray, It = mt ? nt(mt) : Rr, jr = Object.prototype, Gr = jr.hasOwnProperty;
184
+ function Jt(e, t) {
185
+ var n = ye(e), r = !n && fr(e), s = !n && !r && De(e), a = !n && !r && !s && It(e), d = n || r || s || a, f = d ? or(e.length, String) : [], p = f.length;
187
186
  for (var c in e)
188
- (t || xa.call(e, c)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
187
+ (t || Gr.call(e, c)) && !(d && // Safari 9 has enumerable `arguments.length` in strict mode.
189
188
  (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
190
189
  s && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
191
- i && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
192
- Nr(c, u))) && d.push(c);
193
- return d;
190
+ a && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
191
+ nr(c, p))) && f.push(c);
192
+ return f;
194
193
  }
195
- function Sn(e, t) {
194
+ function Qt(e, t) {
196
195
  return function(n) {
197
196
  return e(t(n));
198
197
  };
199
198
  }
200
- var Oa = Sn(Object.keys, Object), Pa = Object.prototype, Ia = Pa.hasOwnProperty;
201
- function Va(e) {
202
- if (!ct(e))
203
- return Oa(e);
199
+ var zr = Qt(Object.keys, Object), qr = Object.prototype, Kr = qr.hasOwnProperty;
200
+ function Xr(e) {
201
+ if (!tt(e))
202
+ return zr(e);
204
203
  var t = [];
205
204
  for (var n in Object(e))
206
- Ia.call(e, n) && n != "constructor" && t.push(n);
205
+ Kr.call(e, n) && n != "constructor" && t.push(n);
207
206
  return t;
208
207
  }
209
- function dt(e) {
210
- return hn(e) ? Cn(e) : Va(e);
208
+ function rt(e) {
209
+ return Xt(e) ? Jt(e) : Xr(e);
211
210
  }
212
- function Ea(e) {
211
+ function Yr(e) {
213
212
  var t = [];
214
213
  if (e != null)
215
214
  for (var n in Object(e))
216
215
  t.push(n);
217
216
  return t;
218
217
  }
219
- var Ma = Object.prototype, ka = Ma.hasOwnProperty;
220
- function La(e) {
221
- if (!_e(e))
222
- return Ea(e);
223
- var t = ct(e), n = [];
218
+ var Zr = Object.prototype, Wr = Zr.hasOwnProperty;
219
+ function Ir(e) {
220
+ if (!$e(e))
221
+ return Yr(e);
222
+ var t = tt(e), n = [];
224
223
  for (var r in e)
225
- r == "constructor" && (t || !ka.call(e, r)) || n.push(r);
224
+ r == "constructor" && (t || !Wr.call(e, r)) || n.push(r);
226
225
  return n;
227
226
  }
228
- function mt(e) {
229
- return hn(e) ? Cn(e, !0) : La(e);
227
+ function it(e) {
228
+ return Xt(e) ? Jt(e, !0) : Ir(e);
230
229
  }
231
- var ge = Z(Object, "create");
232
- function Ba() {
233
- this.__data__ = ge ? ge(null) : {}, this.size = 0;
230
+ var _e = re(Object, "create");
231
+ function Jr() {
232
+ this.__data__ = _e ? _e(null) : {}, this.size = 0;
234
233
  }
235
- function Da(e) {
234
+ function Qr(e) {
236
235
  var t = this.has(e) && delete this.__data__[e];
237
236
  return this.size -= t ? 1 : 0, t;
238
237
  }
239
- var Fa = "__lodash_hash_undefined__", Ua = Object.prototype, ja = Ua.hasOwnProperty;
240
- function Na(e) {
238
+ var kr = "__lodash_hash_undefined__", ei = Object.prototype, ti = ei.hasOwnProperty;
239
+ function ni(e) {
241
240
  var t = this.__data__;
242
- if (ge) {
241
+ if (_e) {
243
242
  var n = t[e];
244
- return n === Fa ? void 0 : n;
243
+ return n === kr ? void 0 : n;
245
244
  }
246
- return ja.call(t, e) ? t[e] : void 0;
245
+ return ti.call(t, e) ? t[e] : void 0;
247
246
  }
248
- var Ra = Object.prototype, za = Ra.hasOwnProperty;
249
- function Ha(e) {
247
+ var ri = Object.prototype, ii = ri.hasOwnProperty;
248
+ function ai(e) {
250
249
  var t = this.__data__;
251
- return ge ? t[e] !== void 0 : za.call(t, e);
250
+ return _e ? t[e] !== void 0 : ii.call(t, e);
252
251
  }
253
- var Ga = "__lodash_hash_undefined__";
254
- function Wa(e, t) {
252
+ var li = "__lodash_hash_undefined__";
253
+ function oi(e, t) {
255
254
  var n = this.__data__;
256
- return this.size += this.has(e) ? 0 : 1, n[e] = ge && t === void 0 ? Ga : t, this;
255
+ return this.size += this.has(e) ? 0 : 1, n[e] = _e && t === void 0 ? li : t, this;
257
256
  }
258
- function Y(e) {
257
+ function te(e) {
259
258
  var t = -1, n = e == null ? 0 : e.length;
260
259
  for (this.clear(); ++t < n; ) {
261
260
  var r = e[t];
262
261
  this.set(r[0], r[1]);
263
262
  }
264
263
  }
265
- Y.prototype.clear = Ba;
266
- Y.prototype.delete = Da;
267
- Y.prototype.get = Na;
268
- Y.prototype.has = Ha;
269
- Y.prototype.set = Wa;
270
- function Ka() {
264
+ te.prototype.clear = Jr;
265
+ te.prototype.delete = Qr;
266
+ te.prototype.get = ni;
267
+ te.prototype.has = ai;
268
+ te.prototype.set = oi;
269
+ function si() {
271
270
  this.__data__ = [], this.size = 0;
272
271
  }
273
- function ke(e, t) {
272
+ function Fe(e, t) {
274
273
  for (var n = e.length; n--; )
275
- if (ut(e[n][0], t))
274
+ if (et(e[n][0], t))
276
275
  return n;
277
276
  return -1;
278
277
  }
279
- var qa = Array.prototype, Ya = qa.splice;
280
- function Xa(e) {
281
- var t = this.__data__, n = ke(t, e);
278
+ var ui = Array.prototype, ci = ui.splice;
279
+ function fi(e) {
280
+ var t = this.__data__, n = Fe(t, e);
282
281
  if (n < 0)
283
282
  return !1;
284
283
  var r = t.length - 1;
285
- return n == r ? t.pop() : Ya.call(t, n, 1), --this.size, !0;
284
+ return n == r ? t.pop() : ci.call(t, n, 1), --this.size, !0;
286
285
  }
287
- function Za(e) {
288
- var t = this.__data__, n = ke(t, e);
286
+ function di(e) {
287
+ var t = this.__data__, n = Fe(t, e);
289
288
  return n < 0 ? void 0 : t[n][1];
290
289
  }
291
- function Ja(e) {
292
- return ke(this.__data__, e) > -1;
290
+ function pi(e) {
291
+ return Fe(this.__data__, e) > -1;
293
292
  }
294
- function Qa(e, t) {
295
- var n = this.__data__, r = ke(n, e);
293
+ function vi(e, t) {
294
+ var n = this.__data__, r = Fe(n, e);
296
295
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
297
296
  }
298
- function z(e) {
297
+ function I(e) {
299
298
  var t = -1, n = e == null ? 0 : e.length;
300
299
  for (this.clear(); ++t < n; ) {
301
300
  var r = e[t];
302
301
  this.set(r[0], r[1]);
303
302
  }
304
303
  }
305
- z.prototype.clear = Ka;
306
- z.prototype.delete = Xa;
307
- z.prototype.get = Za;
308
- z.prototype.has = Ja;
309
- z.prototype.set = Qa;
310
- var ye = Z(U, "Map");
311
- function ei() {
304
+ I.prototype.clear = si;
305
+ I.prototype.delete = fi;
306
+ I.prototype.get = di;
307
+ I.prototype.has = pi;
308
+ I.prototype.set = vi;
309
+ var he = re(G, "Map");
310
+ function mi() {
312
311
  this.size = 0, this.__data__ = {
313
- hash: new Y(),
314
- map: new (ye || z)(),
315
- string: new Y()
312
+ hash: new te(),
313
+ map: new (he || I)(),
314
+ string: new te()
316
315
  };
317
316
  }
318
- function ti(e) {
317
+ function gi(e) {
319
318
  var t = typeof e;
320
319
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
321
320
  }
322
- function Le(e, t) {
321
+ function Be(e, t) {
323
322
  var n = e.__data__;
324
- return ti(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
323
+ return gi(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
325
324
  }
326
- function ni(e) {
327
- var t = Le(this, e).delete(e);
325
+ function yi(e) {
326
+ var t = Be(this, e).delete(e);
328
327
  return this.size -= t ? 1 : 0, t;
329
328
  }
330
- function ri(e) {
331
- return Le(this, e).get(e);
329
+ function _i(e) {
330
+ return Be(this, e).get(e);
332
331
  }
333
- function ai(e) {
334
- return Le(this, e).has(e);
332
+ function hi(e) {
333
+ return Be(this, e).has(e);
335
334
  }
336
- function ii(e, t) {
337
- var n = Le(this, e), r = n.size;
335
+ function Ti(e, t) {
336
+ var n = Be(this, e), r = n.size;
338
337
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
339
338
  }
340
- function J(e) {
339
+ function ie(e) {
341
340
  var t = -1, n = e == null ? 0 : e.length;
342
341
  for (this.clear(); ++t < n; ) {
343
342
  var r = e[t];
344
343
  this.set(r[0], r[1]);
345
344
  }
346
345
  }
347
- J.prototype.clear = ei;
348
- J.prototype.delete = ni;
349
- J.prototype.get = ri;
350
- J.prototype.has = ai;
351
- J.prototype.set = ii;
352
- function wn(e, t) {
346
+ ie.prototype.clear = mi;
347
+ ie.prototype.delete = yi;
348
+ ie.prototype.get = _i;
349
+ ie.prototype.has = hi;
350
+ ie.prototype.set = Ti;
351
+ function kt(e, t) {
353
352
  for (var n = -1, r = t.length, s = e.length; ++n < r; )
354
353
  e[s + n] = t[n];
355
354
  return e;
356
355
  }
357
- var An = Sn(Object.getPrototypeOf, Object);
358
- function si() {
359
- this.__data__ = new z(), this.size = 0;
356
+ var en = Qt(Object.getPrototypeOf, Object);
357
+ function $i() {
358
+ this.__data__ = new I(), this.size = 0;
360
359
  }
361
- function oi(e) {
360
+ function bi(e) {
362
361
  var t = this.__data__, n = t.delete(e);
363
362
  return this.size = t.size, n;
364
363
  }
365
- function li(e) {
364
+ function Ai(e) {
366
365
  return this.__data__.get(e);
367
366
  }
368
- function ui(e) {
367
+ function wi(e) {
369
368
  return this.__data__.has(e);
370
369
  }
371
- var ci = 200;
372
- function fi(e, t) {
370
+ var Si = 200;
371
+ function Pi(e, t) {
373
372
  var n = this.__data__;
374
- if (n instanceof z) {
373
+ if (n instanceof I) {
375
374
  var r = n.__data__;
376
- if (!ye || r.length < ci - 1)
375
+ if (!he || r.length < Si - 1)
377
376
  return r.push([e, t]), this.size = ++n.size, this;
378
- n = this.__data__ = new J(r);
377
+ n = this.__data__ = new ie(r);
379
378
  }
380
379
  return n.set(e, t), this.size = n.size, this;
381
380
  }
382
- function R(e) {
383
- var t = this.__data__ = new z(e);
381
+ function X(e) {
382
+ var t = this.__data__ = new I(e);
384
383
  this.size = t.size;
385
384
  }
386
- R.prototype.clear = si;
387
- R.prototype.delete = oi;
388
- R.prototype.get = li;
389
- R.prototype.has = ui;
390
- R.prototype.set = fi;
391
- function di(e, t) {
392
- return e && Me(t, dt(t), e);
385
+ X.prototype.clear = $i;
386
+ X.prototype.delete = bi;
387
+ X.prototype.get = Ai;
388
+ X.prototype.has = wi;
389
+ X.prototype.set = Pi;
390
+ function Oi(e, t) {
391
+ return e && Ne(t, rt(t), e);
393
392
  }
394
- function mi(e, t) {
395
- return e && Me(t, mt(t), e);
393
+ function Ci(e, t) {
394
+ return e && Ne(t, it(t), e);
396
395
  }
397
- var xn = typeof exports == "object" && exports && !exports.nodeType && exports, St = xn && typeof module == "object" && module && !module.nodeType && module, gi = St && St.exports === xn, wt = gi ? U.Buffer : void 0, At = wt ? wt.allocUnsafe : void 0;
398
- function yi(e, t) {
396
+ var tn = typeof exports == "object" && exports && !exports.nodeType && exports, gt = tn && typeof module == "object" && module && !module.nodeType && module, Vi = gt && gt.exports === tn, yt = Vi ? G.Buffer : void 0, _t = yt ? yt.allocUnsafe : void 0;
397
+ function Ei(e, t) {
399
398
  if (t)
400
399
  return e.slice();
401
- var n = e.length, r = At ? At(n) : new e.constructor(n);
400
+ var n = e.length, r = _t ? _t(n) : new e.constructor(n);
402
401
  return e.copy(r), r;
403
402
  }
404
- function vi(e, t) {
405
- for (var n = -1, r = e == null ? 0 : e.length, s = 0, i = []; ++n < r; ) {
406
- var l = e[n];
407
- t(l, n, e) && (i[s++] = l);
403
+ function Di(e, t) {
404
+ for (var n = -1, r = e == null ? 0 : e.length, s = 0, a = []; ++n < r; ) {
405
+ var d = e[n];
406
+ t(d, n, e) && (a[s++] = d);
408
407
  }
409
- return i;
408
+ return a;
410
409
  }
411
- function On() {
410
+ function nn() {
412
411
  return [];
413
412
  }
414
- var pi = Object.prototype, hi = pi.propertyIsEnumerable, xt = Object.getOwnPropertySymbols, gt = xt ? function(e) {
415
- return e == null ? [] : (e = Object(e), vi(xt(e), function(t) {
416
- return hi.call(e, t);
413
+ var Li = Object.prototype, Mi = Li.propertyIsEnumerable, ht = Object.getOwnPropertySymbols, at = ht ? function(e) {
414
+ return e == null ? [] : (e = Object(e), Di(ht(e), function(t) {
415
+ return Mi.call(e, t);
417
416
  }));
418
- } : On;
419
- function _i(e, t) {
420
- return Me(e, gt(e), t);
417
+ } : nn;
418
+ function Ui(e, t) {
419
+ return Ne(e, at(e), t);
421
420
  }
422
- var bi = Object.getOwnPropertySymbols, Pn = bi ? function(e) {
421
+ var xi = Object.getOwnPropertySymbols, rn = xi ? function(e) {
423
422
  for (var t = []; e; )
424
- wn(t, gt(e)), e = An(e);
423
+ kt(t, at(e)), e = en(e);
425
424
  return t;
426
- } : On;
427
- function Ti(e, t) {
428
- return Me(e, Pn(e), t);
425
+ } : nn;
426
+ function Ni(e, t) {
427
+ return Ne(e, rn(e), t);
429
428
  }
430
- function In(e, t, n) {
429
+ function an(e, t, n) {
431
430
  var r = t(e);
432
- return me(e) ? r : wn(r, n(e));
431
+ return ye(e) ? r : kt(r, n(e));
433
432
  }
434
- function Ye(e) {
435
- return In(e, dt, gt);
433
+ function Xe(e) {
434
+ return an(e, rt, at);
436
435
  }
437
- function $i(e) {
438
- return In(e, mt, Pn);
436
+ function Fi(e) {
437
+ return an(e, it, rn);
439
438
  }
440
- var Xe = Z(U, "DataView"), Ze = Z(U, "Promise"), Je = Z(U, "Set"), Ot = "[object Map]", Ci = "[object Object]", Pt = "[object Promise]", It = "[object Set]", Vt = "[object WeakMap]", Et = "[object DataView]", Si = X(Xe), wi = X(ye), Ai = X(Ze), xi = X(Je), Oi = X(qe), D = he;
441
- (Xe && D(new Xe(new ArrayBuffer(1))) != Et || ye && D(new ye()) != Ot || Ze && D(Ze.resolve()) != Pt || Je && D(new Je()) != It || qe && D(new qe()) != Vt) && (D = function(e) {
442
- var t = he(e), n = t == Ci ? e.constructor : void 0, r = n ? X(n) : "";
439
+ var Ye = re(G, "DataView"), Ze = re(G, "Promise"), We = re(G, "Set"), Tt = "[object Map]", Bi = "[object Object]", $t = "[object Promise]", bt = "[object Set]", At = "[object WeakMap]", wt = "[object DataView]", Ri = ne(Ye), Hi = ne(he), ji = ne(Ze), Gi = ne(We), zi = ne(Ke), B = Te;
440
+ (Ye && B(new Ye(new ArrayBuffer(1))) != wt || he && B(new he()) != Tt || Ze && B(Ze.resolve()) != $t || We && B(new We()) != bt || Ke && B(new Ke()) != At) && (B = function(e) {
441
+ var t = Te(e), n = t == Bi ? e.constructor : void 0, r = n ? ne(n) : "";
443
442
  if (r)
444
443
  switch (r) {
445
- case Si:
446
- return Et;
447
- case wi:
448
- return Ot;
449
- case Ai:
450
- return Pt;
451
- case xi:
452
- return It;
453
- case Oi:
454
- return Vt;
444
+ case Ri:
445
+ return wt;
446
+ case Hi:
447
+ return Tt;
448
+ case ji:
449
+ return $t;
450
+ case Gi:
451
+ return bt;
452
+ case zi:
453
+ return At;
455
454
  }
456
455
  return t;
457
456
  });
458
- var Pi = Object.prototype, Ii = Pi.hasOwnProperty;
459
- function Vi(e) {
457
+ var qi = Object.prototype, Ki = qi.hasOwnProperty;
458
+ function Xi(e) {
460
459
  var t = e.length, n = new e.constructor(t);
461
- return t && typeof e[0] == "string" && Ii.call(e, "index") && (n.index = e.index, n.input = e.input), n;
460
+ return t && typeof e[0] == "string" && Ki.call(e, "index") && (n.index = e.index, n.input = e.input), n;
462
461
  }
463
- var Ie = U.Uint8Array;
464
- function yt(e) {
462
+ var Le = G.Uint8Array;
463
+ function lt(e) {
465
464
  var t = new e.constructor(e.byteLength);
466
- return new Ie(t).set(new Ie(e)), t;
465
+ return new Le(t).set(new Le(e)), t;
467
466
  }
468
- function Ei(e, t) {
469
- var n = t ? yt(e.buffer) : e.buffer;
467
+ function Yi(e, t) {
468
+ var n = t ? lt(e.buffer) : e.buffer;
470
469
  return new e.constructor(n, e.byteOffset, e.byteLength);
471
470
  }
472
- var Mi = /\w*$/;
473
- function ki(e) {
474
- var t = new e.constructor(e.source, Mi.exec(e));
471
+ var Zi = /\w*$/;
472
+ function Wi(e) {
473
+ var t = new e.constructor(e.source, Zi.exec(e));
475
474
  return t.lastIndex = e.lastIndex, t;
476
475
  }
477
- var Mt = G ? G.prototype : void 0, kt = Mt ? Mt.valueOf : void 0;
478
- function Li(e) {
479
- return kt ? Object(kt.call(e)) : {};
476
+ var St = J ? J.prototype : void 0, Pt = St ? St.valueOf : void 0;
477
+ function Ii(e) {
478
+ return Pt ? Object(Pt.call(e)) : {};
480
479
  }
481
- function Bi(e, t) {
482
- var n = t ? yt(e.buffer) : e.buffer;
480
+ function Ji(e, t) {
481
+ var n = t ? lt(e.buffer) : e.buffer;
483
482
  return new e.constructor(n, e.byteOffset, e.length);
484
483
  }
485
- var Di = "[object Boolean]", Fi = "[object Date]", Ui = "[object Map]", ji = "[object Number]", Ni = "[object RegExp]", Ri = "[object Set]", zi = "[object String]", Hi = "[object Symbol]", Gi = "[object ArrayBuffer]", Wi = "[object DataView]", Ki = "[object Float32Array]", qi = "[object Float64Array]", Yi = "[object Int8Array]", Xi = "[object Int16Array]", Zi = "[object Int32Array]", Ji = "[object Uint8Array]", Qi = "[object Uint8ClampedArray]", es = "[object Uint16Array]", ts = "[object Uint32Array]";
486
- function ns(e, t, n) {
484
+ var Qi = "[object Boolean]", ki = "[object Date]", ea = "[object Map]", ta = "[object Number]", na = "[object RegExp]", ra = "[object Set]", ia = "[object String]", aa = "[object Symbol]", la = "[object ArrayBuffer]", oa = "[object DataView]", sa = "[object Float32Array]", ua = "[object Float64Array]", ca = "[object Int8Array]", fa = "[object Int16Array]", da = "[object Int32Array]", pa = "[object Uint8Array]", va = "[object Uint8ClampedArray]", ma = "[object Uint16Array]", ga = "[object Uint32Array]";
485
+ function ya(e, t, n) {
487
486
  var r = e.constructor;
488
487
  switch (t) {
489
- case Gi:
490
- return yt(e);
491
- case Di:
492
- case Fi:
493
- return new r(+e);
494
- case Wi:
495
- return Ei(e, n);
496
- case Ki:
497
- case qi:
498
- case Yi:
499
- case Xi:
500
- case Zi:
501
- case Ji:
488
+ case la:
489
+ return lt(e);
502
490
  case Qi:
503
- case es:
504
- case ts:
505
- return Bi(e, n);
506
- case Ui:
491
+ case ki:
492
+ return new r(+e);
493
+ case oa:
494
+ return Yi(e, n);
495
+ case sa:
496
+ case ua:
497
+ case ca:
498
+ case fa:
499
+ case da:
500
+ case pa:
501
+ case va:
502
+ case ma:
503
+ case ga:
504
+ return Ji(e, n);
505
+ case ea:
507
506
  return new r();
508
- case ji:
509
- case zi:
507
+ case ta:
508
+ case ia:
510
509
  return new r(e);
511
- case Ni:
512
- return ki(e);
513
- case Ri:
510
+ case na:
511
+ return Wi(e);
512
+ case ra:
514
513
  return new r();
515
- case Hi:
516
- return Li(e);
514
+ case aa:
515
+ return Ii(e);
517
516
  }
518
517
  }
519
- function rs(e) {
520
- return typeof e.constructor == "function" && !ct(e) ? Br(An(e)) : {};
521
- }
522
- var as = "[object Map]";
523
- function is(e) {
524
- return q(e) && D(e) == as;
525
- }
526
- var Lt = ie && ie.isMap, ss = Lt ? ft(Lt) : is, os = "[object Set]";
527
- function ls(e) {
528
- return q(e) && D(e) == os;
529
- }
530
- var Bt = ie && ie.isSet, us = Bt ? ft(Bt) : ls, cs = 1, fs = 2, ds = 4, Vn = "[object Arguments]", ms = "[object Array]", gs = "[object Boolean]", ys = "[object Date]", vs = "[object Error]", En = "[object Function]", ps = "[object GeneratorFunction]", hs = "[object Map]", _s = "[object Number]", Mn = "[object Object]", bs = "[object RegExp]", Ts = "[object Set]", $s = "[object String]", Cs = "[object Symbol]", Ss = "[object WeakMap]", ws = "[object ArrayBuffer]", As = "[object DataView]", xs = "[object Float32Array]", Os = "[object Float64Array]", Ps = "[object Int8Array]", Is = "[object Int16Array]", Vs = "[object Int32Array]", Es = "[object Uint8Array]", Ms = "[object Uint8ClampedArray]", ks = "[object Uint16Array]", Ls = "[object Uint32Array]", _ = {};
531
- _[Vn] = _[ms] = _[ws] = _[As] = _[gs] = _[ys] = _[xs] = _[Os] = _[Ps] = _[Is] = _[Vs] = _[hs] = _[_s] = _[Mn] = _[bs] = _[Ts] = _[$s] = _[Cs] = _[Es] = _[Ms] = _[ks] = _[Ls] = !0;
532
- _[vs] = _[En] = _[Ss] = !1;
533
- function Oe(e, t, n, r, s, i) {
534
- var l, d = t & cs, u = t & fs, c = t & ds;
535
- if (l !== void 0)
536
- return l;
537
- if (!_e(e))
518
+ function _a(e) {
519
+ return typeof e.constructor == "function" && !tt(e) ? Jn(en(e)) : {};
520
+ }
521
+ var ha = "[object Map]";
522
+ function Ta(e) {
523
+ return ee(e) && B(e) == ha;
524
+ }
525
+ var Ot = ce && ce.isMap, $a = Ot ? nt(Ot) : Ta, ba = "[object Set]";
526
+ function Aa(e) {
527
+ return ee(e) && B(e) == ba;
528
+ }
529
+ var Ct = ce && ce.isSet, wa = Ct ? nt(Ct) : Aa, Sa = 1, Pa = 2, Oa = 4, ln = "[object Arguments]", Ca = "[object Array]", Va = "[object Boolean]", Ea = "[object Date]", Da = "[object Error]", on = "[object Function]", La = "[object GeneratorFunction]", Ma = "[object Map]", Ua = "[object Number]", sn = "[object Object]", xa = "[object RegExp]", Na = "[object Set]", Fa = "[object String]", Ba = "[object Symbol]", Ra = "[object WeakMap]", Ha = "[object ArrayBuffer]", ja = "[object DataView]", Ga = "[object Float32Array]", za = "[object Float64Array]", qa = "[object Int8Array]", Ka = "[object Int16Array]", Xa = "[object Int32Array]", Ya = "[object Uint8Array]", Za = "[object Uint8ClampedArray]", Wa = "[object Uint16Array]", Ia = "[object Uint32Array]", A = {};
530
+ A[ln] = A[Ca] = A[Ha] = A[ja] = A[Va] = A[Ea] = A[Ga] = A[za] = A[qa] = A[Ka] = A[Xa] = A[Ma] = A[Ua] = A[sn] = A[xa] = A[Na] = A[Fa] = A[Ba] = A[Ya] = A[Za] = A[Wa] = A[Ia] = !0;
531
+ A[Da] = A[on] = A[Ra] = !1;
532
+ function Ve(e, t, n, r, s, a) {
533
+ var d, f = t & Sa, p = t & Pa, c = t & Oa;
534
+ if (d !== void 0)
535
+ return d;
536
+ if (!$e(e))
538
537
  return e;
539
- var y = me(e);
540
- if (y) {
541
- if (l = Vi(e), !d)
542
- return Dr(e, l);
538
+ var g = ye(e);
539
+ if (g) {
540
+ if (d = Xi(e), !f)
541
+ return Qn(e, d);
543
542
  } else {
544
- var g = D(e), p = g == En || g == ps;
545
- if (Pe(e))
546
- return yi(e, d);
547
- if (g == Mn || g == Vn || p && !s) {
548
- if (l = u || p ? {} : rs(e), !d)
549
- return u ? Ti(e, mi(l, e)) : _i(e, di(l, e));
543
+ var h = B(e), y = h == on || h == La;
544
+ if (De(e))
545
+ return Ei(e, f);
546
+ if (h == sn || h == ln || y && !s) {
547
+ if (d = p || y ? {} : _a(e), !f)
548
+ return p ? Ni(e, Ci(d, e)) : Ui(e, Oi(d, e));
550
549
  } else {
551
- if (!_[g])
550
+ if (!A[h])
552
551
  return s ? e : {};
553
- l = ns(e, g, d);
552
+ d = ya(e, h, f);
554
553
  }
555
554
  }
556
- i || (i = new R());
557
- var b = i.get(e);
558
- if (b)
559
- return b;
560
- i.set(e, l), us(e) ? e.forEach(function(C) {
561
- l.add(Oe(C, t, n, C, e, i));
562
- }) : ss(e) && e.forEach(function(C, w) {
563
- l.set(w, Oe(C, t, n, w, e, i));
555
+ a || (a = new X());
556
+ var T = a.get(e);
557
+ if (T)
558
+ return T;
559
+ a.set(e, d), wa(e) ? e.forEach(function(V) {
560
+ d.add(Ve(V, t, n, V, e, a));
561
+ }) : $a(e) && e.forEach(function(V, E) {
562
+ d.set(E, Ve(V, t, n, E, e, a));
564
563
  });
565
- var h = c ? u ? $i : Ye : u ? mt : dt, T = y ? void 0 : h(e);
566
- return Fr(T || e, function(C, w) {
567
- T && (w = C, C = e[w]), vn(l, w, Oe(C, t, n, w, e, i));
568
- }), l;
564
+ var $ = c ? p ? Fi : Xe : p ? it : rt, b = g ? void 0 : $(e);
565
+ return kn(b || e, function(V, E) {
566
+ b && (E = V, V = e[E]), qt(d, E, Ve(V, t, n, E, e, a));
567
+ }), d;
569
568
  }
570
- var Bs = 1, Ds = 4;
571
- function Dt(e) {
572
- return Oe(e, Bs | Ds);
569
+ var Ja = 1, Qa = 4;
570
+ function un(e) {
571
+ return Ve(e, Ja | Qa);
573
572
  }
574
- var Fs = "__lodash_hash_undefined__";
575
- function Us(e) {
576
- return this.__data__.set(e, Fs), this;
573
+ var ka = "__lodash_hash_undefined__";
574
+ function el(e) {
575
+ return this.__data__.set(e, ka), this;
577
576
  }
578
- function js(e) {
577
+ function tl(e) {
579
578
  return this.__data__.has(e);
580
579
  }
581
- function Ve(e) {
580
+ function Me(e) {
582
581
  var t = -1, n = e == null ? 0 : e.length;
583
- for (this.__data__ = new J(); ++t < n; )
582
+ for (this.__data__ = new ie(); ++t < n; )
584
583
  this.add(e[t]);
585
584
  }
586
- Ve.prototype.add = Ve.prototype.push = Us;
587
- Ve.prototype.has = js;
588
- function Ns(e, t) {
585
+ Me.prototype.add = Me.prototype.push = el;
586
+ Me.prototype.has = tl;
587
+ function nl(e, t) {
589
588
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
590
589
  if (t(e[n], n, e))
591
590
  return !0;
592
591
  return !1;
593
592
  }
594
- function Rs(e, t) {
593
+ function rl(e, t) {
595
594
  return e.has(t);
596
595
  }
597
- var zs = 1, Hs = 2;
598
- function kn(e, t, n, r, s, i) {
599
- var l = n & zs, d = e.length, u = t.length;
600
- if (d != u && !(l && u > d))
596
+ var il = 1, al = 2;
597
+ function cn(e, t, n, r, s, a) {
598
+ var d = n & il, f = e.length, p = t.length;
599
+ if (f != p && !(d && p > f))
601
600
  return !1;
602
- var c = i.get(e), y = i.get(t);
603
- if (c && y)
604
- return c == t && y == e;
605
- var g = -1, p = !0, b = n & Hs ? new Ve() : void 0;
606
- for (i.set(e, t), i.set(t, e); ++g < d; ) {
607
- var h = e[g], T = t[g];
601
+ var c = a.get(e), g = a.get(t);
602
+ if (c && g)
603
+ return c == t && g == e;
604
+ var h = -1, y = !0, T = n & al ? new Me() : void 0;
605
+ for (a.set(e, t), a.set(t, e); ++h < f; ) {
606
+ var $ = e[h], b = t[h];
608
607
  if (r)
609
- var C = l ? r(T, h, g, t, e, i) : r(h, T, g, e, t, i);
610
- if (C !== void 0) {
611
- if (C)
608
+ var V = d ? r(b, $, h, t, e, a) : r($, b, h, e, t, a);
609
+ if (V !== void 0) {
610
+ if (V)
612
611
  continue;
613
- p = !1;
612
+ y = !1;
614
613
  break;
615
614
  }
616
- if (b) {
617
- if (!Ns(t, function(w, B) {
618
- if (!Rs(b, B) && (h === w || s(h, w, n, r, i)))
619
- return b.push(B);
615
+ if (T) {
616
+ if (!nl(t, function(E, z) {
617
+ if (!rl(T, z) && ($ === E || s($, E, n, r, a)))
618
+ return T.push(z);
620
619
  })) {
621
- p = !1;
620
+ y = !1;
622
621
  break;
623
622
  }
624
- } else if (!(h === T || s(h, T, n, r, i))) {
625
- p = !1;
623
+ } else if (!($ === b || s($, b, n, r, a))) {
624
+ y = !1;
626
625
  break;
627
626
  }
628
627
  }
629
- return i.delete(e), i.delete(t), p;
628
+ return a.delete(e), a.delete(t), y;
630
629
  }
631
- function Gs(e) {
630
+ function ll(e) {
632
631
  var t = -1, n = Array(e.size);
633
632
  return e.forEach(function(r, s) {
634
633
  n[++t] = [s, r];
635
634
  }), n;
636
635
  }
637
- function Ws(e) {
636
+ function ol(e) {
638
637
  var t = -1, n = Array(e.size);
639
638
  return e.forEach(function(r) {
640
639
  n[++t] = r;
641
640
  }), n;
642
641
  }
643
- var Ks = 1, qs = 2, Ys = "[object Boolean]", Xs = "[object Date]", Zs = "[object Error]", Js = "[object Map]", Qs = "[object Number]", eo = "[object RegExp]", to = "[object Set]", no = "[object String]", ro = "[object Symbol]", ao = "[object ArrayBuffer]", io = "[object DataView]", Ft = G ? G.prototype : void 0, ze = Ft ? Ft.valueOf : void 0;
644
- function so(e, t, n, r, s, i, l) {
642
+ var sl = 1, ul = 2, cl = "[object Boolean]", fl = "[object Date]", dl = "[object Error]", pl = "[object Map]", vl = "[object Number]", ml = "[object RegExp]", gl = "[object Set]", yl = "[object String]", _l = "[object Symbol]", hl = "[object ArrayBuffer]", Tl = "[object DataView]", Vt = J ? J.prototype : void 0, ze = Vt ? Vt.valueOf : void 0;
643
+ function $l(e, t, n, r, s, a, d) {
645
644
  switch (n) {
646
- case io:
645
+ case Tl:
647
646
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
648
647
  return !1;
649
648
  e = e.buffer, t = t.buffer;
650
- case ao:
651
- return !(e.byteLength != t.byteLength || !i(new Ie(e), new Ie(t)));
652
- case Ys:
653
- case Xs:
654
- case Qs:
655
- return ut(+e, +t);
656
- case Zs:
649
+ case hl:
650
+ return !(e.byteLength != t.byteLength || !a(new Le(e), new Le(t)));
651
+ case cl:
652
+ case fl:
653
+ case vl:
654
+ return et(+e, +t);
655
+ case dl:
657
656
  return e.name == t.name && e.message == t.message;
658
- case eo:
659
- case no:
657
+ case ml:
658
+ case yl:
660
659
  return e == t + "";
661
- case Js:
662
- var d = Gs;
663
- case to:
664
- var u = r & Ks;
665
- if (d || (d = Ws), e.size != t.size && !u)
660
+ case pl:
661
+ var f = ll;
662
+ case gl:
663
+ var p = r & sl;
664
+ if (f || (f = ol), e.size != t.size && !p)
666
665
  return !1;
667
- var c = l.get(e);
666
+ var c = d.get(e);
668
667
  if (c)
669
668
  return c == t;
670
- r |= qs, l.set(e, t);
671
- var y = kn(d(e), d(t), r, s, i, l);
672
- return l.delete(e), y;
673
- case ro:
669
+ r |= ul, d.set(e, t);
670
+ var g = cn(f(e), f(t), r, s, a, d);
671
+ return d.delete(e), g;
672
+ case _l:
674
673
  if (ze)
675
674
  return ze.call(e) == ze.call(t);
676
675
  }
677
676
  return !1;
678
677
  }
679
- var oo = 1, lo = Object.prototype, uo = lo.hasOwnProperty;
680
- function co(e, t, n, r, s, i) {
681
- var l = n & oo, d = Ye(e), u = d.length, c = Ye(t), y = c.length;
682
- if (u != y && !l)
678
+ var bl = 1, Al = Object.prototype, wl = Al.hasOwnProperty;
679
+ function Sl(e, t, n, r, s, a) {
680
+ var d = n & bl, f = Xe(e), p = f.length, c = Xe(t), g = c.length;
681
+ if (p != g && !d)
683
682
  return !1;
684
- for (var g = u; g--; ) {
685
- var p = d[g];
686
- if (!(l ? p in t : uo.call(t, p)))
683
+ for (var h = p; h--; ) {
684
+ var y = f[h];
685
+ if (!(d ? y in t : wl.call(t, y)))
687
686
  return !1;
688
687
  }
689
- var b = i.get(e), h = i.get(t);
690
- if (b && h)
691
- return b == t && h == e;
692
- var T = !0;
693
- i.set(e, t), i.set(t, e);
694
- for (var C = l; ++g < u; ) {
695
- p = d[g];
696
- var w = e[p], B = t[p];
688
+ var T = a.get(e), $ = a.get(t);
689
+ if (T && $)
690
+ return T == t && $ == e;
691
+ var b = !0;
692
+ a.set(e, t), a.set(t, e);
693
+ for (var V = d; ++h < p; ) {
694
+ y = f[h];
695
+ var E = e[y], z = t[y];
697
696
  if (r)
698
- var Te = l ? r(B, w, p, t, e, i) : r(w, B, p, e, t, i);
699
- if (!(Te === void 0 ? w === B || s(w, B, n, r, i) : Te)) {
700
- T = !1;
697
+ var be = d ? r(z, E, y, t, e, a) : r(E, z, y, e, t, a);
698
+ if (!(be === void 0 ? E === z || s(E, z, n, r, a) : be)) {
699
+ b = !1;
701
700
  break;
702
701
  }
703
- C || (C = p == "constructor");
702
+ V || (V = y == "constructor");
704
703
  }
705
- if (T && !C) {
706
- var ee = e.constructor, te = t.constructor;
707
- ee != te && "constructor" in e && "constructor" in t && !(typeof ee == "function" && ee instanceof ee && typeof te == "function" && te instanceof te) && (T = !1);
704
+ if (b && !V) {
705
+ var le = e.constructor, oe = t.constructor;
706
+ le != oe && "constructor" in e && "constructor" in t && !(typeof le == "function" && le instanceof le && typeof oe == "function" && oe instanceof oe) && (b = !1);
708
707
  }
709
- return i.delete(e), i.delete(t), T;
710
- }
711
- var fo = 1, Ut = "[object Arguments]", jt = "[object Array]", Ce = "[object Object]", mo = Object.prototype, Nt = mo.hasOwnProperty;
712
- function go(e, t, n, r, s, i) {
713
- var l = me(e), d = me(t), u = l ? jt : D(e), c = d ? jt : D(t);
714
- u = u == Ut ? Ce : u, c = c == Ut ? Ce : c;
715
- var y = u == Ce, g = c == Ce, p = u == c;
716
- if (p && Pe(e)) {
717
- if (!Pe(t))
708
+ return a.delete(e), a.delete(t), b;
709
+ }
710
+ var Pl = 1, Et = "[object Arguments]", Dt = "[object Array]", Pe = "[object Object]", Ol = Object.prototype, Lt = Ol.hasOwnProperty;
711
+ function Cl(e, t, n, r, s, a) {
712
+ var d = ye(e), f = ye(t), p = d ? Dt : B(e), c = f ? Dt : B(t);
713
+ p = p == Et ? Pe : p, c = c == Et ? Pe : c;
714
+ var g = p == Pe, h = c == Pe, y = p == c;
715
+ if (y && De(e)) {
716
+ if (!De(t))
718
717
  return !1;
719
- l = !0, y = !1;
720
- }
721
- if (p && !y)
722
- return i || (i = new R()), l || $n(e) ? kn(e, t, n, r, s, i) : so(e, t, u, n, r, s, i);
723
- if (!(n & fo)) {
724
- var b = y && Nt.call(e, "__wrapped__"), h = g && Nt.call(t, "__wrapped__");
725
- if (b || h) {
726
- var T = b ? e.value() : e, C = h ? t.value() : t;
727
- return i || (i = new R()), s(T, C, n, r, i);
728
- }
729
- }
730
- return p ? (i || (i = new R()), co(e, t, n, r, s, i)) : !1;
731
- }
732
- function Ln(e, t, n, r, s) {
733
- return e === t ? !0 : e == null || t == null || !q(e) && !q(t) ? e !== e && t !== t : go(e, t, n, r, Ln, s);
734
- }
735
- function Se(e, t) {
736
- return Ln(e, t);
737
- }
738
- function Q(e, t) {
739
- return (n) => Object.keys(e).reduce((r, s) => {
740
- const l = typeof e[s] == "object" && e[s] != null && !Array.isArray(e[s]) ? e[s] : {
741
- type: e[s]
742
- };
743
- return n && s in n ? r[s] = {
744
- ...l,
745
- default: n[s]
746
- } : r[s] = l, t && !r[s].source && (r[s].source = t), r;
747
- }, {});
748
- }
749
- const yo = Q({
750
- class: [String, Array, Object],
751
- style: {
752
- type: [String, Array, Object],
753
- default: null
718
+ d = !0, g = !1;
754
719
  }
755
- }, "component");
756
- function fe(e) {
757
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "px";
758
- if (!(e == null || e === ""))
759
- return isNaN(+e) ? String(e) : isFinite(+e) ? `${Number(e)}${t}` : void 0;
760
- }
761
- function Rt(e) {
762
- let t;
763
- return e !== null && typeof e == "object" && ((t = Object.getPrototypeOf(e)) === Object.prototype || t === null);
764
- }
765
- function He(e, t) {
766
- return t.every((n) => e.hasOwnProperty(n));
767
- }
768
- function vo(e, t) {
769
- const n = {}, r = new Set(Object.keys(e));
770
- for (const s of t)
771
- r.has(s) && (n[s] = e[s]);
772
- return n;
773
- }
774
- function zt(e, t) {
775
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0";
776
- return e + n.repeat(Math.max(0, t - e.length));
777
- }
778
- function po(e) {
779
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
780
- const n = [];
781
- let r = 0;
782
- for (; r < e.length; )
783
- n.push(e.substr(r, t)), r += t;
784
- return n;
785
- }
786
- function Bn() {
787
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0;
788
- const r = {};
789
- for (const s in e)
790
- r[s] = e[s];
791
- for (const s in t) {
792
- const i = e[s], l = t[s];
793
- if (Rt(i) && Rt(l)) {
794
- r[s] = Bn(i, l, n);
795
- continue;
796
- }
797
- if (n && Array.isArray(i) && Array.isArray(l)) {
798
- r[s] = n(i, l);
799
- continue;
720
+ if (y && !g)
721
+ return a || (a = new X()), d || It(e) ? cn(e, t, n, r, s, a) : $l(e, t, p, n, r, s, a);
722
+ if (!(n & Pl)) {
723
+ var T = g && Lt.call(e, "__wrapped__"), $ = h && Lt.call(t, "__wrapped__");
724
+ if (T || $) {
725
+ var b = T ? e.value() : e, V = $ ? t.value() : t;
726
+ return a || (a = new X()), s(b, V, n, r, a);
800
727
  }
801
- r[s] = l;
802
728
  }
803
- return r;
804
- }
805
- function Dn(e) {
806
- return e.map((t) => t.type === tt ? Dn(t.children) : t).flat();
807
- }
808
- function ae() {
809
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
810
- if (ae.cache.has(e)) return ae.cache.get(e);
811
- const t = e.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase();
812
- return ae.cache.set(e, t), t;
813
- }
814
- ae.cache = /* @__PURE__ */ new Map();
815
- function Fn(e) {
816
- const t = an({}), n = I(e);
817
- return nt(() => {
818
- for (const r in n.value)
819
- t[r] = n.value[r];
820
- }, {
821
- flush: "sync"
822
- }), Jn(t);
823
- }
824
- function ho(e, t) {
825
- return e.includes(t);
826
- }
827
- const re = 2.4, Ht = 0.2126729, Gt = 0.7151522, Wt = 0.072175, _o = 0.55, bo = 0.58, To = 0.57, $o = 0.62, we = 0.03, Kt = 1.45, Co = 5e-4, So = 1.25, wo = 1.25, qt = 0.078, Yt = 12.82051282051282, Ae = 0.06, Xt = 1e-3;
828
- function Zt(e, t) {
829
- const n = (e.r / 255) ** re, r = (e.g / 255) ** re, s = (e.b / 255) ** re, i = (t.r / 255) ** re, l = (t.g / 255) ** re, d = (t.b / 255) ** re;
830
- let u = n * Ht + r * Gt + s * Wt, c = i * Ht + l * Gt + d * Wt;
831
- if (u <= we && (u += (we - u) ** Kt), c <= we && (c += (we - c) ** Kt), Math.abs(c - u) < Co) return 0;
832
- let y;
833
- if (c > u) {
834
- const g = (c ** _o - u ** bo) * So;
835
- y = g < Xt ? 0 : g < qt ? g - g * Yt * Ae : g - Ae;
836
- } else {
837
- const g = (c ** $o - u ** To) * wo;
838
- y = g > -Xt ? 0 : g > -qt ? g - g * Yt * Ae : g + Ae;
839
- }
840
- return y * 100;
841
- }
842
- function de(e) {
843
- Qn(`Vuetify: ${e}`);
844
- }
845
- function Qe(e) {
846
- return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e);
847
- }
848
- function Ao(e) {
849
- return Qe(e) && !/^((rgb|hsl)a?\()?var\(--/.test(e);
850
- }
851
- const Jt = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, xo = {
852
- rgb: (e, t, n, r) => ({
853
- r: e,
854
- g: t,
855
- b: n,
856
- a: r
857
- }),
858
- rgba: (e, t, n, r) => ({
859
- r: e,
860
- g: t,
861
- b: n,
862
- a: r
863
- }),
864
- hsl: (e, t, n, r) => Qt({
865
- h: e,
866
- s: t,
867
- l: n,
868
- a: r
869
- }),
870
- hsla: (e, t, n, r) => Qt({
871
- h: e,
872
- s: t,
873
- l: n,
874
- a: r
875
- }),
876
- hsv: (e, t, n, r) => ve({
877
- h: e,
878
- s: t,
879
- v: n,
880
- a: r
881
- }),
882
- hsva: (e, t, n, r) => ve({
883
- h: e,
884
- s: t,
885
- v: n,
886
- a: r
887
- })
888
- };
889
- function ue(e) {
890
- if (typeof e == "number")
891
- return (isNaN(e) || e < 0 || e > 16777215) && de(`'${e}' is not a valid hex color`), {
892
- r: (e & 16711680) >> 16,
893
- g: (e & 65280) >> 8,
894
- b: e & 255
895
- };
896
- if (typeof e == "string" && Jt.test(e)) {
897
- const {
898
- groups: t
899
- } = e.match(Jt), {
900
- fn: n,
901
- values: r
902
- } = t, s = r.split(/,\s*/).map((i) => i.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(n) ? parseFloat(i) / 100 : parseFloat(i));
903
- return xo[n](...s);
904
- } else if (typeof e == "string") {
905
- let t = e.startsWith("#") ? e.slice(1) : e;
906
- [3, 4].includes(t.length) ? t = t.split("").map((r) => r + r).join("") : [6, 8].includes(t.length) || de(`'${e}' is not a valid hex(a) color`);
907
- const n = parseInt(t, 16);
908
- return (isNaN(n) || n < 0 || n > 4294967295) && de(`'${e}' is not a valid hex(a) color`), Oo(t);
909
- } else if (typeof e == "object") {
910
- if (He(e, ["r", "g", "b"]))
911
- return e;
912
- if (He(e, ["h", "s", "l"]))
913
- return ve(Un(e));
914
- if (He(e, ["h", "s", "v"]))
915
- return ve(e);
916
- }
917
- throw new TypeError(`Invalid color: ${e == null ? e : String(e) || e.constructor.name}
918
- Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`);
919
- }
920
- function ve(e) {
921
- const {
922
- h: t,
923
- s: n,
924
- v: r,
925
- a: s
926
- } = e, i = (d) => {
927
- const u = (d + t / 60) % 6;
928
- return r - r * n * Math.max(Math.min(u, 4 - u, 1), 0);
929
- }, l = [i(5), i(3), i(1)].map((d) => Math.round(d * 255));
930
- return {
931
- r: l[0],
932
- g: l[1],
933
- b: l[2],
934
- a: s
935
- };
936
- }
937
- function Qt(e) {
938
- return ve(Un(e));
939
- }
940
- function Un(e) {
941
- const {
942
- h: t,
943
- s: n,
944
- l: r,
945
- a: s
946
- } = e, i = r + n * Math.min(r, 1 - r), l = i === 0 ? 0 : 2 - 2 * r / i;
947
- return {
948
- h: t,
949
- s: l,
950
- v: i,
951
- a: s
952
- };
953
- }
954
- function Oo(e) {
955
- e = Po(e);
956
- let [t, n, r, s] = po(e, 2).map((i) => parseInt(i, 16));
957
- return s = s === void 0 ? s : s / 255, {
958
- r: t,
959
- g: n,
960
- b: r,
961
- a: s
962
- };
963
- }
964
- function Po(e) {
965
- return e.startsWith("#") && (e = e.slice(1)), e = e.replace(/([^0-9a-f])/gi, "F"), (e.length === 3 || e.length === 4) && (e = e.split("").map((t) => t + t).join("")), e.length !== 6 && (e = zt(zt(e, 6), 8, "F")), e;
966
- }
967
- function Io(e) {
968
- const t = Math.abs(Zt(ue(0), ue(e)));
969
- return Math.abs(Zt(ue(16777215), ue(e))) > Math.min(t, 50) ? "#fff" : "#000";
729
+ return y ? (a || (a = new X()), Sl(e, t, n, r, s, a)) : !1;
970
730
  }
971
- function be(e, t) {
972
- const n = er();
973
- if (!n)
974
- throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);
975
- return n;
976
- }
977
- function Vo() {
978
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables";
979
- const t = be(e).type;
980
- return ae((t == null ? void 0 : t.aliasName) || (t == null ? void 0 : t.name));
981
- }
982
- function Eo(e) {
983
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : be("injectSelf");
984
- const {
985
- provides: n
986
- } = t;
987
- if (n && e in n)
988
- return n[e];
989
- }
990
- const et = Symbol.for("vuetify:defaults");
991
- function jn() {
992
- const e = rt(et);
993
- if (!e) throw new Error("[Vuetify] Could not find defaults instance");
994
- return e;
731
+ function fn(e, t, n, r, s) {
732
+ return e === t ? !0 : e == null || t == null || !ee(e) && !ee(t) ? e !== e && t !== t : Cl(e, t, n, r, fn, s);
995
733
  }
996
- function Mo(e, t) {
997
- var n, r;
998
- return typeof ((n = e.props) == null ? void 0 : n[t]) < "u" || typeof ((r = e.props) == null ? void 0 : r[ae(t)]) < "u";
999
- }
1000
- function ko() {
1001
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : jn();
1002
- const r = be("useDefaults");
1003
- if (t = t ?? r.type.name ?? r.type.__name, !t)
1004
- throw new Error("[Vuetify] Could not determine component name");
1005
- const s = I(() => {
1006
- var u;
1007
- return (u = n.value) == null ? void 0 : u[e._as ?? t];
1008
- }), i = new Proxy(e, {
1009
- get(u, c) {
1010
- var g, p, b, h, T, C, w;
1011
- const y = Reflect.get(u, c);
1012
- return c === "class" || c === "style" ? [(g = s.value) == null ? void 0 : g[c], y].filter((B) => B != null) : typeof c == "string" && !Mo(r.vnode, c) ? ((p = s.value) == null ? void 0 : p[c]) !== void 0 ? (b = s.value) == null ? void 0 : b[c] : ((T = (h = n.value) == null ? void 0 : h.global) == null ? void 0 : T[c]) !== void 0 ? (w = (C = n.value) == null ? void 0 : C.global) == null ? void 0 : w[c] : y : y;
1013
- }
1014
- }), l = tr();
1015
- nt(() => {
1016
- if (s.value) {
1017
- const u = Object.entries(s.value).filter((c) => {
1018
- let [y] = c;
1019
- return y.startsWith(y[0].toUpperCase());
1020
- });
1021
- l.value = u.length ? Object.fromEntries(u) : void 0;
1022
- } else
1023
- l.value = void 0;
1024
- });
1025
- function d() {
1026
- const u = Eo(et, r);
1027
- sn(et, I(() => l.value ? Bn((u == null ? void 0 : u.value) ?? {}, l.value) : u == null ? void 0 : u.value));
1028
- }
1029
- return {
1030
- props: i,
1031
- provideSubDefaults: d
1032
- };
734
+ function Re(e, t) {
735
+ return fn(e, t);
1033
736
  }
1034
- function Be(e) {
1035
- if (e._setup = e._setup ?? e.setup, !e.name)
1036
- return de("The component is missing an explicit name, unable to generate default prop value"), e;
1037
- if (e._setup) {
1038
- e.props = Q(e.props ?? {}, e.name)();
1039
- const t = Object.keys(e.props).filter((n) => n !== "class" && n !== "style");
1040
- e.filterProps = function(r) {
1041
- return vo(r, t);
1042
- }, e.props._as = String, e.setup = function(r, s) {
1043
- const i = jn();
1044
- if (!i.value) return e._setup(r, s);
1045
- const {
1046
- props: l,
1047
- provideSubDefaults: d
1048
- } = ko(r, r._as ?? e.name, i), u = e._setup(l, s);
1049
- return d(), u;
1050
- };
1051
- }
1052
- return e;
1053
- }
1054
- function Nn() {
1055
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
1056
- return (t) => (e ? Be : L)(t);
1057
- }
1058
- function Lo(e) {
1059
- const t = be("useRender");
1060
- t.render = e;
1061
- }
1062
- const en = Symbol.for("vuetify:theme"), Bo = Q({
1063
- theme: String
1064
- }, "theme");
1065
- function Do(e) {
1066
- be("provideTheme");
1067
- const t = rt(en, null);
1068
- if (!t) throw new Error("Could not find Vuetify theme injection");
1069
- const n = I(() => e.theme ?? t.name.value), r = I(() => t.themes.value[n.value]), s = I(() => t.isDisabled ? void 0 : `v-theme--${n.value}`), i = {
1070
- ...t,
1071
- name: n,
1072
- current: r,
1073
- themeClasses: s
1074
- };
1075
- return sn(en, i), i;
1076
- }
1077
- const Fo = Q({
1078
- tag: {
1079
- type: String,
1080
- default: "div"
1081
- }
1082
- }, "tag");
1083
- function Uo(e) {
1084
- return Fn(() => {
1085
- const t = [], n = {};
1086
- if (e.value.background)
1087
- if (Qe(e.value.background)) {
1088
- if (n.backgroundColor = e.value.background, !e.value.text && Ao(e.value.background)) {
1089
- const r = ue(e.value.background);
1090
- if (r.a == null || r.a === 1) {
1091
- const s = Io(r);
1092
- n.color = s, n.caretColor = s;
1093
- }
1094
- }
1095
- } else
1096
- t.push(`bg-${e.value.background}`);
1097
- return e.value.text && (Qe(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), {
1098
- colorClasses: t,
1099
- colorStyles: n
1100
- };
1101
- });
1102
- }
1103
- function jo(e, t) {
1104
- const n = I(() => ({
1105
- text: at(e) ? e.value : null
1106
- })), {
1107
- colorClasses: r,
1108
- colorStyles: s
1109
- } = Uo(n);
1110
- return {
1111
- textColorClasses: r,
1112
- textColorStyles: s
1113
- };
1114
- }
1115
- const Rn = [String, Function, Object, Array], No = Symbol.for("vuetify:icons"), De = Q({
1116
- icon: {
1117
- type: Rn
1118
- },
1119
- // Could not remove this and use makeTagProps, types complained because it is not required
1120
- tag: {
1121
- type: String,
1122
- required: !0
1123
- }
1124
- }, "icon"), tn = Nn()({
1125
- name: "VComponentIcon",
1126
- props: De(),
1127
- setup(e, t) {
1128
- let {
1129
- slots: n
1130
- } = t;
1131
- return () => {
1132
- const r = e.icon;
1133
- return A(e.tag, null, {
1134
- default: () => {
1135
- var s;
1136
- return [e.icon ? A(r, null, null) : (s = n.default) == null ? void 0 : s.call(n)];
1137
- }
1138
- });
1139
- };
1140
- }
1141
- }), Ro = Be({
1142
- name: "VSvgIcon",
1143
- inheritAttrs: !1,
1144
- props: De(),
1145
- setup(e, t) {
1146
- let {
1147
- attrs: n
1148
- } = t;
1149
- return () => A(e.tag, it(n, {
1150
- style: null
1151
- }), {
1152
- default: () => [A("svg", {
1153
- class: "v-icon__svg",
1154
- xmlns: "http://www.w3.org/2000/svg",
1155
- viewBox: "0 0 24 24",
1156
- role: "img",
1157
- "aria-hidden": "true"
1158
- }, [Array.isArray(e.icon) ? e.icon.map((r) => Array.isArray(r) ? A("path", {
1159
- d: r[0],
1160
- "fill-opacity": r[1]
1161
- }, null) : A("path", {
1162
- d: r
1163
- }, null)) : A("path", {
1164
- d: e.icon
1165
- }, null)])]
1166
- });
1167
- }
1168
- });
1169
- Be({
1170
- name: "VLigatureIcon",
1171
- props: De(),
1172
- setup(e) {
1173
- return () => A(e.tag, null, {
1174
- default: () => [e.icon]
1175
- });
1176
- }
1177
- });
1178
- Be({
1179
- name: "VClassIcon",
1180
- props: De(),
1181
- setup(e) {
1182
- return () => A(e.tag, {
1183
- class: e.icon
1184
- }, null);
1185
- }
1186
- });
1187
- const zo = (e) => {
1188
- const t = rt(No);
1189
- if (!t) throw new Error("Missing Vuetify Icons provide!");
1190
- return {
1191
- iconData: I(() => {
1192
- var u;
1193
- const r = H(e);
1194
- if (!r) return {
1195
- component: tn
1196
- };
1197
- let s = r;
1198
- if (typeof s == "string" && (s = s.trim(), s.startsWith("$") && (s = (u = t.aliases) == null ? void 0 : u[s.slice(1)])), s || de(`Could not find aliased icon "${r}"`), Array.isArray(s))
1199
- return {
1200
- component: Ro,
1201
- icon: s
1202
- };
1203
- if (typeof s != "string")
1204
- return {
1205
- component: tn,
1206
- icon: s
1207
- };
1208
- const i = Object.keys(t.sets).find((c) => typeof s == "string" && s.startsWith(`${c}:`)), l = i ? s.slice(i.length + 1) : s;
1209
- return {
1210
- component: t.sets[i ?? t.defaultSet].component,
1211
- icon: l
1212
- };
1213
- })
1214
- };
1215
- }, Ho = ["x-small", "small", "default", "large", "x-large"], Go = Q({
1216
- size: {
1217
- type: [String, Number],
1218
- default: "default"
1219
- }
1220
- }, "size");
1221
- function Wo(e) {
1222
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Vo();
1223
- return Fn(() => {
1224
- let n, r;
1225
- return ho(Ho, e.size) ? n = `${t}--size-${e.size}` : e.size && (r = {
1226
- width: fe(e.size),
1227
- height: fe(e.size)
1228
- }), {
1229
- sizeClasses: n,
1230
- sizeStyles: r
1231
- };
1232
- });
1233
- }
1234
- const Ko = Q({
1235
- color: String,
1236
- disabled: Boolean,
1237
- start: Boolean,
1238
- end: Boolean,
1239
- icon: Rn,
1240
- ...yo(),
1241
- ...Go(),
1242
- ...Fo({
1243
- tag: "i"
1244
- }),
1245
- ...Bo()
1246
- }, "VIcon"), qo = Nn()({
1247
- name: "VIcon",
1248
- props: Ko(),
1249
- setup(e, t) {
1250
- let {
1251
- attrs: n,
1252
- slots: r
1253
- } = t;
1254
- const s = k(), {
1255
- themeClasses: i
1256
- } = Do(e), {
1257
- iconData: l
1258
- } = zo(I(() => s.value || e.icon)), {
1259
- sizeClasses: d
1260
- } = Wo(e), {
1261
- textColorClasses: u,
1262
- textColorStyles: c
1263
- } = jo(nr(e, "color"));
1264
- return Lo(() => {
1265
- var p, b;
1266
- const y = (p = r.default) == null ? void 0 : p.call(r);
1267
- y && (s.value = (b = Dn(y).filter((h) => h.type === rr && h.children && typeof h.children == "string")[0]) == null ? void 0 : b.children);
1268
- const g = !!(n.onClick || n.onClickOnce);
1269
- return A(l.value.component, {
1270
- tag: e.tag,
1271
- icon: l.value.icon,
1272
- class: ["v-icon", "notranslate", i.value, d.value, u.value, {
1273
- "v-icon--clickable": g,
1274
- "v-icon--disabled": e.disabled,
1275
- "v-icon--start": e.start,
1276
- "v-icon--end": e.end
1277
- }, e.class],
1278
- style: [d.value ? void 0 : {
1279
- fontSize: fe(e.size),
1280
- height: fe(e.size),
1281
- width: fe(e.size)
1282
- }, c.value, e.style],
1283
- role: g ? "button" : void 0,
1284
- "aria-hidden": !g,
1285
- tabindex: g ? e.disabled ? -1 : 0 : void 0
1286
- }, {
1287
- default: () => [y]
1288
- });
1289
- }), {};
1290
- }
1291
- }), Yo = /* @__PURE__ */ L({
737
+ const Vl = /* @__PURE__ */ H({
1292
738
  __name: "entry",
1293
739
  props: {
1294
740
  minHeight: {}
1295
741
  },
1296
742
  setup(e) {
1297
- const { backgroundColor2: t, highlightColor: n } = lt(), r = k(!1), s = I(() => ({
743
+ const { backgroundColor2: t, highlightColor: n } = ke(), r = R(!1), s = Y(() => ({
1298
744
  background: r.value ? n.value : t.value,
1299
745
  minHeight: e.minHeight,
1300
746
  paddingRight: "4px",
1301
747
  marginBottom: "1px",
1302
748
  userSelect: "none"
1303
- })), i = (l) => {
1304
- ln.emit("propTreeMenu", {
1305
- x: l.clientX,
1306
- y: l.clientY
749
+ })), a = (d) => {
750
+ Bt.emit("propTreeMenu", {
751
+ x: d.clientX,
752
+ y: d.clientY
1307
753
  });
1308
754
  };
1309
- return (l, d) => {
1310
- const u = se("ripple");
1311
- return W((E(), pe("div", {
755
+ return (d, f) => {
756
+ const p = fe("ripple");
757
+ return k((C(), W("div", {
1312
758
  class: "d-flex justify-space-between align-center cursor-pointer",
1313
- style: on(s.value),
1314
- onContextmenu: xe(i, ["prevent"]),
1315
- onMouseover: d[0] || (d[0] = (c) => r.value = !0),
1316
- onMouseout: d[1] || (d[1] = (c) => r.value = !1)
759
+ style: Ie(s.value),
760
+ onContextmenu: j(a, ["prevent"]),
761
+ onMouseover: f[0] || (f[0] = (c) => r.value = !0),
762
+ onMouseout: f[1] || (f[1] = (c) => r.value = !1)
1317
763
  }, [
1318
- ar(l.$slots, "default")
764
+ Tn(d.$slots, "default")
1319
765
  ], 36)), [
1320
- [u]
766
+ [p]
1321
767
  ]);
1322
768
  };
1323
769
  }
1324
- }), Xo = /* @__PURE__ */ L({
770
+ }), El = /* @__PURE__ */ H({
1325
771
  __name: "menu",
1326
772
  setup(e) {
1327
- const { t } = ot(), n = k(0), r = k(0), s = I(() => [n.value, r.value]), i = (c) => {
1328
- const y = () => {
773
+ const { t } = Qe(), n = R(0), r = R(0), s = Y(() => [n.value, r.value]), a = (c) => {
774
+ const g = () => {
1329
775
  console.log("reset");
1330
776
  };
1331
777
  c.push({
1332
778
  title: t("x-prop-tree.reset"),
1333
- func: y
779
+ func: g
1334
780
  });
1335
- }, l = I(() => {
781
+ }, d = Y(() => {
1336
782
  const c = [];
1337
- return i(c), c;
1338
- }), d = (c) => {
783
+ return a(c), c;
784
+ }), f = (c) => {
1339
785
  n.value = c.x, r.value = c.y;
1340
- }, { open: u } = un("propTreeMenu", d);
1341
- return (c, y) => {
1342
- const g = P("v-list-item-title"), p = P("v-list-item"), b = P("v-list"), h = P("v-menu");
1343
- return E(), F(h, {
1344
- modelValue: H(u),
1345
- "onUpdate:modelValue": y[0] || (y[0] = (T) => at(u) ? u.value = T : null),
786
+ }, { open: p } = Rt("propTreeMenu", f);
787
+ return (c, g) => {
788
+ const h = P("v-list-item-title"), y = P("v-list-item"), T = P("v-list"), $ = P("v-menu");
789
+ return C(), U($, {
790
+ modelValue: N(p),
791
+ "onUpdate:modelValue": g[0] || (g[0] = (b) => xt(p) ? p.value = b : null),
1346
792
  "location-strategy": "connected",
1347
793
  target: s.value,
1348
794
  scrim: "transparent"
1349
795
  }, {
1350
- default: N(() => [
1351
- A(b, null, {
1352
- default: N(() => [
1353
- (E(!0), pe(tt, null, ir(l.value, (T, C) => (E(), F(p, {
1354
- key: C,
796
+ default: K(() => [
797
+ M(T, null, {
798
+ default: K(() => [
799
+ (C(!0), W(Nt, null, $n(d.value, (b, V) => (C(), U(y, {
800
+ key: V,
1355
801
  link: "",
1356
- onClick: T.func
802
+ onClick: b.func
1357
803
  }, {
1358
- default: N(() => [
1359
- A(g, null, {
1360
- default: N(() => [
1361
- st(Ee(T.title), 1)
804
+ default: K(() => [
805
+ M(h, null, {
806
+ default: K(() => [
807
+ Je(xe(b.title), 1)
1362
808
  ]),
1363
809
  _: 2
1364
810
  }, 1024)
@@ -1373,7 +819,9 @@ const Ko = Q({
1373
819
  }, 8, ["modelValue", "target"]);
1374
820
  };
1375
821
  }
1376
- }), Ge = /* @__PURE__ */ L({
822
+ });
823
+ var Dl = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", Ll = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", ae = "M19,13H5V11H19V13Z", Ml = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
824
+ const Oe = /* @__PURE__ */ H({
1377
825
  __name: "title",
1378
826
  props: {
1379
827
  title: {},
@@ -1384,85 +832,217 @@ const Ko = Q({
1384
832
  },
1385
833
  emits: ["collapse", "create", "delete"],
1386
834
  setup(e, { emit: t }) {
1387
- const { backgroundColor2: n, highlightColor: r } = lt(), s = t, i = k(!1), l = I(() => ({
1388
- background: i.value ? r.value : n.value,
835
+ const { backgroundColor2: n, highlightColor: r } = ke(), s = t, a = R(!1), d = Y(() => ({
836
+ background: a.value ? r.value : n.value,
1389
837
  height: "36px",
1390
838
  marginBottom: "1px",
1391
839
  userSelect: "none"
1392
- })), d = () => {
840
+ })), f = () => {
1393
841
  s("collapse", !e.collapse);
1394
- }, u = (c) => {
1395
- ln.emit("propTreeMenu", {
842
+ }, p = (c) => {
843
+ Bt.emit("propTreeMenu", {
1396
844
  x: c.clientX,
1397
845
  y: c.clientY
1398
846
  });
1399
847
  };
1400
- return (c, y) => {
1401
- const g = P("v-icon"), p = P("v-spacer"), b = se("ripple");
1402
- return W((E(), pe("div", {
848
+ return (c, g) => {
849
+ const h = P("v-icon"), y = P("v-spacer"), T = fe("ripple");
850
+ return k((C(), W("div", {
1403
851
  class: "d-flex align-center cursor-pointer",
1404
- style: on(l.value),
1405
- onClick: d,
1406
- onContextmenu: xe(u, ["prevent"]),
1407
- onMouseover: y[2] || (y[2] = (h) => i.value = !0),
1408
- onMouseout: y[3] || (y[3] = (h) => i.value = !1)
852
+ style: Ie(d.value),
853
+ onClick: f,
854
+ onContextmenu: j(p, ["prevent"]),
855
+ onMouseover: g[2] || (g[2] = ($) => a.value = !0),
856
+ onMouseout: g[3] || (g[3] = ($) => a.value = !1)
1409
857
  }, [
1410
- A(g, {
858
+ M(h, {
1411
859
  class: "mr-1",
1412
- icon: c.collapse ? H(cr) : H(ur)
860
+ icon: c.collapse ? N(Ll) : N(Dl)
1413
861
  }, null, 8, ["icon"]),
1414
- sr("span", null, Ee(c.title), 1),
1415
- A(p),
1416
- c.hasCreate ? (E(), F(g, {
862
+ Ee("span", null, xe(c.title), 1),
863
+ M(y),
864
+ c.hasCreate ? (C(), U(h, {
1417
865
  key: 0,
1418
866
  class: "mx-3",
1419
- icon: H(fn),
1420
- onClick: y[0] || (y[0] = xe((h) => s("create"), ["stop"]))
1421
- }, null, 8, ["icon"])) : We("", !0),
1422
- c.hasDelete ? (E(), F(g, {
867
+ icon: N(Ml),
868
+ onClick: g[0] || (g[0] = j(($) => s("create"), ["stop"]))
869
+ }, null, 8, ["icon"])) : Z("", !0),
870
+ c.hasDelete ? (C(), U(h, {
1423
871
  key: 1,
1424
872
  class: "mx-3",
1425
- icon: H(cn),
1426
- onClick: y[1] || (y[1] = xe((h) => s("delete", c.index), ["stop"]))
1427
- }, null, 8, ["icon"])) : We("", !0)
873
+ icon: N(ae),
874
+ onClick: g[1] || (g[1] = j(($) => s("delete", c.index), ["stop"]))
875
+ }, null, 8, ["icon"])) : Z("", !0)
1428
876
  ], 36)), [
1429
- [b]
877
+ [T]
1430
878
  ]);
1431
879
  };
1432
880
  }
1433
- }), Zo = /* @__PURE__ */ L({
881
+ }), Mt = (e) => !(e instanceof Array), Ce = (e) => e instanceof Array, ot = (e) => !(e instanceof Array), Ue = (e) => e instanceof Array, Ul = [
882
+ ["basic", "id"],
883
+ ["basic", "name"]
884
+ ], xl = (e) => (Ul.forEach((t) => {
885
+ if (Re(e, t))
886
+ return !0;
887
+ }), !1), He = (e, t, n, r, s, a, d) => (e = un(e), a !== void 0 ? (e.push(a), d && e.push(t.key)) : e.push(t.key), xl(e), t.ui ? t.array && a === void 0 ? Bl(
888
+ e,
889
+ t,
890
+ n,
891
+ r,
892
+ s,
893
+ a,
894
+ d
895
+ ) : Rl(t, n, r, a, d) : t.array ? Nl(
896
+ e,
897
+ t,
898
+ n,
899
+ r,
900
+ s,
901
+ a,
902
+ d
903
+ ) : Fl(
904
+ e,
905
+ t,
906
+ n,
907
+ r,
908
+ s,
909
+ a,
910
+ d
911
+ )), Nl = (e, t, n, r, s, a, d) => {
912
+ if (t.ui)
913
+ return console.assert(!1, "execPropBranchArray prop ui must be invalid"), !1;
914
+ if (!t.array)
915
+ return console.assert(!1, "execPropBranchArray prop array must be valid"), !1;
916
+ if (!Ue(r.children))
917
+ return console.assert(!1, "execPropBranchArray state children must be array"), !1;
918
+ let f;
919
+ a !== void 0 && !d ? (n[a] instanceof Array || (n[a] = L(t), s == null || s(e, n[a])), f = n[a]) : (n[t.key] instanceof Array || (n[t.key] = L(t), s == null || s(e, n[t.key])), f = n[t.key]), r.change = !1;
920
+ for (let p = 0; p < f.length; p++)
921
+ r.children.push({
922
+ change: !1,
923
+ children: {}
924
+ }), t.children.forEach((c) => {
925
+ if (!Ue(r.children)) {
926
+ console.assert(!1);
927
+ return;
928
+ }
929
+ const g = r.children[p];
930
+ if (!ot(g.children)) {
931
+ console.assert(!1);
932
+ return;
933
+ }
934
+ g.children[c.key] = {
935
+ change: !1,
936
+ children: c.array ? [] : {}
937
+ }, He(
938
+ e,
939
+ c,
940
+ f[p],
941
+ g.children[c.key],
942
+ s,
943
+ p,
944
+ !0
945
+ ) && (g.change = !0), g.change && (r.change = !0);
946
+ });
947
+ return r.change || (r.change = !Re(f, L(t))), r.change;
948
+ }, Fl = (e, t, n, r, s, a, d) => {
949
+ if (t.ui)
950
+ return console.assert(!1, "execPropBranchScalar prop ui must be invalid"), !1;
951
+ if (t.array)
952
+ return console.assert(!1, "execPropBranchScalar prop array must be invalid"), !1;
953
+ if (!ot(r.children))
954
+ return console.assert(!1, "execPropBranchScalar state children must be map"), !1;
955
+ let f;
956
+ a !== void 0 && !d ? (n[a] || (n[a] = {}), f = n[a]) : (n[t.key] || (n[t.key] = {}), f = n[t.key]), r.change = !1;
957
+ for (let p = 0; p < t.children.length; p++) {
958
+ const c = t.children[p];
959
+ r.children[c.key] = {
960
+ change: !1,
961
+ children: c.array ? [] : {}
962
+ }, He(e, c, f, r.children[c.key], s) && (r.change = !0);
963
+ }
964
+ return r.change;
965
+ }, Bl = (e, t, n, r, s, a, d) => {
966
+ if (!t.ui)
967
+ return console.assert(!1, "execPropLeafArray prop ui must be valid"), !1;
968
+ if (!t.array)
969
+ return console.assert(!1, "execPropLeafArray prop aray must be valid"), !1;
970
+ if (!Ue(r.children))
971
+ return console.assert(!1, "execPropLeafArray state children must be array"), !1;
972
+ let f;
973
+ a !== void 0 && !d ? (n[a] instanceof Array || (n[a] = L(t), s == null || s(e, n[a])), f = n[a]) : (n[t.key] instanceof Array || (n[t.key] = L(t), s == null || s(e, n[t.key])), f = n[t.key]), r.change = !1;
974
+ for (let p = 0; p < f.length; p++)
975
+ r.children[p] = {
976
+ change: !1,
977
+ children: {}
978
+ }, He(e, t, f, r.children[p], s, p, !1) && (r.change = !0);
979
+ return r.change || (r.change = !Re(f, L(t))), r.change;
980
+ }, Rl = (e, t, n, r, s) => {
981
+ if (!e.ui)
982
+ return console.assert(!1, "execPropLeafScalar prop ui must be valid"), !1;
983
+ let a;
984
+ return r !== void 0 && !s ? a = t[r] : a = t[e.key], n.change = !Re(a, L(e, !0)), n.change;
985
+ }, Ut = (e, t, n) => {
986
+ if (e.length <= 0 || !t)
987
+ return {};
988
+ const r = {};
989
+ return e.forEach((s) => {
990
+ r[s.key] = {
991
+ change: !1,
992
+ children: s.array ? [] : {}
993
+ }, He([], s, t, r[s.key], n);
994
+ }), r;
995
+ }, Hl = { class: "d-flex justify-space-between align-center" }, jl = /* @__PURE__ */ H({
1434
996
  __name: "colorPicker",
1435
- props: /* @__PURE__ */ K({
997
+ props: /* @__PURE__ */ F({
998
+ hasDelete: { type: Boolean, default: !1 },
1436
999
  readonly: { type: Boolean, default: !1 }
1437
1000
  }, {
1438
1001
  modelValue: {},
1439
1002
  modelModifiers: {}
1440
1003
  }),
1441
- emits: ["update:modelValue"],
1442
- setup(e) {
1443
- const t = oe(e, "modelValue"), n = I(() => e.readonly), r = k("hexa");
1444
- return (s, i) => {
1445
- const l = P("v-btn"), d = P("v-color-picker"), u = P("v-menu");
1446
- return E(), F(u, { "close-on-content-click": !1 }, {
1447
- activator: N(({ props: c }) => [
1448
- A(l, it(c, {
1449
- density: "comfortable",
1450
- color: t.value,
1451
- block: "",
1452
- disabled: n.value
1453
- }), {
1454
- default: N(() => [
1455
- st(Ee(t.value), 1)
1456
- ]),
1457
- _: 2
1458
- }, 1040, ["color", "disabled"])
1004
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1005
+ setup(e, { emit: t }) {
1006
+ const n = de(e, "modelValue"), r = t, s = Y(() => {
1007
+ let f = "100%";
1008
+ return e.hasDelete && (f = "calc(100% - 37px)"), {
1009
+ width: f
1010
+ };
1011
+ }), a = Y(() => e.readonly), d = R("hexa");
1012
+ return (f, p) => {
1013
+ const c = P("v-btn"), g = P("v-icon"), h = P("v-color-picker"), y = P("v-menu");
1014
+ return C(), U(y, { "close-on-content-click": !1 }, {
1015
+ activator: K(({ props: T }) => [
1016
+ Ee("div", Hl, [
1017
+ Ee("div", {
1018
+ style: Ie(s.value)
1019
+ }, [
1020
+ M(c, Ft(T, {
1021
+ density: "comfortable",
1022
+ color: n.value,
1023
+ block: "",
1024
+ disabled: a.value
1025
+ }), {
1026
+ default: K(() => [
1027
+ Je(xe(n.value), 1)
1028
+ ]),
1029
+ _: 2
1030
+ }, 1040, ["color", "disabled"])
1031
+ ], 4),
1032
+ f.hasDelete ? (C(), U(g, {
1033
+ key: 0,
1034
+ class: "mx-2",
1035
+ icon: N(ae),
1036
+ onClick: p[0] || (p[0] = j(($) => r("delete"), ["stop"]))
1037
+ }, null, 8, ["icon"])) : Z("", !0)
1038
+ ])
1459
1039
  ]),
1460
- default: N(() => [
1461
- A(d, {
1462
- modelValue: t.value,
1463
- "onUpdate:modelValue": i[0] || (i[0] = (c) => t.value = c),
1464
- mode: r.value,
1465
- "onUpdate:mode": i[1] || (i[1] = (c) => r.value = c),
1040
+ default: K(() => [
1041
+ M(h, {
1042
+ modelValue: n.value,
1043
+ "onUpdate:modelValue": p[1] || (p[1] = (T) => n.value = T),
1044
+ mode: d.value,
1045
+ "onUpdate:mode": p[2] || (p[2] = (T) => d.value = T),
1466
1046
  "show-swatches": "",
1467
1047
  "swatches-max-height": "150px"
1468
1048
  }, null, 8, ["modelValue", "mode"])
@@ -1471,24 +1051,24 @@ const Ko = Q({
1471
1051
  });
1472
1052
  };
1473
1053
  }
1474
- }), Jo = /* @__PURE__ */ L({
1054
+ }), Gl = /* @__PURE__ */ H({
1475
1055
  __name: "compSelect",
1476
1056
  setup(e) {
1477
- const t = I(() => "<n/a>"), n = () => {
1478
- }, { open: r } = un("compSelectDlg", n);
1479
- return (s, i) => {
1480
- const l = P("v-btn"), d = P("v-dialog");
1481
- return E(), F(d, {
1482
- modelValue: H(r),
1483
- "onUpdate:modelValue": i[0] || (i[0] = (u) => at(r) ? r.value = u : null)
1057
+ const t = Y(() => "<n/a>"), n = () => {
1058
+ }, { open: r } = Rt("compSelectDlg", n);
1059
+ return (s, a) => {
1060
+ const d = P("v-btn"), f = P("v-dialog");
1061
+ return C(), U(f, {
1062
+ modelValue: N(r),
1063
+ "onUpdate:modelValue": a[0] || (a[0] = (p) => xt(r) ? r.value = p : null)
1484
1064
  }, {
1485
- activator: N(({ props: u }) => [
1486
- A(l, it(u, {
1065
+ activator: K(({ props: p }) => [
1066
+ M(d, Ft(p, {
1487
1067
  density: "comfortable",
1488
1068
  block: ""
1489
1069
  }), {
1490
- default: N(() => [
1491
- st(Ee(t.value), 1)
1070
+ default: K(() => [
1071
+ Je(xe(t.value), 1)
1492
1072
  ]),
1493
1073
  _: 2
1494
1074
  }, 1040)
@@ -1497,79 +1077,89 @@ const Ko = Q({
1497
1077
  }, 8, ["modelValue"]);
1498
1078
  };
1499
1079
  }
1500
- }), Qo = { class: "my-2" }, el = /* @__PURE__ */ L({
1080
+ }), zl = { class: "d-flex justify-space-between align-center my-2" }, ql = /* @__PURE__ */ H({
1501
1081
  __name: "multiTypes",
1502
- props: /* @__PURE__ */ K({
1082
+ props: /* @__PURE__ */ F({
1083
+ hasDelete: { type: Boolean, default: !1 },
1503
1084
  types: {}
1504
1085
  }, {
1505
1086
  modelValue: { default: "" },
1506
1087
  modelModifiers: {}
1507
1088
  }),
1508
- emits: ["update:modelValue"],
1509
- setup(e) {
1510
- const { t } = ot(), n = oe(e, "modelValue"), r = k(0), s = I(() => {
1511
- const d = [];
1512
- return e.types.forEach((u, c) => {
1513
- d.push({
1514
- title: t(u.name),
1515
- value: c
1089
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1090
+ setup(e, { emit: t }) {
1091
+ const { t: n } = Qe(), r = de(e, "modelValue"), s = t, a = R(0), d = Y(() => {
1092
+ const c = [];
1093
+ return e.types.forEach((g, h) => {
1094
+ c.push({
1095
+ title: n(g.name),
1096
+ value: h
1516
1097
  });
1517
- }), d;
1098
+ }), c;
1518
1099
  });
1519
- e.types.some((d, u) => d.validator(n.value) ? (r.value = u, !0) : !1);
1520
- const i = I(() => e.types[r.value]);
1521
- Ke(i, (d) => {
1522
- n.value = d.default;
1100
+ e.types.some((c, g) => c.validator(r.value) ? (a.value = g, !0) : !1);
1101
+ const f = Y(() => e.types[a.value]);
1102
+ qe(f, (c) => {
1103
+ r.value = c.default;
1523
1104
  });
1524
- const l = k(0);
1525
- return nt(() => {
1526
- i.value.ui === "pixelInput" ? l.value = or(n.value) : i.value.ui === "percentInput" && (l.value = lr(n.value));
1527
- }), Ke(l, (d) => {
1528
- i.value.ui === "pixelInput" ? n.value = d + "px" : i.value.ui === "percentInput" && (n.value = d + "%");
1529
- }), (d, u) => {
1530
- const c = P("v-select"), y = P("v-number-input"), g = se("ripple");
1531
- return E(), pe("div", Qo, [
1532
- W(A(c, {
1533
- modelValue: r.value,
1534
- "onUpdate:modelValue": u[0] || (u[0] = (p) => r.value = p),
1535
- density: "compact",
1536
- items: s.value,
1537
- "hide-details": "",
1538
- "single-line": ""
1539
- }, null, 8, ["modelValue", "items"]), [
1540
- [
1541
- g,
1542
- void 0,
1543
- void 0,
1544
- { stop: !0 }
1545
- ]
1105
+ const p = R(0);
1106
+ return bn(() => {
1107
+ f.value.ui === "pixelInput" ? p.value = wn(r.value) : f.value.ui === "percentInput" && (p.value = Sn(r.value));
1108
+ }), qe(p, (c) => {
1109
+ f.value.ui === "pixelInput" ? r.value = c + "px" : f.value.ui === "percentInput" && (r.value = c + "%");
1110
+ }), (c, g) => {
1111
+ const h = P("v-select"), y = P("v-number-input"), T = P("v-icon"), $ = fe("ripple");
1112
+ return C(), W("div", zl, [
1113
+ Ee("div", null, [
1114
+ k(M(h, {
1115
+ modelValue: a.value,
1116
+ "onUpdate:modelValue": g[0] || (g[0] = (b) => a.value = b),
1117
+ density: "compact",
1118
+ items: d.value,
1119
+ "hide-details": "",
1120
+ "single-line": ""
1121
+ }, null, 8, ["modelValue", "items"]), [
1122
+ [
1123
+ $,
1124
+ void 0,
1125
+ void 0,
1126
+ { stop: !0 }
1127
+ ]
1128
+ ]),
1129
+ f.value.ui === "pixelInput" || f.value.ui === "percentInput" ? k((C(), U(y, {
1130
+ key: 0,
1131
+ modelValue: p.value,
1132
+ "onUpdate:modelValue": g[1] || (g[1] = (b) => p.value = b),
1133
+ density: "compact",
1134
+ "control-variant": "stacked",
1135
+ precision: f.value.precision,
1136
+ min: f.value.min,
1137
+ max: f.value.max,
1138
+ step: f.value.step,
1139
+ "hide-details": "",
1140
+ "single-line": ""
1141
+ }, null, 8, ["modelValue", "precision", "min", "max", "step"])), [
1142
+ [
1143
+ $,
1144
+ void 0,
1145
+ void 0,
1146
+ { stop: !0 }
1147
+ ]
1148
+ ]) : Z("", !0)
1546
1149
  ]),
1547
- i.value.ui === "pixelInput" || i.value.ui === "percentInput" ? W((E(), F(y, {
1150
+ c.hasDelete ? (C(), U(T, {
1548
1151
  key: 0,
1549
- modelValue: l.value,
1550
- "onUpdate:modelValue": u[1] || (u[1] = (p) => l.value = p),
1551
- density: "compact",
1552
- "control-variant": "stacked",
1553
- precision: i.value.precision,
1554
- min: i.value.min,
1555
- max: i.value.max,
1556
- step: i.value.step,
1557
- "hide-details": "",
1558
- "single-line": ""
1559
- }, null, 8, ["modelValue", "precision", "min", "max", "step"])), [
1560
- [
1561
- g,
1562
- void 0,
1563
- void 0,
1564
- { stop: !0 }
1565
- ]
1566
- ]) : We("", !0)
1152
+ class: "mx-2",
1153
+ icon: N(ae),
1154
+ onClick: g[2] || (g[2] = j((b) => s("delete"), ["stop"]))
1155
+ }, null, 8, ["icon"])) : Z("", !0)
1567
1156
  ]);
1568
1157
  };
1569
1158
  }
1570
- }), tl = /* @__PURE__ */ L({
1159
+ }), Kl = { class: "d-flex justify-space-between align-center" }, Xl = /* @__PURE__ */ H({
1571
1160
  __name: "numInput",
1572
- props: /* @__PURE__ */ K({
1161
+ props: /* @__PURE__ */ F({
1162
+ hasDelete: { type: Boolean, default: !1 },
1573
1163
  precision: { default: 4 },
1574
1164
  min: { default: () => -1 / 0 },
1575
1165
  max: { default: () => 1 / 0 },
@@ -1579,136 +1169,155 @@ const Ko = Q({
1579
1169
  modelValue: {},
1580
1170
  modelModifiers: {}
1581
1171
  }),
1582
- emits: ["update:modelValue"],
1583
- setup(e) {
1584
- const t = oe(e, "modelValue");
1585
- return (n, r) => {
1586
- const s = P("v-number-input"), i = se("ripple");
1587
- return W((E(), F(s, {
1588
- modelValue: t.value,
1589
- "onUpdate:modelValue": r[0] || (r[0] = (l) => t.value = l),
1590
- density: "compact",
1591
- "control-variant": "stacked",
1592
- precision: n.precision,
1593
- min: n.min,
1594
- max: n.max,
1595
- step: n.step,
1596
- "hide-details": "",
1597
- "single-line": "",
1598
- readonly: n.readonly
1599
- }, null, 8, ["modelValue", "precision", "min", "max", "step", "readonly"])), [
1600
- [
1601
- i,
1602
- void 0,
1603
- void 0,
1604
- { stop: !0 }
1605
- ]
1172
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1173
+ setup(e, { emit: t }) {
1174
+ const n = de(e, "modelValue"), r = t;
1175
+ return (s, a) => {
1176
+ const d = P("v-number-input"), f = P("v-icon"), p = fe("ripple");
1177
+ return C(), W("div", Kl, [
1178
+ k(M(d, {
1179
+ modelValue: n.value,
1180
+ "onUpdate:modelValue": a[0] || (a[0] = (c) => n.value = c),
1181
+ density: "compact",
1182
+ "control-variant": "stacked",
1183
+ precision: s.precision,
1184
+ min: s.min,
1185
+ max: s.max,
1186
+ step: s.step,
1187
+ "hide-details": "",
1188
+ "single-line": "",
1189
+ readonly: s.readonly
1190
+ }, null, 8, ["modelValue", "precision", "min", "max", "step", "readonly"]), [
1191
+ [
1192
+ p,
1193
+ void 0,
1194
+ void 0,
1195
+ { stop: !0 }
1196
+ ]
1197
+ ]),
1198
+ s.hasDelete ? (C(), U(f, {
1199
+ key: 0,
1200
+ class: "mx-2",
1201
+ icon: N(ae),
1202
+ onClick: a[1] || (a[1] = j((c) => r("delete"), ["stop"]))
1203
+ }, null, 8, ["icon"])) : Z("", !0)
1606
1204
  ]);
1607
1205
  };
1608
1206
  }
1609
- }), nl = /* @__PURE__ */ L({
1207
+ }), Yl = { class: "d-flex justify-space-between align-center" }, Zl = /* @__PURE__ */ H({
1610
1208
  __name: "select",
1611
- props: /* @__PURE__ */ K({
1209
+ props: /* @__PURE__ */ F({
1210
+ hasDelete: { type: Boolean, default: !1 },
1612
1211
  readonly: { type: Boolean, default: !1 },
1613
1212
  items: {}
1614
1213
  }, {
1615
1214
  modelValue: {},
1616
1215
  modelModifiers: {}
1617
1216
  }),
1618
- emits: ["update:modelValue"],
1619
- setup(e) {
1620
- const t = oe(e, "modelValue");
1621
- return (n, r) => {
1622
- const s = P("v-select"), i = se("ripple");
1623
- return W((E(), F(s, {
1624
- modelValue: t.value,
1625
- "onUpdate:modelValue": r[0] || (r[0] = (l) => t.value = l),
1626
- density: "compact",
1627
- items: n.items,
1628
- "hide-details": "",
1629
- "single-line": "",
1630
- readonly: n.readonly
1631
- }, null, 8, ["modelValue", "items", "readonly"])), [
1632
- [
1633
- i,
1634
- void 0,
1635
- void 0,
1636
- { stop: !0 }
1637
- ]
1217
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1218
+ setup(e, { emit: t }) {
1219
+ const n = de(e, "modelValue"), r = t;
1220
+ return (s, a) => {
1221
+ const d = P("v-select"), f = P("v-icon"), p = fe("ripple");
1222
+ return C(), W("div", Yl, [
1223
+ k(M(d, {
1224
+ modelValue: n.value,
1225
+ "onUpdate:modelValue": a[0] || (a[0] = (c) => n.value = c),
1226
+ density: "compact",
1227
+ items: s.items,
1228
+ "hide-details": "",
1229
+ "single-line": "",
1230
+ readonly: s.readonly
1231
+ }, null, 8, ["modelValue", "items", "readonly"]), [
1232
+ [
1233
+ p,
1234
+ void 0,
1235
+ void 0,
1236
+ { stop: !0 }
1237
+ ]
1238
+ ]),
1239
+ s.hasDelete ? (C(), U(f, {
1240
+ key: 0,
1241
+ class: "mx-2",
1242
+ icon: N(ae),
1243
+ onClick: a[1] || (a[1] = j((c) => r("delete"), ["stop"]))
1244
+ }, null, 8, ["icon"])) : Z("", !0)
1638
1245
  ]);
1639
1246
  };
1640
1247
  }
1641
- }), nn = /* @__PURE__ */ L({
1248
+ }), Wl = { class: "d-flex justify-space-between align-center" }, Il = /* @__PURE__ */ H({
1642
1249
  __name: "strInput",
1643
- props: /* @__PURE__ */ K({
1644
- readonly: { type: Boolean, default: !1 },
1645
- hasDelete: { type: Boolean, default: !1 }
1250
+ props: /* @__PURE__ */ F({
1251
+ hasDelete: { type: Boolean, default: !1 },
1252
+ readonly: { type: Boolean, default: !1 }
1646
1253
  }, {
1647
1254
  modelValue: {},
1648
1255
  modelModifiers: {}
1649
1256
  }),
1650
- emits: /* @__PURE__ */ K(["delete"], ["update:modelValue"]),
1257
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1651
1258
  setup(e, { emit: t }) {
1652
- const n = oe(e, "modelValue"), r = t;
1653
- return (s, i) => {
1654
- const l = P("v-text-field"), d = se("ripple");
1655
- return W((E(), F(l, {
1656
- modelValue: n.value,
1657
- "onUpdate:modelValue": i[0] || (i[0] = (u) => n.value = u),
1658
- density: "compact",
1659
- "append-inner-icon": s.hasDelete ? H(cn) : "",
1660
- "hide-details": "",
1661
- "single-line": "",
1662
- readonly: s.readonly,
1663
- "onClick:appendInner": i[1] || (i[1] = (u) => r("delete"))
1664
- }, null, 8, ["modelValue", "append-inner-icon", "readonly"])), [
1665
- [
1666
- d,
1667
- void 0,
1668
- void 0,
1669
- { stop: !0 }
1670
- ]
1259
+ const n = de(e, "modelValue"), r = t;
1260
+ return (s, a) => {
1261
+ const d = P("v-text-field"), f = P("v-icon"), p = fe("ripple");
1262
+ return C(), W("div", Wl, [
1263
+ k(M(d, {
1264
+ modelValue: n.value,
1265
+ "onUpdate:modelValue": a[0] || (a[0] = (c) => n.value = c),
1266
+ density: "compact",
1267
+ "hide-details": "",
1268
+ "single-line": "",
1269
+ readonly: s.readonly
1270
+ }, null, 8, ["modelValue", "readonly"]), [
1271
+ [
1272
+ p,
1273
+ void 0,
1274
+ void 0,
1275
+ { stop: !0 }
1276
+ ]
1277
+ ]),
1278
+ s.hasDelete ? (C(), U(f, {
1279
+ key: 0,
1280
+ class: "mx-2",
1281
+ icon: N(ae),
1282
+ onClick: a[1] || (a[1] = j((c) => r("delete"), ["stop"]))
1283
+ }, null, 8, ["icon"])) : Z("", !0)
1671
1284
  ]);
1672
1285
  };
1673
1286
  }
1674
- }), rl = /* @__PURE__ */ L({
1287
+ }), Jl = { class: "d-flex justify-space-between align-center" }, Ql = /* @__PURE__ */ H({
1675
1288
  __name: "switch",
1676
- props: /* @__PURE__ */ K({
1289
+ props: /* @__PURE__ */ F({
1290
+ hasDelete: { type: Boolean, default: !1 },
1677
1291
  readonly: { type: Boolean, default: !1 }
1678
1292
  }, {
1679
1293
  modelValue: { type: Boolean },
1680
1294
  modelModifiers: {}
1681
1295
  }),
1682
- emits: ["update:modelValue"],
1683
- setup(e) {
1684
- const t = oe(e, "modelValue");
1685
- return (n, r) => {
1686
- const s = P("v-switch");
1687
- return E(), F(s, {
1688
- modelValue: t.value,
1689
- "onUpdate:modelValue": r[0] || (r[0] = (i) => t.value = i),
1690
- class: "ml-1",
1691
- density: "compact",
1692
- color: "primary",
1693
- "hide-details": "",
1694
- readonly: n.readonly
1695
- }, null, 8, ["modelValue", "readonly"]);
1296
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1297
+ setup(e, { emit: t }) {
1298
+ const n = de(e, "modelValue"), r = t;
1299
+ return (s, a) => {
1300
+ const d = P("v-switch"), f = P("v-icon");
1301
+ return C(), W("div", Jl, [
1302
+ M(d, {
1303
+ modelValue: n.value,
1304
+ "onUpdate:modelValue": a[0] || (a[0] = (p) => n.value = p),
1305
+ class: "ml-1",
1306
+ density: "compact",
1307
+ color: "primary",
1308
+ "hide-details": "",
1309
+ readonly: s.readonly
1310
+ }, null, 8, ["modelValue", "readonly"]),
1311
+ s.hasDelete ? (C(), U(f, {
1312
+ key: 0,
1313
+ class: "mx-2",
1314
+ icon: N(ae),
1315
+ onClick: a[1] || (a[1] = j((p) => r("delete"), ["stop"]))
1316
+ }, null, 8, ["icon"])) : Z("", !0)
1317
+ ]);
1696
1318
  };
1697
1319
  }
1698
- });
1699
- function rn(e, t) {
1700
- let n = e;
1701
- return t.forEach((r) => {
1702
- n[r] || (n[r] = {}), n = n[r];
1703
- }), n.collapse === void 0 && (n.collapse = !0), n.collapse;
1704
- }
1705
- function al(e, t, n) {
1706
- let r = e;
1707
- t.forEach((s) => {
1708
- r[s] || (r[s] = {}), r = r[s];
1709
- }), r.collapse = n;
1710
- }
1711
- const il = /* @__PURE__ */ L({
1320
+ }), kl = /* @__PURE__ */ H({
1712
1321
  __name: "index",
1713
1322
  props: {
1714
1323
  unique: {},
@@ -1717,231 +1326,300 @@ const il = /* @__PURE__ */ L({
1717
1326
  },
1718
1327
  emits: ["change"],
1719
1328
  setup(e, { emit: t }) {
1720
- const { t: n } = ot(), { backgroundColor1: r, backgroundColor2: s } = lt(), i = e, l = t, d = k("20px"), u = k("56px"), c = k("200px"), y = an({}), g = (m, a) => {
1721
- b(), l("change", m, a);
1722
- }, p = k({}), b = () => {
1723
- if (!i.config || !i.object) {
1724
- p.value = {};
1725
- return;
1726
- }
1727
- const m = (o, f, O, M) => {
1728
- if (o = Dt(o), o.push(f.key), M[f.key] || (M[f.key] = {}), f.ui) {
1729
- if (Se(o, ["basic", "id"]) || Se(o, ["basic", "name"]))
1730
- return !1;
1731
- const x = !Se(f.default, O[f.key]);
1732
- return M[f.key].__change__ = x, x;
1733
- } else if (f.array) {
1734
- const x = !Se(f.default, O[f.key]);
1735
- return M[f.key].__change__ = x, x;
1736
- } else {
1737
- O[f.key] || (O[f.key] = {});
1738
- let x = !1;
1739
- return f.children.forEach((S) => {
1740
- m(o, S, O[f.key], M[f.key]) && (x = !0);
1741
- }), M[f.key].__change__ = x, x;
1742
- }
1743
- }, a = {};
1744
- i.config.forEach((o) => {
1745
- m([], o, i.object, a);
1746
- }), p.value = a;
1747
- };
1748
- Ke(
1749
- [() => i.config, () => i.object],
1329
+ const { t: n } = Qe(), { backgroundColor1: r } = ke(), s = e, a = t, d = R("20px"), f = R("56px"), p = R("200px"), c = An({}), g = R({});
1330
+ qe(
1331
+ [() => s.config, () => s.object],
1750
1332
  () => {
1751
- b();
1333
+ g.value = Ut(
1334
+ s.config,
1335
+ s.object,
1336
+ (u, i) => {
1337
+ a("change", u, i);
1338
+ }
1339
+ );
1752
1340
  },
1753
1341
  { immediate: !0 }
1754
1342
  );
1755
- const h = (m) => {
1756
- let a = p.value;
1757
- return m.forEach((o) => {
1758
- if (a = a[o], !a)
1759
- return console.assert(!1, "isPropChanged unpkg failed"), !1;
1760
- }), a.__change__ ?? !1;
1761
- }, T = (m, a, o) => {
1762
- let f = n(a.name);
1763
- return h(m) && (f += " *"), v(
1764
- Yo,
1343
+ const h = (u) => {
1344
+ let i, l = g.value;
1345
+ return u.forEach((o) => {
1346
+ let v;
1347
+ if (typeof o == "string" ? ot(l) && (v = l[o]) : Ue(l) && (v = l[o]), !v)
1348
+ return console.assert(!1, `isPropChanged unpkg failed keys=${u}`), !1;
1349
+ i = v, l = v.children;
1350
+ }), (i == null ? void 0 : i.change) ?? !1;
1351
+ }, y = (u, i) => {
1352
+ g.value = Ut(s.config, s.object), a("change", u, i);
1353
+ }, T = (u, i, l) => {
1354
+ let o = n(i.name);
1355
+ return h(u) && (o += " *"), _(
1356
+ Vl,
1765
1357
  {
1766
- minHeight: u.value
1358
+ minHeight: f.value
1767
1359
  },
1768
1360
  () => [
1769
- v("span", { class: "ml-1", innerHTML: f }),
1770
- v("div", { style: { width: c.value } }, o)
1361
+ _("span", { class: "ml-1", innerHTML: o }),
1362
+ _("div", { style: { width: p.value } }, l)
1771
1363
  ]
1772
1364
  );
1773
- }, C = (m, a, o) => {
1774
- if (a.ui !== "dummy")
1775
- return console.assert(!1), v("div", "renderUiDummy prop ui must be dummy");
1776
- o[a.key] === void 0 && (o[a.key] = j(a), g(m, o[a.key]));
1777
- }, w = (m, a, o) => a.ui !== "strInput" ? (console.assert(!1), v("div", "renderUiDummy prop ui must be strInput")) : v(nn, {
1778
- modelValue: a.static ? a.value : (typeof o[a.key] != "string" && (o[a.key] = j(a), g(m, o[a.key])), o[a.key]),
1779
- "onUpdate:modelValue": (f) => {
1780
- a.static || f !== o[a.key] && (o[a.key] = f, g(m, o[a.key]));
1365
+ }, $ = (u, i, l, o, v) => {
1366
+ if (i.ui !== "dummy")
1367
+ return console.assert(!1), _("div", "renderUiDummy prop ui must be dummy");
1368
+ if (o !== void 0 && !v) {
1369
+ const m = L(i, !0);
1370
+ typeof l[o] != typeof m && (l[o] = m, y(u, l[o]));
1371
+ } else {
1372
+ const m = L(i);
1373
+ typeof l[i.key] != typeof m && (l[i.key] = m, y(u, l[i.key]));
1374
+ }
1375
+ }, b = (u, i, l, o, v) => i.ui !== "strInput" ? (console.assert(!1), _("div", "renderUiStrInput prop ui must be strInput")) : _(Il, {
1376
+ modelValue: i.static ? i.value : se(u, i, l, o, v),
1377
+ "onUpdate:modelValue": (m) => {
1378
+ i.static || ue(u, i, l, m, o, v);
1379
+ },
1380
+ hasDelete: o !== void 0 && !v,
1381
+ onDelete: () => {
1382
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1781
1383
  },
1782
- readonly: a.static || a.readonly
1783
- }), B = (m, a, o) => a.ui !== "numInput" ? (console.assert(!1), v("div", "renderUiNumInput prop ui must be numInput")) : v(tl, {
1784
- modelValue: (typeof o[a.key] != "number" && (o[a.key] = j(a), g(m, o[a.key])), o[a.key]),
1785
- "onUpdate:modelValue": (f) => {
1786
- f !== o[a.key] && (o[a.key] = f, g(m, o[a.key]));
1384
+ readonly: i.static || i.readonly
1385
+ }), V = (u, i, l, o, v) => i.ui !== "numInput" ? (console.assert(!1), _("div", "renderUiNumInput prop ui must be numInput")) : _(Xl, {
1386
+ modelValue: se(u, i, l, o, v),
1387
+ "onUpdate:modelValue": (m) => {
1388
+ ue(u, i, l, m, o, v);
1787
1389
  },
1788
- readonly: a.readonly
1789
- }), Te = (m, a, o) => a.ui !== "switch" ? (console.assert(!1), v("div", "renderUiSwitch prop ui must be switch")) : v(rl, {
1790
- modelValue: (typeof o[a.key] != "boolean" && (o[a.key] = j(a), g(m, o[a.key])), o[a.key]),
1791
- "onUpdate:modelValue": (f) => {
1792
- f !== o[a.key] && (o[a.key] = f, g(m, o[a.key]));
1390
+ hasDelete: o !== void 0 && !v,
1391
+ onDelete: () => {
1392
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1793
1393
  },
1794
- readonly: a.readonly
1795
- }), ee = (m, a, o) => a.ui !== "select" ? (console.assert(!1), v("div", "renderUiSelect prop ui must be select")) : v(nl, {
1796
- modelValue: (typeof o[a.key] != "string" && (o[a.key] = j(a), g(m, o[a.key])), o[a.key]),
1797
- "onUpdate:modelValue": (f) => {
1798
- f !== o[a.key] && (o[a.key] = f, g(m, o[a.key]));
1394
+ readonly: i.readonly
1395
+ }), E = (u, i, l, o, v) => i.ui !== "switch" ? (console.assert(!1), _("div", "renderUiSwitch prop ui must be switch")) : _(Ql, {
1396
+ modelValue: se(u, i, l, o, v),
1397
+ "onUpdate:modelValue": (m) => {
1398
+ ue(u, i, l, m, o, v);
1399
+ },
1400
+ hasDelete: o !== void 0 && !v,
1401
+ onDelete: () => {
1402
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, 1), l));
1403
+ },
1404
+ readonly: i.readonly
1405
+ }), z = (u, i, l, o, v) => i.ui !== "select" ? (console.assert(!1), _("div", "renderUiSelect prop ui must be select")) : _(Zl, {
1406
+ modelValue: se(u, i, l, o, v),
1407
+ "onUpdate:modelValue": (m) => {
1408
+ ue(u, i, l, m, o, v);
1409
+ },
1410
+ hasDelete: o !== void 0 && !v,
1411
+ onDelete: () => {
1412
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1799
1413
  },
1800
1414
  items: (() => {
1801
- const f = [];
1802
- return a.items.forEach(({ title: O, value: M }) => {
1803
- f.push({
1415
+ const m = [];
1416
+ return i.items.forEach(({ title: O, value: q }) => {
1417
+ m.push({
1804
1418
  title: n(O),
1805
- value: M
1419
+ value: q
1806
1420
  });
1807
- }), f;
1421
+ }), m;
1808
1422
  })(),
1809
- readonly: a.readonly
1810
- }), te = (m, a, o) => a.ui !== "colorPicker" ? (console.assert(!1), v("div", "renderUiColorPicker prop ui must be colorPicker")) : v(Zo, {
1811
- modelValue: (typeof o[a.key] != "string" && (o[a.key] = j(a), g(m, o[a.key])), o[a.key]),
1812
- "onUpdate:modelValue": (f) => {
1813
- f !== o[a.key] && (o[a.key] = f, g(m, o[a.key]));
1423
+ readonly: i.readonly
1424
+ }), be = (u, i, l, o, v) => i.ui !== "colorPicker" ? (console.assert(!1), _("div", "renderUiColorPicker prop ui must be colorPicker")) : _(jl, {
1425
+ modelValue: se(u, i, l, o, v),
1426
+ "onUpdate:modelValue": (m) => {
1427
+ ue(u, i, l, m, o, v);
1814
1428
  },
1815
- readonly: a.readonly
1816
- }), zn = (m, a, o) => a.ui !== "multiTypes" ? (console.assert(!1), v("div", "renderUiMultiTypes prop ui must be multiTypes")) : v(el, {
1817
- modelValue: (typeof o[a.key] != "string" && (o[a.key] = j(a), g(m, o[a.key])), o[a.key]),
1818
- "onUpdate:modelValue": (f) => {
1819
- f !== o[a.key] && (o[a.key] = f, g(m, o[a.key]));
1429
+ hasDelete: o !== void 0 && !v,
1430
+ onDelete: () => {
1431
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1820
1432
  },
1821
- types: a.types
1822
- }), Hn = (m, a, o) => a.ui !== "compSelect" ? (console.assert(!1), v("div", "renderUiCompSelect prop ui must be compSelect")) : (console.assert(m, o), v(Jo, {})), Fe = (m, a, o, f) => (m = Dt(m), m.push(a.key), a.ui ? a.array ? Kn(m, a, o) : qn(m, a, o) : a.array ? Gn(m, a, o, f) : Wn(m, a, o, f)), Gn = (m, a, o, f) => {
1823
- if (a.ui)
1824
- return console.assert(!1), v("div", "renderBranchArray prop ui must be invalid");
1825
- if (!a.array)
1826
- return console.assert(!1), v("div", "renderBranchArray prop array must be valid");
1827
- o[a.key] instanceof Array || (o[a.key] = j(a), g(m, o[a.key]));
1828
- let O = n(a.name);
1829
- h(m) && (O += " *");
1830
- const M = v(Ge, {
1831
- title: O,
1832
- collapse: (typeof f.collapse != "boolean" && (f.collapse = !0), f.collapse),
1433
+ readonly: i.readonly
1434
+ }), le = (u, i, l, o, v) => i.ui !== "multiTypes" ? (console.assert(!1), _("div", "renderUiMultiTypes prop ui must be multiTypes")) : _(ql, {
1435
+ modelValue: se(u, i, l, o, v),
1436
+ "onUpdate:modelValue": (m) => {
1437
+ ue(u, i, l, m, o, v);
1438
+ },
1439
+ hasDelete: o !== void 0 && !v,
1440
+ onDelete: () => {
1441
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1442
+ },
1443
+ types: i.types
1444
+ }), oe = (u, i, l, o, v) => i.ui !== "compSelect" ? (console.assert(!1), _("div", "renderUiCompSelect prop ui must be compSelect")) : (console.log(u, i, l, o, v), _(Gl, {})), se = (u, i, l, o, v) => {
1445
+ const m = L(i, !0);
1446
+ return o !== void 0 && !v ? (typeof l[o] != typeof m && (l[o] = m, y(u, l[o])), l[o]) : (typeof l[i.key] != typeof m && (l[i.key] = m, y(u, l[i.key])), l[i.key]);
1447
+ }, ue = (u, i, l, o, v, m) => {
1448
+ const O = L(i, !0);
1449
+ if (typeof o != typeof O) {
1450
+ console.assert(!1);
1451
+ return;
1452
+ }
1453
+ v !== void 0 && !m ? o !== l[v] && (l[v] = o, y(u, l[v])) : o !== l[i.key] && (l[i.key] = o, y(u, l[i.key]));
1454
+ }, Ae = (u, i, l, o, v, m) => (u = un(u), v !== void 0 ? (u.push(v), m && u.push(i.key)) : u.push(i.key), i.ui ? i.array && v === void 0 ? vn(u, i, l, o, v, m) : mn(u, i, l, v, m) : i.array ? dn(u, i, l, o, v, m) : pn(
1455
+ u,
1456
+ i,
1457
+ l,
1458
+ o,
1459
+ v,
1460
+ m
1461
+ )), dn = (u, i, l, o, v, m) => {
1462
+ if (i.ui)
1463
+ return console.assert(!1), _("div", "renderBranchArray prop ui must be invalid");
1464
+ if (!i.array)
1465
+ return console.assert(!1), _("div", "renderBranchArray prop array must be valid");
1466
+ if (!o)
1467
+ return console.assert(!1), _("div", "renderBranchArray branch must be valid");
1468
+ let O;
1469
+ v !== void 0 && !m ? (l[v] instanceof Array || (l[v] = L(i), y(u, l[i.key])), O = l[v]) : (l[i.key] instanceof Array || (l[i.key] = L(i), y(u, l[i.key])), O = l[i.key]);
1470
+ let q = n(i.name);
1471
+ h(u) && (q += " *");
1472
+ const pe = _(Oe, {
1473
+ title: q,
1474
+ collapse: o.collapse,
1833
1475
  hasCreate: !0,
1834
- onCollapse: (S) => {
1835
- f.collapse = S;
1476
+ onCollapse: (w) => {
1477
+ o.collapse = w;
1836
1478
  },
1837
1479
  onCreate: () => {
1838
- o[a.key].push({}), g(m, o[a.key]);
1480
+ O.push({}), y(u, O);
1839
1481
  }
1840
- }), x = v(
1482
+ }), x = _(
1841
1483
  "div",
1842
1484
  {
1843
1485
  style: {
1844
- background: r.value,
1845
1486
  paddingLeft: d.value
1846
1487
  }
1847
1488
  },
1848
1489
  (() => {
1849
- const S = [];
1850
- f[a.key] instanceof Array || (f[a.key] = []);
1851
- for (let V = 0; V < o[a.key].length; V++) {
1852
- typeof f[a.key][V] != "object" && (f[a.key][V] = {
1853
- collapse: !0
1490
+ const w = [];
1491
+ for (let D = 0; D < O.length; D++) {
1492
+ if (!Ce(o.children)) {
1493
+ console.assert(!1);
1494
+ break;
1495
+ }
1496
+ o.children[D] || o.children.push({
1497
+ collapse: !0,
1498
+ children: {}
1854
1499
  });
1855
- const Ue = v(Ge, {
1856
- title: n("x-prop-tree.entry"),
1857
- collapse: f[a.key][V].collapse,
1500
+ let we = n("x-prop-tree.entry");
1501
+ h([...u, D]) && (we += " *");
1502
+ const yn = _(Oe, {
1503
+ title: we,
1504
+ collapse: o.children[D].collapse,
1858
1505
  hasDelete: !0,
1859
- index: V,
1860
- onCollapse: (ne) => {
1861
- f[a.key][V].collapse = ne;
1506
+ index: D,
1507
+ onCollapse: (Q) => {
1508
+ if (!Ce(o.children)) {
1509
+ console.assert(!1);
1510
+ return;
1511
+ }
1512
+ o.children[D].collapse = Q;
1862
1513
  },
1863
- onDelete: (ne) => {
1864
- o[a.key].splice(ne, 1), g(m, o[a.key]);
1514
+ onDelete: (Q) => {
1515
+ if (!Ce(o.children)) {
1516
+ console.assert(!1);
1517
+ return;
1518
+ }
1519
+ o.children.splice(Q, 1), O.splice(Q, 1), y(u, O);
1865
1520
  }
1866
1521
  });
1867
- S.push(Ue);
1868
- const Xn = v(
1522
+ w.push(yn);
1523
+ const _n = _(
1869
1524
  "div",
1870
1525
  {
1871
1526
  style: {
1872
- background: r.value,
1873
1527
  paddingLeft: d.value
1874
1528
  }
1875
1529
  },
1876
1530
  (() => {
1877
- const ne = [];
1878
- for (let $e = 0; $e < a.children.length; $e++) {
1879
- const je = a.children[$e].key;
1880
- typeof f[a.key][V][je] != "object" && (f[a.key][V][je] = { collapse: !0 });
1881
- const Zn = Fe(
1882
- m,
1883
- a.children[$e],
1884
- o[a.key][V],
1885
- f[a.key][V][je]
1531
+ const Q = [];
1532
+ return i.children.forEach((ve) => {
1533
+ if (!Ce(o.children)) {
1534
+ console.assert(!1);
1535
+ return;
1536
+ }
1537
+ const Se = o.children[D];
1538
+ if (!Mt(Se.children)) {
1539
+ console.assert(!1);
1540
+ return;
1541
+ }
1542
+ Se.children[ve.key] || (Se.children[ve.key] = {
1543
+ collapse: !0,
1544
+ children: ve.array ? [] : {}
1545
+ });
1546
+ const hn = Ae(
1547
+ u,
1548
+ ve,
1549
+ O[D],
1550
+ Se.children[ve.key],
1551
+ D,
1552
+ !0
1886
1553
  );
1887
- ne.push(Zn);
1888
- }
1889
- return ne;
1554
+ Q.push(hn);
1555
+ }), Q;
1890
1556
  })()
1891
1557
  );
1892
- f[a.key][V].collapse || S.push(Xn);
1558
+ o.children[D].collapse || w.push(_n);
1893
1559
  }
1894
- return S;
1560
+ return w;
1895
1561
  })()
1896
1562
  );
1897
- return v(
1563
+ return _(
1898
1564
  "div",
1899
1565
  {
1900
1566
  style: {
1901
- background: s.value,
1902
1567
  marginBottom: "1px"
1903
1568
  }
1904
1569
  },
1905
1570
  (() => {
1906
- const S = [];
1907
- return S.push(M), f.collapse || S.push(x), S;
1571
+ const w = [];
1572
+ return w.push(pe), o.collapse || w.push(x), w;
1908
1573
  })()
1909
1574
  );
1910
- }, Wn = (m, a, o, f) => {
1911
- if (a.ui)
1912
- return console.assert(!1), v("div", "renderBranchScalar prop ui must be invalid");
1913
- if (a.array)
1914
- return console.assert(!1), v("div", "renderBranchScalar prop array must be invalid");
1915
- let O = n(a.name);
1916
- h(m) && (O += " *");
1917
- const M = v(Ge, {
1575
+ }, pn = (u, i, l, o, v, m) => {
1576
+ if (i.ui)
1577
+ return console.assert(!1), _("div", "renderBranchScalar prop ui must be invalid");
1578
+ if (i.array)
1579
+ return console.assert(!1), _("div", "renderBranchScalar prop array must be invalid");
1580
+ if (!o)
1581
+ return console.assert(!1), _("div", "renderBranchScalar branch must be valid");
1582
+ let O = n(i.name);
1583
+ h(u) && (O += " *");
1584
+ const q = _(Oe, {
1918
1585
  title: O,
1919
- collapse: rn(f, m),
1920
- onCollapse: (S) => {
1921
- al(f, m, S);
1586
+ collapse: o.collapse,
1587
+ onCollapse: (x) => {
1588
+ o.collapse = x;
1589
+ },
1590
+ hasDelete: v !== void 0 && !m,
1591
+ onDelete: () => {
1592
+ v === void 0 || m || (l.splice(v, 1), y(u.slice(0, -1), l));
1922
1593
  }
1923
- }), x = v(
1594
+ }), pe = _(
1924
1595
  "div",
1925
1596
  {
1926
1597
  style: {
1927
- background: r.value,
1928
1598
  paddingLeft: d.value
1929
1599
  }
1930
1600
  },
1931
1601
  (() => {
1932
- const S = [];
1933
- return a.children.forEach((V) => {
1934
- const Ue = Fe(
1935
- m,
1936
- V,
1937
- (typeof o[a.key] != "object" && (o[a.key] = {}, g(m, o[a.key])), o[a.key]),
1938
- f
1602
+ const x = [];
1603
+ return i.children.forEach((w) => {
1604
+ if (!Mt(o.children)) {
1605
+ console.assert(!1);
1606
+ return;
1607
+ }
1608
+ o.children[w.key] || (o.children[w.key] = {
1609
+ collapse: !0,
1610
+ children: !w.ui && w.array ? [] : {}
1611
+ });
1612
+ const D = Ae(
1613
+ u,
1614
+ w,
1615
+ (typeof l[i.key] != "object" && (l[i.key] = {}, y(u, l[i.key])), l[i.key]),
1616
+ o.children[w.key]
1939
1617
  );
1940
- S.push(Ue);
1941
- }), S;
1618
+ x.push(D);
1619
+ }), x;
1942
1620
  })()
1943
1621
  );
1944
- return v(
1622
+ return _(
1945
1623
  "div",
1946
1624
  {
1947
1625
  style: {
@@ -1949,97 +1627,114 @@ const il = /* @__PURE__ */ L({
1949
1627
  }
1950
1628
  },
1951
1629
  (() => {
1952
- const S = [];
1953
- return S.push(M), rn(f, m) || S.push(x), S;
1630
+ const x = [];
1631
+ return x.push(q), o.collapse || x.push(pe), x;
1954
1632
  })()
1955
1633
  );
1956
- }, Kn = (m, a, o) => {
1957
- if (!a.ui)
1958
- return console.assert(!1), v("div", "renderLeafArray prop ui must be valid");
1959
- if (!a.array)
1960
- return console.assert(!1), v("div", "renderLeafArray prop array must be valid");
1961
- o[a.key] instanceof Array || (o[a.key] = j(a), g(m, o[a.key]));
1962
- let f = () => [];
1963
- return a.ui === "strInput" ? f = () => {
1964
- const O = [];
1965
- for (let x = 0; x < o[a.key].length; x++) {
1966
- const S = v(
1967
- "div",
1968
- {
1969
- class: "d-flex align-center justify-center",
1970
- style: {
1971
- height: u.value
1972
- }
1973
- },
1974
- [
1975
- v(nn, {
1976
- modelValue: o[a.key][x],
1977
- "onUpdate:modelValue": (V) => {
1978
- o[a.key][x] = V, g(m, o[a.key]);
1979
- },
1980
- hasDelete: !0,
1981
- onDelete: () => {
1982
- o[a.key].splice(x, 1), g(m, o[a.key]);
1983
- }
1984
- })
1985
- ]
1986
- );
1987
- O.push(S);
1634
+ }, vn = (u, i, l, o, v, m) => {
1635
+ if (!i.ui)
1636
+ return console.assert(!1), _("div", "renderLeafArray prop ui must be valid");
1637
+ if (!i.array)
1638
+ return console.assert(!1), _("div", "renderLeafArray prop array must be valid");
1639
+ if (!o)
1640
+ return console.assert(!1), _("div", "renderLeafArray branch must be valid");
1641
+ let O;
1642
+ v !== void 0 && !m ? (l[v] instanceof Array || (l[v] = L(i), y(u, l[v])), O = l[v]) : (l[i.key] instanceof Array || (l[i.key] = L(i), y(u, l[i.key])), O = l[i.key]);
1643
+ let q = n(i.name);
1644
+ h(u) && (q += " *");
1645
+ const pe = _(Oe, {
1646
+ title: q,
1647
+ collapse: o.collapse,
1648
+ hasCreate: !0,
1649
+ onCollapse: (w) => {
1650
+ o.collapse = w;
1651
+ },
1652
+ onCreate: () => {
1653
+ O.push(L(i, !0)), y(u, O);
1988
1654
  }
1989
- const M = v(
1990
- "div",
1991
- {
1992
- class: "d-flex align-center justify-center",
1993
- style: {
1994
- backgroundColor: "transparent",
1995
- width: "100%",
1996
- height: "40px",
1997
- marginTop: "8px",
1998
- marginBottom: "8px",
1999
- borderRadius: "5px",
2000
- border: "thin dashed #bdbdbd"
2001
- },
2002
- onClick: () => {
2003
- o[a.key].push(""), g(m, o[a.key]);
2004
- }
2005
- },
2006
- [v(qo, { icon: fn })]
2007
- );
2008
- return O.push(M), O;
2009
- } : console.assert(!1, "renderLeafArray not implemented"), T(m, a, f());
2010
- }, qn = (m, a, o) => {
2011
- if (!a.ui)
2012
- return console.assert(!1), v("div", "renderLeafScalar prop ui must be valid");
2013
- if (a.array)
2014
- return console.assert(!1), v("div", "renderLeafScalar prop array must be invalid");
2015
- let f;
2016
- return a.ui === "dummy" ? f = C(m, a, o) : a.ui === "strInput" ? f = w(m, a, o) : a.ui === "numInput" ? f = B(m, a, o) : a.ui === "switch" ? f = Te(m, a, o) : a.ui === "select" ? f = ee(m, a, o) : a.ui === "colorPicker" ? f = te(m, a, o) : a.ui === "multiTypes" ? f = zn(m, a, o) : a.ui === "compSelect" ? f = Hn(m, a, o) : console.assert(!1, "renderLeafScalar not implemented"), T(m, a, f ? [f] : []);
2017
- }, Yn = () => v(
1655
+ }), x = _(
1656
+ "div",
1657
+ {
1658
+ style: {
1659
+ paddingLeft: d.value
1660
+ }
1661
+ },
1662
+ (() => {
1663
+ const w = [];
1664
+ for (let D = 0; D < O.length; D++) {
1665
+ const we = Ae(u, i, O, void 0, D, !1);
1666
+ w.push(we);
1667
+ }
1668
+ return w;
1669
+ })()
1670
+ );
1671
+ return _(
1672
+ "div",
1673
+ {
1674
+ style: {
1675
+ marginBottom: "1px"
1676
+ }
1677
+ },
1678
+ (() => {
1679
+ const w = [];
1680
+ return w.push(pe), o.collapse || w.push(x), w;
1681
+ })()
1682
+ );
1683
+ }, mn = (u, i, l, o, v) => {
1684
+ if (!i.ui)
1685
+ return console.assert(!1), _("div", "renderLeafScalar prop ui must be valid");
1686
+ let m;
1687
+ return i.ui === "dummy" ? m = $(u, i, l, o, v) : i.ui === "strInput" ? m = b(u, i, l, o, v) : i.ui === "numInput" ? m = V(u, i, l, o, v) : i.ui === "switch" ? m = E(u, i, l, o, v) : i.ui === "select" ? m = z(u, i, l, o, v) : i.ui === "colorPicker" ? m = be(u, i, l, o, v) : i.ui === "multiTypes" ? m = le(u, i, l, o, v) : i.ui === "compSelect" ? m = oe(u, i, l, o, v) : console.assert(!1, "renderLeafScalar not implemented"), T(u, i, m ? [m] : []);
1688
+ }, gn = () => _(
2018
1689
  "div",
2019
1690
  {
2020
- class: "text-body-2"
1691
+ class: "text-body-2",
1692
+ style: {
1693
+ background: r.value
1694
+ }
2021
1695
  },
2022
1696
  (() => {
2023
- const m = [];
2024
- if (i.unique && i.config && i.object) {
2025
- y[i.unique] || (y[i.unique] = {});
2026
- const a = y[i.unique];
2027
- i.config.forEach((o) => {
2028
- const f = Fe([], o, i.object, a);
2029
- m.push(f);
1697
+ const u = [];
1698
+ if (s.unique && s.config.length > 0 && s.object) {
1699
+ c[s.unique] || (c[s.unique] = {});
1700
+ const i = c[s.unique];
1701
+ s.config.forEach((l) => {
1702
+ i[l.key] || (i[l.key] = {
1703
+ collapse: !0,
1704
+ children: !l.ui && l.array ? [] : {}
1705
+ });
1706
+ const o = Ae([], l, s.object, i[l.key]);
1707
+ u.push(o);
2030
1708
  });
2031
1709
  }
2032
- return m;
1710
+ return u;
2033
1711
  })()
2034
1712
  );
2035
- return (m, a) => (E(), pe(tt, null, [
2036
- A(Yn),
2037
- A(Xo)
1713
+ return (u, i) => (C(), W(Nt, null, [
1714
+ M(gn),
1715
+ M(El)
2038
1716
  ], 64));
2039
1717
  }
2040
- }), sl = (e) => {
2041
- e.component("XPropTree", il);
2042
- }, fl = { install: sl };
1718
+ }), eo = (e) => {
1719
+ e.component("XPropTree", kl);
1720
+ }, to = (e, t, n) => {
1721
+ const r = e[t];
1722
+ return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((s, a) => {
1723
+ (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
1724
+ a.bind(
1725
+ null,
1726
+ new Error(
1727
+ "Unknown variable dynamic import: " + t + (t.split("/").length !== n ? ". Note that variables only represent file names one level deep." : "")
1728
+ )
1729
+ )
1730
+ );
1731
+ });
1732
+ };
1733
+ async function lo(e) {
1734
+ return (await to(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-g17k76yy.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-f1nv26or.js") }), `./locales/${e}/index.ts`, 4)).default;
1735
+ }
1736
+ const oo = { install: eo };
2043
1737
  export {
2044
- fl as default
1738
+ oo as default,
1739
+ lo as loadLocaleMessagePropTree
2045
1740
  };