@chamn/render 0.0.27 → 0.0.28

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
@@ -76,7 +76,7 @@ function Un(t) {
76
76
  var e = t + "";
77
77
  return e == "0" && 1 / t == -Ma ? "-0" : e;
78
78
  }
79
- function J(t) {
79
+ function W(t) {
80
80
  var e = typeof t;
81
81
  return t != null && (e == "object" || e == "function");
82
82
  }
@@ -85,7 +85,7 @@ function nr(t) {
85
85
  }
86
86
  var Pa = "[object AsyncFunction]", Ra = "[object Function]", Ia = "[object GeneratorFunction]", Da = "[object Proxy]";
87
87
  function or(t) {
88
- if (!J(t))
88
+ if (!W(t))
89
89
  return !1;
90
90
  var e = dt(t);
91
91
  return e == Ra || e == Ia || e == Pa || e == Da;
@@ -113,13 +113,13 @@ function ht(t) {
113
113
  }
114
114
  return "";
115
115
  }
116
- var ka = /[\\^$.*+?()[\]{}|]/g, Va = /^\[object .+?Constructor\]$/, za = Function.prototype, Ga = Object.prototype, Ha = za.toString, Wa = Ga.hasOwnProperty, Ja = RegExp(
117
- "^" + Ha.call(Wa).replace(ka, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
116
+ var ka = /[\\^$.*+?()[\]{}|]/g, Va = /^\[object .+?Constructor\]$/, za = Function.prototype, Ga = Object.prototype, Ha = za.toString, Ja = Ga.hasOwnProperty, Wa = RegExp(
117
+ "^" + Ha.call(Ja).replace(ka, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
118
118
  );
119
119
  function Qa(t) {
120
- if (!J(t) || Ba(t))
120
+ if (!W(t) || Ba(t))
121
121
  return !1;
122
- var e = or(t) ? Ja : Va;
122
+ var e = or(t) ? Wa : Va;
123
123
  return e.test(ht(t));
124
124
  }
125
125
  function Ya(t, e) {
@@ -135,7 +135,7 @@ var kr = Object.create, Ka = function() {
135
135
  function t() {
136
136
  }
137
137
  return function(e) {
138
- if (!J(e))
138
+ if (!W(e))
139
139
  return {};
140
140
  if (kr)
141
141
  return kr(e);
@@ -282,7 +282,7 @@ function ve(t) {
282
282
  return t != null && ir(t.length) && !or(t);
283
283
  }
284
284
  function Ss(t, e, r) {
285
- if (!J(r))
285
+ if (!W(r))
286
286
  return !1;
287
287
  var n = typeof e;
288
288
  return (n == "number" ? ve(r) && me(e, r.length) : n == "string" && e in r) ? te(r[e], t) : !1;
@@ -316,15 +316,15 @@ var Hn = Object.prototype, Es = Hn.hasOwnProperty, $s = Hn.propertyIsEnumerable,
316
316
  }()) ? zr : function(t) {
317
317
  return q(t) && Es.call(t, "callee") && !$s.call(t, "callee");
318
318
  };
319
- const Wt = Ns;
319
+ const Jt = Ns;
320
320
  function xs() {
321
321
  return !1;
322
322
  }
323
- var Wn = typeof exports == "object" && exports && !exports.nodeType && exports, Gr = Wn && typeof module == "object" && module && !module.nodeType && module, Ts = Gr && Gr.exports === Wn, Hr = Ts ? K.Buffer : void 0, As = Hr ? Hr.isBuffer : void 0, Ms = As || xs;
324
- const Jt = Ms;
325
- var Ps = "[object Arguments]", Rs = "[object Array]", Is = "[object Boolean]", Ds = "[object Date]", Ls = "[object Error]", Bs = "[object Function]", Fs = "[object Map]", Us = "[object Number]", ks = "[object Object]", Vs = "[object RegExp]", zs = "[object Set]", Gs = "[object String]", Hs = "[object WeakMap]", Ws = "[object ArrayBuffer]", Js = "[object DataView]", Qs = "[object Float32Array]", Ys = "[object Float64Array]", qs = "[object Int8Array]", Ks = "[object Int16Array]", Xs = "[object Int32Array]", Zs = "[object Uint8Array]", ti = "[object Uint8ClampedArray]", ei = "[object Uint16Array]", ri = "[object Uint32Array]", $ = {};
323
+ var Jn = typeof exports == "object" && exports && !exports.nodeType && exports, Gr = Jn && typeof module == "object" && module && !module.nodeType && module, Ts = Gr && Gr.exports === Jn, Hr = Ts ? K.Buffer : void 0, As = Hr ? Hr.isBuffer : void 0, Ms = As || xs;
324
+ const Wt = Ms;
325
+ var Ps = "[object Arguments]", Rs = "[object Array]", Is = "[object Boolean]", Ds = "[object Date]", Ls = "[object Error]", Bs = "[object Function]", Fs = "[object Map]", Us = "[object Number]", ks = "[object Object]", Vs = "[object RegExp]", zs = "[object Set]", Gs = "[object String]", Hs = "[object WeakMap]", Js = "[object ArrayBuffer]", Ws = "[object DataView]", Qs = "[object Float32Array]", Ys = "[object Float64Array]", qs = "[object Int8Array]", Ks = "[object Int16Array]", Xs = "[object Int32Array]", Zs = "[object Uint8Array]", ti = "[object Uint8ClampedArray]", ei = "[object Uint16Array]", ri = "[object Uint32Array]", $ = {};
326
326
  $[Qs] = $[Ys] = $[qs] = $[Ks] = $[Xs] = $[Zs] = $[ti] = $[ei] = $[ri] = !0;
327
- $[Ps] = $[Rs] = $[Ws] = $[Is] = $[Js] = $[Ds] = $[Ls] = $[Bs] = $[Fs] = $[Us] = $[ks] = $[Vs] = $[zs] = $[Gs] = $[Hs] = !1;
327
+ $[Ps] = $[Rs] = $[Js] = $[Is] = $[Ws] = $[Ds] = $[Ls] = $[Bs] = $[Fs] = $[Us] = $[ks] = $[Vs] = $[zs] = $[Gs] = $[Hs] = !1;
328
328
  function ni(t) {
329
329
  return q(t) && ir(t.length) && !!$[dt(t)];
330
330
  }
@@ -333,7 +333,7 @@ function ur(t) {
333
333
  return t(e);
334
334
  };
335
335
  }
336
- var Jn = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Jn && typeof module == "object" && module && !module.nodeType && module, oi = Vt && Vt.exports === Jn, Ae = oi && Bn.process, ai = function() {
336
+ var Wn = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Wn && typeof module == "object" && module && !module.nodeType && module, oi = Vt && Vt.exports === Wn, Ae = oi && Bn.process, ai = function() {
337
337
  try {
338
338
  var t = Vt && Vt.require && Vt.require("util").types;
339
339
  return t || Ae && Ae.binding && Ae.binding("util");
@@ -341,11 +341,11 @@ var Jn = typeof exports == "object" && exports && !exports.nodeType && exports,
341
341
  }
342
342
  }();
343
343
  const _t = ai;
344
- var Wr = _t && _t.isTypedArray, si = Wr ? ur(Wr) : ni;
344
+ var Jr = _t && _t.isTypedArray, si = Jr ? ur(Jr) : ni;
345
345
  const lr = si;
346
346
  var ii = Object.prototype, ci = ii.hasOwnProperty;
347
347
  function Qn(t, e) {
348
- var r = R(t), n = !r && Wt(t), o = !r && !n && Jt(t), a = !r && !n && !o && lr(t), i = r || n || o || a, s = i ? ws(t.length, String) : [], c = s.length;
348
+ var r = R(t), n = !r && Jt(t), o = !r && !n && Wt(t), a = !r && !n && !o && lr(t), i = r || n || o || a, s = i ? ws(t.length, String) : [], c = s.length;
349
349
  for (var u in t)
350
350
  (e || ci.call(t, u)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
351
351
  (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -382,7 +382,7 @@ function hi(t) {
382
382
  }
383
383
  var mi = Object.prototype, vi = mi.hasOwnProperty;
384
384
  function gi(t) {
385
- if (!J(t))
385
+ if (!W(t))
386
386
  return hi(t);
387
387
  var e = cr(t), r = [];
388
388
  for (var n in t)
@@ -522,10 +522,10 @@ et.prototype.delete = Vi;
522
522
  et.prototype.get = zi;
523
523
  et.prototype.has = Gi;
524
524
  et.prototype.set = Hi;
525
- var Wi = "Expected a function";
525
+ var Ji = "Expected a function";
526
526
  function pr(t, e) {
527
527
  if (typeof t != "function" || e != null && typeof e != "function")
528
- throw new TypeError(Wi);
528
+ throw new TypeError(Ji);
529
529
  var r = function() {
530
530
  var n = arguments, o = e ? e.apply(this, n) : n[0], a = r.cache;
531
531
  if (a.has(o))
@@ -536,10 +536,10 @@ function pr(t, e) {
536
536
  return r.cache = new (pr.Cache || et)(), r;
537
537
  }
538
538
  pr.Cache = et;
539
- var Ji = 500;
539
+ var Wi = 500;
540
540
  function Qi(t) {
541
541
  var e = pr(t, function(n) {
542
- return r.size === Ji && r.clear(), n;
542
+ return r.size === Wi && r.clear(), n;
543
543
  }), r = e.cache;
544
544
  return e;
545
545
  }
@@ -578,9 +578,9 @@ function dr(t, e) {
578
578
  t[o + r] = e[r];
579
579
  return t;
580
580
  }
581
- var Jr = z ? z.isConcatSpreadable : void 0;
581
+ var Wr = z ? z.isConcatSpreadable : void 0;
582
582
  function ec(t) {
583
- return R(t) || Wt(t) || !!(Jr && t && t[Jr]);
583
+ return R(t) || Jt(t) || !!(Wr && t && t[Wr]);
584
584
  }
585
585
  function hr(t, e, r, n, o) {
586
586
  var a = -1, i = t.length;
@@ -753,14 +753,14 @@ function no(t, e) {
753
753
  var r = e ? yr(t.buffer) : t.buffer;
754
754
  return new t.constructor(r, t.byteOffset, t.length);
755
755
  }
756
- var Hc = "[object Boolean]", Wc = "[object Date]", Jc = "[object Map]", Qc = "[object Number]", Yc = "[object RegExp]", qc = "[object Set]", Kc = "[object String]", Xc = "[object Symbol]", Zc = "[object ArrayBuffer]", tu = "[object DataView]", eu = "[object Float32Array]", ru = "[object Float64Array]", nu = "[object Int8Array]", ou = "[object Int16Array]", au = "[object Int32Array]", su = "[object Uint8Array]", iu = "[object Uint8ClampedArray]", cu = "[object Uint16Array]", uu = "[object Uint32Array]";
756
+ var Hc = "[object Boolean]", Jc = "[object Date]", Wc = "[object Map]", Qc = "[object Number]", Yc = "[object RegExp]", qc = "[object Set]", Kc = "[object String]", Xc = "[object Symbol]", Zc = "[object ArrayBuffer]", tu = "[object DataView]", eu = "[object Float32Array]", ru = "[object Float64Array]", nu = "[object Int8Array]", ou = "[object Int16Array]", au = "[object Int32Array]", su = "[object Uint8Array]", iu = "[object Uint8ClampedArray]", cu = "[object Uint16Array]", uu = "[object Uint32Array]";
757
757
  function lu(t, e, r) {
758
758
  var n = t.constructor;
759
759
  switch (e) {
760
760
  case Zc:
761
761
  return yr(t);
762
762
  case Hc:
763
- case Wc:
763
+ case Jc:
764
764
  return new n(+t);
765
765
  case tu:
766
766
  return kc(t, r);
@@ -774,7 +774,7 @@ function lu(t, e, r) {
774
774
  case cu:
775
775
  case uu:
776
776
  return no(t, r);
777
- case Jc:
777
+ case Wc:
778
778
  return new n();
779
779
  case Qc:
780
780
  case Kc:
@@ -809,7 +809,7 @@ function zt(t, e, r, n, o, a) {
809
809
  var i, s = e & bu, c = e & _u, u = e & Su;
810
810
  if (r && (i = o ? r(t, n, o, a) : r(t)), i !== void 0)
811
811
  return i;
812
- if (!J(t))
812
+ if (!W(t))
813
813
  return t;
814
814
  var l = R(t);
815
815
  if (l) {
@@ -817,7 +817,7 @@ function zt(t, e, r, n, o, a) {
817
817
  return kn(t, i);
818
818
  } else {
819
819
  var p = qt(t), f = p == so || p == Eu;
820
- if (Jt(t))
820
+ if (Wt(t))
821
821
  return Zn(t, s);
822
822
  if (p == io || p == ao || f && !o) {
823
823
  if (i = c || f ? {} : oo(t), !s)
@@ -837,18 +837,18 @@ function zt(t, e, r, n, o, a) {
837
837
  }) : hu(t) && t.forEach(function(b, S) {
838
838
  i.set(S, zt(b, e, r, S, t, a));
839
839
  });
840
- var m = u ? c ? gr : Fe : c ? ee : ge, g = l ? void 0 : m(t);
840
+ var v = u ? c ? gr : Fe : c ? ee : ge, g = l ? void 0 : v(t);
841
841
  return ls(g || t, function(b, S) {
842
842
  g && (S = b, b = t[S]), sr(i, S, zt(b, e, r, S, t, a));
843
843
  }), i;
844
844
  }
845
- var Hu = 1, Wu = 4;
845
+ var Hu = 1, Ju = 4;
846
846
  function co(t) {
847
- return zt(t, Hu | Wu);
847
+ return zt(t, Hu | Ju);
848
848
  }
849
- var Ju = "__lodash_hash_undefined__";
849
+ var Wu = "__lodash_hash_undefined__";
850
850
  function Qu(t) {
851
- return this.__data__.set(t, Ju), this;
851
+ return this.__data__.set(t, Wu), this;
852
852
  }
853
853
  function Yu(t) {
854
854
  return this.__data__.has(t);
@@ -879,9 +879,9 @@ function lo(t, e, r, n, o, a) {
879
879
  return u == e && l == t;
880
880
  var p = -1, f = !0, d = r & Xu ? new Kt() : void 0;
881
881
  for (a.set(t, e), a.set(e, t); ++p < s; ) {
882
- var m = t[p], g = e[p];
882
+ var v = t[p], g = e[p];
883
883
  if (n)
884
- var b = i ? n(g, m, p, e, t, a) : n(m, g, p, t, e, a);
884
+ var b = i ? n(g, v, p, e, t, a) : n(v, g, p, t, e, a);
885
885
  if (b !== void 0) {
886
886
  if (b)
887
887
  continue;
@@ -890,13 +890,13 @@ function lo(t, e, r, n, o, a) {
890
890
  }
891
891
  if (d) {
892
892
  if (!qu(e, function(S, j) {
893
- if (!uo(d, j) && (m === S || o(m, S, r, n, a)))
893
+ if (!uo(d, j) && (v === S || o(v, S, r, n, a)))
894
894
  return d.push(j);
895
895
  })) {
896
896
  f = !1;
897
897
  break;
898
898
  }
899
- } else if (!(m === g || o(m, g, r, n, a))) {
899
+ } else if (!(v === g || o(v, g, r, n, a))) {
900
900
  f = !1;
901
901
  break;
902
902
  }
@@ -961,25 +961,25 @@ function gl(t, e, r, n, o, a) {
961
961
  if (!(i ? f in e : vl.call(e, f)))
962
962
  return !1;
963
963
  }
964
- var d = a.get(t), m = a.get(e);
965
- if (d && m)
966
- return d == e && m == t;
964
+ var d = a.get(t), v = a.get(e);
965
+ if (d && v)
966
+ return d == e && v == t;
967
967
  var g = !0;
968
968
  a.set(t, e), a.set(e, t);
969
969
  for (var b = i; ++p < c; ) {
970
970
  f = s[p];
971
971
  var S = t[f], j = e[f];
972
972
  if (n)
973
- var A = i ? n(j, S, f, e, t, a) : n(S, j, f, t, e, a);
974
- if (!(A === void 0 ? S === j || o(S, j, r, n, a) : A)) {
973
+ var x = i ? n(j, S, f, e, t, a) : n(S, j, f, t, e, a);
974
+ if (!(x === void 0 ? S === j || o(S, j, r, n, a) : x)) {
975
975
  g = !1;
976
976
  break;
977
977
  }
978
978
  b || (b = f == "constructor");
979
979
  }
980
980
  if (g && !b) {
981
- var T = t.constructor, D = e.constructor;
982
- T != D && "constructor" in t && "constructor" in e && !(typeof T == "function" && T instanceof T && typeof D == "function" && D instanceof D) && (g = !1);
981
+ var M = t.constructor, D = e.constructor;
982
+ M != D && "constructor" in t && "constructor" in e && !(typeof M == "function" && M instanceof M && typeof D == "function" && D instanceof D) && (g = !1);
983
983
  }
984
984
  return a.delete(t), a.delete(e), g;
985
985
  }
@@ -988,17 +988,17 @@ function _l(t, e, r, n, o, a) {
988
988
  var i = R(t), s = R(e), c = i ? ln : qt(t), u = s ? ln : qt(e);
989
989
  c = c == un ? ce : c, u = u == un ? ce : u;
990
990
  var l = c == ce, p = u == ce, f = c == u;
991
- if (f && Jt(t)) {
992
- if (!Jt(e))
991
+ if (f && Wt(t)) {
992
+ if (!Wt(e))
993
993
  return !1;
994
994
  i = !0, l = !1;
995
995
  }
996
996
  if (f && !l)
997
997
  return a || (a = new H()), i || lr(t) ? lo(t, e, r, n, o, a) : dl(t, e, c, r, n, o, a);
998
998
  if (!(r & yl)) {
999
- var d = l && fn.call(t, "__wrapped__"), m = p && fn.call(e, "__wrapped__");
1000
- if (d || m) {
1001
- var g = d ? t.value() : t, b = m ? e.value() : e;
999
+ var d = l && fn.call(t, "__wrapped__"), v = p && fn.call(e, "__wrapped__");
1000
+ if (d || v) {
1001
+ var g = d ? t.value() : t, b = v ? e.value() : e;
1002
1002
  return a || (a = new H()), o(g, b, r, n, a);
1003
1003
  }
1004
1004
  }
@@ -1034,7 +1034,7 @@ function Ol(t, e, r, n) {
1034
1034
  return !0;
1035
1035
  }
1036
1036
  function fo(t) {
1037
- return t === t && !J(t);
1037
+ return t === t && !W(t);
1038
1038
  }
1039
1039
  function wl(t) {
1040
1040
  for (var e = ge(t), r = e.length; r--; ) {
@@ -1065,7 +1065,7 @@ function $l(t, e, r) {
1065
1065
  break;
1066
1066
  t = t[i];
1067
1067
  }
1068
- return a || ++n != o ? a : (o = t == null ? 0 : t.length, !!o && ir(o) && me(i, o) && (R(t) || Wt(t)));
1068
+ return a || ++n != o ? a : (o = t == null ? 0 : t.length, !!o && ir(o) && me(i, o) && (R(t) || Jt(t)));
1069
1069
  }
1070
1070
  function Nl(t, e) {
1071
1071
  return t != null && $l(t, e, El);
@@ -1126,14 +1126,14 @@ function Fl(t, e, r, n, o, a, i) {
1126
1126
  }
1127
1127
  var l = a ? a(s, c, r + "", t, e, i) : void 0, p = l === void 0;
1128
1128
  if (p) {
1129
- var f = R(c), d = !f && Jt(c), m = !f && !d && lr(c);
1130
- l = c, f || d || m ? R(s) ? l = s : ze(s) ? l = kn(s) : d ? (p = !1, l = Zn(c, !0)) : m ? (p = !1, l = no(c, !0)) : l = [] : F(c) || Wt(c) ? (l = s, Wt(s) ? l = Bl(s) : (!J(s) || or(s)) && (l = oo(c))) : p = !1;
1129
+ var f = R(c), d = !f && Wt(c), v = !f && !d && lr(c);
1130
+ l = c, f || d || v ? R(s) ? l = s : ze(s) ? l = kn(s) : d ? (p = !1, l = Zn(c, !0)) : v ? (p = !1, l = no(c, !0)) : l = [] : F(c) || Jt(c) ? (l = s, Jt(s) ? l = Bl(s) : (!W(s) || or(s)) && (l = oo(c))) : p = !1;
1131
1131
  }
1132
1132
  p && (i.set(c, l), o(l, c, n, a, i), i.delete(c)), Ve(t, r, l);
1133
1133
  }
1134
1134
  function ho(t, e, r, n, o) {
1135
1135
  t !== e && Ll(e, function(a, i) {
1136
- if (o || (o = new H()), J(a))
1136
+ if (o || (o = new H()), W(a))
1137
1137
  Fl(t, e, i, r, ho, n, o);
1138
1138
  else {
1139
1139
  var s = n ? n(Ge(t, i), a, i + "", t, e, o) : void 0;
@@ -1180,24 +1180,24 @@ function Gl(t) {
1180
1180
  function Hl(t, e) {
1181
1181
  return e = xt(e, t), t = kl(t, e), t == null || delete t[Tt(mo(e))];
1182
1182
  }
1183
- function Wl(t) {
1183
+ function Jl(t) {
1184
1184
  return F(t) ? void 0 : t;
1185
1185
  }
1186
- var Jl = 1, Ql = 2, Yl = 4, ql = nc(function(t, e) {
1186
+ var Wl = 1, Ql = 2, Yl = 4, ql = nc(function(t, e) {
1187
1187
  var r = {};
1188
1188
  if (t == null)
1189
1189
  return r;
1190
1190
  var n = !1;
1191
1191
  e = rr(e, function(a) {
1192
1192
  return a = xt(a, t), n || (n = a.length > 1), a;
1193
- }), Nt(t, gr(t), r), n && (r = zt(r, Jl | Ql | Yl, Wl));
1193
+ }), Nt(t, gr(t), r), n && (r = zt(r, Wl | Ql | Yl, Jl));
1194
1194
  for (var o = e.length; o--; )
1195
1195
  Hl(r, e[o]);
1196
1196
  return r;
1197
1197
  });
1198
1198
  const go = ql;
1199
1199
  function Kl(t, e, r, n) {
1200
- if (!J(t))
1200
+ if (!W(t))
1201
1201
  return t;
1202
1202
  e = xt(e, t);
1203
1203
  for (var o = -1, a = e.length, i = a - 1, s = t; s != null && ++o < a; ) {
@@ -1206,7 +1206,7 @@ function Kl(t, e, r, n) {
1206
1206
  return t;
1207
1207
  if (o != i) {
1208
1208
  var l = s[c];
1209
- u = n ? n(l, c, s) : void 0, u === void 0 && (u = J(l) ? l : me(e[o + 1]) ? [] : {});
1209
+ u = n ? n(l, c, s) : void 0, u === void 0 && (u = W(l) ? l : me(e[o + 1]) ? [] : {});
1210
1210
  }
1211
1211
  sr(s, c, u), s = s[c];
1212
1212
  }
@@ -1282,9 +1282,9 @@ class yo extends TypeError {
1282
1282
  }
1283
1283
  }
1284
1284
  function uf(t) {
1285
- return W(t) && typeof t[Symbol.iterator] == "function";
1285
+ return J(t) && typeof t[Symbol.iterator] == "function";
1286
1286
  }
1287
- function W(t) {
1287
+ function J(t) {
1288
1288
  return typeof t == "object" && t != null;
1289
1289
  }
1290
1290
  function U(t) {
@@ -1341,7 +1341,7 @@ function* jr(t, e, r) {
1341
1341
  path: n,
1342
1342
  branch: o
1343
1343
  };
1344
- if (a && (t = e.coercer(t, s), i && e.type !== "type" && W(e.schema) && W(t) && !Array.isArray(t)))
1344
+ if (a && (t = e.coercer(t, s), i && e.type !== "type" && J(e.schema) && J(t) && !Array.isArray(t)))
1345
1345
  for (const u in t)
1346
1346
  e.schema[u] === void 0 && delete t[u];
1347
1347
  let c = "valid";
@@ -1355,7 +1355,7 @@ function* jr(t, e, r) {
1355
1355
  mask: i
1356
1356
  });
1357
1357
  for (const d of f)
1358
- d[0] ? (c = d[0].refinement != null ? "not_refined" : "not_valid", yield [d[0], void 0]) : a && (l = d[1], u === void 0 ? t = l : t instanceof Map ? t.set(u, l) : t instanceof Set ? t.add(l) : W(t) && (t[u] = l));
1358
+ d[0] ? (c = d[0].refinement != null ? "not_refined" : "not_valid", yield [d[0], void 0]) : a && (l = d[1], u === void 0 ? t = l : t instanceof Map ? t.set(u, l) : t instanceof Set ? t.add(l) : J(t) && (t[u] = l));
1359
1359
  }
1360
1360
  if (c !== "not_valid")
1361
1361
  for (const u of e.refiner(t, s))
@@ -1498,10 +1498,10 @@ function _o(t, e) {
1498
1498
  return w(n);
1499
1499
  }
1500
1500
  }
1501
- function P() {
1501
+ function T() {
1502
1502
  return st("any", () => !0);
1503
1503
  }
1504
- function M(t) {
1504
+ function P(t) {
1505
1505
  return new X({
1506
1506
  type: "array",
1507
1507
  schema: t,
@@ -1558,7 +1558,7 @@ function w(t) {
1558
1558
  type: "object",
1559
1559
  schema: t || null,
1560
1560
  *entries(n) {
1561
- if (t && W(n)) {
1561
+ if (t && J(n)) {
1562
1562
  const o = new Set(Object.keys(n));
1563
1563
  for (const a of e)
1564
1564
  o.delete(a), yield [a, n[a], t[a]];
@@ -1567,16 +1567,16 @@ function w(t) {
1567
1567
  }
1568
1568
  },
1569
1569
  validator(n) {
1570
- return W(n) || "Expected an object, but received: " + U(n);
1570
+ return J(n) || "Expected an object, but received: " + U(n);
1571
1571
  },
1572
1572
  coercer(n) {
1573
- return W(n) ? {
1573
+ return J(n) ? {
1574
1574
  ...n
1575
1575
  } : n;
1576
1576
  }
1577
1577
  });
1578
1578
  }
1579
- function v(t) {
1579
+ function h(t) {
1580
1580
  return new X({
1581
1581
  ...t,
1582
1582
  validator: (e, r) => e === void 0 || t.validator(e, r),
@@ -1588,18 +1588,18 @@ function Gt(t, e) {
1588
1588
  type: "record",
1589
1589
  schema: null,
1590
1590
  *entries(r) {
1591
- if (W(r))
1591
+ if (J(r))
1592
1592
  for (const n in r) {
1593
1593
  const o = r[n];
1594
1594
  yield [n, n, t], yield [n, o, e];
1595
1595
  }
1596
1596
  },
1597
1597
  validator(r) {
1598
- return W(r) || "Expected an object, but received: " + U(r);
1598
+ return J(r) || "Expected an object, but received: " + U(r);
1599
1599
  }
1600
1600
  });
1601
1601
  }
1602
- function h() {
1602
+ function m() {
1603
1603
  return st("string", (t) => typeof t == "string" || "Expected a string, but received: " + U(t));
1604
1604
  }
1605
1605
  function Oo(t) {
@@ -1608,12 +1608,12 @@ function Oo(t) {
1608
1608
  type: "type",
1609
1609
  schema: t,
1610
1610
  *entries(r) {
1611
- if (W(r))
1611
+ if (J(r))
1612
1612
  for (const n of e)
1613
1613
  yield [n, r[n], t[n]];
1614
1614
  },
1615
1615
  validator(r) {
1616
- return W(r) || "Expected an object, but received: " + U(r);
1616
+ return J(r) || "Expected an object, but received: " + U(r);
1617
1617
  }
1618
1618
  });
1619
1619
  }
@@ -1648,15 +1648,15 @@ function vf() {
1648
1648
  return st("unknown", () => !0);
1649
1649
  }
1650
1650
  const wr = w({
1651
- package: h(),
1652
- version: h(),
1653
- name: h(),
1654
- exportName: v(h()),
1655
- destructuring: v(jt()),
1656
- subName: v(h()),
1657
- main: v(h()),
1658
- cssPaths: v(M(h()))
1659
- }), gf = M(wr), yf = [
1651
+ package: m(),
1652
+ version: m(),
1653
+ name: m(),
1654
+ exportName: h(m()),
1655
+ destructuring: h(jt()),
1656
+ subName: h(m()),
1657
+ main: h(m()),
1658
+ cssPaths: h(P(m()))
1659
+ }), gf = P(wr), yf = [
1660
1660
  "CBlock",
1661
1661
  "CContainer",
1662
1662
  "CImage",
@@ -1666,75 +1666,75 @@ const wr = w({
1666
1666
  "CText",
1667
1667
  "CNativeTag"
1668
1668
  ];
1669
- var V = /* @__PURE__ */ ((t) => (t.SLOT = "SLOT", t.FUNCTION = "FUNCTION", t.EXPRESSION = "EXPRESSION", t))(V || {}), Cr = /* @__PURE__ */ ((t) => (t.DESIGN = "design", t.SAVE = "save", t))(Cr || {}), We = /* @__PURE__ */ ((t) => (t.FUNC = "FUNC", t.COMP = "COMP", t))(We || {});
1670
- const bf = () => st("normalObj", (t) => !F(t) || [V.SLOT, V.EXPRESSION, V.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (At(t, Gt(h(), Er)), !0)), Er = B([
1671
- h(),
1669
+ var V = /* @__PURE__ */ ((t) => (t.SLOT = "SLOT", t.FUNCTION = "FUNCTION", t.EXPRESSION = "EXPRESSION", t))(V || {}), Cr = /* @__PURE__ */ ((t) => (t.DESIGN = "design", t.SAVE = "save", t))(Cr || {}), Je = /* @__PURE__ */ ((t) => (t.FUNC = "FUNC", t.COMP = "COMP", t))(Je || {});
1670
+ const bf = () => st("normalObj", (t) => !F(t) || [V.SLOT, V.EXPRESSION, V.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (At(t, Gt(m(), Er)), !0)), Er = B([
1671
+ m(),
1672
1672
  jo(),
1673
1673
  jt(),
1674
1674
  w({
1675
1675
  type: L(V.SLOT),
1676
- renderType: He([We.FUNC, We.COMP]),
1676
+ renderType: He([Je.FUNC, Je.COMP]),
1677
1677
  // if renderType is Func, params will be useful
1678
- params: v(M(h())),
1678
+ params: h(P(m())),
1679
1679
  // here can't use PropsDataStructDescribe, it will caused "Maximum call stack size exceeded" error
1680
- value: St(() => B([Ot, M(Ot)]))
1680
+ value: St(() => B([Ot, P(Ot)]))
1681
1681
  }),
1682
1682
  w({
1683
1683
  type: L(V.EXPRESSION),
1684
- value: h()
1684
+ value: m()
1685
1685
  }),
1686
1686
  w({
1687
1687
  type: L(V.FUNCTION),
1688
- value: h()
1688
+ value: m()
1689
1689
  }),
1690
1690
  bf(),
1691
- M(
1691
+ P(
1692
1692
  St(() => Er)
1693
1693
  )
1694
1694
  ]), dn = w({
1695
1695
  type: L(V.EXPRESSION),
1696
- value: h()
1696
+ value: m()
1697
1697
  }), Ot = w({
1698
- id: v(h()),
1699
- title: v(h()),
1700
- componentName: h(),
1701
- props: v(Gt(h(), Er)),
1702
- nodeName: v(h()),
1703
- state: v(Gt(h(), P())),
1704
- children: St(() => v(M(B([h(), Ot])))),
1705
- configure: v(P()),
1706
- css: v(P()),
1707
- style: v(P()),
1708
- classNames: v(M(P())),
1709
- refId: v(h()),
1710
- extra: v(Gt(P(), P())),
1711
- condition: v(B([jt(), dn])),
1712
- loop: v(
1698
+ id: h(m()),
1699
+ title: h(m()),
1700
+ componentName: m(),
1701
+ props: h(Gt(m(), Er)),
1702
+ nodeName: h(m()),
1703
+ state: h(Gt(m(), T())),
1704
+ children: St(() => h(P(B([m(), Ot])))),
1705
+ configure: h(T()),
1706
+ css: h(T()),
1707
+ style: h(T()),
1708
+ classNames: h(P(T())),
1709
+ refId: h(m()),
1710
+ extra: h(Gt(T(), T())),
1711
+ condition: h(B([jt(), dn])),
1712
+ loop: h(
1713
1713
  w({
1714
1714
  open: jt(),
1715
- data: B([M(P()), dn]),
1716
- args: v(M(h())),
1717
- forName: v(h()),
1718
- forIndex: v(h()),
1719
- key: v(P()),
1720
- name: v(h())
1715
+ data: B([P(T()), dn]),
1716
+ args: h(P(m())),
1717
+ forName: h(m()),
1718
+ forIndex: h(m()),
1719
+ key: h(T()),
1720
+ name: h(m())
1721
1721
  })
1722
1722
  ),
1723
- methods: v(M(P()))
1723
+ methods: h(P(T()))
1724
1724
  }), pe = B([
1725
- h(),
1725
+ m(),
1726
1726
  w({
1727
- label: h(),
1728
- tip: v(h())
1727
+ label: m(),
1728
+ tip: h(m())
1729
1729
  })
1730
1730
  ]), _f = w({
1731
1731
  type: L(
1732
1732
  "shape"
1733
1733
  /* SHAPE */
1734
1734
  ),
1735
- value: M(
1735
+ value: P(
1736
1736
  w({
1737
- name: h(),
1737
+ name: m(),
1738
1738
  title: pe,
1739
1739
  valueType: St(() => Se)
1740
1740
  })
@@ -1744,7 +1744,7 @@ const bf = () => st("normalObj", (t) => !F(t) || [V.SLOT, V.EXPRESSION, V.FUNCTI
1744
1744
  "enums"
1745
1745
  /* ENUMS */
1746
1746
  ),
1747
- value: M(h())
1747
+ value: P(m())
1748
1748
  });
1749
1749
  w({
1750
1750
  type: L(
@@ -1758,7 +1758,7 @@ const jf = w({
1758
1758
  "array"
1759
1759
  /* ARRAY */
1760
1760
  ),
1761
- value: St(() => M(Se))
1761
+ value: St(() => P(Se))
1762
1762
  }), Se = B([
1763
1763
  He([
1764
1764
  "array",
@@ -1778,74 +1778,74 @@ const jf = w({
1778
1778
  Sf,
1779
1779
  jf
1780
1780
  ]), Of = B([
1781
- h(),
1781
+ m(),
1782
1782
  w({
1783
- componentName: h(),
1784
- props: v(P()),
1783
+ componentName: m(),
1784
+ props: h(T()),
1785
1785
  /** 用于标记当前数据的初始值,如添加一个数组元素可以使用该值填充 */
1786
- initialValue: v(P()),
1787
- component: v(P())
1786
+ initialValue: h(T()),
1787
+ component: h(T())
1788
1788
  })
1789
1789
  ]), Pe = w({
1790
- name: h(),
1790
+ name: m(),
1791
1791
  title: pe,
1792
1792
  // 描述 name 对应值的类型
1793
1793
  valueType: Se,
1794
- description: v(h()),
1795
- defaultValue: P(),
1794
+ description: h(m()),
1795
+ defaultValue: T(),
1796
1796
  //用于产生 valueType 类型的值
1797
- setters: v(M(Of)),
1798
- condition: v(So())
1797
+ setters: h(P(Of)),
1798
+ condition: h(So())
1799
1799
  });
1800
- B([h(), So()]);
1801
- var Je = /* @__PURE__ */ ((t) => (t.SINGLE = "single", t.GROUP = "group", t))(Je || {});
1800
+ B([m(), So()]);
1801
+ var We = /* @__PURE__ */ ((t) => (t.SINGLE = "single", t.GROUP = "group", t))(We || {});
1802
1802
  B([
1803
- h(),
1803
+ m(),
1804
1804
  w({
1805
- name: h(),
1806
- describe: v(h()),
1807
- params: v(
1805
+ name: m(),
1806
+ describe: h(m()),
1807
+ params: h(
1808
1808
  w({
1809
- name: h(),
1810
- description: h()
1809
+ name: m(),
1810
+ description: m()
1811
1811
  })
1812
1812
  ),
1813
- template: h()
1813
+ template: m()
1814
1814
  })
1815
1815
  ]);
1816
1816
  const wf = w({
1817
- id: v(h()),
1818
- title: h(),
1819
- snapshot: B([h(), P()]),
1820
- snapshotText: v(h()),
1821
- description: v(h()),
1817
+ id: h(m()),
1818
+ title: m(),
1819
+ snapshot: B([m(), T()]),
1820
+ snapshotText: h(m()),
1821
+ description: h(m()),
1822
1822
  // 组件分类,用于搜索
1823
- tags: v(M(h())),
1823
+ tags: h(P(m())),
1824
1824
  // 分 tab 面板
1825
- groupName: v(h()),
1825
+ groupName: h(m()),
1826
1826
  // 分类
1827
- category: v(h()),
1828
- schema: Or(_o(Ot, ["id"]), w({ componentName: v(h()) }))
1827
+ category: h(m()),
1828
+ schema: Or(_o(Ot, ["id"]), w({ componentName: h(m()) }))
1829
1829
  }), Cf = w({
1830
- componentName: h(),
1831
- title: h(),
1832
- screenshot: v(h()),
1833
- icon: v(h()),
1830
+ componentName: m(),
1831
+ title: m(),
1832
+ screenshot: h(m()),
1833
+ icon: h(m()),
1834
1834
  // 组件分类,用于搜索
1835
- tags: v(M(h())),
1835
+ tags: h(P(m())),
1836
1836
  // 分 tab 面板
1837
- groupName: v(h()),
1837
+ groupName: h(m()),
1838
1838
  // 分类
1839
- category: v(h()),
1839
+ category: h(m()),
1840
1840
  // 排序
1841
- priority: v(jo()),
1842
- npm: v(wr),
1843
- snippets: M(wf),
1844
- props: M(
1841
+ priority: h(jo()),
1842
+ npm: h(wr),
1843
+ snippets: P(wf),
1844
+ props: P(
1845
1845
  B([
1846
1846
  Pe,
1847
1847
  w({
1848
- title: v(pe),
1848
+ title: h(pe),
1849
1849
  type: L(
1850
1850
  "single"
1851
1851
  /* SINGLE */
@@ -1853,35 +1853,35 @@ const wf = w({
1853
1853
  content: Pe
1854
1854
  }),
1855
1855
  w({
1856
- title: v(pe),
1856
+ title: h(pe),
1857
1857
  type: L(
1858
1858
  "group"
1859
1859
  /* GROUP */
1860
1860
  ),
1861
- content: M(Pe)
1861
+ content: P(Pe)
1862
1862
  })
1863
1863
  ])
1864
1864
  ),
1865
- fixedProps: v(P()),
1865
+ fixedProps: h(T()),
1866
1866
  // 可以拖入组件
1867
- isContainer: v(
1867
+ isContainer: h(
1868
1868
  B([
1869
1869
  jt(),
1870
1870
  w({
1871
- placeholder: h(),
1872
- width: h(),
1873
- height: h()
1871
+ placeholder: m(),
1872
+ width: m(),
1873
+ height: m()
1874
1874
  })
1875
1875
  ])
1876
1876
  ),
1877
- disableEditorDragDom: v(P()),
1877
+ disableEditorDragDom: h(T()),
1878
1878
  // 如果是布局组件,可以考虑将拖拽控制权转移 or 实现 resize
1879
- isLayout: v(jt()),
1880
- rootSelector: v(h()),
1879
+ isLayout: h(jt()),
1880
+ rootSelector: h(m()),
1881
1881
  // selectionToolBarView: optional(func()),
1882
- advanceCustom: v(P()),
1882
+ advanceCustom: h(T()),
1883
1883
  // 扩展配置
1884
- extra: v(Gt(P(), P()))
1884
+ extra: h(Gt(T(), T()))
1885
1885
  }), Ef = (t) => ({ data: e, message: r, throwError: n }) => {
1886
1886
  const o = t({ data: e, message: r, throwError: n });
1887
1887
  if (o.isValidate)
@@ -1914,7 +1914,7 @@ const wf = w({
1914
1914
  var Mt = /* @__PURE__ */ ((t) => (t.ROOT_CONTAINER = "RootContainer", t))(Mt || {});
1915
1915
  const $f = w({
1916
1916
  type: L(V.FUNCTION),
1917
- value: h()
1917
+ value: m()
1918
1918
  }), Nf = Or(
1919
1919
  _o(Ot, ["componentName"]),
1920
1920
  w({
@@ -1947,12 +1947,12 @@ const re = xf(), Tf = (t, e) => {
1947
1947
  }, n = t.value;
1948
1948
  let o = new ft([]);
1949
1949
  return e && (o = e.materialsMode || new ft([])), n && (R(n) ? r.value = n.map(
1950
- (a) => new x(a, {
1950
+ (a) => new A(a, {
1951
1951
  parent: e,
1952
1952
  materials: o
1953
1953
  })
1954
1954
  ) : F(n) && r.value.push(
1955
- new x(n, {
1955
+ new A(n, {
1956
1956
  parent: e,
1957
1957
  materials: o
1958
1958
  })
@@ -1969,7 +1969,7 @@ class wt {
1969
1969
  }
1970
1970
  export(e) {
1971
1971
  const r = this.data, n = (o) => {
1972
- if (o instanceof x)
1972
+ if (o instanceof A)
1973
1973
  return o.export(e);
1974
1974
  if (F(o)) {
1975
1975
  const a = {};
@@ -1986,7 +1986,7 @@ const wo = (t) => {
1986
1986
  let e = [];
1987
1987
  return t.forEach((r) => {
1988
1988
  const n = r;
1989
- n.type ? n.type === Je.SINGLE ? e.push(n.content) : n.type === Je.GROUP && (e = [...e, ...wo(n.content)]) : e.push(r);
1989
+ n.type ? n.type === We.SINGLE ? e.push(n.content) : n.type === We.GROUP && (e = [...e, ...wo(n.content)]) : e.push(r);
1990
1990
  }), e;
1991
1991
  }, Qe = (t, e, r) => {
1992
1992
  if (t.type)
@@ -2030,7 +2030,7 @@ class at {
2030
2030
  }
2031
2031
  get material() {
2032
2032
  const e = this.parent;
2033
- if (e instanceof x) {
2033
+ if (e instanceof A) {
2034
2034
  const r = e.material;
2035
2035
  return wo((r == null ? void 0 : r.value.props) || []).find((n) => n.name === this.name);
2036
2036
  } else
@@ -2038,7 +2038,7 @@ class at {
2038
2038
  }
2039
2039
  export(e) {
2040
2040
  const r = this.data, n = (o) => {
2041
- if (o instanceof at || o instanceof wt || o instanceof x)
2041
+ if (o instanceof at || o instanceof wt || o instanceof A)
2042
2042
  return o.export(e);
2043
2043
  if (R(o))
2044
2044
  return o.map((a) => n(a));
@@ -2087,24 +2087,24 @@ const Af = (t) => {
2087
2087
  materials: r
2088
2088
  });
2089
2089
  }), t.children && (Array.isArray(t.children) ? n.children = t.children.map((a) => {
2090
- if (a instanceof x)
2090
+ if (a instanceof A)
2091
2091
  return a;
2092
2092
  if (F(a)) {
2093
2093
  const i = a;
2094
- return new x(i, {
2094
+ return new A(i, {
2095
2095
  parent: e,
2096
2096
  materials: r
2097
2097
  });
2098
2098
  } else
2099
2099
  return a;
2100
- }) : (t.children instanceof x && (n.children = [t.children]), n.children = [
2101
- new x(t.children, {
2100
+ }) : (t.children instanceof A && (n.children = [t.children]), n.children = [
2101
+ new A(t.children, {
2102
2102
  parent: e,
2103
2103
  materials: r
2104
2104
  })
2105
2105
  ])), n;
2106
2106
  };
2107
- class x {
2107
+ class A {
2108
2108
  constructor(e, r) {
2109
2109
  _(this, "nodeType", "NODE"), _(this, "rawData"), _(this, "data"), _(this, "emitter", re), _(this, "parent"), _(this, "materialsModel"), _(this, "listenerHandle"), _(this, "onChangeCbQueue"), this.rawData = JSON.parse(JSON.stringify(e)), Af(e);
2110
2110
  const n = (r == null ? void 0 : r.materials) || new ft([]);
@@ -2138,7 +2138,7 @@ class x {
2138
2138
  ...this.export("design"),
2139
2139
  id: e || Z()
2140
2140
  };
2141
- return new x(r, {
2141
+ return new A(r, {
2142
2142
  materials: this.materialsModel
2143
2143
  });
2144
2144
  }
@@ -2190,7 +2190,7 @@ class x {
2190
2190
  Object.keys(n.props || {}).forEach((l) => {
2191
2191
  o[l] = n.props[l].export(e);
2192
2192
  });
2193
- const a = (r = n.children) == null ? void 0 : r.map((l) => l instanceof x ? l.export(e) : l), i = n.configure || {}, s = i.propsSetter || {}, c = {};
2193
+ const a = (r = n.children) == null ? void 0 : r.map((l) => l instanceof A ? l.export(e) : l), i = n.configure || {}, s = i.propsSetter || {}, c = {};
2194
2194
  Object.keys(s).forEach((l) => {
2195
2195
  const p = qn(s, l, !1);
2196
2196
  p && (c[l] = p);
@@ -2218,7 +2218,7 @@ const mn = (t, e, r) => {
2218
2218
  })
2219
2219
  };
2220
2220
  let o = [];
2221
- R(t.children) ? o = t.children.map((i) => i instanceof x ? i : F(i) ? new x(i, { parent: e, materials: r }) : i) : t.children instanceof x ? o.push(t.children) : t.children && F(t.children) && o.push(new x(t.children, { parent: e, materials: r }));
2221
+ R(t.children) ? o = t.children.map((i) => i instanceof A ? i : F(i) ? new A(i, { parent: e, materials: r }) : i) : t.children instanceof A ? o.push(t.children) : t.children && F(t.children) && o.push(new A(t.children, { parent: e, materials: r }));
2222
2222
  const a = Object.keys(t.props || {});
2223
2223
  return a.length && a.forEach((i) => {
2224
2224
  var s;
@@ -2335,7 +2335,7 @@ function If(t, e) {
2335
2335
  if (n && e(n))
2336
2336
  return n;
2337
2337
  const o = (n == null ? void 0 : n.props) || {}, a = (s) => {
2338
- if (s instanceof x) {
2338
+ if (s instanceof A) {
2339
2339
  r.push(s);
2340
2340
  return;
2341
2341
  }
@@ -2358,7 +2358,7 @@ function If(t, e) {
2358
2358
  }
2359
2359
  };
2360
2360
  a(o);
2361
- const i = (n == null ? void 0 : n.value.children.filter((s) => s instanceof x)) || [];
2361
+ const i = (n == null ? void 0 : n.value.children.filter((s) => s instanceof A)) || [];
2362
2362
  r.push(...i);
2363
2363
  }
2364
2364
  }
@@ -2473,28 +2473,31 @@ class ft {
2473
2473
  }
2474
2474
  }
2475
2475
  const Uf = w({
2476
- version: h(),
2477
- name: h(),
2478
- css: v(h()),
2479
- renderType: v(B([L(
2476
+ version: m(),
2477
+ name: m(),
2478
+ css: h(m()),
2479
+ renderType: h(B([L(
2480
2480
  "COMPONENT"
2481
2481
  /* COMPONENT */
2482
2482
  ), L(
2483
2483
  "PAGE"
2484
2484
  /* PAGE */
2485
2485
  )])),
2486
- methods: v(M($f)),
2487
- componentsMeta: M(
2486
+ loadType: h(T()),
2487
+ lifecycle: h(T()),
2488
+ props: h(T()),
2489
+ methods: h(P($f)),
2490
+ componentsMeta: P(
2488
2491
  Or(
2489
2492
  w({
2490
- componentName: h()
2493
+ componentName: m()
2491
2494
  }),
2492
2495
  wr
2493
2496
  )
2494
2497
  ),
2495
- thirdLibs: v(gf),
2498
+ thirdLibs: h(gf),
2496
2499
  componentsTree: Nf,
2497
- assets: v(M(P()))
2500
+ assets: h(P(T()))
2498
2501
  }), Co = (t) => ($r({
2499
2502
  data: t,
2500
2503
  dataStruct: Uf,
@@ -2568,7 +2571,7 @@ class de {
2568
2571
  return !1;
2569
2572
  }
2570
2573
  createNode(e) {
2571
- return delete e.id, new x(e, {
2574
+ return delete e.id, new A(e, {
2572
2575
  parent: null,
2573
2576
  materials: this.materialsModel
2574
2577
  });
@@ -2580,7 +2583,7 @@ class de {
2580
2583
  copyNode(e) {
2581
2584
  const r = e.export("design");
2582
2585
  r.id = Z();
2583
- const n = new x(r, {
2586
+ const n = new A(r, {
2584
2587
  parent: e.parent,
2585
2588
  materials: this.materialsModel
2586
2589
  });
@@ -2588,7 +2591,7 @@ class de {
2588
2591
  }
2589
2592
  copyNodeById(e) {
2590
2593
  const r = this.getNode(e);
2591
- return r && r instanceof x ? this.copyNode(r) : !1;
2594
+ return r && r instanceof A ? this.copyNode(r) : !1;
2592
2595
  }
2593
2596
  moveNode(e, r, n) {
2594
2597
  this.deleteNode(e);
@@ -2597,7 +2600,7 @@ class de {
2597
2600
  }
2598
2601
  moveNodeById(e, r, n) {
2599
2602
  const o = this.getNode(e), a = this.getNode(r);
2600
- return o && a && o instanceof x && a instanceof x ? this.moveNode(o, a, n) : !1;
2603
+ return o && a && o instanceof A && a instanceof A ? this.moveNode(o, a, n) : !1;
2601
2604
  }
2602
2605
  // replaceNode(targetNode, node) {}
2603
2606
  deleteNode(e) {
@@ -2609,7 +2612,7 @@ class de {
2609
2612
  const o = n.value.value, a = o.findIndex((s) => s === e), i = o[a];
2610
2613
  return o.splice(a, 1), (r = n.parent) == null || r.updateValue(), i;
2611
2614
  }
2612
- if (n instanceof x || n instanceof Xt) {
2615
+ if (n instanceof A || n instanceof Xt) {
2613
2616
  const o = n.value.children, a = o.findIndex((s) => s === e), i = o[a];
2614
2617
  return o.splice(a, 1), n.updateValue(), i;
2615
2618
  }
@@ -2656,15 +2659,15 @@ var Vf = typeof self == "object" && self && self.Object === Object && self, zf =
2656
2659
  const Pt = zf;
2657
2660
  var Gf = Pt.Symbol;
2658
2661
  const Ct = Gf;
2659
- var $o = Object.prototype, Hf = $o.hasOwnProperty, Wf = $o.toString, kt = Ct ? Ct.toStringTag : void 0;
2660
- function Jf(t) {
2662
+ var $o = Object.prototype, Hf = $o.hasOwnProperty, Jf = $o.toString, kt = Ct ? Ct.toStringTag : void 0;
2663
+ function Wf(t) {
2661
2664
  var e = Hf.call(t, kt), r = t[kt];
2662
2665
  try {
2663
2666
  t[kt] = void 0;
2664
2667
  var n = !0;
2665
2668
  } catch {
2666
2669
  }
2667
- var o = Wf.call(t);
2670
+ var o = Jf.call(t);
2668
2671
  return n && (e ? t[kt] = r : delete t[kt]), o;
2669
2672
  }
2670
2673
  var Qf = Object.prototype, Yf = Qf.toString;
@@ -2673,7 +2676,7 @@ function qf(t) {
2673
2676
  }
2674
2677
  var Kf = "[object Null]", Xf = "[object Undefined]", vn = Ct ? Ct.toStringTag : void 0;
2675
2678
  function ne(t) {
2676
- return t == null ? t === void 0 ? Xf : Kf : vn && vn in Object(t) ? Jf(t) : qf(t);
2679
+ return t == null ? t === void 0 ? Xf : Kf : vn && vn in Object(t) ? Wf(t) : qf(t);
2677
2680
  }
2678
2681
  function Rt(t) {
2679
2682
  return t != null && typeof t == "object";
@@ -2880,7 +2883,7 @@ function Hp(t, e, r) {
2880
2883
  var n = typeof e;
2881
2884
  return (n == "number" ? Pr(r) && To(e, r.length) : n == "string" && e in r) ? je(r[e], t) : !1;
2882
2885
  }
2883
- function Wp(t) {
2886
+ function Jp(t) {
2884
2887
  return zp(function(e, r) {
2885
2888
  var n = -1, o = r.length, a = o > 1 ? r[o - 1] : void 0, i = o > 2 ? r[2] : void 0;
2886
2889
  for (a = t.length > 3 && typeof a == "function" ? (o--, a) : void 0, i && Hp(r[0], r[1], i) && (a = o < 3 ? void 0 : a, o = 1), e = Object(e); ++n < o; ) {
@@ -2890,9 +2893,9 @@ function Wp(t) {
2890
2893
  return e;
2891
2894
  });
2892
2895
  }
2893
- var Jp = Object.prototype;
2896
+ var Wp = Object.prototype;
2894
2897
  function Mo(t) {
2895
- var e = t && t.constructor, r = typeof e == "function" && e.prototype || Jp;
2898
+ var e = t && t.constructor, r = typeof e == "function" && e.prototype || Wp;
2896
2899
  return t === r;
2897
2900
  }
2898
2901
  function Qp(t, e) {
@@ -2981,7 +2984,7 @@ function Vd(t) {
2981
2984
  return this.size -= e ? 1 : 0, e;
2982
2985
  }
2983
2986
  var zd = "__lodash_hash_undefined__", Gd = Object.prototype, Hd = Gd.hasOwnProperty;
2984
- function Wd(t) {
2987
+ function Jd(t) {
2985
2988
  var e = this.__data__;
2986
2989
  if (Zt) {
2987
2990
  var r = e[t];
@@ -2989,7 +2992,7 @@ function Wd(t) {
2989
2992
  }
2990
2993
  return Hd.call(e, t) ? e[t] : void 0;
2991
2994
  }
2992
- var Jd = Object.prototype, Qd = Jd.hasOwnProperty;
2995
+ var Wd = Object.prototype, Qd = Wd.hasOwnProperty;
2993
2996
  function Yd(t) {
2994
2997
  var e = this.__data__;
2995
2998
  return Zt ? e[t] !== void 0 : Qd.call(e, t);
@@ -3008,7 +3011,7 @@ function pt(t) {
3008
3011
  }
3009
3012
  pt.prototype.clear = kd;
3010
3013
  pt.prototype.delete = Vd;
3011
- pt.prototype.get = Wd;
3014
+ pt.prototype.get = Jd;
3012
3015
  pt.prototype.has = Yd;
3013
3016
  pt.prototype.set = Kd;
3014
3017
  function Xd() {
@@ -3127,7 +3130,7 @@ function zo(t) {
3127
3130
  function Nh(t) {
3128
3131
  return t.split("");
3129
3132
  }
3130
- var Go = "\\ud800-\\udfff", xh = "\\u0300-\\u036f", Th = "\\ufe20-\\ufe2f", Ah = "\\u20d0-\\u20ff", Mh = xh + Th + Ah, Ph = "\\ufe0e\\ufe0f", Rh = "[" + Go + "]", Ke = "[" + Mh + "]", Xe = "\\ud83c[\\udffb-\\udfff]", Ih = "(?:" + Ke + "|" + Xe + ")", Ho = "[^" + Go + "]", Wo = "(?:\\ud83c[\\udde6-\\uddff]){2}", Jo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Dh = "\\u200d", Qo = Ih + "?", Yo = "[" + Ph + "]?", Lh = "(?:" + Dh + "(?:" + [Ho, Wo, Jo].join("|") + ")" + Yo + Qo + ")*", Bh = Yo + Qo + Lh, Fh = "(?:" + [Ho + Ke + "?", Ke, Wo, Jo, Rh].join("|") + ")", Uh = RegExp(Xe + "(?=" + Xe + ")|" + Fh + Bh, "g");
3133
+ var Go = "\\ud800-\\udfff", xh = "\\u0300-\\u036f", Th = "\\ufe20-\\ufe2f", Ah = "\\u20d0-\\u20ff", Mh = xh + Th + Ah, Ph = "\\ufe0e\\ufe0f", Rh = "[" + Go + "]", Ke = "[" + Mh + "]", Xe = "\\ud83c[\\udffb-\\udfff]", Ih = "(?:" + Ke + "|" + Xe + ")", Ho = "[^" + Go + "]", Jo = "(?:\\ud83c[\\udde6-\\uddff]){2}", Wo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Dh = "\\u200d", Qo = Ih + "?", Yo = "[" + Ph + "]?", Lh = "(?:" + Dh + "(?:" + [Ho, Jo, Wo].join("|") + ")" + Yo + Qo + ")*", Bh = Yo + Qo + Lh, Fh = "(?:" + [Ho + Ke + "?", Ke, Jo, Wo, Rh].join("|") + ")", Uh = RegExp(Xe + "(?=" + Xe + ")|" + Fh + Bh, "g");
3131
3134
  function kh(t) {
3132
3135
  return t.match(Uh) || [];
3133
3136
  }
@@ -3143,10 +3146,10 @@ function zh(t) {
3143
3146
  }
3144
3147
  var Gh = zh("toUpperCase");
3145
3148
  const Hh = Gh;
3146
- function Wh(t) {
3149
+ function Jh(t) {
3147
3150
  return Hh(Uo(t).toLowerCase());
3148
3151
  }
3149
- function Jh() {
3152
+ function Wh() {
3150
3153
  this.__data__ = new rt(), this.size = 0;
3151
3154
  }
3152
3155
  function Qh(t) {
@@ -3174,7 +3177,7 @@ function Dt(t) {
3174
3177
  var e = this.__data__ = new rt(t);
3175
3178
  this.size = e.size;
3176
3179
  }
3177
- Dt.prototype.clear = Jh;
3180
+ Dt.prototype.clear = Wh;
3178
3181
  Dt.prototype.delete = Qh;
3179
3182
  Dt.prototype.get = Yh;
3180
3183
  Dt.prototype.has = qh;
@@ -3232,8 +3235,8 @@ function lm(t, e, r, n, o, a, i) {
3232
3235
  }
3233
3236
  var l = a ? a(s, c, r + "", t, e, i) : void 0, p = l === void 0;
3234
3237
  if (p) {
3235
- var f = Et(c), d = !f && Io(c), m = !f && !d && Lo(c);
3236
- l = c, f || d || m ? Et(s) ? l = s : cm(s) ? l = Cp(s) : d ? (p = !1, l = tm(c, !0)) : m ? (p = !1, l = nm(c, !0)) : l = [] : $t(c) || qe(c) ? (l = s, qe(s) ? l = um(s) : (!vt(s) || Tr(s)) && (l = om(c))) : p = !1;
3238
+ var f = Et(c), d = !f && Io(c), v = !f && !d && Lo(c);
3239
+ l = c, f || d || v ? Et(s) ? l = s : cm(s) ? l = Cp(s) : d ? (p = !1, l = tm(c, !0)) : v ? (p = !1, l = nm(c, !0)) : l = [] : $t(c) || qe(c) ? (l = s, qe(s) ? l = um(s) : (!vt(s) || Tr(s)) && (l = om(c))) : p = !1;
3237
3240
  }
3238
3241
  p && (i.set(c, l), o(l, c, n, a, i), i.delete(c)), Ze(t, r, l);
3239
3242
  }
@@ -3247,7 +3250,7 @@ function Ko(t, e, r, n, o) {
3247
3250
  }
3248
3251
  }, Bo);
3249
3252
  }
3250
- var fm = Wp(function(t, e, r) {
3253
+ var fm = Jp(function(t, e, r) {
3251
3254
  Ko(t, e, r);
3252
3255
  });
3253
3256
  const pm = fm, Zm = function(t) {
@@ -3314,7 +3317,7 @@ return $$_run_$$();
3314
3317
  let n = r.replace("-webkit", "Webkit");
3315
3318
  n = n.replace("-ms", "ms"), n = n.replace("-moz", "Moz"), n = n.replace("-o", "O");
3316
3319
  let o = n.split("-");
3317
- o.length >= 2 && (o = o.map((a, i) => i !== 0 ? Wh(a) : a)), e[o.join("")] = t[r];
3320
+ o.length >= 2 && (o = o.map((a, i) => i !== 0 ? Jh(a) : a)), e[o.join("")] = t[r];
3318
3321
  }), e;
3319
3322
  }, Pn = (t) => {
3320
3323
  let e = "";
@@ -3475,9 +3478,9 @@ class jm {
3475
3478
  processNodeConfigHook: u
3476
3479
  }) {
3477
3480
  this.renderMode = c, this.components = r, this.onGetRef = n, this.onGetComponent = a, this.onComponentMount = i, this.onComponentDestroy = s, this.processNodeConfigHook = u;
3478
- const l = e.value.componentsTree, p = this.getComponent(l), f = this.convertModelToComponent(p, e.value.componentsTree), d = {}, m = l.props;
3479
- return Object.keys(m).forEach((g) => {
3480
- d[g] = m[g].value;
3481
+ const l = e.value.componentsTree, p = this.getComponent(l), f = this.convertModelToComponent(p, e.value.componentsTree), d = {}, v = l.props;
3482
+ return Object.keys(v).forEach((g) => {
3483
+ d[g] = v[g].value;
3481
3484
  }), d.$$context = o, this.render(f, d);
3482
3485
  }
3483
3486
  transformProps(e = {}, {
@@ -3500,17 +3503,17 @@ class jm {
3500
3503
  key: p,
3501
3504
  component: this.runtimeComponentCache.get(l.id)
3502
3505
  };
3503
- const f = this.getComponent(l), d = this.convertModelToComponent(f, l), m = s.params || [];
3506
+ const f = this.getComponent(l), d = this.convertModelToComponent(f, l), v = s.params || [];
3504
3507
  return {
3505
3508
  component: (...S) => {
3506
- const j = An(S, m), A = this.getContext(
3509
+ const j = An(S, v), x = this.getContext(
3507
3510
  {
3508
3511
  params: j
3509
3512
  },
3510
3513
  r
3511
3514
  );
3512
3515
  return this.render(d, {
3513
- $$context: A,
3516
+ $$context: x,
3514
3517
  key: p
3515
3518
  });
3516
3519
  },
@@ -3599,12 +3602,12 @@ class jm {
3599
3602
  const p = `${this.UNIQUE_ID}_${l.state}`;
3600
3603
  let f = `.${c.class}`;
3601
3604
  if (l.state !== "normal" && (f = `${f}:${l.state}`), Object.keys(l.style).length !== 0) {
3602
- const m = this.getStyleDomById(p);
3603
- m.innerText = `${f} { ${Pn(l.style)} }`, s == null || s.appendChild(m);
3605
+ const v = this.getStyleDomById(p);
3606
+ v.innerText = `${f} { ${Pn(l.style)} }`, s == null || s.appendChild(v);
3604
3607
  }
3605
- (d = l.media) != null && d.length && l.media.forEach((m) => {
3606
- const g = `${p}_${m.type}_${m.value}`, b = this.getStyleDomById(g);
3607
- b.media = `screen and (${m.type}:${m.value}px)`, b.innerHTML = `${f} { ${Pn(m.style)} }`, s == null || s.appendChild(b);
3608
+ (d = l.media) != null && d.length && l.media.forEach((v) => {
3609
+ const g = `${p}_${v.type}_${v.value}`, b = this.getStyleDomById(g);
3610
+ b.media = `screen and (${v.type}:${v.value}px)`, b.innerHTML = `${f} { ${Pn(v.style)} }`, s == null || s.appendChild(b);
3608
3611
  });
3609
3612
  });
3610
3613
  });
@@ -3647,7 +3650,7 @@ class jm {
3647
3650
  );
3648
3651
  let u = [];
3649
3652
  [...s, ...c].map((f) => {
3650
- const d = f.val, m = [
3653
+ const d = f.val, v = [
3651
3654
  /\$\$context.stateManager\.(.+?)\./gim,
3652
3655
  /\$\$context.stateManager\["(.+?)"\]/gim,
3653
3656
  /\$\$context.stateManager\['(.+?)'\]/gim,
@@ -3655,16 +3658,16 @@ class jm {
3655
3658
  /getStateObj\("(.+?)"\)/gim,
3656
3659
  /getStateById\('(.+?)'\)/gim,
3657
3660
  /getStateById\("(.+?)"\)/gim
3658
- ], g = gm(d.value, m);
3661
+ ], g = gm(d.value, v);
3659
3662
  u = [...u, ...g];
3660
3663
  }).filter(Boolean);
3661
3664
  const l = Array.from(new Set(u)), p = [];
3662
3665
  l.length && l.forEach((f) => {
3663
3666
  n.storeManager.getStore(f) || (n.storeManager.addStore(f, () => ({})), console.warn(n.storeManager, f, "not exits"));
3664
- const m = n.storeManager.connect(f, () => {
3667
+ const v = n.storeManager.connect(f, () => {
3665
3668
  this.forceUpdate();
3666
3669
  });
3667
- p.push(m);
3670
+ p.push(v);
3668
3671
  }), this.storeListenDisposeList = p;
3669
3672
  }
3670
3673
  componentDidMount() {
@@ -3769,10 +3772,10 @@ class jm {
3769
3772
  }
3770
3773
  const j = n.transformProps(l, {
3771
3774
  $$context: f
3772
- }), { children: A } = j;
3773
- let T = [];
3774
- if (A !== void 0)
3775
- delete j.children, T = Array.isArray(A) ? A : [A];
3775
+ }), { children: x } = j;
3776
+ let M = [];
3777
+ if (x !== void 0)
3778
+ delete j.children, M = Array.isArray(x) ? x : [x];
3776
3779
  else {
3777
3780
  const I = [];
3778
3781
  r.value.children.forEach((Bt, gt) => {
@@ -3781,7 +3784,7 @@ class jm {
3781
3784
  idx: gt
3782
3785
  });
3783
3786
  I.push(Ee);
3784
- }), T = I;
3787
+ }), M = I;
3785
3788
  }
3786
3789
  j.ref = this.targetComponentRef;
3787
3790
  const D = ((oe = r.value.classNames) == null ? void 0 : oe.map((I) => {
@@ -3802,7 +3805,7 @@ class jm {
3802
3805
  props: j
3803
3806
  };
3804
3807
  n.processNodeConfigHook && (ot = n.processNodeConfigHook(ot, r));
3805
- const it = n.render(e, ot.props, ...T);
3808
+ const it = n.render(e, ot.props, ...M);
3806
3809
  return this._CONDITION = ot.condition, ot.condition ? it : O.createElement(
3807
3810
  "div",
3808
3811
  {
@@ -4182,7 +4185,7 @@ class Hm {
4182
4185
  this.refMap.clear();
4183
4186
  }
4184
4187
  }
4185
- class Wm extends O.Component {
4188
+ class Jm extends O.Component {
4186
4189
  constructor(r) {
4187
4190
  super(r);
4188
4191
  y(this, "refManager");
@@ -4250,7 +4253,7 @@ const av = () => {
4250
4253
  }
4251
4254
  };
4252
4255
  };
4253
- class Jm extends O.Component {
4256
+ class Wm extends O.Component {
4254
4257
  constructor(r) {
4255
4258
  super(r);
4256
4259
  y(this, "onDoubleClick", () => {
@@ -4363,8 +4366,6 @@ const Ym = (t) => {
4363
4366
  fontSize: "14px",
4364
4367
  color: "gray",
4365
4368
  cursor: "default",
4366
- minWidth: "300px",
4367
- minHeight: "50px",
4368
4369
  width: a,
4369
4370
  height: o,
4370
4371
  ...i
@@ -4404,18 +4405,23 @@ class sv extends O.Component {
4404
4405
  this._STATUS = "DESTROY", o.instanceManager.remove(n.id, this);
4405
4406
  }
4406
4407
  render() {
4407
- const { children: f = [], onlyRenderChild: d, ...m } = this.props;
4408
+ var S, j;
4409
+ const { children: f = [], onlyRenderChild: d, ...v } = this.props;
4408
4410
  let g = f;
4409
- return Et(f) || (g = [f]), !!!g.filter(Boolean).length && (n.isContainer() || n.value.componentName === Mt.ROOT_CONTAINER) && g.push(
4410
- O.createElement(o.dropPlaceholder, {
4411
- node: n
4412
- })
4413
- ), d ? g : O.createElement(a, m, ...g);
4411
+ if (Et(f) || (g = [f]), !!!g.filter(Boolean).length && (n.isContainer() || n.value.componentName === Mt.ROOT_CONTAINER)) {
4412
+ const x = (j = (S = n.material) == null ? void 0 : S.value.advanceCustom) == null ? void 0 : j.dropPlaceholder;
4413
+ g.push(
4414
+ O.createElement(x || o.dropPlaceholder, {
4415
+ node: n
4416
+ })
4417
+ );
4418
+ }
4419
+ return d ? g : O.createElement(a, v, ...g);
4414
4420
  }
4415
4421
  }
4416
4422
  return O.forwardRef(function(p, f) {
4417
4423
  return O.createElement(
4418
- Jm,
4424
+ Wm,
4419
4425
  {
4420
4426
  node: n,
4421
4427
  targetComponent: s
@@ -4472,17 +4478,17 @@ class sv extends O.Component {
4472
4478
  }
4473
4479
  render() {
4474
4480
  const { props: r, onGetComponent: n } = this, { render: o, ...a } = r;
4475
- return o && (o.ref.current = this), O.createElement(Wm, {
4481
+ return o && (o.ref.current = this), O.createElement(Jm, {
4476
4482
  onGetComponent: n,
4477
4483
  ...a,
4478
4484
  // 拦截特殊属性配置, 配合开发模式使用
4479
4485
  processNodeConfigHook: (i, s) => {
4480
- var m, g;
4486
+ var v, g;
4481
4487
  if (s.nodeType !== "NODE")
4482
4488
  return i;
4483
4489
  const { props: c, condition: u } = i;
4484
4490
  let l = { ...c };
4485
- const p = ((m = s.value.configure) == null ? void 0 : m.devState) || {}, f = (g = s.material) == null ? void 0 : g.value.fixedProps;
4491
+ const p = ((v = s.value.configure) == null ? void 0 : v.devState) || {}, f = (g = s.material) == null ? void 0 : g.value.fixedProps;
4486
4492
  if (f !== void 0) {
4487
4493
  if ($t(f))
4488
4494
  l = {
@@ -4550,39 +4556,39 @@ var na = { exports: {} };
4550
4556
  }, n = {}, o = {}, a = {};
4551
4557
  function i(f, d) {
4552
4558
  f = f.push ? f : [f];
4553
- var m = [], g = f.length, b = g, S, j, A, T;
4559
+ var v = [], g = f.length, b = g, S, j, x, M;
4554
4560
  for (S = function(D, k) {
4555
- k.length && m.push(D), b--, b || d(m);
4561
+ k.length && v.push(D), b--, b || d(v);
4556
4562
  }; g--; ) {
4557
- if (j = f[g], A = o[j], A) {
4558
- S(j, A);
4563
+ if (j = f[g], x = o[j], x) {
4564
+ S(j, x);
4559
4565
  continue;
4560
4566
  }
4561
- T = a[j] = a[j] || [], T.push(S);
4567
+ M = a[j] = a[j] || [], M.push(S);
4562
4568
  }
4563
4569
  }
4564
4570
  function s(f, d) {
4565
4571
  if (f) {
4566
- var m = a[f];
4567
- if (o[f] = d, !!m)
4568
- for (; m.length; )
4569
- m[0](f, d), m.splice(0, 1);
4572
+ var v = a[f];
4573
+ if (o[f] = d, !!v)
4574
+ for (; v.length; )
4575
+ v[0](f, d), v.splice(0, 1);
4570
4576
  }
4571
4577
  }
4572
4578
  function c(f, d) {
4573
4579
  f.call && (f = { success: f }), d.length ? (f.error || r)(d) : (f.success || r)(f);
4574
4580
  }
4575
- function u(f, d, m, g) {
4576
- var b = document, S = m.async, j = (m.numRetries || 0) + 1, A = m.before || r, T = f.replace(/[\?|#].*$/, ""), D = f.replace(/^(css|img|module|nomodule)!/, ""), k, Lt, C;
4577
- if (g = g || 0, /(^css!|\.css$)/.test(T))
4581
+ function u(f, d, v, g) {
4582
+ var b = document, S = v.async, j = (v.numRetries || 0) + 1, x = v.before || r, M = f.replace(/[\?|#].*$/, ""), D = f.replace(/^(css|img|module|nomodule)!/, ""), k, Lt, C;
4583
+ if (g = g || 0, /(^css!|\.css$)/.test(M))
4578
4584
  C = b.createElement("link"), C.rel = "stylesheet", C.href = D, k = "hideFocus" in C, k && C.relList && (k = 0, C.rel = "preload", C.as = "style");
4579
- else if (/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(T))
4585
+ else if (/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(M))
4580
4586
  C = b.createElement("img"), C.src = D;
4581
- else if (C = b.createElement("script"), C.src = D, C.async = S === void 0 ? !0 : S, Lt = "noModule" in C, /^module!/.test(T)) {
4587
+ else if (C = b.createElement("script"), C.src = D, C.async = S === void 0 ? !0 : S, Lt = "noModule" in C, /^module!/.test(M)) {
4582
4588
  if (!Lt)
4583
4589
  return d(f, "l");
4584
4590
  C.type = "module";
4585
- } else if (/^nomodule!/.test(T) && Lt)
4591
+ } else if (/^nomodule!/.test(M) && Lt)
4586
4592
  return d(f, "l");
4587
4593
  C.onload = C.onerror = C.onbeforeload = function(ot) {
4588
4594
  var it = ot.type[0];
@@ -4594,44 +4600,44 @@ var na = { exports: {} };
4594
4600
  }
4595
4601
  if (it == "e") {
4596
4602
  if (g += 1, g < j)
4597
- return u(f, d, m, g);
4603
+ return u(f, d, v, g);
4598
4604
  } else if (C.rel == "preload" && C.as == "style")
4599
4605
  return C.rel = "stylesheet";
4600
4606
  d(f, it, ot.defaultPrevented);
4601
- }, A(f, C) !== !1 && b.head.appendChild(C);
4607
+ }, x(f, C) !== !1 && b.head.appendChild(C);
4602
4608
  }
4603
- function l(f, d, m) {
4609
+ function l(f, d, v) {
4604
4610
  f = f.push ? f : [f];
4605
- var g = f.length, b = g, S = [], j, A;
4606
- for (j = function(T, D, k) {
4607
- if (D == "e" && S.push(T), D == "b")
4611
+ var g = f.length, b = g, S = [], j, x;
4612
+ for (j = function(M, D, k) {
4613
+ if (D == "e" && S.push(M), D == "b")
4608
4614
  if (k)
4609
- S.push(T);
4615
+ S.push(M);
4610
4616
  else
4611
4617
  return;
4612
4618
  g--, g || d(S);
4613
- }, A = 0; A < b; A++)
4614
- u(f[A], j, m);
4619
+ }, x = 0; x < b; x++)
4620
+ u(f[x], j, v);
4615
4621
  }
4616
- function p(f, d, m) {
4622
+ function p(f, d, v) {
4617
4623
  var g, b;
4618
- if (d && d.trim && (g = d), b = (g ? m : d) || {}, g) {
4624
+ if (d && d.trim && (g = d), b = (g ? v : d) || {}, g) {
4619
4625
  if (g in n)
4620
4626
  throw "LoadJS";
4621
4627
  n[g] = !0;
4622
4628
  }
4623
- function S(j, A) {
4624
- l(f, function(T) {
4625
- c(b, T), j && c({ success: j, error: A }, T), s(g, T);
4629
+ function S(j, x) {
4630
+ l(f, function(M) {
4631
+ c(b, M), j && c({ success: j, error: x }, M), s(g, M);
4626
4632
  }, b);
4627
4633
  }
4628
4634
  if (b.returnPromise)
4629
4635
  return new Promise(S);
4630
4636
  S();
4631
4637
  }
4632
- return p.ready = function(d, m) {
4638
+ return p.ready = function(d, v) {
4633
4639
  return i(d, function(g) {
4634
- c(m, g);
4640
+ c(v, g);
4635
4641
  }), p;
4636
4642
  }, p.done = function(d) {
4637
4643
  s(d, []);
@@ -4693,7 +4699,7 @@ export {
4693
4699
  jm as DefineReactAdapter,
4694
4700
  sv as DesignRender,
4695
4701
  ov as ReactAdapter,
4696
- Wm as Render,
4702
+ Jm as Render,
4697
4703
  hm as canAcceptsRef,
4698
4704
  tv as collectVariable,
4699
4705
  mm as compWrapper,