x-prop-tree 0.6.25 → 0.6.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,28 +1,28 @@
1
- import { provide as we, inject as Ae, defineComponent as G, ref as R, computed as F, resolveComponent as V, createBlock as B, openBlock as A, unref as w, isRef as Ve, withCtx as H, createVNode as k, createElementBlock as K, Fragment as He, renderList as Jt, createTextVNode as ze, toDisplayString as Y, resolveDirective as ce, withDirectives as le, withModifiers as J, normalizeStyle as re, createElementVNode as z, createCommentVNode as X, renderSlot as Bn, h as _, mergeModels as Z, useModel as I, useId as ct, onUnmounted as ft, withKeys as It, mergeProps as dt, watchEffect as bt, watch as be, useTemplateRef as Xt, toRaw as Fn, reactive as Hn, onMounted as Gn, onBeforeUnmount as Kn } from "vue";
1
+ import { provide as we, inject as Ae, defineComponent as G, ref as N, computed as F, resolveComponent as V, createBlock as B, openBlock as A, unref as w, isRef as Ve, withCtx as H, createVNode as k, createElementBlock as K, Fragment as He, renderList as zt, createTextVNode as ze, toDisplayString as Y, resolveDirective as ce, withDirectives as le, withModifiers as J, normalizeStyle as re, createElementVNode as z, createCommentVNode as X, renderSlot as Bn, h as _, mergeModels as Z, useModel as I, useId as ct, onUnmounted as ft, withKeys as Jt, mergeProps as dt, watchEffect as _t, watch as be, useTemplateRef as It, reactive as Fn, onMounted as Hn, onBeforeUnmount as Gn } from "vue";
2
2
  import { useI18n as ie } from "vue-i18n";
3
- import { useViewStack as Je, useColor as me, eventBus as $e, useSystem as Zt, injectDark as qn, injectLocale as zn } from "x-essential-lib";
4
- import { getPropDefault as N, pkgs as Wt, parsePixelStr as Jn, parsePercentStr as In } from "x-runtime-lib";
5
- import { globalState as Xn } from "x-state-lib";
6
- import { useDisplay as Zn } from "vuetify";
7
- import { XBlockly as Wn } from "x-block-lib";
8
- var Yt = typeof global == "object" && global && global.Object === Object && global, Yn = typeof self == "object" && self && self.Object === Object && self, ee = Yt || Yn || Function("return this")(), ue = ee.Symbol, Qt = Object.prototype, Qn = Qt.hasOwnProperty, er = Qt.toString, Pe = ue ? ue.toStringTag : void 0;
9
- function tr(e) {
10
- var t = Qn.call(e, Pe), n = e[Pe];
3
+ import { useViewStack as Je, useColor as me, eventBus as $e, useSystem as Xt, injectDark as Kn, injectLocale as qn } from "x-essential-lib";
4
+ import { getPropDefault as R, pkgs as Zt, parsePixelStr as zn, parsePercentStr as Jn } from "x-runtime-lib";
5
+ import { globalState as In } from "x-state-lib";
6
+ import { useDisplay as Xn } from "vuetify";
7
+ import { XBlockly as Zn } from "x-block-lib";
8
+ var Wt = typeof global == "object" && global && global.Object === Object && global, Wn = typeof self == "object" && self && self.Object === Object && self, ee = Wt || Wn || Function("return this")(), ue = ee.Symbol, Yt = Object.prototype, Yn = Yt.hasOwnProperty, Qn = Yt.toString, Pe = ue ? ue.toStringTag : void 0;
9
+ function er(e) {
10
+ var t = Yn.call(e, Pe), n = e[Pe];
11
11
  try {
12
12
  e[Pe] = void 0;
13
13
  var r = !0;
14
14
  } catch {
15
15
  }
16
- var l = er.call(e);
16
+ var l = Qn.call(e);
17
17
  return r && (t ? e[Pe] = n : delete e[Pe]), l;
18
18
  }
19
- var nr = Object.prototype, rr = nr.toString;
20
- function or(e) {
21
- return rr.call(e);
19
+ var tr = Object.prototype, nr = tr.toString;
20
+ function rr(e) {
21
+ return nr.call(e);
22
22
  }
23
- var lr = "[object Null]", ir = "[object Undefined]", $t = ue ? ue.toStringTag : void 0;
24
- function je(e) {
25
- return e == null ? e === void 0 ? ir : lr : $t && $t in Object(e) ? tr(e) : or(e);
23
+ var or = "[object Null]", lr = "[object Undefined]", bt = ue ? ue.toStringTag : void 0;
24
+ function De(e) {
25
+ return e == null ? e === void 0 ? lr : or : bt && bt in Object(e) ? er(e) : rr(e);
26
26
  }
27
27
  function pe(e) {
28
28
  return e != null && typeof e == "object";
@@ -32,25 +32,25 @@ function Ie(e) {
32
32
  var t = typeof e;
33
33
  return e != null && (t == "object" || t == "function");
34
34
  }
35
- var sr = "[object AsyncFunction]", ar = "[object Function]", ur = "[object GeneratorFunction]", cr = "[object Proxy]";
36
- function en(e) {
35
+ var ir = "[object AsyncFunction]", sr = "[object Function]", ar = "[object GeneratorFunction]", ur = "[object Proxy]";
36
+ function Qt(e) {
37
37
  if (!Ie(e))
38
38
  return !1;
39
- var t = je(e);
40
- return t == ar || t == ur || t == sr || t == cr;
39
+ var t = De(e);
40
+ return t == sr || t == ar || t == ir || t == ur;
41
41
  }
42
- var tt = ee["__core-js_shared__"], Tt = function() {
42
+ var tt = ee["__core-js_shared__"], $t = function() {
43
43
  var e = /[^.]+$/.exec(tt && tt.keys && tt.keys.IE_PROTO || "");
44
44
  return e ? "Symbol(src)_1." + e : "";
45
45
  }();
46
- function fr(e) {
47
- return !!Tt && Tt in e;
46
+ function cr(e) {
47
+ return !!$t && $t in e;
48
48
  }
49
- var dr = Function.prototype, pr = dr.toString;
49
+ var fr = Function.prototype, dr = fr.toString;
50
50
  function ge(e) {
51
51
  if (e != null) {
52
52
  try {
53
- return pr.call(e);
53
+ return dr.call(e);
54
54
  } catch {
55
55
  }
56
56
  try {
@@ -60,53 +60,53 @@ function ge(e) {
60
60
  }
61
61
  return "";
62
62
  }
63
- var vr = /[\\^$.*+?()[\]{}|]/g, mr = /^\[object .+?Constructor\]$/, gr = Function.prototype, yr = Object.prototype, hr = gr.toString, _r = yr.hasOwnProperty, br = RegExp(
64
- "^" + hr.call(_r).replace(vr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
63
+ var pr = /[\\^$.*+?()[\]{}|]/g, vr = /^\[object .+?Constructor\]$/, mr = Function.prototype, gr = Object.prototype, yr = mr.toString, hr = gr.hasOwnProperty, _r = RegExp(
64
+ "^" + yr.call(hr).replace(pr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
65
65
  );
66
- function $r(e) {
67
- if (!Ie(e) || fr(e))
66
+ function br(e) {
67
+ if (!Ie(e) || cr(e))
68
68
  return !1;
69
- var t = en(e) ? br : mr;
69
+ var t = Qt(e) ? _r : vr;
70
70
  return t.test(ge(e));
71
71
  }
72
- function Tr(e, t) {
72
+ function $r(e, t) {
73
73
  return e == null ? void 0 : e[t];
74
74
  }
75
75
  function ye(e, t) {
76
- var n = Tr(e, t);
77
- return $r(n) ? n : void 0;
76
+ var n = $r(e, t);
77
+ return br(n) ? n : void 0;
78
78
  }
79
- var lt = ye(ee, "WeakMap"), St = Object.create, Sr = /* @__PURE__ */ function() {
79
+ var lt = ye(ee, "WeakMap"), Tt = Object.create, Tr = /* @__PURE__ */ function() {
80
80
  function e() {
81
81
  }
82
82
  return function(t) {
83
83
  if (!Ie(t))
84
84
  return {};
85
- if (St)
86
- return St(t);
85
+ if (Tt)
86
+ return Tt(t);
87
87
  e.prototype = t;
88
88
  var n = new e();
89
89
  return e.prototype = void 0, n;
90
90
  };
91
- }(), wt = function() {
91
+ }(), St = function() {
92
92
  try {
93
93
  var e = ye(Object, "defineProperty");
94
94
  return e({}, "", {}), e;
95
95
  } catch {
96
96
  }
97
97
  }();
98
- function wr(e, t) {
98
+ function Sr(e, t) {
99
99
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
100
100
  ;
101
101
  return e;
102
102
  }
103
- var Ar = 9007199254740991, Cr = /^(?:0|[1-9]\d*)$/;
104
- function Pr(e, t) {
103
+ var wr = 9007199254740991, Ar = /^(?:0|[1-9]\d*)$/;
104
+ function Cr(e, t) {
105
105
  var n = typeof e;
106
- return t = t ?? Ar, !!t && (n == "number" || n != "symbol" && Cr.test(e)) && e > -1 && e % 1 == 0 && e < t;
106
+ return t = t ?? wr, !!t && (n == "number" || n != "symbol" && Ar.test(e)) && e > -1 && e % 1 == 0 && e < t;
107
107
  }
108
- function xr(e, t, n) {
109
- t == "__proto__" && wt ? wt(e, t, {
108
+ function Pr(e, t, n) {
109
+ t == "__proto__" && St ? St(e, t, {
110
110
  configurable: !0,
111
111
  enumerable: !0,
112
112
  value: n,
@@ -116,21 +116,21 @@ function xr(e, t, n) {
116
116
  function pt(e, t) {
117
117
  return e === t || e !== e && t !== t;
118
118
  }
119
- var Or = Object.prototype, Vr = Or.hasOwnProperty;
120
- function Ur(e, t, n) {
119
+ var xr = Object.prototype, Or = xr.hasOwnProperty;
120
+ function Vr(e, t, n) {
121
121
  var r = e[t];
122
- (!(Vr.call(e, t) && pt(r, n)) || n === void 0 && !(t in e)) && xr(e, t, n);
122
+ (!(Or.call(e, t) && pt(r, n)) || n === void 0 && !(t in e)) && Pr(e, t, n);
123
123
  }
124
- var Mr = 9007199254740991;
125
- function tn(e) {
126
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Mr;
124
+ var Ur = 9007199254740991;
125
+ function en(e) {
126
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ur;
127
127
  }
128
- function Lr(e) {
129
- return e != null && tn(e.length) && !en(e);
128
+ function Mr(e) {
129
+ return e != null && en(e.length) && !Qt(e);
130
130
  }
131
- var jr = Object.prototype;
132
- function nn(e) {
133
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || jr;
131
+ var Lr = Object.prototype;
132
+ function tn(e) {
133
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || Lr;
134
134
  return e === n;
135
135
  }
136
136
  function Dr(e, t) {
@@ -138,89 +138,89 @@ function Dr(e, t) {
138
138
  r[n] = t(n);
139
139
  return r;
140
140
  }
141
- var kr = "[object Arguments]";
142
- function At(e) {
143
- return pe(e) && je(e) == kr;
141
+ var jr = "[object Arguments]";
142
+ function wt(e) {
143
+ return pe(e) && De(e) == jr;
144
144
  }
145
- var rn = Object.prototype, Er = rn.hasOwnProperty, Rr = rn.propertyIsEnumerable, Nr = At(/* @__PURE__ */ function() {
145
+ var nn = Object.prototype, kr = nn.hasOwnProperty, Er = nn.propertyIsEnumerable, Nr = wt(/* @__PURE__ */ function() {
146
146
  return arguments;
147
- }()) ? At : function(e) {
148
- return pe(e) && Er.call(e, "callee") && !Rr.call(e, "callee");
147
+ }()) ? wt : function(e) {
148
+ return pe(e) && kr.call(e, "callee") && !Er.call(e, "callee");
149
149
  };
150
- function Br() {
150
+ function Rr() {
151
151
  return !1;
152
152
  }
153
- var on = typeof exports == "object" && exports && !exports.nodeType && exports, Ct = on && typeof module == "object" && module && !module.nodeType && module, Fr = Ct && Ct.exports === on, Pt = Fr ? ee.Buffer : void 0, Hr = Pt ? Pt.isBuffer : void 0, Ge = Hr || Br, Gr = "[object Arguments]", Kr = "[object Array]", qr = "[object Boolean]", zr = "[object Date]", Jr = "[object Error]", Ir = "[object Function]", Xr = "[object Map]", Zr = "[object Number]", Wr = "[object Object]", Yr = "[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]", L = {};
154
- L[oo] = L[lo] = L[io] = L[so] = L[ao] = L[uo] = L[co] = L[fo] = L[po] = !0;
155
- L[Gr] = L[Kr] = L[no] = L[qr] = L[ro] = L[zr] = L[Jr] = L[Ir] = L[Xr] = L[Zr] = L[Wr] = L[Yr] = L[Qr] = L[eo] = L[to] = !1;
156
- function vo(e) {
157
- return pe(e) && tn(e.length) && !!L[je(e)];
153
+ var rn = typeof exports == "object" && exports && !exports.nodeType && exports, At = rn && typeof module == "object" && module && !module.nodeType && module, Br = At && At.exports === rn, Ct = Br ? ee.Buffer : void 0, Fr = Ct ? Ct.isBuffer : void 0, Ge = Fr || Rr, Hr = "[object Arguments]", Gr = "[object Array]", Kr = "[object Boolean]", qr = "[object Date]", zr = "[object Error]", Jr = "[object Function]", Ir = "[object Map]", Xr = "[object Number]", Zr = "[object Object]", Wr = "[object RegExp]", Yr = "[object Set]", Qr = "[object String]", eo = "[object WeakMap]", to = "[object ArrayBuffer]", no = "[object DataView]", ro = "[object Float32Array]", oo = "[object Float64Array]", lo = "[object Int8Array]", io = "[object Int16Array]", so = "[object Int32Array]", ao = "[object Uint8Array]", uo = "[object Uint8ClampedArray]", co = "[object Uint16Array]", fo = "[object Uint32Array]", L = {};
154
+ L[ro] = L[oo] = L[lo] = L[io] = L[so] = L[ao] = L[uo] = L[co] = L[fo] = !0;
155
+ L[Hr] = L[Gr] = L[to] = L[Kr] = L[no] = L[qr] = L[zr] = L[Jr] = L[Ir] = L[Xr] = L[Zr] = L[Wr] = L[Yr] = L[Qr] = L[eo] = !1;
156
+ function po(e) {
157
+ return pe(e) && en(e.length) && !!L[De(e)];
158
158
  }
159
159
  function vt(e) {
160
160
  return function(t) {
161
161
  return e(t);
162
162
  };
163
163
  }
164
- var ln = typeof exports == "object" && exports && !exports.nodeType && exports, Oe = ln && typeof module == "object" && module && !module.nodeType && module, mo = Oe && Oe.exports === ln, nt = mo && Yt.process, Se = function() {
164
+ var on = typeof exports == "object" && exports && !exports.nodeType && exports, Oe = on && typeof module == "object" && module && !module.nodeType && module, vo = Oe && Oe.exports === on, nt = vo && Wt.process, Se = function() {
165
165
  try {
166
166
  var e = Oe && Oe.require && Oe.require("util").types;
167
167
  return e || nt && nt.binding && nt.binding("util");
168
168
  } catch {
169
169
  }
170
- }(), xt = Se && Se.isTypedArray, sn = xt ? vt(xt) : vo, go = Object.prototype, yo = go.hasOwnProperty;
171
- function ho(e, t) {
172
- var n = Ue(e), r = !n && Nr(e), l = !n && !r && Ge(e), o = !n && !r && !l && sn(e), i = n || r || l || o, a = i ? Dr(e.length, String) : [], u = a.length;
170
+ }(), Pt = Se && Se.isTypedArray, ln = Pt ? vt(Pt) : po, mo = Object.prototype, go = mo.hasOwnProperty;
171
+ function yo(e, t) {
172
+ var n = Ue(e), r = !n && Nr(e), l = !n && !r && Ge(e), o = !n && !r && !l && ln(e), i = n || r || l || o, a = i ? Dr(e.length, String) : [], u = a.length;
173
173
  for (var s in e)
174
- yo.call(e, s) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
174
+ go.call(e, s) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
175
175
  (s == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
176
176
  l && (s == "offset" || s == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
177
177
  o && (s == "buffer" || s == "byteLength" || s == "byteOffset") || // Skip index properties.
178
- Pr(s, u))) && a.push(s);
178
+ Cr(s, u))) && a.push(s);
179
179
  return a;
180
180
  }
181
- function an(e, t) {
181
+ function sn(e, t) {
182
182
  return function(n) {
183
183
  return e(t(n));
184
184
  };
185
185
  }
186
- var _o = an(Object.keys, Object), bo = Object.prototype, $o = bo.hasOwnProperty;
187
- function To(e) {
188
- if (!nn(e))
189
- return _o(e);
186
+ var ho = sn(Object.keys, Object), _o = Object.prototype, bo = _o.hasOwnProperty;
187
+ function $o(e) {
188
+ if (!tn(e))
189
+ return ho(e);
190
190
  var t = [];
191
191
  for (var n in Object(e))
192
- $o.call(e, n) && n != "constructor" && t.push(n);
192
+ bo.call(e, n) && n != "constructor" && t.push(n);
193
193
  return t;
194
194
  }
195
- function So(e) {
196
- return Lr(e) ? ho(e) : To(e);
195
+ function To(e) {
196
+ return Mr(e) ? yo(e) : $o(e);
197
197
  }
198
198
  var Me = ye(Object, "create");
199
- function wo() {
199
+ function So() {
200
200
  this.__data__ = Me ? Me(null) : {}, this.size = 0;
201
201
  }
202
- function Ao(e) {
202
+ function wo(e) {
203
203
  var t = this.has(e) && delete this.__data__[e];
204
204
  return this.size -= t ? 1 : 0, t;
205
205
  }
206
- var Co = "__lodash_hash_undefined__", Po = Object.prototype, xo = Po.hasOwnProperty;
207
- function Oo(e) {
206
+ var Ao = "__lodash_hash_undefined__", Co = Object.prototype, Po = Co.hasOwnProperty;
207
+ function xo(e) {
208
208
  var t = this.__data__;
209
209
  if (Me) {
210
210
  var n = t[e];
211
- return n === Co ? void 0 : n;
211
+ return n === Ao ? void 0 : n;
212
212
  }
213
- return xo.call(t, e) ? t[e] : void 0;
213
+ return Po.call(t, e) ? t[e] : void 0;
214
214
  }
215
- var Vo = Object.prototype, Uo = Vo.hasOwnProperty;
216
- function Mo(e) {
215
+ var Oo = Object.prototype, Vo = Oo.hasOwnProperty;
216
+ function Uo(e) {
217
217
  var t = this.__data__;
218
- return Me ? t[e] !== void 0 : Uo.call(t, e);
218
+ return Me ? t[e] !== void 0 : Vo.call(t, e);
219
219
  }
220
- var Lo = "__lodash_hash_undefined__";
221
- function jo(e, t) {
220
+ var Mo = "__lodash_hash_undefined__";
221
+ function Lo(e, t) {
222
222
  var n = this.__data__;
223
- return this.size += this.has(e) ? 0 : 1, n[e] = Me && t === void 0 ? Lo : t, this;
223
+ return this.size += this.has(e) ? 0 : 1, n[e] = Me && t === void 0 ? Mo : t, this;
224
224
  }
225
225
  function ve(e) {
226
226
  var t = -1, n = e == null ? 0 : e.length;
@@ -229,11 +229,11 @@ function ve(e) {
229
229
  this.set(r[0], r[1]);
230
230
  }
231
231
  }
232
- ve.prototype.clear = wo;
233
- ve.prototype.delete = Ao;
234
- ve.prototype.get = Oo;
235
- ve.prototype.has = Mo;
236
- ve.prototype.set = jo;
232
+ ve.prototype.clear = So;
233
+ ve.prototype.delete = wo;
234
+ ve.prototype.get = xo;
235
+ ve.prototype.has = Uo;
236
+ ve.prototype.set = Lo;
237
237
  function Do() {
238
238
  this.__data__ = [], this.size = 0;
239
239
  }
@@ -243,22 +243,22 @@ function Xe(e, t) {
243
243
  return n;
244
244
  return -1;
245
245
  }
246
- var ko = Array.prototype, Eo = ko.splice;
247
- function Ro(e) {
246
+ var jo = Array.prototype, ko = jo.splice;
247
+ function Eo(e) {
248
248
  var t = this.__data__, n = Xe(t, e);
249
249
  if (n < 0)
250
250
  return !1;
251
251
  var r = t.length - 1;
252
- return n == r ? t.pop() : Eo.call(t, n, 1), --this.size, !0;
252
+ return n == r ? t.pop() : ko.call(t, n, 1), --this.size, !0;
253
253
  }
254
254
  function No(e) {
255
255
  var t = this.__data__, n = Xe(t, e);
256
256
  return n < 0 ? void 0 : t[n][1];
257
257
  }
258
- function Bo(e) {
258
+ function Ro(e) {
259
259
  return Xe(this.__data__, e) > -1;
260
260
  }
261
- function Fo(e, t) {
261
+ function Bo(e, t) {
262
262
  var n = this.__data__, r = Xe(n, e);
263
263
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
264
264
  }
@@ -270,37 +270,37 @@ function se(e) {
270
270
  }
271
271
  }
272
272
  se.prototype.clear = Do;
273
- se.prototype.delete = Ro;
273
+ se.prototype.delete = Eo;
274
274
  se.prototype.get = No;
275
- se.prototype.has = Bo;
276
- se.prototype.set = Fo;
275
+ se.prototype.has = Ro;
276
+ se.prototype.set = Bo;
277
277
  var Le = ye(ee, "Map");
278
- function Ho() {
278
+ function Fo() {
279
279
  this.size = 0, this.__data__ = {
280
280
  hash: new ve(),
281
281
  map: new (Le || se)(),
282
282
  string: new ve()
283
283
  };
284
284
  }
285
- function Go(e) {
285
+ function Ho(e) {
286
286
  var t = typeof e;
287
287
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
288
288
  }
289
289
  function Ze(e, t) {
290
290
  var n = e.__data__;
291
- return Go(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
291
+ return Ho(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
292
292
  }
293
- function Ko(e) {
293
+ function Go(e) {
294
294
  var t = Ze(this, e).delete(e);
295
295
  return this.size -= t ? 1 : 0, t;
296
296
  }
297
- function qo(e) {
297
+ function Ko(e) {
298
298
  return Ze(this, e).get(e);
299
299
  }
300
- function zo(e) {
300
+ function qo(e) {
301
301
  return Ze(this, e).has(e);
302
302
  }
303
- function Jo(e, t) {
303
+ function zo(e, t) {
304
304
  var n = Ze(this, e), r = n.size;
305
305
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
306
306
  }
@@ -311,36 +311,36 @@ function he(e) {
311
311
  this.set(r[0], r[1]);
312
312
  }
313
313
  }
314
- he.prototype.clear = Ho;
315
- he.prototype.delete = Ko;
316
- he.prototype.get = qo;
317
- he.prototype.has = zo;
318
- he.prototype.set = Jo;
319
- function Io(e, t) {
314
+ he.prototype.clear = Fo;
315
+ he.prototype.delete = Go;
316
+ he.prototype.get = Ko;
317
+ he.prototype.has = qo;
318
+ he.prototype.set = zo;
319
+ function Jo(e, t) {
320
320
  for (var n = -1, r = t.length, l = e.length; ++n < r; )
321
321
  e[l + n] = t[n];
322
322
  return e;
323
323
  }
324
- var Xo = an(Object.getPrototypeOf, Object);
325
- function Zo() {
324
+ var Io = sn(Object.getPrototypeOf, Object);
325
+ function Xo() {
326
326
  this.__data__ = new se(), this.size = 0;
327
327
  }
328
- function Wo(e) {
328
+ function Zo(e) {
329
329
  var t = this.__data__, n = t.delete(e);
330
330
  return this.size = t.size, n;
331
331
  }
332
- function Yo(e) {
332
+ function Wo(e) {
333
333
  return this.__data__.get(e);
334
334
  }
335
- function Qo(e) {
335
+ function Yo(e) {
336
336
  return this.__data__.has(e);
337
337
  }
338
- var el = 200;
339
- function tl(e, t) {
338
+ var Qo = 200;
339
+ function el(e, t) {
340
340
  var n = this.__data__;
341
341
  if (n instanceof se) {
342
342
  var r = n.__data__;
343
- if (!Le || r.length < el - 1)
343
+ if (!Le || r.length < Qo - 1)
344
344
  return r.push([e, t]), this.size = ++n.size, this;
345
345
  n = this.__data__ = new he(r);
346
346
  }
@@ -350,131 +350,131 @@ function oe(e) {
350
350
  var t = this.__data__ = new se(e);
351
351
  this.size = t.size;
352
352
  }
353
- oe.prototype.clear = Zo;
354
- oe.prototype.delete = Wo;
355
- oe.prototype.get = Yo;
356
- oe.prototype.has = Qo;
357
- oe.prototype.set = tl;
358
- var un = typeof exports == "object" && exports && !exports.nodeType && exports, Ot = un && typeof module == "object" && module && !module.nodeType && module, nl = Ot && Ot.exports === un, Vt = nl ? ee.Buffer : void 0;
359
- Vt && Vt.allocUnsafe;
360
- function rl(e, t) {
353
+ oe.prototype.clear = Xo;
354
+ oe.prototype.delete = Zo;
355
+ oe.prototype.get = Wo;
356
+ oe.prototype.has = Yo;
357
+ oe.prototype.set = el;
358
+ var an = typeof exports == "object" && exports && !exports.nodeType && exports, xt = an && typeof module == "object" && module && !module.nodeType && module, tl = xt && xt.exports === an, Ot = tl ? ee.Buffer : void 0;
359
+ Ot && Ot.allocUnsafe;
360
+ function nl(e, t) {
361
361
  return e.slice();
362
362
  }
363
- function ol(e, t) {
363
+ function rl(e, t) {
364
364
  for (var n = -1, r = e == null ? 0 : e.length, l = 0, o = []; ++n < r; ) {
365
365
  var i = e[n];
366
366
  t(i, n, e) && (o[l++] = i);
367
367
  }
368
368
  return o;
369
369
  }
370
- function ll() {
370
+ function ol() {
371
371
  return [];
372
372
  }
373
- var il = Object.prototype, sl = il.propertyIsEnumerable, Ut = Object.getOwnPropertySymbols, al = Ut ? function(e) {
374
- return e == null ? [] : (e = Object(e), ol(Ut(e), function(t) {
375
- return sl.call(e, t);
373
+ var ll = Object.prototype, il = ll.propertyIsEnumerable, Vt = Object.getOwnPropertySymbols, sl = Vt ? function(e) {
374
+ return e == null ? [] : (e = Object(e), rl(Vt(e), function(t) {
375
+ return il.call(e, t);
376
376
  }));
377
- } : ll;
378
- function ul(e, t, n) {
377
+ } : ol;
378
+ function al(e, t, n) {
379
379
  var r = t(e);
380
- return Ue(e) ? r : Io(r, n(e));
380
+ return Ue(e) ? r : Jo(r, n(e));
381
381
  }
382
382
  function it(e) {
383
- return ul(e, So, al);
383
+ return al(e, To, sl);
384
384
  }
385
- var st = ye(ee, "DataView"), at = ye(ee, "Promise"), ut = ye(ee, "Set"), Mt = "[object Map]", cl = "[object Object]", Lt = "[object Promise]", jt = "[object Set]", Dt = "[object WeakMap]", kt = "[object DataView]", fl = ge(st), dl = ge(Le), pl = ge(at), vl = ge(ut), ml = ge(lt), W = je;
386
- (st && W(new st(new ArrayBuffer(1))) != kt || Le && W(new Le()) != Mt || at && W(at.resolve()) != Lt || ut && W(new ut()) != jt || lt && W(new lt()) != Dt) && (W = function(e) {
387
- var t = je(e), n = t == cl ? e.constructor : void 0, r = n ? ge(n) : "";
385
+ var st = ye(ee, "DataView"), at = ye(ee, "Promise"), ut = ye(ee, "Set"), Ut = "[object Map]", ul = "[object Object]", Mt = "[object Promise]", Lt = "[object Set]", Dt = "[object WeakMap]", jt = "[object DataView]", cl = ge(st), fl = ge(Le), dl = ge(at), pl = ge(ut), vl = ge(lt), W = De;
386
+ (st && W(new st(new ArrayBuffer(1))) != jt || Le && W(new Le()) != Ut || at && W(at.resolve()) != Mt || ut && W(new ut()) != Lt || lt && W(new lt()) != Dt) && (W = function(e) {
387
+ var t = De(e), n = t == ul ? e.constructor : void 0, r = n ? ge(n) : "";
388
388
  if (r)
389
389
  switch (r) {
390
+ case cl:
391
+ return jt;
390
392
  case fl:
391
- return kt;
393
+ return Ut;
392
394
  case dl:
393
395
  return Mt;
394
396
  case pl:
395
397
  return Lt;
396
398
  case vl:
397
- return jt;
398
- case ml:
399
399
  return Dt;
400
400
  }
401
401
  return t;
402
402
  });
403
- var gl = Object.prototype, yl = gl.hasOwnProperty;
404
- function hl(e) {
403
+ var ml = Object.prototype, gl = ml.hasOwnProperty;
404
+ function yl(e) {
405
405
  var t = e.length, n = new e.constructor(t);
406
- return t && typeof e[0] == "string" && yl.call(e, "index") && (n.index = e.index, n.input = e.input), n;
406
+ return t && typeof e[0] == "string" && gl.call(e, "index") && (n.index = e.index, n.input = e.input), n;
407
407
  }
408
408
  var Ke = ee.Uint8Array;
409
409
  function mt(e) {
410
410
  var t = new e.constructor(e.byteLength);
411
411
  return new Ke(t).set(new Ke(e)), t;
412
412
  }
413
- function _l(e, t) {
413
+ function hl(e, t) {
414
414
  var n = mt(e.buffer);
415
415
  return new e.constructor(n, e.byteOffset, e.byteLength);
416
416
  }
417
- var bl = /\w*$/;
418
- function $l(e) {
419
- var t = new e.constructor(e.source, bl.exec(e));
417
+ var _l = /\w*$/;
418
+ function bl(e) {
419
+ var t = new e.constructor(e.source, _l.exec(e));
420
420
  return t.lastIndex = e.lastIndex, t;
421
421
  }
422
- var Et = ue ? ue.prototype : void 0, Rt = Et ? Et.valueOf : void 0;
423
- function Tl(e) {
424
- return Rt ? Object(Rt.call(e)) : {};
422
+ var kt = ue ? ue.prototype : void 0, Et = kt ? kt.valueOf : void 0;
423
+ function $l(e) {
424
+ return Et ? Object(Et.call(e)) : {};
425
425
  }
426
- function Sl(e, t) {
426
+ function Tl(e, t) {
427
427
  var n = mt(e.buffer);
428
428
  return new e.constructor(n, e.byteOffset, e.length);
429
429
  }
430
- var wl = "[object Boolean]", Al = "[object Date]", Cl = "[object Map]", Pl = "[object Number]", xl = "[object RegExp]", Ol = "[object Set]", Vl = "[object String]", Ul = "[object Symbol]", Ml = "[object ArrayBuffer]", Ll = "[object DataView]", jl = "[object Float32Array]", Dl = "[object Float64Array]", kl = "[object Int8Array]", El = "[object Int16Array]", Rl = "[object Int32Array]", Nl = "[object Uint8Array]", Bl = "[object Uint8ClampedArray]", Fl = "[object Uint16Array]", Hl = "[object Uint32Array]";
431
- function Gl(e, t, n) {
430
+ var Sl = "[object Boolean]", wl = "[object Date]", Al = "[object Map]", Cl = "[object Number]", Pl = "[object RegExp]", xl = "[object Set]", Ol = "[object String]", Vl = "[object Symbol]", Ul = "[object ArrayBuffer]", Ml = "[object DataView]", Ll = "[object Float32Array]", Dl = "[object Float64Array]", jl = "[object Int8Array]", kl = "[object Int16Array]", El = "[object Int32Array]", Nl = "[object Uint8Array]", Rl = "[object Uint8ClampedArray]", Bl = "[object Uint16Array]", Fl = "[object Uint32Array]";
431
+ function Hl(e, t, n) {
432
432
  var r = e.constructor;
433
433
  switch (t) {
434
- case Ml:
434
+ case Ul:
435
435
  return mt(e);
436
+ case Sl:
436
437
  case wl:
437
- case Al:
438
438
  return new r(+e);
439
+ case Ml:
440
+ return hl(e);
439
441
  case Ll:
440
- return _l(e);
441
- case jl:
442
442
  case Dl:
443
+ case jl:
443
444
  case kl:
444
445
  case El:
445
- case Rl:
446
446
  case Nl:
447
+ case Rl:
447
448
  case Bl:
448
449
  case Fl:
449
- case Hl:
450
- return Sl(e);
451
- case Cl:
450
+ return Tl(e);
451
+ case Al:
452
452
  return new r();
453
- case Pl:
454
- case Vl:
453
+ case Cl:
454
+ case Ol:
455
455
  return new r(e);
456
+ case Pl:
457
+ return bl(e);
456
458
  case xl:
457
- return $l(e);
458
- case Ol:
459
459
  return new r();
460
- case Ul:
461
- return Tl(e);
460
+ case Vl:
461
+ return $l(e);
462
462
  }
463
463
  }
464
- function Kl(e) {
465
- return typeof e.constructor == "function" && !nn(e) ? Sr(Xo(e)) : {};
464
+ function Gl(e) {
465
+ return typeof e.constructor == "function" && !tn(e) ? Tr(Io(e)) : {};
466
466
  }
467
- var ql = "[object Map]";
468
- function zl(e) {
469
- return pe(e) && W(e) == ql;
467
+ var Kl = "[object Map]";
468
+ function ql(e) {
469
+ return pe(e) && W(e) == Kl;
470
470
  }
471
- var Nt = Se && Se.isMap, Jl = Nt ? vt(Nt) : zl, Il = "[object Set]";
472
- function Xl(e) {
473
- return pe(e) && W(e) == Il;
471
+ var Nt = Se && Se.isMap, zl = Nt ? vt(Nt) : ql, Jl = "[object Set]";
472
+ function Il(e) {
473
+ return pe(e) && W(e) == Jl;
474
474
  }
475
- var Bt = Se && Se.isSet, Zl = Bt ? vt(Bt) : Xl, cn = "[object Arguments]", Wl = "[object Array]", Yl = "[object Boolean]", Ql = "[object Date]", ei = "[object Error]", fn = "[object Function]", ti = "[object GeneratorFunction]", ni = "[object Map]", ri = "[object Number]", dn = "[object Object]", oi = "[object RegExp]", li = "[object Set]", ii = "[object String]", si = "[object Symbol]", ai = "[object WeakMap]", ui = "[object ArrayBuffer]", ci = "[object DataView]", fi = "[object Float32Array]", di = "[object Float64Array]", pi = "[object Int8Array]", vi = "[object Int16Array]", mi = "[object Int32Array]", gi = "[object Uint8Array]", yi = "[object Uint8ClampedArray]", hi = "[object Uint16Array]", _i = "[object Uint32Array]", M = {};
476
- M[cn] = M[Wl] = M[ui] = M[ci] = M[Yl] = M[Ql] = M[fi] = M[di] = M[pi] = M[vi] = M[mi] = M[ni] = M[ri] = M[dn] = M[oi] = M[li] = M[ii] = M[si] = M[gi] = M[yi] = M[hi] = M[_i] = !0;
477
- M[ei] = M[fn] = M[ai] = !1;
475
+ var Rt = Se && Se.isSet, Xl = Rt ? vt(Rt) : Il, un = "[object Arguments]", Zl = "[object Array]", Wl = "[object Boolean]", Yl = "[object Date]", Ql = "[object Error]", cn = "[object Function]", ei = "[object GeneratorFunction]", ti = "[object Map]", ni = "[object Number]", fn = "[object Object]", ri = "[object RegExp]", oi = "[object Set]", li = "[object String]", ii = "[object Symbol]", si = "[object WeakMap]", ai = "[object ArrayBuffer]", ui = "[object DataView]", ci = "[object Float32Array]", fi = "[object Float64Array]", di = "[object Int8Array]", pi = "[object Int16Array]", vi = "[object Int32Array]", mi = "[object Uint8Array]", gi = "[object Uint8ClampedArray]", yi = "[object Uint16Array]", hi = "[object Uint32Array]", M = {};
476
+ M[un] = M[Zl] = M[ai] = M[ui] = M[Wl] = M[Yl] = M[ci] = M[fi] = M[di] = M[pi] = M[vi] = M[ti] = M[ni] = M[fn] = M[ri] = M[oi] = M[li] = M[ii] = M[mi] = M[gi] = M[yi] = M[hi] = !0;
477
+ M[Ql] = M[cn] = M[si] = !1;
478
478
  function Fe(e, t, n, r, l, o) {
479
479
  var i;
480
480
  if (i !== void 0)
@@ -483,42 +483,42 @@ function Fe(e, t, n, r, l, o) {
483
483
  return e;
484
484
  var a = Ue(e);
485
485
  if (a)
486
- i = hl(e);
486
+ i = yl(e);
487
487
  else {
488
- var u = W(e), s = u == fn || u == ti;
488
+ var u = W(e), s = u == cn || u == ei;
489
489
  if (Ge(e))
490
- return rl(e);
491
- if (u == dn || u == cn || s && !l)
492
- i = s ? {} : Kl(e);
490
+ return nl(e);
491
+ if (u == fn || u == un || s && !l)
492
+ i = s ? {} : Gl(e);
493
493
  else {
494
494
  if (!M[u])
495
495
  return l ? e : {};
496
- i = Gl(e, u);
496
+ i = Hl(e, u);
497
497
  }
498
498
  }
499
499
  o || (o = new oe());
500
500
  var v = o.get(e);
501
501
  if (v)
502
502
  return v;
503
- o.set(e, i), Zl(e) ? e.forEach(function(d) {
503
+ o.set(e, i), Xl(e) ? e.forEach(function(d) {
504
504
  i.add(Fe(d, t, n, d, e, o));
505
- }) : Jl(e) && e.forEach(function(d, m) {
505
+ }) : zl(e) && e.forEach(function(d, m) {
506
506
  i.set(m, Fe(d, t, n, m, e, o));
507
507
  });
508
508
  var c = it, f = a ? void 0 : c(e);
509
- return wr(f || e, function(d, m) {
510
- f && (m = d, d = e[m]), Ur(i, m, Fe(d, t, n, m, e, o));
509
+ return Sr(f || e, function(d, m) {
510
+ f && (m = d, d = e[m]), Vr(i, m, Fe(d, t, n, m, e, o));
511
511
  }), i;
512
512
  }
513
- var bi = 1, $i = 4;
514
- function gt(e) {
515
- return Fe(e, bi | $i);
513
+ var _i = 1, bi = 4;
514
+ function dn(e) {
515
+ return Fe(e, _i | bi);
516
516
  }
517
- var Ti = "__lodash_hash_undefined__";
518
- function Si(e) {
519
- return this.__data__.set(e, Ti), this;
517
+ var $i = "__lodash_hash_undefined__";
518
+ function Ti(e) {
519
+ return this.__data__.set(e, $i), this;
520
520
  }
521
- function wi(e) {
521
+ function Si(e) {
522
522
  return this.__data__.has(e);
523
523
  }
524
524
  function qe(e) {
@@ -526,26 +526,26 @@ function qe(e) {
526
526
  for (this.__data__ = new he(); ++t < n; )
527
527
  this.add(e[t]);
528
528
  }
529
- qe.prototype.add = qe.prototype.push = Si;
530
- qe.prototype.has = wi;
531
- function Ai(e, t) {
529
+ qe.prototype.add = qe.prototype.push = Ti;
530
+ qe.prototype.has = Si;
531
+ function wi(e, t) {
532
532
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
533
533
  if (t(e[n], n, e))
534
534
  return !0;
535
535
  return !1;
536
536
  }
537
- function Ci(e, t) {
537
+ function Ai(e, t) {
538
538
  return e.has(t);
539
539
  }
540
- var Pi = 1, xi = 2;
540
+ var Ci = 1, Pi = 2;
541
541
  function pn(e, t, n, r, l, o) {
542
- var i = n & Pi, a = e.length, u = t.length;
542
+ var i = n & Ci, a = e.length, u = t.length;
543
543
  if (a != u && !(i && u > a))
544
544
  return !1;
545
545
  var s = o.get(e), v = o.get(t);
546
546
  if (s && v)
547
547
  return s == t && v == e;
548
- var c = -1, f = !0, d = n & xi ? new qe() : void 0;
548
+ var c = -1, f = !0, d = n & Pi ? new qe() : void 0;
549
549
  for (o.set(e, t), o.set(t, e); ++c < a; ) {
550
550
  var m = e[c], C = t[c];
551
551
  if (r)
@@ -557,8 +557,8 @@ function pn(e, t, n, r, l, o) {
557
557
  break;
558
558
  }
559
559
  if (d) {
560
- if (!Ai(t, function(x, $) {
561
- if (!Ci(d, $) && (m === x || l(m, x, n, r, o)))
560
+ if (!wi(t, function(x, $) {
561
+ if (!Ai(d, $) && (m === x || l(m, x, n, r, o)))
562
562
  return d.push($);
563
563
  })) {
564
564
  f = !1;
@@ -571,62 +571,62 @@ function pn(e, t, n, r, l, o) {
571
571
  }
572
572
  return o.delete(e), o.delete(t), f;
573
573
  }
574
- function Oi(e) {
574
+ function xi(e) {
575
575
  var t = -1, n = Array(e.size);
576
576
  return e.forEach(function(r, l) {
577
577
  n[++t] = [l, r];
578
578
  }), n;
579
579
  }
580
- function Vi(e) {
580
+ function Oi(e) {
581
581
  var t = -1, n = Array(e.size);
582
582
  return e.forEach(function(r) {
583
583
  n[++t] = r;
584
584
  }), n;
585
585
  }
586
- var Ui = 1, Mi = 2, Li = "[object Boolean]", ji = "[object Date]", Di = "[object Error]", ki = "[object Map]", Ei = "[object Number]", Ri = "[object RegExp]", Ni = "[object Set]", Bi = "[object String]", Fi = "[object Symbol]", Hi = "[object ArrayBuffer]", Gi = "[object DataView]", Ft = ue ? ue.prototype : void 0, rt = Ft ? Ft.valueOf : void 0;
587
- function Ki(e, t, n, r, l, o, i) {
586
+ var Vi = 1, Ui = 2, Mi = "[object Boolean]", Li = "[object Date]", Di = "[object Error]", ji = "[object Map]", ki = "[object Number]", Ei = "[object RegExp]", Ni = "[object Set]", Ri = "[object String]", Bi = "[object Symbol]", Fi = "[object ArrayBuffer]", Hi = "[object DataView]", Bt = ue ? ue.prototype : void 0, rt = Bt ? Bt.valueOf : void 0;
587
+ function Gi(e, t, n, r, l, o, i) {
588
588
  switch (n) {
589
- case Gi:
589
+ case Hi:
590
590
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
591
591
  return !1;
592
592
  e = e.buffer, t = t.buffer;
593
- case Hi:
593
+ case Fi:
594
594
  return !(e.byteLength != t.byteLength || !o(new Ke(e), new Ke(t)));
595
+ case Mi:
595
596
  case Li:
596
- case ji:
597
- case Ei:
597
+ case ki:
598
598
  return pt(+e, +t);
599
599
  case Di:
600
600
  return e.name == t.name && e.message == t.message;
601
+ case Ei:
601
602
  case Ri:
602
- case Bi:
603
603
  return e == t + "";
604
- case ki:
605
- var a = Oi;
604
+ case ji:
605
+ var a = xi;
606
606
  case Ni:
607
- var u = r & Ui;
608
- if (a || (a = Vi), e.size != t.size && !u)
607
+ var u = r & Vi;
608
+ if (a || (a = Oi), e.size != t.size && !u)
609
609
  return !1;
610
610
  var s = i.get(e);
611
611
  if (s)
612
612
  return s == t;
613
- r |= Mi, i.set(e, t);
613
+ r |= Ui, i.set(e, t);
614
614
  var v = pn(a(e), a(t), r, l, o, i);
615
615
  return i.delete(e), v;
616
- case Fi:
616
+ case Bi:
617
617
  if (rt)
618
618
  return rt.call(e) == rt.call(t);
619
619
  }
620
620
  return !1;
621
621
  }
622
- var qi = 1, zi = Object.prototype, Ji = zi.hasOwnProperty;
623
- function Ii(e, t, n, r, l, o) {
624
- var i = n & qi, a = it(e), u = a.length, s = it(t), v = s.length;
622
+ var Ki = 1, qi = Object.prototype, zi = qi.hasOwnProperty;
623
+ function Ji(e, t, n, r, l, o) {
624
+ var i = n & Ki, a = it(e), u = a.length, s = it(t), v = s.length;
625
625
  if (u != v && !i)
626
626
  return !1;
627
627
  for (var c = u; c--; ) {
628
628
  var f = a[c];
629
- if (!(i ? f in t : Ji.call(t, f)))
629
+ if (!(i ? f in t : zi.call(t, f)))
630
630
  return !1;
631
631
  }
632
632
  var d = o.get(e), m = o.get(t);
@@ -646,39 +646,39 @@ function Ii(e, t, n, r, l, o) {
646
646
  S || (S = f == "constructor");
647
647
  }
648
648
  if (C && !S) {
649
- var P = e.constructor, j = t.constructor;
650
- P != j && "constructor" in e && "constructor" in t && !(typeof P == "function" && P instanceof P && typeof j == "function" && j instanceof j) && (C = !1);
649
+ var P = e.constructor, D = t.constructor;
650
+ P != D && "constructor" in e && "constructor" in t && !(typeof P == "function" && P instanceof P && typeof D == "function" && D instanceof D) && (C = !1);
651
651
  }
652
652
  return o.delete(e), o.delete(t), C;
653
653
  }
654
- var Xi = 1, Ht = "[object Arguments]", Gt = "[object Array]", Re = "[object Object]", Zi = Object.prototype, Kt = Zi.hasOwnProperty;
655
- function Wi(e, t, n, r, l, o) {
656
- var i = Ue(e), a = Ue(t), u = i ? Gt : W(e), s = a ? Gt : W(t);
657
- u = u == Ht ? Re : u, s = s == Ht ? Re : s;
658
- var v = u == Re, c = s == Re, f = u == s;
654
+ var Ii = 1, Ft = "[object Arguments]", Ht = "[object Array]", Ne = "[object Object]", Xi = Object.prototype, Gt = Xi.hasOwnProperty;
655
+ function Zi(e, t, n, r, l, o) {
656
+ var i = Ue(e), a = Ue(t), u = i ? Ht : W(e), s = a ? Ht : W(t);
657
+ u = u == Ft ? Ne : u, s = s == Ft ? Ne : s;
658
+ var v = u == Ne, c = s == Ne, f = u == s;
659
659
  if (f && Ge(e)) {
660
660
  if (!Ge(t))
661
661
  return !1;
662
662
  i = !0, v = !1;
663
663
  }
664
664
  if (f && !v)
665
- return o || (o = new oe()), i || sn(e) ? pn(e, t, n, r, l, o) : Ki(e, t, u, n, r, l, o);
666
- if (!(n & Xi)) {
667
- var d = v && Kt.call(e, "__wrapped__"), m = c && Kt.call(t, "__wrapped__");
665
+ return o || (o = new oe()), i || ln(e) ? pn(e, t, n, r, l, o) : Gi(e, t, u, n, r, l, o);
666
+ if (!(n & Ii)) {
667
+ var d = v && Gt.call(e, "__wrapped__"), m = c && Gt.call(t, "__wrapped__");
668
668
  if (d || m) {
669
669
  var C = d ? e.value() : e, S = m ? t.value() : t;
670
670
  return o || (o = new oe()), l(C, S, n, r, o);
671
671
  }
672
672
  }
673
- return f ? (o || (o = new oe()), Ii(e, t, n, r, l, o)) : !1;
673
+ return f ? (o || (o = new oe()), Ji(e, t, n, r, l, o)) : !1;
674
674
  }
675
675
  function vn(e, t, n, r, l) {
676
- return e === t ? !0 : e == null || t == null || !pe(e) && !pe(t) ? e !== e && t !== t : Wi(e, t, n, r, vn, l);
676
+ return e === t ? !0 : e == null || t == null || !pe(e) && !pe(t) ? e !== e && t !== t : Zi(e, t, n, r, vn, l);
677
677
  }
678
678
  function We(e, t) {
679
679
  return vn(e, t);
680
680
  }
681
- function Yi(e, t) {
681
+ function Wi(e, t) {
682
682
  const n = [];
683
683
  let r = [];
684
684
  e.forEach((i) => {
@@ -699,7 +699,7 @@ function Yi(e, t) {
699
699
  function mn(e, t) {
700
700
  return e.value.find((n) => n.id === t);
701
701
  }
702
- function Qi(e, t, n) {
702
+ function Yi(e, t, n) {
703
703
  for (let r = 0; r < e.value.length; r++) {
704
704
  let l = e.value[r];
705
705
  if (l.id === t) {
@@ -713,7 +713,7 @@ function Qi(e, t, n) {
713
713
  }
714
714
  }
715
715
  }
716
- const Ne = (e, t) => {
716
+ const Re = (e, t) => {
717
717
  let n = { key: "", name: "", children: e };
718
718
  return t.forEach((r) => {
719
719
  if (typeof r != "number") {
@@ -737,7 +737,7 @@ const Ne = (e, t) => {
737
737
  }
738
738
  n = n[r];
739
739
  }), n;
740
- }, qt = (e) => !(e instanceof Array), ot = (e) => e instanceof Array, es = (e, t) => {
740
+ }, Kt = (e) => !(e instanceof Array), ot = (e) => e instanceof Array, Qi = (e, t) => {
741
741
  const n = (r, l) => {
742
742
  if (r.ui !== l.ui || r.array !== l.array)
743
743
  return !1;
@@ -751,10 +751,10 @@ const Ne = (e, t) => {
751
751
  return !0;
752
752
  };
753
753
  return n(e, t);
754
- }, yt = (e) => !(e instanceof Array), Ye = (e) => e instanceof Array, ts = [
754
+ }, gt = (e) => !(e instanceof Array), Ye = (e) => e instanceof Array, es = [
755
755
  ["basic", "id"],
756
756
  ["basic", "name"]
757
- ], ns = (e) => ts.find((t) => We(e, t)), Qe = (e, t, n, r, l, o, i) => (e = gt(e), o !== void 0 ? (e.push(o), i && e.push(t.key)) : e.push(t.key), ns(e) ? (r.change = !1, r.change) : t.ui ? t.array && r.children && Ye(r.children) ? ls(
757
+ ], ts = (e) => es.find((t) => We(e, t)), Qe = (e, t, n, r, l, o, i) => (e = dn(e), o !== void 0 ? (e.push(o), i && e.push(t.key)) : e.push(t.key), ts(e) ? (r.change = !1, r.change) : t.ui ? t.array && r.children && Ye(r.children) ? os(
758
758
  e,
759
759
  t,
760
760
  n,
@@ -762,7 +762,7 @@ const Ne = (e, t) => {
762
762
  l,
763
763
  o,
764
764
  i
765
- ) : is(t, n, r, o, i) : t.array ? rs(
765
+ ) : ls(t, n, r, o, i) : t.array ? ns(
766
766
  e,
767
767
  t,
768
768
  n,
@@ -770,7 +770,7 @@ const Ne = (e, t) => {
770
770
  l,
771
771
  o,
772
772
  i
773
- ) : os(
773
+ ) : rs(
774
774
  e,
775
775
  t,
776
776
  n,
@@ -778,7 +778,7 @@ const Ne = (e, t) => {
778
778
  l,
779
779
  o,
780
780
  i
781
- )), rs = (e, t, n, r, l, o, i) => {
781
+ )), ns = (e, t, n, r, l, o, i) => {
782
782
  if (t.ui)
783
783
  return console.assert(!1, "execPropBranchArray prop ui must be invalid"), !1;
784
784
  if (!t.array)
@@ -786,7 +786,7 @@ const Ne = (e, t) => {
786
786
  if (!r.children || !Ye(r.children))
787
787
  return console.assert(!1, "execPropBranchArray state children must be array"), !1;
788
788
  let a;
789
- o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = N(t), l == null || l(e, n[o])), a = n[o]) : (n[t.key] instanceof Array || (n[t.key] = N(t), l == null || l(e, n[t.key])), a = n[t.key]), r.change = !1;
789
+ o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = R(t), l == null || l(e, n[o])), a = n[o]) : (n[t.key] instanceof Array || (n[t.key] = R(t), l == null || l(e, n[t.key])), a = n[t.key]), r.change = !1;
790
790
  for (let u = 0; u < a.length; u++) {
791
791
  r.children.push({
792
792
  change: !1,
@@ -794,7 +794,7 @@ const Ne = (e, t) => {
794
794
  });
795
795
  const s = r.children[u];
796
796
  t.children.forEach((v) => {
797
- if (!s.children || !yt(s.children)) {
797
+ if (!s.children || !gt(s.children)) {
798
798
  console.assert(!1);
799
799
  return;
800
800
  }
@@ -812,13 +812,13 @@ const Ne = (e, t) => {
812
812
  ) && (s.change = !0), s.change && (r.change = !0);
813
813
  });
814
814
  }
815
- return r.change || (r.change = !We(a, N(t))), r.change;
816
- }, os = (e, t, n, r, l, o, i) => {
815
+ return r.change || (r.change = !We(a, R(t))), r.change;
816
+ }, rs = (e, t, n, r, l, o, i) => {
817
817
  if (t.ui)
818
818
  return console.assert(!1, "execPropBranchScalar prop ui must be invalid"), !1;
819
819
  if (t.array)
820
820
  return console.assert(!1, "execPropBranchScalar prop array must be invalid"), !1;
821
- if (!r.children || !yt(r.children))
821
+ if (!r.children || !gt(r.children))
822
822
  return console.assert(!1, "execPropBranchScalar state children must be map"), !1;
823
823
  let a;
824
824
  o !== void 0 && !i ? (n[o] || (n[o] = {}), a = n[o]) : (n[t.key] || (n[t.key] = {}), a = n[t.key]), r.change = !1;
@@ -830,7 +830,7 @@ const Ne = (e, t) => {
830
830
  }, Qe(e, s, a, r.children[s.key], l) && (r.change = !0);
831
831
  }
832
832
  return r.change;
833
- }, ls = (e, t, n, r, l, o, i) => {
833
+ }, os = (e, t, n, r, l, o, i) => {
834
834
  if (!t.ui)
835
835
  return console.assert(!1, "execPropLeafArray prop ui must be valid"), !1;
836
836
  if (!t.array)
@@ -838,19 +838,19 @@ const Ne = (e, t) => {
838
838
  if (!r.children || !Ye(r.children))
839
839
  return console.assert(!1, "execPropLeafArray state children must be array"), !1;
840
840
  let a;
841
- o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = N(t), l == null || l(e, n[o])), a = n[o]) : (n[t.key] instanceof Array || (n[t.key] = N(t), l == null || l(e, n[t.key])), a = n[t.key]), r.change = !1;
841
+ o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = R(t), l == null || l(e, n[o])), a = n[o]) : (n[t.key] instanceof Array || (n[t.key] = R(t), l == null || l(e, n[t.key])), a = n[t.key]), r.change = !1;
842
842
  for (let u = 0; u < a.length; u++)
843
843
  r.children[u] = {
844
844
  change: !1,
845
845
  children: {}
846
846
  }, Qe(e, t, a, r.children[u], l, u, !1) && (r.change = !0);
847
- return r.change || (r.change = !We(a, N(t))), r.change;
848
- }, is = (e, t, n, r, l) => {
847
+ return r.change || (r.change = !We(a, R(t))), r.change;
848
+ }, ls = (e, t, n, r, l) => {
849
849
  if (!e.ui)
850
850
  return console.assert(!1, "execPropLeafScalar prop ui must be valid"), !1;
851
851
  let o;
852
- return r !== void 0 && !l ? o = t[r] : o = t[e.key], n.change = !We(o, N(e, !0)), n.change;
853
- }, zt = (e, t, n, r) => {
852
+ return r !== void 0 && !l ? o = t[r] : o = t[e.key], n.change = !We(o, R(e, !0)), n.change;
853
+ }, qt = (e, t, n, r) => {
854
854
  if (t.length <= 0 || !n) {
855
855
  e.value = {};
856
856
  return;
@@ -869,59 +869,59 @@ const Ne = (e, t) => {
869
869
  return console.assert(!1, `isPropChanged state must be valid keys=${t}`), !1;
870
870
  if (!n.children)
871
871
  return console.assert(!1, `isPropChanged state must be valid keys=${t}`), !1;
872
- typeof r == "string" ? yt(n.children) && (n = n.children[r]) : Ye(n.children) && (n = n.children[r]);
872
+ typeof r == "string" ? gt(n.children) && (n = n.children[r]) : Ye(n.children) && (n = n.children[r]);
873
873
  }), (n == null ? void 0 : n.change) ?? !1;
874
874
  }, gn = Symbol(), yn = Symbol(), hn = Symbol(), _n = Symbol(), bn = Symbol(), $n = Symbol();
875
- function ss(e) {
875
+ function is(e) {
876
876
  we(gn, e);
877
877
  }
878
- function ht() {
878
+ function yt() {
879
879
  return Ae(gn);
880
880
  }
881
- function as(e) {
881
+ function ss(e) {
882
882
  we(yn, e);
883
883
  }
884
- function us() {
884
+ function as() {
885
885
  return Ae(yn);
886
886
  }
887
- function cs(e) {
887
+ function us(e) {
888
888
  we(hn, e);
889
889
  }
890
- function fs() {
890
+ function cs() {
891
891
  return Ae(hn);
892
892
  }
893
- function ds(e) {
893
+ function fs(e) {
894
894
  we(_n, e);
895
895
  }
896
- function ps() {
896
+ function ds() {
897
897
  return Ae(_n);
898
898
  }
899
- function vs(e) {
899
+ function ps(e) {
900
900
  we(bn, e);
901
901
  }
902
- function ms() {
902
+ function vs() {
903
903
  return Ae(bn);
904
904
  }
905
- function gs(e) {
905
+ function ms(e) {
906
906
  we($n, e);
907
907
  }
908
908
  function Tn() {
909
909
  return Ae($n);
910
910
  }
911
- const ys = /* @__PURE__ */ G({
911
+ const gs = /* @__PURE__ */ G({
912
912
  __name: "menu",
913
913
  setup(e) {
914
- const { t } = ie(), n = us(), r = fs(), l = ps(), o = ms(), i = R(0), a = R(0), u = R([]), s = F(() => [i.value, a.value]), v = (S) => {
914
+ const { t } = ie(), n = as(), r = cs(), l = ds(), o = vs(), i = N(0), a = N(0), u = N([]), s = F(() => [i.value, a.value]), v = (S) => {
915
915
  const x = () => !(u.value.length <= 0 || !Te(l.value, u.value)), $ = () => {
916
916
  if (!x())
917
917
  return;
918
- const b = Ne(n.value, u.value);
918
+ const b = Re(n.value, u.value);
919
919
  if (b)
920
920
  if (b.ui) {
921
921
  const P = xe(r.value, u.value.slice(0, -1));
922
922
  if (!P)
923
923
  return;
924
- P[u.value.at(-1)] = N(b), o(u.value, P[u.value.at(-1)]);
924
+ P[u.value.at(-1)] = R(b), o(u.value, P[u.value.at(-1)]);
925
925
  } else if (b.array) {
926
926
  const P = u.value.at(-1);
927
927
  if (P === void 0) {
@@ -929,24 +929,24 @@ const ys = /* @__PURE__ */ G({
929
929
  return;
930
930
  }
931
931
  if (typeof P == "string") {
932
- const j = xe(r.value, u.value.slice(0, -1));
933
- if (!j)
932
+ const D = xe(r.value, u.value.slice(0, -1));
933
+ if (!D)
934
934
  return;
935
- j[u.value.at(-1)] = N(b), o(u.value, j[u.value.at(-1)]);
935
+ D[u.value.at(-1)] = R(b), o(u.value, D[u.value.at(-1)]);
936
936
  } else {
937
- const j = xe(r.value, u.value);
938
- if (!j)
937
+ const D = xe(r.value, u.value);
938
+ if (!D)
939
939
  return;
940
940
  b.children.forEach((Q) => {
941
- j[Q.key] = N(b), o([...u.value, Q.key], j[Q.key]);
941
+ D[Q.key] = R(b), o([...u.value, Q.key], D[Q.key]);
942
942
  });
943
943
  }
944
944
  } else {
945
945
  const P = xe(r.value, u.value);
946
946
  if (!P)
947
947
  return;
948
- b.children.forEach((j) => {
949
- P[j.key] = N(b), o([...u.value, j.key], P[j.key]);
948
+ b.children.forEach((D) => {
949
+ P[D.key] = R(b), o([...u.value, D.key], P[D.key]);
950
950
  });
951
951
  }
952
952
  };
@@ -956,7 +956,7 @@ const ys = /* @__PURE__ */ G({
956
956
  });
957
957
  }, c = (S) => {
958
958
  const x = () => {
959
- const $ = Ne(n.value, u.value), b = xe(r.value, u.value);
959
+ const $ = Re(n.value, u.value), b = xe(r.value, u.value);
960
960
  localStorage.setItem("propTreeCopy", JSON.stringify({ prop: $, object: b }));
961
961
  };
962
962
  S.push({
@@ -969,8 +969,8 @@ const ys = /* @__PURE__ */ G({
969
969
  if (!b)
970
970
  return !1;
971
971
  try {
972
- const { prop: P } = JSON.parse(b), j = Ne(n.value, u.value);
973
- return es(P, j);
972
+ const { prop: P } = JSON.parse(b), D = Re(n.value, u.value);
973
+ return Qi(P, D);
974
974
  } catch (P) {
975
975
  console.error(P);
976
976
  }
@@ -981,8 +981,8 @@ const ys = /* @__PURE__ */ G({
981
981
  const b = localStorage.getItem("propTreeCopy");
982
982
  if (b)
983
983
  try {
984
- const { object: P } = JSON.parse(b), j = Ne(n.value, u.value);
985
- console.log(P, j);
984
+ const { object: P } = JSON.parse(b), D = Re(n.value, u.value);
985
+ console.log(P, D);
986
986
  } catch (P) {
987
987
  console.error(P);
988
988
  }
@@ -998,8 +998,8 @@ const ys = /* @__PURE__ */ G({
998
998
  i.value = S.x, a.value = S.y, u.value = S.keys;
999
999
  }, { open: C } = Je("propTreeMenu", m);
1000
1000
  return (S, x) => {
1001
- const $ = V("v-list-item-title"), b = V("v-list-item"), P = V("v-list"), j = V("v-menu");
1002
- return A(), B(j, {
1001
+ const $ = V("v-list-item-title"), b = V("v-list-item"), P = V("v-list"), D = V("v-menu");
1002
+ return A(), B(D, {
1003
1003
  modelValue: w(C),
1004
1004
  "onUpdate:modelValue": x[0] || (x[0] = (Q) => Ve(C) ? C.value = Q : null),
1005
1005
  "location-strategy": "connected",
@@ -1009,7 +1009,7 @@ const ys = /* @__PURE__ */ G({
1009
1009
  default: H(() => [
1010
1010
  k(P, null, {
1011
1011
  default: H(() => [
1012
- (A(!0), K(He, null, Jt(d.value, (Q, et) => (A(), B(b, {
1012
+ (A(!0), K(He, null, zt(d.value, (Q, et) => (A(), B(b, {
1013
1013
  key: et,
1014
1014
  link: "",
1015
1015
  onClick: Q.func
@@ -1033,7 +1033,7 @@ const ys = /* @__PURE__ */ G({
1033
1033
  };
1034
1034
  }
1035
1035
  });
1036
- var Sn = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", wn = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", An = "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", _e = "M19,13H5V11H19V13Z", hs = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
1036
+ var Sn = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", wn = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", An = "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", _e = "M19,13H5V11H19V13Z", ys = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
1037
1037
  const Be = /* @__PURE__ */ G({
1038
1038
  __name: "title",
1039
1039
  props: {
@@ -1045,7 +1045,7 @@ const Be = /* @__PURE__ */ G({
1045
1045
  },
1046
1046
  emits: ["collapse", "menu", "create", "delete"],
1047
1047
  setup(e, { emit: t }) {
1048
- const { backgroundColor2: n, highlightColor: r } = me(), l = t, o = R(!1), i = F(() => ({
1048
+ const { backgroundColor2: n, highlightColor: r } = me(), l = t, o = N(!1), i = F(() => ({
1049
1049
  background: o.value ? r.value : n.value,
1050
1050
  height: "36px",
1051
1051
  marginBottom: "1px",
@@ -1076,7 +1076,7 @@ const Be = /* @__PURE__ */ G({
1076
1076
  class: "mx-3",
1077
1077
  variant: "text",
1078
1078
  density: "compact",
1079
- icon: w(hs),
1079
+ icon: w(ys),
1080
1080
  onClick: v[0] || (v[0] = J((C) => l("create"), ["stop"]))
1081
1081
  }, null, 8, ["icon"])) : X("", !0),
1082
1082
  s.hasDelete ? (A(), B(d, {
@@ -1092,14 +1092,14 @@ const Be = /* @__PURE__ */ G({
1092
1092
  ]);
1093
1093
  };
1094
1094
  }
1095
- }), _s = /* @__PURE__ */ G({
1095
+ }), hs = /* @__PURE__ */ G({
1096
1096
  __name: "entry",
1097
1097
  props: {
1098
1098
  minHeight: {}
1099
1099
  },
1100
1100
  emits: ["menu"],
1101
1101
  setup(e, { emit: t }) {
1102
- const { backgroundColor2: n, highlightColor: r } = me(), l = t, o = R(!1), i = F(() => ({
1102
+ const { backgroundColor2: n, highlightColor: r } = me(), l = t, o = N(!1), i = F(() => ({
1103
1103
  background: o.value ? r.value : n.value,
1104
1104
  minHeight: e.minHeight,
1105
1105
  paddingRight: "4px",
@@ -1124,13 +1124,13 @@ const Be = /* @__PURE__ */ G({
1124
1124
  };
1125
1125
  }
1126
1126
  });
1127
- function bs(e, t, n) {
1127
+ function _s(e, t, n) {
1128
1128
  const { t: r } = ie();
1129
1129
  return { renderProp: (o, i, a) => {
1130
1130
  const u = o.at(-1);
1131
1131
  let v = typeof u == "number" ? `[${u + 1}]` : r(i.name);
1132
1132
  return Te(e.value, o) && (v += " *"), _(
1133
- _s,
1133
+ hs,
1134
1134
  {
1135
1135
  minHeight: t.value,
1136
1136
  onMenu: (c, f) => {
@@ -1148,20 +1148,20 @@ const ae = (e, t, n, r, l, o) => {
1148
1148
  if (l !== void 0)
1149
1149
  if (o) {
1150
1150
  if (n[t.key] === void 0) {
1151
- const i = N(t);
1151
+ const i = R(t);
1152
1152
  i !== void 0 && (n[t.key] = i, r(e, n[t.key]));
1153
1153
  }
1154
1154
  return n[t.key];
1155
1155
  } else {
1156
1156
  if (n[l] === void 0) {
1157
- const i = N(t, !0);
1157
+ const i = R(t, !0);
1158
1158
  i !== void 0 && (n[l] = i, r(e, n[l]));
1159
1159
  }
1160
1160
  return n[l];
1161
1161
  }
1162
1162
  else {
1163
1163
  if (n[t.key] === void 0) {
1164
- const i = N(t);
1164
+ const i = R(t);
1165
1165
  i !== void 0 && (n[t.key] = i, r(e, n[t.key]));
1166
1166
  }
1167
1167
  return n[t.key];
@@ -1174,7 +1174,7 @@ const ae = (e, t, n, r, l, o) => {
1174
1174
  (t.ui === "switch" || t.ui === "select" || t.ui === "colorPicker" || t.ui === "multiTypes" || t.ui === "compSelect") && (r || (a = void 0)), a !== n[t.key] && (n[t.key] = a, l(e, n[t.key]));
1175
1175
  }
1176
1176
  };
1177
- function $s(e) {
1177
+ function bs(e) {
1178
1178
  return { renderUiDummy: (n, r, l, o, i) => {
1179
1179
  if (r.ui !== "dummy") {
1180
1180
  console.assert(!1, "renderUiDummy prop ui must be dummy");
@@ -1183,7 +1183,7 @@ function $s(e) {
1183
1183
  ae(n, r, l, e, o, i);
1184
1184
  } };
1185
1185
  }
1186
- const Ts = { class: "d-flex justify-space-between align-center" }, Ss = /* @__PURE__ */ G({
1186
+ const $s = { class: "d-flex justify-space-between align-center" }, Ts = /* @__PURE__ */ G({
1187
1187
  __name: "strInput",
1188
1188
  props: /* @__PURE__ */ Z({
1189
1189
  hasDelete: { type: Boolean, default: !1 },
@@ -1197,7 +1197,7 @@ const Ts = { class: "d-flex justify-space-between align-center" }, Ss = /* @__PU
1197
1197
  const n = I(e, "modelValue"), r = t;
1198
1198
  return (l, o) => {
1199
1199
  const i = V("v-text-field"), a = V("v-btn"), u = ce("ripple");
1200
- return A(), K("div", Ts, [
1200
+ return A(), K("div", $s, [
1201
1201
  le(k(i, {
1202
1202
  modelValue: n.value,
1203
1203
  "onUpdate:modelValue": o[0] || (o[0] = (s) => n.value = s),
@@ -1225,8 +1225,8 @@ const Ts = { class: "d-flex justify-space-between align-center" }, Ss = /* @__PU
1225
1225
  };
1226
1226
  }
1227
1227
  });
1228
- function ws(e) {
1229
- return { renderUiStrInput: (n, r, l, o, i) => r.ui !== "strInput" ? (console.assert(!1), _("div", "renderUiStrInput prop ui must be strInput")) : _(Ss, {
1228
+ function Ss(e) {
1229
+ return { renderUiStrInput: (n, r, l, o, i) => r.ui !== "strInput" ? (console.assert(!1), _("div", "renderUiStrInput prop ui must be strInput")) : _(Ts, {
1230
1230
  modelValue: r.static ? r.value : ae(
1231
1231
  n,
1232
1232
  r,
@@ -1253,7 +1253,7 @@ function ws(e) {
1253
1253
  readonly: r.static || r.readonly
1254
1254
  }) };
1255
1255
  }
1256
- const As = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PURE__ */ G({
1256
+ const ws = { class: "d-flex justify-space-between align-center" }, As = /* @__PURE__ */ G({
1257
1257
  __name: "numInput",
1258
1258
  props: /* @__PURE__ */ Z({
1259
1259
  hasDelete: { type: Boolean, default: !1 },
@@ -1272,7 +1272,7 @@ const As = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PU
1272
1272
  const n = I(e, "modelValue"), r = t;
1273
1273
  return (l, o) => {
1274
1274
  const i = V("v-number-input"), a = V("v-btn"), u = ce("ripple");
1275
- return A(), K("div", As, [
1275
+ return A(), K("div", ws, [
1276
1276
  le(k(i, {
1277
1277
  modelValue: n.value,
1278
1278
  "onUpdate:modelValue": o[0] || (o[0] = (s) => n.value = s),
@@ -1305,8 +1305,8 @@ const As = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PU
1305
1305
  };
1306
1306
  }
1307
1307
  });
1308
- function Ps(e) {
1309
- return { renderUiNumInput: (n, r, l, o, i) => r.ui !== "numInput" ? (console.assert(!1), _("div", "renderUiNumInput prop ui must be numInput")) : _(Cs, {
1308
+ function Cs(e) {
1309
+ return { renderUiNumInput: (n, r, l, o, i) => r.ui !== "numInput" ? (console.assert(!1), _("div", "renderUiNumInput prop ui must be numInput")) : _(As, {
1310
1310
  modelValue: ae(
1311
1311
  n,
1312
1312
  r,
@@ -1337,7 +1337,7 @@ function Ps(e) {
1337
1337
  readonly: r.readonly
1338
1338
  }) };
1339
1339
  }
1340
- const xs = { class: "d-flex justify-space-between align-center" }, Os = /* @__PURE__ */ G({
1340
+ const Ps = { class: "d-flex justify-space-between align-center" }, xs = /* @__PURE__ */ G({
1341
1341
  __name: "switch",
1342
1342
  props: /* @__PURE__ */ Z({
1343
1343
  hasDelete: { type: Boolean, default: !1 },
@@ -1351,7 +1351,7 @@ const xs = { class: "d-flex justify-space-between align-center" }, Os = /* @__PU
1351
1351
  const n = I(e, "modelValue"), r = t;
1352
1352
  return (l, o) => {
1353
1353
  const i = V("v-switch"), a = V("v-btn");
1354
- return A(), K("div", xs, [
1354
+ return A(), K("div", Ps, [
1355
1355
  k(i, {
1356
1356
  modelValue: n.value,
1357
1357
  "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
@@ -1373,8 +1373,8 @@ const xs = { class: "d-flex justify-space-between align-center" }, Os = /* @__PU
1373
1373
  };
1374
1374
  }
1375
1375
  });
1376
- function Vs(e) {
1377
- return { renderUiSwitch: (n, r, l, o, i) => r.ui !== "switch" ? (console.assert(!1), _("div", "renderUiSwitch prop ui must be switch")) : _(Os, {
1376
+ function Os(e) {
1377
+ return { renderUiSwitch: (n, r, l, o, i) => r.ui !== "switch" ? (console.assert(!1), _("div", "renderUiSwitch prop ui must be switch")) : _(xs, {
1378
1378
  modelValue: ae(
1379
1379
  n,
1380
1380
  r,
@@ -1401,7 +1401,7 @@ function Vs(e) {
1401
1401
  readonly: r.readonly
1402
1402
  }) };
1403
1403
  }
1404
- const Us = { class: "d-flex justify-space-between align-center" }, Ms = /* @__PURE__ */ G({
1404
+ const Vs = { class: "d-flex justify-space-between align-center" }, Us = /* @__PURE__ */ G({
1405
1405
  __name: "select",
1406
1406
  props: /* @__PURE__ */ Z({
1407
1407
  hasDelete: { type: Boolean, default: !1 },
@@ -1413,16 +1413,16 @@ const Us = { class: "d-flex justify-space-between align-center" }, Ms = /* @__PU
1413
1413
  }),
1414
1414
  emits: /* @__PURE__ */ Z(["delete"], ["update:modelValue"]),
1415
1415
  setup(e, { emit: t }) {
1416
- const { t: n } = ie(), r = I(e, "modelValue"), l = t, o = ht(), i = F(() => {
1416
+ const { t: n } = ie(), r = I(e, "modelValue"), l = t, o = yt(), i = F(() => {
1417
1417
  var u;
1418
1418
  const a = [];
1419
- return (u = Wt[o.value]) == null || u.items[e.items].forEach(({ title: s, value: v }) => {
1419
+ return (u = Zt[o.value]) == null || u.items[e.items].forEach(({ title: s, value: v }) => {
1420
1420
  a.push({ title: n(s), value: v });
1421
1421
  }), a;
1422
1422
  });
1423
1423
  return (a, u) => {
1424
1424
  const s = V("v-select"), v = V("v-btn"), c = ce("ripple");
1425
- return A(), K("div", Us, [
1425
+ return A(), K("div", Vs, [
1426
1426
  le(k(s, {
1427
1427
  modelValue: r.value,
1428
1428
  "onUpdate:modelValue": u[0] || (u[0] = (f) => r.value = f),
@@ -1451,8 +1451,8 @@ const Us = { class: "d-flex justify-space-between align-center" }, Ms = /* @__PU
1451
1451
  };
1452
1452
  }
1453
1453
  });
1454
- function Ls(e) {
1455
- return { renderUiSelect: (n, r, l, o, i) => r.ui !== "select" ? (console.assert(!1), _("div", "renderUiSelect prop ui must be select")) : _(Ms, {
1454
+ function Ms(e) {
1455
+ return { renderUiSelect: (n, r, l, o, i) => r.ui !== "select" ? (console.assert(!1), _("div", "renderUiSelect prop ui must be select")) : _(Us, {
1456
1456
  modelValue: ae(
1457
1457
  n,
1458
1458
  r,
@@ -1480,7 +1480,7 @@ function Ls(e) {
1480
1480
  readonly: r.readonly
1481
1481
  }) };
1482
1482
  }
1483
- const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-grey ml-1" }, ks = /* @__PURE__ */ G({
1483
+ const Ls = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-grey ml-1" }, js = /* @__PURE__ */ G({
1484
1484
  __name: "group",
1485
1485
  props: {
1486
1486
  id: {},
@@ -1490,7 +1490,7 @@ const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-g
1490
1490
  },
1491
1491
  emits: ["x-click"],
1492
1492
  setup(e, { emit: t }) {
1493
- const { backgroundColor2: n, highlightColor: r } = me(), l = e, o = t, i = R(!1), a = F(() => ({
1493
+ const { backgroundColor2: n, highlightColor: r } = me(), l = e, o = t, i = N(!1), a = F(() => ({
1494
1494
  background: i.value ? r.value : n.value,
1495
1495
  height: "30px",
1496
1496
  marginBottom: "1px",
@@ -1509,14 +1509,14 @@ const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-g
1509
1509
  icon: l.collapse ? w(wn) : w(Sn),
1510
1510
  size: "small"
1511
1511
  }, null, 8, ["icon"]),
1512
- z("span", js, Y(l.title), 1),
1512
+ z("span", Ls, Y(l.title), 1),
1513
1513
  z("span", Ds, Y(l.count), 1)
1514
1514
  ], 36)), [
1515
1515
  [c]
1516
1516
  ]);
1517
1517
  };
1518
1518
  }
1519
- }), Es = { class: "text-subtitle-1 ml-6" }, Rs = /* @__PURE__ */ G({
1519
+ }), ks = { class: "text-subtitle-1 ml-6" }, Es = /* @__PURE__ */ G({
1520
1520
  __name: "item",
1521
1521
  props: {
1522
1522
  id: {},
@@ -1524,7 +1524,7 @@ const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-g
1524
1524
  },
1525
1525
  emits: ["x-click"],
1526
1526
  setup(e, { emit: t }) {
1527
- const { backgroundColor2: n, highlightColor: r } = me(), l = e, o = t, i = R(!1), a = F(() => ({
1527
+ const { backgroundColor2: n, highlightColor: r } = me(), l = e, o = t, i = N(!1), a = F(() => ({
1528
1528
  background: i.value ? r.value : n.value,
1529
1529
  height: "48px",
1530
1530
  marginBottom: "1px",
@@ -1539,16 +1539,16 @@ const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-g
1539
1539
  onMouseover: s[1] || (s[1] = (c) => i.value = !0),
1540
1540
  onMouseout: s[2] || (s[2] = (c) => i.value = !1)
1541
1541
  }, [
1542
- z("span", Es, Y(l.title), 1)
1542
+ z("span", ks, Y(l.title), 1)
1543
1543
  ], 36)), [
1544
1544
  [v]
1545
1545
  ]);
1546
1546
  };
1547
1547
  }
1548
- }), Ns = { key: 0 }, Bs = {
1548
+ }), Ns = { key: 0 }, Rs = {
1549
1549
  key: 1,
1550
1550
  class: "text-body-2 text-grey ml-3"
1551
- }, Fs = /* @__PURE__ */ G({
1551
+ }, Bs = /* @__PURE__ */ G({
1552
1552
  __name: "index",
1553
1553
  props: {
1554
1554
  modelValue: {},
@@ -1560,15 +1560,15 @@ const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-g
1560
1560
  setup(e) {
1561
1561
  const { t } = ie(), n = I(e, "modelValue"), r = I(e, "open"), l = Tn(), o = (a) => {
1562
1562
  const u = mn(l, a);
1563
- u && Qi(l, a, !u.collapse);
1563
+ u && Yi(l, a, !u.collapse);
1564
1564
  }, i = (a) => {
1565
1565
  n.value = a, r.value = !1, $e.emit("refreshDepends");
1566
1566
  };
1567
1567
  return (a, u) => w(l).length > 0 ? (A(), K("div", Ns, [
1568
- (A(!0), K(He, null, Jt(w(l), (s) => (A(), K(He, {
1568
+ (A(!0), K(He, null, zt(w(l), (s) => (A(), K(He, {
1569
1569
  key: s.id
1570
1570
  }, [
1571
- s.type === 0 ? (A(), B(ks, {
1571
+ s.type === 0 ? (A(), B(js, {
1572
1572
  key: 0,
1573
1573
  id: s.id,
1574
1574
  title: s.name,
@@ -1576,16 +1576,16 @@ const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-g
1576
1576
  count: s.count ?? 0,
1577
1577
  onXClick: o
1578
1578
  }, null, 8, ["id", "title", "collapse", "count"])) : X("", !0),
1579
- s.type === 1 && s.show ? (A(), B(Rs, {
1579
+ s.type === 1 && s.show ? (A(), B(Es, {
1580
1580
  key: 1,
1581
1581
  id: s.id,
1582
1582
  title: s.name,
1583
1583
  onXClick: i
1584
1584
  }, null, 8, ["id", "title"])) : X("", !0)
1585
1585
  ], 64))), 128))
1586
- ])) : (A(), K("div", Bs, Y(w(t)("x-prop-tree.noComp")), 1));
1586
+ ])) : (A(), K("div", Rs, Y(w(t)("x-prop-tree.noComp")), 1));
1587
1587
  }
1588
- }), Hs = { class: "text-subtitle-1 ml-3" }, Gs = /* @__PURE__ */ G({
1588
+ }), Fs = { class: "text-subtitle-1 ml-3" }, Hs = /* @__PURE__ */ G({
1589
1589
  __name: "index",
1590
1590
  props: {
1591
1591
  modelValue: {},
@@ -1593,7 +1593,7 @@ const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-g
1593
1593
  },
1594
1594
  emits: ["update:modelValue"],
1595
1595
  setup(e) {
1596
- const { t } = ie(), n = Zn(), { sysBarAvail: r } = Zt(), { backgroundColor1: l } = me(), o = I(e, "modelValue"), i = Tn(), a = F(() => {
1596
+ const { t } = ie(), n = Xn(), { sysBarAvail: r } = Xt(), { backgroundColor1: l } = me(), o = I(e, "modelValue"), i = Tn(), a = F(() => {
1597
1597
  let f = "100%";
1598
1598
  return n.mdAndUp.value && (f = "400px"), {
1599
1599
  background: l.value,
@@ -1625,7 +1625,7 @@ const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-g
1625
1625
  persistent: "",
1626
1626
  "no-click-animation": "",
1627
1627
  fullscreen: "",
1628
- onKeydown: d[6] || (d[6] = It(J(($) => c.value = !1, ["stop", "prevent"]), ["esc"]))
1628
+ onKeydown: d[6] || (d[6] = Jt(J(($) => c.value = !1, ["stop", "prevent"]), ["esc"]))
1629
1629
  }, {
1630
1630
  activator: H(({ props: $ }) => [
1631
1631
  k(m, dt($, {
@@ -1663,7 +1663,7 @@ const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-g
1663
1663
  icon: w(An),
1664
1664
  onClick: d[0] || (d[0] = ($) => c.value = !1)
1665
1665
  }, null, 8, ["icon"]),
1666
- z("span", Hs, Y(w(t)("x-prop-tree.dlg.compSelect.title")), 1)
1666
+ z("span", Fs, Y(w(t)("x-prop-tree.dlg.compSelect.title")), 1)
1667
1667
  ]),
1668
1668
  _: 1
1669
1669
  }),
@@ -1671,7 +1671,7 @@ const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-g
1671
1671
  class: "overflow-y-auto",
1672
1672
  style: re(u.value)
1673
1673
  }, [
1674
- k(Fs, {
1674
+ k(Bs, {
1675
1675
  modelValue: o.value,
1676
1676
  "onUpdate:modelValue": d[1] || (d[1] = ($) => o.value = $),
1677
1677
  open: w(c),
@@ -1689,8 +1689,8 @@ const js = { class: "text-subtitle-2 ml-1" }, Ds = { class: "text-caption text-g
1689
1689
  };
1690
1690
  }
1691
1691
  });
1692
- function Ks(e) {
1693
- return { renderUiCompSelect: (n, r, l, o, i) => r.ui !== "compSelect" ? (console.assert(!1), _("div", "renderUiCompSelect prop ui must be compSelect")) : _(Gs, {
1692
+ function Gs(e) {
1693
+ return { renderUiCompSelect: (n, r, l, o, i) => r.ui !== "compSelect" ? (console.assert(!1), _("div", "renderUiCompSelect prop ui must be compSelect")) : _(Hs, {
1694
1694
  modelValue: ae(
1695
1695
  n,
1696
1696
  r,
@@ -1712,7 +1712,7 @@ function Ks(e) {
1712
1712
  }
1713
1713
  }) };
1714
1714
  }
1715
- const qs = { class: "d-flex justify-space-between align-center" }, zs = /* @__PURE__ */ G({
1715
+ const Ks = { class: "d-flex justify-space-between align-center" }, qs = /* @__PURE__ */ G({
1716
1716
  __name: "colorPicker",
1717
1717
  props: /* @__PURE__ */ Z({
1718
1718
  hasDelete: { type: Boolean, default: !1 },
@@ -1740,7 +1740,7 @@ const qs = { class: "d-flex justify-space-between align-center" }, zs = /* @__PU
1740
1740
  scrim: "transparent"
1741
1741
  }, {
1742
1742
  activator: H(({ props: d }) => [
1743
- z("div", qs, [
1743
+ z("div", Ks, [
1744
1744
  z("div", {
1745
1745
  class: "flex-grow-1",
1746
1746
  style: re(o.value)
@@ -1781,8 +1781,8 @@ const qs = { class: "d-flex justify-space-between align-center" }, zs = /* @__PU
1781
1781
  };
1782
1782
  }
1783
1783
  });
1784
- function Js(e) {
1785
- return { renderUiColorPicker: (n, r, l, o, i) => r.ui !== "colorPicker" ? (console.assert(!1), _("div", "renderUiColorPicker prop ui must be colorPicker")) : _(zs, {
1784
+ function zs(e) {
1785
+ return { renderUiColorPicker: (n, r, l, o, i) => r.ui !== "colorPicker" ? (console.assert(!1), _("div", "renderUiColorPicker prop ui must be colorPicker")) : _(qs, {
1786
1786
  modelValue: ae(
1787
1787
  n,
1788
1788
  r,
@@ -1809,7 +1809,7 @@ function Js(e) {
1809
1809
  readonly: r.readonly
1810
1810
  }) };
1811
1811
  }
1812
- const Is = { class: "d-flex justify-space-between align-center my-2" }, Xs = { class: "flex-grow-1" }, Zs = /* @__PURE__ */ G({
1812
+ const Js = { class: "d-flex justify-space-between align-center my-2" }, Is = { class: "flex-grow-1" }, Xs = /* @__PURE__ */ G({
1813
1813
  __name: "multiTypes",
1814
1814
  props: /* @__PURE__ */ Z({
1815
1815
  hasDelete: { type: Boolean, default: !1 },
@@ -1820,10 +1820,10 @@ const Is = { class: "d-flex justify-space-between align-center my-2" }, Xs = { c
1820
1820
  }),
1821
1821
  emits: /* @__PURE__ */ Z(["delete"], ["update:modelValue"]),
1822
1822
  setup(e, { emit: t }) {
1823
- const { t: n } = ie(), r = I(e, "modelValue"), l = t, o = ht(), i = F(() => {
1823
+ const { t: n } = ie(), r = I(e, "modelValue"), l = t, o = yt(), i = F(() => {
1824
1824
  var f;
1825
- return (f = Wt[o.value]) == null ? void 0 : f.types[e.types];
1826
- }), a = R(0), u = F(() => {
1825
+ return (f = Zt[o.value]) == null ? void 0 : f.types[e.types];
1826
+ }), a = N(0), u = F(() => {
1827
1827
  var d;
1828
1828
  const f = [];
1829
1829
  return (d = i.value) == null || d.forEach(({ title: m }, C) => {
@@ -1833,7 +1833,7 @@ const Is = { class: "d-flex justify-space-between align-center my-2" }, Xs = { c
1833
1833
  });
1834
1834
  }), f;
1835
1835
  });
1836
- bt(() => {
1836
+ _t(() => {
1837
1837
  var f;
1838
1838
  (f = i.value) == null || f.some((d, m) => d.validator(r.value) ? (a.value = m, !0) : !1);
1839
1839
  });
@@ -1843,18 +1843,18 @@ const Is = { class: "d-flex justify-space-between align-center my-2" }, Xs = { c
1843
1843
  }), v = () => {
1844
1844
  var f;
1845
1845
  r.value = (f = s.value) == null ? void 0 : f.default;
1846
- }, c = R(0);
1847
- return bt(() => {
1846
+ }, c = N(0);
1847
+ return _t(() => {
1848
1848
  var f, d;
1849
- ((f = s.value) == null ? void 0 : f.ui) === "pixelInput" ? c.value = Jn(r.value) : ((d = s.value) == null ? void 0 : d.ui) === "percentInput" && (c.value = In(r.value));
1849
+ ((f = s.value) == null ? void 0 : f.ui) === "pixelInput" ? c.value = zn(r.value) : ((d = s.value) == null ? void 0 : d.ui) === "percentInput" && (c.value = Jn(r.value));
1850
1850
  }), be(c, (f) => {
1851
1851
  var d, m;
1852
1852
  ((d = s.value) == null ? void 0 : d.ui) === "pixelInput" ? r.value = f + "px" : ((m = s.value) == null ? void 0 : m.ui) === "percentInput" && (r.value = f + "%");
1853
1853
  }), (f, d) => {
1854
1854
  var $, b;
1855
1855
  const m = V("v-select"), C = V("v-number-input"), S = V("v-btn"), x = ce("ripple");
1856
- return A(), K("div", Is, [
1857
- z("div", Xs, [
1856
+ return A(), K("div", Js, [
1857
+ z("div", Is, [
1858
1858
  le(k(m, {
1859
1859
  modelValue: a.value,
1860
1860
  "onUpdate:modelValue": [
@@ -1906,8 +1906,8 @@ const Is = { class: "d-flex justify-space-between align-center my-2" }, Xs = { c
1906
1906
  };
1907
1907
  }
1908
1908
  });
1909
- function Ws(e) {
1910
- return { renderUiMultiTypes: (n, r, l, o, i) => r.ui !== "multiTypes" ? (console.assert(!1), _("div", "renderUiMultiTypes prop ui must be multiTypes")) : _(Zs, {
1909
+ function Zs(e) {
1910
+ return { renderUiMultiTypes: (n, r, l, o, i) => r.ui !== "multiTypes" ? (console.assert(!1), _("div", "renderUiMultiTypes prop ui must be multiTypes")) : _(Xs, {
1911
1911
  modelValue: ae(
1912
1912
  n,
1913
1913
  r,
@@ -1934,7 +1934,7 @@ function Ws(e) {
1934
1934
  types: r.types
1935
1935
  }) };
1936
1936
  }
1937
- const Ys = /* @__PURE__ */ G({
1937
+ const Ws = /* @__PURE__ */ G({
1938
1938
  __name: "editor",
1939
1939
  props: {
1940
1940
  modelValue: { required: !0 },
@@ -1946,14 +1946,15 @@ const Ys = /* @__PURE__ */ G({
1946
1946
  },
1947
1947
  emits: ["update:modelValue", "update:lock", "update:scale"],
1948
1948
  setup(e, { expose: t }) {
1949
- const n = I(e, "modelValue"), r = I(e, "lock"), l = I(e, "scale"), o = qn(), i = zn(), a = ht(), u = Xt("target"), s = () => {
1950
- var c;
1951
- (c = u.value) == null || c.load(gt(Fn(n)));
1949
+ const n = I(e, "modelValue"), r = I(e, "lock"), l = I(e, "scale"), o = Kn(), i = qn(), a = yt(), u = It("target"), s = () => {
1950
+ var f;
1951
+ const c = JSON.parse(n.value);
1952
+ (f = u.value) == null || f.load(c);
1952
1953
  };
1953
1954
  return t({ save: () => {
1954
1955
  const c = u.value.save();
1955
- n.value = c;
1956
- } }), (c, f) => (A(), B(w(Wn), {
1956
+ n.value = JSON.stringify(c);
1957
+ } }), (c, f) => (A(), B(w(Zn), {
1957
1958
  ref_key: "target",
1958
1959
  ref: u,
1959
1960
  lock: r.value,
@@ -1967,7 +1968,7 @@ const Ys = /* @__PURE__ */ G({
1967
1968
  onReady: s
1968
1969
  }, null, 8, ["lock", "scale", "version", "locale", "dark"]));
1969
1970
  }
1970
- }), Qs = { class: "text-subtitle-1" }, ea = /* @__PURE__ */ G({
1971
+ }), Ys = { class: "text-subtitle-1" }, Qs = /* @__PURE__ */ G({
1971
1972
  __name: "index",
1972
1973
  props: {
1973
1974
  modelValue: { required: !0 },
@@ -1975,7 +1976,7 @@ const Ys = /* @__PURE__ */ G({
1975
1976
  },
1976
1977
  emits: ["update:modelValue"],
1977
1978
  setup(e) {
1978
- const { t } = ie(), { sysBarAvail: n } = Zt(), { backgroundColor0: r, backgroundColor1: l, backgroundColor2: o } = me(), i = I(e, "modelValue"), a = R(!1), u = R(1), s = F(() => {
1979
+ const { t } = ie(), { sysBarAvail: n } = Xt(), { backgroundColor0: r, backgroundColor1: l, backgroundColor2: o } = me(), i = I(e, "modelValue"), a = N(!1), u = N(1), s = F(() => {
1979
1980
  let d = 48;
1980
1981
  return n.value && (d += 24), {
1981
1982
  position: "relative",
@@ -1986,7 +1987,7 @@ const Ys = /* @__PURE__ */ G({
1986
1987
  ft(() => {
1987
1988
  c.value = !1;
1988
1989
  });
1989
- const f = Xt("editor");
1990
+ const f = It("editor");
1990
1991
  return be(c, (d) => {
1991
1992
  var m;
1992
1993
  d || (m = f.value) == null || m.save();
@@ -2000,7 +2001,7 @@ const Ys = /* @__PURE__ */ G({
2000
2001
  "no-click-animation": "",
2001
2002
  fullscreen: "",
2002
2003
  attach: "",
2003
- onKeydown: m[5] || (m[5] = It(J((b) => c.value = !1, ["stop", "prevent"]), ["esc"]))
2004
+ onKeydown: m[5] || (m[5] = Jt(J((b) => c.value = !1, ["stop", "prevent"]), ["esc"]))
2004
2005
  }, {
2005
2006
  activator: H(({ props: b }) => [
2006
2007
  k(C, dt(b, {
@@ -2037,7 +2038,7 @@ const Ys = /* @__PURE__ */ G({
2037
2038
  icon: w(An),
2038
2039
  onClick: m[0] || (m[0] = (b) => c.value = !1)
2039
2040
  }, null, 8, ["icon"]),
2040
- z("span", Qs, Y(w(t)("x-prop-tree.dlg.jsonObject.title")), 1),
2041
+ z("span", Ys, Y(w(t)("x-prop-tree.dlg.jsonObject.title")), 1),
2041
2042
  k(x)
2042
2043
  ]),
2043
2044
  _: 1
@@ -2045,7 +2046,7 @@ const Ys = /* @__PURE__ */ G({
2045
2046
  z("div", {
2046
2047
  style: re(s.value)
2047
2048
  }, [
2048
- k(Ys, {
2049
+ k(Ws, {
2049
2050
  ref_key: "editor",
2050
2051
  ref: f,
2051
2052
  modelValue: i.value,
@@ -2065,8 +2066,8 @@ const Ys = /* @__PURE__ */ G({
2065
2066
  };
2066
2067
  }
2067
2068
  });
2068
- function ta(e) {
2069
- return { renderUiJsonObject: (n, r, l, o, i) => r.ui !== "jsonObject" ? _("div", "renderUiJsonObject prop ui must be jsonObject") : _(ea, {
2069
+ function ea(e) {
2070
+ return { renderUiJsonEditor: (n, r, l, o, i) => r.ui !== "jsonEditor" ? _("div", "renderUiJsonObject prop ui must be jsonEditor") : _(Qs, {
2070
2071
  modelValue: ae(
2071
2072
  n,
2072
2073
  r,
@@ -2074,7 +2075,7 @@ function ta(e) {
2074
2075
  e,
2075
2076
  o,
2076
2077
  i
2077
- ) ?? {},
2078
+ ) ?? "{}",
2078
2079
  "onUpdate:modelValue": (a) => {
2079
2080
  fe(
2080
2081
  n,
@@ -2088,7 +2089,7 @@ function ta(e) {
2088
2089
  }
2089
2090
  }) };
2090
2091
  }
2091
- const na = /* @__PURE__ */ G({
2092
+ const ta = /* @__PURE__ */ G({
2092
2093
  __name: "index",
2093
2094
  props: {
2094
2095
  unique: {},
@@ -2098,55 +2099,55 @@ const na = /* @__PURE__ */ G({
2098
2099
  },
2099
2100
  emits: ["change"],
2100
2101
  setup(e, { emit: t }) {
2101
- const { t: n } = ie(), { backgroundColor1: r } = me(), l = e, o = t, i = R("20px"), a = R("56px"), u = R("200px"), s = Hn({}), v = R({}), c = (y, p) => {
2102
- zt(v, l.config, l.object), o("change", y, p);
2102
+ const { t: n } = ie(), { backgroundColor1: r } = me(), l = e, o = t, i = N("20px"), a = N("56px"), u = N("200px"), s = Fn({}), v = N({}), c = (y, p) => {
2103
+ qt(v, l.config, l.object), o("change", y, p);
2103
2104
  };
2104
2105
  be(
2105
2106
  [() => l.config, () => l.object],
2106
2107
  () => {
2107
- zt(v, l.config, l.object, (y, p) => {
2108
+ qt(v, l.config, l.object, (y, p) => {
2108
2109
  o("change", y, p);
2109
2110
  });
2110
2111
  },
2111
2112
  { immediate: !0 }
2112
2113
  );
2113
- const f = R(l.version);
2114
- ss(f), be(
2114
+ const f = N(l.version);
2115
+ is(f), be(
2115
2116
  () => l.version,
2116
2117
  () => {
2117
2118
  f.value = l.version;
2118
2119
  }
2119
2120
  );
2120
- const d = R(l.config);
2121
- as(d), be(
2121
+ const d = N(l.config);
2122
+ ss(d), be(
2122
2123
  () => l.config,
2123
2124
  () => {
2124
2125
  d.value = l.config;
2125
2126
  }
2126
2127
  );
2127
- const m = R(l.object);
2128
- cs(m), be(
2128
+ const m = N(l.object);
2129
+ us(m), be(
2129
2130
  () => l.object,
2130
2131
  () => {
2131
2132
  m.value = l.object;
2132
2133
  }
2133
- ), ds(v), vs(c);
2134
- const C = R([]);
2135
- gs(C);
2134
+ ), fs(v), ps(c);
2135
+ const C = N([]);
2136
+ ms(C);
2136
2137
  const S = () => {
2137
- const { compGroups: y, comps: p } = Xn.app.activeApp, h = [];
2138
+ const { compGroups: y, comps: p } = In.app.activeApp, h = [];
2138
2139
  y.forEach(({ id: g, name: T, position: U }) => {
2139
- const D = C.value.find((te) => te.id === g);
2140
+ const j = C.value.find((te) => te.id === g);
2140
2141
  h.push({
2141
2142
  id: g,
2142
2143
  type: 0,
2143
2144
  name: T,
2144
2145
  position: U,
2145
- collapse: (D == null ? void 0 : D.collapse) ?? !0
2146
+ collapse: (j == null ? void 0 : j.collapse) ?? !0
2146
2147
  });
2147
- }), p.forEach(({ id: g, groupid: T, name: U, position: D }) => {
2148
- h.push({ id: g, type: 1, name: U, position: D, group: T });
2149
- }), Yi(h, !0), C.value = h;
2148
+ }), p.forEach(({ id: g, groupid: T, name: U, position: j }) => {
2149
+ h.push({ id: g, type: 1, name: U, position: j, group: T });
2150
+ }), Wi(h, !0), C.value = h;
2150
2151
  };
2151
2152
  let x;
2152
2153
  const $ = () => {
@@ -2156,12 +2157,12 @@ const na = /* @__PURE__ */ G({
2156
2157
  }, b = () => {
2157
2158
  clearTimeout(x), x = void 0;
2158
2159
  };
2159
- Gn(() => {
2160
+ Hn(() => {
2160
2161
  $();
2161
- }), Kn(() => {
2162
+ }), Gn(() => {
2162
2163
  b();
2163
2164
  });
2164
- const { renderProp: P } = bs(v, a, u), { renderUiDummy: j } = $s(c), { renderUiStrInput: Q } = ws(c), { renderUiNumInput: et } = Ps(c), { renderUiSwitch: Cn } = Vs(c), { renderUiSelect: Pn } = Ls(c), { renderUiColorPicker: xn } = Js(c), { renderUiJsonObject: On } = ta(c), { renderUiMultiTypes: Vn } = Ws(c), { renderUiCompSelect: Un } = Ks(c), De = (y, p, h, g, T, U) => (y = gt(y), T !== void 0 ? (y.push(T), U && y.push(p.key)) : y.push(p.key), p.ui ? p.array && g ? jn(y, p, h, g, T, U) : Dn(y, p, h, T, U) : p.array ? Mn(y, p, h, g, T, U) : Ln(
2165
+ const { renderProp: P } = _s(v, a, u), { renderUiDummy: D } = bs(c), { renderUiStrInput: Q } = Ss(c), { renderUiNumInput: et } = Cs(c), { renderUiSwitch: Cn } = Os(c), { renderUiSelect: Pn } = Ms(c), { renderUiColorPicker: xn } = zs(c), { renderUiJsonEditor: On } = ea(c), { renderUiMultiTypes: Vn } = Zs(c), { renderUiCompSelect: Un } = Gs(c), je = (y, p, h, g, T, U) => (y = dn(y), T !== void 0 ? (y.push(T), U && y.push(p.key)) : y.push(p.key), p.ui ? p.array && g ? Dn(y, p, h, g, T, U) : jn(y, p, h, T, U) : p.array ? Mn(y, p, h, g, T, U) : Ln(
2165
2166
  y,
2166
2167
  p,
2167
2168
  h,
@@ -2175,8 +2176,8 @@ const na = /* @__PURE__ */ G({
2175
2176
  return console.assert(!1), _("div", "renderBranchArray prop array must be valid");
2176
2177
  if (!g)
2177
2178
  return console.assert(!1), _("div", "renderBranchArray branch must be valid");
2178
- let D;
2179
- T !== void 0 && !U ? (h[T] instanceof Array || (h[T] = N(p), c(y, h[p.key])), D = h[T]) : (h[p.key] instanceof Array || (h[p.key] = N(p), c(y, h[p.key])), D = h[p.key]);
2179
+ let j;
2180
+ T !== void 0 && !U ? (h[T] instanceof Array || (h[T] = R(p), c(y, h[p.key])), j = h[T]) : (h[p.key] instanceof Array || (h[p.key] = R(p), c(y, h[p.key])), j = h[p.key]);
2180
2181
  let te = n(p.name);
2181
2182
  g.collapse && Te(v.value, y) && (te += " *");
2182
2183
  const Ce = _(Be, {
@@ -2190,7 +2191,7 @@ const na = /* @__PURE__ */ G({
2190
2191
  $e.emit("propTreeMenu", { x: O, y: E, keys: y });
2191
2192
  },
2192
2193
  onCreate: () => {
2193
- D.push({}), c(y, D);
2194
+ j.push({}), c(y, j);
2194
2195
  }
2195
2196
  }), q = _(
2196
2197
  "div",
@@ -2201,7 +2202,7 @@ const na = /* @__PURE__ */ G({
2201
2202
  },
2202
2203
  (() => {
2203
2204
  const O = [];
2204
- for (let E = 0; E < D.length; E++) {
2205
+ for (let E = 0; E < j.length; E++) {
2205
2206
  if (!ot(g.children)) {
2206
2207
  console.assert(!1);
2207
2208
  break;
@@ -2211,10 +2212,10 @@ const na = /* @__PURE__ */ G({
2211
2212
  children: {}
2212
2213
  });
2213
2214
  const ke = [...y, E], Ee = g.children[E];
2214
- let _t = `[${E + 1}]`;
2215
- g.children[E].collapse && Te(v.value, ke) && (_t += " *");
2215
+ let ht = `[${E + 1}]`;
2216
+ g.children[E].collapse && Te(v.value, ke) && (ht += " *");
2216
2217
  const En = _(Be, {
2217
- title: _t,
2218
+ title: ht,
2218
2219
  collapse: g.children[E].collapse,
2219
2220
  hasDelete: !0,
2220
2221
  index: E,
@@ -2233,11 +2234,11 @@ const na = /* @__PURE__ */ G({
2233
2234
  console.assert(!1);
2234
2235
  return;
2235
2236
  }
2236
- g.children.splice(ne, 1), D.splice(ne, 1), c(y, D);
2237
+ g.children.splice(ne, 1), j.splice(ne, 1), c(y, j);
2237
2238
  }
2238
2239
  });
2239
2240
  O.push(En);
2240
- const Rn = _(
2241
+ const Nn = _(
2241
2242
  "div",
2242
2243
  {
2243
2244
  style: {
@@ -2247,7 +2248,7 @@ const na = /* @__PURE__ */ G({
2247
2248
  (() => {
2248
2249
  const ne = [];
2249
2250
  return p.children.forEach((de) => {
2250
- if (!qt(Ee.children)) {
2251
+ if (!Kt(Ee.children)) {
2251
2252
  console.assert(!1);
2252
2253
  return;
2253
2254
  }
@@ -2255,19 +2256,19 @@ const na = /* @__PURE__ */ G({
2255
2256
  collapse: !0,
2256
2257
  children: de.array ? [] : {}
2257
2258
  });
2258
- const Nn = De(
2259
+ const Rn = je(
2259
2260
  y,
2260
2261
  de,
2261
- D[E],
2262
+ j[E],
2262
2263
  Ee.children[de.key],
2263
2264
  E,
2264
2265
  !0
2265
2266
  );
2266
- ne.push(Nn);
2267
+ ne.push(Rn);
2267
2268
  }), ne;
2268
2269
  })()
2269
2270
  );
2270
- g.children[E].collapse || O.push(Rn);
2271
+ g.children[E].collapse || O.push(Nn);
2271
2272
  }
2272
2273
  return O;
2273
2274
  })()
@@ -2291,10 +2292,10 @@ const na = /* @__PURE__ */ G({
2291
2292
  return console.assert(!1), _("div", "renderBranchScalar prop array must be invalid");
2292
2293
  if (!g)
2293
2294
  return console.assert(!1), _("div", "renderBranchScalar branch must be valid");
2294
- let D = n(p.name);
2295
- g.collapse && Te(v.value, y) && (D += " *");
2295
+ let j = n(p.name);
2296
+ g.collapse && Te(v.value, y) && (j += " *");
2296
2297
  const te = _(Be, {
2297
- title: D,
2298
+ title: j,
2298
2299
  collapse: g.collapse,
2299
2300
  hasDelete: T !== void 0 && !U,
2300
2301
  onCollapse: (q) => {
@@ -2316,7 +2317,7 @@ const na = /* @__PURE__ */ G({
2316
2317
  (() => {
2317
2318
  const q = [];
2318
2319
  return p.children.forEach((O) => {
2319
- if (!qt(g.children)) {
2320
+ if (!Kt(g.children)) {
2320
2321
  console.assert(!1);
2321
2322
  return;
2322
2323
  }
@@ -2324,7 +2325,7 @@ const na = /* @__PURE__ */ G({
2324
2325
  collapse: !0,
2325
2326
  children: !O.ui && O.array ? [] : {}
2326
2327
  });
2327
- const E = De(
2328
+ const E = je(
2328
2329
  y,
2329
2330
  O,
2330
2331
  (typeof h[p.key] != "object" && (h[p.key] = {}, c(y, h[p.key])), h[p.key]),
@@ -2346,15 +2347,15 @@ const na = /* @__PURE__ */ G({
2346
2347
  return q.push(te), g.collapse || q.push(Ce), q;
2347
2348
  })()
2348
2349
  );
2349
- }, jn = (y, p, h, g, T, U) => {
2350
+ }, Dn = (y, p, h, g, T, U) => {
2350
2351
  if (!p.ui)
2351
2352
  return console.assert(!1), _("div", "renderLeafArray prop ui must be valid");
2352
2353
  if (!p.array)
2353
2354
  return console.assert(!1), _("div", "renderLeafArray prop array must be valid");
2354
2355
  if (!g)
2355
2356
  return console.assert(!1), _("div", "renderLeafArray branch must be valid");
2356
- let D;
2357
- T !== void 0 && !U ? (h[T] instanceof Array || (h[T] = N(p), c(y, h[T])), D = h[T]) : (h[p.key] instanceof Array || (h[p.key] = N(p), c(y, h[p.key])), D = h[p.key]);
2357
+ let j;
2358
+ T !== void 0 && !U ? (h[T] instanceof Array || (h[T] = R(p), c(y, h[T])), j = h[T]) : (h[p.key] instanceof Array || (h[p.key] = R(p), c(y, h[p.key])), j = h[p.key]);
2358
2359
  let te = n(p.name);
2359
2360
  g.collapse && Te(v.value, y) && (te += " *");
2360
2361
  const Ce = _(Be, {
@@ -2368,7 +2369,7 @@ const na = /* @__PURE__ */ G({
2368
2369
  $e.emit("propTreeMenu", { x: O, y: E, keys: y });
2369
2370
  },
2370
2371
  onCreate: () => {
2371
- D.push(N(p, !0)), c(y, D);
2372
+ j.push(R(p, !0)), c(y, j);
2372
2373
  }
2373
2374
  }), q = _(
2374
2375
  "div",
@@ -2379,8 +2380,8 @@ const na = /* @__PURE__ */ G({
2379
2380
  },
2380
2381
  (() => {
2381
2382
  const O = [];
2382
- for (let E = 0; E < D.length; E++) {
2383
- const ke = De(y, p, D, void 0, E, !1);
2383
+ for (let E = 0; E < j.length; E++) {
2384
+ const ke = je(y, p, j, void 0, E, !1);
2384
2385
  O.push(ke);
2385
2386
  }
2386
2387
  return O;
@@ -2398,11 +2399,11 @@ const na = /* @__PURE__ */ G({
2398
2399
  return O.push(Ce), g.collapse || O.push(q), O;
2399
2400
  })()
2400
2401
  );
2401
- }, Dn = (y, p, h, g, T) => {
2402
+ }, jn = (y, p, h, g, T) => {
2402
2403
  if (!p.ui)
2403
2404
  return console.assert(!1), _("div", "renderLeafScalar prop ui must be valid");
2404
2405
  let U;
2405
- return p.ui === "dummy" ? U = j(y, p, h, g, T) : p.ui === "strInput" ? U = Q(y, p, h, g, T) : p.ui === "numInput" ? U = et(y, p, h, g, T) : p.ui === "switch" ? U = Cn(y, p, h, g, T) : p.ui === "select" ? U = Pn(y, p, h, g, T) : p.ui === "colorPicker" ? U = xn(y, p, h, g, T) : p.ui === "jsonObject" ? U = On(y, p, h, g, T) : p.ui === "multiTypes" ? U = Vn(y, p, h, g, T) : p.ui === "compSelect" ? U = Un(y, p, h, g, T) : console.assert(!1, "renderLeafScalar not implemented"), U ? P(y, p, U) : _("div");
2406
+ return p.ui === "dummy" ? U = D(y, p, h, g, T) : p.ui === "strInput" ? U = Q(y, p, h, g, T) : p.ui === "numInput" ? U = et(y, p, h, g, T) : p.ui === "switch" ? U = Cn(y, p, h, g, T) : p.ui === "select" ? U = Pn(y, p, h, g, T) : p.ui === "colorPicker" ? U = xn(y, p, h, g, T) : p.ui === "jsonEditor" ? U = On(y, p, h, g, T) : p.ui === "multiTypes" ? U = Vn(y, p, h, g, T) : p.ui === "compSelect" ? U = Un(y, p, h, g, T) : console.assert(!1, "renderLeafScalar not implemented"), U ? P(y, p, U) : _("div");
2406
2407
  }, kn = () => _(
2407
2408
  "div",
2408
2409
  {
@@ -2421,7 +2422,7 @@ const na = /* @__PURE__ */ G({
2421
2422
  collapse: !0,
2422
2423
  children: !h.ui && h.array ? [] : {}
2423
2424
  });
2424
- const g = De([], h, l.object, p[h.key]);
2425
+ const g = je([], h, l.object, p[h.key]);
2425
2426
  y.push(g);
2426
2427
  });
2427
2428
  }
@@ -2430,16 +2431,16 @@ const na = /* @__PURE__ */ G({
2430
2431
  );
2431
2432
  return (y, p) => (A(), K(He, null, [
2432
2433
  k(kn),
2433
- k(ys, {
2434
+ k(gs, {
2434
2435
  config: l.config,
2435
2436
  object: l.object,
2436
2437
  "prop-states": v.value
2437
2438
  }, null, 8, ["config", "object", "prop-states"])
2438
2439
  ], 64));
2439
2440
  }
2440
- }), ra = (e) => {
2441
- e.component("XPropTree", na);
2442
- }, oa = (e, t, n) => {
2441
+ }), na = (e) => {
2442
+ e.component("XPropTree", ta);
2443
+ }, ra = (e, t, n) => {
2443
2444
  const r = e[t];
2444
2445
  return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((l, o) => {
2445
2446
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -2452,11 +2453,11 @@ const na = /* @__PURE__ */ G({
2452
2453
  );
2453
2454
  });
2454
2455
  };
2455
- async function da(e) {
2456
- return (await oa(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-n11iysmh.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-hr18mfah.js") }), `./locales/${e}/index.ts`, 4)).default;
2456
+ async function fa(e) {
2457
+ return (await ra(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-n11iysmh.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-hr18mfah.js") }), `./locales/${e}/index.ts`, 4)).default;
2457
2458
  }
2458
- const pa = { install: ra };
2459
+ const da = { install: na };
2459
2460
  export {
2460
- pa as default,
2461
- da as loadLocaleMessagePropTree
2461
+ da as default,
2462
+ fa as loadLocaleMessagePropTree
2462
2463
  };