@chamn/render 0.0.23 → 0.0.24

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.mjs CHANGED
@@ -1,11 +1,11 @@
1
- var vi = Object.defineProperty;
2
- var mi = (t, e, r) => e in t ? vi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var O = (t, e, r) => (mi(t, typeof e != "symbol" ? e + "" : e, r), r);
4
- import R, { Component as gi, createElement as yi, useEffect as bi, useRef as To, useMemo as _i } from "react";
1
+ var mi = Object.defineProperty;
2
+ var gi = (t, e, r) => e in t ? mi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
+ var O = (t, e, r) => (gi(t, typeof e != "symbol" ? e + "" : e, r), r);
4
+ import T, { Component as yi, createElement as bi, useEffect as xo, useRef as To, useMemo as _i } from "react";
5
5
  import * as Si from "react-dom";
6
6
  const Oi = (t) => () => {
7
7
  console.warn(`${t} need to be implement getComponent`);
8
- }, wi = ["customPageRootRender"], Cn = [
8
+ }, ji = ["customPageRootRender"], Cn = [
9
9
  // 页面渲染
10
10
  "pageRender",
11
11
  // 渲染一个组件
@@ -22,19 +22,19 @@ const Oi = (t) => () => {
22
22
  "transformGlobalData",
23
23
  "errorCatch",
24
24
  "clear"
25
- ], Ei = (t) => [...Cn, ...wi].reduce((r, n) => {
25
+ ], wi = (t) => [...Cn, ...ji].reduce((r, n) => {
26
26
  var o;
27
27
  return t != null && t[n] ? r[n] = (o = t[n]) == null ? void 0 : o.bind(t) : Cn.includes(n) && (r[n] = Oi), r;
28
28
  }, {});
29
- var ji = Object.defineProperty, Ci = (t, e, r) => e in t ? ji(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, j = (t, e, r) => (Ci(t, typeof e != "symbol" ? e + "" : e, r), r), xi = typeof global == "object" && global && global.Object === Object && global;
30
- const Ro = xi;
31
- var Ti = typeof self == "object" && self && self.Object === Object && self, Ri = Ro || Ti || Function("return this")();
32
- const pt = Ri;
33
- var Ni = pt.Symbol;
34
- const it = Ni;
35
- var No = Object.prototype, $i = No.hasOwnProperty, Pi = No.toString, pe = it ? it.toStringTag : void 0;
29
+ var Ei = Object.defineProperty, Ci = (t, e, r) => e in t ? Ei(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, E = (t, e, r) => (Ci(t, typeof e != "symbol" ? e + "" : e, r), r), $i = typeof global == "object" && global && global.Object === Object && global;
30
+ const Ro = $i;
31
+ var xi = typeof self == "object" && self && self.Object === Object && self, Ti = Ro || xi || Function("return this")();
32
+ const pt = Ti;
33
+ var Ri = pt.Symbol;
34
+ const it = Ri;
35
+ var No = Object.prototype, Ni = No.hasOwnProperty, Pi = No.toString, pe = it ? it.toStringTag : void 0;
36
36
  function Ai(t) {
37
- var e = $i.call(t, pe), r = t[pe];
37
+ var e = Ni.call(t, pe), r = t[pe];
38
38
  try {
39
39
  t[pe] = void 0;
40
40
  var n = !0;
@@ -47,9 +47,9 @@ var Mi = Object.prototype, Di = Mi.toString;
47
47
  function Ii(t) {
48
48
  return Di.call(t);
49
49
  }
50
- var Li = "[object Null]", Fi = "[object Undefined]", xn = it ? it.toStringTag : void 0;
50
+ var Li = "[object Null]", Fi = "[object Undefined]", $n = it ? it.toStringTag : void 0;
51
51
  function Mt(t) {
52
- return t == null ? t === void 0 ? Fi : Li : xn && xn in Object(t) ? Ai(t) : Ii(t);
52
+ return t == null ? t === void 0 ? Fi : Li : $n && $n in Object(t) ? Ai(t) : Ii(t);
53
53
  }
54
54
  function ft(t) {
55
55
  return t != null && typeof t == "object";
@@ -65,14 +65,14 @@ function Ar(t, e) {
65
65
  }
66
66
  var Ui = Array.isArray;
67
67
  const z = Ui;
68
- var Bi = 1 / 0, Tn = it ? it.prototype : void 0, Rn = Tn ? Tn.toString : void 0;
69
- function $o(t) {
68
+ var Bi = 1 / 0, xn = it ? it.prototype : void 0, Tn = xn ? xn.toString : void 0;
69
+ function Po(t) {
70
70
  if (typeof t == "string")
71
71
  return t;
72
72
  if (z(t))
73
- return Ar(t, $o) + "";
73
+ return Ar(t, Po) + "";
74
74
  if (Pr(t))
75
- return Rn ? Rn.call(t) : "";
75
+ return Tn ? Tn.call(t) : "";
76
76
  var e = t + "";
77
77
  return e == "0" && 1 / t == -Bi ? "-0" : e;
78
78
  }
@@ -92,12 +92,12 @@ function Dr(t) {
92
92
  }
93
93
  var Hi = pt["__core-js_shared__"];
94
94
  const ir = Hi;
95
- var Nn = function() {
95
+ var Rn = function() {
96
96
  var t = /[^.]+$/.exec(ir && ir.keys && ir.keys.IE_PROTO || "");
97
97
  return t ? "Symbol(src)_1." + t : "";
98
98
  }();
99
99
  function Yi(t) {
100
- return !!Nn && Nn in t;
100
+ return !!Rn && Rn in t;
101
101
  }
102
102
  var Ji = Function.prototype, qi = Ji.toString;
103
103
  function Dt(t) {
@@ -131,14 +131,14 @@ function It(t, e) {
131
131
  }
132
132
  var as = It(pt, "WeakMap");
133
133
  const hr = as;
134
- var $n = Object.create, is = function() {
134
+ var Nn = Object.create, is = function() {
135
135
  function t() {
136
136
  }
137
137
  return function(e) {
138
138
  if (!lt(e))
139
139
  return {};
140
- if ($n)
141
- return $n(e);
140
+ if (Nn)
141
+ return Nn(e);
142
142
  t.prototype = e;
143
143
  var r = new t();
144
144
  return t.prototype = void 0, r;
@@ -160,7 +160,7 @@ function cs(t, e, r) {
160
160
  }
161
161
  function us() {
162
162
  }
163
- function Po(t, e) {
163
+ function Ao(t, e) {
164
164
  var r = -1, n = t.length;
165
165
  for (e || (e = Array(n)); ++r < n; )
166
166
  e[r] = t[r];
@@ -202,7 +202,7 @@ var ms = Ue ? function(t, e) {
202
202
  } : Mr;
203
203
  const gs = ms;
204
204
  var ys = ds(gs);
205
- const Ao = ys;
205
+ const Mo = ys;
206
206
  function bs(t, e) {
207
207
  for (var r = -1, n = t == null ? 0 : t.length; ++r < n && e(t[r], r, t) !== !1; )
208
208
  ;
@@ -223,17 +223,17 @@ function Os(t, e, r) {
223
223
  return n;
224
224
  return -1;
225
225
  }
226
- function ws(t, e, r) {
226
+ function js(t, e, r) {
227
227
  return e === e ? Os(t, e, r) : _s(t, Ss, r);
228
228
  }
229
- function Es(t, e) {
229
+ function ws(t, e) {
230
230
  var r = t == null ? 0 : t.length;
231
- return !!r && ws(t, e, 0) > -1;
231
+ return !!r && js(t, e, 0) > -1;
232
232
  }
233
- var js = 9007199254740991, Cs = /^(?:0|[1-9]\d*)$/;
233
+ var Es = 9007199254740991, Cs = /^(?:0|[1-9]\d*)$/;
234
234
  function We(t, e) {
235
235
  var r = typeof t;
236
- return e = e ?? js, !!e && (r == "number" || r != "symbol" && Cs.test(t)) && t > -1 && t % 1 == 0 && t < e;
236
+ return e = e ?? Es, !!e && (r == "number" || r != "symbol" && Cs.test(t)) && t > -1 && t % 1 == 0 && t < e;
237
237
  }
238
238
  function Ir(t, e, r) {
239
239
  e == "__proto__" && Ue ? Ue(t, e, {
@@ -243,13 +243,13 @@ function Ir(t, e, r) {
243
243
  writable: !0
244
244
  }) : t[e] = r;
245
245
  }
246
- function Te(t, e) {
246
+ function xe(t, e) {
247
247
  return t === e || t !== t && e !== e;
248
248
  }
249
- var xs = Object.prototype, Ts = xs.hasOwnProperty;
249
+ var $s = Object.prototype, xs = $s.hasOwnProperty;
250
250
  function Lr(t, e, r) {
251
251
  var n = t[e];
252
- (!(Ts.call(t, e) && Te(n, r)) || r === void 0 && !(e in t)) && Ir(t, e, r);
252
+ (!(xs.call(t, e) && xe(n, r)) || r === void 0 && !(e in t)) && Ir(t, e, r);
253
253
  }
254
254
  function ee(t, e, r, n) {
255
255
  var o = !r;
@@ -261,7 +261,7 @@ function ee(t, e, r, n) {
261
261
  return r;
262
262
  }
263
263
  var Pn = Math.max;
264
- function Mo(t, e, r) {
264
+ function Do(t, e, r) {
265
265
  return e = Pn(e === void 0 ? t.length - 1 : e, 0), function() {
266
266
  for (var n = arguments, o = -1, a = Pn(n.length - e, 0), s = Array(a); ++o < a; )
267
267
  s[o] = n[e + o];
@@ -271,26 +271,26 @@ function Mo(t, e, r) {
271
271
  return i[e] = r(s), cs(t, this, i);
272
272
  };
273
273
  }
274
- function Do(t, e) {
275
- return Ao(Mo(t, e, Mr), t + "");
274
+ function Io(t, e) {
275
+ return Mo(Do(t, e, Mr), t + "");
276
276
  }
277
- var Rs = 9007199254740991;
277
+ var Ts = 9007199254740991;
278
278
  function Fr(t) {
279
- return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Rs;
279
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Ts;
280
280
  }
281
281
  function He(t) {
282
282
  return t != null && Fr(t.length) && !Dr(t);
283
283
  }
284
- function Ns(t, e, r) {
284
+ function Rs(t, e, r) {
285
285
  if (!lt(r))
286
286
  return !1;
287
287
  var n = typeof e;
288
- return (n == "number" ? He(r) && We(e, r.length) : n == "string" && e in r) ? Te(r[e], t) : !1;
288
+ return (n == "number" ? He(r) && We(e, r.length) : n == "string" && e in r) ? xe(r[e], t) : !1;
289
289
  }
290
- function $s(t) {
291
- return Do(function(e, r) {
290
+ function Ns(t) {
291
+ return Io(function(e, r) {
292
292
  var n = -1, o = r.length, a = o > 1 ? r[o - 1] : void 0, s = o > 2 ? r[2] : void 0;
293
- for (a = t.length > 3 && typeof a == "function" ? (o--, a) : void 0, s && Ns(r[0], r[1], s) && (a = o < 3 ? void 0 : a, o = 1), e = Object(e); ++n < o; ) {
293
+ for (a = t.length > 3 && typeof a == "function" ? (o--, a) : void 0, s && Rs(r[0], r[1], s) && (a = o < 3 ? void 0 : a, o = 1), e = Object(e); ++n < o; ) {
294
294
  var i = r[n];
295
295
  i && t(e, i, n, a);
296
296
  }
@@ -311,7 +311,7 @@ var Ms = "[object Arguments]";
311
311
  function An(t) {
312
312
  return ft(t) && Mt(t) == Ms;
313
313
  }
314
- var Io = Object.prototype, Ds = Io.hasOwnProperty, Is = Io.propertyIsEnumerable, Ls = An(function() {
314
+ var Lo = Object.prototype, Ds = Lo.hasOwnProperty, Is = Lo.propertyIsEnumerable, Ls = An(function() {
315
315
  return arguments;
316
316
  }()) ? An : function(t) {
317
317
  return ft(t) && Ds.call(t, "callee") && !Is.call(t, "callee");
@@ -320,7 +320,7 @@ const _e = Ls;
320
320
  function Fs() {
321
321
  return !1;
322
322
  }
323
- var Lo = typeof exports == "object" && exports && !exports.nodeType && exports, Mn = Lo && typeof module == "object" && module && !module.nodeType && module, ks = Mn && Mn.exports === Lo, Dn = ks ? pt.Buffer : void 0, Us = Dn ? Dn.isBuffer : void 0, Bs = Us || Fs;
323
+ var Fo = typeof exports == "object" && exports && !exports.nodeType && exports, Mn = Fo && typeof module == "object" && module && !module.nodeType && module, ks = Mn && Mn.exports === Fo, Dn = ks ? pt.Buffer : void 0, Us = Dn ? Dn.isBuffer : void 0, Bs = Us || Fs;
324
324
  const Se = Bs;
325
325
  var Vs = "[object Arguments]", Gs = "[object Array]", zs = "[object Boolean]", Ws = "[object Date]", Hs = "[object Error]", Ys = "[object Function]", Js = "[object Map]", qs = "[object Number]", Qs = "[object Object]", Ks = "[object RegExp]", Xs = "[object Set]", Zs = "[object String]", tc = "[object WeakMap]", ec = "[object ArrayBuffer]", rc = "[object DataView]", nc = "[object Float32Array]", oc = "[object Float64Array]", ac = "[object Int8Array]", ic = "[object Int16Array]", sc = "[object Int32Array]", cc = "[object Uint8Array]", uc = "[object Uint8ClampedArray]", lc = "[object Uint16Array]", fc = "[object Uint32Array]", I = {};
326
326
  I[nc] = I[oc] = I[ac] = I[ic] = I[sc] = I[cc] = I[uc] = I[lc] = I[fc] = !0;
@@ -333,7 +333,7 @@ function Ur(t) {
333
333
  return t(e);
334
334
  };
335
335
  }
336
- var Fo = typeof exports == "object" && exports && !exports.nodeType && exports, me = Fo && typeof module == "object" && module && !module.nodeType && module, dc = me && me.exports === Fo, sr = dc && Ro.process, hc = function() {
336
+ var ko = typeof exports == "object" && exports && !exports.nodeType && exports, me = ko && typeof module == "object" && module && !module.nodeType && module, dc = me && me.exports === ko, sr = dc && Ro.process, hc = function() {
337
337
  try {
338
338
  var t = me && me.require && me.require("util").types;
339
339
  return t || sr && sr.binding && sr.binding("util");
@@ -344,7 +344,7 @@ const Yt = hc;
344
344
  var In = Yt && Yt.isTypedArray, vc = In ? Ur(In) : pc;
345
345
  const Br = vc;
346
346
  var mc = Object.prototype, gc = mc.hasOwnProperty;
347
- function ko(t, e) {
347
+ function Uo(t, e) {
348
348
  var r = z(t), n = !r && _e(t), o = !r && !n && Se(t), a = !r && !n && !o && Br(t), s = r || n || o || a, i = s ? As(t.length, String) : [], c = i.length;
349
349
  for (var l in t)
350
350
  (e || gc.call(t, l)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
@@ -354,12 +354,12 @@ function ko(t, e) {
354
354
  We(l, c))) && i.push(l);
355
355
  return i;
356
356
  }
357
- function Uo(t, e) {
357
+ function Bo(t, e) {
358
358
  return function(r) {
359
359
  return t(e(r));
360
360
  };
361
361
  }
362
- var yc = Uo(Object.keys, Object);
362
+ var yc = Bo(Object.keys, Object);
363
363
  const bc = yc;
364
364
  var _c = Object.prototype, Sc = _c.hasOwnProperty;
365
365
  function Oc(t) {
@@ -371,40 +371,40 @@ function Oc(t) {
371
371
  return e;
372
372
  }
373
373
  function Ye(t) {
374
- return He(t) ? ko(t) : Oc(t);
374
+ return He(t) ? Uo(t) : Oc(t);
375
375
  }
376
- function wc(t) {
376
+ function jc(t) {
377
377
  var e = [];
378
378
  if (t != null)
379
379
  for (var r in Object(t))
380
380
  e.push(r);
381
381
  return e;
382
382
  }
383
- var Ec = Object.prototype, jc = Ec.hasOwnProperty;
383
+ var wc = Object.prototype, Ec = wc.hasOwnProperty;
384
384
  function Cc(t) {
385
385
  if (!lt(t))
386
- return wc(t);
386
+ return jc(t);
387
387
  var e = kr(t), r = [];
388
388
  for (var n in t)
389
- n == "constructor" && (e || !jc.call(t, n)) || r.push(n);
389
+ n == "constructor" && (e || !Ec.call(t, n)) || r.push(n);
390
390
  return r;
391
391
  }
392
- function Re(t) {
393
- return He(t) ? ko(t, !0) : Cc(t);
392
+ function Te(t) {
393
+ return He(t) ? Uo(t, !0) : Cc(t);
394
394
  }
395
- var xc = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Tc = /^\w*$/;
395
+ var $c = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, xc = /^\w*$/;
396
396
  function Vr(t, e) {
397
397
  if (z(t))
398
398
  return !1;
399
399
  var r = typeof t;
400
- return r == "number" || r == "symbol" || r == "boolean" || t == null || Pr(t) ? !0 : Tc.test(t) || !xc.test(t) || e != null && t in Object(e);
400
+ return r == "number" || r == "symbol" || r == "boolean" || t == null || Pr(t) ? !0 : xc.test(t) || !$c.test(t) || e != null && t in Object(e);
401
401
  }
402
- var Rc = It(Object, "create");
403
- const Oe = Rc;
404
- function Nc() {
402
+ var Tc = It(Object, "create");
403
+ const Oe = Tc;
404
+ function Rc() {
405
405
  this.__data__ = Oe ? Oe(null) : {}, this.size = 0;
406
406
  }
407
- function $c(t) {
407
+ function Nc(t) {
408
408
  var e = this.has(t) && delete this.__data__[t];
409
409
  return this.size -= e ? 1 : 0, e;
410
410
  }
@@ -427,24 +427,24 @@ function Uc(t, e) {
427
427
  var r = this.__data__;
428
428
  return this.size += this.has(t) ? 0 : 1, r[t] = Oe && e === void 0 ? kc : e, this;
429
429
  }
430
- function $t(t) {
430
+ function Nt(t) {
431
431
  var e = -1, r = t == null ? 0 : t.length;
432
432
  for (this.clear(); ++e < r; ) {
433
433
  var n = t[e];
434
434
  this.set(n[0], n[1]);
435
435
  }
436
436
  }
437
- $t.prototype.clear = Nc;
438
- $t.prototype.delete = $c;
439
- $t.prototype.get = Dc;
440
- $t.prototype.has = Fc;
441
- $t.prototype.set = Uc;
437
+ Nt.prototype.clear = Rc;
438
+ Nt.prototype.delete = Nc;
439
+ Nt.prototype.get = Dc;
440
+ Nt.prototype.has = Fc;
441
+ Nt.prototype.set = Uc;
442
442
  function Bc() {
443
443
  this.__data__ = [], this.size = 0;
444
444
  }
445
445
  function Je(t, e) {
446
446
  for (var r = t.length; r--; )
447
- if (Te(t[r][0], e))
447
+ if (xe(t[r][0], e))
448
448
  return r;
449
449
  return -1;
450
450
  }
@@ -480,12 +480,12 @@ gt.prototype.get = Wc;
480
480
  gt.prototype.has = Hc;
481
481
  gt.prototype.set = Yc;
482
482
  var Jc = It(pt, "Map");
483
- const we = Jc;
483
+ const je = Jc;
484
484
  function qc() {
485
485
  this.size = 0, this.__data__ = {
486
- hash: new $t(),
487
- map: new (we || gt)(),
488
- string: new $t()
486
+ hash: new Nt(),
487
+ map: new (je || gt)(),
488
+ string: new Nt()
489
489
  };
490
490
  }
491
491
  function Qc(t) {
@@ -551,7 +551,7 @@ var ou = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
551
551
  });
552
552
  const su = iu;
553
553
  function cu(t) {
554
- return t == null ? "" : $o(t);
554
+ return t == null ? "" : Po(t);
555
555
  }
556
556
  function re(t, e) {
557
557
  return z(t) ? t : Vr(t, e) ? [t] : su(cu(t));
@@ -569,7 +569,7 @@ function Qe(t, e) {
569
569
  t = t[ne(e[r++])];
570
570
  return r && r == n ? t : void 0;
571
571
  }
572
- function Bo(t, e, r) {
572
+ function Vo(t, e, r) {
573
573
  var n = t == null ? void 0 : Qe(t, e);
574
574
  return n === void 0 ? r : n;
575
575
  }
@@ -595,11 +595,11 @@ function fu(t) {
595
595
  return e ? Wr(t, 1) : [];
596
596
  }
597
597
  function pu(t) {
598
- return Ao(Mo(t, void 0, fu), t + "");
598
+ return Mo(Do(t, void 0, fu), t + "");
599
599
  }
600
- var du = Uo(Object.getPrototypeOf, Object);
600
+ var du = Bo(Object.getPrototypeOf, Object);
601
601
  const Hr = du;
602
- var hu = "[object Object]", vu = Function.prototype, mu = Object.prototype, Vo = vu.toString, gu = mu.hasOwnProperty, yu = Vo.call(Object);
602
+ var hu = "[object Object]", vu = Function.prototype, mu = Object.prototype, Go = vu.toString, gu = mu.hasOwnProperty, yu = Go.call(Object);
603
603
  function Z(t) {
604
604
  if (!ft(t) || Mt(t) != hu)
605
605
  return !1;
@@ -607,7 +607,7 @@ function Z(t) {
607
607
  if (e === null)
608
608
  return !0;
609
609
  var r = gu.call(e, "constructor") && e.constructor;
610
- return typeof r == "function" && r instanceof r && Vo.call(r) == yu;
610
+ return typeof r == "function" && r instanceof r && Go.call(r) == yu;
611
611
  }
612
612
  function bu(t, e, r) {
613
613
  var n = -1, o = t.length;
@@ -626,15 +626,15 @@ function Su(t) {
626
626
  function Ou(t) {
627
627
  return this.__data__.get(t);
628
628
  }
629
- function wu(t) {
629
+ function ju(t) {
630
630
  return this.__data__.has(t);
631
631
  }
632
- var Eu = 200;
633
- function ju(t, e) {
632
+ var wu = 200;
633
+ function Eu(t, e) {
634
634
  var r = this.__data__;
635
635
  if (r instanceof gt) {
636
636
  var n = r.__data__;
637
- if (!we || n.length < Eu - 1)
637
+ if (!je || n.length < wu - 1)
638
638
  return n.push([t, e]), this.size = ++r.size, this;
639
639
  r = this.__data__ = new yt(n);
640
640
  }
@@ -647,36 +647,36 @@ function ct(t) {
647
647
  ct.prototype.clear = _u;
648
648
  ct.prototype.delete = Su;
649
649
  ct.prototype.get = Ou;
650
- ct.prototype.has = wu;
651
- ct.prototype.set = ju;
650
+ ct.prototype.has = ju;
651
+ ct.prototype.set = Eu;
652
652
  function Cu(t, e) {
653
653
  return t && ee(e, Ye(e), t);
654
654
  }
655
- function xu(t, e) {
656
- return t && ee(e, Re(e), t);
655
+ function $u(t, e) {
656
+ return t && ee(e, Te(e), t);
657
657
  }
658
- var Go = typeof exports == "object" && exports && !exports.nodeType && exports, Fn = Go && typeof module == "object" && module && !module.nodeType && module, Tu = Fn && Fn.exports === Go, kn = Tu ? pt.Buffer : void 0, Un = kn ? kn.allocUnsafe : void 0;
659
- function zo(t, e) {
658
+ var zo = typeof exports == "object" && exports && !exports.nodeType && exports, Fn = zo && typeof module == "object" && module && !module.nodeType && module, xu = Fn && Fn.exports === zo, kn = xu ? pt.Buffer : void 0, Un = kn ? kn.allocUnsafe : void 0;
659
+ function Wo(t, e) {
660
660
  if (e)
661
661
  return t.slice();
662
662
  var r = t.length, n = Un ? Un(r) : new t.constructor(r);
663
663
  return t.copy(n), n;
664
664
  }
665
- function Ru(t, e) {
665
+ function Tu(t, e) {
666
666
  for (var r = -1, n = t == null ? 0 : t.length, o = 0, a = []; ++r < n; ) {
667
667
  var s = t[r];
668
668
  e(s, r, t) && (a[o++] = s);
669
669
  }
670
670
  return a;
671
671
  }
672
- function Wo() {
672
+ function Ho() {
673
673
  return [];
674
674
  }
675
- var Nu = Object.prototype, $u = Nu.propertyIsEnumerable, Bn = Object.getOwnPropertySymbols, Pu = Bn ? function(t) {
676
- return t == null ? [] : (t = Object(t), Ru(Bn(t), function(e) {
677
- return $u.call(t, e);
675
+ var Ru = Object.prototype, Nu = Ru.propertyIsEnumerable, Bn = Object.getOwnPropertySymbols, Pu = Bn ? function(t) {
676
+ return t == null ? [] : (t = Object(t), Tu(Bn(t), function(e) {
677
+ return Nu.call(t, e);
678
678
  }));
679
- } : Wo;
679
+ } : Ho;
680
680
  const Yr = Pu;
681
681
  function Au(t, e) {
682
682
  return ee(t, Yr(t), e);
@@ -685,20 +685,20 @@ var Mu = Object.getOwnPropertySymbols, Du = Mu ? function(t) {
685
685
  for (var e = []; t; )
686
686
  zr(e, Yr(t)), t = Hr(t);
687
687
  return e;
688
- } : Wo;
689
- const Ho = Du;
688
+ } : Ho;
689
+ const Yo = Du;
690
690
  function Iu(t, e) {
691
- return ee(t, Ho(t), e);
691
+ return ee(t, Yo(t), e);
692
692
  }
693
- function Yo(t, e, r) {
693
+ function Jo(t, e, r) {
694
694
  var n = e(t);
695
695
  return z(t) ? n : zr(n, r(t));
696
696
  }
697
697
  function vr(t) {
698
- return Yo(t, Ye, Yr);
698
+ return Jo(t, Ye, Yr);
699
699
  }
700
700
  function Jr(t) {
701
- return Yo(t, Re, Ho);
701
+ return Jo(t, Te, Yo);
702
702
  }
703
703
  var Lu = It(pt, "DataView");
704
704
  const mr = Lu;
@@ -706,8 +706,8 @@ var Fu = It(pt, "Promise");
706
706
  const gr = Fu;
707
707
  var ku = It(pt, "Set");
708
708
  const Ht = ku;
709
- var Vn = "[object Map]", Uu = "[object Object]", Gn = "[object Promise]", zn = "[object Set]", Wn = "[object WeakMap]", Hn = "[object DataView]", Bu = Dt(mr), Vu = Dt(we), Gu = Dt(gr), zu = Dt(Ht), Wu = Dt(hr), Nt = Mt;
710
- (mr && Nt(new mr(new ArrayBuffer(1))) != Hn || we && Nt(new we()) != Vn || gr && Nt(gr.resolve()) != Gn || Ht && Nt(new Ht()) != zn || hr && Nt(new hr()) != Wn) && (Nt = function(t) {
709
+ var Vn = "[object Map]", Uu = "[object Object]", Gn = "[object Promise]", zn = "[object Set]", Wn = "[object WeakMap]", Hn = "[object DataView]", Bu = Dt(mr), Vu = Dt(je), Gu = Dt(gr), zu = Dt(Ht), Wu = Dt(hr), Rt = Mt;
710
+ (mr && Rt(new mr(new ArrayBuffer(1))) != Hn || je && Rt(new je()) != Vn || gr && Rt(gr.resolve()) != Gn || Ht && Rt(new Ht()) != zn || hr && Rt(new hr()) != Wn) && (Rt = function(t) {
711
711
  var e = Mt(t), r = e == Uu ? t.constructor : void 0, n = r ? Dt(r) : "";
712
712
  if (n)
713
713
  switch (n) {
@@ -724,7 +724,7 @@ var Vn = "[object Map]", Uu = "[object Object]", Gn = "[object Promise]", zn = "
724
724
  }
725
725
  return e;
726
726
  });
727
- const Ee = Nt;
727
+ const we = Rt;
728
728
  var Hu = Object.prototype, Yu = Hu.hasOwnProperty;
729
729
  function Ju(t) {
730
730
  var e = t.length, r = new t.constructor(e);
@@ -749,7 +749,7 @@ var Yn = it ? it.prototype : void 0, Jn = Yn ? Yn.valueOf : void 0;
749
749
  function Zu(t) {
750
750
  return Jn ? Object(Jn.call(t)) : {};
751
751
  }
752
- function Jo(t, e) {
752
+ function qo(t, e) {
753
753
  var r = e ? qr(t.buffer) : t.buffer;
754
754
  return new t.constructor(r, t.byteOffset, t.length);
755
755
  }
@@ -773,7 +773,7 @@ function bl(t, e, r) {
773
773
  case ml:
774
774
  case gl:
775
775
  case yl:
776
- return Jo(t, r);
776
+ return qo(t, r);
777
777
  case rl:
778
778
  return new n();
779
779
  case nl:
@@ -787,26 +787,26 @@ function bl(t, e, r) {
787
787
  return Zu(t);
788
788
  }
789
789
  }
790
- function qo(t) {
790
+ function Qo(t) {
791
791
  return typeof t.constructor == "function" && !kr(t) ? ss(Hr(t)) : {};
792
792
  }
793
793
  var _l = "[object Map]";
794
794
  function Sl(t) {
795
- return ft(t) && Ee(t) == _l;
795
+ return ft(t) && we(t) == _l;
796
796
  }
797
797
  var qn = Yt && Yt.isMap, Ol = qn ? Ur(qn) : Sl;
798
- const wl = Ol;
799
- var El = "[object Set]";
800
- function jl(t) {
801
- return ft(t) && Ee(t) == El;
802
- }
803
- var Qn = Yt && Yt.isSet, Cl = Qn ? Ur(Qn) : jl;
804
- const xl = Cl;
805
- var Tl = 1, Rl = 2, Nl = 4, Qo = "[object Arguments]", $l = "[object Array]", Pl = "[object Boolean]", Al = "[object Date]", Ml = "[object Error]", Ko = "[object Function]", Dl = "[object GeneratorFunction]", Il = "[object Map]", Ll = "[object Number]", Xo = "[object Object]", Fl = "[object RegExp]", kl = "[object Set]", Ul = "[object String]", Bl = "[object Symbol]", Vl = "[object WeakMap]", Gl = "[object ArrayBuffer]", zl = "[object DataView]", Wl = "[object Float32Array]", Hl = "[object Float64Array]", Yl = "[object Int8Array]", Jl = "[object Int16Array]", ql = "[object Int32Array]", Ql = "[object Uint8Array]", Kl = "[object Uint8ClampedArray]", Xl = "[object Uint16Array]", Zl = "[object Uint32Array]", M = {};
806
- M[Qo] = M[$l] = M[Gl] = M[zl] = M[Pl] = M[Al] = M[Wl] = M[Hl] = M[Yl] = M[Jl] = M[ql] = M[Il] = M[Ll] = M[Xo] = M[Fl] = M[kl] = M[Ul] = M[Bl] = M[Ql] = M[Kl] = M[Xl] = M[Zl] = !0;
807
- M[Ml] = M[Ko] = M[Vl] = !1;
798
+ const jl = Ol;
799
+ var wl = "[object Set]";
800
+ function El(t) {
801
+ return ft(t) && we(t) == wl;
802
+ }
803
+ var Qn = Yt && Yt.isSet, Cl = Qn ? Ur(Qn) : El;
804
+ const $l = Cl;
805
+ var xl = 1, Tl = 2, Rl = 4, Ko = "[object Arguments]", Nl = "[object Array]", Pl = "[object Boolean]", Al = "[object Date]", Ml = "[object Error]", Xo = "[object Function]", Dl = "[object GeneratorFunction]", Il = "[object Map]", Ll = "[object Number]", Zo = "[object Object]", Fl = "[object RegExp]", kl = "[object Set]", Ul = "[object String]", Bl = "[object Symbol]", Vl = "[object WeakMap]", Gl = "[object ArrayBuffer]", zl = "[object DataView]", Wl = "[object Float32Array]", Hl = "[object Float64Array]", Yl = "[object Int8Array]", Jl = "[object Int16Array]", ql = "[object Int32Array]", Ql = "[object Uint8Array]", Kl = "[object Uint8ClampedArray]", Xl = "[object Uint16Array]", Zl = "[object Uint32Array]", M = {};
806
+ M[Ko] = M[Nl] = M[Gl] = M[zl] = M[Pl] = M[Al] = M[Wl] = M[Hl] = M[Yl] = M[Jl] = M[ql] = M[Il] = M[Ll] = M[Zo] = M[Fl] = M[kl] = M[Ul] = M[Bl] = M[Ql] = M[Kl] = M[Xl] = M[Zl] = !0;
807
+ M[Ml] = M[Xo] = M[Vl] = !1;
808
808
  function ge(t, e, r, n, o, a) {
809
- var s, i = e & Tl, c = e & Rl, l = e & Nl;
809
+ var s, i = e & xl, c = e & Tl, l = e & Rl;
810
810
  if (r && (s = o ? r(t, n, o, a) : r(t)), s !== void 0)
811
811
  return s;
812
812
  if (!lt(t))
@@ -814,14 +814,14 @@ function ge(t, e, r, n, o, a) {
814
814
  var f = z(t);
815
815
  if (f) {
816
816
  if (s = Ju(t), !i)
817
- return Po(t, s);
817
+ return Ao(t, s);
818
818
  } else {
819
- var d = Ee(t), p = d == Ko || d == Dl;
819
+ var d = we(t), p = d == Xo || d == Dl;
820
820
  if (Se(t))
821
- return zo(t, i);
822
- if (d == Xo || d == Qo || p && !o) {
823
- if (s = c || p ? {} : qo(t), !i)
824
- return c ? Iu(t, xu(s, t)) : Au(t, Cu(s, t));
821
+ return Wo(t, i);
822
+ if (d == Zo || d == Ko || p && !o) {
823
+ if (s = c || p ? {} : Qo(t), !i)
824
+ return c ? Iu(t, $u(s, t)) : Au(t, Cu(s, t));
825
825
  } else {
826
826
  if (!M[d])
827
827
  return o ? t : {};
@@ -832,18 +832,18 @@ function ge(t, e, r, n, o, a) {
832
832
  var v = a.get(t);
833
833
  if (v)
834
834
  return v;
835
- a.set(t, s), xl(t) ? t.forEach(function(S) {
835
+ a.set(t, s), $l(t) ? t.forEach(function(S) {
836
836
  s.add(ge(S, e, r, S, t, a));
837
- }) : wl(t) && t.forEach(function(S, C) {
837
+ }) : jl(t) && t.forEach(function(S, C) {
838
838
  s.set(C, ge(S, e, r, C, t, a));
839
839
  });
840
- var g = l ? c ? Jr : vr : c ? Re : Ye, _ = f ? void 0 : g(t);
840
+ var g = l ? c ? Jr : vr : c ? Te : Ye, _ = f ? void 0 : g(t);
841
841
  return bs(_ || t, function(S, C) {
842
842
  _ && (C = S, S = t[C]), Lr(s, C, ge(S, e, r, C, t, a));
843
843
  }), s;
844
844
  }
845
845
  var tf = 1, ef = 4;
846
- function Zo(t) {
846
+ function ta(t) {
847
847
  return ge(t, tf | ef);
848
848
  }
849
849
  var rf = "__lodash_hash_undefined__";
@@ -853,31 +853,31 @@ function nf(t) {
853
853
  function of(t) {
854
854
  return this.__data__.has(t);
855
855
  }
856
- function je(t) {
856
+ function Ee(t) {
857
857
  var e = -1, r = t == null ? 0 : t.length;
858
858
  for (this.__data__ = new yt(); ++e < r; )
859
859
  this.add(t[e]);
860
860
  }
861
- je.prototype.add = je.prototype.push = nf;
862
- je.prototype.has = of;
861
+ Ee.prototype.add = Ee.prototype.push = nf;
862
+ Ee.prototype.has = of;
863
863
  function af(t, e) {
864
864
  for (var r = -1, n = t == null ? 0 : t.length; ++r < n; )
865
865
  if (e(t[r], r, t))
866
866
  return !0;
867
867
  return !1;
868
868
  }
869
- function ta(t, e) {
869
+ function ea(t, e) {
870
870
  return t.has(e);
871
871
  }
872
872
  var sf = 1, cf = 2;
873
- function ea(t, e, r, n, o, a) {
873
+ function ra(t, e, r, n, o, a) {
874
874
  var s = r & sf, i = t.length, c = e.length;
875
875
  if (i != c && !(s && c > i))
876
876
  return !1;
877
877
  var l = a.get(t), f = a.get(e);
878
878
  if (l && f)
879
879
  return l == e && f == t;
880
- var d = -1, p = !0, v = r & cf ? new je() : void 0;
880
+ var d = -1, p = !0, v = r & cf ? new Ee() : void 0;
881
881
  for (a.set(t, e), a.set(e, t); ++d < i; ) {
882
882
  var g = t[d], _ = e[d];
883
883
  if (n)
@@ -889,9 +889,9 @@ function ea(t, e, r, n, o, a) {
889
889
  break;
890
890
  }
891
891
  if (v) {
892
- if (!af(e, function(C, w) {
893
- if (!ta(v, w) && (g === C || o(g, C, r, n, a)))
894
- return v.push(w);
892
+ if (!af(e, function(C, j) {
893
+ if (!ea(v, j) && (g === C || o(g, C, r, n, a)))
894
+ return v.push(j);
895
895
  })) {
896
896
  p = !1;
897
897
  break;
@@ -916,7 +916,7 @@ function Qr(t) {
916
916
  }), r;
917
917
  }
918
918
  var lf = 1, ff = 2, pf = "[object Boolean]", df = "[object Date]", hf = "[object Error]", vf = "[object Map]", mf = "[object Number]", gf = "[object RegExp]", yf = "[object Set]", bf = "[object String]", _f = "[object Symbol]", Sf = "[object ArrayBuffer]", Of = "[object DataView]", Kn = it ? it.prototype : void 0, cr = Kn ? Kn.valueOf : void 0;
919
- function wf(t, e, r, n, o, a, s) {
919
+ function jf(t, e, r, n, o, a, s) {
920
920
  switch (r) {
921
921
  case Of:
922
922
  if (t.byteLength != e.byteLength || t.byteOffset != e.byteOffset)
@@ -927,7 +927,7 @@ function wf(t, e, r, n, o, a, s) {
927
927
  case pf:
928
928
  case df:
929
929
  case mf:
930
- return Te(+t, +e);
930
+ return xe(+t, +e);
931
931
  case hf:
932
932
  return t.name == e.name && t.message == e.message;
933
933
  case gf:
@@ -943,7 +943,7 @@ function wf(t, e, r, n, o, a, s) {
943
943
  if (l)
944
944
  return l == e;
945
945
  n |= ff, s.set(t, e);
946
- var f = ea(i(t), i(e), n, o, a, s);
946
+ var f = ra(i(t), i(e), n, o, a, s);
947
947
  return s.delete(t), f;
948
948
  case _f:
949
949
  if (cr)
@@ -951,9 +951,9 @@ function wf(t, e, r, n, o, a, s) {
951
951
  }
952
952
  return !1;
953
953
  }
954
- var Ef = 1, jf = Object.prototype, Cf = jf.hasOwnProperty;
955
- function xf(t, e, r, n, o, a) {
956
- var s = r & Ef, i = vr(t), c = i.length, l = vr(e), f = l.length;
954
+ var wf = 1, Ef = Object.prototype, Cf = Ef.hasOwnProperty;
955
+ function $f(t, e, r, n, o, a) {
956
+ var s = r & wf, i = vr(t), c = i.length, l = vr(e), f = l.length;
957
957
  if (c != f && !s)
958
958
  return !1;
959
959
  for (var d = c; d--; ) {
@@ -968,10 +968,10 @@ function xf(t, e, r, n, o, a) {
968
968
  a.set(t, e), a.set(e, t);
969
969
  for (var S = s; ++d < c; ) {
970
970
  p = i[d];
971
- var C = t[p], w = e[p];
971
+ var C = t[p], j = e[p];
972
972
  if (n)
973
- var F = s ? n(w, C, p, e, t, a) : n(C, w, p, t, e, a);
974
- if (!(F === void 0 ? C === w || o(C, w, r, n, a) : F)) {
973
+ var F = s ? n(j, C, p, e, t, a) : n(C, j, p, t, e, a);
974
+ if (!(F === void 0 ? C === j || o(C, j, r, n, a) : F)) {
975
975
  _ = !1;
976
976
  break;
977
977
  }
@@ -983,9 +983,9 @@ function xf(t, e, r, n, o, a) {
983
983
  }
984
984
  return a.delete(t), a.delete(e), _;
985
985
  }
986
- var Tf = 1, Xn = "[object Arguments]", Zn = "[object Array]", Fe = "[object Object]", Rf = Object.prototype, to = Rf.hasOwnProperty;
987
- function Nf(t, e, r, n, o, a) {
988
- var s = z(t), i = z(e), c = s ? Zn : Ee(t), l = i ? Zn : Ee(e);
986
+ var xf = 1, Xn = "[object Arguments]", Zn = "[object Array]", Fe = "[object Object]", Tf = Object.prototype, to = Tf.hasOwnProperty;
987
+ function Rf(t, e, r, n, o, a) {
988
+ var s = z(t), i = z(e), c = s ? Zn : we(t), l = i ? Zn : we(e);
989
989
  c = c == Xn ? Fe : c, l = l == Xn ? Fe : l;
990
990
  var f = c == Fe, d = l == Fe, p = c == l;
991
991
  if (p && Se(t)) {
@@ -994,20 +994,20 @@ function Nf(t, e, r, n, o, a) {
994
994
  s = !0, f = !1;
995
995
  }
996
996
  if (p && !f)
997
- return a || (a = new ct()), s || Br(t) ? ea(t, e, r, n, o, a) : wf(t, e, c, r, n, o, a);
998
- if (!(r & Tf)) {
997
+ return a || (a = new ct()), s || Br(t) ? ra(t, e, r, n, o, a) : jf(t, e, c, r, n, o, a);
998
+ if (!(r & xf)) {
999
999
  var v = f && to.call(t, "__wrapped__"), g = d && to.call(e, "__wrapped__");
1000
1000
  if (v || g) {
1001
1001
  var _ = v ? t.value() : t, S = g ? e.value() : e;
1002
1002
  return a || (a = new ct()), o(_, S, r, n, a);
1003
1003
  }
1004
1004
  }
1005
- return p ? (a || (a = new ct()), xf(t, e, r, n, o, a)) : !1;
1005
+ return p ? (a || (a = new ct()), $f(t, e, r, n, o, a)) : !1;
1006
1006
  }
1007
1007
  function Kr(t, e, r, n, o) {
1008
- return t === e ? !0 : t == null || e == null || !ft(t) && !ft(e) ? t !== t && e !== e : Nf(t, e, r, n, Kr, o);
1008
+ return t === e ? !0 : t == null || e == null || !ft(t) && !ft(e) ? t !== t && e !== e : Rf(t, e, r, n, Kr, o);
1009
1009
  }
1010
- var $f = 1, Pf = 2;
1010
+ var Nf = 1, Pf = 2;
1011
1011
  function Af(t, e, r, n) {
1012
1012
  var o = r.length, a = o, s = !n;
1013
1013
  if (t == null)
@@ -1027,30 +1027,30 @@ function Af(t, e, r, n) {
1027
1027
  var d = new ct();
1028
1028
  if (n)
1029
1029
  var p = n(l, f, c, t, e, d);
1030
- if (!(p === void 0 ? Kr(f, l, $f | Pf, n, d) : p))
1030
+ if (!(p === void 0 ? Kr(f, l, Nf | Pf, n, d) : p))
1031
1031
  return !1;
1032
1032
  }
1033
1033
  }
1034
1034
  return !0;
1035
1035
  }
1036
- function ra(t) {
1036
+ function na(t) {
1037
1037
  return t === t && !lt(t);
1038
1038
  }
1039
1039
  function Mf(t) {
1040
1040
  for (var e = Ye(t), r = e.length; r--; ) {
1041
1041
  var n = e[r], o = t[n];
1042
- e[r] = [n, o, ra(o)];
1042
+ e[r] = [n, o, na(o)];
1043
1043
  }
1044
1044
  return e;
1045
1045
  }
1046
- function na(t, e) {
1046
+ function oa(t, e) {
1047
1047
  return function(r) {
1048
1048
  return r == null ? !1 : r[t] === e && (e !== void 0 || t in Object(r));
1049
1049
  };
1050
1050
  }
1051
1051
  function Df(t) {
1052
1052
  var e = Mf(t);
1053
- return e.length == 1 && e[0][2] ? na(e[0][0], e[0][1]) : function(r) {
1053
+ return e.length == 1 && e[0][2] ? oa(e[0][0], e[0][1]) : function(r) {
1054
1054
  return r === t || Af(r, t, e);
1055
1055
  };
1056
1056
  }
@@ -1072,8 +1072,8 @@ function Ff(t, e) {
1072
1072
  }
1073
1073
  var kf = 1, Uf = 2;
1074
1074
  function Bf(t, e) {
1075
- return Vr(t) && ra(e) ? na(ne(t), e) : function(r) {
1076
- var n = Bo(r, t);
1075
+ return Vr(t) && na(e) ? oa(ne(t), e) : function(r) {
1076
+ var n = Vo(r, t);
1077
1077
  return n === void 0 && n === e ? Ff(r, t) : Kr(e, n, kf | Uf);
1078
1078
  };
1079
1079
  }
@@ -1106,7 +1106,7 @@ function Wf(t) {
1106
1106
  var Hf = Wf();
1107
1107
  const Yf = Hf;
1108
1108
  function yr(t, e, r) {
1109
- (r !== void 0 && !Te(t[e], r) || r === void 0 && !(e in t)) && Ir(t, e, r);
1109
+ (r !== void 0 && !xe(t[e], r) || r === void 0 && !(e in t)) && Ir(t, e, r);
1110
1110
  }
1111
1111
  function br(t) {
1112
1112
  return ft(t) && He(t);
@@ -1116,7 +1116,7 @@ function _r(t, e) {
1116
1116
  return t[e];
1117
1117
  }
1118
1118
  function Jf(t) {
1119
- return ee(t, Re(t));
1119
+ return ee(t, Te(t));
1120
1120
  }
1121
1121
  function qf(t, e, r, n, o, a, s) {
1122
1122
  var i = _r(t, r), c = _r(e, r), l = s.get(c);
@@ -1127,19 +1127,19 @@ function qf(t, e, r, n, o, a, s) {
1127
1127
  var f = a ? a(i, c, r + "", t, e, s) : void 0, d = f === void 0;
1128
1128
  if (d) {
1129
1129
  var p = z(c), v = !p && Se(c), g = !p && !v && Br(c);
1130
- f = c, p || v || g ? z(i) ? f = i : br(i) ? f = Po(i) : v ? (d = !1, f = zo(c, !0)) : g ? (d = !1, f = Jo(c, !0)) : f = [] : Z(c) || _e(c) ? (f = i, _e(i) ? f = Jf(i) : (!lt(i) || Dr(i)) && (f = qo(c))) : d = !1;
1130
+ f = c, p || v || g ? z(i) ? f = i : br(i) ? f = Ao(i) : v ? (d = !1, f = Wo(c, !0)) : g ? (d = !1, f = qo(c, !0)) : f = [] : Z(c) || _e(c) ? (f = i, _e(i) ? f = Jf(i) : (!lt(i) || Dr(i)) && (f = Qo(c))) : d = !1;
1131
1131
  }
1132
1132
  d && (s.set(c, f), o(f, c, n, a, s), s.delete(c)), yr(t, r, f);
1133
1133
  }
1134
- function oa(t, e, r, n, o) {
1134
+ function aa(t, e, r, n, o) {
1135
1135
  t !== e && Yf(e, function(a, s) {
1136
1136
  if (o || (o = new ct()), lt(a))
1137
- qf(t, e, s, r, oa, n, o);
1137
+ qf(t, e, s, r, aa, n, o);
1138
1138
  else {
1139
1139
  var i = n ? n(_r(t, s), a, s + "", t, e, o) : void 0;
1140
1140
  i === void 0 && (i = a), yr(t, s, i);
1141
1141
  }
1142
- }, Re);
1142
+ }, Te);
1143
1143
  }
1144
1144
  function Qf(t, e, r) {
1145
1145
  for (var n = -1, o = t == null ? 0 : t.length; ++n < o; )
@@ -1147,17 +1147,17 @@ function Qf(t, e, r) {
1147
1147
  return !0;
1148
1148
  return !1;
1149
1149
  }
1150
- function aa(t) {
1150
+ function ia(t) {
1151
1151
  var e = t == null ? 0 : t.length;
1152
1152
  return e ? t[e - 1] : void 0;
1153
1153
  }
1154
1154
  function Kf(t, e) {
1155
1155
  return e.length < 2 ? t : Qe(t, bu(e, 0, -1));
1156
1156
  }
1157
- var Xf = $s(function(t, e, r) {
1158
- oa(t, e, r);
1157
+ var Xf = Ns(function(t, e, r) {
1158
+ aa(t, e, r);
1159
1159
  });
1160
- const ia = Xf;
1160
+ const sa = Xf;
1161
1161
  var Zf = "Expected a function";
1162
1162
  function tp(t) {
1163
1163
  if (typeof t != "function")
@@ -1178,7 +1178,7 @@ function tp(t) {
1178
1178
  };
1179
1179
  }
1180
1180
  function ep(t, e) {
1181
- return e = re(e, t), t = Kf(t, e), t == null || delete t[ne(aa(e))];
1181
+ return e = re(e, t), t = Kf(t, e), t == null || delete t[ne(ia(e))];
1182
1182
  }
1183
1183
  function rp(t) {
1184
1184
  return Z(t) ? void 0 : t;
@@ -1195,7 +1195,7 @@ var np = 1, op = 2, ap = 4, ip = pu(function(t, e) {
1195
1195
  ep(r, e[o]);
1196
1196
  return r;
1197
1197
  });
1198
- const sa = ip;
1198
+ const ca = ip;
1199
1199
  function sp(t, e, r, n) {
1200
1200
  if (!lt(t))
1201
1201
  return t;
@@ -1238,14 +1238,14 @@ var fp = 1 / 0, pp = Ht && 1 / Qr(new Ht([, -0]))[1] == fp ? function(t) {
1238
1238
  const dp = pp;
1239
1239
  var hp = 200;
1240
1240
  function vp(t, e, r) {
1241
- var n = -1, o = Es, a = t.length, s = !0, i = [], c = i;
1241
+ var n = -1, o = ws, a = t.length, s = !0, i = [], c = i;
1242
1242
  if (r)
1243
1243
  s = !1, o = Qf;
1244
1244
  else if (a >= hp) {
1245
1245
  var l = e ? null : dp(t);
1246
1246
  if (l)
1247
1247
  return Qr(l);
1248
- s = !1, o = ta, c = new je();
1248
+ s = !1, o = ea, c = new Ee();
1249
1249
  } else
1250
1250
  c = e ? [] : i;
1251
1251
  t:
@@ -1261,12 +1261,12 @@ function vp(t, e, r) {
1261
1261
  }
1262
1262
  return i;
1263
1263
  }
1264
- var mp = Do(function(t) {
1265
- var e = aa(t);
1264
+ var mp = Io(function(t) {
1265
+ var e = ia(t);
1266
1266
  return br(e) && (e = void 0), vp(Wr(t, 1, br, !0), Xr(e));
1267
1267
  });
1268
1268
  const gp = mp;
1269
- class ca extends TypeError {
1269
+ class ua extends TypeError {
1270
1270
  constructor(e, r) {
1271
1271
  let n;
1272
1272
  const {
@@ -1386,7 +1386,7 @@ class dt {
1386
1386
  * Assert that a value passes the struct's validation, throwing if it doesn't.
1387
1387
  */
1388
1388
  assert(e) {
1389
- return ua(e, this);
1389
+ return la(e, this);
1390
1390
  }
1391
1391
  /**
1392
1392
  * Create a value with the struct's coercion logic, then validate it.
@@ -1398,7 +1398,7 @@ class dt {
1398
1398
  * Check if a value passes the struct's validation.
1399
1399
  */
1400
1400
  is(e) {
1401
- return wp(e, this);
1401
+ return jp(e, this);
1402
1402
  }
1403
1403
  /**
1404
1404
  * Mask a value, coercing and validating it, but returning only the subset of
@@ -1419,7 +1419,7 @@ class dt {
1419
1419
  return r === void 0 && (r = {}), oe(e, this, r);
1420
1420
  }
1421
1421
  }
1422
- function ua(t, e) {
1422
+ function la(t, e) {
1423
1423
  const r = oe(t, e);
1424
1424
  if (r[0])
1425
1425
  throw r[0];
@@ -1441,13 +1441,13 @@ function Op(t, e) {
1441
1441
  throw r[0];
1442
1442
  return r[1];
1443
1443
  }
1444
- function wp(t, e) {
1444
+ function jp(t, e) {
1445
1445
  return !oe(t, e)[0];
1446
1446
  }
1447
1447
  function oe(t, e, r) {
1448
1448
  r === void 0 && (r = {});
1449
1449
  const n = Zr(t, e, r), o = bp(n);
1450
- return o[0] ? [new ca(o[0], function* () {
1450
+ return o[0] ? [new ua(o[0], function* () {
1451
1451
  for (const a of n)
1452
1452
  a[0] && (yield a[0]);
1453
1453
  }), void 0] : [void 0, o[1]];
@@ -1456,9 +1456,9 @@ function tn() {
1456
1456
  for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
1457
1457
  e[r] = arguments[r];
1458
1458
  const n = e[0].type === "type", o = e.map((s) => s.schema), a = Object.assign({}, ...o);
1459
- return n ? da(a) : P(a);
1459
+ return n ? ha(a) : P(a);
1460
1460
  }
1461
- function jt(t, e) {
1461
+ function Et(t, e) {
1462
1462
  return new dt({
1463
1463
  type: t,
1464
1464
  schema: null,
@@ -1483,7 +1483,7 @@ function Jt(t) {
1483
1483
  }
1484
1484
  });
1485
1485
  }
1486
- function la(t, e) {
1486
+ function fa(t, e) {
1487
1487
  const {
1488
1488
  schema: r
1489
1489
  } = t, n = {
@@ -1493,13 +1493,13 @@ function la(t, e) {
1493
1493
  delete n[o];
1494
1494
  switch (t.type) {
1495
1495
  case "type":
1496
- return da(n);
1496
+ return ha(n);
1497
1497
  default:
1498
1498
  return P(n);
1499
1499
  }
1500
1500
  }
1501
1501
  function G() {
1502
- return jt("any", () => !0);
1502
+ return Et("any", () => !0);
1503
1503
  }
1504
1504
  function B(t) {
1505
1505
  return new dt({
@@ -1519,7 +1519,7 @@ function B(t) {
1519
1519
  });
1520
1520
  }
1521
1521
  function qt() {
1522
- return jt("boolean", (t) => typeof t == "boolean");
1522
+ return Et("boolean", (t) => typeof t == "boolean");
1523
1523
  }
1524
1524
  function Sr(t) {
1525
1525
  const e = {}, r = t.map((n) => rt(n)).join();
@@ -1533,8 +1533,8 @@ function Sr(t) {
1533
1533
  }
1534
1534
  });
1535
1535
  }
1536
- function fa() {
1537
- return jt("func", (t) => typeof t == "function" || "Expected a function, but received: " + rt(t));
1536
+ function pa() {
1537
+ return Et("func", (t) => typeof t == "function" || "Expected a function, but received: " + rt(t));
1538
1538
  }
1539
1539
  function K(t) {
1540
1540
  const e = rt(t), r = typeof t;
@@ -1546,14 +1546,14 @@ function K(t) {
1546
1546
  }
1547
1547
  });
1548
1548
  }
1549
- function Ep() {
1550
- return jt("never", () => !1);
1549
+ function wp() {
1550
+ return Et("never", () => !1);
1551
1551
  }
1552
- function pa() {
1553
- return jt("number", (t) => typeof t == "number" && !isNaN(t) || "Expected a number, but received: " + rt(t));
1552
+ function da() {
1553
+ return Et("number", (t) => typeof t == "number" && !isNaN(t) || "Expected a number, but received: " + rt(t));
1554
1554
  }
1555
1555
  function P(t) {
1556
- const e = t ? Object.keys(t) : [], r = Ep();
1556
+ const e = t ? Object.keys(t) : [], r = wp();
1557
1557
  return new dt({
1558
1558
  type: "object",
1559
1559
  schema: t || null,
@@ -1600,9 +1600,9 @@ function ye(t, e) {
1600
1600
  });
1601
1601
  }
1602
1602
  function y() {
1603
- return jt("string", (t) => typeof t == "string" || "Expected a string, but received: " + rt(t));
1603
+ return Et("string", (t) => typeof t == "string" || "Expected a string, but received: " + rt(t));
1604
1604
  }
1605
- function da(t) {
1605
+ function ha(t) {
1606
1606
  const e = Object.keys(t);
1607
1607
  return new dt({
1608
1608
  type: "type",
@@ -1628,7 +1628,7 @@ function X(t) {
1628
1628
  coerce: !0
1629
1629
  });
1630
1630
  return !a;
1631
- }) || jp()).coercer(r, n);
1631
+ }) || Ep()).coercer(r, n);
1632
1632
  },
1633
1633
  validator(r, n) {
1634
1634
  const o = [];
@@ -1644,8 +1644,8 @@ function X(t) {
1644
1644
  }
1645
1645
  });
1646
1646
  }
1647
- function jp() {
1648
- return jt("unknown", () => !0);
1647
+ function Ep() {
1648
+ return Et("unknown", () => !0);
1649
1649
  }
1650
1650
  const en = P({
1651
1651
  package: y(),
@@ -1656,7 +1656,7 @@ const en = P({
1656
1656
  subName: b(y()),
1657
1657
  main: b(y()),
1658
1658
  cssPaths: b(B(y()))
1659
- }), Cp = B(en), xp = [
1659
+ }), Cp = B(en), $p = [
1660
1660
  "CBlock",
1661
1661
  "CContainer",
1662
1662
  "CImage",
@@ -1667,9 +1667,9 @@ const en = P({
1667
1667
  "CNativeTag"
1668
1668
  ];
1669
1669
  var at = /* @__PURE__ */ ((t) => (t.SLOT = "SLOT", t.FUNCTION = "FUNCTION", t.EXPRESSION = "EXPRESSION", t))(at || {}), rn = /* @__PURE__ */ ((t) => (t.DESIGN = "design", t.SAVE = "save", t))(rn || {}), Or = /* @__PURE__ */ ((t) => (t.FUNC = "FUNC", t.COMP = "COMP", t))(Or || {});
1670
- const Tp = () => jt("normalObj", (t) => !Z(t) || [at.SLOT, at.EXPRESSION, at.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (oe(t, ye(y(), nn)), !0)), nn = X([
1670
+ const xp = () => Et("normalObj", (t) => !Z(t) || [at.SLOT, at.EXPRESSION, at.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (oe(t, ye(y(), nn)), !0)), nn = X([
1671
1671
  y(),
1672
- pa(),
1672
+ da(),
1673
1673
  qt(),
1674
1674
  P({
1675
1675
  type: K(at.SLOT),
@@ -1687,7 +1687,7 @@ const Tp = () => jt("normalObj", (t) => !Z(t) || [at.SLOT, at.EXPRESSION, at.FUN
1687
1687
  type: K(at.FUNCTION),
1688
1688
  value: y()
1689
1689
  }),
1690
- Tp(),
1690
+ xp(),
1691
1691
  B(
1692
1692
  Jt(() => nn)
1693
1693
  )
@@ -1727,7 +1727,7 @@ const Tp = () => jt("normalObj", (t) => !Z(t) || [at.SLOT, at.EXPRESSION, at.FUN
1727
1727
  label: y(),
1728
1728
  tip: b(y())
1729
1729
  })
1730
- ]), Rp = P({
1730
+ ]), Tp = P({
1731
1731
  type: K(
1732
1732
  "shape"
1733
1733
  /* SHAPE */
@@ -1739,7 +1739,7 @@ const Tp = () => jt("normalObj", (t) => !Z(t) || [at.SLOT, at.EXPRESSION, at.FUN
1739
1739
  valueType: Jt(() => Ke)
1740
1740
  })
1741
1741
  )
1742
- }), Np = P({
1742
+ }), Rp = P({
1743
1743
  type: K(
1744
1744
  "enums"
1745
1745
  /* ENUMS */
@@ -1753,7 +1753,7 @@ P({
1753
1753
  ),
1754
1754
  value: Jt(() => Ke)
1755
1755
  });
1756
- const $p = P({
1756
+ const Np = P({
1757
1757
  type: K(
1758
1758
  "array"
1759
1759
  /* ARRAY */
@@ -1774,9 +1774,9 @@ const $p = P({
1774
1774
  "function"
1775
1775
  /* FUNCTION */
1776
1776
  ]),
1777
+ Tp,
1777
1778
  Rp,
1778
- Np,
1779
- $p
1779
+ Np
1780
1780
  ]), Pp = X([
1781
1781
  y(),
1782
1782
  P({
@@ -1795,10 +1795,10 @@ const $p = P({
1795
1795
  defaultValue: G(),
1796
1796
  //用于产生 valueType 类型的值
1797
1797
  setters: b(B(Pp)),
1798
- condition: b(fa())
1798
+ condition: b(pa())
1799
1799
  });
1800
- X([y(), fa()]);
1801
- var wr = /* @__PURE__ */ ((t) => (t.SINGLE = "single", t.GROUP = "group", t))(wr || {});
1800
+ X([y(), pa()]);
1801
+ var jr = /* @__PURE__ */ ((t) => (t.SINGLE = "single", t.GROUP = "group", t))(jr || {});
1802
1802
  X([
1803
1803
  y(),
1804
1804
  P({
@@ -1825,7 +1825,7 @@ const Ap = P({
1825
1825
  groupName: b(y()),
1826
1826
  // 分类
1827
1827
  category: b(y()),
1828
- schema: tn(la(Qt, ["id"]), P({ componentName: b(y()) }))
1828
+ schema: tn(fa(Qt, ["id"]), P({ componentName: b(y()) }))
1829
1829
  }), Mp = P({
1830
1830
  componentName: y(),
1831
1831
  title: y(),
@@ -1838,7 +1838,7 @@ const Ap = P({
1838
1838
  // 分类
1839
1839
  category: b(y()),
1840
1840
  // 排序
1841
- priority: b(pa()),
1841
+ priority: b(da()),
1842
1842
  npm: b(en),
1843
1843
  snippets: B(Ap),
1844
1844
  props: B(
@@ -1897,12 +1897,12 @@ const Ap = P({
1897
1897
  const { data: e, message: r, throwError: n, dataStruct: o } = t;
1898
1898
  return Dp(({ data: a }) => {
1899
1899
  try {
1900
- return ua(a, o), {
1900
+ return la(a, o), {
1901
1901
  isValidate: !0
1902
1902
  };
1903
1903
  } catch (s) {
1904
1904
  let i = s;
1905
- return s instanceof ca && (i = s.failures().map((c) => `【${c.path.join(".")}】: ${c.message}
1905
+ return s instanceof ua && (i = s.failures().map((c) => `【${c.path.join(".")}】: ${c.message}
1906
1906
  `)), {
1907
1907
  isValidate: !1,
1908
1908
  message: i,
@@ -1916,7 +1916,7 @@ const Ip = P({
1916
1916
  type: K(at.FUNCTION),
1917
1917
  value: y()
1918
1918
  }), Lp = tn(
1919
- la(Qt, ["componentName"]),
1919
+ fa(Qt, ["componentName"]),
1920
1920
  P({
1921
1921
  componentName: K(
1922
1922
  "RootContainer"
@@ -1940,7 +1940,7 @@ function Fp(t) {
1940
1940
  });
1941
1941
  } };
1942
1942
  }
1943
- const Ne = Fp(), kp = (t, e) => {
1943
+ const Re = Fp(), kp = (t, e) => {
1944
1944
  const r = {
1945
1945
  ...t,
1946
1946
  value: []
@@ -1960,7 +1960,7 @@ const Ne = Fp(), kp = (t, e) => {
1960
1960
  };
1961
1961
  class Kt {
1962
1962
  constructor(e, r) {
1963
- j(this, "nodeType", "SLOT"), j(this, "rawData"), j(this, "parent"), j(this, "emitter", Ne), j(this, "data"), j(this, "id"), j(this, "materialsMode"), this.parent = (r == null ? void 0 : r.parent) || null, this.rawData = e;
1963
+ E(this, "nodeType", "SLOT"), E(this, "rawData"), E(this, "parent"), E(this, "emitter", Re), E(this, "data"), E(this, "id"), E(this, "materialsMode"), this.parent = (r == null ? void 0 : r.parent) || null, this.rawData = e;
1964
1964
  const n = (r == null ? void 0 : r.materials) || new Pt([]);
1965
1965
  this.materialsMode = n, this.id = ht(), this.data = kp(e, this);
1966
1966
  }
@@ -1982,28 +1982,28 @@ class Kt {
1982
1982
  return n(r);
1983
1983
  }
1984
1984
  }
1985
- const ha = (t) => {
1985
+ const va = (t) => {
1986
1986
  let e = [];
1987
1987
  return t.forEach((r) => {
1988
1988
  const n = r;
1989
- n.type ? n.type === wr.SINGLE ? e.push(n.content) : n.type === wr.GROUP && (e = [...e, ...ha(n.content)]) : e.push(r);
1989
+ n.type ? n.type === jr.SINGLE ? e.push(n.content) : n.type === jr.GROUP && (e = [...e, ...va(n.content)]) : e.push(r);
1990
1990
  }), e;
1991
- }, Er = (t, e, r) => {
1991
+ }, wr = (t, e, r) => {
1992
1992
  if (t.type)
1993
1993
  return t.type === at.SLOT ? new Kt(t, { parent: e, materials: r }) : t;
1994
1994
  if (Z(t)) {
1995
1995
  const n = {};
1996
1996
  return Object.keys(t).forEach((o) => {
1997
- n[o] = jr(t[o], e, r);
1997
+ n[o] = Er(t[o], e, r);
1998
1998
  }), n;
1999
1999
  } else
2000
- return Array.isArray(t) ? t.map((n) => Er(n, e, r)) : t;
2001
- }, jr = (t, e, r) => Z(t) ? Er(t, e, r) : z(t) ? t.map((n) => Er(n, e, r)) : t;
2002
- class Et {
2000
+ return Array.isArray(t) ? t.map((n) => wr(n, e, r)) : t;
2001
+ }, Er = (t, e, r) => Z(t) ? wr(t, e, r) : z(t) ? t.map((n) => wr(n, e, r)) : t;
2002
+ class wt {
2003
2003
  constructor(e, r, n) {
2004
- j(this, "nodeType", "PROP"), j(this, "rawData"), j(this, "parent"), j(this, "emitter", Ne), j(this, "data"), j(this, "name"), j(this, "materialsMode");
2004
+ E(this, "nodeType", "PROP"), E(this, "rawData"), E(this, "parent"), E(this, "emitter", Re), E(this, "data"), E(this, "name"), E(this, "materialsMode");
2005
2005
  const o = (n == null ? void 0 : n.materials) || new Pt([]);
2006
- this.materialsMode = o, this.parent = n == null ? void 0 : n.parent, this.rawData = r, this.name = e, this.data = jr(r, this, o);
2006
+ this.materialsMode = o, this.parent = n == null ? void 0 : n.parent, this.rawData = r, this.name = e, this.data = Er(r, this, o);
2007
2007
  }
2008
2008
  // TODO:
2009
2009
  isIncludeSlot() {
@@ -2018,7 +2018,7 @@ class Et {
2018
2018
  }
2019
2019
  updateValue(e) {
2020
2020
  const r = this.data;
2021
- this.data = jr(e ?? r, this, this.materialsMode), this.emitter.emit("onPropChange", {
2021
+ this.data = Er(e ?? r, this, this.materialsMode), this.emitter.emit("onPropChange", {
2022
2022
  value: this.data,
2023
2023
  preValue: r,
2024
2024
  node: this
@@ -2032,13 +2032,13 @@ class Et {
2032
2032
  const e = this.parent;
2033
2033
  if (e instanceof k) {
2034
2034
  const r = e.material;
2035
- return ha((r == null ? void 0 : r.value.props) || []).find((n) => n.name === this.name);
2035
+ return va((r == null ? void 0 : r.value.props) || []).find((n) => n.name === this.name);
2036
2036
  } else
2037
2037
  return null;
2038
2038
  }
2039
2039
  export(e) {
2040
2040
  const r = this.data, n = (o) => {
2041
- if (o instanceof Et || o instanceof Kt || o instanceof k)
2041
+ if (o instanceof wt || o instanceof Kt || o instanceof k)
2042
2042
  return o.export(e);
2043
2043
  if (z(o))
2044
2044
  return o.map((a) => n(a));
@@ -2070,7 +2070,7 @@ const Up = (t) => {
2070
2070
  children: [],
2071
2071
  props: {},
2072
2072
  methods: t.methods || [],
2073
- configure: ia(t.configure || {}, {
2073
+ configure: sa(t.configure || {}, {
2074
2074
  propsSetter: {},
2075
2075
  advanceSetter: {}
2076
2076
  })
@@ -2078,11 +2078,11 @@ const Up = (t) => {
2078
2078
  return o.length && o.forEach((a) => {
2079
2079
  var s;
2080
2080
  const i = (s = t.props) == null ? void 0 : s[a];
2081
- if (i instanceof Et) {
2081
+ if (i instanceof wt) {
2082
2082
  n.props[a] = i;
2083
2083
  return;
2084
2084
  }
2085
- n.props[a] = new Et(a, i || "", {
2085
+ n.props[a] = new wt(a, i || "", {
2086
2086
  parent: e,
2087
2087
  materials: r
2088
2088
  });
@@ -2106,7 +2106,7 @@ const Up = (t) => {
2106
2106
  };
2107
2107
  class k {
2108
2108
  constructor(e, r) {
2109
- j(this, "nodeType", "NODE"), j(this, "rawData"), j(this, "data"), j(this, "emitter", Ne), j(this, "parent"), j(this, "materialsModel"), j(this, "listenerHandle"), j(this, "onChangeCbQueue"), this.rawData = JSON.parse(JSON.stringify(e)), Up(e);
2109
+ E(this, "nodeType", "NODE"), E(this, "rawData"), E(this, "data"), E(this, "emitter", Re), E(this, "parent"), E(this, "materialsModel"), E(this, "listenerHandle"), E(this, "onChangeCbQueue"), this.rawData = JSON.parse(JSON.stringify(e)), Up(e);
2110
2110
  const n = (r == null ? void 0 : r.materials) || new Pt([]);
2111
2111
  this.parent = (r == null ? void 0 : r.parent) || null, this.materialsModel = n, this.data = no(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener();
2112
2112
  }
@@ -2142,12 +2142,16 @@ class k {
2142
2142
  materials: this.materialsModel
2143
2143
  });
2144
2144
  }
2145
- updateValue(e) {
2146
- const r = this.data, n = {
2145
+ updateWithPlainObj(e) {
2146
+ const r = {
2147
2147
  ...this.data,
2148
2148
  ...e
2149
2149
  };
2150
- this.data = no(n, this), this.emitter.emit("onNodeChange", {
2150
+ return this.data = no(r, this), r;
2151
+ }
2152
+ updateValue(e) {
2153
+ const r = this.data, n = this.updateWithPlainObj(e);
2154
+ this.emitter.emit("onNodeChange", {
2151
2155
  value: n,
2152
2156
  preValue: r,
2153
2157
  node: this
@@ -2188,7 +2192,7 @@ class k {
2188
2192
  });
2189
2193
  const a = (r = n.children) == null ? void 0 : r.map((f) => f instanceof k ? f.export(e) : f), s = n.configure || {}, i = s.propsSetter || {}, c = {};
2190
2194
  Object.keys(i).forEach((f) => {
2191
- const d = Bo(i, f, !1);
2195
+ const d = Vo(i, f, !1);
2192
2196
  d && (c[f] = d);
2193
2197
  }), s.propsSetter = c, this.material && this.materialsModel.usedMaterials.push(this.material);
2194
2198
  let l = {
@@ -2208,7 +2212,7 @@ const oo = (t, e, r) => {
2208
2212
  componentName: ae.ROOT_CONTAINER,
2209
2213
  children: [],
2210
2214
  methods: t.methods || [],
2211
- configure: ia(t.configure || {}, {
2215
+ configure: sa(t.configure || {}, {
2212
2216
  propsSetter: {},
2213
2217
  advanceSetter: {}
2214
2218
  })
@@ -2219,7 +2223,7 @@ const oo = (t, e, r) => {
2219
2223
  return a.length && a.forEach((s) => {
2220
2224
  var i;
2221
2225
  const c = (i = t.props) == null ? void 0 : i[s];
2222
- c instanceof Et ? n.props[s] = c : n.props[s] = new Et(s, c || "", {
2226
+ c instanceof wt ? n.props[s] = c : n.props[s] = new wt(s, c || "", {
2223
2227
  parent: e,
2224
2228
  materials: r
2225
2229
  });
@@ -2227,7 +2231,7 @@ const oo = (t, e, r) => {
2227
2231
  };
2228
2232
  class Ce {
2229
2233
  constructor(e, { parent: r, materials: n }) {
2230
- j(this, "rawData"), j(this, "data"), j(this, "nodeType", ae.ROOT_CONTAINER), j(this, "emitter", Ne), j(this, "materialsModel"), j(this, "listenerHandle"), j(this, "onChangeCbQueue"), j(this, "parent"), this.materialsModel = n, this.rawData = JSON.parse(JSON.stringify(e)), this.data = oo(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener(), this.parent = r;
2234
+ E(this, "rawData"), E(this, "data"), E(this, "nodeType", ae.ROOT_CONTAINER), E(this, "emitter", Re), E(this, "materialsModel"), E(this, "listenerHandle"), E(this, "onChangeCbQueue"), E(this, "parent"), this.materialsModel = n, this.rawData = JSON.parse(JSON.stringify(e)), this.data = oo(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener(), this.parent = r;
2231
2235
  }
2232
2236
  registerListener() {
2233
2237
  const e = (r) => {
@@ -2256,12 +2260,16 @@ class Ce {
2256
2260
  const e = this.materialsModel;
2257
2261
  return e == null ? void 0 : e.findByComponentName(this.data.componentName);
2258
2262
  }
2259
- updateValue(e) {
2260
- const r = this.data, n = {
2263
+ updateWithPlainObj(e) {
2264
+ const r = {
2261
2265
  ...this.data,
2262
2266
  ...e
2263
2267
  };
2264
- this.data = oo(n, this, this.materialsModel), this.emitter.emit("onNodeChange", {
2268
+ return this.data = oo(r, this, this.materialsModel), r;
2269
+ }
2270
+ updateValue(e) {
2271
+ const r = this.data;
2272
+ this.updateWithPlainObj(e), this.emitter.emit("onNodeChange", {
2265
2273
  value: this.data,
2266
2274
  preValue: r,
2267
2275
  node: this
@@ -2296,7 +2304,7 @@ class Ce {
2296
2304
  props: o,
2297
2305
  children: a.filter((c) => c)
2298
2306
  };
2299
- let i = sa(s, ["id"]);
2307
+ let i = ca(s, ["id"]);
2300
2308
  return i = an(i), i;
2301
2309
  }
2302
2310
  getPlainProps() {
@@ -2319,7 +2327,7 @@ class Ce {
2319
2327
  });
2320
2328
  }
2321
2329
  }
2322
- const Rt = (t) => (t == null ? void 0 : t.type) === at.EXPRESSION, Bp = (t) => (t == null ? void 0 : t.type) === at.FUNCTION, ht = () => Math.random().toString(32).slice(3, 9), Vp = (t) => (t == null ? void 0 : t.nodeType) === "NODE", lr = (t) => (t == null ? void 0 : t.nodeType) === "PROP", Gp = (t) => (t == null ? void 0 : t.nodeType) === "SLOT", an = (t) => lp(t, (e) => Z(e) ? !Object.keys(e).length : z(e) ? !e.length : !e);
2330
+ const Tt = (t) => (t == null ? void 0 : t.type) === at.EXPRESSION, Bp = (t) => (t == null ? void 0 : t.type) === at.FUNCTION, ht = () => Math.random().toString(32).slice(3, 9), Vp = (t) => (t == null ? void 0 : t.nodeType) === "NODE", lr = (t) => (t == null ? void 0 : t.nodeType) === "PROP", Gp = (t) => (t == null ? void 0 : t.nodeType) === "SLOT", an = (t) => lp(t, (e) => Z(e) ? !Object.keys(e).length : z(e) ? !e.length : !e);
2323
2331
  function zp(t, e) {
2324
2332
  const r = [t];
2325
2333
  for (; r.length; ) {
@@ -2331,7 +2339,7 @@ function zp(t, e) {
2331
2339
  r.push(i);
2332
2340
  return;
2333
2341
  }
2334
- if (i instanceof Kt && a(i.value.value), i instanceof Et) {
2342
+ if (i instanceof Kt && a(i.value.value), i instanceof wt) {
2335
2343
  a(i.value);
2336
2344
  return;
2337
2345
  }
@@ -2358,7 +2366,7 @@ function sn(t, e) {
2358
2366
  return zp(t, (r) => r.id === e);
2359
2367
  }
2360
2368
  const Wp = (t) => {
2361
- const e = Zo(t), r = e.snippets;
2369
+ const e = ta(t), r = e.snippets;
2362
2370
  return delete e.snippets, e.snippets = r.map((n) => ({
2363
2371
  ...e,
2364
2372
  ...n,
@@ -2377,7 +2385,7 @@ const Wp = (t) => {
2377
2385
  };
2378
2386
  class Hp {
2379
2387
  constructor(e) {
2380
- j(this, "rawData"), j(this, "data"), this.rawData = e, this.data = Wp(e);
2388
+ E(this, "rawData"), E(this, "data"), this.rawData = e, this.data = Wp(e);
2381
2389
  }
2382
2390
  get value() {
2383
2391
  return this.data;
@@ -2410,7 +2418,7 @@ const Yp = (t) => {
2410
2418
  };
2411
2419
  class Pt {
2412
2420
  constructor(e) {
2413
- j(this, "rawData"), j(this, "data"), j(this, "usedMaterials", []), this.rawData = e, Jp(e), this.data = Yp(e);
2421
+ E(this, "rawData"), E(this, "data"), E(this, "usedMaterials", []), this.rawData = e, Jp(e), this.data = Yp(e);
2414
2422
  }
2415
2423
  findByComponentName(e) {
2416
2424
  return this.data.find((r) => r.componentName === e);
@@ -2425,15 +2433,14 @@ class Pt {
2425
2433
  return n;
2426
2434
  }
2427
2435
  getAllSnippets() {
2428
- let e = this.data.reduce((a, s) => (a.push(...s.snippets), a), []);
2429
- const r = [], n = {
2436
+ const e = this.data.reduce((a, s) => (a.push(...s.snippets), a), []), r = [], n = {
2430
2437
  default: []
2431
2438
  };
2432
- e = e.sort((a, s) => (a.category || "") > (s.category || "") ? 1 : -1), e.forEach((a) => {
2439
+ e.forEach((a) => {
2433
2440
  const s = a.groupName || "default";
2434
2441
  r.includes(s) || (r.push(s), n[s] = []), n[s].push(a);
2435
2442
  });
2436
- const o = [];
2443
+ let o = [];
2437
2444
  return r.forEach((a) => {
2438
2445
  const s = ["default"], i = {
2439
2446
  default: []
@@ -2456,7 +2463,7 @@ class Pt {
2456
2463
  };
2457
2464
  o.push(f);
2458
2465
  }
2459
- }), o;
2466
+ }), o = o.sort((a, s) => (a.name || "") > (s.name || "") ? 1 : -1), o;
2460
2467
  }
2461
2468
  get value() {
2462
2469
  return this.data;
@@ -2488,7 +2495,7 @@ const qp = P({
2488
2495
  thirdLibs: b(Cp),
2489
2496
  componentsTree: Lp,
2490
2497
  assets: b(B(G()))
2491
- }), va = (t) => (on({
2498
+ }), ma = (t) => (on({
2492
2499
  data: t,
2493
2500
  dataStruct: qp,
2494
2501
  throwError: !1
@@ -2501,7 +2508,7 @@ const qp = P({
2501
2508
  });
2502
2509
  class Ge {
2503
2510
  constructor(e, r) {
2504
- j(this, "nodeType", "PAGE"), j(this, "rawData"), j(this, "emitter", Ne), j(this, "data"), j(this, "parent"), j(this, "materialsModel"), j(this, "assetPackagesList"), va(e), this.rawData = JSON.parse(JSON.stringify(e)), this.materialsModel = new Pt((r == null ? void 0 : r.materials) || []), this.data = fr(e, this, this.materialsModel), this.assetPackagesList = [...(r == null ? void 0 : r.assetPackagesList) || [], ...this.data.assets || []];
2511
+ E(this, "nodeType", "PAGE"), E(this, "rawData"), E(this, "emitter", Re), E(this, "data"), E(this, "parent"), E(this, "materialsModel"), E(this, "assetPackagesList"), ma(e), this.rawData = JSON.parse(JSON.stringify(e)), this.materialsModel = new Pt((r == null ? void 0 : r.materials) || []), this.data = fr(e, this, this.materialsModel), this.assetPackagesList = [...(r == null ? void 0 : r.assetPackagesList) || [], ...this.data.assets || []];
2505
2512
  }
2506
2513
  updatePage(e) {
2507
2514
  const r = this.data;
@@ -2535,7 +2542,7 @@ class Ge {
2535
2542
  const a = r.parent;
2536
2543
  if (a === null && r instanceof Ce)
2537
2544
  return console.warn("Not found parent node"), !1;
2538
- if (a instanceof Et)
2545
+ if (a instanceof wt)
2539
2546
  return console.warn("CProp can not add node"), !1;
2540
2547
  if (a instanceof Kt) {
2541
2548
  const i = a.value.value, c = i.findIndex((l) => l === r) ?? -1;
@@ -2622,7 +2629,7 @@ class Ge {
2622
2629
  });
2623
2630
  return l && a.push(l), {
2624
2631
  componentName: c.componentName,
2625
- ...Zo(c.value.npm || {})
2632
+ ...ta(c.value.npm || {})
2626
2633
  };
2627
2634
  }).filter((c) => !!(c.componentName && c.package && c.version));
2628
2635
  this.materialsModel.usedMaterials = [];
@@ -2636,7 +2643,7 @@ class Ge {
2636
2643
  return (r = this.data.thirdLibs) == null || r.forEach((c) => {
2637
2644
  const l = o.find((f) => c.package === f.package);
2638
2645
  l && a.push(l);
2639
- }), i.assets = gp(a, (c) => c.package), i = sa(i, ["id"]), JSON.parse(JSON.stringify(i));
2646
+ }), i.assets = gp(a, (c) => c.package), i = ca(i, ["id"]), JSON.parse(JSON.stringify(i));
2640
2647
  }
2641
2648
  getRootNode() {
2642
2649
  return this.data.componentsTree;
@@ -2644,12 +2651,12 @@ class Ge {
2644
2651
  }
2645
2652
  ae.ROOT_CONTAINER;
2646
2653
  var Qp = typeof global == "object" && global && global.Object === Object && global;
2647
- const ma = Qp;
2648
- var Kp = typeof self == "object" && self && self.Object === Object && self, Xp = ma || Kp || Function("return this")();
2654
+ const ga = Qp;
2655
+ var Kp = typeof self == "object" && self && self.Object === Object && self, Xp = ga || Kp || Function("return this")();
2649
2656
  const ie = Xp;
2650
2657
  var Zp = ie.Symbol;
2651
2658
  const Xt = Zp;
2652
- var ga = Object.prototype, td = ga.hasOwnProperty, ed = ga.toString, de = Xt ? Xt.toStringTag : void 0;
2659
+ var ya = Object.prototype, td = ya.hasOwnProperty, ed = ya.toString, de = Xt ? Xt.toStringTag : void 0;
2653
2660
  function rd(t) {
2654
2661
  var e = td.call(t, de), r = t[de];
2655
2662
  try {
@@ -2665,7 +2672,7 @@ function ad(t) {
2665
2672
  return od.call(t);
2666
2673
  }
2667
2674
  var id = "[object Null]", sd = "[object Undefined]", ao = Xt ? Xt.toStringTag : void 0;
2668
- function $e(t) {
2675
+ function Ne(t) {
2669
2676
  return t == null ? t === void 0 ? sd : id : ao && ao in Object(t) ? rd(t) : ad(t);
2670
2677
  }
2671
2678
  function se(t) {
@@ -2673,7 +2680,7 @@ function se(t) {
2673
2680
  }
2674
2681
  var cd = "[object Symbol]";
2675
2682
  function ud(t) {
2676
- return typeof t == "symbol" || se(t) && $e(t) == cd;
2683
+ return typeof t == "symbol" || se(t) && Ne(t) == cd;
2677
2684
  }
2678
2685
  function ld(t, e) {
2679
2686
  for (var r = -1, n = t == null ? 0 : t.length, o = Array(n); ++r < n; )
@@ -2683,11 +2690,11 @@ function ld(t, e) {
2683
2690
  var fd = Array.isArray;
2684
2691
  const Zt = fd;
2685
2692
  var pd = 1 / 0, io = Xt ? Xt.prototype : void 0, so = io ? io.toString : void 0;
2686
- function ya(t) {
2693
+ function ba(t) {
2687
2694
  if (typeof t == "string")
2688
2695
  return t;
2689
2696
  if (Zt(t))
2690
- return ld(t, ya) + "";
2697
+ return ld(t, ba) + "";
2691
2698
  if (ud(t))
2692
2699
  return so ? so.call(t) : "";
2693
2700
  var e = t + "";
@@ -2697,14 +2704,14 @@ function Lt(t) {
2697
2704
  var e = typeof t;
2698
2705
  return t != null && (e == "object" || e == "function");
2699
2706
  }
2700
- function ba(t) {
2707
+ function _a(t) {
2701
2708
  return t;
2702
2709
  }
2703
2710
  var dd = "[object AsyncFunction]", hd = "[object Function]", vd = "[object GeneratorFunction]", md = "[object Proxy]";
2704
2711
  function cn(t) {
2705
2712
  if (!Lt(t))
2706
2713
  return !1;
2707
- var e = $e(t);
2714
+ var e = Ne(t);
2708
2715
  return e == hd || e == vd || e == dd || e == md;
2709
2716
  }
2710
2717
  var gd = ie["__core-js_shared__"];
@@ -2730,23 +2737,23 @@ function Sd(t) {
2730
2737
  }
2731
2738
  return "";
2732
2739
  }
2733
- var Od = /[\\^$.*+?()[\]{}|]/g, wd = /^\[object .+?Constructor\]$/, Ed = Function.prototype, jd = Object.prototype, Cd = Ed.toString, xd = jd.hasOwnProperty, Td = RegExp(
2734
- "^" + Cd.call(xd).replace(Od, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2740
+ var Od = /[\\^$.*+?()[\]{}|]/g, jd = /^\[object .+?Constructor\]$/, wd = Function.prototype, Ed = Object.prototype, Cd = wd.toString, $d = Ed.hasOwnProperty, xd = RegExp(
2741
+ "^" + Cd.call($d).replace(Od, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2735
2742
  );
2736
- function Rd(t) {
2743
+ function Td(t) {
2737
2744
  if (!Lt(t) || yd(t))
2738
2745
  return !1;
2739
- var e = cn(t) ? Td : wd;
2746
+ var e = cn(t) ? xd : jd;
2740
2747
  return e.test(Sd(t));
2741
2748
  }
2742
- function Nd(t, e) {
2749
+ function Rd(t, e) {
2743
2750
  return t == null ? void 0 : t[e];
2744
2751
  }
2745
2752
  function un(t, e) {
2746
- var r = Nd(t, e);
2747
- return Rd(r) ? r : void 0;
2753
+ var r = Rd(t, e);
2754
+ return Td(r) ? r : void 0;
2748
2755
  }
2749
- var uo = Object.create, $d = function() {
2756
+ var uo = Object.create, Nd = function() {
2750
2757
  function t() {
2751
2758
  }
2752
2759
  return function(e) {
@@ -2759,7 +2766,7 @@ var uo = Object.create, $d = function() {
2759
2766
  return t.prototype = void 0, r;
2760
2767
  };
2761
2768
  }();
2762
- const Pd = $d;
2769
+ const Pd = Nd;
2763
2770
  function Ad(t, e, r) {
2764
2771
  switch (r.length) {
2765
2772
  case 0:
@@ -2812,12 +2819,12 @@ var Bd = ze ? function(t, e) {
2812
2819
  value: kd(e),
2813
2820
  writable: !0
2814
2821
  });
2815
- } : ba;
2822
+ } : _a;
2816
2823
  const Vd = Bd;
2817
2824
  var Gd = Fd(Vd);
2818
2825
  const zd = Gd;
2819
2826
  var Wd = 9007199254740991, Hd = /^(?:0|[1-9]\d*)$/;
2820
- function _a(t, e) {
2827
+ function Sa(t, e) {
2821
2828
  var r = typeof t;
2822
2829
  return e = e ?? Wd, !!e && (r == "number" || r != "symbol" && Hd.test(t)) && t > -1 && t % 1 == 0 && t < e;
2823
2830
  }
@@ -2858,20 +2865,20 @@ function Kd(t, e, r) {
2858
2865
  };
2859
2866
  }
2860
2867
  function Xd(t, e) {
2861
- return zd(Kd(t, e, ba), t + "");
2868
+ return zd(Kd(t, e, _a), t + "");
2862
2869
  }
2863
2870
  var Zd = 9007199254740991;
2864
- function Sa(t) {
2871
+ function Oa(t) {
2865
2872
  return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Zd;
2866
2873
  }
2867
2874
  function fn(t) {
2868
- return t != null && Sa(t.length) && !cn(t);
2875
+ return t != null && Oa(t.length) && !cn(t);
2869
2876
  }
2870
2877
  function th(t, e, r) {
2871
2878
  if (!Lt(r))
2872
2879
  return !1;
2873
2880
  var n = typeof e;
2874
- return (n == "number" ? fn(r) && _a(e, r.length) : n == "string" && e in r) ? Xe(r[e], t) : !1;
2881
+ return (n == "number" ? fn(r) && Sa(e, r.length) : n == "string" && e in r) ? Xe(r[e], t) : !1;
2875
2882
  }
2876
2883
  function eh(t) {
2877
2884
  return Xd(function(e, r) {
@@ -2884,7 +2891,7 @@ function eh(t) {
2884
2891
  });
2885
2892
  }
2886
2893
  var rh = Object.prototype;
2887
- function Oa(t) {
2894
+ function ja(t) {
2888
2895
  var e = t && t.constructor, r = typeof e == "function" && e.prototype || rh;
2889
2896
  return t === r;
2890
2897
  }
@@ -2895,7 +2902,7 @@ function nh(t, e) {
2895
2902
  }
2896
2903
  var oh = "[object Arguments]";
2897
2904
  function fo(t) {
2898
- return se(t) && $e(t) == oh;
2905
+ return se(t) && Ne(t) == oh;
2899
2906
  }
2900
2907
  var wa = Object.prototype, ah = wa.hasOwnProperty, ih = wa.propertyIsEnumerable, sh = fo(function() {
2901
2908
  return arguments;
@@ -2907,19 +2914,19 @@ function ch() {
2907
2914
  return !1;
2908
2915
  }
2909
2916
  var Ea = typeof exports == "object" && exports && !exports.nodeType && exports, po = Ea && typeof module == "object" && module && !module.nodeType && module, uh = po && po.exports === Ea, ho = uh ? ie.Buffer : void 0, lh = ho ? ho.isBuffer : void 0, fh = lh || ch;
2910
- const ja = fh;
2911
- var ph = "[object Arguments]", dh = "[object Array]", hh = "[object Boolean]", vh = "[object Date]", mh = "[object Error]", gh = "[object Function]", yh = "[object Map]", bh = "[object Number]", _h = "[object Object]", Sh = "[object RegExp]", Oh = "[object Set]", wh = "[object String]", Eh = "[object WeakMap]", jh = "[object ArrayBuffer]", Ch = "[object DataView]", xh = "[object Float32Array]", Th = "[object Float64Array]", Rh = "[object Int8Array]", Nh = "[object Int16Array]", $h = "[object Int32Array]", Ph = "[object Uint8Array]", Ah = "[object Uint8ClampedArray]", Mh = "[object Uint16Array]", Dh = "[object Uint32Array]", L = {};
2912
- L[xh] = L[Th] = L[Rh] = L[Nh] = L[$h] = L[Ph] = L[Ah] = L[Mh] = L[Dh] = !0;
2913
- L[ph] = L[dh] = L[jh] = L[hh] = L[Ch] = L[vh] = L[mh] = L[gh] = L[yh] = L[bh] = L[_h] = L[Sh] = L[Oh] = L[wh] = L[Eh] = !1;
2917
+ const Ca = fh;
2918
+ var ph = "[object Arguments]", dh = "[object Array]", hh = "[object Boolean]", vh = "[object Date]", mh = "[object Error]", gh = "[object Function]", yh = "[object Map]", bh = "[object Number]", _h = "[object Object]", Sh = "[object RegExp]", Oh = "[object Set]", jh = "[object String]", wh = "[object WeakMap]", Eh = "[object ArrayBuffer]", Ch = "[object DataView]", $h = "[object Float32Array]", xh = "[object Float64Array]", Th = "[object Int8Array]", Rh = "[object Int16Array]", Nh = "[object Int32Array]", Ph = "[object Uint8Array]", Ah = "[object Uint8ClampedArray]", Mh = "[object Uint16Array]", Dh = "[object Uint32Array]", L = {};
2919
+ L[$h] = L[xh] = L[Th] = L[Rh] = L[Nh] = L[Ph] = L[Ah] = L[Mh] = L[Dh] = !0;
2920
+ L[ph] = L[dh] = L[Eh] = L[hh] = L[Ch] = L[vh] = L[mh] = L[gh] = L[yh] = L[bh] = L[_h] = L[Sh] = L[Oh] = L[jh] = L[wh] = !1;
2914
2921
  function Ih(t) {
2915
- return se(t) && Sa(t.length) && !!L[$e(t)];
2922
+ return se(t) && Oa(t.length) && !!L[Ne(t)];
2916
2923
  }
2917
2924
  function Lh(t) {
2918
2925
  return function(e) {
2919
2926
  return t(e);
2920
2927
  };
2921
2928
  }
2922
- var Ca = typeof exports == "object" && exports && !exports.nodeType && exports, be = Ca && typeof module == "object" && module && !module.nodeType && module, Fh = be && be.exports === Ca, dr = Fh && ma.process, kh = function() {
2929
+ var $a = typeof exports == "object" && exports && !exports.nodeType && exports, be = $a && typeof module == "object" && module && !module.nodeType && module, Fh = be && be.exports === $a, dr = Fh && ga.process, kh = function() {
2923
2930
  try {
2924
2931
  var t = be && be.require && be.require("util").types;
2925
2932
  return t || dr && dr.binding && dr.binding("util");
@@ -2931,13 +2938,13 @@ var mo = vo && vo.isTypedArray, Uh = mo ? Lh(mo) : Ih;
2931
2938
  const xa = Uh;
2932
2939
  var Bh = Object.prototype, Vh = Bh.hasOwnProperty;
2933
2940
  function Gh(t, e) {
2934
- var r = Zt(t), n = !r && Cr(t), o = !r && !n && ja(t), a = !r && !n && !o && xa(t), s = r || n || o || a, i = s ? nh(t.length, String) : [], c = i.length;
2941
+ var r = Zt(t), n = !r && Cr(t), o = !r && !n && Ca(t), a = !r && !n && !o && xa(t), s = r || n || o || a, i = s ? nh(t.length, String) : [], c = i.length;
2935
2942
  for (var l in t)
2936
2943
  (e || Vh.call(t, l)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
2937
2944
  (l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
2938
2945
  o && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
2939
2946
  a && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
2940
- _a(l, c))) && i.push(l);
2947
+ Sa(l, c))) && i.push(l);
2941
2948
  return i;
2942
2949
  }
2943
2950
  function zh(t, e) {
@@ -2956,7 +2963,7 @@ var Hh = Object.prototype, Yh = Hh.hasOwnProperty;
2956
2963
  function Jh(t) {
2957
2964
  if (!Lt(t))
2958
2965
  return Wh(t);
2959
- var e = Oa(t), r = [];
2966
+ var e = ja(t), r = [];
2960
2967
  for (var n in t)
2961
2968
  n == "constructor" && (e || !Yh.call(t, n)) || r.push(n);
2962
2969
  return r;
@@ -2965,9 +2972,9 @@ function Ta(t) {
2965
2972
  return fn(t) ? Gh(t, !0) : Jh(t);
2966
2973
  }
2967
2974
  var qh = un(Object, "create");
2968
- const xe = qh;
2975
+ const $e = qh;
2969
2976
  function Qh() {
2970
- this.__data__ = xe ? xe(null) : {}, this.size = 0;
2977
+ this.__data__ = $e ? $e(null) : {}, this.size = 0;
2971
2978
  }
2972
2979
  function Kh(t) {
2973
2980
  var e = this.has(t) && delete this.__data__[t];
@@ -2976,7 +2983,7 @@ function Kh(t) {
2976
2983
  var Xh = "__lodash_hash_undefined__", Zh = Object.prototype, tv = Zh.hasOwnProperty;
2977
2984
  function ev(t) {
2978
2985
  var e = this.__data__;
2979
- if (xe) {
2986
+ if ($e) {
2980
2987
  var r = e[t];
2981
2988
  return r === Xh ? void 0 : r;
2982
2989
  }
@@ -2985,12 +2992,12 @@ function ev(t) {
2985
2992
  var rv = Object.prototype, nv = rv.hasOwnProperty;
2986
2993
  function ov(t) {
2987
2994
  var e = this.__data__;
2988
- return xe ? e[t] !== void 0 : nv.call(e, t);
2995
+ return $e ? e[t] !== void 0 : nv.call(e, t);
2989
2996
  }
2990
2997
  var av = "__lodash_hash_undefined__";
2991
2998
  function iv(t, e) {
2992
2999
  var r = this.__data__;
2993
- return this.size += this.has(t) ? 0 : 1, r[t] = xe && e === void 0 ? av : e, this;
3000
+ return this.size += this.has(t) ? 0 : 1, r[t] = $e && e === void 0 ? av : e, this;
2994
3001
  }
2995
3002
  function At(t) {
2996
3003
  var e = -1, r = t == null ? 0 : t.length;
@@ -3088,49 +3095,49 @@ ce.prototype.get = yv;
3088
3095
  ce.prototype.has = bv;
3089
3096
  ce.prototype.set = _v;
3090
3097
  function Na(t) {
3091
- return t == null ? "" : ya(t);
3098
+ return t == null ? "" : ba(t);
3092
3099
  }
3093
3100
  var Sv = zh(Object.getPrototypeOf, Object);
3094
- const $a = Sv;
3095
- var Ov = "[object Object]", wv = Function.prototype, Ev = Object.prototype, Pa = wv.toString, jv = Ev.hasOwnProperty, Cv = Pa.call(Object);
3101
+ const Pa = Sv;
3102
+ var Ov = "[object Object]", jv = Function.prototype, wv = Object.prototype, Aa = jv.toString, Ev = wv.hasOwnProperty, Cv = Aa.call(Object);
3096
3103
  function te(t) {
3097
- if (!se(t) || $e(t) != Ov)
3104
+ if (!se(t) || Ne(t) != Ov)
3098
3105
  return !1;
3099
- var e = $a(t);
3106
+ var e = Pa(t);
3100
3107
  if (e === null)
3101
3108
  return !0;
3102
- var r = jv.call(e, "constructor") && e.constructor;
3103
- return typeof r == "function" && r instanceof r && Pa.call(r) == Cv;
3109
+ var r = Ev.call(e, "constructor") && e.constructor;
3110
+ return typeof r == "function" && r instanceof r && Aa.call(r) == Cv;
3104
3111
  }
3105
- function xv(t, e, r) {
3112
+ function $v(t, e, r) {
3106
3113
  var n = -1, o = t.length;
3107
3114
  e < 0 && (e = -e > o ? 0 : o + e), r = r > o ? o : r, r < 0 && (r += o), o = e > r ? 0 : r - e >>> 0, e >>>= 0;
3108
3115
  for (var a = Array(o); ++n < o; )
3109
3116
  a[n] = t[n + e];
3110
3117
  return a;
3111
3118
  }
3112
- function Tv(t, e, r) {
3119
+ function xv(t, e, r) {
3113
3120
  var n = t.length;
3114
- return r = r === void 0 ? n : r, !e && r >= n ? t : xv(t, e, r);
3121
+ return r = r === void 0 ? n : r, !e && r >= n ? t : $v(t, e, r);
3115
3122
  }
3116
- var Rv = "\\ud800-\\udfff", Nv = "\\u0300-\\u036f", $v = "\\ufe20-\\ufe2f", Pv = "\\u20d0-\\u20ff", Av = Nv + $v + Pv, Mv = "\\ufe0e\\ufe0f", Dv = "\\u200d", Iv = RegExp("[" + Dv + Rv + Av + Mv + "]");
3117
- function Aa(t) {
3123
+ var Tv = "\\ud800-\\udfff", Rv = "\\u0300-\\u036f", Nv = "\\ufe20-\\ufe2f", Pv = "\\u20d0-\\u20ff", Av = Rv + Nv + Pv, Mv = "\\ufe0e\\ufe0f", Dv = "\\u200d", Iv = RegExp("[" + Dv + Tv + Av + Mv + "]");
3124
+ function Ma(t) {
3118
3125
  return Iv.test(t);
3119
3126
  }
3120
3127
  function Lv(t) {
3121
3128
  return t.split("");
3122
3129
  }
3123
- var Ma = "\\ud800-\\udfff", Fv = "\\u0300-\\u036f", kv = "\\ufe20-\\ufe2f", Uv = "\\u20d0-\\u20ff", Bv = Fv + kv + Uv, Vv = "\\ufe0e\\ufe0f", Gv = "[" + Ma + "]", xr = "[" + Bv + "]", Tr = "\\ud83c[\\udffb-\\udfff]", zv = "(?:" + xr + "|" + Tr + ")", Da = "[^" + Ma + "]", Ia = "(?:\\ud83c[\\udde6-\\uddff]){2}", La = "[\\ud800-\\udbff][\\udc00-\\udfff]", Wv = "\\u200d", Fa = zv + "?", ka = "[" + Vv + "]?", Hv = "(?:" + Wv + "(?:" + [Da, Ia, La].join("|") + ")" + ka + Fa + ")*", Yv = ka + Fa + Hv, Jv = "(?:" + [Da + xr + "?", xr, Ia, La, Gv].join("|") + ")", qv = RegExp(Tr + "(?=" + Tr + ")|" + Jv + Yv, "g");
3130
+ var Da = "\\ud800-\\udfff", Fv = "\\u0300-\\u036f", kv = "\\ufe20-\\ufe2f", Uv = "\\u20d0-\\u20ff", Bv = Fv + kv + Uv, Vv = "\\ufe0e\\ufe0f", Gv = "[" + Da + "]", $r = "[" + Bv + "]", xr = "\\ud83c[\\udffb-\\udfff]", zv = "(?:" + $r + "|" + xr + ")", Ia = "[^" + Da + "]", La = "(?:\\ud83c[\\udde6-\\uddff]){2}", Fa = "[\\ud800-\\udbff][\\udc00-\\udfff]", Wv = "\\u200d", ka = zv + "?", Ua = "[" + Vv + "]?", Hv = "(?:" + Wv + "(?:" + [Ia, La, Fa].join("|") + ")" + Ua + ka + ")*", Yv = Ua + ka + Hv, Jv = "(?:" + [Ia + $r + "?", $r, La, Fa, Gv].join("|") + ")", qv = RegExp(xr + "(?=" + xr + ")|" + Jv + Yv, "g");
3124
3131
  function Qv(t) {
3125
3132
  return t.match(qv) || [];
3126
3133
  }
3127
3134
  function Kv(t) {
3128
- return Aa(t) ? Qv(t) : Lv(t);
3135
+ return Ma(t) ? Qv(t) : Lv(t);
3129
3136
  }
3130
3137
  function Xv(t) {
3131
3138
  return function(e) {
3132
3139
  e = Na(e);
3133
- var r = Aa(e) ? Kv(e) : void 0, n = r ? r[0] : e.charAt(0), o = r ? Tv(r, 1).join("") : e.slice(1);
3140
+ var r = Ma(e) ? Kv(e) : void 0, n = r ? r[0] : e.charAt(0), o = r ? xv(r, 1).join("") : e.slice(1);
3134
3141
  return n[t]() + o;
3135
3142
  };
3136
3143
  }
@@ -3172,7 +3179,7 @@ ue.prototype.delete = nm;
3172
3179
  ue.prototype.get = om;
3173
3180
  ue.prototype.has = am;
3174
3181
  ue.prototype.set = sm;
3175
- var Ua = typeof exports == "object" && exports && !exports.nodeType && exports, go = Ua && typeof module == "object" && module && !module.nodeType && module, cm = go && go.exports === Ua, yo = cm ? ie.Buffer : void 0, bo = yo ? yo.allocUnsafe : void 0;
3182
+ var Ba = typeof exports == "object" && exports && !exports.nodeType && exports, go = Ba && typeof module == "object" && module && !module.nodeType && module, cm = go && go.exports === Ba, yo = cm ? ie.Buffer : void 0, bo = yo ? yo.allocUnsafe : void 0;
3176
3183
  function um(t, e) {
3177
3184
  if (e)
3178
3185
  return t.slice();
@@ -3190,7 +3197,7 @@ function pm(t, e) {
3190
3197
  return new t.constructor(r, t.byteOffset, t.length);
3191
3198
  }
3192
3199
  function dm(t) {
3193
- return typeof t.constructor == "function" && !Oa(t) ? Pd($a(t)) : {};
3200
+ return typeof t.constructor == "function" && !ja(t) ? Pd(Pa(t)) : {};
3194
3201
  }
3195
3202
  function hm(t) {
3196
3203
  return function(e, r, n) {
@@ -3204,13 +3211,13 @@ function hm(t) {
3204
3211
  }
3205
3212
  var vm = hm();
3206
3213
  const mm = vm;
3207
- function Rr(t, e, r) {
3214
+ function Tr(t, e, r) {
3208
3215
  (r !== void 0 && !Xe(t[e], r) || r === void 0 && !(e in t)) && ln(t, e, r);
3209
3216
  }
3210
3217
  function gm(t) {
3211
3218
  return se(t) && fn(t);
3212
3219
  }
3213
- function Nr(t, e) {
3220
+ function Rr(t, e) {
3214
3221
  if (!(e === "constructor" && typeof t[e] == "function") && e != "__proto__")
3215
3222
  return t[e];
3216
3223
  }
@@ -3218,30 +3225,30 @@ function ym(t) {
3218
3225
  return Qd(t, Ta(t));
3219
3226
  }
3220
3227
  function bm(t, e, r, n, o, a, s) {
3221
- var i = Nr(t, r), c = Nr(e, r), l = s.get(c);
3228
+ var i = Rr(t, r), c = Rr(e, r), l = s.get(c);
3222
3229
  if (l) {
3223
- Rr(t, r, l);
3230
+ Tr(t, r, l);
3224
3231
  return;
3225
3232
  }
3226
3233
  var f = a ? a(i, c, r + "", t, e, s) : void 0, d = f === void 0;
3227
3234
  if (d) {
3228
- var p = Zt(c), v = !p && ja(c), g = !p && !v && xa(c);
3235
+ var p = Zt(c), v = !p && Ca(c), g = !p && !v && xa(c);
3229
3236
  f = c, p || v || g ? Zt(i) ? f = i : gm(i) ? f = Md(i) : v ? (d = !1, f = um(c, !0)) : g ? (d = !1, f = pm(c, !0)) : f = [] : te(c) || Cr(c) ? (f = i, Cr(i) ? f = ym(i) : (!Lt(i) || cn(i)) && (f = dm(c))) : d = !1;
3230
3237
  }
3231
- d && (s.set(c, f), o(f, c, n, a, s), s.delete(c)), Rr(t, r, f);
3238
+ d && (s.set(c, f), o(f, c, n, a, s), s.delete(c)), Tr(t, r, f);
3232
3239
  }
3233
- function Ba(t, e, r, n, o) {
3240
+ function Va(t, e, r, n, o) {
3234
3241
  t !== e && mm(e, function(a, s) {
3235
3242
  if (o || (o = new ue()), Lt(a))
3236
- bm(t, e, s, r, Ba, n, o);
3243
+ bm(t, e, s, r, Va, n, o);
3237
3244
  else {
3238
- var i = n ? n(Nr(t, s), a, s + "", t, e, o) : void 0;
3239
- i === void 0 && (i = a), Rr(t, s, i);
3245
+ var i = n ? n(Rr(t, s), a, s + "", t, e, o) : void 0;
3246
+ i === void 0 && (i = a), Tr(t, s, i);
3240
3247
  }
3241
3248
  }, Ta);
3242
3249
  }
3243
3250
  var _m = eh(function(t, e, r) {
3244
- Ba(t, e, r);
3251
+ Va(t, e, r);
3245
3252
  });
3246
3253
  const Sm = _m, og = function(t) {
3247
3254
  return !(!t || typeof t != "function" || !t.prototype);
@@ -3250,15 +3257,15 @@ function Om(t) {
3250
3257
  const e = t.prototype;
3251
3258
  return !!(e && e.isReactComponent);
3252
3259
  }
3253
- function wm(t) {
3260
+ function jm(t) {
3254
3261
  var n, o;
3255
3262
  const r = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.forward_ref") : 60112;
3256
3263
  return (t == null ? void 0 : t.$$typeof) === r || ((n = t == null ? void 0 : t.prototype) == null ? void 0 : n.isReactComponent) || ((o = t == null ? void 0 : t.prototype) == null ? void 0 : o.setState) || t._forwardRef;
3257
3264
  }
3258
- function Em(t) {
3259
- class e extends gi {
3265
+ function wm(t) {
3266
+ class e extends yi {
3260
3267
  render() {
3261
- return yi(t, this.props);
3268
+ return bi(t, this.props);
3262
3269
  }
3263
3270
  }
3264
3271
  return e.displayName = t.displayName, e;
@@ -3279,22 +3286,22 @@ const Wt = (t, e) => {
3279
3286
  const o = `[${t}] expression run failed`;
3280
3287
  return console.warn(o), null;
3281
3288
  }
3282
- }, jm = (t, e, r) => function(...o) {
3289
+ }, Em = (t, e, r) => function(...o) {
3290
+ let a;
3283
3291
  try {
3284
- const a = `
3285
- var args = Array.from(arguments);
3286
- function runTimeFunc() {
3287
- var f = ${t};
3288
- var __$$storeManager__ = args.pop();
3289
- var $$context = args.pop();
3290
- $$context.stateManager = __$$storeManager__.getStateSnapshot();
3291
- return f.apply(f, args)
3292
- }
3293
- return runTimeFunc();
3294
- `;
3295
- new Function(a)(...o, e, r);
3296
- } catch (a) {
3297
- console.warn(a);
3292
+ a = `
3293
+ var $$$__args__$$$ = Array.from(arguments);
3294
+ function $$_run_$$() {
3295
+ var $$_f_$$ = ${t || "function () {}"};
3296
+ var __$$storeManager__ = $$$__args__$$$.pop();
3297
+ var $$context = $$$__args__$$$.pop();
3298
+ $$context.stateManager = __$$storeManager__.getStateSnapshot();
3299
+ return $$_f_$$.apply($$_f_$$, $$$__args__$$$);
3300
+ }
3301
+ return $$_run_$$();
3302
+ `, new Function(a)(...o, e, r);
3303
+ } catch (s) {
3304
+ console.log(a), console.warn(s);
3298
3305
  }
3299
3306
  }, So = (t, e) => {
3300
3307
  const r = {};
@@ -3309,7 +3316,7 @@ const Wt = (t, e) => {
3309
3316
  let o = n.split("-");
3310
3317
  o.length >= 2 && (o = o.map((a, s) => s !== 0 ? em(a) : a)), e[o.join("")] = t[r];
3311
3318
  }), e;
3312
- }, wo = (t) => {
3319
+ }, jo = (t) => {
3313
3320
  let e = "";
3314
3321
  return Object.keys(t).forEach((r) => {
3315
3322
  e += `${r}:${t[r]};`;
@@ -3338,12 +3345,12 @@ const Wt = (t, e) => {
3338
3345
  const a = n.exec(t);
3339
3346
  a != null && a.length && r.push(a[1]);
3340
3347
  }), r;
3341
- }, Va = (t, e) => {
3348
+ }, Ga = (t, e) => {
3342
3349
  const r = {};
3343
3350
  return e.forEach((n) => {
3344
3351
  t[n.name] && (r[n.name] = t[n.name]);
3345
3352
  }), r;
3346
- }, sg = (t, e) => Va(t, e), cg = (t, e) => Va(t, e), ke = "DYNAMIC", xm = ["$$context", "$$nodeModel"], Eo = (t) => {
3353
+ }, sg = (t, e) => Ga(t, e), cg = (t, e) => Ga(t, e), ke = "DYNAMIC", $m = ["$$context", "$$nodeModel"], wo = (t) => {
3347
3354
  let e;
3348
3355
  const r = /* @__PURE__ */ new Set(), n = (c, l) => {
3349
3356
  const f = typeof c == "function" ? c(e) : c;
@@ -3357,13 +3364,13 @@ const Wt = (t, e) => {
3357
3364
  ), r.clear();
3358
3365
  } };
3359
3366
  return e = t(n, o, i), i;
3360
- }, Tm = (t) => t ? Eo(t) : Eo;
3361
- class Rm {
3367
+ }, xm = (t) => t ? wo(t) : wo;
3368
+ class Tm {
3362
3369
  constructor() {
3363
3370
  O(this, "storeMap", /* @__PURE__ */ new Map());
3364
3371
  }
3365
3372
  addStore(e, r) {
3366
- const n = Tm(r);
3373
+ const n = xm(r);
3367
3374
  return this.storeMap.set(e, n), n.name = e, n;
3368
3375
  }
3369
3376
  setStore(e, r) {
@@ -3407,7 +3414,7 @@ class Rm {
3407
3414
  this.storeMap = /* @__PURE__ */ new Map();
3408
3415
  }
3409
3416
  }
3410
- class Nm {
3417
+ class Rm {
3411
3418
  constructor() {
3412
3419
  O(this, "varSpace", /* @__PURE__ */ new Map());
3413
3420
  }
@@ -3430,13 +3437,13 @@ class Nm {
3430
3437
  }), e;
3431
3438
  }
3432
3439
  }
3433
- class $m {
3440
+ class Nm {
3434
3441
  constructor() {
3435
3442
  O(this, "renderMode", "normal");
3436
3443
  O(this, "components", {});
3437
- O(this, "storeManager", new Rm());
3444
+ O(this, "storeManager", new Tm());
3438
3445
  // 存储节点的变量或者方法
3439
- O(this, "variableManager", new Nm());
3446
+ O(this, "variableManager", new Rm());
3440
3447
  O(this, "runtimeComponentCache", /* @__PURE__ */ new Map());
3441
3448
  O(this, "onGetRef");
3442
3449
  O(this, "onGetComponent");
@@ -3449,7 +3456,7 @@ class $m {
3449
3456
  var o;
3450
3457
  const r = e.value.componentName;
3451
3458
  let n = this.components[r] || (() => `Component [${r}] not found`);
3452
- return wm(n) || (n = Em(n), this.components[r] = n), this.onGetComponent && (n = (o = this.onGetComponent) == null ? void 0 : o.call(this, n, e)), n;
3459
+ return jm(n) || (n = wm(n), this.components[r] = n), this.onGetComponent && (n = (o = this.onGetComponent) == null ? void 0 : o.call(this, n, e)), n;
3453
3460
  }
3454
3461
  getContext(e = {}, r) {
3455
3462
  let n = e;
@@ -3496,9 +3503,9 @@ class $m {
3496
3503
  const p = this.getComponent(f), v = this.convertModelToComponent(p, f), g = i.params || [];
3497
3504
  return {
3498
3505
  component: (...C) => {
3499
- const w = So(C, g), F = this.getContext(
3506
+ const j = So(C, g), F = this.getContext(
3500
3507
  {
3501
- params: w
3508
+ params: j
3502
3509
  },
3503
3510
  r
3504
3511
  );
@@ -3512,17 +3519,17 @@ class $m {
3512
3519
  };
3513
3520
  if (Array.isArray(c)) {
3514
3521
  const f = c == null ? void 0 : c.map((d) => l(d));
3515
- return (...d) => f.map((p) => Om(p.component) ? R.createElement(p.component, {
3522
+ return (...d) => f.map((p) => Om(p.component) ? T.createElement(p.component, {
3516
3523
  $$context: r,
3517
3524
  key: p.key
3518
3525
  }) : p.component(...d));
3519
3526
  } else
3520
3527
  return l(c).component;
3521
3528
  } else {
3522
- if (Rt(s))
3529
+ if (Tt(s))
3523
3530
  return Wt(s.value, r || {});
3524
3531
  if (Bp(s))
3525
- return jm(s.value, r, this.storeManager);
3532
+ return Em(s.value, r, this.storeManager);
3526
3533
  if (te(s)) {
3527
3534
  let i = s;
3528
3535
  lr(s) && (i = s.value);
@@ -3555,7 +3562,7 @@ class $m {
3555
3562
  }
3556
3563
  convertModelToComponent(e, r) {
3557
3564
  const n = this;
3558
- class o extends R.Component {
3565
+ class o extends T.Component {
3559
3566
  constructor(i) {
3560
3567
  super(i);
3561
3568
  O(this, "_CONDITION", !0);
@@ -3593,11 +3600,11 @@ class $m {
3593
3600
  let p = `.${c.class}`;
3594
3601
  if (f.state !== "normal" && (p = `${p}:${f.state}`), Object.keys(f.style).length !== 0) {
3595
3602
  const g = this.getStyleDomById(d);
3596
- g.innerText = `${p} { ${wo(f.style)} }`, i == null || i.appendChild(g);
3603
+ g.innerText = `${p} { ${jo(f.style)} }`, i == null || i.appendChild(g);
3597
3604
  }
3598
3605
  (v = f.media) != null && v.length && f.media.forEach((g) => {
3599
3606
  const _ = `${d}_${g.type}_${g.value}`, S = this.getStyleDomById(_);
3600
- S.media = `screen and (${g.type}:${g.value}px)`, S.innerHTML = `${p} { ${wo(g.style)} }`, i == null || i.appendChild(S);
3607
+ S.media = `screen and (${g.type}:${g.value}px)`, S.innerHTML = `${p} { ${jo(g.style)} }`, i == null || i.appendChild(S);
3601
3608
  });
3602
3609
  });
3603
3610
  });
@@ -3611,7 +3618,7 @@ class $m {
3611
3618
  O(this, "rebuildNode", () => {
3612
3619
  this.storeListenDisposeList.forEach((i) => i()), this.removeMediaCSS(), this.connectStore(), this.addMediaCSS(), this.forceUpdate();
3613
3620
  });
3614
- this.targetComponentRef = R.createRef(), this.state = r.value.state || {};
3621
+ this.targetComponentRef = T.createRef(), this.state = r.value.state || {};
3615
3622
  const c = r.value.nodeName || r.id;
3616
3623
  this.nodeName = c;
3617
3624
  const l = n.storeManager.getStore(c);
@@ -3631,12 +3638,12 @@ class $m {
3631
3638
  }, n.variableManager.add(c, this.variableSpace));
3632
3639
  }
3633
3640
  connectStore() {
3634
- const i = n.collectSpecialProps(r.props, (p) => !!Rt(p)), c = n.collectSpecialProps(
3641
+ const i = n.collectSpecialProps(r.props, (p) => !!Tt(p)), c = n.collectSpecialProps(
3635
3642
  {
3636
3643
  css: r.value.css,
3637
3644
  class: r.value.classNames
3638
3645
  },
3639
- (p) => !!Rt(p)
3646
+ (p) => !!Tt(p)
3640
3647
  );
3641
3648
  let l = [];
3642
3649
  [...i, ...c].map((p) => {
@@ -3710,7 +3717,7 @@ class $m {
3710
3717
  if (S && S.open) {
3711
3718
  this.targetComponentRef.current = [];
3712
3719
  let U = S.data || [];
3713
- if (Rt(S.data)) {
3720
+ if (Tt(S.data)) {
3714
3721
  const W = S.data;
3715
3722
  U = Wt(W.value, p || {});
3716
3723
  }
@@ -3727,9 +3734,9 @@ class $m {
3727
3734
  ), et = n.transformProps(f, {
3728
3735
  $$context: St
3729
3736
  }), Pe = ((Me = r.value.classNames) == null ? void 0 : Me.map((J) => {
3730
- var wt;
3737
+ var jt;
3731
3738
  const Ot = J.name;
3732
- return (Rt(J.status) ? Wt(String(((wt = J.status) == null ? void 0 : wt.value) || ""), St) : !1) ? Ot : "";
3739
+ return (Tt(J.status) ? Wt(String(((jt = J.status) == null ? void 0 : jt.value) || ""), St) : !1) ? Ot : "";
3733
3740
  })) || [];
3734
3741
  let Bt = `${et.className ?? ""} ${Pe.join(" ")}`.trim();
3735
3742
  r.value.css && (Bt = `${r.value.css.class} ${Bt}`.trim()), et.className = Bt;
@@ -3737,21 +3744,21 @@ class $m {
3737
3744
  $$context: St
3738
3745
  });
3739
3746
  r.value.style && (et.style = Oo(Ae || {}));
3740
- const { children: xt } = et;
3747
+ const { children: $t } = et;
3741
3748
  let le = [];
3742
- if (xt !== void 0)
3743
- delete et.children, le = Array.isArray(xt) ? xt : [xt];
3749
+ if ($t !== void 0)
3750
+ delete et.children, le = Array.isArray($t) ? $t : [$t];
3744
3751
  else {
3745
3752
  const J = [];
3746
- r.value.children.forEach((Tt, wt) => {
3747
- const Vt = n.buildComponent(Tt, {
3753
+ r.value.children.forEach((xt, jt) => {
3754
+ const Vt = n.buildComponent(xt, {
3748
3755
  $$context: St,
3749
- idx: wt
3756
+ idx: jt
3750
3757
  });
3751
3758
  J.push(Vt);
3752
3759
  }), le = J;
3753
3760
  }
3754
- if (et.key = `${et.key}-${tt}`, Rt(S.key)) {
3761
+ if (et.key = `${et.key}-${tt}`, Tt(S.key)) {
3755
3762
  const J = S.key, Ot = Wt(J.value, St || {});
3756
3763
  et.key += `-${Ot}`;
3757
3764
  }
@@ -3760,12 +3767,12 @@ class $m {
3760
3767
  }, n.render(e, et, ...le);
3761
3768
  }), C;
3762
3769
  }
3763
- const w = n.transformProps(f, {
3770
+ const j = n.transformProps(f, {
3764
3771
  $$context: p
3765
- }), { children: F } = w;
3772
+ }), { children: F } = j;
3766
3773
  let D = [];
3767
3774
  if (F !== void 0)
3768
- delete w.children, D = Array.isArray(F) ? F : [F];
3775
+ delete j.children, D = Array.isArray(F) ? F : [F];
3769
3776
  else {
3770
3777
  const U = [];
3771
3778
  r.value.children.forEach((tt, nt) => {
@@ -3776,27 +3783,27 @@ class $m {
3776
3783
  U.push(kt);
3777
3784
  }), D = U;
3778
3785
  }
3779
- w.ref = this.targetComponentRef;
3786
+ j.ref = this.targetComponentRef;
3780
3787
  const Y = ((Ft = r.value.classNames) == null ? void 0 : Ft.map((U) => {
3781
3788
  var nt;
3782
3789
  const W = U.name;
3783
- return (Rt(U.status) ? Wt(((nt = U.status) == null ? void 0 : nt.value) || "", p) : !1) ? W : "";
3790
+ return (Tt(U.status) ? Wt(((nt = U.status) == null ? void 0 : nt.value) || "", p) : !1) ? W : "";
3784
3791
  })) || [];
3785
- let Q = `${w.className ?? ""} ${Y.join(" ")}`.trim();
3786
- r.value.css && (Q = `${r.value.css.class} ${Q}`.trim()), w.className = Q;
3792
+ let Q = `${j.className ?? ""} ${Y.join(" ")}`.trim();
3793
+ r.value.css && (Q = `${r.value.css.class} ${Q}`.trim()), j.className = Q;
3787
3794
  const Ct = n.transformProps(r.value.style, {
3788
3795
  $$context: p
3789
3796
  });
3790
- r.value.style && (w.style = Oo(Ct || {}));
3791
- let $ = r.value.condition ?? !0;
3792
- typeof $ != "boolean" && ($ = Wt($.value, p || {}));
3797
+ r.value.style && (j.style = Oo(Ct || {}));
3798
+ let N = r.value.condition ?? !0;
3799
+ typeof N != "boolean" && (N = Wt(N.value, p || {}));
3793
3800
  let st = {
3794
- condition: $,
3795
- props: w
3801
+ condition: N,
3802
+ props: j
3796
3803
  };
3797
3804
  n.processNodeConfigHook && (st = n.processNodeConfigHook(st, r));
3798
3805
  const vt = n.render(e, st.props, ...D);
3799
- return this._CONDITION = st.condition, st.condition ? vt : R.createElement(
3806
+ return this._CONDITION = st.condition, st.condition ? vt : T.createElement(
3800
3807
  "div",
3801
3808
  {
3802
3809
  style: {
@@ -3836,15 +3843,15 @@ class $m {
3836
3843
  }
3837
3844
  // 真实渲染
3838
3845
  render(e, r = {}, ...n) {
3839
- return typeof e == "string" || typeof e == "number" ? String(e) : (xm.forEach((a) => {
3846
+ return typeof e == "string" || typeof e == "number" ? String(e) : ($m.forEach((a) => {
3840
3847
  a in r && e.__CP_TYPE__ !== ke && delete r[a];
3841
- }), R.createElement(e, r, ...n));
3848
+ }), T.createElement(e, r, ...n));
3842
3849
  }
3843
3850
  clear() {
3844
3851
  this.runtimeComponentCache.clear(), this.storeManager.destroy();
3845
3852
  }
3846
3853
  }
3847
- const ug = Ei(new $m()), Pm = [
3854
+ const ug = wi(new Nm()), Pm = [
3848
3855
  "a",
3849
3856
  "abbr",
3850
3857
  "acronym",
@@ -3998,7 +4005,7 @@ var Am = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3998
4005
  function Mm(t) {
3999
4006
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
4000
4007
  }
4001
- var $r = { exports: {} }, he = {};
4008
+ var Nr = { exports: {} }, he = {};
4002
4009
  /**
4003
4010
  * @license React
4004
4011
  * react-jsx-runtime.production.min.js
@@ -4008,12 +4015,12 @@ var $r = { exports: {} }, he = {};
4008
4015
  * This source code is licensed under the MIT license found in the
4009
4016
  * LICENSE file in the root directory of this source tree.
4010
4017
  */
4011
- var jo;
4018
+ var Eo;
4012
4019
  function Dm() {
4013
- if (jo)
4020
+ if (Eo)
4014
4021
  return he;
4015
- jo = 1;
4016
- var t = R, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
4022
+ Eo = 1;
4023
+ var t = T, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
4017
4024
  function s(i, c, l) {
4018
4025
  var f, d = {}, p = null, v = null;
4019
4026
  l !== void 0 && (p = "" + l), c.key !== void 0 && (p = "" + c.key), c.ref !== void 0 && (v = c.ref);
@@ -4039,7 +4046,7 @@ var ve = {};
4039
4046
  var Co;
4040
4047
  function Im() {
4041
4048
  return Co || (Co = 1, process.env.NODE_ENV !== "production" && function() {
4042
- var t = R, e = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), g = Symbol.iterator, _ = "@@iterator";
4049
+ var t = T, e = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), g = Symbol.iterator, _ = "@@iterator";
4043
4050
  function S(u) {
4044
4051
  if (u === null || typeof u != "object")
4045
4052
  return null;
@@ -4047,38 +4054,38 @@ function Im() {
4047
4054
  return typeof h == "function" ? h : null;
4048
4055
  }
4049
4056
  var C = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
4050
- function w(u) {
4057
+ function j(u) {
4051
4058
  {
4052
- for (var h = arguments.length, m = new Array(h > 1 ? h - 1 : 0), E = 1; E < h; E++)
4053
- m[E - 1] = arguments[E];
4059
+ for (var h = arguments.length, m = new Array(h > 1 ? h - 1 : 0), w = 1; w < h; w++)
4060
+ m[w - 1] = arguments[w];
4054
4061
  F("error", u, m);
4055
4062
  }
4056
4063
  }
4057
4064
  function F(u, h, m) {
4058
4065
  {
4059
- var E = C.ReactDebugCurrentFrame, N = E.getStackAddendum();
4060
- N !== "" && (h += "%s", m = m.concat([N]));
4061
- var A = m.map(function(T) {
4062
- return String(T);
4066
+ var w = C.ReactDebugCurrentFrame, R = w.getStackAddendum();
4067
+ R !== "" && (h += "%s", m = m.concat([R]));
4068
+ var A = m.map(function(x) {
4069
+ return String(x);
4063
4070
  });
4064
4071
  A.unshift("Warning: " + h), Function.prototype.apply.call(console[u], console, A);
4065
4072
  }
4066
4073
  }
4067
- var D = !1, Y = !1, Q = !1, Ct = !1, $ = !1, st;
4074
+ var D = !1, Y = !1, Q = !1, Ct = !1, N = !1, st;
4068
4075
  st = Symbol.for("react.module.reference");
4069
4076
  function vt(u) {
4070
- return !!(typeof u == "string" || typeof u == "function" || u === n || u === a || $ || u === o || u === l || u === f || Ct || u === v || D || Y || Q || typeof u == "object" && u !== null && (u.$$typeof === p || u.$$typeof === d || u.$$typeof === s || u.$$typeof === i || u.$$typeof === c || // This needs to include all possible module reference object
4077
+ return !!(typeof u == "string" || typeof u == "function" || u === n || u === a || N || u === o || u === l || u === f || Ct || u === v || D || Y || Q || typeof u == "object" && u !== null && (u.$$typeof === p || u.$$typeof === d || u.$$typeof === s || u.$$typeof === i || u.$$typeof === c || // This needs to include all possible module reference object
4071
4078
  // types supported by any Flight configuration anywhere since
4072
4079
  // we don't know which Flight build this will end up being used
4073
4080
  // with.
4074
4081
  u.$$typeof === st || u.getModuleId !== void 0));
4075
4082
  }
4076
4083
  function Ft(u, h, m) {
4077
- var E = u.displayName;
4078
- if (E)
4079
- return E;
4080
- var N = h.displayName || h.name || "";
4081
- return N !== "" ? m + "(" + N + ")" : m;
4084
+ var w = u.displayName;
4085
+ if (w)
4086
+ return w;
4087
+ var R = h.displayName || h.name || "";
4088
+ return R !== "" ? m + "(" + R + ")" : m;
4082
4089
  }
4083
4090
  function U(u) {
4084
4091
  return u.displayName || "Context";
@@ -4086,7 +4093,7 @@ function Im() {
4086
4093
  function W(u) {
4087
4094
  if (u == null)
4088
4095
  return null;
4089
- if (typeof u.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof u == "function")
4096
+ if (typeof u.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof u == "function")
4090
4097
  return u.displayName || u.name || null;
4091
4098
  if (typeof u == "string")
4092
4099
  return u;
@@ -4115,12 +4122,12 @@ function Im() {
4115
4122
  case c:
4116
4123
  return Ft(u, u.render, "ForwardRef");
4117
4124
  case d:
4118
- var E = u.displayName || null;
4119
- return E !== null ? E : W(u.type) || "Memo";
4125
+ var w = u.displayName || null;
4126
+ return w !== null ? w : W(u.type) || "Memo";
4120
4127
  case p: {
4121
- var N = u, A = N._payload, T = N._init;
4128
+ var R = u, A = R._payload, x = R._init;
4122
4129
  try {
4123
- return W(T(A));
4130
+ return W(x(A));
4124
4131
  } catch {
4125
4132
  return null;
4126
4133
  }
@@ -4129,9 +4136,9 @@ function Im() {
4129
4136
  return null;
4130
4137
  }
4131
4138
  var tt = Object.assign, nt = 0, kt, Ut, St, et, Pe, Bt, Ae;
4132
- function xt() {
4139
+ function $t() {
4133
4140
  }
4134
- xt.__reactDisabledLog = !0;
4141
+ $t.__reactDisabledLog = !0;
4135
4142
  function le() {
4136
4143
  {
4137
4144
  if (nt === 0) {
@@ -4139,7 +4146,7 @@ function Im() {
4139
4146
  var u = {
4140
4147
  configurable: !0,
4141
4148
  enumerable: !0,
4142
- value: xt,
4149
+ value: $t,
4143
4150
  writable: !0
4144
4151
  };
4145
4152
  Object.defineProperties(console, {
@@ -4187,87 +4194,87 @@ function Im() {
4187
4194
  })
4188
4195
  });
4189
4196
  }
4190
- nt < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
4197
+ nt < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
4191
4198
  }
4192
4199
  }
4193
4200
  var J = C.ReactCurrentDispatcher, Ot;
4194
- function Tt(u, h, m) {
4201
+ function xt(u, h, m) {
4195
4202
  {
4196
4203
  if (Ot === void 0)
4197
4204
  try {
4198
4205
  throw Error();
4199
- } catch (N) {
4200
- var E = N.stack.trim().match(/\n( *(at )?)/);
4201
- Ot = E && E[1] || "";
4206
+ } catch (R) {
4207
+ var w = R.stack.trim().match(/\n( *(at )?)/);
4208
+ Ot = w && w[1] || "";
4202
4209
  }
4203
4210
  return `
4204
4211
  ` + Ot + u;
4205
4212
  }
4206
4213
  }
4207
- var wt = !1, Vt;
4214
+ var jt = !1, Vt;
4208
4215
  {
4209
- var Ha = typeof WeakMap == "function" ? WeakMap : Map;
4210
- Vt = new Ha();
4216
+ var Ya = typeof WeakMap == "function" ? WeakMap : Map;
4217
+ Vt = new Ya();
4211
4218
  }
4212
4219
  function pn(u, h) {
4213
- if (!u || wt)
4220
+ if (!u || jt)
4214
4221
  return "";
4215
4222
  {
4216
4223
  var m = Vt.get(u);
4217
4224
  if (m !== void 0)
4218
4225
  return m;
4219
4226
  }
4220
- var E;
4221
- wt = !0;
4222
- var N = Error.prepareStackTrace;
4227
+ var w;
4228
+ jt = !0;
4229
+ var R = Error.prepareStackTrace;
4223
4230
  Error.prepareStackTrace = void 0;
4224
4231
  var A;
4225
4232
  A = J.current, J.current = null, le();
4226
4233
  try {
4227
4234
  if (h) {
4228
- var T = function() {
4235
+ var x = function() {
4229
4236
  throw Error();
4230
4237
  };
4231
- if (Object.defineProperty(T.prototype, "props", {
4238
+ if (Object.defineProperty(x.prototype, "props", {
4232
4239
  set: function() {
4233
4240
  throw Error();
4234
4241
  }
4235
4242
  }), typeof Reflect == "object" && Reflect.construct) {
4236
4243
  try {
4237
- Reflect.construct(T, []);
4244
+ Reflect.construct(x, []);
4238
4245
  } catch (mt) {
4239
- E = mt;
4246
+ w = mt;
4240
4247
  }
4241
- Reflect.construct(u, [], T);
4248
+ Reflect.construct(u, [], x);
4242
4249
  } else {
4243
4250
  try {
4244
- T.call();
4251
+ x.call();
4245
4252
  } catch (mt) {
4246
- E = mt;
4253
+ w = mt;
4247
4254
  }
4248
- u.call(T.prototype);
4255
+ u.call(x.prototype);
4249
4256
  }
4250
4257
  } else {
4251
4258
  try {
4252
4259
  throw Error();
4253
4260
  } catch (mt) {
4254
- E = mt;
4261
+ w = mt;
4255
4262
  }
4256
4263
  u();
4257
4264
  }
4258
4265
  } catch (mt) {
4259
- if (mt && E && typeof mt.stack == "string") {
4260
- for (var x = mt.stack.split(`
4261
- `), q = E.stack.split(`
4262
- `), V = x.length - 1, H = q.length - 1; V >= 1 && H >= 0 && x[V] !== q[H]; )
4266
+ if (mt && w && typeof mt.stack == "string") {
4267
+ for (var $ = mt.stack.split(`
4268
+ `), q = w.stack.split(`
4269
+ `), V = $.length - 1, H = q.length - 1; V >= 1 && H >= 0 && $[V] !== q[H]; )
4263
4270
  H--;
4264
4271
  for (; V >= 1 && H >= 0; V--, H--)
4265
- if (x[V] !== q[H]) {
4272
+ if ($[V] !== q[H]) {
4266
4273
  if (V !== 1 || H !== 1)
4267
4274
  do
4268
- if (V--, H--, H < 0 || x[V] !== q[H]) {
4275
+ if (V--, H--, H < 0 || $[V] !== q[H]) {
4269
4276
  var ot = `
4270
- ` + x[V].replace(" at new ", " at ");
4277
+ ` + $[V].replace(" at new ", " at ");
4271
4278
  return u.displayName && ot.includes("<anonymous>") && (ot = ot.replace("<anonymous>", u.displayName)), typeof u == "function" && Vt.set(u, ot), ot;
4272
4279
  }
4273
4280
  while (V >= 1 && H >= 0);
@@ -4275,15 +4282,15 @@ function Im() {
4275
4282
  }
4276
4283
  }
4277
4284
  } finally {
4278
- wt = !1, J.current = A, Me(), Error.prepareStackTrace = N;
4285
+ jt = !1, J.current = A, Me(), Error.prepareStackTrace = R;
4279
4286
  }
4280
- var zt = u ? u.displayName || u.name : "", jn = zt ? Tt(zt) : "";
4281
- return typeof u == "function" && Vt.set(u, jn), jn;
4287
+ var zt = u ? u.displayName || u.name : "", En = zt ? xt(zt) : "";
4288
+ return typeof u == "function" && Vt.set(u, En), En;
4282
4289
  }
4283
- function Ya(u, h, m) {
4290
+ function Ja(u, h, m) {
4284
4291
  return pn(u, !1);
4285
4292
  }
4286
- function Ja(u) {
4293
+ function qa(u) {
4287
4294
  var h = u.prototype;
4288
4295
  return !!(h && h.isReactComponent);
4289
4296
  }
@@ -4291,25 +4298,25 @@ function Im() {
4291
4298
  if (u == null)
4292
4299
  return "";
4293
4300
  if (typeof u == "function")
4294
- return pn(u, Ja(u));
4301
+ return pn(u, qa(u));
4295
4302
  if (typeof u == "string")
4296
- return Tt(u);
4303
+ return xt(u);
4297
4304
  switch (u) {
4298
4305
  case l:
4299
- return Tt("Suspense");
4306
+ return xt("Suspense");
4300
4307
  case f:
4301
- return Tt("SuspenseList");
4308
+ return xt("SuspenseList");
4302
4309
  }
4303
4310
  if (typeof u == "object")
4304
4311
  switch (u.$$typeof) {
4305
4312
  case c:
4306
- return Ya(u.render);
4313
+ return Ja(u.render);
4307
4314
  case d:
4308
4315
  return De(u.type, h, m);
4309
4316
  case p: {
4310
- var E = u, N = E._payload, A = E._init;
4317
+ var w = u, R = w._payload, A = w._init;
4311
4318
  try {
4312
- return De(A(N), h, m);
4319
+ return De(A(R), h, m);
4313
4320
  } catch {
4314
4321
  }
4315
4322
  }
@@ -4324,36 +4331,36 @@ function Im() {
4324
4331
  } else
4325
4332
  hn.setExtraStackFrame(null);
4326
4333
  }
4327
- function qa(u, h, m, E, N) {
4334
+ function Qa(u, h, m, w, R) {
4328
4335
  {
4329
4336
  var A = Function.call.bind(Ie);
4330
- for (var T in u)
4331
- if (A(u, T)) {
4332
- var x = void 0;
4337
+ for (var x in u)
4338
+ if (A(u, x)) {
4339
+ var $ = void 0;
4333
4340
  try {
4334
- if (typeof u[T] != "function") {
4335
- var q = Error((E || "React class") + ": " + m + " type `" + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof u[T] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
4341
+ if (typeof u[x] != "function") {
4342
+ var q = Error((w || "React class") + ": " + m + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof u[x] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
4336
4343
  throw q.name = "Invariant Violation", q;
4337
4344
  }
4338
- x = u[T](h, T, E, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
4345
+ $ = u[x](h, x, w, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
4339
4346
  } catch (V) {
4340
- x = V;
4347
+ $ = V;
4341
4348
  }
4342
- x && !(x instanceof Error) && (Le(N), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", E || "React class", m, T, typeof x), Le(null)), x instanceof Error && !(x.message in dn) && (dn[x.message] = !0, Le(N), w("Failed %s type: %s", m, x.message), Le(null));
4349
+ $ && !($ instanceof Error) && (Le(R), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", m, x, typeof $), Le(null)), $ instanceof Error && !($.message in dn) && (dn[$.message] = !0, Le(R), j("Failed %s type: %s", m, $.message), Le(null));
4343
4350
  }
4344
4351
  }
4345
4352
  }
4346
- var Qa = Array.isArray;
4353
+ var Ka = Array.isArray;
4347
4354
  function er(u) {
4348
- return Qa(u);
4355
+ return Ka(u);
4349
4356
  }
4350
- function Ka(u) {
4357
+ function Xa(u) {
4351
4358
  {
4352
4359
  var h = typeof Symbol == "function" && Symbol.toStringTag, m = h && u[Symbol.toStringTag] || u.constructor.name || "Object";
4353
4360
  return m;
4354
4361
  }
4355
4362
  }
4356
- function Xa(u) {
4363
+ function Za(u) {
4357
4364
  try {
4358
4365
  return vn(u), !1;
4359
4366
  } catch {
@@ -4364,17 +4371,17 @@ function Im() {
4364
4371
  return "" + u;
4365
4372
  }
4366
4373
  function mn(u) {
4367
- if (Xa(u))
4368
- return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ka(u)), vn(u);
4374
+ if (Za(u))
4375
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Xa(u)), vn(u);
4369
4376
  }
4370
- var fe = C.ReactCurrentOwner, Za = {
4377
+ var fe = C.ReactCurrentOwner, ti = {
4371
4378
  key: !0,
4372
4379
  ref: !0,
4373
4380
  __self: !0,
4374
4381
  __source: !0
4375
4382
  }, gn, yn, rr;
4376
4383
  rr = {};
4377
- function ti(u) {
4384
+ function ei(u) {
4378
4385
  if (Ie.call(u, "ref")) {
4379
4386
  var h = Object.getOwnPropertyDescriptor(u, "ref").get;
4380
4387
  if (h && h.isReactWarning)
@@ -4382,7 +4389,7 @@ function Im() {
4382
4389
  }
4383
4390
  return u.ref !== void 0;
4384
4391
  }
4385
- function ei(u) {
4392
+ function ri(u) {
4386
4393
  if (Ie.call(u, "key")) {
4387
4394
  var h = Object.getOwnPropertyDescriptor(u, "key").get;
4388
4395
  if (h && h.isReactWarning)
@@ -4390,16 +4397,16 @@ function Im() {
4390
4397
  }
4391
4398
  return u.key !== void 0;
4392
4399
  }
4393
- function ri(u, h) {
4400
+ function ni(u, h) {
4394
4401
  if (typeof u.ref == "string" && fe.current && h && fe.current.stateNode !== h) {
4395
4402
  var m = W(fe.current.type);
4396
- rr[m] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W(fe.current.type), u.ref), rr[m] = !0);
4403
+ rr[m] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W(fe.current.type), u.ref), rr[m] = !0);
4397
4404
  }
4398
4405
  }
4399
- function ni(u, h) {
4406
+ function oi(u, h) {
4400
4407
  {
4401
4408
  var m = function() {
4402
- gn || (gn = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
4409
+ gn || (gn = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
4403
4410
  };
4404
4411
  m.isReactWarning = !0, Object.defineProperty(u, "key", {
4405
4412
  get: m,
@@ -4407,10 +4414,10 @@ function Im() {
4407
4414
  });
4408
4415
  }
4409
4416
  }
4410
- function oi(u, h) {
4417
+ function ai(u, h) {
4411
4418
  {
4412
4419
  var m = function() {
4413
- yn || (yn = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
4420
+ yn || (yn = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
4414
4421
  };
4415
4422
  m.isReactWarning = !0, Object.defineProperty(u, "ref", {
4416
4423
  get: m,
@@ -4418,51 +4425,51 @@ function Im() {
4418
4425
  });
4419
4426
  }
4420
4427
  }
4421
- var ai = function(u, h, m, E, N, A, T) {
4422
- var x = {
4428
+ var ii = function(u, h, m, w, R, A, x) {
4429
+ var $ = {
4423
4430
  // This tag allows us to uniquely identify this as a React Element
4424
4431
  $$typeof: e,
4425
4432
  // Built-in properties that belong on the element
4426
4433
  type: u,
4427
4434
  key: h,
4428
4435
  ref: m,
4429
- props: T,
4436
+ props: x,
4430
4437
  // Record the component responsible for creating this element.
4431
4438
  _owner: A
4432
4439
  };
4433
- return x._store = {}, Object.defineProperty(x._store, "validated", {
4440
+ return $._store = {}, Object.defineProperty($._store, "validated", {
4434
4441
  configurable: !1,
4435
4442
  enumerable: !1,
4436
4443
  writable: !0,
4437
4444
  value: !1
4438
- }), Object.defineProperty(x, "_self", {
4445
+ }), Object.defineProperty($, "_self", {
4439
4446
  configurable: !1,
4440
4447
  enumerable: !1,
4441
4448
  writable: !1,
4442
- value: E
4443
- }), Object.defineProperty(x, "_source", {
4449
+ value: w
4450
+ }), Object.defineProperty($, "_source", {
4444
4451
  configurable: !1,
4445
4452
  enumerable: !1,
4446
4453
  writable: !1,
4447
- value: N
4448
- }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
4454
+ value: R
4455
+ }), Object.freeze && (Object.freeze($.props), Object.freeze($)), $;
4449
4456
  };
4450
- function ii(u, h, m, E, N) {
4457
+ function si(u, h, m, w, R) {
4451
4458
  {
4452
- var A, T = {}, x = null, q = null;
4453
- m !== void 0 && (mn(m), x = "" + m), ei(h) && (mn(h.key), x = "" + h.key), ti(h) && (q = h.ref, ri(h, N));
4459
+ var A, x = {}, $ = null, q = null;
4460
+ m !== void 0 && (mn(m), $ = "" + m), ri(h) && (mn(h.key), $ = "" + h.key), ei(h) && (q = h.ref, ni(h, R));
4454
4461
  for (A in h)
4455
- Ie.call(h, A) && !Za.hasOwnProperty(A) && (T[A] = h[A]);
4462
+ Ie.call(h, A) && !ti.hasOwnProperty(A) && (x[A] = h[A]);
4456
4463
  if (u && u.defaultProps) {
4457
4464
  var V = u.defaultProps;
4458
4465
  for (A in V)
4459
- T[A] === void 0 && (T[A] = V[A]);
4466
+ x[A] === void 0 && (x[A] = V[A]);
4460
4467
  }
4461
- if (x || q) {
4468
+ if ($ || q) {
4462
4469
  var H = typeof u == "function" ? u.displayName || u.name || "Unknown" : u;
4463
- x && ni(T, H), q && oi(T, H);
4470
+ $ && oi(x, H), q && ai(x, H);
4464
4471
  }
4465
- return ai(u, x, q, N, E, fe.current, T);
4472
+ return ii(u, $, q, R, w, fe.current, x);
4466
4473
  }
4467
4474
  }
4468
4475
  var nr = C.ReactCurrentOwner, bn = C.ReactDebugCurrentFrame;
@@ -4490,7 +4497,7 @@ Check the render method of \`` + u + "`.";
4490
4497
  return "";
4491
4498
  }
4492
4499
  }
4493
- function si(u) {
4500
+ function ci(u) {
4494
4501
  {
4495
4502
  if (u !== void 0) {
4496
4503
  var h = u.fileName.replace(/^.*[\\\/]/, ""), m = u.lineNumber;
@@ -4502,7 +4509,7 @@ Check your code at ` + h + ":" + m + ".";
4502
4509
  }
4503
4510
  }
4504
4511
  var Sn = {};
4505
- function ci(u) {
4512
+ function ui(u) {
4506
4513
  {
4507
4514
  var h = _n();
4508
4515
  if (!h) {
@@ -4519,34 +4526,34 @@ Check the top-level render call using <` + m + ">.");
4519
4526
  if (!u._store || u._store.validated || u.key != null)
4520
4527
  return;
4521
4528
  u._store.validated = !0;
4522
- var m = ci(h);
4529
+ var m = ui(h);
4523
4530
  if (Sn[m])
4524
4531
  return;
4525
4532
  Sn[m] = !0;
4526
- var E = "";
4527
- u && u._owner && u._owner !== nr.current && (E = " It was passed a child from " + W(u._owner.type) + "."), Gt(u), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, E), Gt(null);
4533
+ var w = "";
4534
+ u && u._owner && u._owner !== nr.current && (w = " It was passed a child from " + W(u._owner.type) + "."), Gt(u), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, w), Gt(null);
4528
4535
  }
4529
4536
  }
4530
- function wn(u, h) {
4537
+ function jn(u, h) {
4531
4538
  {
4532
4539
  if (typeof u != "object")
4533
4540
  return;
4534
4541
  if (er(u))
4535
4542
  for (var m = 0; m < u.length; m++) {
4536
- var E = u[m];
4537
- ar(E) && On(E, h);
4543
+ var w = u[m];
4544
+ ar(w) && On(w, h);
4538
4545
  }
4539
4546
  else if (ar(u))
4540
4547
  u._store && (u._store.validated = !0);
4541
4548
  else if (u) {
4542
- var N = S(u);
4543
- if (typeof N == "function" && N !== u.entries)
4544
- for (var A = N.call(u), T; !(T = A.next()).done; )
4545
- ar(T.value) && On(T.value, h);
4549
+ var R = S(u);
4550
+ if (typeof R == "function" && R !== u.entries)
4551
+ for (var A = R.call(u), x; !(x = A.next()).done; )
4552
+ ar(x.value) && On(x.value, h);
4546
4553
  }
4547
4554
  }
4548
4555
  }
4549
- function ui(u) {
4556
+ function li(u) {
4550
4557
  {
4551
4558
  var h = u.type;
4552
4559
  if (h == null || typeof h == "string")
@@ -4561,82 +4568,82 @@ Check the top-level render call using <` + m + ">.");
4561
4568
  else
4562
4569
  return;
4563
4570
  if (m) {
4564
- var E = W(h);
4565
- qa(m, u.props, "prop", E, u);
4571
+ var w = W(h);
4572
+ Qa(m, u.props, "prop", w, u);
4566
4573
  } else if (h.PropTypes !== void 0 && !or) {
4567
4574
  or = !0;
4568
- var N = W(h);
4569
- w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", N || "Unknown");
4575
+ var R = W(h);
4576
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
4570
4577
  }
4571
- typeof h.getDefaultProps == "function" && !h.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
4578
+ typeof h.getDefaultProps == "function" && !h.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
4572
4579
  }
4573
4580
  }
4574
- function li(u) {
4581
+ function fi(u) {
4575
4582
  {
4576
4583
  for (var h = Object.keys(u.props), m = 0; m < h.length; m++) {
4577
- var E = h[m];
4578
- if (E !== "children" && E !== "key") {
4579
- Gt(u), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", E), Gt(null);
4584
+ var w = h[m];
4585
+ if (w !== "children" && w !== "key") {
4586
+ Gt(u), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), Gt(null);
4580
4587
  break;
4581
4588
  }
4582
4589
  }
4583
- u.ref !== null && (Gt(u), w("Invalid attribute `ref` supplied to `React.Fragment`."), Gt(null));
4590
+ u.ref !== null && (Gt(u), j("Invalid attribute `ref` supplied to `React.Fragment`."), Gt(null));
4584
4591
  }
4585
4592
  }
4586
- function En(u, h, m, E, N, A) {
4593
+ function wn(u, h, m, w, R, A) {
4587
4594
  {
4588
- var T = vt(u);
4589
- if (!T) {
4590
- var x = "";
4591
- (u === void 0 || typeof u == "object" && u !== null && Object.keys(u).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
4592
- var q = si(N);
4593
- q ? x += q : x += _n();
4595
+ var x = vt(u);
4596
+ if (!x) {
4597
+ var $ = "";
4598
+ (u === void 0 || typeof u == "object" && u !== null && Object.keys(u).length === 0) && ($ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
4599
+ var q = ci(R);
4600
+ q ? $ += q : $ += _n();
4594
4601
  var V;
4595
- u === null ? V = "null" : er(u) ? V = "array" : u !== void 0 && u.$$typeof === e ? (V = "<" + (W(u.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : V = typeof u, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, x);
4602
+ u === null ? V = "null" : er(u) ? V = "array" : u !== void 0 && u.$$typeof === e ? (V = "<" + (W(u.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : V = typeof u, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, $);
4596
4603
  }
4597
- var H = ii(u, h, m, N, A);
4604
+ var H = si(u, h, m, R, A);
4598
4605
  if (H == null)
4599
4606
  return H;
4600
- if (T) {
4607
+ if (x) {
4601
4608
  var ot = h.children;
4602
4609
  if (ot !== void 0)
4603
- if (E)
4610
+ if (w)
4604
4611
  if (er(ot)) {
4605
4612
  for (var zt = 0; zt < ot.length; zt++)
4606
- wn(ot[zt], u);
4613
+ jn(ot[zt], u);
4607
4614
  Object.freeze && Object.freeze(ot);
4608
4615
  } else
4609
- w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
4616
+ j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
4610
4617
  else
4611
- wn(ot, u);
4618
+ jn(ot, u);
4612
4619
  }
4613
- return u === n ? li(H) : ui(H), H;
4620
+ return u === n ? fi(H) : li(H), H;
4614
4621
  }
4615
4622
  }
4616
- function fi(u, h, m) {
4617
- return En(u, h, m, !0);
4618
- }
4619
4623
  function pi(u, h, m) {
4620
- return En(u, h, m, !1);
4624
+ return wn(u, h, m, !0);
4621
4625
  }
4622
- var di = pi, hi = fi;
4623
- ve.Fragment = n, ve.jsx = di, ve.jsxs = hi;
4626
+ function di(u, h, m) {
4627
+ return wn(u, h, m, !1);
4628
+ }
4629
+ var hi = di, vi = pi;
4630
+ ve.Fragment = n, ve.jsx = hi, ve.jsxs = vi;
4624
4631
  }()), ve;
4625
4632
  }
4626
- process.env.NODE_ENV === "production" ? $r.exports = Dm() : $r.exports = Im();
4627
- var Lm = $r.exports;
4633
+ process.env.NODE_ENV === "production" ? Nr.exports = Dm() : Nr.exports = Im();
4634
+ var Lm = Nr.exports;
4628
4635
  const Fm = Lm.jsx, _t = (t) => {
4629
4636
  const e = {};
4630
4637
  return t.forEach((r) => {
4631
4638
  e[r.key] = r.value;
4632
4639
  }), e;
4633
- }, km = [...Pm, ...xp], Um = km.reduce((t, e) => (t[e] = ({
4640
+ }, km = [...Pm, ...$p], Um = km.reduce((t, e) => (t[e] = ({
4634
4641
  children: r,
4635
4642
  $$attributes: n = [],
4636
4643
  ...o
4637
4644
  }) => {
4638
4645
  let a = r;
4639
- return Array.isArray(r) || (a = [r]), R.createElement(e, {
4646
+ return Array.isArray(r) || (a = [r]), T.createElement(e, {
4640
4647
  ...o,
4641
4648
  ..._t(n)
4642
4649
  }, ...a);
@@ -4658,28 +4665,28 @@ const Fm = Lm.jsx, _t = (t) => {
4658
4665
  ...s,
4659
4666
  ...o.style || {}
4660
4667
  };
4661
- return R.createElement("div", {
4668
+ return T.createElement("div", {
4662
4669
  ...o,
4663
4670
  ...i,
4664
4671
  style: c
4665
4672
  }, ...a);
4666
4673
  }, Vm = ({
4674
+ afterMount: t,
4675
+ beforeDestroy: e,
4676
+ $$attributes: r = [],
4677
+ ...n
4678
+ }) => (xo(() => (t == null || t(n), () => {
4679
+ e == null || e(n);
4680
+ }), []), T.createElement("canvas", {
4681
+ ...n,
4682
+ ..._t(r)
4683
+ })), Gm = ({
4667
4684
  children: t,
4668
4685
  $$attributes: e = [],
4669
4686
  ...r
4670
4687
  }) => {
4671
4688
  let n = t;
4672
- return Array.isArray(t) || (n = [t]), R.createElement("canvas", {
4673
- ...r,
4674
- ..._t(e)
4675
- }, ...n);
4676
- }, Gm = ({
4677
- children: t,
4678
- $$attributes: e = [],
4679
- ...r
4680
- }) => {
4681
- let n = t;
4682
- return Array.isArray(t) || (n = [t]), R.createElement("img", {
4689
+ return Array.isArray(t) || (n = [t]), T.createElement("img", {
4683
4690
  ...r,
4684
4691
  ..._t(e)
4685
4692
  }, ...n);
@@ -4689,7 +4696,7 @@ const Fm = Lm.jsx, _t = (t) => {
4689
4696
  ...r
4690
4697
  }) => {
4691
4698
  let n = t;
4692
- return Array.isArray(t) || (n = [t]), R.createElement("video", {
4699
+ return Array.isArray(t) || (n = [t]), T.createElement("video", {
4693
4700
  ...r,
4694
4701
  ..._t(e)
4695
4702
  }, ...n);
@@ -4699,7 +4706,7 @@ const Fm = Lm.jsx, _t = (t) => {
4699
4706
  ...r
4700
4707
  }) => {
4701
4708
  let n = t;
4702
- return Array.isArray(t) || (n = [t]), R.createElement("audio", {
4709
+ return Array.isArray(t) || (n = [t]), T.createElement("audio", {
4703
4710
  ...r,
4704
4711
  ..._t(e)
4705
4712
  }, ...n);
@@ -4707,7 +4714,7 @@ const Fm = Lm.jsx, _t = (t) => {
4707
4714
  $$attributes: t = [],
4708
4715
  content: e,
4709
4716
  ...r
4710
- }) => R.createElement("span", {
4717
+ }) => T.createElement("span", {
4711
4718
  ...r,
4712
4719
  ..._t(t)
4713
4720
  }, e), Ym = ({
@@ -4718,7 +4725,7 @@ const Fm = Lm.jsx, _t = (t) => {
4718
4725
  ...o
4719
4726
  }) => {
4720
4727
  let a = t;
4721
- return Array.isArray(t) || (a = [t]), bi(() => (r == null || r(o), () => {
4728
+ return Array.isArray(t) || (a = [t]), xo(() => (r == null || r(o), () => {
4722
4729
  n == null || n(o);
4723
4730
  }), []), /* @__PURE__ */ Fm("div", {
4724
4731
  ...o,
@@ -4740,7 +4747,7 @@ const Fm = Lm.jsx, _t = (t) => {
4740
4747
  ...a,
4741
4748
  ...n.style || {}
4742
4749
  };
4743
- return R.createElement(r, {
4750
+ return T.createElement(r, {
4744
4751
  ...n,
4745
4752
  ...s,
4746
4753
  style: i
@@ -4776,7 +4783,7 @@ class Qm {
4776
4783
  this.refMap.clear();
4777
4784
  }
4778
4785
  }
4779
- class Km extends R.Component {
4786
+ class Km extends T.Component {
4780
4787
  constructor(r) {
4781
4788
  super(r);
4782
4789
  O(this, "refManager");
@@ -4791,7 +4798,7 @@ class Km extends R.Component {
4791
4798
  this.setState({
4792
4799
  pageModel: r
4793
4800
  });
4794
- else if (te(r) && va(r)) {
4801
+ else if (te(r) && ma(r)) {
4795
4802
  const n = r;
4796
4803
  this.setState({
4797
4804
  pageModel: new Ge(n, {
@@ -4844,7 +4851,7 @@ const lg = () => {
4844
4851
  }
4845
4852
  };
4846
4853
  };
4847
- class Xm extends R.Component {
4854
+ class Xm extends T.Component {
4848
4855
  constructor(r) {
4849
4856
  super(r);
4850
4857
  O(this, "onDoubleClick", () => {
@@ -4866,7 +4873,7 @@ class Xm extends R.Component {
4866
4873
  if (this.state.hasError) {
4867
4874
  const { onDoubleClick: r } = this, n = this.props.node.value;
4868
4875
  console.error(this.props.node, this.props.children);
4869
- const o = R.createElement(
4876
+ const o = T.createElement(
4870
4877
  "div",
4871
4878
  {
4872
4879
  style: {
@@ -4883,8 +4890,8 @@ class Xm extends R.Component {
4883
4890
  n.title,
4884
4891
  " component name:",
4885
4892
  n.title || n.componentName,
4886
- R.createElement("p", null, "msg: ", String(this.state.error)),
4887
- R.createElement(
4893
+ T.createElement("p", null, "msg: ", String(this.state.error)),
4894
+ T.createElement(
4888
4895
  "button",
4889
4896
  {
4890
4897
  onDoubleClick: r,
@@ -4900,13 +4907,13 @@ class Xm extends R.Component {
4900
4907
  },
4901
4908
  "double click to refresh"
4902
4909
  ),
4903
- R.createElement("div", {
4910
+ T.createElement("div", {
4904
4911
  style: {
4905
4912
  display: "none"
4906
4913
  }
4907
4914
  })
4908
4915
  );
4909
- return R.createElement(this.props.targetComponent, { onlyRenderChild: !0 }, o);
4916
+ return T.createElement(this.props.targetComponent, { onlyRenderChild: !0 }, o);
4910
4917
  }
4911
4918
  return this.props.children;
4912
4919
  }
@@ -4944,7 +4951,7 @@ const tg = (t) => {
4944
4951
  style: {}
4945
4952
  };
4946
4953
  }, [t.node]), { placeholder: n, height: o, width: a, style: s } = r;
4947
- return R.createElement(
4954
+ return T.createElement(
4948
4955
  "div",
4949
4956
  {
4950
4957
  style: {
@@ -4967,7 +4974,7 @@ const tg = (t) => {
4967
4974
  n
4968
4975
  );
4969
4976
  };
4970
- class fg extends R.Component {
4977
+ class fg extends T.Component {
4971
4978
  constructor(r) {
4972
4979
  super(r);
4973
4980
  O(this, "instanceManager", new Zm());
@@ -4982,7 +4989,7 @@ class fg extends R.Component {
4982
4989
  node: n,
4983
4990
  ctx: window.__C_ENGINE_DESIGNER_PLUGIN_CTX__
4984
4991
  }));
4985
- class i extends R.Component {
4992
+ class i extends T.Component {
4986
4993
  constructor() {
4987
4994
  super(...arguments);
4988
4995
  O(this, "_DESIGN_BOX", !0);
@@ -5001,27 +5008,27 @@ class fg extends R.Component {
5001
5008
  const { children: p = [], onlyRenderChild: v, ...g } = this.props;
5002
5009
  let _ = p;
5003
5010
  return Zt(p) || (_ = [p]), !!!_.filter(Boolean).length && (n.isContainer() || n.value.componentName === ae.ROOT_CONTAINER) && _.push(
5004
- R.createElement(o.dropPlaceholder, {
5011
+ T.createElement(o.dropPlaceholder, {
5005
5012
  node: n
5006
5013
  })
5007
- ), v ? _ : R.createElement(a, g, ..._);
5014
+ ), v ? _ : T.createElement(a, g, ..._);
5008
5015
  }
5009
5016
  }
5010
- return R.forwardRef(function(d, p) {
5011
- return R.createElement(
5017
+ return T.forwardRef(function(d, p) {
5018
+ return T.createElement(
5012
5019
  Xm,
5013
5020
  {
5014
5021
  node: n,
5015
5022
  targetComponent: i
5016
5023
  },
5017
- R.createElement(i, {
5024
+ T.createElement(i, {
5018
5025
  ref: p,
5019
5026
  ...d
5020
5027
  })
5021
5028
  );
5022
5029
  });
5023
5030
  });
5024
- this.renderRef = R.createRef(), r.dropPlaceholder && (this.dropPlaceholder = r.dropPlaceholder);
5031
+ this.renderRef = T.createRef(), r.dropPlaceholder && (this.dropPlaceholder = r.dropPlaceholder);
5025
5032
  }
5026
5033
  componentDidMount() {
5027
5034
  var r, n;
@@ -5040,10 +5047,10 @@ class fg extends R.Component {
5040
5047
  return n !== void 0 && (o = o.filter((a) => n === (a == null ? void 0 : a._UNIQUE_ID))), o;
5041
5048
  }
5042
5049
  getInstanceByDom(r) {
5043
- const n = Ga(r);
5050
+ const n = za(r);
5044
5051
  if (!n)
5045
5052
  return null;
5046
- const o = za(n);
5053
+ const o = Wa(n);
5047
5054
  return (o == null ? void 0 : o.stateNode) || null;
5048
5055
  }
5049
5056
  getDomsById(r, n) {
@@ -5066,7 +5073,7 @@ class fg extends R.Component {
5066
5073
  }
5067
5074
  render() {
5068
5075
  const { props: r, onGetComponent: n } = this, { render: o, ...a } = r;
5069
- return o && (o.ref.current = this), R.createElement(Km, {
5076
+ return o && (o.ref.current = this), T.createElement(Km, {
5070
5077
  onGetComponent: n,
5071
5078
  ...a,
5072
5079
  // 拦截特殊属性配置, 配合开发模式使用
@@ -5102,14 +5109,14 @@ class fg extends R.Component {
5102
5109
  });
5103
5110
  }
5104
5111
  }
5105
- const Ga = (t) => {
5112
+ const za = (t) => {
5106
5113
  if (!t)
5107
5114
  return null;
5108
5115
  const e = Object.keys(t).find((r) => r.startsWith("__reactInternalInstance$") || r.startsWith("__reactFiber$")) || "";
5109
- return e ? t[e] : Ga(t.parentElement);
5110
- }, za = (t) => {
5116
+ return e ? t[e] : za(t.parentElement);
5117
+ }, Wa = (t) => {
5111
5118
  var e;
5112
- return t ? (e = t == null ? void 0 : t.stateNode) != null && e._DESIGN_BOX ? t : za(t.return) : null;
5119
+ return t ? (e = t == null ? void 0 : t.stateNode) != null && e._DESIGN_BOX ? t : Wa(t.return) : null;
5113
5120
  }, pg = () => {
5114
5121
  const t = To(null);
5115
5122
  return {
@@ -5135,7 +5142,7 @@ const Ga = (t) => {
5135
5142
  }
5136
5143
  };
5137
5144
  };
5138
- var Wa = { exports: {} };
5145
+ var Ha = { exports: {} };
5139
5146
  (function(t, e) {
5140
5147
  (function(r, n) {
5141
5148
  t.exports = n();
@@ -5144,15 +5151,15 @@ var Wa = { exports: {} };
5144
5151
  }, n = {}, o = {}, a = {};
5145
5152
  function s(p, v) {
5146
5153
  p = p.push ? p : [p];
5147
- var g = [], _ = p.length, S = _, C, w, F, D;
5154
+ var g = [], _ = p.length, S = _, C, j, F, D;
5148
5155
  for (C = function(Y, Q) {
5149
5156
  Q.length && g.push(Y), S--, S || v(g);
5150
5157
  }; _--; ) {
5151
- if (w = p[_], F = o[w], F) {
5152
- C(w, F);
5158
+ if (j = p[_], F = o[j], F) {
5159
+ C(j, F);
5153
5160
  continue;
5154
5161
  }
5155
- D = a[w] = a[w] || [], D.push(C);
5162
+ D = a[j] = a[j] || [], D.push(C);
5156
5163
  }
5157
5164
  }
5158
5165
  function i(p, v) {
@@ -5167,37 +5174,37 @@ var Wa = { exports: {} };
5167
5174
  p.call && (p = { success: p }), v.length ? (p.error || r)(v) : (p.success || r)(p);
5168
5175
  }
5169
5176
  function l(p, v, g, _) {
5170
- var S = document, C = g.async, w = (g.numRetries || 0) + 1, F = g.before || r, D = p.replace(/[\?|#].*$/, ""), Y = p.replace(/^(css|img|module|nomodule)!/, ""), Q, Ct, $;
5177
+ var S = document, C = g.async, j = (g.numRetries || 0) + 1, F = g.before || r, D = p.replace(/[\?|#].*$/, ""), Y = p.replace(/^(css|img|module|nomodule)!/, ""), Q, Ct, N;
5171
5178
  if (_ = _ || 0, /(^css!|\.css$)/.test(D))
5172
- $ = S.createElement("link"), $.rel = "stylesheet", $.href = Y, Q = "hideFocus" in $, Q && $.relList && (Q = 0, $.rel = "preload", $.as = "style");
5179
+ N = S.createElement("link"), N.rel = "stylesheet", N.href = Y, Q = "hideFocus" in N, Q && N.relList && (Q = 0, N.rel = "preload", N.as = "style");
5173
5180
  else if (/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(D))
5174
- $ = S.createElement("img"), $.src = Y;
5175
- else if ($ = S.createElement("script"), $.src = Y, $.async = C === void 0 ? !0 : C, Ct = "noModule" in $, /^module!/.test(D)) {
5181
+ N = S.createElement("img"), N.src = Y;
5182
+ else if (N = S.createElement("script"), N.src = Y, N.async = C === void 0 ? !0 : C, Ct = "noModule" in N, /^module!/.test(D)) {
5176
5183
  if (!Ct)
5177
5184
  return v(p, "l");
5178
- $.type = "module";
5185
+ N.type = "module";
5179
5186
  } else if (/^nomodule!/.test(D) && Ct)
5180
5187
  return v(p, "l");
5181
- $.onload = $.onerror = $.onbeforeload = function(st) {
5188
+ N.onload = N.onerror = N.onbeforeload = function(st) {
5182
5189
  var vt = st.type[0];
5183
5190
  if (Q)
5184
5191
  try {
5185
- $.sheet.cssText.length || (vt = "e");
5192
+ N.sheet.cssText.length || (vt = "e");
5186
5193
  } catch (Ft) {
5187
5194
  Ft.code != 18 && (vt = "e");
5188
5195
  }
5189
5196
  if (vt == "e") {
5190
- if (_ += 1, _ < w)
5197
+ if (_ += 1, _ < j)
5191
5198
  return l(p, v, g, _);
5192
- } else if ($.rel == "preload" && $.as == "style")
5193
- return $.rel = "stylesheet";
5199
+ } else if (N.rel == "preload" && N.as == "style")
5200
+ return N.rel = "stylesheet";
5194
5201
  v(p, vt, st.defaultPrevented);
5195
- }, F(p, $) !== !1 && S.head.appendChild($);
5202
+ }, F(p, N) !== !1 && S.head.appendChild(N);
5196
5203
  }
5197
5204
  function f(p, v, g) {
5198
5205
  p = p.push ? p : [p];
5199
- var _ = p.length, S = _, C = [], w, F;
5200
- for (w = function(D, Y, Q) {
5206
+ var _ = p.length, S = _, C = [], j, F;
5207
+ for (j = function(D, Y, Q) {
5201
5208
  if (Y == "e" && C.push(D), Y == "b")
5202
5209
  if (Q)
5203
5210
  C.push(D);
@@ -5205,7 +5212,7 @@ var Wa = { exports: {} };
5205
5212
  return;
5206
5213
  _--, _ || v(C);
5207
5214
  }, F = 0; F < S; F++)
5208
- l(p[F], w, g);
5215
+ l(p[F], j, g);
5209
5216
  }
5210
5217
  function d(p, v, g) {
5211
5218
  var _, S;
@@ -5214,9 +5221,9 @@ var Wa = { exports: {} };
5214
5221
  throw "LoadJS";
5215
5222
  n[_] = !0;
5216
5223
  }
5217
- function C(w, F) {
5224
+ function C(j, F) {
5218
5225
  f(p, function(D) {
5219
- c(S, D), w && c({ success: w, error: F }, D), i(_, D);
5226
+ c(S, D), j && c({ success: j, error: F }, D), i(_, D);
5220
5227
  }, S);
5221
5228
  }
5222
5229
  if (S.returnPromise)
@@ -5235,9 +5242,9 @@ var Wa = { exports: {} };
5235
5242
  return v in n;
5236
5243
  }, d;
5237
5244
  });
5238
- })(Wa);
5239
- var eg = Wa.exports;
5240
- const xo = /* @__PURE__ */ Mm(eg);
5245
+ })(Ha);
5246
+ var eg = Ha.exports;
5247
+ const $o = /* @__PURE__ */ Mm(eg);
5241
5248
  class dg {
5242
5249
  constructor(e, r) {
5243
5250
  O(this, "assets");
@@ -5253,7 +5260,7 @@ class dg {
5253
5260
  const o = e[n];
5254
5261
  o.id || (o.id = ht()), r.push(o.id);
5255
5262
  const a = o.resources.map((s) => s.src);
5256
- a.length && xo(a, o.id, {
5263
+ a.length && $o(a, o.id, {
5257
5264
  async: !1,
5258
5265
  before: (s, i) => (this.win.document.body.appendChild(i), !1)
5259
5266
  });
@@ -5263,7 +5270,7 @@ class dg {
5263
5270
  this._onSuccessList.forEach((a) => a()), n("");
5264
5271
  return;
5265
5272
  }
5266
- xo.ready(r, {
5273
+ $o.ready(r, {
5267
5274
  success: () => {
5268
5275
  this._onSuccessList.forEach((a) => a()), n("");
5269
5276
  },
@@ -5284,18 +5291,18 @@ export {
5284
5291
  dg as AssetLoader,
5285
5292
  Zm as ComponentInstanceManager,
5286
5293
  tg as DefaultDropPlaceholder,
5287
- $m as DefineReactAdapter,
5294
+ Nm as DefineReactAdapter,
5288
5295
  fg as DesignRender,
5289
5296
  ug as ReactAdapter,
5290
5297
  Km as Render,
5291
- wm as canAcceptsRef,
5298
+ jm as canAcceptsRef,
5292
5299
  ag as collectVariable,
5293
- Em as compWrapper,
5294
- jm as convertCodeStringToFunction,
5300
+ wm as compWrapper,
5301
+ Em as convertCodeStringToFunction,
5295
5302
  ig as flatObject,
5296
5303
  Oo as formatSourceStylePropertyName,
5297
- Ei as getAdapter,
5298
- wo as getCSSTextValue,
5304
+ wi as getAdapter,
5305
+ jo as getCSSTextValue,
5299
5306
  sg as getComponentsLibs,
5300
5307
  Cm as getMatchVal,
5301
5308
  So as getObjFromArrayMap,