x-prop-tree 0.5.13 → 0.5.15

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.
Files changed (2) hide show
  1. package/dist/index.js +799 -796
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,29 +1,29 @@
1
- import { provide as Me, inject as Ve, defineComponent as K, ref as R, computed as G, resolveComponent as M, openBlock as A, createBlock as F, unref as j, isRef as nt, withCtx as Y, createVNode as B, createElementBlock as k, Fragment as He, renderList as qt, createTextVNode as at, toDisplayString as re, resolveDirective as ue, withDirectives as oe, normalizeStyle as se, withModifiers as z, createElementVNode as q, createCommentVNode as I, renderSlot as Bn, h as y, mergeModels as X, useModel as le, useId as Rn, withKeys as Fn, mergeProps as kn, watch as Ce, watchEffect as Hn, reactive as Gn, onMounted as Kn, onBeforeUnmount as zn } from "vue";
2
- import { useI18n as pe } from "vue-i18n";
3
- import { useViewStack as It, useColor as Te, eventBus as te, useSystem as qn } from "x-essential-lib";
4
- import { getPropDefault as N, parsePixelStr as In, parsePercentStr as Xn } from "x-runtime-lib";
5
- import { useDisplay as Zn } from "vuetify";
6
- import { state as Yn } from "x-state-lib";
7
- var Xt = typeof global == "object" && global && global.Object === Object && global, Jn = typeof self == "object" && self && self.Object === Object && self, W = Xt || Jn || Function("return this")(), ae = W.Symbol, Zt = Object.prototype, Wn = Zt.hasOwnProperty, Qn = Zt.toString, Ae = ae ? ae.toStringTag : void 0;
8
- function er(e) {
9
- var t = Wn.call(e, Ae), n = e[Ae];
1
+ import { provide as Me, inject as Ve, defineComponent as K, ref as F, computed as G, resolveComponent as L, openBlock as S, createBlock as R, unref as E, isRef as nt, withCtx as Y, createVNode as B, createElementBlock as k, Fragment as He, renderList as qt, createTextVNode as at, toDisplayString as ne, resolveDirective as ae, withDirectives as re, normalizeStyle as ie, withModifiers as z, createElementVNode as q, createCommentVNode as I, renderSlot as Hn, h, mergeModels as X, useModel as oe, useId as Gn, withKeys as Kn, mergeProps as It, watch as Ce, watchEffect as zn, reactive as qn, onMounted as In, onBeforeUnmount as Xn } from "vue";
2
+ import { useI18n as de } from "vue-i18n";
3
+ import { useViewStack as Xt, useColor as Te, eventBus as _e, useSystem as Zn } from "x-essential-lib";
4
+ import { getPropDefault as N, parsePixelStr as Yn, parsePercentStr as Jn } from "x-runtime-lib";
5
+ import { useDisplay as Wn } from "vuetify";
6
+ import { state as Qn } from "x-state-lib";
7
+ var Zt = typeof global == "object" && global && global.Object === Object && global, er = typeof self == "object" && self && self.Object === Object && self, W = Zt || er || Function("return this")(), se = W.Symbol, Yt = Object.prototype, tr = Yt.hasOwnProperty, nr = Yt.toString, we = se ? se.toStringTag : void 0;
8
+ function rr(e) {
9
+ var t = tr.call(e, we), n = e[we];
10
10
  try {
11
- e[Ae] = void 0;
11
+ e[we] = void 0;
12
12
  var r = !0;
13
13
  } catch {
14
14
  }
15
- var l = Qn.call(e);
16
- return r && (t ? e[Ae] = n : delete e[Ae]), l;
15
+ var l = nr.call(e);
16
+ return r && (t ? e[we] = n : delete e[we]), l;
17
17
  }
18
- var tr = Object.prototype, nr = tr.toString;
19
- function rr(e) {
20
- return nr.call(e);
18
+ var or = Object.prototype, lr = or.toString;
19
+ function ir(e) {
20
+ return lr.call(e);
21
21
  }
22
- var or = "[object Null]", lr = "[object Undefined]", _t = ae ? ae.toStringTag : void 0;
22
+ var sr = "[object Null]", ar = "[object Undefined]", _t = se ? se.toStringTag : void 0;
23
23
  function Ue(e) {
24
- return e == null ? e === void 0 ? lr : or : _t && _t in Object(e) ? er(e) : rr(e);
24
+ return e == null ? e === void 0 ? ar : sr : _t && _t in Object(e) ? rr(e) : ir(e);
25
25
  }
26
- function fe(e) {
26
+ function ce(e) {
27
27
  return e != null && typeof e == "object";
28
28
  }
29
29
  var Oe = Array.isArray;
@@ -31,25 +31,25 @@ function De(e) {
31
31
  var t = typeof e;
32
32
  return e != null && (t == "object" || t == "function");
33
33
  }
34
- var ir = "[object AsyncFunction]", sr = "[object Function]", ar = "[object GeneratorFunction]", ur = "[object Proxy]";
35
- function Yt(e) {
34
+ var ur = "[object AsyncFunction]", cr = "[object Function]", fr = "[object GeneratorFunction]", dr = "[object Proxy]";
35
+ function Jt(e) {
36
36
  if (!De(e))
37
37
  return !1;
38
38
  var t = Ue(e);
39
- return t == sr || t == ar || t == ir || t == ur;
39
+ return t == cr || t == fr || t == ur || t == dr;
40
40
  }
41
41
  var We = W["__core-js_shared__"], bt = function() {
42
42
  var e = /[^.]+$/.exec(We && We.keys && We.keys.IE_PROTO || "");
43
43
  return e ? "Symbol(src)_1." + e : "";
44
44
  }();
45
- function cr(e) {
45
+ function pr(e) {
46
46
  return !!bt && bt in e;
47
47
  }
48
- var fr = Function.prototype, dr = fr.toString;
49
- function ve(e) {
48
+ var vr = Function.prototype, mr = vr.toString;
49
+ function pe(e) {
50
50
  if (e != null) {
51
51
  try {
52
- return dr.call(e);
52
+ return mr.call(e);
53
53
  } catch {
54
54
  }
55
55
  try {
@@ -59,23 +59,23 @@ function ve(e) {
59
59
  }
60
60
  return "";
61
61
  }
62
- var pr = /[\\^$.*+?()[\]{}|]/g, vr = /^\[object .+?Constructor\]$/, mr = Function.prototype, gr = Object.prototype, yr = mr.toString, hr = gr.hasOwnProperty, _r = RegExp(
63
- "^" + yr.call(hr).replace(pr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
62
+ var gr = /[\\^$.*+?()[\]{}|]/g, yr = /^\[object .+?Constructor\]$/, hr = Function.prototype, _r = Object.prototype, br = hr.toString, $r = _r.hasOwnProperty, Tr = RegExp(
63
+ "^" + br.call($r).replace(gr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
64
64
  );
65
- function br(e) {
66
- if (!De(e) || cr(e))
65
+ function Sr(e) {
66
+ if (!De(e) || pr(e))
67
67
  return !1;
68
- var t = Yt(e) ? _r : vr;
69
- return t.test(ve(e));
68
+ var t = Jt(e) ? Tr : yr;
69
+ return t.test(pe(e));
70
70
  }
71
- function $r(e, t) {
71
+ function wr(e, t) {
72
72
  return e == null ? void 0 : e[t];
73
73
  }
74
- function me(e, t) {
75
- var n = $r(e, t);
76
- return br(n) ? n : void 0;
74
+ function ve(e, t) {
75
+ var n = wr(e, t);
76
+ return Sr(n) ? n : void 0;
77
77
  }
78
- var rt = me(W, "WeakMap"), $t = Object.create, Tr = /* @__PURE__ */ function() {
78
+ var rt = ve(W, "WeakMap"), $t = Object.create, Ar = /* @__PURE__ */ function() {
79
79
  function e() {
80
80
  }
81
81
  return function(t) {
@@ -88,7 +88,7 @@ var rt = me(W, "WeakMap"), $t = Object.create, Tr = /* @__PURE__ */ function() {
88
88
  return e.prototype = void 0, n;
89
89
  };
90
90
  }();
91
- function Sr(e, t) {
91
+ function Cr(e, t) {
92
92
  var n = -1, r = e.length;
93
93
  for (t || (t = Array(r)); ++n < r; )
94
94
  t[n] = e[n];
@@ -96,22 +96,22 @@ function Sr(e, t) {
96
96
  }
97
97
  var Tt = function() {
98
98
  try {
99
- var e = me(Object, "defineProperty");
99
+ var e = ve(Object, "defineProperty");
100
100
  return e({}, "", {}), e;
101
101
  } catch {
102
102
  }
103
103
  }();
104
- function Ar(e, t) {
104
+ function Pr(e, t) {
105
105
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
106
106
  ;
107
107
  return e;
108
108
  }
109
- var wr = 9007199254740991, Cr = /^(?:0|[1-9]\d*)$/;
110
- function Pr(e, t) {
109
+ var Or = 9007199254740991, xr = /^(?:0|[1-9]\d*)$/;
110
+ function Lr(e, t) {
111
111
  var n = typeof e;
112
- return t = t ?? wr, !!t && (n == "number" || n != "symbol" && Cr.test(e)) && e > -1 && e % 1 == 0 && e < t;
112
+ return t = t ?? Or, !!t && (n == "number" || n != "symbol" && xr.test(e)) && e > -1 && e % 1 == 0 && e < t;
113
113
  }
114
- function Jt(e, t, n) {
114
+ function Wt(e, t, n) {
115
115
  t == "__proto__" && Tt ? Tt(e, t, {
116
116
  configurable: !0,
117
117
  enumerable: !0,
@@ -122,153 +122,153 @@ function Jt(e, t, n) {
122
122
  function ut(e, t) {
123
123
  return e === t || e !== e && t !== t;
124
124
  }
125
- var Or = Object.prototype, Lr = Or.hasOwnProperty;
126
- function Wt(e, t, n) {
125
+ var Mr = Object.prototype, Vr = Mr.hasOwnProperty;
126
+ function Qt(e, t, n) {
127
127
  var r = e[t];
128
- (!(Lr.call(e, t) && ut(r, n)) || n === void 0 && !(t in e)) && Jt(e, t, n);
128
+ (!(Vr.call(e, t) && ut(r, n)) || n === void 0 && !(t in e)) && Wt(e, t, n);
129
129
  }
130
130
  function qe(e, t, n, r) {
131
131
  var l = !n;
132
132
  n || (n = {});
133
133
  for (var o = -1, i = t.length; ++o < i; ) {
134
134
  var s = t[o], a = void 0;
135
- a === void 0 && (a = e[s]), l ? Jt(n, s, a) : Wt(n, s, a);
135
+ a === void 0 && (a = e[s]), l ? Wt(n, s, a) : Qt(n, s, a);
136
136
  }
137
137
  return n;
138
138
  }
139
- var xr = 9007199254740991;
140
- function Qt(e) {
141
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= xr;
142
- }
139
+ var Ur = 9007199254740991;
143
140
  function en(e) {
144
- return e != null && Qt(e.length) && !Yt(e);
141
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ur;
145
142
  }
146
- var Mr = Object.prototype;
143
+ function tn(e) {
144
+ return e != null && en(e.length) && !Jt(e);
145
+ }
146
+ var Dr = Object.prototype;
147
147
  function ct(e) {
148
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || Mr;
148
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || Dr;
149
149
  return e === n;
150
150
  }
151
- function Vr(e, t) {
151
+ function jr(e, t) {
152
152
  for (var n = -1, r = Array(e); ++n < e; )
153
153
  r[n] = t(n);
154
154
  return r;
155
155
  }
156
- var Ur = "[object Arguments]";
156
+ var Er = "[object Arguments]";
157
157
  function St(e) {
158
- return fe(e) && Ue(e) == Ur;
158
+ return ce(e) && Ue(e) == Er;
159
159
  }
160
- var tn = Object.prototype, Dr = tn.hasOwnProperty, jr = tn.propertyIsEnumerable, Er = St(/* @__PURE__ */ function() {
160
+ var nn = Object.prototype, Nr = nn.hasOwnProperty, Br = nn.propertyIsEnumerable, Fr = St(/* @__PURE__ */ function() {
161
161
  return arguments;
162
162
  }()) ? St : function(e) {
163
- return fe(e) && Dr.call(e, "callee") && !jr.call(e, "callee");
163
+ return ce(e) && Nr.call(e, "callee") && !Br.call(e, "callee");
164
164
  };
165
- function Nr() {
165
+ function Rr() {
166
166
  return !1;
167
167
  }
168
- var nn = typeof exports == "object" && exports && !exports.nodeType && exports, At = nn && typeof module == "object" && module && !module.nodeType && module, Br = At && At.exports === nn, wt = Br ? W.Buffer : void 0, Rr = wt ? wt.isBuffer : void 0, Ge = Rr || Nr, Fr = "[object Arguments]", kr = "[object Array]", Hr = "[object Boolean]", Gr = "[object Date]", Kr = "[object Error]", zr = "[object Function]", qr = "[object Map]", Ir = "[object Number]", Xr = "[object Object]", Zr = "[object RegExp]", Yr = "[object Set]", Jr = "[object String]", Wr = "[object WeakMap]", Qr = "[object ArrayBuffer]", eo = "[object DataView]", to = "[object Float32Array]", no = "[object Float64Array]", ro = "[object Int8Array]", oo = "[object Int16Array]", lo = "[object Int32Array]", io = "[object Uint8Array]", so = "[object Uint8ClampedArray]", ao = "[object Uint16Array]", uo = "[object Uint32Array]", V = {};
169
- V[to] = V[no] = V[ro] = V[oo] = V[lo] = V[io] = V[so] = V[ao] = V[uo] = !0;
170
- V[Fr] = V[kr] = V[Qr] = V[Hr] = V[eo] = V[Gr] = V[Kr] = V[zr] = V[qr] = V[Ir] = V[Xr] = V[Zr] = V[Yr] = V[Jr] = V[Wr] = !1;
171
- function co(e) {
172
- return fe(e) && Qt(e.length) && !!V[Ue(e)];
168
+ var rn = typeof exports == "object" && exports && !exports.nodeType && exports, wt = rn && typeof module == "object" && module && !module.nodeType && module, kr = wt && wt.exports === rn, At = kr ? W.Buffer : void 0, Hr = At ? At.isBuffer : void 0, Ge = Hr || Rr, Gr = "[object Arguments]", Kr = "[object Array]", zr = "[object Boolean]", qr = "[object Date]", Ir = "[object Error]", Xr = "[object Function]", Zr = "[object Map]", Yr = "[object Number]", Jr = "[object Object]", Wr = "[object RegExp]", Qr = "[object Set]", eo = "[object String]", to = "[object WeakMap]", no = "[object ArrayBuffer]", ro = "[object DataView]", oo = "[object Float32Array]", lo = "[object Float64Array]", io = "[object Int8Array]", so = "[object Int16Array]", ao = "[object Int32Array]", uo = "[object Uint8Array]", co = "[object Uint8ClampedArray]", fo = "[object Uint16Array]", po = "[object Uint32Array]", M = {};
169
+ M[oo] = M[lo] = M[io] = M[so] = M[ao] = M[uo] = M[co] = M[fo] = M[po] = !0;
170
+ M[Gr] = M[Kr] = M[no] = M[zr] = M[ro] = M[qr] = M[Ir] = M[Xr] = M[Zr] = M[Yr] = M[Jr] = M[Wr] = M[Qr] = M[eo] = M[to] = !1;
171
+ function vo(e) {
172
+ return ce(e) && en(e.length) && !!M[Ue(e)];
173
173
  }
174
174
  function ft(e) {
175
175
  return function(t) {
176
176
  return e(t);
177
177
  };
178
178
  }
179
- var rn = typeof exports == "object" && exports && !exports.nodeType && exports, Pe = rn && typeof module == "object" && module && !module.nodeType && module, fo = Pe && Pe.exports === rn, Qe = fo && Xt.process, $e = function() {
179
+ var on = typeof exports == "object" && exports && !exports.nodeType && exports, Pe = on && typeof module == "object" && module && !module.nodeType && module, mo = Pe && Pe.exports === on, Qe = mo && Zt.process, $e = function() {
180
180
  try {
181
181
  var e = Pe && Pe.require && Pe.require("util").types;
182
182
  return e || Qe && Qe.binding && Qe.binding("util");
183
183
  } catch {
184
184
  }
185
- }(), Ct = $e && $e.isTypedArray, on = Ct ? ft(Ct) : co, po = Object.prototype, vo = po.hasOwnProperty;
186
- function ln(e, t) {
187
- var n = Oe(e), r = !n && Er(e), l = !n && !r && Ge(e), o = !n && !r && !l && on(e), i = n || r || l || o, s = i ? Vr(e.length, String) : [], a = s.length;
185
+ }(), Ct = $e && $e.isTypedArray, ln = Ct ? ft(Ct) : vo, go = Object.prototype, yo = go.hasOwnProperty;
186
+ function sn(e, t) {
187
+ var n = Oe(e), r = !n && Fr(e), l = !n && !r && Ge(e), o = !n && !r && !l && ln(e), i = n || r || l || o, s = i ? jr(e.length, String) : [], a = s.length;
188
188
  for (var u in e)
189
- (t || vo.call(e, u)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
189
+ (t || yo.call(e, u)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
190
190
  (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
191
191
  l && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
192
192
  o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
193
- Pr(u, a))) && s.push(u);
193
+ Lr(u, a))) && s.push(u);
194
194
  return s;
195
195
  }
196
- function sn(e, t) {
196
+ function an(e, t) {
197
197
  return function(n) {
198
198
  return e(t(n));
199
199
  };
200
200
  }
201
- var mo = sn(Object.keys, Object), go = Object.prototype, yo = go.hasOwnProperty;
202
- function ho(e) {
201
+ var ho = an(Object.keys, Object), _o = Object.prototype, bo = _o.hasOwnProperty;
202
+ function $o(e) {
203
203
  if (!ct(e))
204
- return mo(e);
204
+ return ho(e);
205
205
  var t = [];
206
206
  for (var n in Object(e))
207
- yo.call(e, n) && n != "constructor" && t.push(n);
207
+ bo.call(e, n) && n != "constructor" && t.push(n);
208
208
  return t;
209
209
  }
210
210
  function dt(e) {
211
- return en(e) ? ln(e) : ho(e);
211
+ return tn(e) ? sn(e) : $o(e);
212
212
  }
213
- function _o(e) {
213
+ function To(e) {
214
214
  var t = [];
215
215
  if (e != null)
216
216
  for (var n in Object(e))
217
217
  t.push(n);
218
218
  return t;
219
219
  }
220
- var bo = Object.prototype, $o = bo.hasOwnProperty;
221
- function To(e) {
220
+ var So = Object.prototype, wo = So.hasOwnProperty;
221
+ function Ao(e) {
222
222
  if (!De(e))
223
- return _o(e);
223
+ return To(e);
224
224
  var t = ct(e), n = [];
225
225
  for (var r in e)
226
- r == "constructor" && (t || !$o.call(e, r)) || n.push(r);
226
+ r == "constructor" && (t || !wo.call(e, r)) || n.push(r);
227
227
  return n;
228
228
  }
229
229
  function pt(e) {
230
- return en(e) ? ln(e, !0) : To(e);
230
+ return tn(e) ? sn(e, !0) : Ao(e);
231
231
  }
232
- var Le = me(Object, "create");
233
- function So() {
234
- this.__data__ = Le ? Le(null) : {}, this.size = 0;
232
+ var xe = ve(Object, "create");
233
+ function Co() {
234
+ this.__data__ = xe ? xe(null) : {}, this.size = 0;
235
235
  }
236
- function Ao(e) {
236
+ function Po(e) {
237
237
  var t = this.has(e) && delete this.__data__[e];
238
238
  return this.size -= t ? 1 : 0, t;
239
239
  }
240
- var wo = "__lodash_hash_undefined__", Co = Object.prototype, Po = Co.hasOwnProperty;
241
- function Oo(e) {
240
+ var Oo = "__lodash_hash_undefined__", xo = Object.prototype, Lo = xo.hasOwnProperty;
241
+ function Mo(e) {
242
242
  var t = this.__data__;
243
- if (Le) {
243
+ if (xe) {
244
244
  var n = t[e];
245
- return n === wo ? void 0 : n;
245
+ return n === Oo ? void 0 : n;
246
246
  }
247
- return Po.call(t, e) ? t[e] : void 0;
247
+ return Lo.call(t, e) ? t[e] : void 0;
248
248
  }
249
- var Lo = Object.prototype, xo = Lo.hasOwnProperty;
250
- function Mo(e) {
249
+ var Vo = Object.prototype, Uo = Vo.hasOwnProperty;
250
+ function Do(e) {
251
251
  var t = this.__data__;
252
- return Le ? t[e] !== void 0 : xo.call(t, e);
252
+ return xe ? t[e] !== void 0 : Uo.call(t, e);
253
253
  }
254
- var Vo = "__lodash_hash_undefined__";
255
- function Uo(e, t) {
254
+ var jo = "__lodash_hash_undefined__";
255
+ function Eo(e, t) {
256
256
  var n = this.__data__;
257
- return this.size += this.has(e) ? 0 : 1, n[e] = Le && t === void 0 ? Vo : t, this;
257
+ return this.size += this.has(e) ? 0 : 1, n[e] = xe && t === void 0 ? jo : t, this;
258
258
  }
259
- function de(e) {
259
+ function fe(e) {
260
260
  var t = -1, n = e == null ? 0 : e.length;
261
261
  for (this.clear(); ++t < n; ) {
262
262
  var r = e[t];
263
263
  this.set(r[0], r[1]);
264
264
  }
265
265
  }
266
- de.prototype.clear = So;
267
- de.prototype.delete = Ao;
268
- de.prototype.get = Oo;
269
- de.prototype.has = Mo;
270
- de.prototype.set = Uo;
271
- function Do() {
266
+ fe.prototype.clear = Co;
267
+ fe.prototype.delete = Po;
268
+ fe.prototype.get = Mo;
269
+ fe.prototype.has = Do;
270
+ fe.prototype.set = Eo;
271
+ function No() {
272
272
  this.__data__ = [], this.size = 0;
273
273
  }
274
274
  function Ie(e, t) {
@@ -277,466 +277,466 @@ function Ie(e, t) {
277
277
  return n;
278
278
  return -1;
279
279
  }
280
- var jo = Array.prototype, Eo = jo.splice;
281
- function No(e) {
280
+ var Bo = Array.prototype, Fo = Bo.splice;
281
+ function Ro(e) {
282
282
  var t = this.__data__, n = Ie(t, e);
283
283
  if (n < 0)
284
284
  return !1;
285
285
  var r = t.length - 1;
286
- return n == r ? t.pop() : Eo.call(t, n, 1), --this.size, !0;
286
+ return n == r ? t.pop() : Fo.call(t, n, 1), --this.size, !0;
287
287
  }
288
- function Bo(e) {
288
+ function ko(e) {
289
289
  var t = this.__data__, n = Ie(t, e);
290
290
  return n < 0 ? void 0 : t[n][1];
291
291
  }
292
- function Ro(e) {
292
+ function Ho(e) {
293
293
  return Ie(this.__data__, e) > -1;
294
294
  }
295
- function Fo(e, t) {
295
+ function Go(e, t) {
296
296
  var n = this.__data__, r = Ie(n, e);
297
297
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
298
298
  }
299
- function ie(e) {
299
+ function le(e) {
300
300
  var t = -1, n = e == null ? 0 : e.length;
301
301
  for (this.clear(); ++t < n; ) {
302
302
  var r = e[t];
303
303
  this.set(r[0], r[1]);
304
304
  }
305
305
  }
306
- ie.prototype.clear = Do;
307
- ie.prototype.delete = No;
308
- ie.prototype.get = Bo;
309
- ie.prototype.has = Ro;
310
- ie.prototype.set = Fo;
311
- var xe = me(W, "Map");
312
- function ko() {
306
+ le.prototype.clear = No;
307
+ le.prototype.delete = Ro;
308
+ le.prototype.get = ko;
309
+ le.prototype.has = Ho;
310
+ le.prototype.set = Go;
311
+ var Le = ve(W, "Map");
312
+ function Ko() {
313
313
  this.size = 0, this.__data__ = {
314
- hash: new de(),
315
- map: new (xe || ie)(),
316
- string: new de()
314
+ hash: new fe(),
315
+ map: new (Le || le)(),
316
+ string: new fe()
317
317
  };
318
318
  }
319
- function Ho(e) {
319
+ function zo(e) {
320
320
  var t = typeof e;
321
321
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
322
322
  }
323
323
  function Xe(e, t) {
324
324
  var n = e.__data__;
325
- return Ho(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
325
+ return zo(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
326
326
  }
327
- function Go(e) {
327
+ function qo(e) {
328
328
  var t = Xe(this, e).delete(e);
329
329
  return this.size -= t ? 1 : 0, t;
330
330
  }
331
- function Ko(e) {
331
+ function Io(e) {
332
332
  return Xe(this, e).get(e);
333
333
  }
334
- function zo(e) {
334
+ function Xo(e) {
335
335
  return Xe(this, e).has(e);
336
336
  }
337
- function qo(e, t) {
337
+ function Zo(e, t) {
338
338
  var n = Xe(this, e), r = n.size;
339
339
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
340
340
  }
341
- function ge(e) {
341
+ function me(e) {
342
342
  var t = -1, n = e == null ? 0 : e.length;
343
343
  for (this.clear(); ++t < n; ) {
344
344
  var r = e[t];
345
345
  this.set(r[0], r[1]);
346
346
  }
347
347
  }
348
- ge.prototype.clear = ko;
349
- ge.prototype.delete = Go;
350
- ge.prototype.get = Ko;
351
- ge.prototype.has = zo;
352
- ge.prototype.set = qo;
353
- function an(e, t) {
348
+ me.prototype.clear = Ko;
349
+ me.prototype.delete = qo;
350
+ me.prototype.get = Io;
351
+ me.prototype.has = Xo;
352
+ me.prototype.set = Zo;
353
+ function un(e, t) {
354
354
  for (var n = -1, r = t.length, l = e.length; ++n < r; )
355
355
  e[l + n] = t[n];
356
356
  return e;
357
357
  }
358
- var un = sn(Object.getPrototypeOf, Object);
359
- function Io() {
360
- this.__data__ = new ie(), this.size = 0;
358
+ var cn = an(Object.getPrototypeOf, Object);
359
+ function Yo() {
360
+ this.__data__ = new le(), this.size = 0;
361
361
  }
362
- function Xo(e) {
362
+ function Jo(e) {
363
363
  var t = this.__data__, n = t.delete(e);
364
364
  return this.size = t.size, n;
365
365
  }
366
- function Zo(e) {
366
+ function Wo(e) {
367
367
  return this.__data__.get(e);
368
368
  }
369
- function Yo(e) {
369
+ function Qo(e) {
370
370
  return this.__data__.has(e);
371
371
  }
372
- var Jo = 200;
373
- function Wo(e, t) {
372
+ var el = 200;
373
+ function tl(e, t) {
374
374
  var n = this.__data__;
375
- if (n instanceof ie) {
375
+ if (n instanceof le) {
376
376
  var r = n.__data__;
377
- if (!xe || r.length < Jo - 1)
377
+ if (!Le || r.length < el - 1)
378
378
  return r.push([e, t]), this.size = ++n.size, this;
379
- n = this.__data__ = new ge(r);
379
+ n = this.__data__ = new me(r);
380
380
  }
381
381
  return n.set(e, t), this.size = n.size, this;
382
382
  }
383
- function ne(e) {
384
- var t = this.__data__ = new ie(e);
383
+ function te(e) {
384
+ var t = this.__data__ = new le(e);
385
385
  this.size = t.size;
386
386
  }
387
- ne.prototype.clear = Io;
388
- ne.prototype.delete = Xo;
389
- ne.prototype.get = Zo;
390
- ne.prototype.has = Yo;
391
- ne.prototype.set = Wo;
392
- function Qo(e, t) {
387
+ te.prototype.clear = Yo;
388
+ te.prototype.delete = Jo;
389
+ te.prototype.get = Wo;
390
+ te.prototype.has = Qo;
391
+ te.prototype.set = tl;
392
+ function nl(e, t) {
393
393
  return e && qe(t, dt(t), e);
394
394
  }
395
- function el(e, t) {
395
+ function rl(e, t) {
396
396
  return e && qe(t, pt(t), e);
397
397
  }
398
- var cn = typeof exports == "object" && exports && !exports.nodeType && exports, Pt = cn && typeof module == "object" && module && !module.nodeType && module, tl = Pt && Pt.exports === cn, Ot = tl ? W.Buffer : void 0, Lt = Ot ? Ot.allocUnsafe : void 0;
399
- function nl(e, t) {
398
+ var fn = typeof exports == "object" && exports && !exports.nodeType && exports, Pt = fn && typeof module == "object" && module && !module.nodeType && module, ol = Pt && Pt.exports === fn, Ot = ol ? W.Buffer : void 0, xt = Ot ? Ot.allocUnsafe : void 0;
399
+ function ll(e, t) {
400
400
  if (t)
401
401
  return e.slice();
402
- var n = e.length, r = Lt ? Lt(n) : new e.constructor(n);
402
+ var n = e.length, r = xt ? xt(n) : new e.constructor(n);
403
403
  return e.copy(r), r;
404
404
  }
405
- function rl(e, t) {
405
+ function il(e, t) {
406
406
  for (var n = -1, r = e == null ? 0 : e.length, l = 0, o = []; ++n < r; ) {
407
407
  var i = e[n];
408
408
  t(i, n, e) && (o[l++] = i);
409
409
  }
410
410
  return o;
411
411
  }
412
- function fn() {
412
+ function dn() {
413
413
  return [];
414
414
  }
415
- var ol = Object.prototype, ll = ol.propertyIsEnumerable, xt = Object.getOwnPropertySymbols, vt = xt ? function(e) {
416
- return e == null ? [] : (e = Object(e), rl(xt(e), function(t) {
417
- return ll.call(e, t);
415
+ var sl = Object.prototype, al = sl.propertyIsEnumerable, Lt = Object.getOwnPropertySymbols, vt = Lt ? function(e) {
416
+ return e == null ? [] : (e = Object(e), il(Lt(e), function(t) {
417
+ return al.call(e, t);
418
418
  }));
419
- } : fn;
420
- function il(e, t) {
419
+ } : dn;
420
+ function ul(e, t) {
421
421
  return qe(e, vt(e), t);
422
422
  }
423
- var sl = Object.getOwnPropertySymbols, dn = sl ? function(e) {
423
+ var cl = Object.getOwnPropertySymbols, pn = cl ? function(e) {
424
424
  for (var t = []; e; )
425
- an(t, vt(e)), e = un(e);
425
+ un(t, vt(e)), e = cn(e);
426
426
  return t;
427
- } : fn;
428
- function al(e, t) {
429
- return qe(e, dn(e), t);
427
+ } : dn;
428
+ function fl(e, t) {
429
+ return qe(e, pn(e), t);
430
430
  }
431
- function pn(e, t, n) {
431
+ function vn(e, t, n) {
432
432
  var r = t(e);
433
- return Oe(e) ? r : an(r, n(e));
433
+ return Oe(e) ? r : un(r, n(e));
434
434
  }
435
435
  function ot(e) {
436
- return pn(e, dt, vt);
436
+ return vn(e, dt, vt);
437
437
  }
438
- function ul(e) {
439
- return pn(e, pt, dn);
438
+ function dl(e) {
439
+ return vn(e, pt, pn);
440
440
  }
441
- var lt = me(W, "DataView"), it = me(W, "Promise"), st = me(W, "Set"), Mt = "[object Map]", cl = "[object Object]", Vt = "[object Promise]", Ut = "[object Set]", Dt = "[object WeakMap]", jt = "[object DataView]", fl = ve(lt), dl = ve(xe), pl = ve(it), vl = ve(st), ml = ve(rt), Z = Ue;
442
- (lt && Z(new lt(new ArrayBuffer(1))) != jt || xe && Z(new xe()) != Mt || it && Z(it.resolve()) != Vt || st && Z(new st()) != Ut || rt && Z(new rt()) != Dt) && (Z = function(e) {
443
- var t = Ue(e), n = t == cl ? e.constructor : void 0, r = n ? ve(n) : "";
441
+ var lt = ve(W, "DataView"), it = ve(W, "Promise"), st = ve(W, "Set"), Mt = "[object Map]", pl = "[object Object]", Vt = "[object Promise]", Ut = "[object Set]", Dt = "[object WeakMap]", jt = "[object DataView]", vl = pe(lt), ml = pe(Le), gl = pe(it), yl = pe(st), hl = pe(rt), Z = Ue;
442
+ (lt && Z(new lt(new ArrayBuffer(1))) != jt || Le && Z(new Le()) != Mt || it && Z(it.resolve()) != Vt || st && Z(new st()) != Ut || rt && Z(new rt()) != Dt) && (Z = function(e) {
443
+ var t = Ue(e), n = t == pl ? e.constructor : void 0, r = n ? pe(n) : "";
444
444
  if (r)
445
445
  switch (r) {
446
- case fl:
446
+ case vl:
447
447
  return jt;
448
- case dl:
448
+ case ml:
449
449
  return Mt;
450
- case pl:
450
+ case gl:
451
451
  return Vt;
452
- case vl:
452
+ case yl:
453
453
  return Ut;
454
- case ml:
454
+ case hl:
455
455
  return Dt;
456
456
  }
457
457
  return t;
458
458
  });
459
- var gl = Object.prototype, yl = gl.hasOwnProperty;
460
- function hl(e) {
459
+ var _l = Object.prototype, bl = _l.hasOwnProperty;
460
+ function $l(e) {
461
461
  var t = e.length, n = new e.constructor(t);
462
- return t && typeof e[0] == "string" && yl.call(e, "index") && (n.index = e.index, n.input = e.input), n;
462
+ return t && typeof e[0] == "string" && bl.call(e, "index") && (n.index = e.index, n.input = e.input), n;
463
463
  }
464
464
  var Ke = W.Uint8Array;
465
465
  function mt(e) {
466
466
  var t = new e.constructor(e.byteLength);
467
467
  return new Ke(t).set(new Ke(e)), t;
468
468
  }
469
- function _l(e, t) {
469
+ function Tl(e, t) {
470
470
  var n = t ? mt(e.buffer) : e.buffer;
471
471
  return new e.constructor(n, e.byteOffset, e.byteLength);
472
472
  }
473
- var bl = /\w*$/;
474
- function $l(e) {
475
- var t = new e.constructor(e.source, bl.exec(e));
473
+ var Sl = /\w*$/;
474
+ function wl(e) {
475
+ var t = new e.constructor(e.source, Sl.exec(e));
476
476
  return t.lastIndex = e.lastIndex, t;
477
477
  }
478
- var Et = ae ? ae.prototype : void 0, Nt = Et ? Et.valueOf : void 0;
479
- function Tl(e) {
478
+ var Et = se ? se.prototype : void 0, Nt = Et ? Et.valueOf : void 0;
479
+ function Al(e) {
480
480
  return Nt ? Object(Nt.call(e)) : {};
481
481
  }
482
- function Sl(e, t) {
482
+ function Cl(e, t) {
483
483
  var n = t ? mt(e.buffer) : e.buffer;
484
484
  return new e.constructor(n, e.byteOffset, e.length);
485
485
  }
486
- var Al = "[object Boolean]", wl = "[object Date]", Cl = "[object Map]", Pl = "[object Number]", Ol = "[object RegExp]", Ll = "[object Set]", xl = "[object String]", Ml = "[object Symbol]", Vl = "[object ArrayBuffer]", Ul = "[object DataView]", Dl = "[object Float32Array]", jl = "[object Float64Array]", El = "[object Int8Array]", Nl = "[object Int16Array]", Bl = "[object Int32Array]", Rl = "[object Uint8Array]", Fl = "[object Uint8ClampedArray]", kl = "[object Uint16Array]", Hl = "[object Uint32Array]";
487
- function Gl(e, t, n) {
486
+ var Pl = "[object Boolean]", Ol = "[object Date]", xl = "[object Map]", Ll = "[object Number]", Ml = "[object RegExp]", Vl = "[object Set]", Ul = "[object String]", Dl = "[object Symbol]", jl = "[object ArrayBuffer]", El = "[object DataView]", Nl = "[object Float32Array]", Bl = "[object Float64Array]", Fl = "[object Int8Array]", Rl = "[object Int16Array]", kl = "[object Int32Array]", Hl = "[object Uint8Array]", Gl = "[object Uint8ClampedArray]", Kl = "[object Uint16Array]", zl = "[object Uint32Array]";
487
+ function ql(e, t, n) {
488
488
  var r = e.constructor;
489
489
  switch (t) {
490
- case Vl:
490
+ case jl:
491
491
  return mt(e);
492
- case Al:
493
- case wl:
492
+ case Pl:
493
+ case Ol:
494
494
  return new r(+e);
495
- case Ul:
496
- return _l(e, n);
497
- case Dl:
498
- case jl:
499
495
  case El:
496
+ return Tl(e, n);
500
497
  case Nl:
501
498
  case Bl:
502
- case Rl:
503
499
  case Fl:
500
+ case Rl:
504
501
  case kl:
505
502
  case Hl:
506
- return Sl(e, n);
507
- case Cl:
508
- return new r();
509
- case Pl:
503
+ case Gl:
504
+ case Kl:
505
+ case zl:
506
+ return Cl(e, n);
510
507
  case xl:
511
- return new r(e);
512
- case Ol:
513
- return $l(e);
514
- case Ll:
515
508
  return new r();
509
+ case Ll:
510
+ case Ul:
511
+ return new r(e);
516
512
  case Ml:
517
- return Tl(e);
513
+ return wl(e);
514
+ case Vl:
515
+ return new r();
516
+ case Dl:
517
+ return Al(e);
518
518
  }
519
519
  }
520
- function Kl(e) {
521
- return typeof e.constructor == "function" && !ct(e) ? Tr(un(e)) : {};
522
- }
523
- var zl = "[object Map]";
524
- function ql(e) {
525
- return fe(e) && Z(e) == zl;
520
+ function Il(e) {
521
+ return typeof e.constructor == "function" && !ct(e) ? Ar(cn(e)) : {};
526
522
  }
527
- var Bt = $e && $e.isMap, Il = Bt ? ft(Bt) : ql, Xl = "[object Set]";
523
+ var Xl = "[object Map]";
528
524
  function Zl(e) {
529
- return fe(e) && Z(e) == Xl;
525
+ return ce(e) && Z(e) == Xl;
530
526
  }
531
- var Rt = $e && $e.isSet, Yl = Rt ? ft(Rt) : Zl, Jl = 1, Wl = 2, Ql = 4, vn = "[object Arguments]", ei = "[object Array]", ti = "[object Boolean]", ni = "[object Date]", ri = "[object Error]", mn = "[object Function]", oi = "[object GeneratorFunction]", li = "[object Map]", ii = "[object Number]", gn = "[object Object]", si = "[object RegExp]", ai = "[object Set]", ui = "[object String]", ci = "[object Symbol]", fi = "[object WeakMap]", di = "[object ArrayBuffer]", pi = "[object DataView]", vi = "[object Float32Array]", mi = "[object Float64Array]", gi = "[object Int8Array]", yi = "[object Int16Array]", hi = "[object Int32Array]", _i = "[object Uint8Array]", bi = "[object Uint8ClampedArray]", $i = "[object Uint16Array]", Ti = "[object Uint32Array]", x = {};
532
- x[vn] = x[ei] = x[di] = x[pi] = x[ti] = x[ni] = x[vi] = x[mi] = x[gi] = x[yi] = x[hi] = x[li] = x[ii] = x[gn] = x[si] = x[ai] = x[ui] = x[ci] = x[_i] = x[bi] = x[$i] = x[Ti] = !0;
533
- x[ri] = x[mn] = x[fi] = !1;
527
+ var Bt = $e && $e.isMap, Yl = Bt ? ft(Bt) : Zl, Jl = "[object Set]";
528
+ function Wl(e) {
529
+ return ce(e) && Z(e) == Jl;
530
+ }
531
+ var Ft = $e && $e.isSet, Ql = Ft ? ft(Ft) : Wl, ei = 1, ti = 2, ni = 4, mn = "[object Arguments]", ri = "[object Array]", oi = "[object Boolean]", li = "[object Date]", ii = "[object Error]", gn = "[object Function]", si = "[object GeneratorFunction]", ai = "[object Map]", ui = "[object Number]", yn = "[object Object]", ci = "[object RegExp]", fi = "[object Set]", di = "[object String]", pi = "[object Symbol]", vi = "[object WeakMap]", mi = "[object ArrayBuffer]", gi = "[object DataView]", yi = "[object Float32Array]", hi = "[object Float64Array]", _i = "[object Int8Array]", bi = "[object Int16Array]", $i = "[object Int32Array]", Ti = "[object Uint8Array]", Si = "[object Uint8ClampedArray]", wi = "[object Uint16Array]", Ai = "[object Uint32Array]", x = {};
532
+ x[mn] = x[ri] = x[mi] = x[gi] = x[oi] = x[li] = x[yi] = x[hi] = x[_i] = x[bi] = x[$i] = x[ai] = x[ui] = x[yn] = x[ci] = x[fi] = x[di] = x[pi] = x[Ti] = x[Si] = x[wi] = x[Ai] = !0;
533
+ x[ii] = x[gn] = x[vi] = !1;
534
534
  function ke(e, t, n, r, l, o) {
535
- var i, s = t & Jl, a = t & Wl, u = t & Ql;
535
+ var i, s = t & ei, a = t & ti, u = t & ni;
536
536
  if (i !== void 0)
537
537
  return i;
538
538
  if (!De(e))
539
539
  return e;
540
- var f = Oe(e);
541
- if (f) {
542
- if (i = hl(e), !s)
543
- return Sr(e, i);
540
+ var d = Oe(e);
541
+ if (d) {
542
+ if (i = $l(e), !s)
543
+ return Cr(e, i);
544
544
  } else {
545
- var d = Z(e), h = d == mn || d == oi;
545
+ var f = Z(e), g = f == gn || f == si;
546
546
  if (Ge(e))
547
- return nl(e, s);
548
- if (d == gn || d == vn || h && !l) {
549
- if (i = a || h ? {} : Kl(e), !s)
550
- return a ? al(e, el(i, e)) : il(e, Qo(i, e));
547
+ return ll(e, s);
548
+ if (f == yn || f == mn || g && !l) {
549
+ if (i = a || g ? {} : Il(e), !s)
550
+ return a ? fl(e, rl(i, e)) : ul(e, nl(i, e));
551
551
  } else {
552
- if (!x[d])
552
+ if (!x[f])
553
553
  return l ? e : {};
554
- i = Gl(e, d, s);
554
+ i = ql(e, f, s);
555
555
  }
556
556
  }
557
- o || (o = new ne());
558
- var T = o.get(e);
559
- if (T)
560
- return T;
561
- o.set(e, i), Yl(e) ? e.forEach(function(p) {
562
- i.add(ke(p, t, n, p, e, o));
563
- }) : Il(e) && e.forEach(function(p, w) {
564
- i.set(w, ke(p, t, n, w, e, o));
557
+ o || (o = new te());
558
+ var _ = o.get(e);
559
+ if (_)
560
+ return _;
561
+ o.set(e, i), Ql(e) ? e.forEach(function(y) {
562
+ i.add(ke(y, t, n, y, e, o));
563
+ }) : Yl(e) && e.forEach(function(y, $) {
564
+ i.set($, ke(y, t, n, $, e, o));
565
565
  });
566
- var C = u ? a ? ul : ot : a ? pt : dt, _ = f ? void 0 : C(e);
567
- return Ar(_ || e, function(p, w) {
568
- _ && (w = p, p = e[w]), Wt(i, w, ke(p, t, n, w, e, o));
566
+ var w = u ? a ? dl : ot : a ? pt : dt, C = d ? void 0 : w(e);
567
+ return Pr(C || e, function(y, $) {
568
+ C && ($ = y, y = e[$]), Qt(i, $, ke(y, t, n, $, e, o));
569
569
  }), i;
570
570
  }
571
- var Si = 1, Ai = 4;
572
- function yn(e) {
573
- return ke(e, Si | Ai);
571
+ var Ci = 1, Pi = 4;
572
+ function hn(e) {
573
+ return ke(e, Ci | Pi);
574
574
  }
575
- var wi = "__lodash_hash_undefined__";
576
- function Ci(e) {
577
- return this.__data__.set(e, wi), this;
575
+ var Oi = "__lodash_hash_undefined__";
576
+ function xi(e) {
577
+ return this.__data__.set(e, Oi), this;
578
578
  }
579
- function Pi(e) {
579
+ function Li(e) {
580
580
  return this.__data__.has(e);
581
581
  }
582
582
  function ze(e) {
583
583
  var t = -1, n = e == null ? 0 : e.length;
584
- for (this.__data__ = new ge(); ++t < n; )
584
+ for (this.__data__ = new me(); ++t < n; )
585
585
  this.add(e[t]);
586
586
  }
587
- ze.prototype.add = ze.prototype.push = Ci;
588
- ze.prototype.has = Pi;
589
- function Oi(e, t) {
587
+ ze.prototype.add = ze.prototype.push = xi;
588
+ ze.prototype.has = Li;
589
+ function Mi(e, t) {
590
590
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
591
591
  if (t(e[n], n, e))
592
592
  return !0;
593
593
  return !1;
594
594
  }
595
- function Li(e, t) {
595
+ function Vi(e, t) {
596
596
  return e.has(t);
597
597
  }
598
- var xi = 1, Mi = 2;
599
- function hn(e, t, n, r, l, o) {
600
- var i = n & xi, s = e.length, a = t.length;
598
+ var Ui = 1, Di = 2;
599
+ function _n(e, t, n, r, l, o) {
600
+ var i = n & Ui, s = e.length, a = t.length;
601
601
  if (s != a && !(i && a > s))
602
602
  return !1;
603
- var u = o.get(e), f = o.get(t);
604
- if (u && f)
605
- return u == t && f == e;
606
- var d = -1, h = !0, T = n & Mi ? new ze() : void 0;
607
- for (o.set(e, t), o.set(t, e); ++d < s; ) {
608
- var C = e[d], _ = t[d];
603
+ var u = o.get(e), d = o.get(t);
604
+ if (u && d)
605
+ return u == t && d == e;
606
+ var f = -1, g = !0, _ = n & Di ? new ze() : void 0;
607
+ for (o.set(e, t), o.set(t, e); ++f < s; ) {
608
+ var w = e[f], C = t[f];
609
609
  if (r)
610
- var p = i ? r(_, C, d, t, e, o) : r(C, _, d, e, t, o);
611
- if (p !== void 0) {
612
- if (p)
610
+ var y = i ? r(C, w, f, t, e, o) : r(w, C, f, e, t, o);
611
+ if (y !== void 0) {
612
+ if (y)
613
613
  continue;
614
- h = !1;
614
+ g = !1;
615
615
  break;
616
616
  }
617
- if (T) {
618
- if (!Oi(t, function(w, E) {
619
- if (!Li(T, E) && (C === w || l(C, w, n, r, o)))
620
- return T.push(E);
617
+ if (_) {
618
+ if (!Mi(t, function($, A) {
619
+ if (!Vi(_, A) && (w === $ || l(w, $, n, r, o)))
620
+ return _.push(A);
621
621
  })) {
622
- h = !1;
622
+ g = !1;
623
623
  break;
624
624
  }
625
- } else if (!(C === _ || l(C, _, n, r, o))) {
626
- h = !1;
625
+ } else if (!(w === C || l(w, C, n, r, o))) {
626
+ g = !1;
627
627
  break;
628
628
  }
629
629
  }
630
- return o.delete(e), o.delete(t), h;
630
+ return o.delete(e), o.delete(t), g;
631
631
  }
632
- function Vi(e) {
632
+ function ji(e) {
633
633
  var t = -1, n = Array(e.size);
634
634
  return e.forEach(function(r, l) {
635
635
  n[++t] = [l, r];
636
636
  }), n;
637
637
  }
638
- function Ui(e) {
638
+ function Ei(e) {
639
639
  var t = -1, n = Array(e.size);
640
640
  return e.forEach(function(r) {
641
641
  n[++t] = r;
642
642
  }), n;
643
643
  }
644
- var Di = 1, ji = 2, Ei = "[object Boolean]", Ni = "[object Date]", Bi = "[object Error]", Ri = "[object Map]", Fi = "[object Number]", ki = "[object RegExp]", Hi = "[object Set]", Gi = "[object String]", Ki = "[object Symbol]", zi = "[object ArrayBuffer]", qi = "[object DataView]", Ft = ae ? ae.prototype : void 0, et = Ft ? Ft.valueOf : void 0;
645
- function Ii(e, t, n, r, l, o, i) {
644
+ var Ni = 1, Bi = 2, Fi = "[object Boolean]", Ri = "[object Date]", ki = "[object Error]", Hi = "[object Map]", Gi = "[object Number]", Ki = "[object RegExp]", zi = "[object Set]", qi = "[object String]", Ii = "[object Symbol]", Xi = "[object ArrayBuffer]", Zi = "[object DataView]", Rt = se ? se.prototype : void 0, et = Rt ? Rt.valueOf : void 0;
645
+ function Yi(e, t, n, r, l, o, i) {
646
646
  switch (n) {
647
- case qi:
647
+ case Zi:
648
648
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
649
649
  return !1;
650
650
  e = e.buffer, t = t.buffer;
651
- case zi:
651
+ case Xi:
652
652
  return !(e.byteLength != t.byteLength || !o(new Ke(e), new Ke(t)));
653
- case Ei:
654
- case Ni:
655
653
  case Fi:
654
+ case Ri:
655
+ case Gi:
656
656
  return ut(+e, +t);
657
- case Bi:
658
- return e.name == t.name && e.message == t.message;
659
657
  case ki:
660
- case Gi:
658
+ return e.name == t.name && e.message == t.message;
659
+ case Ki:
660
+ case qi:
661
661
  return e == t + "";
662
- case Ri:
663
- var s = Vi;
664
662
  case Hi:
665
- var a = r & Di;
666
- if (s || (s = Ui), e.size != t.size && !a)
663
+ var s = ji;
664
+ case zi:
665
+ var a = r & Ni;
666
+ if (s || (s = Ei), e.size != t.size && !a)
667
667
  return !1;
668
668
  var u = i.get(e);
669
669
  if (u)
670
670
  return u == t;
671
- r |= ji, i.set(e, t);
672
- var f = hn(s(e), s(t), r, l, o, i);
673
- return i.delete(e), f;
674
- case Ki:
671
+ r |= Bi, i.set(e, t);
672
+ var d = _n(s(e), s(t), r, l, o, i);
673
+ return i.delete(e), d;
674
+ case Ii:
675
675
  if (et)
676
676
  return et.call(e) == et.call(t);
677
677
  }
678
678
  return !1;
679
679
  }
680
- var Xi = 1, Zi = Object.prototype, Yi = Zi.hasOwnProperty;
681
- function Ji(e, t, n, r, l, o) {
682
- var i = n & Xi, s = ot(e), a = s.length, u = ot(t), f = u.length;
683
- if (a != f && !i)
680
+ var Ji = 1, Wi = Object.prototype, Qi = Wi.hasOwnProperty;
681
+ function es(e, t, n, r, l, o) {
682
+ var i = n & Ji, s = ot(e), a = s.length, u = ot(t), d = u.length;
683
+ if (a != d && !i)
684
684
  return !1;
685
- for (var d = a; d--; ) {
686
- var h = s[d];
687
- if (!(i ? h in t : Yi.call(t, h)))
685
+ for (var f = a; f--; ) {
686
+ var g = s[f];
687
+ if (!(i ? g in t : Qi.call(t, g)))
688
688
  return !1;
689
689
  }
690
- var T = o.get(e), C = o.get(t);
691
- if (T && C)
692
- return T == t && C == e;
693
- var _ = !0;
690
+ var _ = o.get(e), w = o.get(t);
691
+ if (_ && w)
692
+ return _ == t && w == e;
693
+ var C = !0;
694
694
  o.set(e, t), o.set(t, e);
695
- for (var p = i; ++d < a; ) {
696
- h = s[d];
697
- var w = e[h], E = t[h];
695
+ for (var y = i; ++f < a; ) {
696
+ g = s[f];
697
+ var $ = e[g], A = t[g];
698
698
  if (r)
699
- var L = i ? r(E, w, h, t, e, o) : r(w, E, h, e, t, o);
700
- if (!(L === void 0 ? w === E || l(w, E, n, r, o) : L)) {
701
- _ = !1;
699
+ var V = i ? r(A, $, g, t, e, o) : r($, A, g, e, t, o);
700
+ if (!(V === void 0 ? $ === A || l($, A, n, r, o) : V)) {
701
+ C = !1;
702
702
  break;
703
703
  }
704
- p || (p = h == "constructor");
704
+ y || (y = g == "constructor");
705
705
  }
706
- if (_ && !p) {
707
- var P = e.constructor, $ = t.constructor;
708
- P != $ && "constructor" in e && "constructor" in t && !(typeof P == "function" && P instanceof P && typeof $ == "function" && $ instanceof $) && (_ = !1);
706
+ if (C && !y) {
707
+ var P = e.constructor, U = t.constructor;
708
+ P != U && "constructor" in e && "constructor" in t && !(typeof P == "function" && P instanceof P && typeof U == "function" && U instanceof U) && (C = !1);
709
709
  }
710
- return o.delete(e), o.delete(t), _;
710
+ return o.delete(e), o.delete(t), C;
711
711
  }
712
- var Wi = 1, kt = "[object Arguments]", Ht = "[object Array]", Be = "[object Object]", Qi = Object.prototype, Gt = Qi.hasOwnProperty;
713
- function es(e, t, n, r, l, o) {
712
+ var ts = 1, kt = "[object Arguments]", Ht = "[object Array]", Be = "[object Object]", ns = Object.prototype, Gt = ns.hasOwnProperty;
713
+ function rs(e, t, n, r, l, o) {
714
714
  var i = Oe(e), s = Oe(t), a = i ? Ht : Z(e), u = s ? Ht : Z(t);
715
715
  a = a == kt ? Be : a, u = u == kt ? Be : u;
716
- var f = a == Be, d = u == Be, h = a == u;
717
- if (h && Ge(e)) {
716
+ var d = a == Be, f = u == Be, g = a == u;
717
+ if (g && Ge(e)) {
718
718
  if (!Ge(t))
719
719
  return !1;
720
- i = !0, f = !1;
720
+ i = !0, d = !1;
721
721
  }
722
- if (h && !f)
723
- return o || (o = new ne()), i || on(e) ? hn(e, t, n, r, l, o) : Ii(e, t, a, n, r, l, o);
724
- if (!(n & Wi)) {
725
- var T = f && Gt.call(e, "__wrapped__"), C = d && Gt.call(t, "__wrapped__");
726
- if (T || C) {
727
- var _ = T ? e.value() : e, p = C ? t.value() : t;
728
- return o || (o = new ne()), l(_, p, n, r, o);
722
+ if (g && !d)
723
+ return o || (o = new te()), i || ln(e) ? _n(e, t, n, r, l, o) : Yi(e, t, a, n, r, l, o);
724
+ if (!(n & ts)) {
725
+ var _ = d && Gt.call(e, "__wrapped__"), w = f && Gt.call(t, "__wrapped__");
726
+ if (_ || w) {
727
+ var C = _ ? e.value() : e, y = w ? t.value() : t;
728
+ return o || (o = new te()), l(C, y, n, r, o);
729
729
  }
730
730
  }
731
- return h ? (o || (o = new ne()), Ji(e, t, n, r, l, o)) : !1;
731
+ return g ? (o || (o = new te()), es(e, t, n, r, l, o)) : !1;
732
732
  }
733
- function _n(e, t, n, r, l) {
734
- return e === t ? !0 : e == null || t == null || !fe(e) && !fe(t) ? e !== e && t !== t : es(e, t, n, r, _n, l);
733
+ function bn(e, t, n, r, l) {
734
+ return e === t ? !0 : e == null || t == null || !ce(e) && !ce(t) ? e !== e && t !== t : rs(e, t, n, r, bn, l);
735
735
  }
736
736
  function Ze(e, t) {
737
- return _n(e, t);
737
+ return bn(e, t);
738
738
  }
739
- function ts(e, t) {
739
+ function os(e, t) {
740
740
  const n = [];
741
741
  let r = [];
742
742
  e.forEach((i) => {
@@ -754,10 +754,10 @@ function ts(e, t) {
754
754
  }), i.count = s.length, i.count > 0 && (o.push(i), o.push(...s));
755
755
  }), o;
756
756
  }
757
- function bn(e, t) {
757
+ function $n(e, t) {
758
758
  return e.value.find((n) => n.id === t);
759
759
  }
760
- function ns(e, t, n) {
760
+ function ls(e, t, n) {
761
761
  for (let r = 0; r < e.value.length; r++) {
762
762
  let l = e.value[r];
763
763
  if (l.id === t) {
@@ -771,7 +771,7 @@ function ns(e, t, n) {
771
771
  }
772
772
  }
773
773
  }
774
- const Re = (e, t) => {
774
+ const Fe = (e, t) => {
775
775
  let n = { key: "", name: "", children: e };
776
776
  return t.forEach((r) => {
777
777
  if (typeof r != "number") {
@@ -786,7 +786,7 @@ const Re = (e, t) => {
786
786
  n = n.children.find((l) => l.key === r);
787
787
  }
788
788
  }), n;
789
- }, we = (e, t) => {
789
+ }, Ae = (e, t) => {
790
790
  let n = e;
791
791
  return t.forEach((r) => {
792
792
  if (!n) {
@@ -795,7 +795,7 @@ const Re = (e, t) => {
795
795
  }
796
796
  n = n[r];
797
797
  }), n;
798
- }, Kt = (e) => !(e instanceof Array), tt = (e) => e instanceof Array, rs = (e, t) => {
798
+ }, Kt = (e) => !(e instanceof Array), tt = (e) => e instanceof Array, is = (e, t) => {
799
799
  const n = (r, l) => {
800
800
  if (r.ui !== l.ui || r.array !== l.array)
801
801
  return !1;
@@ -809,10 +809,10 @@ const Re = (e, t) => {
809
809
  return !0;
810
810
  };
811
811
  return n(e, t);
812
- }, gt = (e) => !(e instanceof Array), yt = (e) => e instanceof Array, os = [
812
+ }, gt = (e) => !(e instanceof Array), yt = (e) => e instanceof Array, ss = [
813
813
  ["basic", "id"],
814
814
  ["basic", "name"]
815
- ], ls = (e) => os.find((t) => Ze(e, t)), Ye = (e, t, n, r, l, o, i) => (e = yn(e), o !== void 0 ? (e.push(o), i && e.push(t.key)) : e.push(t.key), ls(e) ? (r.change = !1, r.change) : t.ui ? t.array && o === void 0 ? as(
815
+ ], as = (e) => ss.find((t) => Ze(e, t)), Ye = (e, t, n, r, l, o, i) => (e = hn(e), o !== void 0 ? (e.push(o), i && e.push(t.key)) : e.push(t.key), as(e) ? (r.change = !1, r.change) : t.ui ? t.array && o === void 0 ? fs(
816
816
  e,
817
817
  t,
818
818
  n,
@@ -820,7 +820,7 @@ const Re = (e, t) => {
820
820
  l,
821
821
  o,
822
822
  i
823
- ) : us(t, n, r, o, i) : t.array ? is(
823
+ ) : ds(t, n, r, o, i) : t.array ? us(
824
824
  e,
825
825
  t,
826
826
  n,
@@ -828,7 +828,7 @@ const Re = (e, t) => {
828
828
  l,
829
829
  o,
830
830
  i
831
- ) : ss(
831
+ ) : cs(
832
832
  e,
833
833
  t,
834
834
  n,
@@ -836,7 +836,7 @@ const Re = (e, t) => {
836
836
  l,
837
837
  o,
838
838
  i
839
- )), is = (e, t, n, r, l, o, i) => {
839
+ )), us = (e, t, n, r, l, o, i) => {
840
840
  if (t.ui)
841
841
  return console.assert(!1, "execPropBranchArray prop ui must be invalid"), !1;
842
842
  if (!t.array)
@@ -851,19 +851,19 @@ const Re = (e, t) => {
851
851
  children: {}
852
852
  });
853
853
  const u = r.children[a];
854
- t.children.forEach((f) => {
854
+ t.children.forEach((d) => {
855
855
  if (!gt(u.children)) {
856
856
  console.assert(!1);
857
857
  return;
858
858
  }
859
- u.children[f.key] = {
859
+ u.children[d.key] = {
860
860
  change: !1,
861
- children: f.array ? [] : {}
861
+ children: d.array ? [] : {}
862
862
  }, Ye(
863
863
  e,
864
- f,
864
+ d,
865
865
  s[a],
866
- u.children[f.key],
866
+ u.children[d.key],
867
867
  l,
868
868
  a,
869
869
  !0
@@ -871,7 +871,7 @@ const Re = (e, t) => {
871
871
  });
872
872
  }
873
873
  return r.change || (r.change = !Ze(s, N(t))), r.change;
874
- }, ss = (e, t, n, r, l, o, i) => {
874
+ }, cs = (e, t, n, r, l, o, i) => {
875
875
  if (t.ui)
876
876
  return console.assert(!1, "execPropBranchScalar prop ui must be invalid"), !1;
877
877
  if (t.array)
@@ -888,7 +888,7 @@ const Re = (e, t) => {
888
888
  }, Ye(e, u, s, r.children[u.key], l) && (r.change = !0);
889
889
  }
890
890
  return r.change;
891
- }, as = (e, t, n, r, l, o, i) => {
891
+ }, fs = (e, t, n, r, l, o, i) => {
892
892
  if (!t.ui)
893
893
  return console.assert(!1, "execPropLeafArray prop ui must be valid"), !1;
894
894
  if (!t.array)
@@ -903,7 +903,7 @@ const Re = (e, t) => {
903
903
  children: {}
904
904
  }, Ye(e, t, s, r.children[a], l, a, !1) && (r.change = !0);
905
905
  return r.change || (r.change = !Ze(s, N(t))), r.change;
906
- }, us = (e, t, n, r, l) => {
906
+ }, ds = (e, t, n, r, l) => {
907
907
  if (!e.ui)
908
908
  return console.assert(!1, "execPropLeafScalar prop ui must be valid"), !1;
909
909
  let o;
@@ -927,131 +927,131 @@ const Re = (e, t) => {
927
927
  return console.assert(!1, `isPropChanged state must be valid keys=${t}`), !1;
928
928
  typeof r == "string" ? gt(n.children) && (n = n.children[r]) : yt(n.children) && (n = n.children[r]);
929
929
  }), (n == null ? void 0 : n.change) ?? !1;
930
- }, $n = Symbol(), Tn = Symbol(), Sn = Symbol(), An = Symbol(), wn = Symbol();
931
- function cs(e) {
932
- Me($n, e);
933
- }
934
- function fs() {
935
- return Ve($n);
936
- }
937
- function ds(e) {
930
+ }, Tn = Symbol(), Sn = Symbol(), wn = Symbol(), An = Symbol(), Cn = Symbol();
931
+ function ps(e) {
938
932
  Me(Tn, e);
939
933
  }
940
- function ps() {
934
+ function vs() {
941
935
  return Ve(Tn);
942
936
  }
943
- function vs(e) {
937
+ function ms(e) {
944
938
  Me(Sn, e);
945
939
  }
946
- function ms() {
940
+ function gs() {
947
941
  return Ve(Sn);
948
942
  }
949
- function gs(e) {
943
+ function ys(e) {
944
+ Me(wn, e);
945
+ }
946
+ function hs() {
947
+ return Ve(wn);
948
+ }
949
+ function _s(e) {
950
950
  Me(An, e);
951
951
  }
952
- function ys() {
952
+ function bs() {
953
953
  return Ve(An);
954
954
  }
955
- function hs(e) {
956
- Me(wn, e);
955
+ function $s(e) {
956
+ Me(Cn, e);
957
957
  }
958
- function Cn() {
959
- return Ve(wn);
958
+ function Pn() {
959
+ return Ve(Cn);
960
960
  }
961
- const _s = /* @__PURE__ */ K({
961
+ const Ts = /* @__PURE__ */ K({
962
962
  __name: "menu",
963
963
  setup(e) {
964
- const { t } = pe(), n = fs(), r = ps(), l = ms(), o = ys(), i = R(0), s = R(0), a = R([]), u = G(() => [i.value, s.value]), f = (p) => {
965
- const w = () => !(a.value.length <= 0 || !be(l.value, a.value)), E = () => {
966
- if (!w())
964
+ const { t } = de(), n = vs(), r = gs(), l = hs(), o = bs(), i = F(0), s = F(0), a = F([]), u = G(() => [i.value, s.value]), d = (y) => {
965
+ const $ = () => !(a.value.length <= 0 || !be(l.value, a.value)), A = () => {
966
+ if (!$())
967
967
  return;
968
- const L = Re(n.value, a.value);
969
- if (L)
970
- if (L.ui) {
971
- const P = we(r.value, a.value.slice(0, -1));
968
+ const V = Fe(n.value, a.value);
969
+ if (V)
970
+ if (V.ui) {
971
+ const P = Ae(r.value, a.value.slice(0, -1));
972
972
  if (!P)
973
973
  return;
974
- P[a.value.at(-1)] = N(L), o(a.value, P[a.value.at(-1)]);
975
- } else if (L.array) {
974
+ P[a.value.at(-1)] = N(V), o(a.value, P[a.value.at(-1)]);
975
+ } else if (V.array) {
976
976
  const P = a.value.at(-1);
977
977
  if (P === void 0) {
978
978
  console.assert(!1, "invalid last key");
979
979
  return;
980
980
  }
981
981
  if (typeof P == "string") {
982
- const $ = we(r.value, a.value.slice(0, -1));
983
- if (!$)
982
+ const U = Ae(r.value, a.value.slice(0, -1));
983
+ if (!U)
984
984
  return;
985
- $[a.value.at(-1)] = N(L), o(a.value, $[a.value.at(-1)]);
985
+ U[a.value.at(-1)] = N(V), o(a.value, U[a.value.at(-1)]);
986
986
  } else {
987
- const $ = we(r.value, a.value);
988
- if (!$)
987
+ const U = Ae(r.value, a.value);
988
+ if (!U)
989
989
  return;
990
- L.children.forEach((J) => {
991
- $[J.key] = N(L), o([...a.value, J.key], $[J.key]);
990
+ V.children.forEach((J) => {
991
+ U[J.key] = N(V), o([...a.value, J.key], U[J.key]);
992
992
  });
993
993
  }
994
994
  } else {
995
- const P = we(r.value, a.value);
995
+ const P = Ae(r.value, a.value);
996
996
  if (!P)
997
997
  return;
998
- L.children.forEach(($) => {
999
- P[$.key] = N(L), o([...a.value, $.key], P[$.key]);
998
+ V.children.forEach((U) => {
999
+ P[U.key] = N(V), o([...a.value, U.key], P[U.key]);
1000
1000
  });
1001
1001
  }
1002
1002
  };
1003
- w() && p.push({
1003
+ $() && y.push({
1004
1004
  title: t("x-prop-tree.reset"),
1005
- func: E
1005
+ func: A
1006
1006
  });
1007
- }, d = (p) => {
1008
- const w = () => {
1009
- const E = Re(n.value, a.value), L = we(r.value, a.value);
1010
- localStorage.setItem("propTreeCopy", JSON.stringify({ prop: E, object: L }));
1007
+ }, f = (y) => {
1008
+ const $ = () => {
1009
+ const A = Fe(n.value, a.value), V = Ae(r.value, a.value);
1010
+ localStorage.setItem("propTreeCopy", JSON.stringify({ prop: A, object: V }));
1011
1011
  };
1012
- p.push({
1012
+ y.push({
1013
1013
  title: t("x-prop-tree.copy"),
1014
- func: w
1014
+ func: $
1015
1015
  });
1016
- }, h = (p) => {
1017
- const w = () => {
1018
- const L = localStorage.getItem("propTreeCopy");
1019
- if (!L)
1016
+ }, g = (y) => {
1017
+ const $ = () => {
1018
+ const V = localStorage.getItem("propTreeCopy");
1019
+ if (!V)
1020
1020
  return !1;
1021
1021
  try {
1022
- const { prop: P } = JSON.parse(L), $ = Re(n.value, a.value);
1023
- return rs(P, $);
1022
+ const { prop: P } = JSON.parse(V), U = Fe(n.value, a.value);
1023
+ return is(P, U);
1024
1024
  } catch (P) {
1025
1025
  console.error(P);
1026
1026
  }
1027
1027
  return !1;
1028
- }, E = () => {
1029
- if (!w())
1028
+ }, A = () => {
1029
+ if (!$())
1030
1030
  return;
1031
- const L = localStorage.getItem("propTreeCopy");
1032
- if (L)
1031
+ const V = localStorage.getItem("propTreeCopy");
1032
+ if (V)
1033
1033
  try {
1034
- const { object: P } = JSON.parse(L), $ = Re(n.value, a.value);
1035
- console.log(P, $);
1034
+ const { object: P } = JSON.parse(V), U = Fe(n.value, a.value);
1035
+ console.log(P, U);
1036
1036
  } catch (P) {
1037
1037
  console.error(P);
1038
1038
  }
1039
1039
  };
1040
- w() && p.push({
1040
+ $() && y.push({
1041
1041
  title: t("x-prop-tree.paste"),
1042
- func: E
1042
+ func: A
1043
1043
  });
1044
- }, T = G(() => {
1045
- const p = [];
1046
- return f(p), d(p), h(p), p;
1047
- }), C = (p) => {
1048
- i.value = p.x, s.value = p.y, a.value = p.keys;
1049
- }, { open: _ } = It("propTreeMenu", C);
1050
- return (p, w) => {
1051
- const E = M("v-list-item-title"), L = M("v-list-item"), P = M("v-list"), $ = M("v-menu");
1052
- return A(), F($, {
1053
- modelValue: j(_),
1054
- "onUpdate:modelValue": w[0] || (w[0] = (J) => nt(_) ? _.value = J : null),
1044
+ }, _ = G(() => {
1045
+ const y = [];
1046
+ return d(y), f(y), g(y), y;
1047
+ }), w = (y) => {
1048
+ i.value = y.x, s.value = y.y, a.value = y.keys;
1049
+ }, { open: C } = Xt("propTreeMenu", w);
1050
+ return (y, $) => {
1051
+ const A = L("v-list-item-title"), V = L("v-list-item"), P = L("v-list"), U = L("v-menu");
1052
+ return S(), R(U, {
1053
+ modelValue: E(C),
1054
+ "onUpdate:modelValue": $[0] || ($[0] = (J) => nt(C) ? C.value = J : null),
1055
1055
  "location-strategy": "connected",
1056
1056
  target: u.value,
1057
1057
  scrim: "transparent"
@@ -1059,15 +1059,15 @@ const _s = /* @__PURE__ */ K({
1059
1059
  default: Y(() => [
1060
1060
  B(P, null, {
1061
1061
  default: Y(() => [
1062
- (A(!0), k(He, null, qt(T.value, (J, Je) => (A(), F(L, {
1062
+ (S(!0), k(He, null, qt(_.value, (J, Je) => (S(), R(V, {
1063
1063
  key: Je,
1064
1064
  link: "",
1065
1065
  onClick: J.func
1066
1066
  }, {
1067
1067
  default: Y(() => [
1068
- B(E, null, {
1068
+ B(A, null, {
1069
1069
  default: Y(() => [
1070
- at(re(J.title), 1)
1070
+ at(ne(J.title), 1)
1071
1071
  ]),
1072
1072
  _: 2
1073
1073
  }, 1024)
@@ -1083,8 +1083,8 @@ const _s = /* @__PURE__ */ K({
1083
1083
  };
1084
1084
  }
1085
1085
  });
1086
- var Pn = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", On = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", bs = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", ye = "M19,13H5V11H19V13Z", $s = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
1087
- const Fe = /* @__PURE__ */ K({
1086
+ var On = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", xn = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", Ss = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", ge = "M19,13H5V11H19V13Z", ws = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
1087
+ const Re = /* @__PURE__ */ K({
1088
1088
  __name: "title",
1089
1089
  props: {
1090
1090
  title: {},
@@ -1095,7 +1095,7 @@ const Fe = /* @__PURE__ */ K({
1095
1095
  },
1096
1096
  emits: ["collapse", "menu", "create", "delete"],
1097
1097
  setup(e, { emit: t }) {
1098
- const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = R(!1), i = G(() => ({
1098
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = F(!1), i = G(() => ({
1099
1099
  background: o.value ? r.value : n.value,
1100
1100
  height: "36px",
1101
1101
  marginBottom: "1px",
@@ -1105,47 +1105,47 @@ const Fe = /* @__PURE__ */ K({
1105
1105
  }, a = (u) => {
1106
1106
  l("menu", u.clientX, u.clientY);
1107
1107
  };
1108
- return (u, f) => {
1109
- const d = M("v-icon"), h = M("v-spacer"), T = ue("ripple");
1110
- return oe((A(), k("div", {
1108
+ return (u, d) => {
1109
+ const f = L("v-icon"), g = L("v-spacer"), _ = ae("ripple");
1110
+ return re((S(), k("div", {
1111
1111
  class: "d-flex align-center cursor-pointer",
1112
- style: se(i.value),
1112
+ style: ie(i.value),
1113
1113
  onClick: s,
1114
1114
  onContextmenu: z(a, ["prevent"]),
1115
- onMouseover: f[2] || (f[2] = (C) => o.value = !0),
1116
- onMouseout: f[3] || (f[3] = (C) => o.value = !1)
1115
+ onMouseover: d[2] || (d[2] = (w) => o.value = !0),
1116
+ onMouseout: d[3] || (d[3] = (w) => o.value = !1)
1117
1117
  }, [
1118
- B(d, {
1118
+ B(f, {
1119
1119
  class: "mr-1",
1120
- icon: u.collapse ? j(On) : j(Pn)
1120
+ icon: u.collapse ? E(xn) : E(On)
1121
1121
  }, null, 8, ["icon"]),
1122
- q("span", null, re(u.title), 1),
1123
- B(h),
1124
- u.hasCreate ? (A(), F(d, {
1122
+ q("span", null, ne(u.title), 1),
1123
+ B(g),
1124
+ u.hasCreate ? (S(), R(f, {
1125
1125
  key: 0,
1126
1126
  class: "mx-3",
1127
- icon: j($s),
1128
- onClick: f[0] || (f[0] = z((C) => l("create"), ["stop"]))
1127
+ icon: E(ws),
1128
+ onClick: d[0] || (d[0] = z((w) => l("create"), ["stop"]))
1129
1129
  }, null, 8, ["icon"])) : I("", !0),
1130
- u.hasDelete ? (A(), F(d, {
1130
+ u.hasDelete ? (S(), R(f, {
1131
1131
  key: 1,
1132
1132
  class: "mx-3",
1133
- icon: j(ye),
1134
- onClick: f[1] || (f[1] = z((C) => l("delete", u.index), ["stop"]))
1133
+ icon: E(ge),
1134
+ onClick: d[1] || (d[1] = z((w) => l("delete", u.index), ["stop"]))
1135
1135
  }, null, 8, ["icon"])) : I("", !0)
1136
1136
  ], 36)), [
1137
- [T]
1137
+ [_]
1138
1138
  ]);
1139
1139
  };
1140
1140
  }
1141
- }), Ts = /* @__PURE__ */ K({
1141
+ }), As = /* @__PURE__ */ K({
1142
1142
  __name: "entry",
1143
1143
  props: {
1144
1144
  minHeight: {}
1145
1145
  },
1146
1146
  emits: ["menu"],
1147
1147
  setup(e, { emit: t }) {
1148
- const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = R(!1), i = G(() => ({
1148
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = F(!1), i = G(() => ({
1149
1149
  background: o.value ? r.value : n.value,
1150
1150
  minHeight: e.minHeight,
1151
1151
  paddingRight: "4px",
@@ -1155,41 +1155,41 @@ const Fe = /* @__PURE__ */ K({
1155
1155
  l("menu", a.clientX, a.clientY);
1156
1156
  };
1157
1157
  return (a, u) => {
1158
- const f = ue("ripple");
1159
- return oe((A(), k("div", {
1158
+ const d = ae("ripple");
1159
+ return re((S(), k("div", {
1160
1160
  class: "d-flex justify-space-between align-center cursor-pointer",
1161
- style: se(i.value),
1161
+ style: ie(i.value),
1162
1162
  onContextmenu: z(s, ["prevent"]),
1163
- onMouseover: u[0] || (u[0] = (d) => o.value = !0),
1164
- onMouseout: u[1] || (u[1] = (d) => o.value = !1)
1163
+ onMouseover: u[0] || (u[0] = (f) => o.value = !0),
1164
+ onMouseout: u[1] || (u[1] = (f) => o.value = !1)
1165
1165
  }, [
1166
- Bn(a.$slots, "default")
1166
+ Hn(a.$slots, "default")
1167
1167
  ], 36)), [
1168
- [f]
1168
+ [d]
1169
1169
  ]);
1170
1170
  };
1171
1171
  }
1172
1172
  });
1173
- function Ss(e, t, n) {
1174
- const { t: r } = pe();
1173
+ function Cs(e, t, n) {
1174
+ const { t: r } = de();
1175
1175
  return { renderProp: (o, i, s) => {
1176
1176
  let a = r(i.name);
1177
- return be(e.value, o) && (a += " *"), y(
1178
- Ts,
1177
+ return be(e.value, o) && (a += " *"), h(
1178
+ As,
1179
1179
  {
1180
1180
  minHeight: t.value,
1181
- onMenu: (u, f) => {
1182
- te.emit("propTreeMenu", { x: u, y: f, keys: o });
1181
+ onMenu: (u, d) => {
1182
+ _e.emit("propTreeMenu", { x: u, y: d, keys: o });
1183
1183
  }
1184
1184
  },
1185
1185
  () => [
1186
- y("span", { class: "ml-1", innerHTML: a }),
1187
- y("div", { style: { width: n.value } }, s)
1186
+ h("span", { class: "ml-1", innerHTML: a }),
1187
+ h("div", { style: { width: n.value } }, s)
1188
1188
  ]
1189
1189
  );
1190
1190
  } };
1191
1191
  }
1192
- function As(e) {
1192
+ function Ps(e) {
1193
1193
  return { renderUiDummy: (n, r, l, o, i) => {
1194
1194
  if (r.ui !== "dummy") {
1195
1195
  console.assert(!1, "renderUiDummy prop ui must be dummy");
@@ -1204,7 +1204,7 @@ function As(e) {
1204
1204
  }
1205
1205
  } };
1206
1206
  }
1207
- const ws = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PURE__ */ K({
1207
+ const Os = { class: "d-flex justify-space-between align-center" }, xs = /* @__PURE__ */ K({
1208
1208
  __name: "strInput",
1209
1209
  props: /* @__PURE__ */ X({
1210
1210
  hasDelete: { type: Boolean, default: !1 },
@@ -1215,11 +1215,11 @@ const ws = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PU
1215
1215
  }),
1216
1216
  emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1217
1217
  setup(e, { emit: t }) {
1218
- const n = le(e, "modelValue"), r = t;
1218
+ const n = oe(e, "modelValue"), r = t;
1219
1219
  return (l, o) => {
1220
- const i = M("v-text-field"), s = M("v-icon"), a = ue("ripple");
1221
- return A(), k("div", ws, [
1222
- oe(B(i, {
1220
+ const i = L("v-text-field"), s = L("v-icon"), a = ae("ripple");
1221
+ return S(), k("div", Os, [
1222
+ re(B(i, {
1223
1223
  modelValue: n.value,
1224
1224
  "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
1225
1225
  density: "compact",
@@ -1234,19 +1234,19 @@ const ws = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PU
1234
1234
  { stop: !0 }
1235
1235
  ]
1236
1236
  ]),
1237
- l.hasDelete ? (A(), F(s, {
1237
+ l.hasDelete ? (S(), R(s, {
1238
1238
  key: 0,
1239
1239
  class: "mx-2",
1240
- icon: j(ye),
1240
+ icon: E(ge),
1241
1241
  onClick: o[1] || (o[1] = z((u) => r("delete"), ["stop"]))
1242
1242
  }, null, 8, ["icon"])) : I("", !0)
1243
1243
  ]);
1244
1244
  };
1245
1245
  }
1246
- }), he = (e, t, n, r, l, o) => {
1246
+ }), ye = (e, t, n, r, l, o) => {
1247
1247
  const i = N(t, !0);
1248
1248
  return l !== void 0 && !o ? (typeof n[l] != typeof i && (n[l] = i, r(e, n[l])), n[l]) : (typeof n[t.key] != typeof i && (n[t.key] = i, r(e, n[t.key])), n[t.key]);
1249
- }, _e = (e, t, n, r, l, o, i) => {
1249
+ }, he = (e, t, n, r, l, o, i) => {
1250
1250
  const s = N(t, !0);
1251
1251
  if (typeof r != typeof s) {
1252
1252
  console.assert(!1);
@@ -1254,9 +1254,9 @@ const ws = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PU
1254
1254
  }
1255
1255
  o !== void 0 && !i ? r !== n[o] && (n[o] = r, l(e, n[o])) : r !== n[t.key] && (n[t.key] = r, l(e, n[t.key]));
1256
1256
  };
1257
- function Ps(e) {
1258
- return { renderUiStrInput: (n, r, l, o, i) => r.ui !== "strInput" ? (console.assert(!1), y("div", "renderUiStrInput prop ui must be strInput")) : y(Cs, {
1259
- modelValue: r.static ? r.value : he(
1257
+ function Ls(e) {
1258
+ return { renderUiStrInput: (n, r, l, o, i) => r.ui !== "strInput" ? (console.assert(!1), h("div", "renderUiStrInput prop ui must be strInput")) : h(xs, {
1259
+ modelValue: r.static ? r.value : ye(
1260
1260
  n,
1261
1261
  r,
1262
1262
  l,
@@ -1265,7 +1265,7 @@ function Ps(e) {
1265
1265
  i
1266
1266
  ),
1267
1267
  "onUpdate:modelValue": (s) => {
1268
- r.static || _e(
1268
+ r.static || he(
1269
1269
  n,
1270
1270
  r,
1271
1271
  l,
@@ -1282,7 +1282,7 @@ function Ps(e) {
1282
1282
  readonly: r.static || r.readonly
1283
1283
  }) };
1284
1284
  }
1285
- const Os = { class: "d-flex justify-space-between align-center" }, Ls = /* @__PURE__ */ K({
1285
+ const Ms = { class: "d-flex justify-space-between align-center" }, Vs = /* @__PURE__ */ K({
1286
1286
  __name: "numInput",
1287
1287
  props: /* @__PURE__ */ X({
1288
1288
  hasDelete: { type: Boolean, default: !1 },
@@ -1297,11 +1297,11 @@ const Os = { class: "d-flex justify-space-between align-center" }, Ls = /* @__PU
1297
1297
  }),
1298
1298
  emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1299
1299
  setup(e, { emit: t }) {
1300
- const n = le(e, "modelValue"), r = t;
1300
+ const n = oe(e, "modelValue"), r = t;
1301
1301
  return (l, o) => {
1302
- const i = M("v-number-input"), s = M("v-icon"), a = ue("ripple");
1303
- return A(), k("div", Os, [
1304
- oe(B(i, {
1302
+ const i = L("v-number-input"), s = L("v-icon"), a = ae("ripple");
1303
+ return S(), k("div", Ms, [
1304
+ re(B(i, {
1305
1305
  modelValue: n.value,
1306
1306
  "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
1307
1307
  density: "compact",
@@ -1321,19 +1321,19 @@ const Os = { class: "d-flex justify-space-between align-center" }, Ls = /* @__PU
1321
1321
  { stop: !0 }
1322
1322
  ]
1323
1323
  ]),
1324
- l.hasDelete ? (A(), F(s, {
1324
+ l.hasDelete ? (S(), R(s, {
1325
1325
  key: 0,
1326
1326
  class: "mx-2",
1327
- icon: j(ye),
1327
+ icon: E(ge),
1328
1328
  onClick: o[1] || (o[1] = z((u) => r("delete"), ["stop"]))
1329
1329
  }, null, 8, ["icon"])) : I("", !0)
1330
1330
  ]);
1331
1331
  };
1332
1332
  }
1333
1333
  });
1334
- function xs(e) {
1335
- return { renderUiNumInput: (n, r, l, o, i) => r.ui !== "numInput" ? (console.assert(!1), y("div", "renderUiNumInput prop ui must be numInput")) : y(Ls, {
1336
- modelValue: he(
1334
+ function Us(e) {
1335
+ return { renderUiNumInput: (n, r, l, o, i) => r.ui !== "numInput" ? (console.assert(!1), h("div", "renderUiNumInput prop ui must be numInput")) : h(Vs, {
1336
+ modelValue: ye(
1337
1337
  n,
1338
1338
  r,
1339
1339
  l,
@@ -1342,7 +1342,7 @@ function xs(e) {
1342
1342
  i
1343
1343
  ),
1344
1344
  "onUpdate:modelValue": (s) => {
1345
- _e(
1345
+ he(
1346
1346
  n,
1347
1347
  r,
1348
1348
  l,
@@ -1359,7 +1359,7 @@ function xs(e) {
1359
1359
  readonly: r.readonly
1360
1360
  }) };
1361
1361
  }
1362
- const Ms = { class: "d-flex justify-space-between align-center" }, Vs = /* @__PURE__ */ K({
1362
+ const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PURE__ */ K({
1363
1363
  __name: "switch",
1364
1364
  props: /* @__PURE__ */ X({
1365
1365
  hasDelete: { type: Boolean, default: !1 },
@@ -1370,10 +1370,10 @@ const Ms = { class: "d-flex justify-space-between align-center" }, Vs = /* @__PU
1370
1370
  }),
1371
1371
  emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1372
1372
  setup(e, { emit: t }) {
1373
- const n = le(e, "modelValue"), r = t;
1373
+ const n = oe(e, "modelValue"), r = t;
1374
1374
  return (l, o) => {
1375
- const i = M("v-switch"), s = M("v-icon");
1376
- return A(), k("div", Ms, [
1375
+ const i = L("v-switch"), s = L("v-icon");
1376
+ return S(), k("div", Ds, [
1377
1377
  B(i, {
1378
1378
  modelValue: n.value,
1379
1379
  "onUpdate:modelValue": o[0] || (o[0] = (a) => n.value = a),
@@ -1383,19 +1383,19 @@ const Ms = { class: "d-flex justify-space-between align-center" }, Vs = /* @__PU
1383
1383
  "hide-details": "",
1384
1384
  readonly: l.readonly
1385
1385
  }, null, 8, ["modelValue", "readonly"]),
1386
- l.hasDelete ? (A(), F(s, {
1386
+ l.hasDelete ? (S(), R(s, {
1387
1387
  key: 0,
1388
1388
  class: "mx-2",
1389
- icon: j(ye),
1389
+ icon: E(ge),
1390
1390
  onClick: o[1] || (o[1] = z((a) => r("delete"), ["stop"]))
1391
1391
  }, null, 8, ["icon"])) : I("", !0)
1392
1392
  ]);
1393
1393
  };
1394
1394
  }
1395
1395
  });
1396
- function Us(e) {
1397
- return { renderUiSwitch: (n, r, l, o, i) => r.ui !== "switch" ? (console.assert(!1), y("div", "renderUiSwitch prop ui must be switch")) : y(Vs, {
1398
- modelValue: he(
1396
+ function Es(e) {
1397
+ return { renderUiSwitch: (n, r, l, o, i) => r.ui !== "switch" ? (console.assert(!1), h("div", "renderUiSwitch prop ui must be switch")) : h(js, {
1398
+ modelValue: ye(
1399
1399
  n,
1400
1400
  r,
1401
1401
  l,
@@ -1404,7 +1404,7 @@ function Us(e) {
1404
1404
  i
1405
1405
  ),
1406
1406
  "onUpdate:modelValue": (s) => {
1407
- _e(
1407
+ he(
1408
1408
  n,
1409
1409
  r,
1410
1410
  l,
@@ -1421,7 +1421,7 @@ function Us(e) {
1421
1421
  readonly: r.readonly
1422
1422
  }) };
1423
1423
  }
1424
- const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PURE__ */ K({
1424
+ const Ns = { class: "d-flex justify-space-between align-center" }, Bs = /* @__PURE__ */ K({
1425
1425
  __name: "select",
1426
1426
  props: /* @__PURE__ */ X({
1427
1427
  hasDelete: { type: Boolean, default: !1 },
@@ -1433,11 +1433,11 @@ const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PU
1433
1433
  }),
1434
1434
  emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1435
1435
  setup(e, { emit: t }) {
1436
- const n = le(e, "modelValue"), r = t;
1436
+ const n = oe(e, "modelValue"), r = t;
1437
1437
  return (l, o) => {
1438
- const i = M("v-select"), s = M("v-icon"), a = ue("ripple");
1439
- return A(), k("div", Ds, [
1440
- oe(B(i, {
1438
+ const i = L("v-select"), s = L("v-icon"), a = ae("ripple");
1439
+ return S(), k("div", Ns, [
1440
+ re(B(i, {
1441
1441
  modelValue: n.value,
1442
1442
  "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
1443
1443
  density: "compact",
@@ -1453,20 +1453,20 @@ const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PU
1453
1453
  { stop: !0 }
1454
1454
  ]
1455
1455
  ]),
1456
- l.hasDelete ? (A(), F(s, {
1456
+ l.hasDelete ? (S(), R(s, {
1457
1457
  key: 0,
1458
1458
  class: "mx-2",
1459
- icon: j(ye),
1459
+ icon: E(ge),
1460
1460
  onClick: o[1] || (o[1] = z((u) => r("delete"), ["stop"]))
1461
1461
  }, null, 8, ["icon"])) : I("", !0)
1462
1462
  ]);
1463
1463
  };
1464
1464
  }
1465
1465
  });
1466
- function Es(e) {
1467
- const { t } = pe();
1468
- return { renderUiSelect: (r, l, o, i, s) => l.ui !== "select" ? (console.assert(!1), y("div", "renderUiSelect prop ui must be select")) : y(js, {
1469
- modelValue: he(
1466
+ function Fs(e) {
1467
+ const { t } = de();
1468
+ return { renderUiSelect: (r, l, o, i, s) => l.ui !== "select" ? (console.assert(!1), h("div", "renderUiSelect prop ui must be select")) : h(Bs, {
1469
+ modelValue: ye(
1470
1470
  r,
1471
1471
  l,
1472
1472
  o,
@@ -1475,7 +1475,7 @@ function Es(e) {
1475
1475
  s
1476
1476
  ),
1477
1477
  "onUpdate:modelValue": (a) => {
1478
- _e(
1478
+ he(
1479
1479
  r,
1480
1480
  l,
1481
1481
  o,
@@ -1491,17 +1491,17 @@ function Es(e) {
1491
1491
  },
1492
1492
  items: (() => {
1493
1493
  const a = [];
1494
- return l.items.forEach(({ title: u, value: f }) => {
1494
+ return l.items.forEach(({ title: u, value: d }) => {
1495
1495
  a.push({
1496
1496
  title: t(u),
1497
- value: f
1497
+ value: d
1498
1498
  });
1499
1499
  }), a;
1500
1500
  })(),
1501
1501
  readonly: l.readonly
1502
1502
  }) };
1503
1503
  }
1504
- const Ns = { class: "text-subtitle-2 ml-1" }, Bs = { class: "text-caption text-grey ml-1" }, Rs = /* @__PURE__ */ K({
1504
+ const Rs = { class: "text-subtitle-2 ml-1" }, ks = { class: "text-caption text-grey ml-1" }, Hs = /* @__PURE__ */ K({
1505
1505
  __name: "group",
1506
1506
  props: {
1507
1507
  id: {},
@@ -1511,33 +1511,33 @@ const Ns = { class: "text-subtitle-2 ml-1" }, Bs = { class: "text-caption text-g
1511
1511
  },
1512
1512
  emits: ["x-click"],
1513
1513
  setup(e, { emit: t }) {
1514
- const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = R(!1), s = G(() => ({
1514
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = F(!1), s = G(() => ({
1515
1515
  background: i.value ? r.value : n.value,
1516
1516
  height: "30px",
1517
1517
  marginBottom: "1px",
1518
1518
  userSelect: "none"
1519
1519
  }));
1520
1520
  return (a, u) => {
1521
- const f = M("v-icon"), d = ue("ripple");
1522
- return oe((A(), k("div", {
1521
+ const d = L("v-icon"), f = ae("ripple");
1522
+ return re((S(), k("div", {
1523
1523
  class: "d-flex align-center cursor-pointer",
1524
- style: se(s.value),
1525
- onClick: u[0] || (u[0] = (h) => o("x-click", l.id)),
1526
- onMouseover: u[1] || (u[1] = (h) => i.value = !0),
1527
- onMouseout: u[2] || (u[2] = (h) => i.value = !1)
1524
+ style: ie(s.value),
1525
+ onClick: u[0] || (u[0] = (g) => o("x-click", l.id)),
1526
+ onMouseover: u[1] || (u[1] = (g) => i.value = !0),
1527
+ onMouseout: u[2] || (u[2] = (g) => i.value = !1)
1528
1528
  }, [
1529
- B(f, {
1530
- icon: l.collapse ? j(On) : j(Pn),
1529
+ B(d, {
1530
+ icon: l.collapse ? E(xn) : E(On),
1531
1531
  size: "small"
1532
1532
  }, null, 8, ["icon"]),
1533
- q("span", Ns, re(l.title), 1),
1534
- q("span", Bs, re(l.count), 1)
1533
+ q("span", Rs, ne(l.title), 1),
1534
+ q("span", ks, ne(l.count), 1)
1535
1535
  ], 36)), [
1536
- [d]
1536
+ [f]
1537
1537
  ]);
1538
1538
  };
1539
1539
  }
1540
- }), Fs = { class: "text-subtitle-1 ml-6" }, ks = /* @__PURE__ */ K({
1540
+ }), Gs = { class: "text-subtitle-1 ml-6" }, Ks = /* @__PURE__ */ K({
1541
1541
  __name: "item",
1542
1542
  props: {
1543
1543
  id: {},
@@ -1545,31 +1545,31 @@ const Ns = { class: "text-subtitle-2 ml-1" }, Bs = { class: "text-caption text-g
1545
1545
  },
1546
1546
  emits: ["x-click"],
1547
1547
  setup(e, { emit: t }) {
1548
- const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = R(!1), s = G(() => ({
1548
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = F(!1), s = G(() => ({
1549
1549
  background: i.value ? r.value : n.value,
1550
1550
  height: "48px",
1551
1551
  marginBottom: "1px",
1552
1552
  userSelect: "none"
1553
1553
  }));
1554
1554
  return (a, u) => {
1555
- const f = ue("ripple");
1556
- return oe((A(), k("div", {
1555
+ const d = ae("ripple");
1556
+ return re((S(), k("div", {
1557
1557
  class: "d-flex align-center cursor-pointer",
1558
- style: se(s.value),
1559
- onClick: u[0] || (u[0] = (d) => o("x-click", l.id)),
1560
- onMouseover: u[1] || (u[1] = (d) => i.value = !0),
1561
- onMouseout: u[2] || (u[2] = (d) => i.value = !1)
1558
+ style: ie(s.value),
1559
+ onClick: u[0] || (u[0] = (f) => o("x-click", l.id)),
1560
+ onMouseover: u[1] || (u[1] = (f) => i.value = !0),
1561
+ onMouseout: u[2] || (u[2] = (f) => i.value = !1)
1562
1562
  }, [
1563
- q("span", Fs, re(l.title), 1)
1563
+ q("span", Gs, ne(l.title), 1)
1564
1564
  ], 36)), [
1565
- [f]
1565
+ [d]
1566
1566
  ]);
1567
1567
  };
1568
1568
  }
1569
- }), Hs = { key: 0 }, Gs = {
1569
+ }), zs = { key: 0 }, qs = {
1570
1570
  key: 1,
1571
1571
  class: "text-body-2 text-grey ml-3"
1572
- }, Ks = /* @__PURE__ */ K({
1572
+ }, Is = /* @__PURE__ */ K({
1573
1573
  __name: "index",
1574
1574
  props: {
1575
1575
  modelValue: { required: !0 },
@@ -1579,17 +1579,17 @@ const Ns = { class: "text-subtitle-2 ml-1" }, Bs = { class: "text-caption text-g
1579
1579
  },
1580
1580
  emits: ["update:modelValue", "update:open"],
1581
1581
  setup(e) {
1582
- const { t } = pe(), n = le(e, "modelValue"), r = le(e, "open"), l = Cn(), o = (s) => {
1583
- const a = bn(l, s);
1584
- a && ns(l, s, !a.collapse);
1582
+ const { t } = de(), n = oe(e, "modelValue"), r = oe(e, "open"), l = Pn(), o = (s) => {
1583
+ const a = $n(l, s);
1584
+ a && ls(l, s, !a.collapse);
1585
1585
  }, i = (s) => {
1586
- n.value = s, r.value = !1;
1586
+ n.value = s, r.value = !1, _e.emit("refreshDepends");
1587
1587
  };
1588
- return (s, a) => j(l).length > 0 ? (A(), k("div", Hs, [
1589
- (A(!0), k(He, null, qt(j(l), (u) => (A(), k(He, {
1588
+ return (s, a) => E(l).length > 0 ? (S(), k("div", zs, [
1589
+ (S(!0), k(He, null, qt(E(l), (u) => (S(), k(He, {
1590
1590
  key: u.id
1591
1591
  }, [
1592
- u.type === 0 ? (A(), F(Rs, {
1592
+ u.type === 0 ? (S(), R(Hs, {
1593
1593
  key: 0,
1594
1594
  id: u.id,
1595
1595
  title: u.name,
@@ -1597,16 +1597,16 @@ const Ns = { class: "text-subtitle-2 ml-1" }, Bs = { class: "text-caption text-g
1597
1597
  count: u.count ?? 0,
1598
1598
  onXClick: o
1599
1599
  }, null, 8, ["id", "title", "collapse", "count"])) : I("", !0),
1600
- u.type === 1 && u.show ? (A(), F(ks, {
1600
+ u.type === 1 && u.show ? (S(), R(Ks, {
1601
1601
  key: 1,
1602
1602
  id: u.id,
1603
1603
  title: u.name,
1604
1604
  onXClick: i
1605
1605
  }, null, 8, ["id", "title"])) : I("", !0)
1606
1606
  ], 64))), 128))
1607
- ])) : (A(), k("div", Gs, re(j(t)("x-prop-tree.noComp")), 1));
1607
+ ])) : (S(), k("div", qs, ne(E(t)("x-prop-tree.noComp")), 1));
1608
1608
  }
1609
- }), zs = { class: "text-subtitle-1 ml-3" }, qs = /* @__PURE__ */ K({
1609
+ }), Xs = { class: "text-subtitle-1 ml-3" }, Zs = /* @__PURE__ */ K({
1610
1610
  __name: "index",
1611
1611
  props: {
1612
1612
  modelValue: { required: !0 },
@@ -1614,96 +1614,91 @@ const Ns = { class: "text-subtitle-2 ml-1" }, Bs = { class: "text-caption text-g
1614
1614
  },
1615
1615
  emits: ["update:modelValue"],
1616
1616
  setup(e) {
1617
- const { t } = pe(), n = Zn(), { sysBarAvail: r } = qn(), { backgroundColor1: l } = Te(), o = le(e, "modelValue"), i = Cn(), s = G(() => {
1618
- let _ = "100%";
1619
- return n.mdAndUp.value && (_ = "400px"), {
1617
+ const { t } = de(), n = Wn(), { sysBarAvail: r } = Zn(), { backgroundColor1: l } = Te(), o = oe(e, "modelValue"), i = Pn(), s = G(() => {
1618
+ let g = "100%";
1619
+ return n.mdAndUp.value && (g = "400px"), {
1620
1620
  background: l.value,
1621
- width: _,
1621
+ width: g,
1622
1622
  height: "100%"
1623
1623
  };
1624
1624
  }), a = G(() => {
1625
- let _ = 48;
1626
- return r.value && (_ += 24), {
1625
+ let g = 48;
1626
+ return r.value && (g += 24), {
1627
1627
  position: "relative",
1628
1628
  width: "100%",
1629
- height: `calc(100% - ${_}px)`
1629
+ height: `calc(100% - ${g}px)`
1630
1630
  };
1631
1631
  }), u = G(() => ({
1632
1632
  height: "60px"
1633
- })), f = G(() => {
1633
+ })), d = G(() => {
1634
1634
  if (!o.value)
1635
1635
  return t("x-prop-tree.notSet");
1636
- const _ = bn(i, o.value);
1637
- return _ ? _.name : t("x-runtime-lib.compNotAvail");
1638
- }), d = `compSelectDlg@${Rn()}`, h = () => {
1639
- te.emit("refreshCompList");
1640
- }, { open: T } = It(d, h), C = () => {
1641
- te.emit(d);
1642
- };
1643
- return (_, p) => {
1644
- const w = M("v-btn"), E = M("v-sheet"), L = M("v-icon"), P = M("v-dialog");
1645
- return A(), F(P, {
1646
- modelValue: j(T),
1647
- "onUpdate:modelValue": p[5] || (p[5] = ($) => nt(T) ? T.value = $ : null),
1636
+ const g = $n(i, o.value);
1637
+ return g ? g.name : t("x-runtime-lib.compNotAvail");
1638
+ }), { open: f } = Xt(`compSelectDlg@${Gn()}`);
1639
+ return (g, _) => {
1640
+ const w = L("v-btn"), C = L("v-sheet"), y = L("v-icon"), $ = L("v-dialog");
1641
+ return S(), R($, {
1642
+ modelValue: E(f),
1643
+ "onUpdate:modelValue": _[5] || (_[5] = (A) => nt(f) ? f.value = A : null),
1648
1644
  transition: "scroll-x-reverse-transition",
1649
1645
  persistent: "",
1650
1646
  "no-click-animation": "",
1651
1647
  fullscreen: "",
1652
- onKeydown: p[6] || (p[6] = Fn(z(($) => T.value = !1, ["stop", "prevent"]), ["esc"]))
1648
+ onKeydown: _[6] || (_[6] = Kn(z((A) => f.value = !1, ["stop", "prevent"]), ["esc"]))
1653
1649
  }, {
1654
- activator: Y(() => [
1655
- B(w, {
1650
+ activator: Y(({ props: A }) => [
1651
+ B(w, It(A, {
1656
1652
  density: "comfortable",
1657
- block: "",
1658
- onClick: C
1659
- }, {
1653
+ block: ""
1654
+ }), {
1660
1655
  default: Y(() => [
1661
- at(re(f.value), 1)
1656
+ at(ne(d.value), 1)
1662
1657
  ]),
1663
- _: 1
1664
- })
1658
+ _: 2
1659
+ }, 1040)
1665
1660
  ]),
1666
1661
  default: Y(() => [
1667
1662
  q("div", {
1668
1663
  class: "w-100 h-100 d-flex flex-row-reverse",
1669
- onClick: p[3] || (p[3] = z(($) => T.value = !1, ["self"])),
1670
- onContextmenu: p[4] || (p[4] = z(($) => T.value = !1, ["self", "prevent"]))
1664
+ onClick: _[3] || (_[3] = z((A) => f.value = !1, ["self"])),
1665
+ onContextmenu: _[4] || (_[4] = z((A) => f.value = !1, ["self", "prevent"]))
1671
1666
  }, [
1672
1667
  q("div", {
1673
1668
  class: "elevation-2",
1674
- style: se(s.value)
1669
+ style: ie(s.value)
1675
1670
  }, [
1676
- j(r) ? (A(), F(E, {
1671
+ E(r) ? (S(), R(C, {
1677
1672
  key: 0,
1678
1673
  color: "transparent",
1679
1674
  height: 24
1680
1675
  })) : I("", !0),
1681
- B(E, {
1676
+ B(C, {
1682
1677
  class: "d-flex align-center px-3",
1683
1678
  color: "transparent",
1684
1679
  height: 48
1685
1680
  }, {
1686
1681
  default: Y(() => [
1687
- B(L, {
1688
- icon: j(bs),
1689
- onClick: p[0] || (p[0] = ($) => T.value = !1)
1682
+ B(y, {
1683
+ icon: E(Ss),
1684
+ onClick: _[0] || (_[0] = (A) => f.value = !1)
1690
1685
  }, null, 8, ["icon"]),
1691
- q("span", zs, re(j(t)("x-prop-tree.dlg.compSelect.title")), 1)
1686
+ q("span", Xs, ne(E(t)("x-prop-tree.dlg.compSelect.title")), 1)
1692
1687
  ]),
1693
1688
  _: 1
1694
1689
  }),
1695
1690
  q("div", {
1696
1691
  class: "overflow-y-auto",
1697
- style: se(a.value)
1692
+ style: ie(a.value)
1698
1693
  }, [
1699
- B(Ks, {
1694
+ B(Is, {
1700
1695
  modelValue: o.value,
1701
- "onUpdate:modelValue": p[1] || (p[1] = ($) => o.value = $),
1702
- open: j(T),
1703
- "onUpdate:open": p[2] || (p[2] = ($) => nt(T) ? T.value = $ : null)
1696
+ "onUpdate:modelValue": _[1] || (_[1] = (A) => o.value = A),
1697
+ open: E(f),
1698
+ "onUpdate:open": _[2] || (_[2] = (A) => nt(f) ? f.value = A : null)
1704
1699
  }, null, 8, ["modelValue", "open"]),
1705
1700
  q("div", {
1706
- style: se(u.value)
1701
+ style: ie(u.value)
1707
1702
  }, null, 4)
1708
1703
  ], 4)
1709
1704
  ], 4)
@@ -1714,9 +1709,9 @@ const Ns = { class: "text-subtitle-2 ml-1" }, Bs = { class: "text-caption text-g
1714
1709
  };
1715
1710
  }
1716
1711
  });
1717
- function Is(e) {
1718
- return { renderUiCompSelect: (n, r, l, o, i) => r.ui !== "compSelect" ? (console.assert(!1), y("div", "renderUiCompSelect prop ui must be compSelect")) : y(qs, {
1719
- modelValue: he(
1712
+ function Ys(e) {
1713
+ return { renderUiCompSelect: (n, r, l, o, i) => r.ui !== "compSelect" ? (console.assert(!1), h("div", "renderUiCompSelect prop ui must be compSelect")) : h(Zs, {
1714
+ modelValue: ye(
1720
1715
  n,
1721
1716
  r,
1722
1717
  l,
@@ -1725,7 +1720,7 @@ function Is(e) {
1725
1720
  i
1726
1721
  ),
1727
1722
  "onUpdate:modelValue": (s) => {
1728
- _e(
1723
+ he(
1729
1724
  n,
1730
1725
  r,
1731
1726
  l,
@@ -1737,7 +1732,7 @@ function Is(e) {
1737
1732
  }
1738
1733
  }) };
1739
1734
  }
1740
- const Xs = { class: "d-flex justify-space-between align-center" }, Zs = /* @__PURE__ */ K({
1735
+ const Js = { class: "d-flex justify-space-between align-center" }, Ws = /* @__PURE__ */ K({
1741
1736
  __name: "colorPicker",
1742
1737
  props: /* @__PURE__ */ X({
1743
1738
  hasDelete: { type: Boolean, default: !1 },
@@ -1748,45 +1743,45 @@ const Xs = { class: "d-flex justify-space-between align-center" }, Zs = /* @__PU
1748
1743
  }),
1749
1744
  emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1750
1745
  setup(e, { emit: t }) {
1751
- const n = le(e, "modelValue"), r = t, l = G(() => {
1746
+ const n = oe(e, "modelValue"), r = t, l = G(() => {
1752
1747
  let i = "100%";
1753
1748
  return e.hasDelete && (i = "calc(100% - 37px)"), {
1754
1749
  width: i
1755
1750
  };
1756
1751
  }), o = G(() => e.readonly);
1757
1752
  return (i, s) => {
1758
- const a = M("v-btn"), u = M("v-icon"), f = M("v-color-picker"), d = M("v-menu");
1759
- return A(), F(d, { "close-on-content-click": !1 }, {
1760
- activator: Y(({ props: h }) => [
1761
- q("div", Xs, [
1753
+ const a = L("v-btn"), u = L("v-icon"), d = L("v-color-picker"), f = L("v-menu");
1754
+ return S(), R(f, { "close-on-content-click": !1 }, {
1755
+ activator: Y(({ props: g }) => [
1756
+ q("div", Js, [
1762
1757
  q("div", {
1763
1758
  class: "flex-grow-1",
1764
- style: se(l.value)
1759
+ style: ie(l.value)
1765
1760
  }, [
1766
- B(a, kn(h, {
1761
+ B(a, It(g, {
1767
1762
  density: "comfortable",
1768
1763
  color: n.value,
1769
1764
  block: "",
1770
1765
  disabled: o.value
1771
1766
  }), {
1772
1767
  default: Y(() => [
1773
- at(re(n.value), 1)
1768
+ at(ne(n.value), 1)
1774
1769
  ]),
1775
1770
  _: 2
1776
1771
  }, 1040, ["color", "disabled"])
1777
1772
  ], 4),
1778
- i.hasDelete ? (A(), F(u, {
1773
+ i.hasDelete ? (S(), R(u, {
1779
1774
  key: 0,
1780
1775
  class: "mx-2",
1781
- icon: j(ye),
1782
- onClick: s[0] || (s[0] = z((T) => r("delete"), ["stop"]))
1776
+ icon: E(ge),
1777
+ onClick: s[0] || (s[0] = z((_) => r("delete"), ["stop"]))
1783
1778
  }, null, 8, ["icon"])) : I("", !0)
1784
1779
  ])
1785
1780
  ]),
1786
1781
  default: Y(() => [
1787
- B(f, {
1782
+ B(d, {
1788
1783
  modelValue: n.value,
1789
- "onUpdate:modelValue": s[1] || (s[1] = (h) => n.value = h),
1784
+ "onUpdate:modelValue": s[1] || (s[1] = (g) => n.value = g),
1790
1785
  mode: "hexa",
1791
1786
  "show-swatches": "",
1792
1787
  "swatches-max-height": "150px"
@@ -1797,9 +1792,9 @@ const Xs = { class: "d-flex justify-space-between align-center" }, Zs = /* @__PU
1797
1792
  };
1798
1793
  }
1799
1794
  });
1800
- function Ys(e) {
1801
- return { renderUiColorPicker: (n, r, l, o, i) => r.ui !== "colorPicker" ? (console.assert(!1), y("div", "renderUiColorPicker prop ui must be colorPicker")) : y(Zs, {
1802
- modelValue: he(
1795
+ function Qs(e) {
1796
+ return { renderUiColorPicker: (n, r, l, o, i) => r.ui !== "colorPicker" ? (console.assert(!1), h("div", "renderUiColorPicker prop ui must be colorPicker")) : h(Ws, {
1797
+ modelValue: ye(
1803
1798
  n,
1804
1799
  r,
1805
1800
  l,
@@ -1808,7 +1803,7 @@ function Ys(e) {
1808
1803
  i
1809
1804
  ),
1810
1805
  "onUpdate:modelValue": (s) => {
1811
- _e(
1806
+ he(
1812
1807
  n,
1813
1808
  r,
1814
1809
  l,
@@ -1825,7 +1820,7 @@ function Ys(e) {
1825
1820
  readonly: r.readonly
1826
1821
  }) };
1827
1822
  }
1828
- const Js = { class: "d-flex justify-space-between align-center my-2" }, Ws = { class: "flex-grow-1" }, Qs = /* @__PURE__ */ K({
1823
+ const ea = { class: "d-flex justify-space-between align-center my-2" }, ta = { class: "flex-grow-1" }, na = /* @__PURE__ */ K({
1829
1824
  __name: "multiTypes",
1830
1825
  props: /* @__PURE__ */ X({
1831
1826
  hasDelete: { type: Boolean, default: !1 },
@@ -1836,48 +1831,48 @@ const Js = { class: "d-flex justify-space-between align-center my-2" }, Ws = { c
1836
1831
  }),
1837
1832
  emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1838
1833
  setup(e, { emit: t }) {
1839
- const { t: n } = pe(), r = le(e, "modelValue"), l = t, o = R(0), i = G(() => {
1834
+ const { t: n } = de(), r = oe(e, "modelValue"), l = t, o = F(0), i = G(() => {
1840
1835
  const u = [];
1841
- return e.types.forEach((f, d) => {
1836
+ return e.types.forEach((d, f) => {
1842
1837
  u.push({
1843
- title: n(f.name),
1844
- value: d
1838
+ title: n(d.name),
1839
+ value: f
1845
1840
  });
1846
1841
  }), u;
1847
1842
  });
1848
- e.types.some((u, f) => u.validator(r.value) ? (o.value = f, !0) : !1);
1843
+ e.types.some((u, d) => u.validator(r.value) ? (o.value = d, !0) : !1);
1849
1844
  const s = G(() => e.types[o.value]);
1850
1845
  Ce(s, (u) => {
1851
1846
  r.value = u.default;
1852
1847
  });
1853
- const a = R(0);
1854
- return Hn(() => {
1855
- s.value.ui === "pixelInput" ? a.value = In(r.value) : s.value.ui === "percentInput" && (a.value = Xn(r.value));
1848
+ const a = F(0);
1849
+ return zn(() => {
1850
+ s.value.ui === "pixelInput" ? a.value = Yn(r.value) : s.value.ui === "percentInput" && (a.value = Jn(r.value));
1856
1851
  }), Ce(a, (u) => {
1857
1852
  s.value.ui === "pixelInput" ? r.value = u + "px" : s.value.ui === "percentInput" && (r.value = u + "%");
1858
- }), (u, f) => {
1859
- const d = M("v-select"), h = M("v-number-input"), T = M("v-icon"), C = ue("ripple");
1860
- return A(), k("div", Js, [
1861
- q("div", Ws, [
1862
- oe(B(d, {
1853
+ }), (u, d) => {
1854
+ const f = L("v-select"), g = L("v-number-input"), _ = L("v-icon"), w = ae("ripple");
1855
+ return S(), k("div", ea, [
1856
+ q("div", ta, [
1857
+ re(B(f, {
1863
1858
  modelValue: o.value,
1864
- "onUpdate:modelValue": f[0] || (f[0] = (_) => o.value = _),
1859
+ "onUpdate:modelValue": d[0] || (d[0] = (C) => o.value = C),
1865
1860
  density: "compact",
1866
1861
  items: i.value,
1867
1862
  "hide-details": "",
1868
1863
  "single-line": ""
1869
1864
  }, null, 8, ["modelValue", "items"]), [
1870
1865
  [
1871
- C,
1866
+ w,
1872
1867
  void 0,
1873
1868
  void 0,
1874
1869
  { stop: !0 }
1875
1870
  ]
1876
1871
  ]),
1877
- s.value.ui === "pixelInput" || s.value.ui === "percentInput" ? oe((A(), F(h, {
1872
+ s.value.ui === "pixelInput" || s.value.ui === "percentInput" ? re((S(), R(g, {
1878
1873
  key: 0,
1879
1874
  modelValue: a.value,
1880
- "onUpdate:modelValue": f[1] || (f[1] = (_) => a.value = _),
1875
+ "onUpdate:modelValue": d[1] || (d[1] = (C) => a.value = C),
1881
1876
  density: "compact",
1882
1877
  "control-variant": "stacked",
1883
1878
  precision: s.value.precision,
@@ -1888,26 +1883,26 @@ const Js = { class: "d-flex justify-space-between align-center my-2" }, Ws = { c
1888
1883
  "single-line": ""
1889
1884
  }, null, 8, ["modelValue", "precision", "min", "max", "step"])), [
1890
1885
  [
1891
- C,
1886
+ w,
1892
1887
  void 0,
1893
1888
  void 0,
1894
1889
  { stop: !0 }
1895
1890
  ]
1896
1891
  ]) : I("", !0)
1897
1892
  ]),
1898
- u.hasDelete ? (A(), F(T, {
1893
+ u.hasDelete ? (S(), R(_, {
1899
1894
  key: 0,
1900
1895
  class: "mx-2",
1901
- icon: j(ye),
1902
- onClick: f[2] || (f[2] = z((_) => l("delete"), ["stop"]))
1896
+ icon: E(ge),
1897
+ onClick: d[2] || (d[2] = z((C) => l("delete"), ["stop"]))
1903
1898
  }, null, 8, ["icon"])) : I("", !0)
1904
1899
  ]);
1905
1900
  };
1906
1901
  }
1907
1902
  });
1908
- function ea(e) {
1909
- return { renderUiMultiTypes: (n, r, l, o, i) => r.ui !== "multiTypes" ? (console.assert(!1), y("div", "renderUiMultiTypes prop ui must be multiTypes")) : y(Qs, {
1910
- modelValue: he(
1903
+ function ra(e) {
1904
+ return { renderUiMultiTypes: (n, r, l, o, i) => r.ui !== "multiTypes" ? (console.assert(!1), h("div", "renderUiMultiTypes prop ui must be multiTypes")) : h(na, {
1905
+ modelValue: ye(
1911
1906
  n,
1912
1907
  r,
1913
1908
  l,
@@ -1916,7 +1911,7 @@ function ea(e) {
1916
1911
  i
1917
1912
  ),
1918
1913
  "onUpdate:modelValue": (s) => {
1919
- _e(
1914
+ he(
1920
1915
  n,
1921
1916
  r,
1922
1917
  l,
@@ -1933,7 +1928,7 @@ function ea(e) {
1933
1928
  types: r.types
1934
1929
  }) };
1935
1930
  }
1936
- const ta = /* @__PURE__ */ K({
1931
+ const oa = /* @__PURE__ */ K({
1937
1932
  __name: "index",
1938
1933
  props: {
1939
1934
  unique: {},
@@ -1942,86 +1937,94 @@ const ta = /* @__PURE__ */ K({
1942
1937
  },
1943
1938
  emits: ["change"],
1944
1939
  setup(e, { emit: t }) {
1945
- const { t: n } = pe(), { backgroundColor1: r } = Te(), l = e, o = t, i = R("20px"), s = R("56px"), a = R("200px"), u = Gn({}), f = R({}), d = (m, c) => {
1946
- zt(f, l.config, l.object), o("change", m, c);
1940
+ const { t: n } = de(), { backgroundColor1: r } = Te(), l = e, o = t, i = F("20px"), s = F("56px"), a = F("200px"), u = qn({}), d = F({}), f = (v, c) => {
1941
+ zt(d, l.config, l.object), o("change", v, c);
1947
1942
  };
1948
1943
  Ce(
1949
1944
  [() => l.config, () => l.object],
1950
1945
  () => {
1951
- zt(f, l.config, l.object, (m, c) => {
1952
- o("change", m, c);
1946
+ zt(d, l.config, l.object, (v, c) => {
1947
+ o("change", v, c);
1953
1948
  });
1954
1949
  },
1955
1950
  { immediate: !0 }
1956
1951
  );
1957
- const h = R(l.config);
1958
- cs(h), Ce(
1952
+ const g = F(l.config);
1953
+ ps(g), Ce(
1959
1954
  () => l.config,
1960
1955
  () => {
1961
- h.value = l.config;
1956
+ g.value = l.config;
1962
1957
  }
1963
1958
  );
1964
- const T = R(l.object);
1965
- ds(T), Ce(
1959
+ const _ = F(l.object);
1960
+ ms(_), Ce(
1966
1961
  () => l.object,
1967
1962
  () => {
1968
- T.value = l.object;
1963
+ _.value = l.object;
1969
1964
  }
1970
- ), vs(f), gs(d);
1971
- const C = R([]);
1972
- hs(C);
1973
- const _ = () => {
1974
- const { compGroups: m, comps: c } = Yn.app.activeApp, g = [];
1975
- m.forEach(({ id: v, name: b, position: O }) => {
1976
- const U = C.value.find((Q) => Q.id === v);
1977
- g.push({
1978
- id: v,
1965
+ ), ys(d), _s(f);
1966
+ const w = F([]);
1967
+ $s(w);
1968
+ const C = () => {
1969
+ const { compGroups: v, comps: c } = Qn.app.activeApp, m = [];
1970
+ v.forEach(({ id: p, name: b, position: O }) => {
1971
+ const D = w.value.find((Q) => Q.id === p);
1972
+ m.push({
1973
+ id: p,
1979
1974
  type: 0,
1980
1975
  name: b,
1981
1976
  position: O,
1982
- collapse: (U == null ? void 0 : U.collapse) ?? !0
1977
+ collapse: (D == null ? void 0 : D.collapse) ?? !0
1983
1978
  });
1984
- }), c.forEach(({ id: v, groupid: b, name: O, position: U }) => {
1985
- g.push({ id: v, type: 1, name: O, position: U, group: b });
1986
- }), ts(g, !0), C.value = g;
1979
+ }), c.forEach(({ id: p, groupid: b, name: O, position: D }) => {
1980
+ m.push({ id: p, type: 1, name: O, position: D, group: b });
1981
+ }), os(m, !0), w.value = m;
1987
1982
  };
1988
- Kn(() => {
1989
- te.on("refreshCompList", _);
1990
- }), zn(() => {
1991
- te.off("refreshCompList", _);
1983
+ let y;
1984
+ const $ = () => {
1985
+ clearTimeout(y), y = window.setTimeout(() => {
1986
+ C(), y && $();
1987
+ }, 1e3);
1988
+ }, A = () => {
1989
+ clearTimeout(y), y = void 0;
1990
+ };
1991
+ In(() => {
1992
+ $();
1993
+ }), Xn(() => {
1994
+ A();
1992
1995
  });
1993
- const { renderProp: p } = Ss(f, s, a), { renderUiDummy: w } = As(d), { renderUiStrInput: E } = Ps(d), { renderUiNumInput: L } = xs(d), { renderUiSwitch: P } = Us(d), { renderUiSelect: $ } = Es(d), { renderUiColorPicker: J } = Ys(d), { renderUiMultiTypes: Je } = ea(d), { renderUiCompSelect: Ln } = Is(d), je = (m, c, g, v, b, O) => (m = yn(m), b !== void 0 ? (m.push(b), O && m.push(c.key)) : m.push(c.key), c.ui ? c.array && b === void 0 ? Vn(m, c, g, v, b, O) : Un(m, c, g, b, O) : c.array ? xn(m, c, g, v, b, O) : Mn(
1994
- m,
1995
- c,
1996
- g,
1996
+ const { renderProp: V } = Cs(d, s, a), { renderUiDummy: P } = Ps(f), { renderUiStrInput: U } = Ls(f), { renderUiNumInput: J } = Us(f), { renderUiSwitch: Je } = Es(f), { renderUiSelect: Ln } = Fs(f), { renderUiColorPicker: Mn } = Qs(f), { renderUiMultiTypes: Vn } = ra(f), { renderUiCompSelect: Un } = Ys(f), je = (v, c, m, p, b, O) => (v = hn(v), b !== void 0 ? (v.push(b), O && v.push(c.key)) : v.push(c.key), c.ui ? c.array && b === void 0 ? En(v, c, m, p, b, O) : Nn(v, c, m, b, O) : c.array ? Dn(v, c, m, p, b, O) : jn(
1997
1997
  v,
1998
+ c,
1999
+ m,
2000
+ p,
1998
2001
  b,
1999
2002
  O
2000
- )), xn = (m, c, g, v, b, O) => {
2003
+ )), Dn = (v, c, m, p, b, O) => {
2001
2004
  if (c.ui)
2002
- return console.assert(!1), y("div", "renderBranchArray prop ui must be invalid");
2005
+ return console.assert(!1), h("div", "renderBranchArray prop ui must be invalid");
2003
2006
  if (!c.array)
2004
- return console.assert(!1), y("div", "renderBranchArray prop array must be valid");
2005
- if (!v)
2006
- return console.assert(!1), y("div", "renderBranchArray branch must be valid");
2007
- let U;
2008
- b !== void 0 && !O ? (g[b] instanceof Array || (g[b] = N(c), d(m, g[c.key])), U = g[b]) : (g[c.key] instanceof Array || (g[c.key] = N(c), d(m, g[c.key])), U = g[c.key]);
2007
+ return console.assert(!1), h("div", "renderBranchArray prop array must be valid");
2008
+ if (!p)
2009
+ return console.assert(!1), h("div", "renderBranchArray branch must be valid");
2010
+ let D;
2011
+ b !== void 0 && !O ? (m[b] instanceof Array || (m[b] = N(c), f(v, m[c.key])), D = m[b]) : (m[c.key] instanceof Array || (m[c.key] = N(c), f(v, m[c.key])), D = m[c.key]);
2009
2012
  let Q = n(c.name);
2010
- v.collapse && be(f.value, m) && (Q += " *");
2011
- const Se = y(Fe, {
2013
+ p.collapse && be(d.value, v) && (Q += " *");
2014
+ const Se = h(Re, {
2012
2015
  title: Q,
2013
- collapse: v.collapse,
2016
+ collapse: p.collapse,
2014
2017
  hasCreate: !0,
2015
- onCollapse: (S) => {
2016
- v.collapse = S;
2018
+ onCollapse: (T) => {
2019
+ p.collapse = T;
2017
2020
  },
2018
- onMenu: (S, D) => {
2019
- te.emit("propTreeMenu", { x: S, y: D, keys: m });
2021
+ onMenu: (T, j) => {
2022
+ _e.emit("propTreeMenu", { x: T, y: j, keys: v });
2020
2023
  },
2021
2024
  onCreate: () => {
2022
- U.push({}), d(m, U);
2025
+ D.push({}), f(v, D);
2023
2026
  }
2024
- }), H = y(
2027
+ }), H = h(
2025
2028
  "div",
2026
2029
  {
2027
2030
  style: {
@@ -2029,44 +2032,44 @@ const ta = /* @__PURE__ */ K({
2029
2032
  }
2030
2033
  },
2031
2034
  (() => {
2032
- const S = [];
2033
- for (let D = 0; D < U.length; D++) {
2034
- if (!tt(v.children)) {
2035
+ const T = [];
2036
+ for (let j = 0; j < D.length; j++) {
2037
+ if (!tt(p.children)) {
2035
2038
  console.assert(!1);
2036
2039
  break;
2037
2040
  }
2038
- v.children[D] || v.children.push({
2041
+ p.children[j] || p.children.push({
2039
2042
  collapse: !0,
2040
2043
  children: {}
2041
2044
  });
2042
- const Ee = [...m, D], Ne = v.children[D];
2043
- let ht = n("x-prop-tree.entry", { index: D });
2044
- v.children[D].collapse && be(f.value, Ee) && (ht += " *");
2045
- const jn = y(Fe, {
2045
+ const Ee = [...v, j], Ne = p.children[j];
2046
+ let ht = n("x-prop-tree.entry", { index: j });
2047
+ p.children[j].collapse && be(d.value, Ee) && (ht += " *");
2048
+ const Fn = h(Re, {
2046
2049
  title: ht,
2047
- collapse: v.children[D].collapse,
2050
+ collapse: p.children[j].collapse,
2048
2051
  hasDelete: !0,
2049
- index: D,
2052
+ index: j,
2050
2053
  onCollapse: (ee) => {
2051
- if (!tt(v.children)) {
2054
+ if (!tt(p.children)) {
2052
2055
  console.assert(!1);
2053
2056
  return;
2054
2057
  }
2055
- v.children[D].collapse = ee;
2058
+ p.children[j].collapse = ee;
2056
2059
  },
2057
- onMenu: (ee, ce) => {
2058
- te.emit("propTreeMenu", { x: ee, y: ce, keys: Ee });
2060
+ onMenu: (ee, ue) => {
2061
+ _e.emit("propTreeMenu", { x: ee, y: ue, keys: Ee });
2059
2062
  },
2060
2063
  onDelete: (ee) => {
2061
- if (!tt(v.children)) {
2064
+ if (!tt(p.children)) {
2062
2065
  console.assert(!1);
2063
2066
  return;
2064
2067
  }
2065
- v.children.splice(ee, 1), U.splice(ee, 1), d(m, U);
2068
+ p.children.splice(ee, 1), D.splice(ee, 1), f(v, D);
2066
2069
  }
2067
2070
  });
2068
- S.push(jn);
2069
- const En = y(
2071
+ T.push(Fn);
2072
+ const Rn = h(
2070
2073
  "div",
2071
2074
  {
2072
2075
  style: {
@@ -2075,33 +2078,33 @@ const ta = /* @__PURE__ */ K({
2075
2078
  },
2076
2079
  (() => {
2077
2080
  const ee = [];
2078
- return c.children.forEach((ce) => {
2081
+ return c.children.forEach((ue) => {
2079
2082
  if (!Kt(Ne.children)) {
2080
2083
  console.assert(!1);
2081
2084
  return;
2082
2085
  }
2083
- Ne.children[ce.key] || (Ne.children[ce.key] = {
2086
+ Ne.children[ue.key] || (Ne.children[ue.key] = {
2084
2087
  collapse: !0,
2085
- children: ce.array ? [] : {}
2088
+ children: ue.array ? [] : {}
2086
2089
  });
2087
- const Nn = je(
2088
- m,
2089
- ce,
2090
- U[D],
2091
- Ne.children[ce.key],
2092
- D,
2090
+ const kn = je(
2091
+ v,
2092
+ ue,
2093
+ D[j],
2094
+ Ne.children[ue.key],
2095
+ j,
2093
2096
  !0
2094
2097
  );
2095
- ee.push(Nn);
2098
+ ee.push(kn);
2096
2099
  }), ee;
2097
2100
  })()
2098
2101
  );
2099
- v.children[D].collapse || S.push(En);
2102
+ p.children[j].collapse || T.push(Rn);
2100
2103
  }
2101
- return S;
2104
+ return T;
2102
2105
  })()
2103
2106
  );
2104
- return y(
2107
+ return h(
2105
2108
  "div",
2106
2109
  {
2107
2110
  style: {
@@ -2109,33 +2112,33 @@ const ta = /* @__PURE__ */ K({
2109
2112
  }
2110
2113
  },
2111
2114
  (() => {
2112
- const S = [];
2113
- return S.push(Se), v.collapse || S.push(H), S;
2115
+ const T = [];
2116
+ return T.push(Se), p.collapse || T.push(H), T;
2114
2117
  })()
2115
2118
  );
2116
- }, Mn = (m, c, g, v, b, O) => {
2119
+ }, jn = (v, c, m, p, b, O) => {
2117
2120
  if (c.ui)
2118
- return console.assert(!1), y("div", "renderBranchScalar prop ui must be invalid");
2121
+ return console.assert(!1), h("div", "renderBranchScalar prop ui must be invalid");
2119
2122
  if (c.array)
2120
- return console.assert(!1), y("div", "renderBranchScalar prop array must be invalid");
2121
- if (!v)
2122
- return console.assert(!1), y("div", "renderBranchScalar branch must be valid");
2123
- let U = n(c.name);
2124
- v.collapse && be(f.value, m) && (U += " *");
2125
- const Q = y(Fe, {
2126
- title: U,
2127
- collapse: v.collapse,
2123
+ return console.assert(!1), h("div", "renderBranchScalar prop array must be invalid");
2124
+ if (!p)
2125
+ return console.assert(!1), h("div", "renderBranchScalar branch must be valid");
2126
+ let D = n(c.name);
2127
+ p.collapse && be(d.value, v) && (D += " *");
2128
+ const Q = h(Re, {
2129
+ title: D,
2130
+ collapse: p.collapse,
2128
2131
  hasDelete: b !== void 0 && !O,
2129
2132
  onCollapse: (H) => {
2130
- v.collapse = H;
2133
+ p.collapse = H;
2131
2134
  },
2132
- onMenu: (H, S) => {
2133
- te.emit("propTreeMenu", { x: H, y: S, keys: m });
2135
+ onMenu: (H, T) => {
2136
+ _e.emit("propTreeMenu", { x: H, y: T, keys: v });
2134
2137
  },
2135
2138
  onDelete: () => {
2136
- b === void 0 || O || (g.splice(b, 1), d(m.slice(0, -1), g));
2139
+ b === void 0 || O || (m.splice(b, 1), f(v.slice(0, -1), m));
2137
2140
  }
2138
- }), Se = y(
2141
+ }), Se = h(
2139
2142
  "div",
2140
2143
  {
2141
2144
  style: {
@@ -2144,26 +2147,26 @@ const ta = /* @__PURE__ */ K({
2144
2147
  },
2145
2148
  (() => {
2146
2149
  const H = [];
2147
- return c.children.forEach((S) => {
2148
- if (!Kt(v.children)) {
2150
+ return c.children.forEach((T) => {
2151
+ if (!Kt(p.children)) {
2149
2152
  console.assert(!1);
2150
2153
  return;
2151
2154
  }
2152
- v.children[S.key] || (v.children[S.key] = {
2155
+ p.children[T.key] || (p.children[T.key] = {
2153
2156
  collapse: !0,
2154
- children: !S.ui && S.array ? [] : {}
2157
+ children: !T.ui && T.array ? [] : {}
2155
2158
  });
2156
- const D = je(
2157
- m,
2158
- S,
2159
- (typeof g[c.key] != "object" && (g[c.key] = {}, d(m, g[c.key])), g[c.key]),
2160
- v.children[S.key]
2159
+ const j = je(
2160
+ v,
2161
+ T,
2162
+ (typeof m[c.key] != "object" && (m[c.key] = {}, f(v, m[c.key])), m[c.key]),
2163
+ p.children[T.key]
2161
2164
  );
2162
- H.push(D);
2165
+ H.push(j);
2163
2166
  }), H;
2164
2167
  })()
2165
2168
  );
2166
- return y(
2169
+ return h(
2167
2170
  "div",
2168
2171
  {
2169
2172
  style: {
@@ -2172,34 +2175,34 @@ const ta = /* @__PURE__ */ K({
2172
2175
  },
2173
2176
  (() => {
2174
2177
  const H = [];
2175
- return H.push(Q), v.collapse || H.push(Se), H;
2178
+ return H.push(Q), p.collapse || H.push(Se), H;
2176
2179
  })()
2177
2180
  );
2178
- }, Vn = (m, c, g, v, b, O) => {
2181
+ }, En = (v, c, m, p, b, O) => {
2179
2182
  if (!c.ui)
2180
- return console.assert(!1), y("div", "renderLeafArray prop ui must be valid");
2183
+ return console.assert(!1), h("div", "renderLeafArray prop ui must be valid");
2181
2184
  if (!c.array)
2182
- return console.assert(!1), y("div", "renderLeafArray prop array must be valid");
2183
- if (!v)
2184
- return console.assert(!1), y("div", "renderLeafArray branch must be valid");
2185
- let U;
2186
- b !== void 0 && !O ? (g[b] instanceof Array || (g[b] = N(c), d(m, g[b])), U = g[b]) : (g[c.key] instanceof Array || (g[c.key] = N(c), d(m, g[c.key])), U = g[c.key]);
2185
+ return console.assert(!1), h("div", "renderLeafArray prop array must be valid");
2186
+ if (!p)
2187
+ return console.assert(!1), h("div", "renderLeafArray branch must be valid");
2188
+ let D;
2189
+ b !== void 0 && !O ? (m[b] instanceof Array || (m[b] = N(c), f(v, m[b])), D = m[b]) : (m[c.key] instanceof Array || (m[c.key] = N(c), f(v, m[c.key])), D = m[c.key]);
2187
2190
  let Q = n(c.name);
2188
- v.collapse && be(f.value, m) && (Q += " *");
2189
- const Se = y(Fe, {
2191
+ p.collapse && be(d.value, v) && (Q += " *");
2192
+ const Se = h(Re, {
2190
2193
  title: Q,
2191
- collapse: v.collapse,
2194
+ collapse: p.collapse,
2192
2195
  hasCreate: !0,
2193
- onCollapse: (S) => {
2194
- v.collapse = S;
2196
+ onCollapse: (T) => {
2197
+ p.collapse = T;
2195
2198
  },
2196
- onMenu: (S, D) => {
2197
- te.emit("propTreeMenu", { x: S, y: D, keys: m });
2199
+ onMenu: (T, j) => {
2200
+ _e.emit("propTreeMenu", { x: T, y: j, keys: v });
2198
2201
  },
2199
2202
  onCreate: () => {
2200
- U.push(N(c, !0)), d(m, U);
2203
+ D.push(N(c, !0)), f(v, D);
2201
2204
  }
2202
- }), H = y(
2205
+ }), H = h(
2203
2206
  "div",
2204
2207
  {
2205
2208
  style: {
@@ -2207,15 +2210,15 @@ const ta = /* @__PURE__ */ K({
2207
2210
  }
2208
2211
  },
2209
2212
  (() => {
2210
- const S = [];
2211
- for (let D = 0; D < U.length; D++) {
2212
- const Ee = je(m, c, U, void 0, D, !1);
2213
- S.push(Ee);
2213
+ const T = [];
2214
+ for (let j = 0; j < D.length; j++) {
2215
+ const Ee = je(v, c, D, void 0, j, !1);
2216
+ T.push(Ee);
2214
2217
  }
2215
- return S;
2218
+ return T;
2216
2219
  })()
2217
2220
  );
2218
- return y(
2221
+ return h(
2219
2222
  "div",
2220
2223
  {
2221
2224
  style: {
@@ -2223,16 +2226,16 @@ const ta = /* @__PURE__ */ K({
2223
2226
  }
2224
2227
  },
2225
2228
  (() => {
2226
- const S = [];
2227
- return S.push(Se), v.collapse || S.push(H), S;
2229
+ const T = [];
2230
+ return T.push(Se), p.collapse || T.push(H), T;
2228
2231
  })()
2229
2232
  );
2230
- }, Un = (m, c, g, v, b) => {
2233
+ }, Nn = (v, c, m, p, b) => {
2231
2234
  if (!c.ui)
2232
- return console.assert(!1), y("div", "renderLeafScalar prop ui must be valid");
2235
+ return console.assert(!1), h("div", "renderLeafScalar prop ui must be valid");
2233
2236
  let O;
2234
- return c.ui === "dummy" ? O = w(m, c, g, v, b) : c.ui === "strInput" ? O = E(m, c, g, v, b) : c.ui === "numInput" ? O = L(m, c, g, v, b) : c.ui === "switch" ? O = P(m, c, g, v, b) : c.ui === "select" ? O = $(m, c, g, v, b) : c.ui === "colorPicker" ? O = J(m, c, g, v, b) : c.ui === "multiTypes" ? O = Je(m, c, g, v, b) : c.ui === "compSelect" ? O = Ln(m, c, g, v, b) : console.assert(!1, "renderLeafScalar not implemented"), O ? p(m, c, O) : y("div");
2235
- }, Dn = () => y(
2237
+ return c.ui === "dummy" ? O = P(v, c, m, p, b) : c.ui === "strInput" ? O = U(v, c, m, p, b) : c.ui === "numInput" ? O = J(v, c, m, p, b) : c.ui === "switch" ? O = Je(v, c, m, p, b) : c.ui === "select" ? O = Ln(v, c, m, p, b) : c.ui === "colorPicker" ? O = Mn(v, c, m, p, b) : c.ui === "multiTypes" ? O = Vn(v, c, m, p, b) : c.ui === "compSelect" ? O = Un(v, c, m, p, b) : console.assert(!1, "renderLeafScalar not implemented"), O ? V(v, c, O) : h("div");
2238
+ }, Bn = () => h(
2236
2239
  "div",
2237
2240
  {
2238
2241
  class: "text-body-2",
@@ -2241,34 +2244,34 @@ const ta = /* @__PURE__ */ K({
2241
2244
  }
2242
2245
  },
2243
2246
  (() => {
2244
- const m = [];
2247
+ const v = [];
2245
2248
  if (l.unique && l.config.length > 0 && l.object) {
2246
2249
  u[l.unique] || (u[l.unique] = {});
2247
2250
  const c = u[l.unique];
2248
- l.config.forEach((g) => {
2249
- c[g.key] || (c[g.key] = {
2251
+ l.config.forEach((m) => {
2252
+ c[m.key] || (c[m.key] = {
2250
2253
  collapse: !0,
2251
- children: !g.ui && g.array ? [] : {}
2254
+ children: !m.ui && m.array ? [] : {}
2252
2255
  });
2253
- const v = je([], g, l.object, c[g.key]);
2254
- m.push(v);
2256
+ const p = je([], m, l.object, c[m.key]);
2257
+ v.push(p);
2255
2258
  });
2256
2259
  }
2257
- return m;
2260
+ return v;
2258
2261
  })()
2259
2262
  );
2260
- return (m, c) => (A(), k(He, null, [
2261
- B(Dn),
2262
- B(_s, {
2263
+ return (v, c) => (S(), k(He, null, [
2264
+ B(Bn),
2265
+ B(Ts, {
2263
2266
  config: l.config,
2264
2267
  object: l.object,
2265
- "prop-states": f.value
2268
+ "prop-states": d.value
2266
2269
  }, null, 8, ["config", "object", "prop-states"])
2267
2270
  ], 64));
2268
2271
  }
2269
- }), na = (e) => {
2270
- e.component("XPropTree", ta);
2271
- }, ra = (e, t, n) => {
2272
+ }), la = (e) => {
2273
+ e.component("XPropTree", oa);
2274
+ }, ia = (e, t, n) => {
2272
2275
  const r = e[t];
2273
2276
  return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((l, o) => {
2274
2277
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -2281,11 +2284,11 @@ const ta = /* @__PURE__ */ K({
2281
2284
  );
2282
2285
  });
2283
2286
  };
2284
- async function ca(e) {
2285
- return (await ra(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-nonohi4u.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-gdfh4wwz.js") }), `./locales/${e}/index.ts`, 4)).default;
2287
+ async function pa(e) {
2288
+ return (await ia(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-nonohi4u.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-gdfh4wwz.js") }), `./locales/${e}/index.ts`, 4)).default;
2286
2289
  }
2287
- const fa = { install: na };
2290
+ const va = { install: la };
2288
2291
  export {
2289
- fa as default,
2290
- ca as loadLocaleMessagePropTree
2292
+ va as default,
2293
+ pa as loadLocaleMessagePropTree
2291
2294
  };