@chamn/render 0.0.15 → 0.0.16

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
@@ -83,12 +83,12 @@ function W(t) {
83
83
  function rr(t) {
84
84
  return t;
85
85
  }
86
- var Ta = "[object AsyncFunction]", Aa = "[object Function]", Ma = "[object GeneratorFunction]", Pa = "[object Proxy]";
86
+ var Ta = "[object AsyncFunction]", Ma = "[object Function]", Aa = "[object GeneratorFunction]", Pa = "[object Proxy]";
87
87
  function nr(t) {
88
88
  if (!W(t))
89
89
  return !1;
90
90
  var e = ht(t);
91
- return e == Aa || e == Ma || e == Ta || e == Pa;
91
+ return e == Ma || e == Aa || e == Ta || e == Pa;
92
92
  }
93
93
  var Ra = K["__core-js_shared__"];
94
94
  const $e = Ra;
@@ -322,9 +322,9 @@ function Es() {
322
322
  }
323
323
  var Gn = typeof exports == "object" && exports && !exports.nodeType && exports, zr = Gn && typeof module == "object" && module && !module.nodeType && module, Ns = zr && zr.exports === Gn, Gr = Ns ? K.Buffer : void 0, xs = Gr ? Gr.isBuffer : void 0, $s = xs || Es;
324
324
  const Wt = $s;
325
- var Ts = "[object Arguments]", As = "[object Array]", Ms = "[object Boolean]", Ps = "[object Date]", Rs = "[object Error]", Is = "[object Function]", Ds = "[object Map]", Ls = "[object Number]", Fs = "[object Object]", Bs = "[object RegExp]", Us = "[object Set]", ks = "[object String]", Vs = "[object WeakMap]", zs = "[object ArrayBuffer]", Gs = "[object DataView]", Hs = "[object Float32Array]", Js = "[object Float64Array]", Ws = "[object Int8Array]", Qs = "[object Int16Array]", qs = "[object Int32Array]", Ys = "[object Uint8Array]", Ks = "[object Uint8ClampedArray]", Xs = "[object Uint16Array]", Zs = "[object Uint32Array]", N = {};
325
+ var Ts = "[object Arguments]", Ms = "[object Array]", As = "[object Boolean]", Ps = "[object Date]", Rs = "[object Error]", Is = "[object Function]", Ds = "[object Map]", Ls = "[object Number]", Fs = "[object Object]", Bs = "[object RegExp]", Us = "[object Set]", ks = "[object String]", Vs = "[object WeakMap]", zs = "[object ArrayBuffer]", Gs = "[object DataView]", Hs = "[object Float32Array]", Js = "[object Float64Array]", Ws = "[object Int8Array]", Qs = "[object Int16Array]", qs = "[object Int32Array]", Ys = "[object Uint8Array]", Ks = "[object Uint8ClampedArray]", Xs = "[object Uint16Array]", Zs = "[object Uint32Array]", N = {};
326
326
  N[Hs] = N[Js] = N[Ws] = N[Qs] = N[qs] = N[Ys] = N[Ks] = N[Xs] = N[Zs] = !0;
327
- N[Ts] = N[As] = N[zs] = N[Ms] = N[Gs] = N[Ps] = N[Rs] = N[Is] = N[Ds] = N[Ls] = N[Fs] = N[Bs] = N[Us] = N[ks] = N[Vs] = !1;
327
+ N[Ts] = N[Ms] = N[zs] = N[As] = N[Gs] = N[Ps] = N[Rs] = N[Is] = N[Ds] = N[Ls] = N[Fs] = N[Bs] = N[Us] = N[ks] = N[Vs] = !1;
328
328
  function ti(t) {
329
329
  return Y(t) && sr(t.length) && !!N[ht(t)];
330
330
  }
@@ -448,13 +448,13 @@ function ye(t, e) {
448
448
  return r;
449
449
  return -1;
450
450
  }
451
- var Ti = Array.prototype, Ai = Ti.splice;
452
- function Mi(t) {
451
+ var Ti = Array.prototype, Mi = Ti.splice;
452
+ function Ai(t) {
453
453
  var e = this.__data__, r = ye(e, t);
454
454
  if (r < 0)
455
455
  return !1;
456
456
  var n = e.length - 1;
457
- return r == n ? e.pop() : Ai.call(e, r, 1), --this.size, !0;
457
+ return r == n ? e.pop() : Mi.call(e, r, 1), --this.size, !0;
458
458
  }
459
459
  function Pi(t) {
460
460
  var e = this.__data__, r = ye(e, t);
@@ -475,7 +475,7 @@ function tt(t) {
475
475
  }
476
476
  }
477
477
  tt.prototype.clear = $i;
478
- tt.prototype.delete = Mi;
478
+ tt.prototype.delete = Ai;
479
479
  tt.prototype.get = Pi;
480
480
  tt.prototype.has = Ri;
481
481
  tt.prototype.set = Ii;
@@ -706,7 +706,7 @@ var Ec = vt(K, "Promise");
706
706
  const Ue = Ec;
707
707
  var Nc = vt(K, "Set");
708
708
  const _t = Nc;
709
- var Kr = "[object Map]", xc = "[object Object]", Xr = "[object Promise]", Zr = "[object Set]", tn = "[object WeakMap]", en = "[object DataView]", $c = mt(Be), Tc = mt(qt), Ac = mt(Ue), Mc = mt(_t), Pc = mt(Le), ut = ht;
709
+ var Kr = "[object Map]", xc = "[object Object]", Xr = "[object Promise]", Zr = "[object Set]", tn = "[object WeakMap]", en = "[object DataView]", $c = mt(Be), Tc = mt(qt), Mc = mt(Ue), Ac = mt(_t), Pc = mt(Le), ut = ht;
710
710
  (Be && ut(new Be(new ArrayBuffer(1))) != en || qt && ut(new qt()) != Kr || Ue && ut(Ue.resolve()) != Xr || _t && ut(new _t()) != Zr || Le && ut(new Le()) != tn) && (ut = function(t) {
711
711
  var e = ht(t), r = e == xc ? t.constructor : void 0, n = r ? mt(r) : "";
712
712
  if (n)
@@ -715,9 +715,9 @@ var Kr = "[object Map]", xc = "[object Object]", Xr = "[object Promise]", Zr = "
715
715
  return en;
716
716
  case Tc:
717
717
  return Kr;
718
- case Ac:
719
- return Xr;
720
718
  case Mc:
719
+ return Xr;
720
+ case Ac:
721
721
  return Zr;
722
722
  case Pc:
723
723
  return tn;
@@ -802,8 +802,8 @@ function du(t) {
802
802
  }
803
803
  var an = St && St.isSet, hu = an ? cr(an) : du;
804
804
  const mu = hu;
805
- var vu = 1, gu = 2, yu = 4, no = "[object Arguments]", bu = "[object Array]", _u = "[object Boolean]", Su = "[object Date]", ju = "[object Error]", oo = "[object Function]", Ou = "[object GeneratorFunction]", wu = "[object Map]", Cu = "[object Number]", ao = "[object Object]", Eu = "[object RegExp]", Nu = "[object Set]", xu = "[object String]", $u = "[object Symbol]", Tu = "[object WeakMap]", Au = "[object ArrayBuffer]", Mu = "[object DataView]", Pu = "[object Float32Array]", Ru = "[object Float64Array]", Iu = "[object Int8Array]", Du = "[object Int16Array]", Lu = "[object Int32Array]", Fu = "[object Uint8Array]", Bu = "[object Uint8ClampedArray]", Uu = "[object Uint16Array]", ku = "[object Uint32Array]", E = {};
806
- E[no] = E[bu] = E[Au] = E[Mu] = E[_u] = E[Su] = E[Pu] = E[Ru] = E[Iu] = E[Du] = E[Lu] = E[wu] = E[Cu] = E[ao] = E[Eu] = E[Nu] = E[xu] = E[$u] = E[Fu] = E[Bu] = E[Uu] = E[ku] = !0;
805
+ var vu = 1, gu = 2, yu = 4, no = "[object Arguments]", bu = "[object Array]", _u = "[object Boolean]", Su = "[object Date]", ju = "[object Error]", oo = "[object Function]", Ou = "[object GeneratorFunction]", wu = "[object Map]", Cu = "[object Number]", ao = "[object Object]", Eu = "[object RegExp]", Nu = "[object Set]", xu = "[object String]", $u = "[object Symbol]", Tu = "[object WeakMap]", Mu = "[object ArrayBuffer]", Au = "[object DataView]", Pu = "[object Float32Array]", Ru = "[object Float64Array]", Iu = "[object Int8Array]", Du = "[object Int16Array]", Lu = "[object Int32Array]", Fu = "[object Uint8Array]", Bu = "[object Uint8ClampedArray]", Uu = "[object Uint16Array]", ku = "[object Uint32Array]", E = {};
806
+ E[no] = E[bu] = E[Mu] = E[Au] = E[_u] = E[Su] = E[Pu] = E[Ru] = E[Iu] = E[Du] = E[Lu] = E[wu] = E[Cu] = E[ao] = E[Eu] = E[Nu] = E[xu] = E[$u] = E[Fu] = E[Bu] = E[Uu] = E[ku] = !0;
807
807
  E[ju] = E[oo] = E[Tu] = !1;
808
808
  function zt(t, e, r, n, o, a) {
809
809
  var i, s = e & vu, c = e & gu, u = e & yu;
@@ -915,7 +915,7 @@ function yr(t) {
915
915
  r[++e] = n;
916
916
  }), r;
917
917
  }
918
- var Ku = 1, Xu = 2, Zu = "[object Boolean]", tl = "[object Date]", el = "[object Error]", rl = "[object Map]", nl = "[object Number]", ol = "[object RegExp]", al = "[object Set]", sl = "[object String]", il = "[object Symbol]", cl = "[object ArrayBuffer]", ul = "[object DataView]", sn = z ? z.prototype : void 0, Ae = sn ? sn.valueOf : void 0;
918
+ var Ku = 1, Xu = 2, Zu = "[object Boolean]", tl = "[object Date]", el = "[object Error]", rl = "[object Map]", nl = "[object Number]", ol = "[object RegExp]", al = "[object Set]", sl = "[object String]", il = "[object Symbol]", cl = "[object ArrayBuffer]", ul = "[object DataView]", sn = z ? z.prototype : void 0, Me = sn ? sn.valueOf : void 0;
919
919
  function ll(t, e, r, n, o, a, i) {
920
920
  switch (r) {
921
921
  case ul:
@@ -946,8 +946,8 @@ function ll(t, e, r, n, o, a, i) {
946
946
  var l = co(s(t), s(e), n, o, a, i);
947
947
  return i.delete(t), l;
948
948
  case il:
949
- if (Ae)
950
- return Ae.call(t) == Ae.call(e);
949
+ if (Me)
950
+ return Me.call(t) == Me.call(e);
951
951
  }
952
952
  return !1;
953
953
  }
@@ -970,8 +970,8 @@ function hl(t, e, r, n, o, a) {
970
970
  f = s[p];
971
971
  var S = t[f], j = e[f];
972
972
  if (n)
973
- var M = i ? n(j, S, f, e, t, a) : n(S, j, f, t, e, a);
974
- if (!(M === void 0 ? S === j || o(S, j, r, n, a) : M)) {
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)) {
975
975
  y = !1;
976
976
  break;
977
977
  }
@@ -1087,13 +1087,13 @@ function Tl(t) {
1087
1087
  return _e(e, t);
1088
1088
  };
1089
1089
  }
1090
- function Al(t) {
1090
+ function Ml(t) {
1091
1091
  return lr(t) ? $l(Tt(t)) : Tl(t);
1092
1092
  }
1093
1093
  function _r(t) {
1094
- return typeof t == "function" ? t : t == null ? rr : typeof t == "object" ? P(t) ? xl(t[0], t[1]) : jl(t) : Al(t);
1094
+ return typeof t == "function" ? t : t == null ? rr : typeof t == "object" ? P(t) ? xl(t[0], t[1]) : jl(t) : Ml(t);
1095
1095
  }
1096
- function Ml(t) {
1096
+ function Al(t) {
1097
1097
  return function(e, r, n) {
1098
1098
  for (var o = -1, a = Object(e), i = n(e), s = i.length; s--; ) {
1099
1099
  var c = i[t ? s : ++o];
@@ -1103,7 +1103,7 @@ function Ml(t) {
1103
1103
  return e;
1104
1104
  };
1105
1105
  }
1106
- var Pl = Ml();
1106
+ var Pl = Al();
1107
1107
  const Rl = Pl;
1108
1108
  function ke(t, e, r) {
1109
1109
  (r !== void 0 && !te(t[e], r) || r === void 0 && !(e in t)) && or(t, e, r);
@@ -1416,16 +1416,16 @@ class X {
1416
1416
  * contain the coerced result when successful.
1417
1417
  */
1418
1418
  validate(e, r) {
1419
- return r === void 0 && (r = {}), At(e, this, r);
1419
+ return r === void 0 && (r = {}), Mt(e, this, r);
1420
1420
  }
1421
1421
  }
1422
1422
  function go(t, e) {
1423
- const r = At(t, e);
1423
+ const r = Mt(t, e);
1424
1424
  if (r[0])
1425
1425
  throw r[0];
1426
1426
  }
1427
1427
  function uf(t, e) {
1428
- const r = At(t, e, {
1428
+ const r = Mt(t, e, {
1429
1429
  coerce: !0
1430
1430
  });
1431
1431
  if (r[0])
@@ -1433,7 +1433,7 @@ function uf(t, e) {
1433
1433
  return r[1];
1434
1434
  }
1435
1435
  function lf(t, e) {
1436
- const r = At(t, e, {
1436
+ const r = Mt(t, e, {
1437
1437
  coerce: !0,
1438
1438
  mask: !0
1439
1439
  });
@@ -1442,9 +1442,9 @@ function lf(t, e) {
1442
1442
  return r[1];
1443
1443
  }
1444
1444
  function ff(t, e) {
1445
- return !At(t, e)[0];
1445
+ return !Mt(t, e)[0];
1446
1446
  }
1447
- function At(t, e, r) {
1447
+ function Mt(t, e, r) {
1448
1448
  r === void 0 && (r = {});
1449
1449
  const n = Sr(t, e, r), o = sf(n);
1450
1450
  return o[0] ? [new vo(o[0], function* () {
@@ -1501,7 +1501,7 @@ function yo(t, e) {
1501
1501
  function I() {
1502
1502
  return st("any", () => !0);
1503
1503
  }
1504
- function A(t) {
1504
+ function M(t) {
1505
1505
  return new X({
1506
1506
  type: "array",
1507
1507
  schema: t,
@@ -1655,8 +1655,8 @@ const Or = w({
1655
1655
  destructuring: m(lt()),
1656
1656
  subName: m(h()),
1657
1657
  main: m(h()),
1658
- cssPaths: m(A(h()))
1659
- }), hf = A(Or), mf = [
1658
+ cssPaths: m(M(h()))
1659
+ }), hf = M(Or), mf = [
1660
1660
  "CBlock",
1661
1661
  "CContainer",
1662
1662
  "CImage",
@@ -1667,7 +1667,7 @@ const Or = w({
1667
1667
  "CNativeTag"
1668
1668
  ];
1669
1669
  var V = /* @__PURE__ */ ((t) => (t.SLOT = "SLOT", t.FUNCTION = "FUNCTION", t.EXPRESSION = "EXPRESSION", t))(V || {}), wr = /* @__PURE__ */ ((t) => (t.DESIGN = "design", t.SAVE = "save", t))(wr || {}), He = /* @__PURE__ */ ((t) => (t.FUNC = "FUNC", t.COMP = "COMP", t))(He || {});
1670
- const vf = () => st("normalObj", (t) => !B(t) || [V.SLOT, V.EXPRESSION, V.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (At(t, Gt(h(), Cr)), !0)), Cr = L([
1670
+ const vf = () => st("normalObj", (t) => !B(t) || [V.SLOT, V.EXPRESSION, V.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (Mt(t, Gt(h(), Cr)), !0)), Cr = L([
1671
1671
  h(),
1672
1672
  _o(),
1673
1673
  lt(),
@@ -1675,9 +1675,9 @@ const vf = () => st("normalObj", (t) => !B(t) || [V.SLOT, V.EXPRESSION, V.FUNCTI
1675
1675
  type: F(V.SLOT),
1676
1676
  renderType: Ge([He.FUNC, He.COMP]),
1677
1677
  // if renderType is Func, params will be useful
1678
- params: m(A(h())),
1678
+ params: m(M(h())),
1679
1679
  // here can't use PropsDataStructDescribe, it will caused "Maximum call stack size exceeded" error
1680
- value: jt(() => L([Ot, A(Ot)]))
1680
+ value: jt(() => L([Ot, M(Ot)]))
1681
1681
  }),
1682
1682
  w({
1683
1683
  type: F(V.EXPRESSION),
@@ -1688,7 +1688,7 @@ const vf = () => st("normalObj", (t) => !B(t) || [V.SLOT, V.EXPRESSION, V.FUNCTI
1688
1688
  value: h()
1689
1689
  }),
1690
1690
  vf(),
1691
- A(
1691
+ M(
1692
1692
  jt(() => Cr)
1693
1693
  )
1694
1694
  ]), pn = w({
@@ -1701,26 +1701,26 @@ const vf = () => st("normalObj", (t) => !B(t) || [V.SLOT, V.EXPRESSION, V.FUNCTI
1701
1701
  props: m(Gt(h(), Cr)),
1702
1702
  nodeName: m(h()),
1703
1703
  state: m(Gt(h(), I())),
1704
- children: jt(() => m(A(L([h(), Ot])))),
1704
+ children: jt(() => m(M(L([h(), Ot])))),
1705
1705
  configure: m(I()),
1706
1706
  css: m(I()),
1707
1707
  style: m(I()),
1708
- classNames: m(A(I())),
1708
+ classNames: m(M(I())),
1709
1709
  refId: m(h()),
1710
1710
  extra: m(Gt(I(), I())),
1711
1711
  condition: m(L([lt(), pn])),
1712
1712
  loop: m(
1713
1713
  w({
1714
1714
  open: lt(),
1715
- data: L([A(I()), pn]),
1716
- args: m(A(h())),
1715
+ data: L([M(I()), pn]),
1716
+ args: m(M(h())),
1717
1717
  forName: m(h()),
1718
1718
  forIndex: m(h()),
1719
1719
  key: m(I()),
1720
1720
  name: m(h())
1721
1721
  })
1722
1722
  ),
1723
- methods: m(A(I()))
1723
+ methods: m(M(I()))
1724
1724
  }), pe = L([
1725
1725
  h(),
1726
1726
  w({
@@ -1732,7 +1732,7 @@ const vf = () => st("normalObj", (t) => !B(t) || [V.SLOT, V.EXPRESSION, V.FUNCTI
1732
1732
  "shape"
1733
1733
  /* SHAPE */
1734
1734
  ),
1735
- value: A(
1735
+ value: M(
1736
1736
  w({
1737
1737
  name: h(),
1738
1738
  title: pe,
@@ -1744,7 +1744,7 @@ const vf = () => st("normalObj", (t) => !B(t) || [V.SLOT, V.EXPRESSION, V.FUNCTI
1744
1744
  "enums"
1745
1745
  /* ENUMS */
1746
1746
  ),
1747
- value: A(h())
1747
+ value: M(h())
1748
1748
  });
1749
1749
  w({
1750
1750
  type: F(
@@ -1758,7 +1758,7 @@ const bf = w({
1758
1758
  "array"
1759
1759
  /* ARRAY */
1760
1760
  ),
1761
- value: jt(() => A(Se))
1761
+ value: jt(() => M(Se))
1762
1762
  }), Se = L([
1763
1763
  Ge([
1764
1764
  "array",
@@ -1786,7 +1786,7 @@ const bf = w({
1786
1786
  initialValue: m(I()),
1787
1787
  component: m(I())
1788
1788
  })
1789
- ]), Me = w({
1789
+ ]), Ae = w({
1790
1790
  name: h(),
1791
1791
  title: pe,
1792
1792
  // 描述 name 对应值的类型
@@ -1794,7 +1794,7 @@ const bf = w({
1794
1794
  description: m(h()),
1795
1795
  defaultValue: I(),
1796
1796
  //用于产生 valueType 类型的值
1797
- setters: m(A(_f)),
1797
+ setters: m(M(_f)),
1798
1798
  condition: m(bo())
1799
1799
  });
1800
1800
  L([h(), bo()]);
@@ -1820,7 +1820,7 @@ const Sf = w({
1820
1820
  snapshotText: m(h()),
1821
1821
  description: m(h()),
1822
1822
  // 组件分类,用于搜索
1823
- tags: m(A(h())),
1823
+ tags: m(M(h())),
1824
1824
  // 分 tab 面板
1825
1825
  groupName: m(h()),
1826
1826
  // 分类
@@ -1832,7 +1832,7 @@ const Sf = w({
1832
1832
  screenshot: m(h()),
1833
1833
  icon: m(h()),
1834
1834
  // 组件分类,用于搜索
1835
- tags: m(A(h())),
1835
+ tags: m(M(h())),
1836
1836
  // 分 tab 面板
1837
1837
  groupName: m(h()),
1838
1838
  // 分类
@@ -1840,17 +1840,17 @@ const Sf = w({
1840
1840
  // 排序
1841
1841
  priority: m(_o()),
1842
1842
  npm: m(Or),
1843
- snippets: A(Sf),
1844
- props: A(
1843
+ snippets: M(Sf),
1844
+ props: M(
1845
1845
  L([
1846
- Me,
1846
+ Ae,
1847
1847
  w({
1848
1848
  title: m(pe),
1849
1849
  type: F(
1850
1850
  "single"
1851
1851
  /* SINGLE */
1852
1852
  ),
1853
- content: Me
1853
+ content: Ae
1854
1854
  }),
1855
1855
  w({
1856
1856
  title: m(pe),
@@ -1858,7 +1858,7 @@ const Sf = w({
1858
1858
  "group"
1859
1859
  /* GROUP */
1860
1860
  ),
1861
- content: A(Me)
1861
+ content: M(Ae)
1862
1862
  })
1863
1863
  ])
1864
1864
  ),
@@ -1874,7 +1874,7 @@ const Sf = w({
1874
1874
  })
1875
1875
  ])
1876
1876
  ),
1877
- supportDispatchNativeEvent: m(L([lt(), A(h())])),
1877
+ supportDispatchNativeEvent: m(L([lt(), M(h())])),
1878
1878
  // 如果是布局组件,可以考虑将拖拽控制权转移 or 实现 resize
1879
1879
  isLayout: m(lt()),
1880
1880
  rootSelector: m(h()),
@@ -1911,7 +1911,7 @@ const Sf = w({
1911
1911
  }
1912
1912
  })({ data: e, message: r, throwError: n });
1913
1913
  };
1914
- var Mt = /* @__PURE__ */ ((t) => (t.ROOT_CONTAINER = "RootContainer", t))(Mt || {});
1914
+ var At = /* @__PURE__ */ ((t) => (t.ROOT_CONTAINER = "RootContainer", t))(At || {});
1915
1915
  const wf = w({
1916
1916
  type: F(V.FUNCTION),
1917
1917
  value: h()
@@ -2169,12 +2169,13 @@ class $ {
2169
2169
  r[n] = e.props[n].export("design");
2170
2170
  }), r;
2171
2171
  }
2172
- getNodeConfig(e) {
2172
+ // 节点物料中的配置信息
2173
+ getMaterialConfig(e) {
2173
2174
  var r;
2174
2175
  return this.data.configure[e] !== void 0 ? this.data.configure.isContainer : (r = this.material) == null ? void 0 : r.value.isContainer;
2175
2176
  }
2176
2177
  isContainer() {
2177
- return this.getNodeConfig("isContainer");
2178
+ return this.getMaterialConfig("isContainer");
2178
2179
  }
2179
2180
  export(e) {
2180
2181
  var r;
@@ -2204,7 +2205,7 @@ const hn = (t, e, r) => {
2204
2205
  ...t,
2205
2206
  id: Z(),
2206
2207
  props: {},
2207
- componentName: Mt.ROOT_CONTAINER,
2208
+ componentName: At.ROOT_CONTAINER,
2208
2209
  children: [],
2209
2210
  methods: t.methods || [],
2210
2211
  configure: ho(t.configure || {}, {
@@ -2226,7 +2227,7 @@ const hn = (t, e, r) => {
2226
2227
  };
2227
2228
  class Xt {
2228
2229
  constructor(e, { parent: r, materials: n }) {
2229
- _(this, "rawData"), _(this, "data"), _(this, "nodeType", Mt.ROOT_CONTAINER), _(this, "emitter", re), _(this, "materialsModel"), _(this, "listenerHandle"), _(this, "onChangeCbQueue"), _(this, "parent"), this.materialsModel = n, this.rawData = JSON.parse(JSON.stringify(e)), this.data = hn(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener(), this.parent = r;
2230
+ _(this, "rawData"), _(this, "data"), _(this, "nodeType", At.ROOT_CONTAINER), _(this, "emitter", re), _(this, "materialsModel"), _(this, "listenerHandle"), _(this, "onChangeCbQueue"), _(this, "parent"), this.materialsModel = n, this.rawData = JSON.parse(JSON.stringify(e)), this.data = hn(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener(), this.parent = r;
2230
2231
  }
2231
2232
  registerListener() {
2232
2233
  const e = (r) => {
@@ -2318,8 +2319,8 @@ class Xt {
2318
2319
  });
2319
2320
  }
2320
2321
  }
2321
- const ct = (t) => (t == null ? void 0 : t.type) === V.EXPRESSION, $f = (t) => (t == null ? void 0 : t.type) === V.FUNCTION, Z = () => Math.random().toString(32).slice(3, 9), Tf = (t) => (t == null ? void 0 : t.nodeType) === "NODE", Pe = (t) => (t == null ? void 0 : t.nodeType) === "PROP", Af = (t) => (t == null ? void 0 : t.nodeType) === "SLOT", Nr = (t) => Kl(t, (e) => B(e) ? !Object.keys(e).length : P(e) ? !e.length : !e);
2322
- function Mf(t, e) {
2322
+ const ct = (t) => (t == null ? void 0 : t.type) === V.EXPRESSION, $f = (t) => (t == null ? void 0 : t.type) === V.FUNCTION, Z = () => Math.random().toString(32).slice(3, 9), Tf = (t) => (t == null ? void 0 : t.nodeType) === "NODE", Pe = (t) => (t == null ? void 0 : t.nodeType) === "PROP", Mf = (t) => (t == null ? void 0 : t.nodeType) === "SLOT", Nr = (t) => Kl(t, (e) => B(e) ? !Object.keys(e).length : P(e) ? !e.length : !e);
2323
+ function Af(t, e) {
2323
2324
  const r = [t];
2324
2325
  for (; r.length; ) {
2325
2326
  const n = r.shift();
@@ -2354,7 +2355,7 @@ function Mf(t, e) {
2354
2355
  }
2355
2356
  }
2356
2357
  function xr(t, e) {
2357
- return Mf(t, (r) => r.id === e);
2358
+ return Af(t, (r) => r.id === e);
2358
2359
  }
2359
2360
  const Pf = (t) => {
2360
2361
  const e = so(t), r = e.snippets;
@@ -2475,8 +2476,8 @@ const Lf = w({
2475
2476
  "PAGE"
2476
2477
  /* PAGE */
2477
2478
  )])),
2478
- methods: m(A(wf)),
2479
- componentsMeta: A(
2479
+ methods: m(M(wf)),
2480
+ componentsMeta: M(
2480
2481
  jr(
2481
2482
  w({
2482
2483
  componentName: h()
@@ -2486,7 +2487,7 @@ const Lf = w({
2486
2487
  ),
2487
2488
  thirdLibs: m(hf),
2488
2489
  componentsTree: Cf,
2489
- assets: m(A(I()))
2490
+ assets: m(M(I()))
2490
2491
  }), Oo = (t) => (Er({
2491
2492
  data: t,
2492
2493
  dataStruct: Lf,
@@ -2641,7 +2642,7 @@ class de {
2641
2642
  return this.data.componentsTree;
2642
2643
  }
2643
2644
  }
2644
- Mt.ROOT_CONTAINER;
2645
+ At.ROOT_CONTAINER;
2645
2646
  var Ff = typeof global == "object" && global && global.Object === Object && global;
2646
2647
  const wo = Ff;
2647
2648
  var Bf = typeof self == "object" && self && self.Object === Object && self, Uf = wo || Bf || Function("return this")();
@@ -2813,14 +2814,14 @@ var $p = he ? function(t, e) {
2813
2814
  });
2814
2815
  } : No;
2815
2816
  const Tp = $p;
2816
- var Ap = Ep(Tp);
2817
- const Mp = Ap;
2817
+ var Mp = Ep(Tp);
2818
+ const Ap = Mp;
2818
2819
  var Pp = 9007199254740991, Rp = /^(?:0|[1-9]\d*)$/;
2819
2820
  function xo(t, e) {
2820
2821
  var r = typeof t;
2821
2822
  return e = e ?? Pp, !!e && (r == "number" || r != "symbol" && Rp.test(t)) && t > -1 && t % 1 == 0 && t < e;
2822
2823
  }
2823
- function Ar(t, e, r) {
2824
+ function Mr(t, e, r) {
2824
2825
  e == "__proto__" && he ? he(t, e, {
2825
2826
  configurable: !0,
2826
2827
  enumerable: !0,
@@ -2834,14 +2835,14 @@ function je(t, e) {
2834
2835
  var Ip = Object.prototype, Dp = Ip.hasOwnProperty;
2835
2836
  function Lp(t, e, r) {
2836
2837
  var n = t[e];
2837
- (!(Dp.call(t, e) && je(n, r)) || r === void 0 && !(e in t)) && Ar(t, e, r);
2838
+ (!(Dp.call(t, e) && je(n, r)) || r === void 0 && !(e in t)) && Mr(t, e, r);
2838
2839
  }
2839
2840
  function Fp(t, e, r, n) {
2840
2841
  var o = !r;
2841
2842
  r || (r = {});
2842
2843
  for (var a = -1, i = e.length; ++a < i; ) {
2843
2844
  var s = e[a], c = n ? n(r[s], t[s], s, r, t) : void 0;
2844
- c === void 0 && (c = t[s]), o ? Ar(r, s, c) : Lp(r, s, c);
2845
+ c === void 0 && (c = t[s]), o ? Mr(r, s, c) : Lp(r, s, c);
2845
2846
  }
2846
2847
  return r;
2847
2848
  }
@@ -2857,20 +2858,20 @@ function Bp(t, e, r) {
2857
2858
  };
2858
2859
  }
2859
2860
  function Up(t, e) {
2860
- return Mp(Bp(t, e, No), t + "");
2861
+ return Ap(Bp(t, e, No), t + "");
2861
2862
  }
2862
2863
  var kp = 9007199254740991;
2863
2864
  function $o(t) {
2864
2865
  return typeof t == "number" && t > -1 && t % 1 == 0 && t <= kp;
2865
2866
  }
2866
- function Mr(t) {
2867
+ function Ar(t) {
2867
2868
  return t != null && $o(t.length) && !$r(t);
2868
2869
  }
2869
2870
  function Vp(t, e, r) {
2870
2871
  if (!gt(r))
2871
2872
  return !1;
2872
2873
  var n = typeof e;
2873
- return (n == "number" ? Mr(r) && xo(e, r.length) : n == "string" && e in r) ? je(r[e], t) : !1;
2874
+ return (n == "number" ? Ar(r) && xo(e, r.length) : n == "string" && e in r) ? je(r[e], t) : !1;
2874
2875
  }
2875
2876
  function zp(t) {
2876
2877
  return Up(function(e, r) {
@@ -2896,7 +2897,7 @@ var Jp = "[object Arguments]";
2896
2897
  function Sn(t) {
2897
2898
  return Rt(t) && ne(t) == Jp;
2898
2899
  }
2899
- var Ao = Object.prototype, Wp = Ao.hasOwnProperty, Qp = Ao.propertyIsEnumerable, qp = Sn(function() {
2900
+ var Mo = Object.prototype, Wp = Mo.hasOwnProperty, Qp = Mo.propertyIsEnumerable, qp = Sn(function() {
2900
2901
  return arguments;
2901
2902
  }()) ? Sn : function(t) {
2902
2903
  return Rt(t) && Wp.call(t, "callee") && !Qp.call(t, "callee");
@@ -2905,7 +2906,7 @@ const qe = qp;
2905
2906
  function Yp() {
2906
2907
  return !1;
2907
2908
  }
2908
- var Mo = typeof exports == "object" && exports && !exports.nodeType && exports, jn = Mo && typeof module == "object" && module && !module.nodeType && module, Kp = jn && jn.exports === Mo, On = Kp ? Pt.Buffer : void 0, Xp = On ? On.isBuffer : void 0, Zp = Xp || Yp;
2909
+ var Ao = typeof exports == "object" && exports && !exports.nodeType && exports, jn = Ao && typeof module == "object" && module && !module.nodeType && module, Kp = jn && jn.exports === Ao, On = Kp ? Pt.Buffer : void 0, Xp = On ? On.isBuffer : void 0, Zp = Xp || Yp;
2909
2910
  const Po = Zp;
2910
2911
  var td = "[object Arguments]", ed = "[object Array]", rd = "[object Boolean]", nd = "[object Date]", od = "[object Error]", ad = "[object Function]", sd = "[object Map]", id = "[object Number]", cd = "[object Object]", ud = "[object RegExp]", ld = "[object Set]", fd = "[object String]", pd = "[object WeakMap]", dd = "[object ArrayBuffer]", hd = "[object DataView]", md = "[object Float32Array]", vd = "[object Float64Array]", gd = "[object Int8Array]", yd = "[object Int16Array]", bd = "[object Int32Array]", _d = "[object Uint8Array]", Sd = "[object Uint8ClampedArray]", jd = "[object Uint16Array]", Od = "[object Uint32Array]", x = {};
2911
2912
  x[md] = x[vd] = x[gd] = x[yd] = x[bd] = x[_d] = x[Sd] = x[jd] = x[Od] = !0;
@@ -2929,7 +2930,7 @@ const wn = Nd;
2929
2930
  var Cn = wn && wn.isTypedArray, xd = Cn ? Cd(Cn) : wd;
2930
2931
  const Io = xd;
2931
2932
  var $d = Object.prototype, Td = $d.hasOwnProperty;
2932
- function Ad(t, e) {
2933
+ function Md(t, e) {
2933
2934
  var r = Et(t), n = !r && qe(t), o = !r && !n && Po(t), a = !r && !n && !o && Io(t), i = r || n || o || a, s = i ? Hp(t.length, String) : [], c = s.length;
2934
2935
  for (var u in t)
2935
2936
  (e || Td.call(t, u)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
@@ -2939,7 +2940,7 @@ function Ad(t, e) {
2939
2940
  xo(u, c))) && s.push(u);
2940
2941
  return s;
2941
2942
  }
2942
- function Md(t, e) {
2943
+ function Ad(t, e) {
2943
2944
  return function(r) {
2944
2945
  return t(e(r));
2945
2946
  };
@@ -2961,7 +2962,7 @@ function Dd(t) {
2961
2962
  return r;
2962
2963
  }
2963
2964
  function Do(t) {
2964
- return Mr(t) ? Ad(t, !0) : Dd(t);
2965
+ return Ar(t) ? Md(t, !0) : Dd(t);
2965
2966
  }
2966
2967
  var Ld = Tr(Object, "create");
2967
2968
  const Zt = Ld;
@@ -3089,7 +3090,7 @@ It.prototype.set = ch;
3089
3090
  function Fo(t) {
3090
3091
  return t == null ? "" : Eo(t);
3091
3092
  }
3092
- var uh = Md(Object.getPrototypeOf, Object);
3093
+ var uh = Ad(Object.getPrototypeOf, Object);
3093
3094
  const Bo = uh;
3094
3095
  var lh = "[object Object]", fh = Function.prototype, ph = Object.prototype, Uo = fh.toString, dh = ph.hasOwnProperty, hh = Uo.call(Object);
3095
3096
  function Nt(t) {
@@ -3119,7 +3120,7 @@ function ko(t) {
3119
3120
  function Ch(t) {
3120
3121
  return t.split("");
3121
3122
  }
3122
- var Vo = "\\ud800-\\udfff", Eh = "\\u0300-\\u036f", Nh = "\\ufe20-\\ufe2f", xh = "\\u20d0-\\u20ff", $h = Eh + Nh + xh, Th = "\\ufe0e\\ufe0f", Ah = "[" + Vo + "]", Ye = "[" + $h + "]", Ke = "\\ud83c[\\udffb-\\udfff]", Mh = "(?:" + Ye + "|" + Ke + ")", zo = "[^" + Vo + "]", Go = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ho = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ph = "\\u200d", Jo = Mh + "?", Wo = "[" + Th + "]?", Rh = "(?:" + Ph + "(?:" + [zo, Go, Ho].join("|") + ")" + Wo + Jo + ")*", Ih = Wo + Jo + Rh, Dh = "(?:" + [zo + Ye + "?", Ye, Go, Ho, Ah].join("|") + ")", Lh = RegExp(Ke + "(?=" + Ke + ")|" + Dh + Ih, "g");
3123
+ var Vo = "\\ud800-\\udfff", Eh = "\\u0300-\\u036f", Nh = "\\ufe20-\\ufe2f", xh = "\\u20d0-\\u20ff", $h = Eh + Nh + xh, Th = "\\ufe0e\\ufe0f", Mh = "[" + Vo + "]", Ye = "[" + $h + "]", Ke = "\\ud83c[\\udffb-\\udfff]", Ah = "(?:" + Ye + "|" + Ke + ")", zo = "[^" + Vo + "]", Go = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ho = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ph = "\\u200d", Jo = Ah + "?", Wo = "[" + Th + "]?", Rh = "(?:" + Ph + "(?:" + [zo, Go, Ho].join("|") + ")" + Wo + Jo + ")*", Ih = Wo + Jo + Rh, Dh = "(?:" + [zo + Ye + "?", Ye, Go, Ho, Mh].join("|") + ")", Lh = RegExp(Ke + "(?=" + Ke + ")|" + Dh + Ih, "g");
3123
3124
  function Fh(t) {
3124
3125
  return t.match(Lh) || [];
3125
3126
  }
@@ -3204,10 +3205,10 @@ function rm(t) {
3204
3205
  var nm = rm();
3205
3206
  const om = nm;
3206
3207
  function Xe(t, e, r) {
3207
- (r !== void 0 && !je(t[e], r) || r === void 0 && !(e in t)) && Ar(t, e, r);
3208
+ (r !== void 0 && !je(t[e], r) || r === void 0 && !(e in t)) && Mr(t, e, r);
3208
3209
  }
3209
3210
  function am(t) {
3210
- return Rt(t) && Mr(t);
3211
+ return Rt(t) && Ar(t);
3211
3212
  }
3212
3213
  function Ze(t, e) {
3213
3214
  if (!(e === "constructor" && typeof t[e] == "function") && e != "__proto__")
@@ -3300,7 +3301,7 @@ const bt = (t, e) => {
3300
3301
  return e.forEach((n, o) => {
3301
3302
  r[n] = t[o];
3302
3303
  }), r;
3303
- }, An = (t) => {
3304
+ }, Mn = (t) => {
3304
3305
  const e = {};
3305
3306
  return Object.keys(t).forEach((r) => {
3306
3307
  let n = r.replace("-webkit", "Webkit");
@@ -3308,7 +3309,7 @@ const bt = (t, e) => {
3308
3309
  let o = n.split("-");
3309
3310
  o.length >= 2 && (o = o.map((a, i) => i !== 0 ? zh(a) : a)), e[o.join("")] = t[r];
3310
3311
  }), e;
3311
- }, Mn = (t) => {
3312
+ }, An = (t) => {
3312
3313
  let e = "";
3313
3314
  return Object.keys(t).forEach((r) => {
3314
3315
  e += `${r}:${t[r]};`;
@@ -3480,7 +3481,7 @@ class bm {
3480
3481
  return i.map((s) => o(s));
3481
3482
  if (Pe(i))
3482
3483
  return o(i.value);
3483
- if (Af(i)) {
3484
+ if (Mf(i)) {
3484
3485
  const s = i.value, c = s.value;
3485
3486
  if (!c)
3486
3487
  return console.warn("slot value is null, this maybe cause some error, pls check it", e), () => {
@@ -3495,14 +3496,14 @@ class bm {
3495
3496
  const f = this.getComponent(l), d = this.convertModelToComponent(f, l), v = s.params || [];
3496
3497
  return {
3497
3498
  component: (...S) => {
3498
- const j = Tn(S, v), M = this.getContext(
3499
+ const j = Tn(S, v), A = this.getContext(
3499
3500
  {
3500
3501
  params: j
3501
3502
  },
3502
3503
  r
3503
3504
  );
3504
3505
  return this.render(d, {
3505
- $$context: M,
3506
+ $$context: A,
3506
3507
  key: p
3507
3508
  });
3508
3509
  },
@@ -3592,11 +3593,11 @@ class bm {
3592
3593
  let f = `.${c.class}`;
3593
3594
  if (l.state !== "normal" && (f = `${f}:${l.state}`), Object.keys(l.style).length !== 0) {
3594
3595
  const v = this.getStyleDomById(p);
3595
- v.innerText = `${f} { ${Mn(l.style)} }`, s == null || s.appendChild(v);
3596
+ v.innerText = `${f} { ${An(l.style)} }`, s == null || s.appendChild(v);
3596
3597
  }
3597
3598
  (d = l.media) != null && d.length && l.media.forEach((v) => {
3598
3599
  const y = `${p}_${v.type}_${v.value}`, b = this.getStyleDomById(y);
3599
- b.media = `screen and (${v.type}:${v.value}px)`, b.innerHTML = `${f} { ${Mn(v.style)} }`, s == null || s.appendChild(b);
3600
+ b.media = `screen and (${v.type}:${v.value}px)`, b.innerHTML = `${f} { ${An(v.style)} }`, s == null || s.appendChild(b);
3600
3601
  });
3601
3602
  });
3602
3603
  });
@@ -3694,7 +3695,7 @@ class bm {
3694
3695
  getStaticVar: () => n.variableManager.get(u).staticVar,
3695
3696
  getStaticVarById: (R) => n.variableManager.get(R).staticVar
3696
3697
  };
3697
- r.value.componentName === Mt.ROOT_CONTAINER && (p.globalState = this.state, p.updateGlobalState = this.updateState);
3698
+ r.value.componentName === At.ROOT_CONTAINER && (p.globalState = this.state, p.updateGlobalState = this.updateState);
3698
3699
  const f = n.getContext(p, s), y = n.transformProps(
3699
3700
  {
3700
3701
  methods: r.value.methods
@@ -3735,7 +3736,7 @@ class bm {
3735
3736
  const ea = n.transformProps(r.value.style, {
3736
3737
  $$context: Bt
3737
3738
  });
3738
- r.value.style && (q.style = An(ea || {}));
3739
+ r.value.style && (q.style = Mn(ea || {}));
3739
3740
  const { children: ae } = q;
3740
3741
  let xe = [];
3741
3742
  if (ae !== void 0)
@@ -3761,10 +3762,10 @@ class bm {
3761
3762
  }
3762
3763
  const j = n.transformProps(l, {
3763
3764
  $$context: f
3764
- }), { children: M } = j;
3765
+ }), { children: A } = j;
3765
3766
  let T = [];
3766
- if (M !== void 0)
3767
- delete j.children, T = Array.isArray(M) ? M : [M];
3767
+ if (A !== void 0)
3768
+ delete j.children, T = Array.isArray(A) ? A : [A];
3768
3769
  else {
3769
3770
  const R = [];
3770
3771
  r.value.children.forEach((Ft, yt) => {
@@ -3786,7 +3787,7 @@ class bm {
3786
3787
  const Lt = n.transformProps(r.value.style, {
3787
3788
  $$context: f
3788
3789
  });
3789
- r.value.style && (j.style = An(Lt || {}));
3790
+ r.value.style && (j.style = Mn(Lt || {}));
3790
3791
  let C = r.value.condition ?? !0;
3791
3792
  typeof C != "boolean" && (C = bt(C.value, f || {}));
3792
3793
  let ot = {
@@ -4111,7 +4112,7 @@ const Wm = pa(new bm()), _m = [
4111
4112
  ...i,
4112
4113
  style: s
4113
4114
  }, ...o);
4114
- }, Am = {
4115
+ }, Mm = {
4115
4116
  RootContainer: ({
4116
4117
  children: t
4117
4118
  }) => t,
@@ -4125,7 +4126,7 @@ const Wm = pa(new bm()), _m = [
4125
4126
  CCanvas: wm,
4126
4127
  CNativeTag: Tm
4127
4128
  };
4128
- class Mm {
4129
+ class Am {
4129
4130
  constructor() {
4130
4131
  g(this, "refMap", /* @__PURE__ */ new Map());
4131
4132
  }
@@ -4168,7 +4169,7 @@ class Pm extends O.Component {
4168
4169
  });
4169
4170
  this.state = {
4170
4171
  pageModel: r.pageModel || new de(r.page)
4171
- }, this.refManager = new Mm();
4172
+ }, this.refManager = new Am();
4172
4173
  }
4173
4174
  getPageModel() {
4174
4175
  return this.state.pageModel;
@@ -4185,7 +4186,7 @@ class Pm extends O.Component {
4185
4186
  if (!s)
4186
4187
  return console.warn("pageModel is null"), null;
4187
4188
  const c = {
4188
- ...Am,
4189
+ ...Mm,
4189
4190
  ...r.components
4190
4191
  }, u = this.props.$$context ?? {};
4191
4192
  return u.refs = this.refManager, n.pageRender(s, {
@@ -4359,7 +4360,7 @@ class qm extends O.Component {
4359
4360
  render() {
4360
4361
  const { children: c = [], onlyRenderChild: u, ...l } = this.props;
4361
4362
  let p = c;
4362
- return Et(c) || (p = [c]), !!!p.filter(Boolean).length && (n.isContainer() || n.value.componentName === Mt.ROOT_CONTAINER) && p.push(
4363
+ return Et(c) || (p = [c]), !!!p.filter(Boolean).length && (n.isContainer() || n.value.componentName === At.ROOT_CONTAINER) && p.push(
4363
4364
  O.createElement(o.dropPlaceholder, {
4364
4365
  node: n
4365
4366
  })
@@ -4506,12 +4507,12 @@ var Zo = { exports: {} };
4506
4507
  }, n = {}, o = {}, a = {};
4507
4508
  function i(f, d) {
4508
4509
  f = f.push ? f : [f];
4509
- var v = [], y = f.length, b = y, S, j, M, T;
4510
+ var v = [], y = f.length, b = y, S, j, A, T;
4510
4511
  for (S = function(D, k) {
4511
4512
  k.length && v.push(D), b--, b || d(v);
4512
4513
  }; y--; ) {
4513
- if (j = f[y], M = o[j], M) {
4514
- S(j, M);
4514
+ if (j = f[y], A = o[j], A) {
4515
+ S(j, A);
4515
4516
  continue;
4516
4517
  }
4517
4518
  T = a[j] = a[j] || [], T.push(S);
@@ -4529,7 +4530,7 @@ var Zo = { exports: {} };
4529
4530
  f.call && (f = { success: f }), d.length ? (f.error || r)(d) : (f.success || r)(f);
4530
4531
  }
4531
4532
  function u(f, d, v, y) {
4532
- var b = document, S = v.async, j = (v.numRetries || 0) + 1, M = v.before || r, T = f.replace(/[\?|#].*$/, ""), D = f.replace(/^(css|img|module|nomodule)!/, ""), k, Lt, C;
4533
+ var b = document, S = v.async, j = (v.numRetries || 0) + 1, A = v.before || r, T = f.replace(/[\?|#].*$/, ""), D = f.replace(/^(css|img|module|nomodule)!/, ""), k, Lt, C;
4533
4534
  if (y = y || 0, /(^css!|\.css$)/.test(T))
4534
4535
  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");
4535
4536
  else if (/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(T))
@@ -4554,11 +4555,11 @@ var Zo = { exports: {} };
4554
4555
  } else if (C.rel == "preload" && C.as == "style")
4555
4556
  return C.rel = "stylesheet";
4556
4557
  d(f, it, ot.defaultPrevented);
4557
- }, M(f, C) !== !1 && b.head.appendChild(C);
4558
+ }, A(f, C) !== !1 && b.head.appendChild(C);
4558
4559
  }
4559
4560
  function l(f, d, v) {
4560
4561
  f = f.push ? f : [f];
4561
- var y = f.length, b = y, S = [], j, M;
4562
+ var y = f.length, b = y, S = [], j, A;
4562
4563
  for (j = function(T, D, k) {
4563
4564
  if (D == "e" && S.push(T), D == "b")
4564
4565
  if (k)
@@ -4566,8 +4567,8 @@ var Zo = { exports: {} };
4566
4567
  else
4567
4568
  return;
4568
4569
  y--, y || d(S);
4569
- }, M = 0; M < b; M++)
4570
- u(f[M], j, v);
4570
+ }, A = 0; A < b; A++)
4571
+ u(f[A], j, v);
4571
4572
  }
4572
4573
  function p(f, d, v) {
4573
4574
  var y, b;
@@ -4576,9 +4577,9 @@ var Zo = { exports: {} };
4576
4577
  throw "LoadJS";
4577
4578
  n[y] = !0;
4578
4579
  }
4579
- function S(j, M) {
4580
+ function S(j, A) {
4580
4581
  l(f, function(T) {
4581
- c(b, T), j && c({ success: j, error: M }, T), s(y, T);
4582
+ c(b, T), j && c({ success: j, error: A }, T), s(y, T);
4582
4583
  }, b);
4583
4584
  }
4584
4585
  if (b.returnPromise)
@@ -4655,9 +4656,9 @@ export {
4655
4656
  pm as compWrapper,
4656
4657
  dm as convertCodeStringToFunction,
4657
4658
  Gm as flatObject,
4658
- An as formatSourceStylePropertyName,
4659
+ Mn as formatSourceStylePropertyName,
4659
4660
  pa as getAdapter,
4660
- Mn as getCSSTextValue,
4661
+ An as getCSSTextValue,
4661
4662
  Hm as getComponentsLibs,
4662
4663
  hm as getMatchVal,
4663
4664
  Tn as getObjFromArrayMap,