@das-fed/mframe 0.0.22 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/es5.js +134 -134
  2. package/index.js +119 -119
  3. package/package.json +1 -1
package/es5.js CHANGED
@@ -1205,9 +1205,9 @@ function iu(e, t) {
1205
1205
  }
1206
1206
  } : (h = Be, process.env.NODE_ENV !== "production" && E(e)), t && o) {
1207
1207
  var L = h,
1208
- ne = o === true ? 1 / 0 : o;
1208
+ re = o === true ? 1 / 0 : o;
1209
1209
  h = function h() {
1210
- return Bt(L(), ne);
1210
+ return Bt(L(), re);
1211
1211
  };
1212
1212
  }
1213
1213
  var Y = Ia(),
@@ -1221,31 +1221,31 @@ function iu(e, t) {
1221
1221
  };
1222
1222
  }
1223
1223
  var G = F ? new Array(e.length).fill(_r) : _r;
1224
- var re = function re(L) {
1224
+ var oe = function oe(L) {
1225
1225
  if (!(!(d.flags & 1) || !d.dirty && !L)) if (t) {
1226
- var _ne = d.run();
1227
- if (o || B || (F ? _ne.some(function (ue, ge) {
1226
+ var _re = d.run();
1227
+ if (o || B || (F ? _re.some(function (ue, ge) {
1228
1228
  return en(ue, G[ge]);
1229
- }) : en(_ne, G))) {
1229
+ }) : en(_re, G))) {
1230
1230
  S && S();
1231
1231
  var ue = un;
1232
1232
  un = d;
1233
1233
  try {
1234
- var ge = [_ne,
1234
+ var ge = [_re,
1235
1235
  // pass undefined as the old value when it's changed for the first time
1236
1236
  G === _r ? void 0 : F && G[0] === _r ? [] : G, P];
1237
1237
  l ? l(t, 3, ge) :
1238
1238
  // @ts-expect-error
1239
- t.apply(void 0, ge), G = _ne;
1239
+ t.apply(void 0, ge), G = _re;
1240
1240
  } finally {
1241
1241
  un = ue;
1242
1242
  }
1243
1243
  }
1244
1244
  } else d.run();
1245
1245
  };
1246
- return c && c(re), d = new Gi(h), d.scheduler = i ? function () {
1247
- return i(re, false);
1248
- } : re, P = function P(L) {
1246
+ return c && c(oe), d = new Gi(h), d.scheduler = i ? function () {
1247
+ return i(oe, false);
1248
+ } : oe, P = function P(L) {
1249
1249
  return su(L, false, d);
1250
1250
  }, S = d.onStop = function () {
1251
1251
  var L = Vr.get(d);
@@ -1255,8 +1255,8 @@ function iu(e, t) {
1255
1255
  _step2;
1256
1256
  try {
1257
1257
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
1258
- var _ne2 = _step2.value;
1259
- _ne2();
1258
+ var _re2 = _step2.value;
1259
+ _re2();
1260
1260
  }
1261
1261
  } catch (err) {
1262
1262
  _iterator2.e(err);
@@ -1266,7 +1266,7 @@ function iu(e, t) {
1266
1266
  }
1267
1267
  Vr["delete"](d);
1268
1268
  }
1269
- }, process.env.NODE_ENV !== "production" && (d.onTrack = n.onTrack, d.onTrigger = n.onTrigger), t ? r ? re(true) : G = d.run() : i ? i(re.bind(null, true), true) : d.run(), ee.pause = d.pause.bind(d), ee.resume = d.resume.bind(d), ee.stop = ee, ee;
1269
+ }, process.env.NODE_ENV !== "production" && (d.onTrack = n.onTrack, d.onTrigger = n.onTrigger), t ? r ? oe(true) : G = d.run() : i ? i(oe.bind(null, true), true) : d.run(), ee.pause = d.pause.bind(d), ee.resume = d.resume.bind(d), ee.stop = ee, ee;
1270
1270
  }
1271
1271
  function Bt(e) {
1272
1272
  var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1 / 0;
@@ -2119,13 +2119,13 @@ function qu(e) {
2119
2119
  Y = t.beforeDestroy,
2120
2120
  ee = t.beforeUnmount,
2121
2121
  G = t.destroyed,
2122
- re = t.unmounted,
2122
+ oe = t.unmounted,
2123
2123
  L = t.render,
2124
- ne = t.renderTracked,
2124
+ re = t.renderTracked,
2125
2125
  ue = t.renderTriggered,
2126
2126
  ge = t.errorCaptured,
2127
2127
  ce = t.serverPrefetch,
2128
- oe = t.expose,
2128
+ ne = t.expose,
2129
2129
  j = t.inheritAttrs,
2130
2130
  O = t.components,
2131
2131
  te = t.directives,
@@ -2204,9 +2204,9 @@ function qu(e) {
2204
2204
  return U(_e.bind(n));
2205
2205
  }) : Z && U(Z.bind(n));
2206
2206
  }
2207
- if (pe(Mu, d), pe(bc, h), pe(Lu, S), pe(Vu, P), pe(Pu, B), pe(Iu, F), pe(Bu, ge), pe(Fu, ne), pe(Wu, ue), pe(ju, ee), pe(wc, re), pe(Hu, ce), ae(oe)) if (oe.length) {
2207
+ if (pe(Mu, d), pe(bc, h), pe(Lu, S), pe(Vu, P), pe(Pu, B), pe(Iu, F), pe(Bu, ge), pe(Fu, re), pe(Wu, ue), pe(ju, ee), pe(wc, oe), pe(Hu, ce), ae(ne)) if (ne.length) {
2208
2208
  var _U6 = e.exposed || (e.exposed = {});
2209
- oe.forEach(function (Z) {
2209
+ ne.forEach(function (Z) {
2210
2210
  Object.defineProperty(_U6, Z, {
2211
2211
  get: function get() {
2212
2212
  return n[Z];
@@ -2831,7 +2831,7 @@ function vl(e, t) {
2831
2831
  te(f, g, y, C, R, _, I, b, N);
2832
2832
  break;
2833
2833
  default:
2834
- M & 1 ? ne(f, g, y, C, R, _, I, b, N) : M & 6 ? ie(f, g, y, C, R, _, I, b, N) : M & 64 || M & 128 ? T.process(f, g, y, C, R, _, I, b, N, W) : process.env.NODE_ENV !== "production" && H("Invalid VNode type:", T, "(".concat(_typeof(T), ")"));
2834
+ M & 1 ? re(f, g, y, C, R, _, I, b, N) : M & 6 ? ie(f, g, y, C, R, _, I, b, N) : M & 64 || M & 128 ? T.process(f, g, y, C, R, _, I, b, N, W) : process.env.NODE_ENV !== "production" && H("Invalid VNode type:", T, "(".concat(_typeof(T), ")"));
2835
2835
  }
2836
2836
  K != null && R && Fr(K, f && f.ref, _, g || f, !g);
2837
2837
  },
@@ -2857,7 +2857,7 @@ function vl(e, t) {
2857
2857
  L(f), _P3 = P(g.children, y, R, C), _P4 = _slicedToArray(_P3, 2), g.el = _P4[0], g.anchor = _P4[1];
2858
2858
  } else g.el = f.el, g.anchor = f.anchor;
2859
2859
  },
2860
- re = function re(_ref9, y, C) {
2860
+ oe = function oe(_ref9, y, C) {
2861
2861
  var f = _ref9.el,
2862
2862
  g = _ref9.anchor;
2863
2863
  var R;
@@ -2871,8 +2871,8 @@ function vl(e, t) {
2871
2871
  for (; f && f !== g;) y = h(f), o(f), f = y;
2872
2872
  o(g);
2873
2873
  },
2874
- ne = function ne(f, g, y, C, R, _, I, b, N) {
2875
- g.type === "svg" ? I = "svg" : g.type === "math" && (I = "mathml"), f == null ? ue(g, y, C, R, _, I, b, N) : oe(f, g, R, _, I, b, N);
2874
+ re = function re(f, g, y, C, R, _, I, b, N) {
2875
+ g.type === "svg" ? I = "svg" : g.type === "math" && (I = "mathml"), f == null ? ue(g, y, C, R, _, I, b, N) : ne(f, g, R, _, I, b, N);
2876
2876
  },
2877
2877
  ue = function ue(f, g, y, C, R, _, I, b) {
2878
2878
  var N, T;
@@ -2907,7 +2907,7 @@ function vl(e, t) {
2907
2907
  B(null, K, g, y, C, R, _, I, b);
2908
2908
  }
2909
2909
  },
2910
- oe = function oe(f, g, y, C, R, _, I) {
2910
+ ne = function ne(f, g, y, C, R, _, I) {
2911
2911
  var b = g.el = f.el;
2912
2912
  process.env.NODE_ENV !== "production" && (b.__vnode = g);
2913
2913
  var N = g.patchFlag,
@@ -3203,7 +3203,7 @@ function vl(e, t) {
3203
3203
  return;
3204
3204
  }
3205
3205
  if (I === Rr) {
3206
- re(f, g, y);
3206
+ oe(f, g, y);
3207
3207
  return;
3208
3208
  }
3209
3209
  if (C !== 2 && T & 1 && b) {
@@ -3544,12 +3544,12 @@ function Gs(e) {
3544
3544
  try {
3545
3545
  if (n.shapeFlag & 4) {
3546
3546
  var L = o || r,
3547
- ne = process.env.NODE_ENV !== "production" && S.__isScriptSetup ? new Proxy(L, {
3547
+ re = process.env.NODE_ENV !== "production" && S.__isScriptSetup ? new Proxy(L, {
3548
3548
  get: function get(ue, ge, ce) {
3549
3549
  return H("Property '".concat(String(ge), "' was accessed via 'this'. Avoid using 'this' in templates.")), Reflect.get(ue, ge, ce);
3550
3550
  }
3551
3551
  }) : L;
3552
- Y = ht(E.call(ne, L, p, process.env.NODE_ENV !== "production" ? xt(d) : d, S, h, P)), ee = c;
3552
+ Y = ht(E.call(re, L, p, process.env.NODE_ENV !== "production" ? xt(d) : d, S, h, P)), ee = c;
3553
3553
  } else {
3554
3554
  var _L2 = t;
3555
3555
  process.env.NODE_ENV !== "production" && c === d && Gr(), Y = ht(_L2.length > 1 ? _L2(process.env.NODE_ENV !== "production" ? xt(d) : d, process.env.NODE_ENV !== "production" ? {
@@ -3568,25 +3568,25 @@ function Gs(e) {
3568
3568
  tr.length = 0, pr(L, e, 1), Y = at(ut);
3569
3569
  }
3570
3570
  var G = Y,
3571
- re;
3572
- if (process.env.NODE_ENV !== "production" && Y.patchFlag > 0 && Y.patchFlag & 2048 && (_Wc = _Wc3(Y), _Wc2 = _slicedToArray(_Wc, 2), G = _Wc2[0], re = _Wc2[1], _Wc), ee && B !== false) {
3571
+ oe;
3572
+ if (process.env.NODE_ENV !== "production" && Y.patchFlag > 0 && Y.patchFlag & 2048 && (_Wc = _Wc3(Y), _Wc2 = _slicedToArray(_Wc, 2), G = _Wc2[0], oe = _Wc2[1], _Wc), ee && B !== false) {
3573
3573
  var _L3 = Object.keys(ee),
3574
3574
  _G = G,
3575
- _ne3 = _G.shapeFlag;
3575
+ _re3 = _G.shapeFlag;
3576
3576
  if (_L3.length) {
3577
- if (_ne3 & 7) s && _L3.some($r) && (ee = Nl(ee, s)), G = nn(G, ee, false, true);else if (process.env.NODE_ENV !== "production" && !Go && G.type !== ut) {
3577
+ if (_re3 & 7) s && _L3.some($r) && (ee = Nl(ee, s)), G = nn(G, ee, false, true);else if (process.env.NODE_ENV !== "production" && !Go && G.type !== ut) {
3578
3578
  var ue = Object.keys(c),
3579
3579
  ge = [],
3580
3580
  ce = [];
3581
- for (var oe = 0, j = ue.length; oe < j; oe++) {
3582
- var O = ue[oe];
3581
+ for (var ne = 0, j = ue.length; ne < j; ne++) {
3582
+ var O = ue[ne];
3583
3583
  lr(O) ? $r(O) || ge.push(O[2].toLowerCase() + O.slice(3)) : ce.push(O);
3584
3584
  }
3585
3585
  ce.length && H("Extraneous non-props attributes (".concat(ce.join(", "), ") were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.")), ge.length && H("Extraneous non-emits event listeners (".concat(ge.join(", "), ") were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the \"emits\" option."));
3586
3586
  }
3587
3587
  }
3588
3588
  }
3589
- return n.dirs && (process.env.NODE_ENV !== "production" && !Ks(G) && H("Runtime directive used on component with non-element root node. The directives will not function as intended."), G = nn(G, null, false, true), G.dirs = G.dirs ? G.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !Ks(G) && H("Component inside <Transition> renders non-element root node that cannot be animated."), hs(G, n.transition)), process.env.NODE_ENV !== "production" && re ? re(G) : Y = G, Wr(F), Y;
3589
+ return n.dirs && (process.env.NODE_ENV !== "production" && !Ks(G) && H("Runtime directive used on component with non-element root node. The directives will not function as intended."), G = nn(G, null, false, true), G.dirs = G.dirs ? G.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !Ks(G) && H("Component inside <Transition> renders non-element root node that cannot be animated."), hs(G, n.transition)), process.env.NODE_ENV !== "production" && oe ? oe(G) : Y = G, Wr(F), Y;
3590
3590
  }
3591
3591
  var _Wc3 = function Wc(e) {
3592
3592
  var t = e.children,
@@ -4639,8 +4639,8 @@ var bf = {
4639
4639
  return ["microApp"].includes(n.type);
4640
4640
  }),
4641
4641
  p = Ye(s.data.get());
4642
- s.data.watch(function (oe) {
4643
- return p.value = oe;
4642
+ s.data.watch(function (ne) {
4643
+ return p.value = ne;
4644
4644
  });
4645
4645
  var d = St(function () {
4646
4646
  var _ref25, _ref26, _p$value$navVisible, _ref27, _ref28, _p$value$menuVisible, _ref29, _ref30, _p$value$tabVisible, _ref31, _p$value$mountVisible;
@@ -4667,9 +4667,9 @@ var bf = {
4667
4667
  return p.value.activeMicroAppName || "";
4668
4668
  }),
4669
4669
  B = St(function () {
4670
- var oe, j, O, te, ie, he;
4670
+ var ne, j, O, te, ie, he;
4671
4671
  return {
4672
- navHeight: (((j = (oe = p.value) == null ? void 0 : oe.navRect) == null ? void 0 : j.height) || 0) + "px",
4672
+ navHeight: (((j = (ne = p.value) == null ? void 0 : ne.navRect) == null ? void 0 : j.height) || 0) + "px",
4673
4673
  menuWidth: (((te = (O = p.value) == null ? void 0 : O.menuRect) == null ? void 0 : te.width) || 0) + "px",
4674
4674
  tabHeight: (((he = (ie = p.value) == null ? void 0 : ie.tabRect) == null ? void 0 : he.height) || 0) + "px"
4675
4675
  };
@@ -4682,7 +4682,7 @@ var bf = {
4682
4682
  flexDirection: "column"
4683
4683
  };
4684
4684
  }),
4685
- Y = function Y(oe) {
4685
+ Y = function Y(ne) {
4686
4686
  var j = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
4687
4687
  var O = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
4688
4688
  var te = null;
@@ -4690,13 +4690,13 @@ var bf = {
4690
4690
  for (var _len18 = arguments.length, ie = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
4691
4691
  ie[_key18] = arguments[_key18];
4692
4692
  }
4693
- O && !te && oe.apply(void 0, ie), clearTimeout(te), te = setTimeout(function () {
4694
- oe.apply(void 0, ie);
4693
+ O && !te && ne.apply(void 0, ie), clearTimeout(te), te = setTimeout(function () {
4694
+ ne.apply(void 0, ie);
4695
4695
  }, j);
4696
4696
  };
4697
4697
  },
4698
4698
  ee = function ee() {
4699
- function oe(O) {
4699
+ function ne(O) {
4700
4700
  var te = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 20;
4701
4701
  if (!O) return;
4702
4702
  var ie = O.getBoundingClientRect(),
@@ -4714,16 +4714,16 @@ var bf = {
4714
4714
  if (Ve && !Le.includes(Ve)) return Ve;
4715
4715
  }
4716
4716
  }
4717
- var j = oe(h.nav.value);
4718
- return j || (j = oe(h.tab.value)), j || (j = oe(h.menu.value)), j;
4717
+ var j = ne(h.nav.value);
4718
+ return j || (j = ne(h.tab.value)), j || (j = ne(h.menu.value)), j;
4719
4719
  },
4720
4720
  G = {
4721
4721
  x: -1,
4722
4722
  y: -1
4723
4723
  },
4724
- re = Y(function (oe, j, O) {
4724
+ oe = Y(function (ne, j, O) {
4725
4725
  if (!(G.x === j.x && G.y === j.y)) {
4726
- if (G.x = j.x, G.y = j.x, oe === "mouseenter") {
4726
+ if (G.x = j.x, G.y = j.x, ne === "mouseenter") {
4727
4727
  if (l.value) {
4728
4728
  if (!P.value) return s.data.set({
4729
4729
  microAppStickStatus: false
@@ -4737,7 +4737,7 @@ var bf = {
4737
4737
  c.cors.send("microAppStickStatus", O === "mount");
4738
4738
  }
4739
4739
  }
4740
- if (oe === "mousemove" && E.value) {
4740
+ if (ne === "mousemove" && E.value) {
4741
4741
  if (ee()) return c.cors.send("microAppStickStatus", true);
4742
4742
  c.cors.send("microAppStickStatus", O === "mount");
4743
4743
  }
@@ -4746,18 +4746,18 @@ var bf = {
4746
4746
  L = St(function () {
4747
4747
  return _objectSpread({}, E.value ? n.clearBackgroundStyles || {} : {});
4748
4748
  }),
4749
- ne = Ye(false),
4749
+ re = Ye(false),
4750
4750
  ue = Ye(false);
4751
4751
  Rt(function () {
4752
4752
  return P.value;
4753
- }, function () {
4754
- ue.value = true, ne.value = true, setTimeout(function () {
4753
+ }, function (ne, j) {
4754
+ ue.value = true, ne !== j && (re.value = true), setTimeout(function () {
4755
4755
  ue.value = false;
4756
4756
  }, 300);
4757
4757
  });
4758
4758
  var ge = St(function () {
4759
4759
  var j;
4760
- var oe = _objectSpread(_objectSpread({}, n.microAppsContainerStyle || {}), {}, {
4760
+ var ne = _objectSpread(_objectSpread({}, n.microAppsContainerStyle || {}), {}, {
4761
4761
  display: (j = o.value) != null && j.length && P.value ? "block" : "none",
4762
4762
  position: "absolute",
4763
4763
  zIndex: ue.value ? -1 : 1,
@@ -4766,7 +4766,7 @@ var bf = {
4766
4766
  height: "100%",
4767
4767
  width: "100%"
4768
4768
  });
4769
- return l.value && (oe.pointerEvents = p.value.microAppStickStatus && P.value ? "all" : "none"), oe;
4769
+ return l.value && (ne.pointerEvents = p.value.microAppStickStatus && P.value ? "all" : "none"), ne;
4770
4770
  }),
4771
4771
  ce = Ye(null);
4772
4772
  if (l.value) {
@@ -4859,7 +4859,7 @@ var bf = {
4859
4859
  ie = _Zo.getIframeInfo;
4860
4860
  var he = ie((U = te == null ? void 0 : te.appInfo) == null ? void 0 : U.name),
4861
4861
  pe = (Z = ce.value) == null ? void 0 : Z.querySelector("#".concat(he.id));
4862
- pe && (pe.style.display = "block", ne.value = false);
4862
+ pe && (pe.style.display = "block", re.value = false);
4863
4863
  });
4864
4864
  case 6:
4865
4865
  case "end":
@@ -4886,14 +4886,14 @@ var bf = {
4886
4886
  s.data.set({
4887
4887
  microAppStickStatus: true
4888
4888
  });
4889
- var oe = {};
4889
+ var ne = {};
4890
4890
  try {
4891
- oe = JSON.parse(window.name);
4891
+ ne = JSON.parse(window.name);
4892
4892
  } catch (_unused2) {}
4893
- var _oe = oe,
4894
- _j = _oe.appInfo,
4895
- _oe$parentData = _oe.parentData,
4896
- O = _oe$parentData === void 0 ? {} : _oe$parentData;
4893
+ var _ne = ne,
4894
+ _j = _ne.appInfo,
4895
+ _ne$parentData = _ne.parentData,
4896
+ O = _ne$parentData === void 0 ? {} : _ne$parentData;
4897
4897
  setTimeout(function () {
4898
4898
  s.data.set(O.layoutData);
4899
4899
  }, 0), c.data.set({
@@ -4952,16 +4952,16 @@ var bf = {
4952
4952
  }
4953
4953
  return bc(function () {
4954
4954
  s.event.emit("onMounted");
4955
- }), function (oe, j) {
4955
+ }), function (ne, j) {
4956
4956
  return Ot(), jt("div", {
4957
4957
  style: Wt(F.value)
4958
4958
  }, [br(dt("header", {
4959
4959
  ref: h.nav,
4960
4960
  onMouseenter: j[0] || (j[0] = function (O) {
4961
- return Jt(re)("mouseenter", O, "nav");
4961
+ return Jt(oe)("mouseenter", O, "nav");
4962
4962
  }),
4963
4963
  onMousemove: j[1] || (j[1] = function (O) {
4964
- return Jt(re)("mousemove", O, "nav");
4964
+ return Jt(oe)("mousemove", O, "nav");
4965
4965
  })
4966
4966
  }, [l.value ? (Ot(), jt("div", {
4967
4967
  key: 0,
@@ -4979,10 +4979,10 @@ var bf = {
4979
4979
  height: "100%"
4980
4980
  },
4981
4981
  onMouseenter: j[2] || (j[2] = function (O) {
4982
- return Jt(re)("mouseenter", O, "menu");
4982
+ return Jt(oe)("mouseenter", O, "menu");
4983
4983
  }),
4984
4984
  onMousemove: j[3] || (j[3] = function (O) {
4985
- return Jt(re)("mousemove", O, "menu");
4985
+ return Jt(oe)("mousemove", O, "menu");
4986
4986
  })
4987
4987
  }, [l.value ? (Ot(), jt("div", {
4988
4988
  key: 0,
@@ -5000,10 +5000,10 @@ var bf = {
5000
5000
  }, null, 4)) : zt("", true)], 544), [[Jn, d.value.menu]]), dt("main", wf, [br(dt("header", {
5001
5001
  ref: h.tab,
5002
5002
  onMouseenter: j[4] || (j[4] = function (O) {
5003
- return Jt(re)("mouseenter", O, "tab");
5003
+ return Jt(oe)("mouseenter", O, "tab");
5004
5004
  }),
5005
5005
  onMousemove: j[5] || (j[5] = function (O) {
5006
- return Jt(re)("mousemove", O, "tab");
5006
+ return Jt(oe)("mousemove", O, "tab");
5007
5007
  })
5008
5008
  }, [l.value ? (Ot(), jt("div", {
5009
5009
  key: 0,
@@ -5023,9 +5023,9 @@ var bf = {
5023
5023
  "min-height": "0"
5024
5024
  }, L.value]),
5025
5025
  onMouseenter: j[6] || (j[6] = function (O) {
5026
- return Jt(re)("mouseenter", O, "mount");
5026
+ return Jt(oe)("mouseenter", O, "mount");
5027
5027
  })
5028
- }, [ne.value && P.value ? (Ot(), jt("div", Of, j[7] || (j[7] = [dt("div", {
5028
+ }, [re.value && P.value ? (Ot(), jt("div", Of, j[7] || (j[7] = [dt("div", {
5029
5029
  "class": "main-loader-container"
5030
5030
  }, [dt("div", {
5031
5031
  "class": "loader"
@@ -5137,8 +5137,8 @@ var Zc = /*#__PURE__*/function () {
5137
5137
  var _ref41;
5138
5138
  var G;
5139
5139
  o.expose.connectMicroApp(F);
5140
- var Y = r.data.get().microApps.find(function (re) {
5141
- return re.name === F.name;
5140
+ var Y = r.data.get().microApps.find(function (oe) {
5141
+ return oe.name === F.name;
5142
5142
  });
5143
5143
  if (!Y) return;
5144
5144
  if (!((_ref41 = (G = Y.router) == null ? void 0 : G.sync) !== null && _ref41 !== void 0 ? _ref41 : true)) {
@@ -5162,15 +5162,15 @@ var Zc = /*#__PURE__*/function () {
5162
5162
  });
5163
5163
  if (!ee || !((_ref43 = (O = ee.router) == null ? void 0 : O.sync) !== null && _ref43 !== void 0 ? _ref43 : true) || !h(ee.name, ["mounted", "activated"])) return;
5164
5164
  var _URL = new URL(window.location.href),
5165
- re = _URL.pathname,
5165
+ oe = _URL.pathname,
5166
5166
  L = _URL.hash,
5167
- ne = _URL.search;
5168
- var ue = re + ne;
5167
+ re = _URL.search;
5168
+ var ue = oe + re;
5169
5169
  var _URL2 = new URL(Y.href),
5170
5170
  ge = _URL2.pathname,
5171
5171
  ce = _URL2.hash,
5172
- oe = _URL2.search;
5173
- var j = ge + oe;
5172
+ ne = _URL2.search;
5173
+ var j = ge + ne;
5174
5174
  ((te = ee.router) == null ? void 0 : te.mode) === "hash" && (j = ce.replace("#", "")), ((ie = r.data.get().initOptions.router) == null ? void 0 : ie.mode) === "hash" && (ue = "/".concat(L), j = "/#".concat(j)), ue !== j && (S.value = true, setTimeout(function () {
5175
5175
  S.value = false;
5176
5176
  }, 300), i.replaceState(j));
@@ -5179,10 +5179,10 @@ var Zc = /*#__PURE__*/function () {
5179
5179
  (Y = F == null ? void 0 : F.data) != null && Y.eventName && o.event.emit(F.data.eventName, (ee = F.data) == null ? void 0 : ee.params);
5180
5180
  });
5181
5181
  P = function P(F, Y) {
5182
- var re;
5182
+ var oe;
5183
5183
  var ee = Y.path;
5184
5184
  var G = ee;
5185
- ((re = F.router) == null ? void 0 : re.mode) === "hash" && (G = "/#".concat(ee)), o.cors.send(F.name, "syncRouter", {
5185
+ ((oe = F.router) == null ? void 0 : oe.mode) === "hash" && (G = "/#".concat(ee)), o.cors.send(F.name, "syncRouter", {
5186
5186
  appInfo: F,
5187
5187
  parentRouter: Y,
5188
5188
  replacePath: G
@@ -5193,7 +5193,7 @@ var Zc = /*#__PURE__*/function () {
5193
5193
  });
5194
5194
  B = /*#__PURE__*/function () {
5195
5195
  var _ref44 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
5196
- var ce, oe, F, _URL3, Y, ee, G, re, L, ne, ue, ge;
5196
+ var ce, ne, F, _URL3, Y, ee, G, oe, L, re, ue, ge;
5197
5197
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
5198
5198
  while (1) switch (_context7.prev = _context7.next) {
5199
5199
  case 0:
@@ -5209,13 +5209,13 @@ var Zc = /*#__PURE__*/function () {
5209
5209
  });
5210
5210
  case 4:
5211
5211
  F = ((ce = r.data.get().initOptions.router) == null ? void 0 : ce.mode) || "history", _URL3 = new URL(window.location.href), Y = _URL3.pathname, ee = _URL3.hash, G = _URL3.search;
5212
- re = Y + G;
5213
- F === "hash" && (re = ee.replace("#", ""));
5214
- L = i.match(re), ne = c.value.find(function (j) {
5212
+ oe = Y + G;
5213
+ F === "hash" && (oe = ee.replace("#", ""));
5214
+ L = i.match(oe), re = c.value.find(function (j) {
5215
5215
  return L ? L === j.name : false;
5216
5216
  });
5217
- ue = re;
5218
- if (!(((oe = ne == null ? void 0 : ne.router) == null ? void 0 : oe.mode) === "hash" && (ue = "/#".concat(re)), !ne)) {
5217
+ ue = oe;
5218
+ if (!(((ne = re == null ? void 0 : re.router) == null ? void 0 : ne.mode) === "hash" && (ue = "/#".concat(oe)), !re)) {
5219
5219
  _context7.next = 12;
5220
5220
  break;
5221
5221
  }
@@ -5225,31 +5225,31 @@ var Zc = /*#__PURE__*/function () {
5225
5225
  return _context7.abrupt("return");
5226
5226
  case 12:
5227
5227
  r.data.set({
5228
- activeMicroAppName: ne.name
5228
+ activeMicroAppName: re.name
5229
5229
  });
5230
5230
  ge = {
5231
5231
  href: window.location.href,
5232
5232
  mode: F,
5233
- path: re
5233
+ path: oe
5234
5234
  };
5235
- _context7.t0 = h(ne.name, "deactivated");
5235
+ _context7.t0 = h(re.name, "deactivated");
5236
5236
  if (!_context7.t0) {
5237
5237
  _context7.next = 19;
5238
5238
  break;
5239
5239
  }
5240
5240
  _context7.next = 18;
5241
- return E(ne.name);
5241
+ return E(re.name);
5242
5242
  case 18:
5243
- P(ne, ge);
5243
+ P(re, ge);
5244
5244
  case 19:
5245
- h(ne.name, ["mounted", "activated"]) && P(ne, ge);
5246
- _context7.t1 = h(ne.name, "registered");
5245
+ h(re.name, ["mounted", "activated"]) && P(re, ge);
5246
+ _context7.t1 = h(re.name, "registered");
5247
5247
  if (!_context7.t1) {
5248
5248
  _context7.next = 24;
5249
5249
  break;
5250
5250
  }
5251
5251
  _context7.next = 24;
5252
- return E(ne.name, {
5252
+ return E(re.name, {
5253
5253
  path: ue
5254
5254
  });
5255
5255
  case 24:
@@ -5331,7 +5331,7 @@ function oo() {
5331
5331
  END_ANCHOR: "(?:[".concat(e, "]|$)"),
5332
5332
  SEP: "\\"
5333
5333
  }),
5334
- re = {
5334
+ oe = {
5335
5335
  alnum: "a-zA-Z0-9",
5336
5336
  alpha: "a-zA-Z",
5337
5337
  ascii: "\\x00-\\x7F",
@@ -5349,7 +5349,7 @@ function oo() {
5349
5349
  };
5350
5350
  return Ao = {
5351
5351
  MAX_LENGTH: 1024 * 64,
5352
- POSIX_REGEX_SOURCE: re,
5352
+ POSIX_REGEX_SOURCE: oe,
5353
5353
  // regular expressions
5354
5354
  REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
5355
5355
  REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
@@ -5570,13 +5570,13 @@ function Nf() {
5570
5570
  Y = function Y(G) {
5571
5571
  G.isPrefix !== true && (G.depth = G.isGlobstar ? 1 / 0 : 1);
5572
5572
  };
5573
- return No = function No(G, re) {
5574
- var L = re || {},
5575
- ne = G.length - 1,
5573
+ return No = function No(G, oe) {
5574
+ var L = oe || {},
5575
+ re = G.length - 1,
5576
5576
  ue = L.parts === true || L.scanToEnd === true,
5577
5577
  ge = [],
5578
5578
  ce = [],
5579
- oe = [];
5579
+ ne = [];
5580
5580
  var j = G,
5581
5581
  O = -1,
5582
5582
  te = 0,
@@ -5600,7 +5600,7 @@ function Nf() {
5600
5600
  isGlob: false
5601
5601
  };
5602
5602
  var Ie = function Ie() {
5603
- return O >= ne;
5603
+ return O >= re;
5604
5604
  },
5605
5605
  be = function be() {
5606
5606
  return j.charCodeAt(O + 1);
@@ -5608,7 +5608,7 @@ function Nf() {
5608
5608
  W = function W() {
5609
5609
  return Ve = J, j.charCodeAt(++O);
5610
5610
  };
5611
- for (; O < ne;) {
5611
+ for (; O < re;) {
5612
5612
  J = W();
5613
5613
  var C = void 0;
5614
5614
  if (J === r) {
@@ -5742,13 +5742,13 @@ function Nf() {
5742
5742
  var _ = _C ? _C + 1 : te,
5743
5743
  I = ge[R],
5744
5744
  b = G.slice(_, I);
5745
- L.tokens && (R === 0 && te !== 0 ? (ce[R].isPrefix = true, ce[R].value = f) : ce[R].value = b, Y(ce[R]), y.maxDepth += ce[R].depth), (R !== 0 || b !== "") && oe.push(b), _C = I;
5745
+ L.tokens && (R === 0 && te !== 0 ? (ce[R].isPrefix = true, ce[R].value = f) : ce[R].value = b, Y(ce[R]), y.maxDepth += ce[R].depth), (R !== 0 || b !== "") && ne.push(b), _C = I;
5746
5746
  }
5747
5747
  if (_C && _C + 1 < G.length) {
5748
5748
  var _R = G.slice(_C + 1);
5749
- oe.push(_R), L.tokens && (ce[ce.length - 1].value = _R, Y(ce[ce.length - 1]), y.maxDepth += ce[ce.length - 1].depth);
5749
+ ne.push(_R), L.tokens && (ce[ce.length - 1].value = _R, Y(ce[ce.length - 1]), y.maxDepth += ce[ce.length - 1].depth);
5750
5750
  }
5751
- y.slashes = ge, y.parts = oe;
5751
+ y.slashes = ge, y.parts = ne;
5752
5752
  }
5753
5753
  return y;
5754
5754
  }, No;
@@ -5796,20 +5796,20 @@ function Tf() {
5796
5796
  Y = h.capture ? "" : "?:",
5797
5797
  ee = e.globChars(h.windows),
5798
5798
  G = e.extglobChars(ee),
5799
- re = ee.DOT_LITERAL,
5799
+ oe = ee.DOT_LITERAL,
5800
5800
  L = ee.PLUS_LITERAL,
5801
- ne = ee.SLASH_LITERAL,
5801
+ re = ee.SLASH_LITERAL,
5802
5802
  ue = ee.ONE_CHAR,
5803
5803
  ge = ee.DOTS_SLASH,
5804
5804
  ce = ee.NO_DOT,
5805
- oe = ee.NO_DOT_SLASH,
5805
+ ne = ee.NO_DOT_SLASH,
5806
5806
  j = ee.NO_DOTS_SLASH,
5807
5807
  O = ee.QMARK,
5808
5808
  te = ee.QMARK_NO_DOT,
5809
5809
  ie = ee.STAR,
5810
5810
  he = ee.START_ANCHOR,
5811
5811
  pe = function pe(_) {
5812
- return "(".concat(Y, "(?:(?!").concat(he).concat(_.dot ? ge : re, ").)*?)");
5812
+ return "(".concat(Y, "(?:(?!").concat(he).concat(_.dot ? ge : oe, ").)*?)");
5813
5813
  },
5814
5814
  U = h.dot ? "" : ce,
5815
5815
  Z = h.dot ? O : te;
@@ -5923,7 +5923,7 @@ function Tf() {
5923
5923
  if (h.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(p)) {
5924
5924
  var _ = false,
5925
5925
  I = p.replace(s, function (b, N, T, K, M, X) {
5926
- return K === "\\" ? (_ = true, b) : K === "?" ? N ? N + K + (M ? O.repeat(M.length) : "") : X === 0 ? Z + (M ? O.repeat(M.length) : "") : O.repeat(T.length) : K === "." ? re.repeat(T.length) : K === "*" ? N ? N + K + (M ? _e : "") : _e : N ? b : "\\".concat(b);
5926
+ return K === "\\" ? (_ = true, b) : K === "?" ? N ? N + K + (M ? O.repeat(M.length) : "") : X === 0 ? Z + (M ? O.repeat(M.length) : "") : O.repeat(T.length) : K === "." ? oe.repeat(T.length) : K === "*" ? N ? N + K + (M ? _e : "") : _e : N ? b : "\\".concat(b);
5927
5927
  });
5928
5928
  return _ === true && (h.unescape === true ? I = I.replace(/\\/g, "") : I = I.replace(/\\+/g, function (b) {
5929
5929
  return b.length % 2 === 0 ? "\\\\" : b ? "\\" : "";
@@ -6124,13 +6124,13 @@ function Tf() {
6124
6124
  y({
6125
6125
  type: "slash",
6126
6126
  value: x,
6127
- output: ne
6127
+ output: re
6128
6128
  });
6129
6129
  continue;
6130
6130
  }
6131
6131
  if (x === ".") {
6132
6132
  if (D.braces > 0 && A.type === "dot") {
6133
- A.value === "." && (A.output = re);
6133
+ A.value === "." && (A.output = oe);
6134
6134
  var _b8 = Re[Re.length - 1];
6135
6135
  A.type = "dots", A.output += x, A.value += x, _b8.dots = true;
6136
6136
  continue;
@@ -6139,14 +6139,14 @@ function Tf() {
6139
6139
  y({
6140
6140
  type: "text",
6141
6141
  value: x,
6142
- output: re
6142
+ output: oe
6143
6143
  });
6144
6144
  continue;
6145
6145
  }
6146
6146
  y({
6147
6147
  type: "dot",
6148
6148
  value: x,
6149
- output: re
6149
+ output: oe
6150
6150
  });
6151
6151
  continue;
6152
6152
  }
@@ -6292,7 +6292,7 @@ function Tf() {
6292
6292
  }
6293
6293
  if (_b10.type === "slash" && _b10.prev.type !== "bos" && _4[0] === "/") {
6294
6294
  var _se5 = _4[1] !== void 0 ? "|$" : "";
6295
- D.output = D.output.slice(0, -(_b10.output + A.output).length), _b10.output = "(?:".concat(_b10.output), A.type = "globstar", A.output = "".concat(pe(h)).concat(ne, "|").concat(ne).concat(_se5, ")"), A.value += x, D.output += _b10.output + A.output, D.globstar = true, be(x + me()), y({
6295
+ D.output = D.output.slice(0, -(_b10.output + A.output).length), _b10.output = "(?:".concat(_b10.output), A.type = "globstar", A.output = "".concat(pe(h)).concat(re, "|").concat(re).concat(_se5, ")"), A.value += x, D.output += _b10.output + A.output, D.globstar = true, be(x + me()), y({
6296
6296
  type: "slash",
6297
6297
  value: "/",
6298
6298
  output: ""
@@ -6300,7 +6300,7 @@ function Tf() {
6300
6300
  continue;
6301
6301
  }
6302
6302
  if (_b10.type === "bos" && _4[0] === "/") {
6303
- A.type = "globstar", A.value += x, A.output = "(?:^|".concat(ne, "|").concat(pe(h)).concat(ne, ")"), D.output = A.output, D.globstar = true, be(x + me()), y({
6303
+ A.type = "globstar", A.value += x, A.output = "(?:^|".concat(re, "|").concat(pe(h)).concat(re, ")"), D.output = A.output, D.globstar = true, be(x + me()), y({
6304
6304
  type: "slash",
6305
6305
  value: "/",
6306
6306
  output: ""
@@ -6323,7 +6323,7 @@ function Tf() {
6323
6323
  _I.output = x, y(_I);
6324
6324
  continue;
6325
6325
  }
6326
- (D.index === D.start || A.type === "slash" || A.type === "dot") && (A.type === "dot" ? (D.output += oe, A.output += oe) : h.dot === true ? (D.output += j, A.output += j) : (D.output += U, A.output += U), J() !== "*" && (D.output += ue, A.output += ue)), y(_I);
6326
+ (D.index === D.start || A.type === "slash" || A.type === "dot") && (A.type === "dot" ? (D.output += ne, A.output += ne) : h.dot === true ? (D.output += j, A.output += j) : (D.output += U, A.output += U), J() !== "*" && (D.output += ue, A.output += ue)), y(_I);
6327
6327
  }
6328
6328
  for (; D.brackets > 0;) {
6329
6329
  if (h.strictBrackets === true) throw new SyntaxError(l("closing", "]"));
@@ -6340,7 +6340,7 @@ function Tf() {
6340
6340
  if (h.strictSlashes !== true && (A.type === "star" || A.type === "bracket") && y({
6341
6341
  type: "maybe_slash",
6342
6342
  value: "",
6343
- output: "".concat(ne, "?")
6343
+ output: "".concat(re, "?")
6344
6344
  }), D.backtrack === true) {
6345
6345
  D.output = "";
6346
6346
  var _iterator6 = _createForOfIteratorHelper(D.tokens),
@@ -6370,21 +6370,21 @@ function Tf() {
6370
6370
  Y = _e$globChars.ONE_CHAR,
6371
6371
  ee = _e$globChars.DOTS_SLASH,
6372
6372
  G = _e$globChars.NO_DOT,
6373
- re = _e$globChars.NO_DOTS,
6373
+ oe = _e$globChars.NO_DOTS,
6374
6374
  L = _e$globChars.NO_DOTS_SLASH,
6375
- ne = _e$globChars.STAR,
6375
+ re = _e$globChars.STAR,
6376
6376
  ue = _e$globChars.START_ANCHOR,
6377
- ge = h.dot ? re : G,
6377
+ ge = h.dot ? oe : G,
6378
6378
  ce = h.dot ? L : G,
6379
- oe = h.capture ? "" : "?:",
6379
+ ne = h.capture ? "" : "?:",
6380
6380
  j = {
6381
6381
  negated: false,
6382
6382
  prefix: ""
6383
6383
  };
6384
- var O = h.bash === true ? ".*?" : ne;
6384
+ var O = h.bash === true ? ".*?" : re;
6385
6385
  h.capture && (O = "(".concat(O, ")"));
6386
6386
  var te = function te(U) {
6387
- return U.noglobstar === true ? O : "(".concat(oe, "(?:(?!").concat(ue).concat(U.dot ? ee : B, ").)*?)");
6387
+ return U.noglobstar === true ? O : "(".concat(ne, "(?:(?!").concat(ue).concat(U.dot ? ee : B, ").)*?)");
6388
6388
  },
6389
6389
  _ie = function ie(U) {
6390
6390
  switch (U) {
@@ -6441,8 +6441,8 @@ function Rf() {
6441
6441
  try {
6442
6442
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
6443
6443
  var G = _step7.value;
6444
- var re = G(ee);
6445
- if (re) return re;
6444
+ var oe = G(ee);
6445
+ if (oe) return oe;
6446
6446
  }
6447
6447
  } catch (err) {
6448
6448
  _iterator7.e(err);
@@ -6478,14 +6478,14 @@ function Rf() {
6478
6478
  }),
6479
6479
  ee = _s$test.isMatch,
6480
6480
  G = _s$test.match,
6481
- re = _s$test.output,
6481
+ oe = _s$test.output,
6482
6482
  L = {
6483
6483
  glob: i,
6484
6484
  state: S,
6485
6485
  regex: h,
6486
6486
  posix: d,
6487
6487
  input: F,
6488
- output: re,
6488
+ output: oe,
6489
6489
  match: G,
6490
6490
  isMatch: ee
6491
6491
  };
@@ -7781,7 +7781,7 @@ function mg() {
7781
7781
  return u;
7782
7782
  }
7783
7783
  var G = [],
7784
- re = [];
7784
+ oe = [];
7785
7785
  function L(a) {
7786
7786
  var u = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1];
7787
7787
  try {
@@ -7818,7 +7818,7 @@ function mg() {
7818
7818
  return -1;
7819
7819
  }(G, a);
7820
7820
  if (m !== -1) {
7821
- var v = re[m];
7821
+ var v = oe[m];
7822
7822
  if (v && function (w) {
7823
7823
  if (!w.contentWindow || !w.parentNode) return true;
7824
7824
  var $ = w.ownerDocument;
@@ -7827,7 +7827,7 @@ function mg() {
7827
7827
  }
7828
7828
  return false;
7829
7829
  }
7830
- function ne() {
7830
+ function re() {
7831
7831
  var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
7832
7832
  return h(a = a || window) || d(a) || void 0;
7833
7833
  }
@@ -7884,7 +7884,7 @@ function mg() {
7884
7884
  } catch (_unused28) {}
7885
7885
  return -1;
7886
7886
  }
7887
- var oe,
7887
+ var ne,
7888
7888
  j = function () {
7889
7889
  function a() {
7890
7890
  if (function (u, m) {
@@ -8047,7 +8047,7 @@ function mg() {
8047
8047
  CHILD_WINDOW_TIMEOUT: 5e3,
8048
8048
  ACK_TIMEOUT: window.navigator.userAgent.match(/MSIE/i) !== -1 ? 1e4 : 2e3,
8049
8049
  RES_TIMEOUT: -1,
8050
- ALLOWED_POST_MESSAGE_METHODS: (oe = {}, oe[O.SEND_STRATEGIES.POST_MESSAGE] = true, oe[O.SEND_STRATEGIES.BRIDGE] = true, oe[O.SEND_STRATEGIES.GLOBAL] = true, oe),
8050
+ ALLOWED_POST_MESSAGE_METHODS: (ne = {}, ne[O.SEND_STRATEGIES.POST_MESSAGE] = true, ne[O.SEND_STRATEGIES.BRIDGE] = true, ne[O.SEND_STRATEGIES.GLOBAL] = true, ne),
8051
8051
  ALLOW_SAME_ORIGIN: false
8052
8052
  });
8053
8053
  window.location.href.indexOf(O.FILE_PROTOCOL) === 0 && (ie.ALLOW_POSTMESSAGE_POPUP = true);
@@ -8728,7 +8728,7 @@ function mg() {
8728
8728
  z || (z = [], W.requestPromises.set($, z));
8729
8729
  var le = be["try"](function () {
8730
8730
  if (function (Q, q) {
8731
- var de = ne(q);
8731
+ var de = re(q);
8732
8732
  if (de) return de === Q;
8733
8733
  if (q === Q || function () {
8734
8734
  var Pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
@@ -8828,7 +8828,7 @@ function mg() {
8828
8828
  return (v = v || {}).window = a, v.name = u, v.data = m, tt(v);
8829
8829
  }
8830
8830
  function jn(a, u, m) {
8831
- var v = ne();
8831
+ var v = re();
8832
8832
  return v ? lt(v, a, u, m) : new be(function (w, $) {
8833
8833
  return $(new Error("Window does not have a parent"));
8834
8834
  });
@@ -8980,7 +8980,7 @@ function mg() {
8980
8980
  function Ns() {
8981
8981
  delete window[O.WINDOW_PROPS.POSTROBOT], window.removeEventListener("message", ot);
8982
8982
  }
8983
- var Ts = ne();
8983
+ var Ts = re();
8984
8984
  function Rs(a) {
8985
8985
  var u = W.requestPromises.get(a);
8986
8986
  if (u) for (var m = 0, v = u == null ? 0 : u.length; m < v; m++) u[m].reject(new Error("No response from window - cleaned up"));
@@ -9007,7 +9007,7 @@ function mg() {
9007
9007
  });
9008
9008
  });
9009
9009
  var m,
9010
- v = ne();
9010
+ v = re();
9011
9011
  v && _(v)["catch"](Z);
9012
9012
  }(), f({
9013
9013
  on: Hn,