@das-fed/mframe 0.0.11 → 0.0.12
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/es5.js +984 -964
- package/index.js +805 -792
- package/package.json +1 -1
package/es5.js
CHANGED
|
@@ -1169,14 +1169,14 @@ function su(e, t) {
|
|
|
1169
1169
|
var d,
|
|
1170
1170
|
h,
|
|
1171
1171
|
O,
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1172
|
+
$,
|
|
1173
|
+
j = false,
|
|
1174
|
+
B = false;
|
|
1175
1175
|
if (Ve(e) ? (h = function h() {
|
|
1176
1176
|
return e.value;
|
|
1177
|
-
},
|
|
1177
|
+
}, j = rt(e)) : An(e) ? (h = function h() {
|
|
1178
1178
|
return p(e);
|
|
1179
|
-
},
|
|
1179
|
+
}, j = true) : ce(e) ? (B = true, j = e.some(function (L) {
|
|
1180
1180
|
return An(L) || rt(L);
|
|
1181
1181
|
}), h = function h() {
|
|
1182
1182
|
return e.map(function (L) {
|
|
@@ -1199,53 +1199,53 @@ function su(e, t) {
|
|
|
1199
1199
|
var L = an;
|
|
1200
1200
|
an = d;
|
|
1201
1201
|
try {
|
|
1202
|
-
return l ? l(e, 3, [
|
|
1202
|
+
return l ? l(e, 3, [$]) : e($);
|
|
1203
1203
|
} finally {
|
|
1204
1204
|
an = L;
|
|
1205
1205
|
}
|
|
1206
1206
|
} : (h = Fe, process.env.NODE_ENV !== "production" && E(e)), t && s) {
|
|
1207
1207
|
var L = h,
|
|
1208
|
-
|
|
1208
|
+
ne = s === true ? 1 / 0 : s;
|
|
1209
1209
|
h = function h() {
|
|
1210
|
-
return Wt(L(),
|
|
1210
|
+
return Wt(L(), ne);
|
|
1211
1211
|
};
|
|
1212
1212
|
}
|
|
1213
|
-
var
|
|
1214
|
-
|
|
1215
|
-
d.stop(),
|
|
1213
|
+
var J = Pa(),
|
|
1214
|
+
te = function te() {
|
|
1215
|
+
d.stop(), J && J.active && Xo(J.effects, d);
|
|
1216
1216
|
};
|
|
1217
1217
|
if (o && t) {
|
|
1218
1218
|
var _L = t;
|
|
1219
1219
|
t = function t() {
|
|
1220
|
-
_L.apply(void 0, arguments),
|
|
1220
|
+
_L.apply(void 0, arguments), te();
|
|
1221
1221
|
};
|
|
1222
1222
|
}
|
|
1223
|
-
var
|
|
1224
|
-
var
|
|
1223
|
+
var U = B ? new Array(e.length).fill(yr) : yr;
|
|
1224
|
+
var re = function re(L) {
|
|
1225
1225
|
if (!(!(d.flags & 1) || !d.dirty && !L)) if (t) {
|
|
1226
|
-
var
|
|
1227
|
-
if (s ||
|
|
1228
|
-
return Zt(le,
|
|
1229
|
-
}) : Zt(
|
|
1226
|
+
var _ne = d.run();
|
|
1227
|
+
if (s || j || (B ? _ne.some(function (le, pe) {
|
|
1228
|
+
return Zt(le, U[pe]);
|
|
1229
|
+
}) : Zt(_ne, U))) {
|
|
1230
1230
|
O && O();
|
|
1231
1231
|
var le = an;
|
|
1232
1232
|
an = d;
|
|
1233
1233
|
try {
|
|
1234
|
-
var pe = [
|
|
1234
|
+
var pe = [_ne,
|
|
1235
1235
|
// pass undefined as the old value when it's changed for the first time
|
|
1236
|
-
|
|
1236
|
+
U === yr ? void 0 : B && U[0] === yr ? [] : U, $];
|
|
1237
1237
|
l ? l(t, 3, pe) :
|
|
1238
1238
|
// @ts-expect-error
|
|
1239
|
-
t.apply(void 0, pe),
|
|
1239
|
+
t.apply(void 0, pe), U = _ne;
|
|
1240
1240
|
} finally {
|
|
1241
1241
|
an = le;
|
|
1242
1242
|
}
|
|
1243
1243
|
}
|
|
1244
1244
|
} else d.run();
|
|
1245
1245
|
};
|
|
1246
|
-
return c && c(
|
|
1247
|
-
return i(
|
|
1248
|
-
} :
|
|
1246
|
+
return c && c(re), d = new Bi(h), d.scheduler = i ? function () {
|
|
1247
|
+
return i(re, false);
|
|
1248
|
+
} : re, $ = function $(L) {
|
|
1249
1249
|
return ou(L, false, d);
|
|
1250
1250
|
}, O = d.onStop = function () {
|
|
1251
1251
|
var L = Lr.get(d);
|
|
@@ -1255,8 +1255,8 @@ function su(e, t) {
|
|
|
1255
1255
|
_step2;
|
|
1256
1256
|
try {
|
|
1257
1257
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
1258
|
-
var
|
|
1259
|
-
|
|
1258
|
+
var _ne2 = _step2.value;
|
|
1259
|
+
_ne2();
|
|
1260
1260
|
}
|
|
1261
1261
|
} catch (err) {
|
|
1262
1262
|
_iterator2.e(err);
|
|
@@ -1266,7 +1266,7 @@ function su(e, t) {
|
|
|
1266
1266
|
}
|
|
1267
1267
|
Lr["delete"](d);
|
|
1268
1268
|
}
|
|
1269
|
-
}, process.env.NODE_ENV !== "production" && (d.onTrack = n.onTrack, d.onTrigger = n.onTrigger), t ? r ?
|
|
1269
|
+
}, process.env.NODE_ENV !== "production" && (d.onTrack = n.onTrack, d.onTrigger = n.onTrigger), t ? r ? re(true) : U = d.run() : i ? i(re.bind(null, true), true) : d.run(), te.pause = d.pause.bind(d), te.resume = d.resume.bind(d), te.stop = te, te;
|
|
1270
1270
|
}
|
|
1271
1271
|
function Wt(e) {
|
|
1272
1272
|
var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1 / 0;
|
|
@@ -1304,7 +1304,7 @@ function Or() {
|
|
|
1304
1304
|
ln.pop();
|
|
1305
1305
|
}
|
|
1306
1306
|
var mo = false;
|
|
1307
|
-
function
|
|
1307
|
+
function H(e) {
|
|
1308
1308
|
if (mo) return;
|
|
1309
1309
|
mo = true, Bt();
|
|
1310
1310
|
var n = ln.length ? ln[ln.length - 1].component : null,
|
|
@@ -1418,7 +1418,7 @@ function xt(e, t, n, r) {
|
|
|
1418
1418
|
var _s2 = [];
|
|
1419
1419
|
for (var o = 0; o < e.length; o++) _s2.push(xt(e[o], t, n, r));
|
|
1420
1420
|
return _s2;
|
|
1421
|
-
} else process.env.NODE_ENV !== "production" &&
|
|
1421
|
+
} else process.env.NODE_ENV !== "production" && H("Invalid value type passed to callWithAsyncErrorHandling(): ".concat(_typeof(e)));
|
|
1422
1422
|
}
|
|
1423
1423
|
function fr(e, t, n) {
|
|
1424
1424
|
var r = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
|
|
@@ -1449,7 +1449,7 @@ function lu(e, t, n) {
|
|
|
1449
1449
|
var s = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|
1450
1450
|
if (process.env.NODE_ENV !== "production") {
|
|
1451
1451
|
var o = as[t];
|
|
1452
|
-
if (n && wr(n),
|
|
1452
|
+
if (n && wr(n), H("Unhandled error".concat(o ? " during execution of ".concat(o) : "")), n && Or(), r) throw e;
|
|
1453
1453
|
} else if (s) throw e;
|
|
1454
1454
|
}
|
|
1455
1455
|
var Qe = [];
|
|
@@ -1708,10 +1708,10 @@ function Nu(e) {
|
|
|
1708
1708
|
return _r4._n = true, _r4._c = true, _r4._d = true, _r4;
|
|
1709
1709
|
}
|
|
1710
1710
|
function mc(e) {
|
|
1711
|
-
ba(e) &&
|
|
1711
|
+
ba(e) && H("Do not use built-in directive ids as custom directive id: " + e);
|
|
1712
1712
|
}
|
|
1713
1713
|
function _r(e, t) {
|
|
1714
|
-
if (et === null) return process.env.NODE_ENV !== "production" &&
|
|
1714
|
+
if (et === null) return process.env.NODE_ENV !== "production" && H("withDirectives can only be used inside render functions."), e;
|
|
1715
1715
|
var n = eo(et),
|
|
1716
1716
|
r = e.dirs || (e.dirs = []);
|
|
1717
1717
|
for (var s = 0; s < t.length; s++) {
|
|
@@ -1771,8 +1771,8 @@ var Du = /* @__PURE__ */new WeakSet();
|
|
|
1771
1771
|
function Wr(e, t, n, r) {
|
|
1772
1772
|
var s = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|
1773
1773
|
if (ce(e)) {
|
|
1774
|
-
e.forEach(function (
|
|
1775
|
-
return Wr(
|
|
1774
|
+
e.forEach(function ($, j) {
|
|
1775
|
+
return Wr($, t && (ce(t) ? t[j] : t), n, r, s);
|
|
1776
1776
|
});
|
|
1777
1777
|
return;
|
|
1778
1778
|
}
|
|
@@ -1785,7 +1785,7 @@ function Wr(e, t, n, r) {
|
|
|
1785
1785
|
c = e.i,
|
|
1786
1786
|
l = e.r;
|
|
1787
1787
|
if (process.env.NODE_ENV !== "production" && !c) {
|
|
1788
|
-
|
|
1788
|
+
H("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");
|
|
1789
1789
|
return;
|
|
1790
1790
|
}
|
|
1791
1791
|
var E = t && t.r,
|
|
@@ -1794,21 +1794,21 @@ function Wr(e, t, n, r) {
|
|
|
1794
1794
|
h = me(d),
|
|
1795
1795
|
O = d === Ne ? function () {
|
|
1796
1796
|
return false;
|
|
1797
|
-
} : function (
|
|
1798
|
-
return process.env.NODE_ENV !== "production" && (be(h,
|
|
1797
|
+
} : function ($) {
|
|
1798
|
+
return process.env.NODE_ENV !== "production" && (be(h, $) && !Ve(h[$]) && H("Template ref \"".concat($, "\" used on a non-ref value. It will not work in the production build.")), Du.has(h[$])) ? false : be(h, $);
|
|
1799
1799
|
};
|
|
1800
1800
|
if (E != null && E !== l && (He(E) ? (p[E] = null, O(E) && (d[E] = null)) : Ve(E) && (E.value = null)), ue(l)) $n(l, c, 12, [i, p]);else {
|
|
1801
|
-
var
|
|
1802
|
-
|
|
1803
|
-
if (
|
|
1804
|
-
var
|
|
1801
|
+
var $ = He(l),
|
|
1802
|
+
j = Ve(l);
|
|
1803
|
+
if ($ || j) {
|
|
1804
|
+
var B = function B() {
|
|
1805
1805
|
if (e.f) {
|
|
1806
|
-
var
|
|
1807
|
-
s ? ce(
|
|
1808
|
-
} else
|
|
1806
|
+
var J = $ ? O(l) ? d[l] : p[l] : l.value;
|
|
1807
|
+
s ? ce(J) && Xo(J, o) : ce(J) ? J.includes(o) || J.push(o) : $ ? (p[l] = [o], O(l) && (d[l] = p[l])) : (l.value = [o], e.k && (p[e.k] = l.value));
|
|
1808
|
+
} else $ ? (p[l] = i, O(l) && (d[l] = i)) : j ? (l.value = i, e.k && (p[e.k] = i)) : process.env.NODE_ENV !== "production" && H("Invalid template ref type:", l, "(".concat(_typeof(l), ")"));
|
|
1809
1809
|
};
|
|
1810
|
-
i ? (
|
|
1811
|
-
} else process.env.NODE_ENV !== "production" &&
|
|
1810
|
+
i ? (B.id = -1, st(B, n)) : B();
|
|
1811
|
+
} else process.env.NODE_ENV !== "production" && H("Invalid template ref type:", l, "(".concat(_typeof(l), ")"));
|
|
1812
1812
|
}
|
|
1813
1813
|
}
|
|
1814
1814
|
lr().requestIdleCallback;
|
|
@@ -1864,7 +1864,7 @@ function Zr(e, t) {
|
|
|
1864
1864
|
return r ? s.unshift(o) : s.push(o), o;
|
|
1865
1865
|
} else if (process.env.NODE_ENV !== "production") {
|
|
1866
1866
|
var _s3 = cn(as[e].replace(/ hook$/, ""));
|
|
1867
|
-
|
|
1867
|
+
H("".concat(_s3, " is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement."));
|
|
1868
1868
|
}
|
|
1869
1869
|
}
|
|
1870
1870
|
var Gt = function Gt(e) {
|
|
@@ -1999,14 +1999,14 @@ var Bu = Symbol["for"]("v-ndc"),
|
|
|
1999
1999
|
process.env.NODE_ENV !== "production" && et && (!He(t) ||
|
|
2000
2000
|
// #1091 avoid internal isRef/isVNode checks on component instance leading
|
|
2001
2001
|
// to infinite warning loop
|
|
2002
|
-
t.indexOf("__v") !== 0) && (s !== Ne && hs(t[0]) && be(s, t) ?
|
|
2002
|
+
t.indexOf("__v") !== 0) && (s !== Ne && hs(t[0]) && be(s, t) ? H("Property ".concat(JSON.stringify(t), " must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.")) : e === et && H("Property ".concat(JSON.stringify(t), " was accessed during render but is not defined on instance.")));
|
|
2003
2003
|
},
|
|
2004
2004
|
set: function set(_ref7, t, n) {
|
|
2005
2005
|
var e = _ref7._;
|
|
2006
2006
|
var r = e.data,
|
|
2007
2007
|
s = e.setupState,
|
|
2008
2008
|
o = e.ctx;
|
|
2009
|
-
return Eo(s, t) ? (s[t] = n, true) : process.env.NODE_ENV !== "production" && s.__isScriptSetup && be(s, t) ? (
|
|
2009
|
+
return Eo(s, t) ? (s[t] = n, true) : process.env.NODE_ENV !== "production" && s.__isScriptSetup && be(s, t) ? (H("Cannot mutate <script setup> binding \"".concat(t, "\" from Options API.")), false) : r !== Ne && be(r, t) ? (r[t] = n, true) : be(e.props, t) ? (process.env.NODE_ENV !== "production" && H("Attempting to mutate prop \"".concat(t, "\". Props are readonly.")), false) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && H("Attempting to mutate public property \"".concat(t, "\". Properties starting with $ are reserved and readonly.")), false) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(o, t, {
|
|
2010
2010
|
enumerable: true,
|
|
2011
2011
|
configurable: true,
|
|
2012
2012
|
value: n
|
|
@@ -2028,7 +2028,7 @@ var Bu = Symbol["for"]("v-ndc"),
|
|
|
2028
2028
|
}
|
|
2029
2029
|
};
|
|
2030
2030
|
process.env.NODE_ENV !== "production" && (bc.ownKeys = function (e) {
|
|
2031
|
-
return
|
|
2031
|
+
return H("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."), Reflect.ownKeys(e);
|
|
2032
2032
|
});
|
|
2033
2033
|
function Uu(e) {
|
|
2034
2034
|
var t = {};
|
|
@@ -2072,7 +2072,7 @@ function Ku(e) {
|
|
|
2072
2072
|
Object.keys(me(n)).forEach(function (r) {
|
|
2073
2073
|
if (!n.__isScriptSetup) {
|
|
2074
2074
|
if (hs(r[0])) {
|
|
2075
|
-
|
|
2075
|
+
H("setup() return property ".concat(JSON.stringify(r), " should not start with \"$\" or \"_\" which are reserved prefixes for Vue internals."));
|
|
2076
2076
|
return;
|
|
2077
2077
|
}
|
|
2078
2078
|
Object.defineProperty(t, r, {
|
|
@@ -2094,7 +2094,7 @@ function $s(e) {
|
|
|
2094
2094
|
function ku() {
|
|
2095
2095
|
var e = /* @__PURE__ */Object.create(null);
|
|
2096
2096
|
return function (t, n) {
|
|
2097
|
-
e[n] ?
|
|
2097
|
+
e[n] ? H("".concat(t, " property \"").concat(n, "\" is already defined in ").concat(e[n], ".")) : e[n] = t;
|
|
2098
2098
|
};
|
|
2099
2099
|
}
|
|
2100
2100
|
var Ho = true;
|
|
@@ -2113,64 +2113,64 @@ function Yu(e) {
|
|
|
2113
2113
|
d = t.beforeMount,
|
|
2114
2114
|
h = t.mounted,
|
|
2115
2115
|
O = t.beforeUpdate,
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2116
|
+
$ = t.updated,
|
|
2117
|
+
j = t.activated,
|
|
2118
|
+
B = t.deactivated,
|
|
2119
|
+
J = t.beforeDestroy,
|
|
2120
|
+
te = t.beforeUnmount,
|
|
2121
|
+
U = t.destroyed,
|
|
2122
|
+
re = t.unmounted,
|
|
2123
2123
|
L = t.render,
|
|
2124
|
-
|
|
2124
|
+
ne = t.renderTracked,
|
|
2125
2125
|
le = t.renderTriggered,
|
|
2126
2126
|
pe = t.errorCaptured,
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2127
|
+
K = t.serverPrefetch,
|
|
2128
|
+
k = t.expose,
|
|
2129
|
+
F = t.inheritAttrs,
|
|
2130
2130
|
N = t.components,
|
|
2131
|
-
|
|
2131
|
+
se = t.directives,
|
|
2132
2132
|
ge = t.filters,
|
|
2133
2133
|
we = process.env.NODE_ENV !== "production" ? ku() : null;
|
|
2134
2134
|
if (process.env.NODE_ENV !== "production") {
|
|
2135
2135
|
var _e$propsOptions2 = _slicedToArray(e.propsOptions, 1),
|
|
2136
2136
|
z = _e$propsOptions2[0];
|
|
2137
|
-
if (z) for (var
|
|
2137
|
+
if (z) for (var ie in z) we("Props", ie);
|
|
2138
2138
|
}
|
|
2139
2139
|
if (E && qu(E, r, we), i) for (var _z in i) {
|
|
2140
|
-
var
|
|
2141
|
-
ue(
|
|
2142
|
-
value:
|
|
2140
|
+
var _ie = i[_z];
|
|
2141
|
+
ue(_ie) ? (process.env.NODE_ENV !== "production" ? Object.defineProperty(r, _z, {
|
|
2142
|
+
value: _ie.bind(n),
|
|
2143
2143
|
configurable: true,
|
|
2144
2144
|
enumerable: true,
|
|
2145
2145
|
writable: true
|
|
2146
|
-
}) : r[_z] =
|
|
2146
|
+
}) : r[_z] = _ie.bind(n), process.env.NODE_ENV !== "production" && we("Methods", _z)) : process.env.NODE_ENV !== "production" && H("Method \"".concat(_z, "\" has type \"").concat(_typeof(_ie), "\" in the component definition. Did you reference the function correctly?"));
|
|
2147
2147
|
}
|
|
2148
2148
|
if (s) {
|
|
2149
|
-
process.env.NODE_ENV !== "production" && !ue(s) &&
|
|
2149
|
+
process.env.NODE_ENV !== "production" && !ue(s) && H("The data option must be a function. Plain object usage is no longer supported.");
|
|
2150
2150
|
var _z2 = s.call(n, n);
|
|
2151
|
-
if (process.env.NODE_ENV !== "production" && Zo(_z2) &&
|
|
2152
|
-
var _loop2 = function _loop2(
|
|
2153
|
-
we("Data",
|
|
2151
|
+
if (process.env.NODE_ENV !== "production" && Zo(_z2) && H("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."), !De(_z2)) process.env.NODE_ENV !== "production" && H("data() should return an object.");else if (e.data = cs(_z2), process.env.NODE_ENV !== "production") {
|
|
2152
|
+
var _loop2 = function _loop2(_ie2) {
|
|
2153
|
+
we("Data", _ie2), hs(_ie2[0]) || Object.defineProperty(r, _ie2, {
|
|
2154
2154
|
configurable: true,
|
|
2155
2155
|
enumerable: true,
|
|
2156
2156
|
get: function get() {
|
|
2157
|
-
return _z2[
|
|
2157
|
+
return _z2[_ie2];
|
|
2158
2158
|
},
|
|
2159
2159
|
set: Fe
|
|
2160
2160
|
});
|
|
2161
2161
|
};
|
|
2162
|
-
for (var
|
|
2163
|
-
_loop2(
|
|
2162
|
+
for (var _ie2 in _z2) {
|
|
2163
|
+
_loop2(_ie2);
|
|
2164
2164
|
}
|
|
2165
2165
|
}
|
|
2166
2166
|
}
|
|
2167
2167
|
if (Ho = true, o) {
|
|
2168
2168
|
var _loop3 = function _loop3(_z3) {
|
|
2169
|
-
var
|
|
2170
|
-
ye = ue(
|
|
2171
|
-
process.env.NODE_ENV !== "production" && ye === Fe &&
|
|
2172
|
-
var D = !ue(
|
|
2173
|
-
|
|
2169
|
+
var ie = o[_z3],
|
|
2170
|
+
ye = ue(ie) ? ie.bind(n, n) : ue(ie.get) ? ie.get.bind(n, n) : Fe;
|
|
2171
|
+
process.env.NODE_ENV !== "production" && ye === Fe && H("Computed property \"".concat(_z3, "\" has no getter."));
|
|
2172
|
+
var D = !ue(ie) && ue(ie.set) ? ie.set.bind(n) : process.env.NODE_ENV !== "production" ? function () {
|
|
2173
|
+
H("Write operation failed: computed property \"".concat(_z3, "\" is readonly."));
|
|
2174
2174
|
} : Fe,
|
|
2175
2175
|
Oe = _t({
|
|
2176
2176
|
get: ye,
|
|
@@ -2194,30 +2194,30 @@ function Yu(e) {
|
|
|
2194
2194
|
if (c) for (var _z4 in c) wc(c[_z4], r, n, _z4);
|
|
2195
2195
|
if (l) {
|
|
2196
2196
|
var _z5 = ue(l) ? l.call(n) : l;
|
|
2197
|
-
Reflect.ownKeys(_z5).forEach(function (
|
|
2198
|
-
el(
|
|
2197
|
+
Reflect.ownKeys(_z5).forEach(function (ie) {
|
|
2198
|
+
el(ie, _z5[ie]);
|
|
2199
2199
|
});
|
|
2200
2200
|
}
|
|
2201
2201
|
p && Ms(p, e, "c");
|
|
2202
|
-
function ve(z,
|
|
2203
|
-
ce(
|
|
2202
|
+
function ve(z, ie) {
|
|
2203
|
+
ce(ie) ? ie.forEach(function (ye) {
|
|
2204
2204
|
return z(ye.bind(n));
|
|
2205
|
-
}) :
|
|
2205
|
+
}) : ie && z(ie.bind(n));
|
|
2206
2206
|
}
|
|
2207
|
-
if (ve($u, d), ve(yc, h), ve(Mu, O), ve(Lu,
|
|
2207
|
+
if (ve($u, d), ve(yc, h), ve(Mu, O), ve(Lu, $), ve(Cu, j), ve(Pu, B), ve(Fu, pe), ve(Wu, ne), ve(Hu, le), ve(Vu, te), ve(_c, re), ve(ju, K), ce(k)) if (k.length) {
|
|
2208
2208
|
var _z6 = e.exposed || (e.exposed = {});
|
|
2209
|
-
|
|
2210
|
-
Object.defineProperty(_z6,
|
|
2209
|
+
k.forEach(function (ie) {
|
|
2210
|
+
Object.defineProperty(_z6, ie, {
|
|
2211
2211
|
get: function get() {
|
|
2212
|
-
return n[
|
|
2212
|
+
return n[ie];
|
|
2213
2213
|
},
|
|
2214
2214
|
set: function set(ye) {
|
|
2215
|
-
return n[
|
|
2215
|
+
return n[ie] = ye;
|
|
2216
2216
|
}
|
|
2217
2217
|
});
|
|
2218
2218
|
});
|
|
2219
2219
|
} else e.exposed || (e.exposed = {});
|
|
2220
|
-
L && e.render === Fe && (e.render = L),
|
|
2220
|
+
L && e.render === Fe && (e.render = L), F != null && (e.inheritAttrs = F), N && (e.components = N), se && (e.directives = se), K && vc(e);
|
|
2221
2221
|
}
|
|
2222
2222
|
function qu(e, t) {
|
|
2223
2223
|
var n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Fe;
|
|
@@ -2251,15 +2251,15 @@ function wc(e, t, n, r) {
|
|
|
2251
2251
|
};
|
|
2252
2252
|
if (He(e)) {
|
|
2253
2253
|
var o = t[e];
|
|
2254
|
-
ue(o) ? St(s, o) : process.env.NODE_ENV !== "production" &&
|
|
2254
|
+
ue(o) ? St(s, o) : process.env.NODE_ENV !== "production" && H("Invalid watch handler specified by key \"".concat(e, "\""), o);
|
|
2255
2255
|
} else if (ue(e)) St(s, e.bind(n));else if (De(e)) {
|
|
2256
2256
|
if (ce(e)) e.forEach(function (o) {
|
|
2257
2257
|
return wc(o, t, n, r);
|
|
2258
2258
|
});else {
|
|
2259
2259
|
var _o2 = ue(e.handler) ? e.handler.bind(n) : t[e.handler];
|
|
2260
|
-
ue(_o2) ? St(s, _o2, e) : process.env.NODE_ENV !== "production" &&
|
|
2260
|
+
ue(_o2) ? St(s, _o2, e) : process.env.NODE_ENV !== "production" && H("Invalid watch handler specified by key \"".concat(e.handler, "\""), _o2);
|
|
2261
2261
|
}
|
|
2262
|
-
} else process.env.NODE_ENV !== "production" &&
|
|
2262
|
+
} else process.env.NODE_ENV !== "production" && H("Invalid watch option: \"".concat(r, "\""), e);
|
|
2263
2263
|
}
|
|
2264
2264
|
function Oc(e) {
|
|
2265
2265
|
var t = e.type,
|
|
@@ -2282,7 +2282,7 @@ function Fr(e, t, n) {
|
|
|
2282
2282
|
o && Fr(e, o, n, true), s && s.forEach(function (i) {
|
|
2283
2283
|
return Fr(e, i, n, true);
|
|
2284
2284
|
});
|
|
2285
|
-
for (var i in t) if (r && i === "expose") process.env.NODE_ENV !== "production" &&
|
|
2285
|
+
for (var i in t) if (r && i === "expose") process.env.NODE_ENV !== "production" && H('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else {
|
|
2286
2286
|
var c = zu[i] || n && n[i];
|
|
2287
2287
|
e[i] = c ? c(e[i], t[i]) : t[i];
|
|
2288
2288
|
}
|
|
@@ -2376,7 +2376,7 @@ var Zu = 0;
|
|
|
2376
2376
|
function Qu(e, t) {
|
|
2377
2377
|
return function (r) {
|
|
2378
2378
|
var s = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
2379
|
-
ue(r) || (r = je({}, r)), s != null && !De(s) && (process.env.NODE_ENV !== "production" &&
|
|
2379
|
+
ue(r) || (r = je({}, r)), s != null && !De(s) && (process.env.NODE_ENV !== "production" && H("root props passed to app.mount() must be an object."), s = null);
|
|
2380
2380
|
var o = Sc(),
|
|
2381
2381
|
i = /* @__PURE__ */new WeakSet(),
|
|
2382
2382
|
c = [];
|
|
@@ -2393,26 +2393,26 @@ function Qu(e, t) {
|
|
|
2393
2393
|
return o.config;
|
|
2394
2394
|
},
|
|
2395
2395
|
set config(p) {
|
|
2396
|
-
process.env.NODE_ENV !== "production" &&
|
|
2396
|
+
process.env.NODE_ENV !== "production" && H("app.config cannot be replaced. Modify individual options instead.");
|
|
2397
2397
|
},
|
|
2398
2398
|
use: function use(p) {
|
|
2399
2399
|
for (var _len14 = arguments.length, d = new Array(_len14 > 1 ? _len14 - 1 : 0), _key14 = 1; _key14 < _len14; _key14++) {
|
|
2400
2400
|
d[_key14 - 1] = arguments[_key14];
|
|
2401
2401
|
}
|
|
2402
|
-
return i.has(p) ? process.env.NODE_ENV !== "production" &&
|
|
2402
|
+
return i.has(p) ? process.env.NODE_ENV !== "production" && H("Plugin has already been applied to target app.") : p && ue(p.install) ? (i.add(p), p.install.apply(p, [E].concat(d))) : ue(p) ? (i.add(p), p.apply(void 0, [E].concat(d))) : process.env.NODE_ENV !== "production" && H('A plugin must either be a function or an object with an "install" function.'), E;
|
|
2403
2403
|
},
|
|
2404
2404
|
mixin: function mixin(p) {
|
|
2405
|
-
return o.mixins.includes(p) ? process.env.NODE_ENV !== "production" &&
|
|
2405
|
+
return o.mixins.includes(p) ? process.env.NODE_ENV !== "production" && H("Mixin has already been applied to target app" + (p.name ? ": ".concat(p.name) : "")) : o.mixins.push(p), E;
|
|
2406
2406
|
},
|
|
2407
2407
|
component: function component(p, d) {
|
|
2408
|
-
return process.env.NODE_ENV !== "production" && Ko(p, o.config), d ? (process.env.NODE_ENV !== "production" && o.components[p] &&
|
|
2408
|
+
return process.env.NODE_ENV !== "production" && Ko(p, o.config), d ? (process.env.NODE_ENV !== "production" && o.components[p] && H("Component \"".concat(p, "\" has already been registered in target app.")), o.components[p] = d, E) : o.components[p];
|
|
2409
2409
|
},
|
|
2410
2410
|
directive: function directive(p, d) {
|
|
2411
|
-
return process.env.NODE_ENV !== "production" && mc(p), d ? (process.env.NODE_ENV !== "production" && o.directives[p] &&
|
|
2411
|
+
return process.env.NODE_ENV !== "production" && mc(p), d ? (process.env.NODE_ENV !== "production" && o.directives[p] && H("Directive \"".concat(p, "\" has already been registered in target app.")), o.directives[p] = d, E) : o.directives[p];
|
|
2412
2412
|
},
|
|
2413
2413
|
mount: function mount(p, d, h) {
|
|
2414
|
-
if (l) process.env.NODE_ENV !== "production" &&
|
|
2415
|
-
process.env.NODE_ENV !== "production" && p.__vue_app__ &&
|
|
2414
|
+
if (l) process.env.NODE_ENV !== "production" && H("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else {
|
|
2415
|
+
process.env.NODE_ENV !== "production" && p.__vue_app__ && H("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");
|
|
2416
2416
|
var O = E._ceVNode || at(r, s);
|
|
2417
2417
|
return O.appContext = o, h === true ? h = "svg" : h === false && (h = void 0), process.env.NODE_ENV !== "production" && (o.reload = function () {
|
|
2418
2418
|
e(en(O), p, h);
|
|
@@ -2420,13 +2420,13 @@ function Qu(e, t) {
|
|
|
2420
2420
|
}
|
|
2421
2421
|
},
|
|
2422
2422
|
onUnmount: function onUnmount(p) {
|
|
2423
|
-
process.env.NODE_ENV !== "production" && typeof p != "function" &&
|
|
2423
|
+
process.env.NODE_ENV !== "production" && typeof p != "function" && H("Expected function as first argument to app.onUnmount(), but got ".concat(_typeof(p))), c.push(p);
|
|
2424
2424
|
},
|
|
2425
2425
|
unmount: function unmount() {
|
|
2426
|
-
l ? (xt(c, E._instance, 16), e(null, E._container), process.env.NODE_ENV !== "production" && (E._instance = null, yu(E)), delete E._container.__vue_app__) : process.env.NODE_ENV !== "production" &&
|
|
2426
|
+
l ? (xt(c, E._instance, 16), e(null, E._container), process.env.NODE_ENV !== "production" && (E._instance = null, yu(E)), delete E._container.__vue_app__) : process.env.NODE_ENV !== "production" && H("Cannot unmount an app that is not mounted.");
|
|
2427
2427
|
},
|
|
2428
2428
|
provide: function provide(p, d) {
|
|
2429
|
-
return process.env.NODE_ENV !== "production" && p in o.provides &&
|
|
2429
|
+
return process.env.NODE_ENV !== "production" && p in o.provides && H("App already provides property with key \"".concat(String(p), "\". It will be overwritten with the new value.")), o.provides[p] = d, E;
|
|
2430
2430
|
},
|
|
2431
2431
|
runWithContext: function runWithContext(p) {
|
|
2432
2432
|
var d = Tn;
|
|
@@ -2443,7 +2443,7 @@ function Qu(e, t) {
|
|
|
2443
2443
|
}
|
|
2444
2444
|
var Tn = null;
|
|
2445
2445
|
function el(e, t) {
|
|
2446
|
-
if (!Ue) process.env.NODE_ENV !== "production" &&
|
|
2446
|
+
if (!Ue) process.env.NODE_ENV !== "production" && H("provide() can only be used inside setup().");else {
|
|
2447
2447
|
var n = Ue.provides;
|
|
2448
2448
|
var r = Ue.parent && Ue.parent.provides;
|
|
2449
2449
|
r === n && (n = Ue.provides = Object.create(r)), n[e] = t;
|
|
@@ -2456,8 +2456,8 @@ function Ar(e, t) {
|
|
|
2456
2456
|
var s = Tn ? Tn._context.provides : r ? r.parent == null ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : void 0;
|
|
2457
2457
|
if (s && e in s) return s[e];
|
|
2458
2458
|
if (arguments.length > 1) return n && ue(t) ? t.call(r && r.proxy) : t;
|
|
2459
|
-
process.env.NODE_ENV !== "production" &&
|
|
2460
|
-
} else process.env.NODE_ENV !== "production" &&
|
|
2459
|
+
process.env.NODE_ENV !== "production" && H("injection \"".concat(String(e), "\" not found."));
|
|
2460
|
+
} else process.env.NODE_ENV !== "production" && H("inject() can only be used inside setup() or functional components.");
|
|
2461
2461
|
}
|
|
2462
2462
|
var Ac = {},
|
|
2463
2463
|
Nc = function Nc() {
|
|
@@ -2501,8 +2501,8 @@ function rl(e, t, n, r) {
|
|
|
2501
2501
|
var O = t[h];
|
|
2502
2502
|
if (l) {
|
|
2503
2503
|
if (be(o, h)) O !== o[h] && (o[h] = O, E = true);else {
|
|
2504
|
-
var
|
|
2505
|
-
s[
|
|
2504
|
+
var $ = gt(h);
|
|
2505
|
+
s[$] = Fo(l, c, $, O, e, false);
|
|
2506
2506
|
}
|
|
2507
2507
|
} else O !== o[h] && (o[h] = O, E = true);
|
|
2508
2508
|
}
|
|
@@ -2590,11 +2590,11 @@ function xc(e, t) {
|
|
|
2590
2590
|
}
|
|
2591
2591
|
if (!o && !l) return De(e) && r.set(e, On), On;
|
|
2592
2592
|
if (ce(o)) for (var _p4 = 0; _p4 < o.length; _p4++) {
|
|
2593
|
-
process.env.NODE_ENV !== "production" && !He(o[_p4]) &&
|
|
2593
|
+
process.env.NODE_ENV !== "production" && !He(o[_p4]) && H("props must be strings when using array syntax.", o[_p4]);
|
|
2594
2594
|
var d = gt(o[_p4]);
|
|
2595
2595
|
js(d) && (i[d] = Ne);
|
|
2596
2596
|
} else if (o) {
|
|
2597
|
-
process.env.NODE_ENV !== "production" && !De(o) &&
|
|
2597
|
+
process.env.NODE_ENV !== "production" && !De(o) && H("invalid props options", o);
|
|
2598
2598
|
for (var _p5 in o) {
|
|
2599
2599
|
var _d4 = gt(_p5);
|
|
2600
2600
|
if (js(_d4)) {
|
|
@@ -2602,20 +2602,20 @@ function xc(e, t) {
|
|
|
2602
2602
|
O = i[_d4] = ce(h) || ue(h) ? {
|
|
2603
2603
|
type: h
|
|
2604
2604
|
} : je({}, h),
|
|
2605
|
-
|
|
2606
|
-
var
|
|
2607
|
-
|
|
2608
|
-
if (ce(
|
|
2609
|
-
var
|
|
2610
|
-
|
|
2611
|
-
if (
|
|
2612
|
-
|
|
2605
|
+
$ = O.type;
|
|
2606
|
+
var j = false,
|
|
2607
|
+
B = true;
|
|
2608
|
+
if (ce($)) for (var J = 0; J < $.length; ++J) {
|
|
2609
|
+
var te = $[J],
|
|
2610
|
+
U = ue(te) && te.name;
|
|
2611
|
+
if (U === "Boolean") {
|
|
2612
|
+
j = true;
|
|
2613
2613
|
break;
|
|
2614
|
-
} else
|
|
2615
|
-
} else
|
|
2614
|
+
} else U === "String" && (B = false);
|
|
2615
|
+
} else j = ue($) && $.name === "Boolean";
|
|
2616
2616
|
O[0
|
|
2617
|
-
/* shouldCast */] =
|
|
2618
|
-
/* shouldCastTrue */] =
|
|
2617
|
+
/* shouldCast */] = j, O[1
|
|
2618
|
+
/* shouldCastTrue */] = B, (j || be(O, "default")) && c.push(_d4);
|
|
2619
2619
|
}
|
|
2620
2620
|
}
|
|
2621
2621
|
}
|
|
@@ -2623,7 +2623,7 @@ function xc(e, t) {
|
|
|
2623
2623
|
return De(e) && r.set(e, E), E;
|
|
2624
2624
|
}
|
|
2625
2625
|
function js(e) {
|
|
2626
|
-
return e[0] !== "$" && !Jn(e) ? true : (process.env.NODE_ENV !== "production" &&
|
|
2626
|
+
return e[0] !== "$" && !Jn(e) ? true : (process.env.NODE_ENV !== "production" && H("Invalid prop name: \"".concat(e, "\" is a reserved property.")), false);
|
|
2627
2627
|
}
|
|
2628
2628
|
function sl(e) {
|
|
2629
2629
|
return e === null ? "null" : typeof e == "function" ? e.name || "" : _typeof(e) == "object" && e.constructor && e.constructor.name || "";
|
|
@@ -2645,7 +2645,7 @@ function il(e, t, n, r, s) {
|
|
|
2645
2645
|
c = n.validator,
|
|
2646
2646
|
l = n.skipCheck;
|
|
2647
2647
|
if (i && s) {
|
|
2648
|
-
|
|
2648
|
+
H('Missing required prop: "' + e + '"');
|
|
2649
2649
|
return;
|
|
2650
2650
|
}
|
|
2651
2651
|
if (!(t == null && !i)) {
|
|
@@ -2656,15 +2656,15 @@ function il(e, t, n, r, s) {
|
|
|
2656
2656
|
for (var h = 0; h < p.length && !E; h++) {
|
|
2657
2657
|
var _al = al(t, p[h]),
|
|
2658
2658
|
O = _al.valid,
|
|
2659
|
-
|
|
2660
|
-
d.push(
|
|
2659
|
+
$ = _al.expectedType;
|
|
2660
|
+
d.push($ || ""), E = O;
|
|
2661
2661
|
}
|
|
2662
2662
|
if (!E) {
|
|
2663
|
-
|
|
2663
|
+
H(ul(e, t, d));
|
|
2664
2664
|
return;
|
|
2665
2665
|
}
|
|
2666
2666
|
}
|
|
2667
|
-
c && !c(t, r) &&
|
|
2667
|
+
c && !c(t, r) && H('Invalid prop: custom validator check failed for prop "' + e + '".');
|
|
2668
2668
|
}
|
|
2669
2669
|
}
|
|
2670
2670
|
var cl = /* @__PURE__ */Pn("String,Number,Boolean,Function,Symbol,BigInt");
|
|
@@ -2714,7 +2714,7 @@ var Cc = function Cc(e) {
|
|
|
2714
2714
|
fl = function fl(e, t, n) {
|
|
2715
2715
|
if (t._n) return t;
|
|
2716
2716
|
var r = Nu(function () {
|
|
2717
|
-
return process.env.NODE_ENV !== "production" && Ue && (!n || n.root === Ue.root) &&
|
|
2717
|
+
return process.env.NODE_ENV !== "production" && Ue && (!n || n.root === Ue.root) && H("Slot \"".concat(e, "\" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.")), gs(t.apply(void 0, arguments));
|
|
2718
2718
|
}, n);
|
|
2719
2719
|
return r._c = false, r;
|
|
2720
2720
|
},
|
|
@@ -2724,7 +2724,7 @@ var Cc = function Cc(e) {
|
|
|
2724
2724
|
if (Cc(s)) return 1; // continue
|
|
2725
2725
|
var o = e[s];
|
|
2726
2726
|
if (ue(o)) t[s] = fl(s, o, r);else if (o != null) {
|
|
2727
|
-
process.env.NODE_ENV !== "production" &&
|
|
2727
|
+
process.env.NODE_ENV !== "production" && H("Non-function value encountered for slot \"".concat(s, "\". Prefer function slots for better performance."));
|
|
2728
2728
|
var i = gs(o);
|
|
2729
2729
|
t[s] = function () {
|
|
2730
2730
|
return i;
|
|
@@ -2736,7 +2736,7 @@ var Cc = function Cc(e) {
|
|
|
2736
2736
|
}
|
|
2737
2737
|
},
|
|
2738
2738
|
Ic = function Ic(e, t) {
|
|
2739
|
-
process.env.NODE_ENV !== "production" && !ds(e.vnode) &&
|
|
2739
|
+
process.env.NODE_ENV !== "production" && !ds(e.vnode) && H("Non-function value encountered for default slot. Prefer function slots for better performance.");
|
|
2740
2740
|
var n = gs(t);
|
|
2741
2741
|
e.slots["default"] = function () {
|
|
2742
2742
|
return n;
|
|
@@ -2804,8 +2804,8 @@ function ml(e, t) {
|
|
|
2804
2804
|
h = e.nextSibling,
|
|
2805
2805
|
_e$setScopeId = e.setScopeId,
|
|
2806
2806
|
O = _e$setScopeId === void 0 ? Fe : _e$setScopeId,
|
|
2807
|
-
|
|
2808
|
-
|
|
2807
|
+
$ = e.insertStaticContent,
|
|
2808
|
+
j = function j(f, g, y) {
|
|
2809
2809
|
var C = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
|
|
2810
2810
|
var R = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
|
|
2811
2811
|
var _ = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
|
|
@@ -2815,49 +2815,49 @@ function ml(e, t) {
|
|
|
2815
2815
|
if (f === g) return;
|
|
2816
2816
|
f && !Gn(f, g) && (C = _de(f), Pe(f, R, _, true), f = null), g.patchFlag === -2 && (A = false, g.dynamicChildren = null);
|
|
2817
2817
|
var T = g.type,
|
|
2818
|
-
|
|
2818
|
+
G = g.ref,
|
|
2819
2819
|
M = g.shapeFlag;
|
|
2820
2820
|
switch (T) {
|
|
2821
2821
|
case dr:
|
|
2822
|
-
|
|
2822
|
+
B(f, g, y, C);
|
|
2823
2823
|
break;
|
|
2824
2824
|
case ut:
|
|
2825
|
-
|
|
2825
|
+
J(f, g, y, C);
|
|
2826
2826
|
break;
|
|
2827
2827
|
case Tr:
|
|
2828
|
-
f == null ?
|
|
2828
|
+
f == null ? te(g, y, C, P) : process.env.NODE_ENV !== "production" && U(f, g, y, P);
|
|
2829
2829
|
break;
|
|
2830
2830
|
case wt:
|
|
2831
|
-
|
|
2831
|
+
se(f, g, y, C, R, _, P, b, A);
|
|
2832
2832
|
break;
|
|
2833
2833
|
default:
|
|
2834
|
-
M & 1 ?
|
|
2834
|
+
M & 1 ? ne(f, g, y, C, R, _, P, b, A) : M & 6 ? ge(f, g, y, C, R, _, P, b, A) : M & 64 || M & 128 ? T.process(f, g, y, C, R, _, P, b, A, W) : process.env.NODE_ENV !== "production" && H("Invalid VNode type:", T, "(".concat(_typeof(T), ")"));
|
|
2835
2835
|
}
|
|
2836
|
-
|
|
2836
|
+
G != null && R && Wr(G, f && f.ref, _, g || f, !g);
|
|
2837
2837
|
},
|
|
2838
|
-
|
|
2838
|
+
B = function B(f, g, y, C) {
|
|
2839
2839
|
if (f == null) r(g.el = c(g.children), y, C);else {
|
|
2840
2840
|
var R = g.el = f.el;
|
|
2841
2841
|
g.children !== f.children && E(R, g.children);
|
|
2842
2842
|
}
|
|
2843
2843
|
},
|
|
2844
|
-
|
|
2844
|
+
J = function J(f, g, y, C) {
|
|
2845
2845
|
f == null ? r(g.el = l(g.children || ""), y, C) : g.el = f.el;
|
|
2846
2846
|
},
|
|
2847
|
-
|
|
2848
|
-
var
|
|
2849
|
-
var
|
|
2850
|
-
f.el =
|
|
2851
|
-
f.anchor =
|
|
2847
|
+
te = function te(f, g, y, C) {
|
|
2848
|
+
var _$ = $(f.children, g, y, C, f.el, f.anchor);
|
|
2849
|
+
var _$2 = _slicedToArray(_$, 2);
|
|
2850
|
+
f.el = _$2[0];
|
|
2851
|
+
f.anchor = _$2[1];
|
|
2852
2852
|
},
|
|
2853
|
-
|
|
2853
|
+
U = function U(f, g, y, C) {
|
|
2854
2854
|
if (g.children !== f.children) {
|
|
2855
|
-
var
|
|
2855
|
+
var _$3, _$4;
|
|
2856
2856
|
var R = h(f.anchor);
|
|
2857
|
-
L(f),
|
|
2857
|
+
L(f), _$3 = $(g.children, y, R, C), _$4 = _slicedToArray(_$3, 2), g.el = _$4[0], g.anchor = _$4[1];
|
|
2858
2858
|
} else g.el = f.el, g.anchor = f.anchor;
|
|
2859
2859
|
},
|
|
2860
|
-
|
|
2860
|
+
re = function re(_ref9, y, C) {
|
|
2861
2861
|
var f = _ref9.el,
|
|
2862
2862
|
g = _ref9.anchor;
|
|
2863
2863
|
var R;
|
|
@@ -2871,23 +2871,23 @@ function ml(e, t) {
|
|
|
2871
2871
|
for (; f && f !== g;) y = h(f), s(f), f = y;
|
|
2872
2872
|
s(g);
|
|
2873
2873
|
},
|
|
2874
|
-
|
|
2875
|
-
g.type === "svg" ? P = "svg" : g.type === "math" && (P = "mathml"), f == null ? le(g, y, C, R, _, P, b, A) :
|
|
2874
|
+
ne = function ne(f, g, y, C, R, _, P, b, A) {
|
|
2875
|
+
g.type === "svg" ? P = "svg" : g.type === "math" && (P = "mathml"), f == null ? le(g, y, C, R, _, P, b, A) : k(f, g, R, _, P, b, A);
|
|
2876
2876
|
},
|
|
2877
2877
|
le = function le(f, g, y, C, R, _, P, b) {
|
|
2878
2878
|
var A, T;
|
|
2879
|
-
var
|
|
2879
|
+
var G = f.props,
|
|
2880
2880
|
M = f.shapeFlag,
|
|
2881
2881
|
Q = f.transition,
|
|
2882
|
-
|
|
2883
|
-
if (A = f.el = i(f.type, _,
|
|
2884
|
-
for (var Te in
|
|
2885
|
-
"value" in
|
|
2882
|
+
oe = f.dirs;
|
|
2883
|
+
if (A = f.el = i(f.type, _, G && G.is, G), M & 8 ? p(A, f.children) : M & 16 && K(f.children, A, null, C, R, yo(f, _), P, b), oe && nn(f, null, C, "created"), _pe(A, f, f.scopeId, P, C), G) {
|
|
2884
|
+
for (var Te in G) Te !== "value" && !Jn(Te) && o(A, Te, null, G[Te], _, C);
|
|
2885
|
+
"value" in G && o(A, "value", null, G.value, _), (T = G.onVnodeBeforeMount) && yt(T, C, f);
|
|
2886
2886
|
}
|
|
2887
|
-
process.env.NODE_ENV !== "production" && ($r(A, "__vnode", f, true), $r(A, "__vueParentComponent", C, true)),
|
|
2887
|
+
process.env.NODE_ENV !== "production" && ($r(A, "__vnode", f, true), $r(A, "__vueParentComponent", C, true)), oe && nn(f, null, C, "beforeMount");
|
|
2888
2888
|
var Ee = vl(R, Q);
|
|
2889
|
-
Ee && Q.beforeEnter(A), r(A, g, y), ((T =
|
|
2890
|
-
T && yt(T, C, f), Ee && Q.enter(A),
|
|
2889
|
+
Ee && Q.beforeEnter(A), r(A, g, y), ((T = G && G.onVnodeMounted) || Ee || oe) && st(function () {
|
|
2890
|
+
T && yt(T, C, f), Ee && Q.enter(A), oe && nn(f, null, C, "mounted");
|
|
2891
2891
|
}, R);
|
|
2892
2892
|
},
|
|
2893
2893
|
_pe = function pe(f, g, y, C, R) {
|
|
@@ -2900,24 +2900,24 @@ function ml(e, t) {
|
|
|
2900
2900
|
}
|
|
2901
2901
|
}
|
|
2902
2902
|
},
|
|
2903
|
-
|
|
2903
|
+
K = function K(f, g, y, C, R, _, P, b) {
|
|
2904
2904
|
var A = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : 0;
|
|
2905
2905
|
for (var T = A; T < f.length; T++) {
|
|
2906
|
-
var
|
|
2907
|
-
|
|
2906
|
+
var G = f[T] = b ? Jt(f[T]) : dt(f[T]);
|
|
2907
|
+
j(null, G, g, y, C, R, _, P, b);
|
|
2908
2908
|
}
|
|
2909
2909
|
},
|
|
2910
|
-
|
|
2910
|
+
k = function k(f, g, y, C, R, _, P) {
|
|
2911
2911
|
var b = g.el = f.el;
|
|
2912
2912
|
process.env.NODE_ENV !== "production" && (b.__vnode = g);
|
|
2913
2913
|
var A = g.patchFlag,
|
|
2914
2914
|
T = g.dynamicChildren,
|
|
2915
|
-
|
|
2915
|
+
G = g.dirs;
|
|
2916
2916
|
A |= f.patchFlag & 16;
|
|
2917
2917
|
var M = f.props || Ne,
|
|
2918
2918
|
Q = g.props || Ne;
|
|
2919
|
-
var
|
|
2920
|
-
if (y && rn(y, false), (
|
|
2919
|
+
var oe;
|
|
2920
|
+
if (y && rn(y, false), (oe = Q.onVnodeBeforeUpdate) && yt(oe, y, g, f), G && nn(g, f, y, "beforeUpdate"), y && rn(y, true), process.env.NODE_ENV !== "production" && Nt && (A = 0, P = false, T = null), (M.innerHTML && Q.innerHTML == null || M.textContent && Q.textContent == null) && p(b, ""), T ? (F(f.dynamicChildren, T, b, y, C, yo(g, R), _), process.env.NODE_ENV !== "production" && Nr(f, g)) : P || ye(f, g, b, null, y, C, yo(g, R), _, false), A > 0) {
|
|
2921
2921
|
if (A & 16) N(b, M, Q, y, R);else if (A & 2 && M["class"] !== Q["class"] && o(b, "class", null, Q["class"], R), A & 4 && o(b, "style", M.style, Q.style, R), A & 8) {
|
|
2922
2922
|
var Ee = g.dynamicProps;
|
|
2923
2923
|
for (var Te = 0; Te < Ee.length; Te++) {
|
|
@@ -2929,15 +2929,15 @@ function ml(e, t) {
|
|
|
2929
2929
|
}
|
|
2930
2930
|
A & 1 && f.children !== g.children && p(b, g.children);
|
|
2931
2931
|
} else !P && T == null && N(b, M, Q, y, R);
|
|
2932
|
-
((
|
|
2933
|
-
|
|
2932
|
+
((oe = Q.onVnodeUpdated) || G) && st(function () {
|
|
2933
|
+
oe && yt(oe, y, g, f), G && nn(g, f, y, "updated");
|
|
2934
2934
|
}, C);
|
|
2935
2935
|
},
|
|
2936
|
-
|
|
2936
|
+
F = function F(f, g, y, C, R, _, P) {
|
|
2937
2937
|
for (var b = 0; b < g.length; b++) {
|
|
2938
2938
|
var A = f[b],
|
|
2939
2939
|
T = g[b],
|
|
2940
|
-
|
|
2940
|
+
G =
|
|
2941
2941
|
// oldVNode may be an errored async setup() component inside Suspense
|
|
2942
2942
|
// which will not have a mounted element
|
|
2943
2943
|
A.el && (
|
|
@@ -2952,7 +2952,7 @@ function ml(e, t) {
|
|
|
2952
2952
|
// In other cases, the parent container is not actually used so we
|
|
2953
2953
|
// just pass the block element here to avoid a DOM parentNode call.
|
|
2954
2954
|
y;
|
|
2955
|
-
|
|
2955
|
+
j(A, T, G, null, C, R, _, P, true);
|
|
2956
2956
|
}
|
|
2957
2957
|
},
|
|
2958
2958
|
N = function N(f, g, y, C, R) {
|
|
@@ -2967,39 +2967,39 @@ function ml(e, t) {
|
|
|
2967
2967
|
"value" in y && o(f, "value", g.value, y.value, R);
|
|
2968
2968
|
}
|
|
2969
2969
|
},
|
|
2970
|
-
|
|
2970
|
+
se = function se(f, g, y, C, R, _, P, b, A) {
|
|
2971
2971
|
var T = g.el = f ? f.el : c(""),
|
|
2972
|
-
|
|
2972
|
+
G = g.anchor = f ? f.anchor : c("");
|
|
2973
2973
|
var M = g.patchFlag,
|
|
2974
2974
|
Q = g.dynamicChildren,
|
|
2975
|
-
|
|
2975
|
+
oe = g.slotScopeIds;
|
|
2976
2976
|
process.env.NODE_ENV !== "production" && (
|
|
2977
2977
|
// #5523 dev root fragment may inherit directives
|
|
2978
|
-
Nt || M & 2048) && (M = 0, A = false, Q = null),
|
|
2978
|
+
Nt || M & 2048) && (M = 0, A = false, Q = null), oe && (b = b ? b.concat(oe) : oe), f == null ? (r(T, y, C), r(G, y, C), K(
|
|
2979
2979
|
// #10007
|
|
2980
2980
|
// such fragment like `<></>` will be compiled into
|
|
2981
2981
|
// a fragment which doesn't have a children.
|
|
2982
2982
|
// In this case fallback to an empty array
|
|
2983
|
-
g.children || [], y,
|
|
2983
|
+
g.children || [], y, G, R, _, P, b, A)) : M > 0 && M & 64 && Q &&
|
|
2984
2984
|
// #2715 the previous fragment could've been a BAILed one as a result
|
|
2985
2985
|
// of renderSlot() with no valid children
|
|
2986
|
-
f.dynamicChildren ? (
|
|
2986
|
+
f.dynamicChildren ? (F(f.dynamicChildren, Q, y, R, _, P, b), process.env.NODE_ENV !== "production" ? Nr(f, g) :
|
|
2987
2987
|
// #2080 if the stable fragment has a key, it's a <template v-for> that may
|
|
2988
2988
|
// get moved around. Make sure all root level vnodes inherit el.
|
|
2989
2989
|
// #2134 or if it's a component root, it may also get moved around
|
|
2990
2990
|
// as the component is being moved.
|
|
2991
2991
|
(g.key != null || R && g === R.subTree) && Nr(f, g, true
|
|
2992
|
-
/* shallow */)) : ye(f, g, y,
|
|
2992
|
+
/* shallow */)) : ye(f, g, y, G, R, _, P, b, A);
|
|
2993
2993
|
},
|
|
2994
2994
|
ge = function ge(f, g, y, C, R, _, P, b, A) {
|
|
2995
2995
|
g.slotScopeIds = b, f == null ? g.shapeFlag & 512 ? R.ctx.activate(g, y, C, P, A) : we(g, y, C, R, _, P, A) : ve(f, g, A);
|
|
2996
2996
|
},
|
|
2997
2997
|
we = function we(f, g, y, C, R, _, P) {
|
|
2998
2998
|
var b = f.component = Vl(f, C, R);
|
|
2999
|
-
if (process.env.NODE_ENV !== "production" && b.type.__hmrId && hu(b), process.env.NODE_ENV !== "production" && (wr(f), _n(b, "mount")), ds(f) && (b.ctx.renderer =
|
|
2999
|
+
if (process.env.NODE_ENV !== "production" && b.type.__hmrId && hu(b), process.env.NODE_ENV !== "production" && (wr(f), _n(b, "mount")), ds(f) && (b.ctx.renderer = W), process.env.NODE_ENV !== "production" && _n(b, "init"), Wl(b, false, P), process.env.NODE_ENV !== "production" && bn(b, "init"), b.asyncDep) {
|
|
3000
3000
|
if (process.env.NODE_ENV !== "production" && Nt && (f.el = null), R && R.registerDep(b, z, P), !f.el) {
|
|
3001
3001
|
var A = b.subTree = at(ut);
|
|
3002
|
-
|
|
3002
|
+
J(null, A, g, y);
|
|
3003
3003
|
}
|
|
3004
3004
|
} else z(b, f, g, y, R, _, P);
|
|
3005
3005
|
process.env.NODE_ENV !== "production" && (Or(), bn(b, "mount"));
|
|
@@ -3008,7 +3008,7 @@ function ml(e, t) {
|
|
|
3008
3008
|
var C = g.component = f.component;
|
|
3009
3009
|
if (Nl(f, g, y)) {
|
|
3010
3010
|
if (C.asyncDep && !C.asyncResolved) {
|
|
3011
|
-
process.env.NODE_ENV !== "production" && wr(g),
|
|
3011
|
+
process.env.NODE_ENV !== "production" && wr(g), ie(C, g, y), process.env.NODE_ENV !== "production" && Or();
|
|
3012
3012
|
return;
|
|
3013
3013
|
} else C.next = g, C.update();
|
|
3014
3014
|
} else g.el = f.el, C.vnode = g;
|
|
@@ -3018,13 +3018,13 @@ function ml(e, t) {
|
|
|
3018
3018
|
if (f.isMounted) {
|
|
3019
3019
|
var M = f.next,
|
|
3020
3020
|
Q = f.bu,
|
|
3021
|
-
|
|
3021
|
+
oe = f.u,
|
|
3022
3022
|
Ee = f.parent,
|
|
3023
3023
|
Te = f.vnode;
|
|
3024
3024
|
{
|
|
3025
3025
|
var tt = $c(f);
|
|
3026
3026
|
if (tt) {
|
|
3027
|
-
M && (M.el = Te.el,
|
|
3027
|
+
M && (M.el = Te.el, ie(f, M, P)), tt.asyncDep.then(function () {
|
|
3028
3028
|
f.isUnmounted || _b();
|
|
3029
3029
|
});
|
|
3030
3030
|
return;
|
|
@@ -3032,35 +3032,35 @@ function ml(e, t) {
|
|
|
3032
3032
|
}
|
|
3033
3033
|
var Se = M,
|
|
3034
3034
|
Ye;
|
|
3035
|
-
process.env.NODE_ENV !== "production" && wr(M || f.vnode), rn(f, false), M ? (M.el = Te.el,
|
|
3035
|
+
process.env.NODE_ENV !== "production" && wr(M || f.vnode), rn(f, false), M ? (M.el = Te.el, ie(f, M, P)) : M = Te, Q && Fn(Q), (Ye = M.props && M.props.onVnodeBeforeUpdate) && yt(Ye, Ee, M, Te), rn(f, true), process.env.NODE_ENV !== "production" && _n(f, "render");
|
|
3036
3036
|
var Ge = Bs(f);
|
|
3037
3037
|
process.env.NODE_ENV !== "production" && bn(f, "render");
|
|
3038
3038
|
var ot = f.subTree;
|
|
3039
|
-
f.subTree = Ge, process.env.NODE_ENV !== "production" && _n(f, "patch"),
|
|
3039
|
+
f.subTree = Ge, process.env.NODE_ENV !== "production" && _n(f, "patch"), j(ot, Ge,
|
|
3040
3040
|
// parent may have changed if it's in a teleport
|
|
3041
3041
|
d(ot.el),
|
|
3042
3042
|
// anchor may have changed if it's in a fragment
|
|
3043
|
-
_de(ot), f, R, _), process.env.NODE_ENV !== "production" && bn(f, "patch"), M.el = Ge.el, Se === null && Tl(f, Ge.el),
|
|
3043
|
+
_de(ot), f, R, _), process.env.NODE_ENV !== "production" && bn(f, "patch"), M.el = Ge.el, Se === null && Tl(f, Ge.el), oe && st(oe, R), (Ye = M.props && M.props.onVnodeUpdated) && st(function () {
|
|
3044
3044
|
return yt(Ye, Ee, M, Te);
|
|
3045
3045
|
}, R), process.env.NODE_ENV !== "production" && dc(f), process.env.NODE_ENV !== "production" && Or();
|
|
3046
3046
|
} else {
|
|
3047
3047
|
var _M;
|
|
3048
3048
|
var _g2 = g,
|
|
3049
3049
|
_Q = _g2.el,
|
|
3050
|
-
|
|
3050
|
+
_oe = _g2.props,
|
|
3051
3051
|
_Ee = f.bm,
|
|
3052
3052
|
_Te = f.m,
|
|
3053
3053
|
_Se = f.parent,
|
|
3054
3054
|
_Ye = f.root,
|
|
3055
3055
|
_Ge = f.type,
|
|
3056
3056
|
_ot = Qn(g);
|
|
3057
|
-
rn(f, false), _Ee && Fn(_Ee), !_ot && (_M =
|
|
3057
|
+
rn(f, false), _Ee && Fn(_Ee), !_ot && (_M = _oe && _oe.onVnodeBeforeMount) && yt(_M, _Se, g), rn(f, true);
|
|
3058
3058
|
{
|
|
3059
3059
|
_Ye.ce && _Ye.ce._injectChildStyle(_Ge), process.env.NODE_ENV !== "production" && _n(f, "render");
|
|
3060
3060
|
var _tt = f.subTree = Bs(f);
|
|
3061
|
-
process.env.NODE_ENV !== "production" && bn(f, "render"), process.env.NODE_ENV !== "production" && _n(f, "patch"),
|
|
3061
|
+
process.env.NODE_ENV !== "production" && bn(f, "render"), process.env.NODE_ENV !== "production" && _n(f, "patch"), j(null, _tt, y, C, f, R, _), process.env.NODE_ENV !== "production" && bn(f, "patch"), g.el = _tt.el;
|
|
3062
3062
|
}
|
|
3063
|
-
if (_Te && st(_Te, R), !_ot && (_M =
|
|
3063
|
+
if (_Te && st(_Te, R), !_ot && (_M = _oe && _oe.onVnodeMounted)) {
|
|
3064
3064
|
var _tt2 = g;
|
|
3065
3065
|
st(function () {
|
|
3066
3066
|
return yt(_M, _Se, _tt2);
|
|
@@ -3073,16 +3073,16 @@ function ml(e, t) {
|
|
|
3073
3073
|
var A = f.effect = new Bi(_b);
|
|
3074
3074
|
f.scope.off();
|
|
3075
3075
|
var T = f.update = A.run.bind(A),
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
return Xr(
|
|
3076
|
+
G = f.job = A.runIfDirty.bind(A);
|
|
3077
|
+
G.i = f, G.id = f.uid, A.scheduler = function () {
|
|
3078
|
+
return Xr(G);
|
|
3079
3079
|
}, rn(f, true), process.env.NODE_ENV !== "production" && (A.onTrack = f.rtc ? function (M) {
|
|
3080
3080
|
return Fn(f.rtc, M);
|
|
3081
3081
|
} : void 0, A.onTrigger = f.rtg ? function (M) {
|
|
3082
3082
|
return Fn(f.rtg, M);
|
|
3083
3083
|
} : void 0), T();
|
|
3084
3084
|
},
|
|
3085
|
-
|
|
3085
|
+
ie = function ie(f, g, y) {
|
|
3086
3086
|
g.component = f;
|
|
3087
3087
|
var C = f.vnode.props;
|
|
3088
3088
|
f.vnode = g, f.next = null, rl(f, g.props, C, y), dl(f, g.children, y), Bt(), Ps(f), Ut();
|
|
@@ -3090,10 +3090,10 @@ function ml(e, t) {
|
|
|
3090
3090
|
ye = function ye(f, g, y, C, R, _, P, b) {
|
|
3091
3091
|
var A = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : false;
|
|
3092
3092
|
var T = f && f.children,
|
|
3093
|
-
|
|
3093
|
+
G = f ? f.shapeFlag : 0,
|
|
3094
3094
|
M = g.children,
|
|
3095
3095
|
Q = g.patchFlag,
|
|
3096
|
-
|
|
3096
|
+
oe = g.shapeFlag;
|
|
3097
3097
|
if (Q > 0) {
|
|
3098
3098
|
if (Q & 128) {
|
|
3099
3099
|
Oe(T, M, y, C, R, _, P, b, A);
|
|
@@ -3103,50 +3103,50 @@ function ml(e, t) {
|
|
|
3103
3103
|
return;
|
|
3104
3104
|
}
|
|
3105
3105
|
}
|
|
3106
|
-
|
|
3106
|
+
oe & 8 ? (G & 16 && Z(T, R, _), M !== T && p(y, M)) : G & 16 ? oe & 16 ? Oe(T, M, y, C, R, _, P, b, A) : Z(T, R, _, true) : (G & 8 && p(y, ""), oe & 16 && K(M, y, C, R, _, P, b, A));
|
|
3107
3107
|
},
|
|
3108
3108
|
D = function D(f, g, y, C, R, _, P, b, A) {
|
|
3109
3109
|
f = f || On, g = g || On;
|
|
3110
3110
|
var T = f.length,
|
|
3111
|
-
|
|
3112
|
-
M = Math.min(T,
|
|
3111
|
+
G = g.length,
|
|
3112
|
+
M = Math.min(T, G);
|
|
3113
3113
|
var Q;
|
|
3114
3114
|
for (Q = 0; Q < M; Q++) {
|
|
3115
|
-
var
|
|
3116
|
-
|
|
3115
|
+
var oe = g[Q] = A ? Jt(g[Q]) : dt(g[Q]);
|
|
3116
|
+
j(f[Q], oe, y, null, R, _, P, b, A);
|
|
3117
3117
|
}
|
|
3118
|
-
T >
|
|
3118
|
+
T > G ? Z(f, R, _, true, false, M) : K(g, y, C, R, _, P, b, A, M);
|
|
3119
3119
|
},
|
|
3120
3120
|
Oe = function Oe(f, g, y, C, R, _, P, b, A) {
|
|
3121
3121
|
var T = 0;
|
|
3122
|
-
var
|
|
3122
|
+
var G = g.length;
|
|
3123
3123
|
var M = f.length - 1,
|
|
3124
|
-
Q =
|
|
3124
|
+
Q = G - 1;
|
|
3125
3125
|
for (; T <= M && T <= Q;) {
|
|
3126
|
-
var
|
|
3126
|
+
var oe = f[T],
|
|
3127
3127
|
Ee = g[T] = A ? Jt(g[T]) : dt(g[T]);
|
|
3128
|
-
if (Gn(
|
|
3128
|
+
if (Gn(oe, Ee)) j(oe, Ee, y, null, R, _, P, b, A);else break;
|
|
3129
3129
|
T++;
|
|
3130
3130
|
}
|
|
3131
3131
|
for (; T <= M && T <= Q;) {
|
|
3132
|
-
var
|
|
3132
|
+
var _oe2 = f[M],
|
|
3133
3133
|
_Ee2 = g[Q] = A ? Jt(g[Q]) : dt(g[Q]);
|
|
3134
|
-
if (Gn(
|
|
3134
|
+
if (Gn(_oe2, _Ee2)) j(_oe2, _Ee2, y, null, R, _, P, b, A);else break;
|
|
3135
3135
|
M--, Q--;
|
|
3136
3136
|
}
|
|
3137
3137
|
if (T > M) {
|
|
3138
3138
|
if (T <= Q) {
|
|
3139
|
-
var
|
|
3140
|
-
_Ee3 =
|
|
3141
|
-
for (; T <= Q;)
|
|
3139
|
+
var _oe3 = Q + 1,
|
|
3140
|
+
_Ee3 = _oe3 < G ? g[_oe3].el : C;
|
|
3141
|
+
for (; T <= Q;) j(null, g[T] = A ? Jt(g[T]) : dt(g[T]), y, _Ee3, R, _, P, b, A), T++;
|
|
3142
3142
|
}
|
|
3143
3143
|
} else if (T > Q) for (; T <= M;) Pe(f[T], R, _, true), T++;else {
|
|
3144
|
-
var
|
|
3144
|
+
var _oe4 = T,
|
|
3145
3145
|
_Ee4 = T,
|
|
3146
3146
|
Te = /* @__PURE__ */new Map();
|
|
3147
3147
|
for (T = _Ee4; T <= Q; T++) {
|
|
3148
3148
|
var Be = g[T] = A ? Jt(g[T]) : dt(g[T]);
|
|
3149
|
-
Be.key != null && (process.env.NODE_ENV !== "production" && Te.has(Be.key) &&
|
|
3149
|
+
Be.key != null && (process.env.NODE_ENV !== "production" && Te.has(Be.key) && H("Duplicate keys found during update:", JSON.stringify(Be.key), "Make sure keys are unique."), Te.set(Be.key, T));
|
|
3150
3150
|
}
|
|
3151
3151
|
var Se,
|
|
3152
3152
|
Ye = 0;
|
|
@@ -3155,7 +3155,7 @@ function ml(e, t) {
|
|
|
3155
3155
|
tt = 0;
|
|
3156
3156
|
var lt = new Array(Ge);
|
|
3157
3157
|
for (T = 0; T < Ge; T++) lt[T] = 0;
|
|
3158
|
-
for (T =
|
|
3158
|
+
for (T = _oe4; T <= M; T++) {
|
|
3159
3159
|
var _Be = f[T];
|
|
3160
3160
|
if (Ye >= Ge) {
|
|
3161
3161
|
Pe(_Be, R, _, true);
|
|
@@ -3166,14 +3166,14 @@ function ml(e, t) {
|
|
|
3166
3166
|
ft = Se;
|
|
3167
3167
|
break;
|
|
3168
3168
|
}
|
|
3169
|
-
ft === void 0 ? Pe(_Be, R, _, true) : (lt[ft - _Ee4] = T + 1, ft >= tt ? tt = ft : ot = true,
|
|
3169
|
+
ft === void 0 ? Pe(_Be, R, _, true) : (lt[ft - _Ee4] = T + 1, ft >= tt ? tt = ft : ot = true, j(_Be, g[ft], y, null, R, _, P, b, A), Ye++);
|
|
3170
3170
|
}
|
|
3171
3171
|
var Vn = ot ? El(lt) : On;
|
|
3172
3172
|
for (Se = Vn.length - 1, T = Ge - 1; T >= 0; T--) {
|
|
3173
3173
|
var _Be2 = _Ee4 + T,
|
|
3174
3174
|
_ft = g[_Be2],
|
|
3175
|
-
tn = _Be2 + 1 <
|
|
3176
|
-
lt[T] === 0 ?
|
|
3175
|
+
tn = _Be2 + 1 < G ? g[_Be2 + 1].el : C;
|
|
3176
|
+
lt[T] === 0 ? j(null, _ft, y, tn, R, _, P, b, A) : ot && (Se < 0 || T !== Vn[Se] ? _Re(_ft, y, tn, 2) : Se--);
|
|
3177
3177
|
}
|
|
3178
3178
|
}
|
|
3179
3179
|
},
|
|
@@ -3193,7 +3193,7 @@ function ml(e, t) {
|
|
|
3193
3193
|
return;
|
|
3194
3194
|
}
|
|
3195
3195
|
if (T & 64) {
|
|
3196
|
-
P.move(f, g, y,
|
|
3196
|
+
P.move(f, g, y, W);
|
|
3197
3197
|
return;
|
|
3198
3198
|
}
|
|
3199
3199
|
if (P === wt) {
|
|
@@ -3203,7 +3203,7 @@ function ml(e, t) {
|
|
|
3203
3203
|
return;
|
|
3204
3204
|
}
|
|
3205
3205
|
if (P === Tr) {
|
|
3206
|
-
|
|
3206
|
+
re(f, g, y);
|
|
3207
3207
|
return;
|
|
3208
3208
|
}
|
|
3209
3209
|
if (C !== 2 && T & 1 && b) {
|
|
@@ -3212,13 +3212,13 @@ function ml(e, t) {
|
|
|
3212
3212
|
}, R);else {
|
|
3213
3213
|
var _M2 = b.leave,
|
|
3214
3214
|
Q = b.delayLeave,
|
|
3215
|
-
|
|
3215
|
+
oe = b.afterLeave,
|
|
3216
3216
|
Ee = function Ee() {
|
|
3217
3217
|
return r(_, g, y);
|
|
3218
3218
|
},
|
|
3219
3219
|
Te = function Te() {
|
|
3220
3220
|
_M2(_, function () {
|
|
3221
|
-
Ee(),
|
|
3221
|
+
Ee(), oe && oe();
|
|
3222
3222
|
});
|
|
3223
3223
|
};
|
|
3224
3224
|
Q ? Q(_, Ee, Te) : Te();
|
|
@@ -3233,23 +3233,23 @@ function ml(e, t) {
|
|
|
3233
3233
|
b = f.ref,
|
|
3234
3234
|
A = f.children,
|
|
3235
3235
|
T = f.dynamicChildren,
|
|
3236
|
-
|
|
3236
|
+
G = f.shapeFlag,
|
|
3237
3237
|
M = f.patchFlag,
|
|
3238
3238
|
Q = f.dirs,
|
|
3239
|
-
|
|
3240
|
-
if (M === -2 && (R = false), b != null && Wr(b, null, y, f, true),
|
|
3239
|
+
oe = f.cacheIndex;
|
|
3240
|
+
if (M === -2 && (R = false), b != null && Wr(b, null, y, f, true), oe != null && (g.renderCache[oe] = void 0), G & 256) {
|
|
3241
3241
|
g.ctx.deactivate(f);
|
|
3242
3242
|
return;
|
|
3243
3243
|
}
|
|
3244
|
-
var Ee =
|
|
3244
|
+
var Ee = G & 1 && Q,
|
|
3245
3245
|
Te = !Qn(f);
|
|
3246
3246
|
var Se;
|
|
3247
|
-
if (Te && (Se = P && P.onVnodeBeforeUnmount) && yt(Se, g, f),
|
|
3248
|
-
if (
|
|
3247
|
+
if (Te && (Se = P && P.onVnodeBeforeUnmount) && yt(Se, g, f), G & 6) ke(f.component, y, C);else {
|
|
3248
|
+
if (G & 128) {
|
|
3249
3249
|
f.suspense.unmount(y, C);
|
|
3250
3250
|
return;
|
|
3251
3251
|
}
|
|
3252
|
-
Ee && nn(f, null, g, "beforeUnmount"),
|
|
3252
|
+
Ee && nn(f, null, g, "beforeUnmount"), G & 64 ? f.type.remove(f, g, y, W, C) : T &&
|
|
3253
3253
|
// #5154
|
|
3254
3254
|
// when v-once is used inside a block, setBlockTracking(-1) marks the
|
|
3255
3255
|
// parent block with hasOnce: true
|
|
@@ -3257,7 +3257,7 @@ function ml(e, t) {
|
|
|
3257
3257
|
// components nested in v-once are never unmounted.
|
|
3258
3258
|
!T.hasOnce && (
|
|
3259
3259
|
// #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
3260
|
-
_ !== wt || M > 0 && M & 64) ? Z(T, g, y, false, true) : (_ === wt && M & 384 || !R &&
|
|
3260
|
+
_ !== wt || M > 0 && M & 64) ? Z(T, g, y, false, true) : (_ === wt && M & 384 || !R && G & 16) && Z(A, g, y), C && _S(f);
|
|
3261
3261
|
}
|
|
3262
3262
|
(Te && (Se = P && P.onVnodeUnmounted) || Ee) && st(function () {
|
|
3263
3263
|
Se && yt(Se, g, f), Ee && nn(f, null, g, "unmounted");
|
|
@@ -3323,17 +3323,17 @@ function ml(e, t) {
|
|
|
3323
3323
|
};
|
|
3324
3324
|
var $e = false;
|
|
3325
3325
|
var _e = function _e(f, g, y) {
|
|
3326
|
-
f == null ? g._vnode && Pe(g._vnode, null, null, true) :
|
|
3326
|
+
f == null ? g._vnode && Pe(g._vnode, null, null, true) : j(g._vnode || null, f, g, null, null, null, y), g._vnode = f, $e || ($e = true, Ps(), lc(), $e = false);
|
|
3327
3327
|
},
|
|
3328
|
-
|
|
3329
|
-
p:
|
|
3328
|
+
W = {
|
|
3329
|
+
p: j,
|
|
3330
3330
|
um: Pe,
|
|
3331
3331
|
m: _Re,
|
|
3332
3332
|
r: _S,
|
|
3333
3333
|
mt: we,
|
|
3334
|
-
mc:
|
|
3334
|
+
mc: K,
|
|
3335
3335
|
pc: ye,
|
|
3336
|
-
pbc:
|
|
3336
|
+
pbc: F,
|
|
3337
3337
|
n: _de,
|
|
3338
3338
|
o: e
|
|
3339
3339
|
};
|
|
@@ -3396,11 +3396,11 @@ var yl = Symbol["for"]("v-scx"),
|
|
|
3396
3396
|
_l = function _l() {
|
|
3397
3397
|
{
|
|
3398
3398
|
var e = Ar(yl);
|
|
3399
|
-
return e || process.env.NODE_ENV !== "production" &&
|
|
3399
|
+
return e || process.env.NODE_ENV !== "production" && H("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."), e;
|
|
3400
3400
|
}
|
|
3401
3401
|
};
|
|
3402
3402
|
function St(e, t, n) {
|
|
3403
|
-
return process.env.NODE_ENV !== "production" && !ue(t) &&
|
|
3403
|
+
return process.env.NODE_ENV !== "production" && !ue(t) && H("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."), Mc(e, t, n);
|
|
3404
3404
|
}
|
|
3405
3405
|
function Mc(e, t) {
|
|
3406
3406
|
var n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Ne;
|
|
@@ -3408,9 +3408,9 @@ function Mc(e, t) {
|
|
|
3408
3408
|
s = n.deep,
|
|
3409
3409
|
o = n.flush,
|
|
3410
3410
|
i = n.once;
|
|
3411
|
-
process.env.NODE_ENV !== "production" && !t && (r !== void 0 &&
|
|
3411
|
+
process.env.NODE_ENV !== "production" && !t && (r !== void 0 && H('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'), s !== void 0 && H('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'), i !== void 0 && H('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));
|
|
3412
3412
|
var c = je({}, n);
|
|
3413
|
-
process.env.NODE_ENV !== "production" && (c.onWarn =
|
|
3413
|
+
process.env.NODE_ENV !== "production" && (c.onWarn = H);
|
|
3414
3414
|
var l = t && r || !t && o !== "post";
|
|
3415
3415
|
var E;
|
|
3416
3416
|
if (ir) {
|
|
@@ -3423,14 +3423,14 @@ function Mc(e, t) {
|
|
|
3423
3423
|
}
|
|
3424
3424
|
}
|
|
3425
3425
|
var p = Ue;
|
|
3426
|
-
c.call = function (O,
|
|
3427
|
-
return xt(O, p,
|
|
3426
|
+
c.call = function (O, $, j) {
|
|
3427
|
+
return xt(O, p, $, j);
|
|
3428
3428
|
};
|
|
3429
3429
|
var d = false;
|
|
3430
3430
|
o === "post" ? c.scheduler = function (O) {
|
|
3431
3431
|
st(O, p && p.suspense);
|
|
3432
|
-
} : o !== "sync" && (d = true, c.scheduler = function (O,
|
|
3433
|
-
|
|
3432
|
+
} : o !== "sync" && (d = true, c.scheduler = function (O, $) {
|
|
3433
|
+
$ ? O() : Xr(O);
|
|
3434
3434
|
}), c.augmentJob = function (O) {
|
|
3435
3435
|
t && (O.flags |= 4), d && (O.flags |= 2, p && (O.id = p.uid, O.i = p));
|
|
3436
3436
|
};
|
|
@@ -3469,9 +3469,9 @@ function Ol(e, t) {
|
|
|
3469
3469
|
var p = e.emitsOptions,
|
|
3470
3470
|
_e$propsOptions5 = _slicedToArray(e.propsOptions, 1),
|
|
3471
3471
|
d = _e$propsOptions5[0];
|
|
3472
|
-
if (p) if (!(t in p)) (!d || !(cn(gt(t)) in d)) &&
|
|
3472
|
+
if (p) if (!(t in p)) (!d || !(cn(gt(t)) in d)) && H("Component emitted event \"".concat(t, "\" but it is neither declared in the emits option nor as an \"").concat(cn(gt(t)), "\" prop."));else {
|
|
3473
3473
|
var h = p[t];
|
|
3474
|
-
ue(h) && (h.apply(void 0, n) ||
|
|
3474
|
+
ue(h) && (h.apply(void 0, n) || H("Invalid event arguments: event validation failed for event \"".concat(t, "\".")));
|
|
3475
3475
|
}
|
|
3476
3476
|
}
|
|
3477
3477
|
var s = n;
|
|
@@ -3481,7 +3481,7 @@ function Ol(e, t) {
|
|
|
3481
3481
|
return He(p) ? p.trim() : p;
|
|
3482
3482
|
})), i.number && (s = n.map(Sa))), process.env.NODE_ENV !== "production" && Au(e, t, s), process.env.NODE_ENV !== "production") {
|
|
3483
3483
|
var _p6 = t.toLowerCase();
|
|
3484
|
-
_p6 !== t && r[cn(_p6)] &&
|
|
3484
|
+
_p6 !== t && r[cn(_p6)] && H("Event \"".concat(_p6, "\" is emitted in component ").concat(to(e, e.type), " but the handler is registered for \"").concat(t, "\". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use \"").concat(Qt(t), "\" instead of \"").concat(t, "\"."));
|
|
3485
3485
|
}
|
|
3486
3486
|
var c,
|
|
3487
3487
|
l = r[c = cn(t)] ||
|
|
@@ -3536,23 +3536,23 @@ function Bs(e) {
|
|
|
3536
3536
|
d = e.props,
|
|
3537
3537
|
h = e.data,
|
|
3538
3538
|
O = e.setupState,
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
var
|
|
3539
|
+
$ = e.ctx,
|
|
3540
|
+
j = e.inheritAttrs,
|
|
3541
|
+
B = Hr(e);
|
|
3542
|
+
var J, te;
|
|
3543
3543
|
process.env.NODE_ENV !== "production" && (Uo = false);
|
|
3544
3544
|
try {
|
|
3545
3545
|
if (n.shapeFlag & 4) {
|
|
3546
3546
|
var L = s || r,
|
|
3547
|
-
|
|
3548
|
-
get: function get(le, pe,
|
|
3549
|
-
return
|
|
3547
|
+
ne = process.env.NODE_ENV !== "production" && O.__isScriptSetup ? new Proxy(L, {
|
|
3548
|
+
get: function get(le, pe, K) {
|
|
3549
|
+
return H("Property '".concat(String(pe), "' was accessed via 'this'. Avoid using 'this' in templates.")), Reflect.get(le, pe, K);
|
|
3550
3550
|
}
|
|
3551
3551
|
}) : L;
|
|
3552
|
-
|
|
3552
|
+
J = dt(E.call(ne, L, p, process.env.NODE_ENV !== "production" ? At(d) : d, O, h, $)), te = c;
|
|
3553
3553
|
} else {
|
|
3554
3554
|
var _L2 = t;
|
|
3555
|
-
process.env.NODE_ENV !== "production" && c === d && Ur(),
|
|
3555
|
+
process.env.NODE_ENV !== "production" && c === d && Ur(), J = dt(_L2.length > 1 ? _L2(process.env.NODE_ENV !== "production" ? At(d) : d, process.env.NODE_ENV !== "production" ? {
|
|
3556
3556
|
get attrs() {
|
|
3557
3557
|
return Ur(), At(c);
|
|
3558
3558
|
},
|
|
@@ -3562,31 +3562,31 @@ function Bs(e) {
|
|
|
3562
3562
|
attrs: c,
|
|
3563
3563
|
slots: i,
|
|
3564
3564
|
emit: l
|
|
3565
|
-
}) : _L2(process.env.NODE_ENV !== "production" ? At(d) : d, null)),
|
|
3565
|
+
}) : _L2(process.env.NODE_ENV !== "production" ? At(d) : d, null)), te = t.props ? c : Sl(c);
|
|
3566
3566
|
}
|
|
3567
3567
|
} catch (L) {
|
|
3568
|
-
er.length = 0, fr(L, e, 1),
|
|
3569
|
-
}
|
|
3570
|
-
var
|
|
3571
|
-
|
|
3572
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
3573
|
-
var _L3 = Object.keys(
|
|
3574
|
-
|
|
3575
|
-
|
|
3568
|
+
er.length = 0, fr(L, e, 1), J = at(ut);
|
|
3569
|
+
}
|
|
3570
|
+
var U = J,
|
|
3571
|
+
re;
|
|
3572
|
+
if (process.env.NODE_ENV !== "production" && J.patchFlag > 0 && J.patchFlag & 2048 && (_jc = _jc3(J), _jc2 = _slicedToArray(_jc, 2), U = _jc2[0], re = _jc2[1], _jc), te && j !== false) {
|
|
3573
|
+
var _L3 = Object.keys(te),
|
|
3574
|
+
_U = U,
|
|
3575
|
+
_ne3 = _U.shapeFlag;
|
|
3576
3576
|
if (_L3.length) {
|
|
3577
|
-
if (
|
|
3577
|
+
if (_ne3 & 7) o && _L3.some(Ir) && (te = Al(te, o)), U = en(U, te, false, true);else if (process.env.NODE_ENV !== "production" && !Uo && U.type !== ut) {
|
|
3578
3578
|
var le = Object.keys(c),
|
|
3579
3579
|
pe = [],
|
|
3580
|
-
|
|
3581
|
-
for (var
|
|
3582
|
-
var N = le[
|
|
3583
|
-
ur(N) ? Ir(N) || pe.push(N[2].toLowerCase() + N.slice(3)) :
|
|
3580
|
+
K = [];
|
|
3581
|
+
for (var k = 0, F = le.length; k < F; k++) {
|
|
3582
|
+
var N = le[k];
|
|
3583
|
+
ur(N) ? Ir(N) || pe.push(N[2].toLowerCase() + N.slice(3)) : K.push(N);
|
|
3584
3584
|
}
|
|
3585
|
-
|
|
3585
|
+
K.length && H("Extraneous non-props attributes (".concat(K.join(", "), ") were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.")), pe.length && H("Extraneous non-emits event listeners (".concat(pe.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" && !Us(
|
|
3589
|
+
return n.dirs && (process.env.NODE_ENV !== "production" && !Us(U) && H("Runtime directive used on component with non-element root node. The directives will not function as intended."), U = en(U, null, false, true), U.dirs = U.dirs ? U.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !Us(U) && H("Component inside <Transition> renders non-element root node that cannot be animated."), ps(U, n.transition)), process.env.NODE_ENV !== "production" && re ? re(U) : J = U, Hr(B), J;
|
|
3590
3590
|
}
|
|
3591
3591
|
var _jc3 = function jc(e) {
|
|
3592
3592
|
var t = e.children,
|
|
@@ -3767,7 +3767,7 @@ function Lt(e) {
|
|
|
3767
3767
|
appContext: null,
|
|
3768
3768
|
ctx: et
|
|
3769
3769
|
};
|
|
3770
|
-
return c ? (vs(l, n), o & 128 && e.normalize(l)) : n && (l.shapeFlag |= He(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key &&
|
|
3770
|
+
return c ? (vs(l, n), o & 128 && e.normalize(l)) : n && (l.shapeFlag |= He(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && H("VNode created with invalid key (NaN). VNode type:", l.type), sr > 0 &&
|
|
3771
3771
|
// avoid a block node from tracking itself
|
|
3772
3772
|
!i &&
|
|
3773
3773
|
// has current parent block
|
|
@@ -3788,7 +3788,7 @@ function Bc(e) {
|
|
|
3788
3788
|
var r = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
3789
3789
|
var s = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
|
|
3790
3790
|
var o = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;
|
|
3791
|
-
if ((!e || e === Bu) && (process.env.NODE_ENV !== "production" && !e &&
|
|
3791
|
+
if ((!e || e === Bu) && (process.env.NODE_ENV !== "production" && !e && H("Invalid vnode type when creating vnode: ".concat(e, ".")), e = ut), Rn(e)) {
|
|
3792
3792
|
var c = en(e, t, true
|
|
3793
3793
|
/* mergeRef: true */);
|
|
3794
3794
|
return n && vs(c, n), sr > 0 && !o && ct && (c.shapeFlag & 6 ? ct[ct.indexOf(e)] = c : ct.push(c)), c.patchFlag = -2, c;
|
|
@@ -3801,7 +3801,7 @@ function Bc(e) {
|
|
|
3801
3801
|
_c3 && !He(_c3) && (t["class"] = ts(_c3)), De(l) && (Mr(l) && !ce(l) && (l = je({}, l)), t.style = jt(l));
|
|
3802
3802
|
}
|
|
3803
3803
|
var i = He(e) ? 1 : Hc(e) ? 128 : Ru(e) ? 64 : De(e) ? 4 : ue(e) ? 2 : 0;
|
|
3804
|
-
return process.env.NODE_ENV !== "production" && i & 4 && Mr(e) && (e = me(e),
|
|
3804
|
+
return process.env.NODE_ENV !== "production" && i & 4 && Mr(e) && (e = me(e), H("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.", "\nComponent that was made reactive: ", e)), Lt(e, t, n, r, s, i, o, true);
|
|
3805
3805
|
}
|
|
3806
3806
|
function Pl(e) {
|
|
3807
3807
|
return e ? Mr(e) || Tc(e) ? je({}, e) : e : null;
|
|
@@ -4032,7 +4032,7 @@ var hr = function hr(e) {
|
|
|
4032
4032
|
Hl = /* @__PURE__ */Pn("slot,component");
|
|
4033
4033
|
function Ko(e, _ref16) {
|
|
4034
4034
|
var t = _ref16.isNativeTag;
|
|
4035
|
-
(Hl(e) || t(e)) &&
|
|
4035
|
+
(Hl(e) || t(e)) && H("Do not use built-in or reserved HTML elements as component id: " + e);
|
|
4036
4036
|
}
|
|
4037
4037
|
function Gc(e) {
|
|
4038
4038
|
return e.vnode.shapeFlag & 4;
|
|
@@ -4062,7 +4062,7 @@ function Fl(e, t) {
|
|
|
4062
4062
|
var _o3 = Object.keys(r.directives);
|
|
4063
4063
|
for (var _i2 = 0; _i2 < _o3.length; _i2++) mc(_o3[_i2]);
|
|
4064
4064
|
}
|
|
4065
|
-
r.compilerOptions && Bl() &&
|
|
4065
|
+
r.compilerOptions && Bl() && H('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.');
|
|
4066
4066
|
}
|
|
4067
4067
|
e.accessCache = /* @__PURE__ */Object.create(null), e.proxy = new Proxy(e.ctx, bc), process.env.NODE_ENV !== "production" && Gu(e);
|
|
4068
4068
|
var s = r.setup;
|
|
@@ -4080,13 +4080,13 @@ function Fl(e, t) {
|
|
|
4080
4080
|
});
|
|
4081
4081
|
if (e.asyncDep = c, process.env.NODE_ENV !== "production" && !e.suspense) {
|
|
4082
4082
|
var E = (n = r.name) != null ? n : "Anonymous";
|
|
4083
|
-
|
|
4083
|
+
H("Component <".concat(E, ">: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered."));
|
|
4084
4084
|
}
|
|
4085
4085
|
} else Ys(e, c, t);
|
|
4086
4086
|
} else Kc(e, t);
|
|
4087
4087
|
}
|
|
4088
4088
|
function Ys(e, t, n) {
|
|
4089
|
-
ue(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : De(t) ? (process.env.NODE_ENV !== "production" && Rn(t) &&
|
|
4089
|
+
ue(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : De(t) ? (process.env.NODE_ENV !== "production" && Rn(t) && H("setup() should not return VNodes directly - return a render function instead."), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState = sc(t), process.env.NODE_ENV !== "production" && Ku(e)) : process.env.NODE_ENV !== "production" && t !== void 0 && H("setup() should return an object. Received: ".concat(t === null ? "null" : _typeof(t))), Kc(e, n);
|
|
4090
4090
|
}
|
|
4091
4091
|
var Bl = function Bl() {
|
|
4092
4092
|
return true;
|
|
@@ -4103,17 +4103,17 @@ function Kc(e, t, n) {
|
|
|
4103
4103
|
Ut(), s();
|
|
4104
4104
|
}
|
|
4105
4105
|
}
|
|
4106
|
-
process.env.NODE_ENV !== "production" && !r.render && e.render === Fe && !t && (r.template ?
|
|
4106
|
+
process.env.NODE_ENV !== "production" && !r.render && e.render === Fe && !t && (r.template ? H('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".') : H("Component is missing template or render function: ", r));
|
|
4107
4107
|
}
|
|
4108
4108
|
var qs = process.env.NODE_ENV !== "production" ? {
|
|
4109
4109
|
get: function get(e, t) {
|
|
4110
4110
|
return Ur(), We(e, "get", ""), e[t];
|
|
4111
4111
|
},
|
|
4112
4112
|
set: function set() {
|
|
4113
|
-
return
|
|
4113
|
+
return H("setupContext.attrs is readonly."), false;
|
|
4114
4114
|
},
|
|
4115
4115
|
deleteProperty: function deleteProperty() {
|
|
4116
|
-
return
|
|
4116
|
+
return H("setupContext.attrs is readonly."), false;
|
|
4117
4117
|
}
|
|
4118
4118
|
} : {
|
|
4119
4119
|
get: function get(e, t) {
|
|
@@ -4129,9 +4129,9 @@ function Ul(e) {
|
|
|
4129
4129
|
}
|
|
4130
4130
|
function Gl(e) {
|
|
4131
4131
|
var t = function t(n) {
|
|
4132
|
-
if (process.env.NODE_ENV !== "production" && (e.exposed &&
|
|
4132
|
+
if (process.env.NODE_ENV !== "production" && (e.exposed && H("expose() should be called only once per setup()."), n != null)) {
|
|
4133
4133
|
var r = _typeof(n);
|
|
4134
|
-
r === "object" && (ce(n) ? r = "array" : Ve(n) && (r = "ref")), r !== "object" &&
|
|
4134
|
+
r === "object" && (ce(n) ? r = "array" : Ve(n) && (r = "ref")), r !== "object" && H("expose() should be passed a plain object, received ".concat(r, "."));
|
|
4135
4135
|
}
|
|
4136
4136
|
e.exposed = n || {};
|
|
4137
4137
|
};
|
|
@@ -4245,8 +4245,8 @@ function ql() {
|
|
|
4245
4245
|
d.type.props && d.props && h.push(i("props", me(d.props))), d.setupState !== Ne && h.push(i("setup", d.setupState)), d.data !== Ne && h.push(i("data", me(d.data)));
|
|
4246
4246
|
var O = l(d, "computed");
|
|
4247
4247
|
O && h.push(i("computed", O));
|
|
4248
|
-
var
|
|
4249
|
-
return
|
|
4248
|
+
var $ = l(d, "inject");
|
|
4249
|
+
return $ && h.push(i("injected", $)), h.push(["div", {}, ["span", {
|
|
4250
4250
|
style: r.style + ";opacity:0.66"
|
|
4251
4251
|
}, "$ (internal): "], ["object", {
|
|
4252
4252
|
object: d
|
|
@@ -4272,14 +4272,14 @@ function ql() {
|
|
|
4272
4272
|
function l(d, h) {
|
|
4273
4273
|
var O = d.type;
|
|
4274
4274
|
if (ue(O)) return;
|
|
4275
|
-
var
|
|
4276
|
-
for (var
|
|
4277
|
-
return
|
|
4275
|
+
var $ = {};
|
|
4276
|
+
for (var j in d.ctx) E(O, j, h) && ($[j] = d.ctx[j]);
|
|
4277
|
+
return $;
|
|
4278
4278
|
}
|
|
4279
4279
|
function E(d, h, O) {
|
|
4280
|
-
var
|
|
4281
|
-
if (ce(
|
|
4282
|
-
return E(
|
|
4280
|
+
var $ = d[O];
|
|
4281
|
+
if (ce($) && $.includes(h) || De($) && h in $ || d["extends"] && E(d["extends"], h, O) || d.mixins && d.mixins.some(function (j) {
|
|
4282
|
+
return E(j, h, O);
|
|
4283
4283
|
})) return true;
|
|
4284
4284
|
}
|
|
4285
4285
|
function p(d) {
|
|
@@ -4288,7 +4288,7 @@ function ql() {
|
|
|
4288
4288
|
window.devtoolsFormatters ? window.devtoolsFormatters.push(s) : window.devtoolsFormatters = [s];
|
|
4289
4289
|
}
|
|
4290
4290
|
var zs = "3.5.13",
|
|
4291
|
-
no = process.env.NODE_ENV !== "production" ?
|
|
4291
|
+
no = process.env.NODE_ENV !== "production" ? H : Fe;
|
|
4292
4292
|
process.env.NODE_ENV;
|
|
4293
4293
|
process.env.NODE_ENV;
|
|
4294
4294
|
/**
|
|
@@ -4636,8 +4636,8 @@ var _f = {
|
|
|
4636
4636
|
return ["microApp"].includes(n.type);
|
|
4637
4637
|
}),
|
|
4638
4638
|
p = qe(o.data.get());
|
|
4639
|
-
o.data.watch(function (
|
|
4640
|
-
return p.value =
|
|
4639
|
+
o.data.watch(function (K) {
|
|
4640
|
+
return p.value = K;
|
|
4641
4641
|
});
|
|
4642
4642
|
var d = _t(function () {
|
|
4643
4643
|
var _ref25, _ref26, _p$value$navVisible, _ref27, _ref28, _p$value$menuVisible, _ref29, _ref30, _p$value$tabVisible, _ref31, _p$value$mountVisible;
|
|
@@ -4660,18 +4660,18 @@ var _f = {
|
|
|
4660
4660
|
tab: qe(null),
|
|
4661
4661
|
mount: qe(null)
|
|
4662
4662
|
},
|
|
4663
|
-
|
|
4663
|
+
$ = _t(function () {
|
|
4664
4664
|
return p.value.activeMicroAppName || "";
|
|
4665
4665
|
}),
|
|
4666
|
-
|
|
4667
|
-
var
|
|
4666
|
+
j = _t(function () {
|
|
4667
|
+
var K, k, F, N, se, ge;
|
|
4668
4668
|
return {
|
|
4669
|
-
navHeight: (((
|
|
4670
|
-
menuWidth: (((N = (
|
|
4671
|
-
tabHeight: (((ge = (
|
|
4669
|
+
navHeight: (((k = (K = p.value) == null ? void 0 : K.navRect) == null ? void 0 : k.height) || 0) + "px",
|
|
4670
|
+
menuWidth: (((N = (F = p.value) == null ? void 0 : F.menuRect) == null ? void 0 : N.width) || 0) + "px",
|
|
4671
|
+
tabHeight: (((ge = (se = p.value) == null ? void 0 : se.tabRect) == null ? void 0 : ge.height) || 0) + "px"
|
|
4672
4672
|
};
|
|
4673
4673
|
}),
|
|
4674
|
-
|
|
4674
|
+
B = _t(function () {
|
|
4675
4675
|
return {
|
|
4676
4676
|
position: "relative",
|
|
4677
4677
|
height: "100%",
|
|
@@ -4679,115 +4679,115 @@ var _f = {
|
|
|
4679
4679
|
flexDirection: "column"
|
|
4680
4680
|
};
|
|
4681
4681
|
}),
|
|
4682
|
-
|
|
4683
|
-
var
|
|
4684
|
-
var
|
|
4682
|
+
J = function J(K) {
|
|
4683
|
+
var k = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
4684
|
+
var F = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
4685
4685
|
var N = null;
|
|
4686
4686
|
return function () {
|
|
4687
|
-
for (var _len18 = arguments.length,
|
|
4688
|
-
|
|
4687
|
+
for (var _len18 = arguments.length, se = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
|
|
4688
|
+
se[_key18] = arguments[_key18];
|
|
4689
4689
|
}
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
},
|
|
4690
|
+
F && !N && K.apply(void 0, se), clearTimeout(N), N = setTimeout(function () {
|
|
4691
|
+
K.apply(void 0, se);
|
|
4692
|
+
}, k);
|
|
4693
4693
|
};
|
|
4694
4694
|
},
|
|
4695
|
-
|
|
4696
|
-
function
|
|
4695
|
+
te = function te() {
|
|
4696
|
+
function K(F) {
|
|
4697
4697
|
var N = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 20;
|
|
4698
|
-
if (!
|
|
4699
|
-
var
|
|
4700
|
-
ge =
|
|
4701
|
-
we =
|
|
4702
|
-
ve =
|
|
4703
|
-
z =
|
|
4704
|
-
|
|
4698
|
+
if (!F) return;
|
|
4699
|
+
var se = F.getBoundingClientRect(),
|
|
4700
|
+
ge = se.x,
|
|
4701
|
+
we = se.y,
|
|
4702
|
+
ve = se.width,
|
|
4703
|
+
z = se.height,
|
|
4704
|
+
ie = ge,
|
|
4705
4705
|
ye = we,
|
|
4706
4706
|
D = ge + ve,
|
|
4707
4707
|
Oe = we + z,
|
|
4708
|
-
Re = [document.documentElement, document.body,
|
|
4709
|
-
for (var Pe =
|
|
4708
|
+
Re = [document.documentElement, document.body, F, h.menu.value, h.nav.value, h.tab.value, O.mount.value];
|
|
4709
|
+
for (var Pe = ie; Pe < D; Pe += N) for (var S = ye; S < Oe; S += N) {
|
|
4710
4710
|
var x = document.elementFromPoint(Pe, S);
|
|
4711
4711
|
if (x && !Re.includes(x)) return x;
|
|
4712
4712
|
}
|
|
4713
4713
|
}
|
|
4714
|
-
var
|
|
4715
|
-
return
|
|
4714
|
+
var k = K(h.nav.value);
|
|
4715
|
+
return k || (k = K(h.tab.value)), k || (k = K(h.menu.value)), k;
|
|
4716
4716
|
},
|
|
4717
|
-
|
|
4717
|
+
U = {
|
|
4718
4718
|
x: -1,
|
|
4719
4719
|
y: -1
|
|
4720
4720
|
},
|
|
4721
|
-
|
|
4722
|
-
if (!(
|
|
4723
|
-
if (
|
|
4721
|
+
re = J(function (K, k, F) {
|
|
4722
|
+
if (!(U.x === k.x && U.y === k.y)) {
|
|
4723
|
+
if (U.x = k.x, U.y = k.x, K === "mouseenter") {
|
|
4724
4724
|
if (l.value) {
|
|
4725
|
-
if (
|
|
4725
|
+
if (!$.value) return o.data.set({
|
|
4726
4726
|
microAppStickStatus: false
|
|
4727
4727
|
});
|
|
4728
4728
|
o.data.set({
|
|
4729
|
-
microAppStickStatus:
|
|
4729
|
+
microAppStickStatus: F === "mount"
|
|
4730
4730
|
});
|
|
4731
4731
|
}
|
|
4732
4732
|
if (E.value) {
|
|
4733
|
-
if (
|
|
4734
|
-
c.cors.send("microAppStickStatus",
|
|
4733
|
+
if (te()) return c.cors.send("microAppStickStatus", true);
|
|
4734
|
+
c.cors.send("microAppStickStatus", F === "mount");
|
|
4735
4735
|
}
|
|
4736
4736
|
}
|
|
4737
|
-
if (
|
|
4738
|
-
if (
|
|
4739
|
-
c.cors.send("microAppStickStatus",
|
|
4737
|
+
if (K === "mousemove" && E.value) {
|
|
4738
|
+
if (te()) return c.cors.send("microAppStickStatus", true);
|
|
4739
|
+
c.cors.send("microAppStickStatus", F === "mount");
|
|
4740
4740
|
}
|
|
4741
4741
|
}
|
|
4742
4742
|
}, 20),
|
|
4743
4743
|
L = _t(function () {
|
|
4744
4744
|
return _objectSpread({}, E.value ? n.clearBackgroundStyles || {} : {});
|
|
4745
4745
|
}),
|
|
4746
|
-
|
|
4746
|
+
ne = qe(false);
|
|
4747
4747
|
St(function () {
|
|
4748
|
-
return
|
|
4748
|
+
return $.value;
|
|
4749
4749
|
}, function () {
|
|
4750
|
-
|
|
4751
|
-
|
|
4750
|
+
ne.value = true, setTimeout(function () {
|
|
4751
|
+
ne.value = false;
|
|
4752
4752
|
}, 300);
|
|
4753
4753
|
});
|
|
4754
4754
|
var le = _t(function () {
|
|
4755
|
-
var
|
|
4756
|
-
var
|
|
4757
|
-
display: (
|
|
4755
|
+
var k;
|
|
4756
|
+
var K = _objectSpread(_objectSpread({}, n.microAppsContainerStyle || {}), {}, {
|
|
4757
|
+
display: (k = s.value) != null && k.length && $.value ? "block" : "none",
|
|
4758
4758
|
position: "absolute",
|
|
4759
|
-
zIndex:
|
|
4759
|
+
zIndex: ne.value ? -1 : 1,
|
|
4760
4760
|
top: 0,
|
|
4761
4761
|
left: 0,
|
|
4762
4762
|
height: "100%",
|
|
4763
4763
|
width: "100%"
|
|
4764
4764
|
});
|
|
4765
|
-
return l.value && (
|
|
4765
|
+
return l.value && (K.pointerEvents = p.value.microAppStickStatus && $.value ? "all" : "none"), K;
|
|
4766
4766
|
}),
|
|
4767
4767
|
pe = qe(null);
|
|
4768
4768
|
if (l.value) {
|
|
4769
4769
|
_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
4770
|
-
var
|
|
4770
|
+
var F;
|
|
4771
4771
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
4772
4772
|
while (1) switch (_context3.prev = _context3.next) {
|
|
4773
4773
|
case 0:
|
|
4774
|
-
|
|
4774
|
+
F = function F(N) {
|
|
4775
4775
|
var we;
|
|
4776
|
-
var
|
|
4776
|
+
var se = (we = h[N]) == null ? void 0 : we.value,
|
|
4777
4777
|
ge = function ge() {
|
|
4778
|
-
var _ref33 = (
|
|
4778
|
+
var _ref33 = (se == null ? void 0 : se.getBoundingClientRect()) || {},
|
|
4779
4779
|
ve = _ref33.x,
|
|
4780
4780
|
z = _ref33.y,
|
|
4781
|
-
|
|
4781
|
+
ie = _ref33.width,
|
|
4782
4782
|
ye = _ref33.height;
|
|
4783
4783
|
o.data.set(_defineProperty({}, "".concat(N, "Rect"), {
|
|
4784
4784
|
x: ve,
|
|
4785
4785
|
y: z,
|
|
4786
|
-
width:
|
|
4786
|
+
width: ie,
|
|
4787
4787
|
height: ye
|
|
4788
4788
|
}));
|
|
4789
4789
|
};
|
|
4790
|
-
ge(), new MutationObserver(ge).observe(
|
|
4790
|
+
ge(), new MutationObserver(ge).observe(se, {
|
|
4791
4791
|
childList: true,
|
|
4792
4792
|
subtree: true
|
|
4793
4793
|
});
|
|
@@ -4795,19 +4795,19 @@ var _f = {
|
|
|
4795
4795
|
_context3.next = 3;
|
|
4796
4796
|
return Promise.all([].concat(_toConsumableArray(Object.keys(h).map(/*#__PURE__*/function () {
|
|
4797
4797
|
var _ref34 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(N) {
|
|
4798
|
-
var
|
|
4798
|
+
var se;
|
|
4799
4799
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
4800
4800
|
while (1) switch (_context.prev = _context.next) {
|
|
4801
4801
|
case 0:
|
|
4802
|
-
|
|
4802
|
+
se = h[N];
|
|
4803
4803
|
_context.next = 3;
|
|
4804
4804
|
return new Promise(function (ge) {
|
|
4805
4805
|
return St(function () {
|
|
4806
|
-
return
|
|
4806
|
+
return se.value;
|
|
4807
4807
|
}, ge);
|
|
4808
4808
|
});
|
|
4809
4809
|
case 3:
|
|
4810
|
-
|
|
4810
|
+
F(N);
|
|
4811
4811
|
case 4:
|
|
4812
4812
|
case "end":
|
|
4813
4813
|
return _context.stop();
|
|
@@ -4823,10 +4823,10 @@ var _f = {
|
|
|
4823
4823
|
while (1) switch (_context2.prev = _context2.next) {
|
|
4824
4824
|
case 0:
|
|
4825
4825
|
_context2.next = 2;
|
|
4826
|
-
return new Promise(function (
|
|
4826
|
+
return new Promise(function (se) {
|
|
4827
4827
|
return St(function () {
|
|
4828
4828
|
return O[N].value;
|
|
4829
|
-
},
|
|
4829
|
+
}, se);
|
|
4830
4830
|
});
|
|
4831
4831
|
case 2:
|
|
4832
4832
|
case "end":
|
|
@@ -4852,51 +4852,51 @@ var _f = {
|
|
|
4852
4852
|
}
|
|
4853
4853
|
}, _callee3);
|
|
4854
4854
|
}))(), o.data.watch(function () {
|
|
4855
|
-
var
|
|
4856
|
-
if (!
|
|
4855
|
+
var F = p.value.activeMicroAppName;
|
|
4856
|
+
if (!F) return;
|
|
4857
4857
|
var N = o.data.get(o.expose.getLayoutDataKeys());
|
|
4858
|
-
i.cors.send(
|
|
4859
|
-
}, o.expose.getLayoutDataKeys()), i.cors.on("microAppStickStatus", function (
|
|
4858
|
+
i.cors.send(F, "layoutDataChange", N);
|
|
4859
|
+
}, o.expose.getLayoutDataKeys()), i.cors.on("microAppStickStatus", function (F) {
|
|
4860
4860
|
o.data.set({
|
|
4861
|
-
microAppStickStatus:
|
|
4861
|
+
microAppStickStatus: F.data
|
|
4862
4862
|
});
|
|
4863
4863
|
});
|
|
4864
4864
|
var _ga = ga(),
|
|
4865
|
-
|
|
4865
|
+
k = _ga.setIframeMountDom;
|
|
4866
4866
|
St(function () {
|
|
4867
4867
|
return pe.value;
|
|
4868
|
-
},
|
|
4868
|
+
}, k);
|
|
4869
4869
|
}
|
|
4870
4870
|
if (E.value) {
|
|
4871
4871
|
o.data.set({
|
|
4872
4872
|
microAppStickStatus: true
|
|
4873
4873
|
});
|
|
4874
|
-
var
|
|
4874
|
+
var K = {};
|
|
4875
4875
|
try {
|
|
4876
|
-
|
|
4876
|
+
K = JSON.parse(window.name);
|
|
4877
4877
|
} catch (_unused2) {}
|
|
4878
|
-
var
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4878
|
+
var _K = K,
|
|
4879
|
+
_k = _K.appInfo,
|
|
4880
|
+
_K$parentData = _K.parentData,
|
|
4881
|
+
F = _K$parentData === void 0 ? {} : _K$parentData;
|
|
4882
4882
|
setTimeout(function () {
|
|
4883
|
-
o.data.set(
|
|
4883
|
+
o.data.set(F.layoutData);
|
|
4884
4884
|
}, 0), c.data.set({
|
|
4885
|
-
appInfo:
|
|
4886
|
-
}), c.cors.on("layoutDataChange", function (
|
|
4887
|
-
o.data.set(
|
|
4885
|
+
appInfo: _k
|
|
4886
|
+
}), c.cors.on("layoutDataChange", function (se) {
|
|
4887
|
+
o.data.set(se.data);
|
|
4888
4888
|
}), _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
4889
4889
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
4890
4890
|
while (1) switch (_context5.prev = _context5.next) {
|
|
4891
4891
|
case 0:
|
|
4892
4892
|
_context5.next = 2;
|
|
4893
4893
|
return Promise.all(_toConsumableArray(Object.keys(h).map(/*#__PURE__*/function () {
|
|
4894
|
-
var _ref37 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(
|
|
4894
|
+
var _ref37 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(se) {
|
|
4895
4895
|
var ge;
|
|
4896
4896
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
4897
4897
|
while (1) switch (_context4.prev = _context4.next) {
|
|
4898
4898
|
case 0:
|
|
4899
|
-
ge = h[
|
|
4899
|
+
ge = h[se];
|
|
4900
4900
|
_context4.next = 3;
|
|
4901
4901
|
return new Promise(function (we) {
|
|
4902
4902
|
return St(function () {
|
|
@@ -4927,16 +4927,16 @@ var _f = {
|
|
|
4927
4927
|
}
|
|
4928
4928
|
return yc(function () {
|
|
4929
4929
|
o.event.emit("onMounted");
|
|
4930
|
-
}), function (
|
|
4930
|
+
}), function (K, k) {
|
|
4931
4931
|
return Mt(), Yt("div", {
|
|
4932
|
-
style: jt(
|
|
4932
|
+
style: jt(B.value)
|
|
4933
4933
|
}, [_r(Lt("header", {
|
|
4934
4934
|
ref: h.nav,
|
|
4935
|
-
onMouseenter:
|
|
4936
|
-
return qt(
|
|
4935
|
+
onMouseenter: k[0] || (k[0] = function (F) {
|
|
4936
|
+
return qt(re)("mouseenter", F, "nav");
|
|
4937
4937
|
}),
|
|
4938
|
-
onMousemove:
|
|
4939
|
-
return qt(
|
|
4938
|
+
onMousemove: k[1] || (k[1] = function (F) {
|
|
4939
|
+
return qt(re)("mousemove", F, "nav");
|
|
4940
4940
|
})
|
|
4941
4941
|
}, [l.value ? (Mt(), Yt("div", {
|
|
4942
4942
|
key: 0,
|
|
@@ -4946,18 +4946,18 @@ var _f = {
|
|
|
4946
4946
|
style: jt([{
|
|
4947
4947
|
"pointer-events": "none"
|
|
4948
4948
|
}, {
|
|
4949
|
-
height:
|
|
4949
|
+
height: j.value.navHeight
|
|
4950
4950
|
}])
|
|
4951
4951
|
}, null, 4)) : on("", true)], 544), [[zn, d.value.nav]]), Lt("section", _f, [_r(Lt("aside", {
|
|
4952
4952
|
ref: h.menu,
|
|
4953
4953
|
style: {
|
|
4954
4954
|
height: "100%"
|
|
4955
4955
|
},
|
|
4956
|
-
onMouseenter:
|
|
4957
|
-
return qt(
|
|
4956
|
+
onMouseenter: k[2] || (k[2] = function (F) {
|
|
4957
|
+
return qt(re)("mouseenter", F, "menu");
|
|
4958
4958
|
}),
|
|
4959
|
-
onMousemove:
|
|
4960
|
-
return qt(
|
|
4959
|
+
onMousemove: k[3] || (k[3] = function (F) {
|
|
4960
|
+
return qt(re)("mousemove", F, "menu");
|
|
4961
4961
|
})
|
|
4962
4962
|
}, [l.value ? (Mt(), Yt("div", {
|
|
4963
4963
|
key: 0,
|
|
@@ -4970,15 +4970,15 @@ var _f = {
|
|
|
4970
4970
|
style: jt([{
|
|
4971
4971
|
"pointer-events": "none"
|
|
4972
4972
|
}, {
|
|
4973
|
-
width:
|
|
4973
|
+
width: j.value.menuWidth
|
|
4974
4974
|
}])
|
|
4975
4975
|
}, null, 4)) : on("", true)], 544), [[zn, d.value.menu]]), Lt("main", bf, [_r(Lt("header", {
|
|
4976
4976
|
ref: h.tab,
|
|
4977
|
-
onMouseenter:
|
|
4978
|
-
return qt(
|
|
4977
|
+
onMouseenter: k[4] || (k[4] = function (F) {
|
|
4978
|
+
return qt(re)("mouseenter", F, "tab");
|
|
4979
4979
|
}),
|
|
4980
|
-
onMousemove:
|
|
4981
|
-
return qt(
|
|
4980
|
+
onMousemove: k[5] || (k[5] = function (F) {
|
|
4981
|
+
return qt(re)("mousemove", F, "tab");
|
|
4982
4982
|
})
|
|
4983
4983
|
}, [l.value ? (Mt(), Yt("div", {
|
|
4984
4984
|
key: 0,
|
|
@@ -4988,7 +4988,7 @@ var _f = {
|
|
|
4988
4988
|
style: jt([{
|
|
4989
4989
|
"pointer-events": "none"
|
|
4990
4990
|
}, {
|
|
4991
|
-
height:
|
|
4991
|
+
height: j.value.tabHeight
|
|
4992
4992
|
}])
|
|
4993
4993
|
}, null, 4)) : on("", true)], 544), [[zn, d.value.tab]]), _r(Lt("section", {
|
|
4994
4994
|
ref: h.mount,
|
|
@@ -4996,8 +4996,8 @@ var _f = {
|
|
|
4996
4996
|
flex: "1",
|
|
4997
4997
|
"min-height": "0"
|
|
4998
4998
|
}, L.value]),
|
|
4999
|
-
onMouseenter:
|
|
5000
|
-
return qt(
|
|
4999
|
+
onMouseenter: k[6] || (k[6] = function (F) {
|
|
5000
|
+
return qt(re)("mouseenter", F, "mount");
|
|
5001
5001
|
})
|
|
5002
5002
|
}, [Lt("div", {
|
|
5003
5003
|
ref: O.mount,
|
|
@@ -5077,7 +5077,7 @@ var Jc = /*#__PURE__*/function () {
|
|
|
5077
5077
|
}(),
|
|
5078
5078
|
xg = /*#__PURE__*/function () {
|
|
5079
5079
|
var _ref40 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(e) {
|
|
5080
|
-
var _e2, _e2$microApps, t, n, r, s, _Zc, o, i, c, _ga2, l, E, p, d, h, O,
|
|
5080
|
+
var _e2, _e2$microApps, t, n, r, s, _Zc, o, i, c, _ga2, l, E, p, d, h, O, $, j;
|
|
5081
5081
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
5082
5082
|
while (1) switch (_context8.prev = _context8.next) {
|
|
5083
5083
|
case 0:
|
|
@@ -5097,121 +5097,140 @@ var Jc = /*#__PURE__*/function () {
|
|
|
5097
5097
|
o = _Zc.addRouterEventListener;
|
|
5098
5098
|
i = Xc();
|
|
5099
5099
|
c = qe(t);
|
|
5100
|
-
r.data.watch(function (
|
|
5101
|
-
return c.value =
|
|
5100
|
+
r.data.watch(function (B) {
|
|
5101
|
+
return c.value = B.microApps;
|
|
5102
5102
|
}, ["microApps"]), r.data.set({
|
|
5103
5103
|
microApps: t
|
|
5104
5104
|
});
|
|
5105
5105
|
_ga2 = ga(), l = _ga2.registerIframe, E = _ga2.loadIframe, p = _ga2.hideIframe, d = _ga2.iframeEvent, h = _ga2.checkIframeStatus;
|
|
5106
|
-
d.on("mounted", function (
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5106
|
+
d.on("mounted", function (B) {
|
|
5107
|
+
var _ref41;
|
|
5108
|
+
var U;
|
|
5109
|
+
s.expose.connectMicroApp(B);
|
|
5110
|
+
var J = r.data.get().microApps.find(function (re) {
|
|
5111
|
+
return re.name === B.name;
|
|
5112
|
+
});
|
|
5113
|
+
if (!J) return;
|
|
5114
|
+
if (!((_ref41 = (U = J.router) == null ? void 0 : U.sync) !== null && _ref41 !== void 0 ? _ref41 : true)) {
|
|
5115
|
+
j();
|
|
5116
|
+
return;
|
|
5117
|
+
}
|
|
5118
|
+
}), t.filter(function (B) {
|
|
5119
|
+
return B.activeRule;
|
|
5120
|
+
}).map(function (B) {
|
|
5121
|
+
i.addRule(B.name, B.activeRule), l(B.name, B);
|
|
5112
5122
|
});
|
|
5113
5123
|
O = qe(false);
|
|
5114
|
-
s.cors.on("reportRouter", function (
|
|
5115
|
-
var
|
|
5116
|
-
var N,
|
|
5117
|
-
var
|
|
5118
|
-
|
|
5119
|
-
if (!
|
|
5120
|
-
var
|
|
5121
|
-
return we.name ===
|
|
5124
|
+
s.cors.on("reportRouter", function (B) {
|
|
5125
|
+
var _ref43;
|
|
5126
|
+
var N, se, ge;
|
|
5127
|
+
var _ref42 = B || {},
|
|
5128
|
+
J = _ref42.data;
|
|
5129
|
+
if (!J.appInfo) return;
|
|
5130
|
+
var te = r.data.get().microApps.find(function (we) {
|
|
5131
|
+
return we.name === J.appInfo.name;
|
|
5122
5132
|
});
|
|
5123
|
-
if (!
|
|
5133
|
+
if (!te || !((_ref43 = (N = te.router) == null ? void 0 : N.sync) !== null && _ref43 !== void 0 ? _ref43 : true) || !h(te.name, ["mounted", "activated"])) return;
|
|
5124
5134
|
var _URL = new URL(window.location.href),
|
|
5125
|
-
|
|
5135
|
+
re = _URL.pathname,
|
|
5126
5136
|
L = _URL.hash,
|
|
5127
|
-
|
|
5128
|
-
var le =
|
|
5129
|
-
var _URL2 = new URL(
|
|
5137
|
+
ne = _URL.search;
|
|
5138
|
+
var le = re + ne;
|
|
5139
|
+
var _URL2 = new URL(J.href),
|
|
5130
5140
|
pe = _URL2.pathname,
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
var
|
|
5134
|
-
((
|
|
5141
|
+
K = _URL2.hash,
|
|
5142
|
+
k = _URL2.search;
|
|
5143
|
+
var F = pe + k;
|
|
5144
|
+
((se = te.router) == null ? void 0 : se.mode) === "hash" && (F = K.replace("#", "")), ((ge = r.data.get().initOptions.router) == null ? void 0 : ge.mode) === "hash" && (le = "/".concat(L), F = "/#".concat(F)), le !== F && (O.value = true, setTimeout(function () {
|
|
5135
5145
|
O.value = false;
|
|
5136
|
-
}, 300), i.replaceState(
|
|
5146
|
+
}, 300), i.replaceState(F));
|
|
5137
5147
|
});
|
|
5138
|
-
|
|
5139
|
-
var
|
|
5140
|
-
var
|
|
5141
|
-
var
|
|
5142
|
-
((
|
|
5143
|
-
appInfo:
|
|
5144
|
-
parentRouter:
|
|
5145
|
-
replacePath:
|
|
5148
|
+
$ = function $(B, J) {
|
|
5149
|
+
var re;
|
|
5150
|
+
var te = J.path;
|
|
5151
|
+
var U = te;
|
|
5152
|
+
((re = B.router) == null ? void 0 : re.mode) === "hash" && (U = "/#".concat(te)), s.cors.send(B.name, "syncRouter", {
|
|
5153
|
+
appInfo: B,
|
|
5154
|
+
parentRouter: J,
|
|
5155
|
+
replacePath: U
|
|
5146
5156
|
});
|
|
5147
5157
|
};
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
return
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5158
|
+
window.addEventListener("popstate", function (B) {
|
|
5159
|
+
j();
|
|
5160
|
+
});
|
|
5161
|
+
j = /*#__PURE__*/function () {
|
|
5162
|
+
var _ref44 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
|
5163
|
+
var K, k, B, _URL3, J, te, U, re, L, ne, le, pe;
|
|
5164
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
5165
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
5166
|
+
case 0:
|
|
5167
|
+
if (!O.value) {
|
|
5168
|
+
_context7.next = 2;
|
|
5169
|
+
break;
|
|
5170
|
+
}
|
|
5171
|
+
return _context7.abrupt("return");
|
|
5172
|
+
case 2:
|
|
5173
|
+
_context7.next = 4;
|
|
5174
|
+
return new Promise(function (F) {
|
|
5175
|
+
return setTimeout(F, 0);
|
|
5176
|
+
});
|
|
5177
|
+
case 4:
|
|
5178
|
+
B = ((K = r.data.get().initOptions.router) == null ? void 0 : K.mode) || "history", _URL3 = new URL(window.location.href), J = _URL3.pathname, te = _URL3.hash, U = _URL3.search;
|
|
5179
|
+
re = J + U;
|
|
5180
|
+
B === "hash" && (re = te.replace("#", ""));
|
|
5181
|
+
L = i.match(re), ne = c.value.find(function (F) {
|
|
5182
|
+
return L ? L === F.name : false;
|
|
5183
|
+
});
|
|
5184
|
+
le = re;
|
|
5185
|
+
if (!(((k = ne == null ? void 0 : ne.router) == null ? void 0 : k.mode) === "hash" && (le = "/#".concat(re)), !ne)) {
|
|
5186
|
+
_context7.next = 12;
|
|
5187
|
+
break;
|
|
5188
|
+
}
|
|
5189
|
+
r.data.set({
|
|
5190
|
+
activeMicroAppName: ""
|
|
5191
|
+
}), p();
|
|
5192
|
+
return _context7.abrupt("return");
|
|
5193
|
+
case 12:
|
|
5194
|
+
r.data.set({
|
|
5195
|
+
activeMicroAppName: ne.name
|
|
5196
|
+
});
|
|
5197
|
+
pe = {
|
|
5198
|
+
href: window.location.href,
|
|
5199
|
+
mode: B,
|
|
5200
|
+
path: re
|
|
5201
|
+
};
|
|
5202
|
+
_context7.t0 = h(ne.name, "deactivated");
|
|
5203
|
+
if (!_context7.t0) {
|
|
5204
|
+
_context7.next = 19;
|
|
5205
|
+
break;
|
|
5206
|
+
}
|
|
5207
|
+
_context7.next = 18;
|
|
5208
|
+
return E(ne.name);
|
|
5209
|
+
case 18:
|
|
5210
|
+
$(ne, pe);
|
|
5211
|
+
case 19:
|
|
5212
|
+
h(ne.name, ["mounted", "activated"]) && $(ne, pe);
|
|
5213
|
+
_context7.t1 = h(ne.name, "registered");
|
|
5214
|
+
if (!_context7.t1) {
|
|
5215
|
+
_context7.next = 24;
|
|
5216
|
+
break;
|
|
5217
|
+
}
|
|
5201
5218
|
_context7.next = 24;
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5219
|
+
return E(ne.name, {
|
|
5220
|
+
path: le
|
|
5221
|
+
});
|
|
5222
|
+
case 24:
|
|
5223
|
+
case "end":
|
|
5224
|
+
return _context7.stop();
|
|
5225
|
+
}
|
|
5226
|
+
}, _callee7);
|
|
5227
|
+
}));
|
|
5228
|
+
return function j() {
|
|
5229
|
+
return _ref44.apply(this, arguments);
|
|
5230
|
+
};
|
|
5231
|
+
}();
|
|
5232
|
+
return _context8.abrupt("return", (o(["replaceState"], j), n));
|
|
5233
|
+
case 22:
|
|
5215
5234
|
case "end":
|
|
5216
5235
|
return _context8.stop();
|
|
5217
5236
|
}
|
|
@@ -5244,10 +5263,10 @@ function ro() {
|
|
|
5244
5263
|
d = "(?!".concat(n, ")"),
|
|
5245
5264
|
h = "(?!".concat(E).concat(p, ")"),
|
|
5246
5265
|
O = "(?!".concat(n, "{0,1}").concat(l, ")"),
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5266
|
+
$ = "(?!".concat(p, ")"),
|
|
5267
|
+
j = "[^.".concat(o, "]"),
|
|
5268
|
+
B = "".concat(c, "*?"),
|
|
5269
|
+
te = {
|
|
5251
5270
|
DOT_LITERAL: n,
|
|
5252
5271
|
PLUS_LITERAL: r,
|
|
5253
5272
|
QMARK_LITERAL: s,
|
|
@@ -5259,13 +5278,13 @@ function ro() {
|
|
|
5259
5278
|
NO_DOT: d,
|
|
5260
5279
|
NO_DOTS: h,
|
|
5261
5280
|
NO_DOT_SLASH: O,
|
|
5262
|
-
NO_DOTS_SLASH:
|
|
5263
|
-
QMARK_NO_DOT:
|
|
5264
|
-
STAR:
|
|
5281
|
+
NO_DOTS_SLASH: $,
|
|
5282
|
+
QMARK_NO_DOT: j,
|
|
5283
|
+
STAR: B,
|
|
5265
5284
|
START_ANCHOR: E,
|
|
5266
5285
|
SEP: "/"
|
|
5267
5286
|
},
|
|
5268
|
-
|
|
5287
|
+
U = _objectSpread(_objectSpread({}, te), {}, {
|
|
5269
5288
|
SLASH_LITERAL: "[".concat(e, "]"),
|
|
5270
5289
|
QMARK: t,
|
|
5271
5290
|
STAR: "".concat(t, "*?"),
|
|
@@ -5279,7 +5298,7 @@ function ro() {
|
|
|
5279
5298
|
END_ANCHOR: "(?:[".concat(e, "]|$)"),
|
|
5280
5299
|
SEP: "\\"
|
|
5281
5300
|
}),
|
|
5282
|
-
|
|
5301
|
+
re = {
|
|
5283
5302
|
alnum: "a-zA-Z0-9",
|
|
5284
5303
|
alpha: "a-zA-Z",
|
|
5285
5304
|
ascii: "\\x00-\\x7F",
|
|
@@ -5297,7 +5316,7 @@ function ro() {
|
|
|
5297
5316
|
};
|
|
5298
5317
|
return So = {
|
|
5299
5318
|
MAX_LENGTH: 1024 * 64,
|
|
5300
|
-
POSIX_REGEX_SOURCE:
|
|
5319
|
+
POSIX_REGEX_SOURCE: re,
|
|
5301
5320
|
// regular expressions
|
|
5302
5321
|
REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
|
|
5303
5322
|
REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
|
|
@@ -5436,7 +5455,7 @@ function ro() {
|
|
|
5436
5455
|
* Create GLOB_CHARS
|
|
5437
5456
|
*/
|
|
5438
5457
|
globChars: function globChars(L) {
|
|
5439
|
-
return L === true ?
|
|
5458
|
+
return L === true ? U : te;
|
|
5440
5459
|
}
|
|
5441
5460
|
}, So;
|
|
5442
5461
|
}
|
|
@@ -5483,8 +5502,8 @@ function oo() {
|
|
|
5483
5502
|
var p = "".concat(l, "(?:").concat(o, ")").concat(E);
|
|
5484
5503
|
return i.negated === true && (p = "(?:^(?!".concat(p, ").*$)")), p;
|
|
5485
5504
|
}, e.basename = function (o) {
|
|
5486
|
-
var
|
|
5487
|
-
i =
|
|
5505
|
+
var _ref45 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
5506
|
+
i = _ref45.windows;
|
|
5488
5507
|
var c = o.split(i ? /[\\/]/ : "/"),
|
|
5489
5508
|
l = c[c.length - 1];
|
|
5490
5509
|
return l === "" ? c[c.length - 2] : l;
|
|
@@ -5510,29 +5529,29 @@ function Sf() {
|
|
|
5510
5529
|
d = _ro2.CHAR_PLUS,
|
|
5511
5530
|
h = _ro2.CHAR_QUESTION_MARK,
|
|
5512
5531
|
O = _ro2.CHAR_RIGHT_CURLY_BRACE,
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
return
|
|
5532
|
+
$ = _ro2.CHAR_RIGHT_PARENTHESES,
|
|
5533
|
+
j = _ro2.CHAR_RIGHT_SQUARE_BRACKET,
|
|
5534
|
+
B = function B(U) {
|
|
5535
|
+
return U === c || U === r;
|
|
5517
5536
|
},
|
|
5518
|
-
|
|
5519
|
-
|
|
5537
|
+
J = function J(U) {
|
|
5538
|
+
U.isPrefix !== true && (U.depth = U.isGlobstar ? 1 / 0 : 1);
|
|
5520
5539
|
};
|
|
5521
|
-
return Ao = function Ao(
|
|
5522
|
-
var L =
|
|
5523
|
-
|
|
5540
|
+
return Ao = function Ao(U, re) {
|
|
5541
|
+
var L = re || {},
|
|
5542
|
+
ne = U.length - 1,
|
|
5524
5543
|
le = L.parts === true || L.scanToEnd === true,
|
|
5525
5544
|
pe = [],
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
var
|
|
5545
|
+
K = [],
|
|
5546
|
+
k = [];
|
|
5547
|
+
var F = U,
|
|
5529
5548
|
N = -1,
|
|
5530
|
-
|
|
5549
|
+
se = 0,
|
|
5531
5550
|
ge = 0,
|
|
5532
5551
|
we = false,
|
|
5533
5552
|
ve = false,
|
|
5534
5553
|
z = false,
|
|
5535
|
-
|
|
5554
|
+
ie = false,
|
|
5536
5555
|
ye = false,
|
|
5537
5556
|
D = false,
|
|
5538
5557
|
Oe = false,
|
|
@@ -5548,32 +5567,32 @@ function Sf() {
|
|
|
5548
5567
|
isGlob: false
|
|
5549
5568
|
};
|
|
5550
5569
|
var $e = function $e() {
|
|
5551
|
-
return N >=
|
|
5570
|
+
return N >= ne;
|
|
5552
5571
|
},
|
|
5553
5572
|
_e = function _e() {
|
|
5554
|
-
return
|
|
5573
|
+
return F.charCodeAt(N + 1);
|
|
5555
5574
|
},
|
|
5556
|
-
|
|
5557
|
-
return ke = Z,
|
|
5575
|
+
W = function W() {
|
|
5576
|
+
return ke = Z, F.charCodeAt(++N);
|
|
5558
5577
|
};
|
|
5559
|
-
for (; N <
|
|
5560
|
-
Z =
|
|
5578
|
+
for (; N < ne;) {
|
|
5579
|
+
Z = W();
|
|
5561
5580
|
var C = void 0;
|
|
5562
5581
|
if (Z === r) {
|
|
5563
|
-
Oe = de.backslashes = true, Z =
|
|
5582
|
+
Oe = de.backslashes = true, Z = W(), Z === l && (D = true);
|
|
5564
5583
|
continue;
|
|
5565
5584
|
}
|
|
5566
5585
|
if (D === true || Z === l) {
|
|
5567
|
-
for (x++; $e() !== true && (Z =
|
|
5586
|
+
for (x++; $e() !== true && (Z = W());) {
|
|
5568
5587
|
if (Z === r) {
|
|
5569
|
-
Oe = de.backslashes = true,
|
|
5588
|
+
Oe = de.backslashes = true, W();
|
|
5570
5589
|
continue;
|
|
5571
5590
|
}
|
|
5572
5591
|
if (Z === l) {
|
|
5573
5592
|
x++;
|
|
5574
5593
|
continue;
|
|
5575
5594
|
}
|
|
5576
|
-
if (D !== true && Z === o && (Z =
|
|
5595
|
+
if (D !== true && Z === o && (Z = W()) === o) {
|
|
5577
5596
|
if (we = de.isBrace = true, z = de.isGlob = true, S = true, le === true) continue;
|
|
5578
5597
|
break;
|
|
5579
5598
|
}
|
|
@@ -5590,26 +5609,26 @@ function Sf() {
|
|
|
5590
5609
|
break;
|
|
5591
5610
|
}
|
|
5592
5611
|
if (Z === c) {
|
|
5593
|
-
if (pe.push(N),
|
|
5612
|
+
if (pe.push(N), K.push(de), de = {
|
|
5594
5613
|
value: "",
|
|
5595
5614
|
depth: 0,
|
|
5596
5615
|
isGlob: false
|
|
5597
5616
|
}, S === true) continue;
|
|
5598
|
-
if (ke === o && N ===
|
|
5599
|
-
|
|
5617
|
+
if (ke === o && N === se + 1) {
|
|
5618
|
+
se += 2;
|
|
5600
5619
|
continue;
|
|
5601
5620
|
}
|
|
5602
5621
|
ge = N + 1;
|
|
5603
5622
|
continue;
|
|
5604
5623
|
}
|
|
5605
5624
|
if (L.noext !== true && (Z === d || Z === n || Z === t || Z === h || Z === i) === true && _e() === E) {
|
|
5606
|
-
if (z = de.isGlob = true,
|
|
5607
|
-
for (; $e() !== true && (Z =
|
|
5625
|
+
if (z = de.isGlob = true, ie = de.isExtglob = true, S = true, Z === i && N === se && (Pe = true), le === true) {
|
|
5626
|
+
for (; $e() !== true && (Z = W());) {
|
|
5608
5627
|
if (Z === r) {
|
|
5609
|
-
Oe = de.backslashes = true, Z =
|
|
5628
|
+
Oe = de.backslashes = true, Z = W();
|
|
5610
5629
|
continue;
|
|
5611
5630
|
}
|
|
5612
|
-
if (Z ===
|
|
5631
|
+
if (Z === $) {
|
|
5613
5632
|
z = de.isGlob = true, S = true;
|
|
5614
5633
|
break;
|
|
5615
5634
|
}
|
|
@@ -5627,12 +5646,12 @@ function Sf() {
|
|
|
5627
5646
|
break;
|
|
5628
5647
|
}
|
|
5629
5648
|
if (Z === p) {
|
|
5630
|
-
for (; $e() !== true && (C =
|
|
5649
|
+
for (; $e() !== true && (C = W());) {
|
|
5631
5650
|
if (C === r) {
|
|
5632
|
-
Oe = de.backslashes = true,
|
|
5651
|
+
Oe = de.backslashes = true, W();
|
|
5633
5652
|
continue;
|
|
5634
5653
|
}
|
|
5635
|
-
if (C ===
|
|
5654
|
+
if (C === j) {
|
|
5636
5655
|
ve = de.isBracket = true, z = de.isGlob = true, S = true;
|
|
5637
5656
|
break;
|
|
5638
5657
|
}
|
|
@@ -5640,18 +5659,18 @@ function Sf() {
|
|
|
5640
5659
|
if (le === true) continue;
|
|
5641
5660
|
break;
|
|
5642
5661
|
}
|
|
5643
|
-
if (L.nonegate !== true && Z === i && N ===
|
|
5644
|
-
Re = de.negated = true,
|
|
5662
|
+
if (L.nonegate !== true && Z === i && N === se) {
|
|
5663
|
+
Re = de.negated = true, se++;
|
|
5645
5664
|
continue;
|
|
5646
5665
|
}
|
|
5647
5666
|
if (L.noparen !== true && Z === E) {
|
|
5648
5667
|
if (z = de.isGlob = true, le === true) {
|
|
5649
|
-
for (; $e() !== true && (Z =
|
|
5668
|
+
for (; $e() !== true && (Z = W());) {
|
|
5650
5669
|
if (Z === E) {
|
|
5651
|
-
Oe = de.backslashes = true, Z =
|
|
5670
|
+
Oe = de.backslashes = true, Z = W();
|
|
5652
5671
|
continue;
|
|
5653
5672
|
}
|
|
5654
|
-
if (Z ===
|
|
5673
|
+
if (Z === $) {
|
|
5655
5674
|
S = true;
|
|
5656
5675
|
break;
|
|
5657
5676
|
}
|
|
@@ -5665,38 +5684,38 @@ function Sf() {
|
|
|
5665
5684
|
break;
|
|
5666
5685
|
}
|
|
5667
5686
|
}
|
|
5668
|
-
L.noext === true && (
|
|
5669
|
-
var Me =
|
|
5687
|
+
L.noext === true && (ie = false, z = false);
|
|
5688
|
+
var Me = F,
|
|
5670
5689
|
f = "",
|
|
5671
5690
|
g = "";
|
|
5672
|
-
|
|
5691
|
+
se > 0 && (f = F.slice(0, se), F = F.slice(se), ge -= se), Me && z === true && ge > 0 ? (Me = F.slice(0, ge), g = F.slice(ge)) : z === true ? (Me = "", g = F) : Me = F, Me && Me !== "" && Me !== "/" && Me !== F && B(Me.charCodeAt(Me.length - 1)) && (Me = Me.slice(0, -1)), L.unescape === true && (g && (g = e.removeBackslashes(g)), Me && Oe === true && (Me = e.removeBackslashes(Me)));
|
|
5673
5692
|
var y = {
|
|
5674
5693
|
prefix: f,
|
|
5675
|
-
input:
|
|
5676
|
-
start:
|
|
5694
|
+
input: U,
|
|
5695
|
+
start: se,
|
|
5677
5696
|
base: Me,
|
|
5678
5697
|
glob: g,
|
|
5679
5698
|
isBrace: we,
|
|
5680
5699
|
isBracket: ve,
|
|
5681
5700
|
isGlob: z,
|
|
5682
|
-
isExtglob:
|
|
5701
|
+
isExtglob: ie,
|
|
5683
5702
|
isGlobstar: ye,
|
|
5684
5703
|
negated: Re,
|
|
5685
5704
|
negatedExtglob: Pe
|
|
5686
5705
|
};
|
|
5687
|
-
if (L.tokens === true && (y.maxDepth = 0,
|
|
5706
|
+
if (L.tokens === true && (y.maxDepth = 0, B(Z) || K.push(de), y.tokens = K), L.parts === true || L.tokens === true) {
|
|
5688
5707
|
var _C;
|
|
5689
5708
|
for (var R = 0; R < pe.length; R++) {
|
|
5690
|
-
var _ = _C ? _C + 1 :
|
|
5709
|
+
var _ = _C ? _C + 1 : se,
|
|
5691
5710
|
P = pe[R],
|
|
5692
|
-
b =
|
|
5693
|
-
L.tokens && (R === 0 &&
|
|
5711
|
+
b = U.slice(_, P);
|
|
5712
|
+
L.tokens && (R === 0 && se !== 0 ? (K[R].isPrefix = true, K[R].value = f) : K[R].value = b, J(K[R]), y.maxDepth += K[R].depth), (R !== 0 || b !== "") && k.push(b), _C = P;
|
|
5694
5713
|
}
|
|
5695
|
-
if (_C && _C + 1 <
|
|
5696
|
-
var _R =
|
|
5697
|
-
|
|
5714
|
+
if (_C && _C + 1 < U.length) {
|
|
5715
|
+
var _R = U.slice(_C + 1);
|
|
5716
|
+
k.push(_R), L.tokens && (K[K.length - 1].value = _R, J(K[K.length - 1]), y.maxDepth += K[K.length - 1].depth);
|
|
5698
5717
|
}
|
|
5699
|
-
y.slashes = pe, y.parts =
|
|
5718
|
+
y.slashes = pe, y.parts = k;
|
|
5700
5719
|
}
|
|
5701
5720
|
return y;
|
|
5702
5721
|
}, Ao;
|
|
@@ -5719,8 +5738,8 @@ function Af() {
|
|
|
5719
5738
|
try {
|
|
5720
5739
|
new RegExp(h);
|
|
5721
5740
|
} catch (_unused3) {
|
|
5722
|
-
return p.map(function (
|
|
5723
|
-
return t.escapeRegex(
|
|
5741
|
+
return p.map(function ($) {
|
|
5742
|
+
return t.escapeRegex($);
|
|
5724
5743
|
}).join("..");
|
|
5725
5744
|
}
|
|
5726
5745
|
return h;
|
|
@@ -5733,34 +5752,34 @@ function Af() {
|
|
|
5733
5752
|
p = i[p] || p;
|
|
5734
5753
|
var h = _objectSpread({}, d),
|
|
5735
5754
|
O = typeof h.maxLength == "number" ? Math.min(n, h.maxLength) : n;
|
|
5736
|
-
var
|
|
5737
|
-
if (
|
|
5738
|
-
var
|
|
5755
|
+
var $ = p.length;
|
|
5756
|
+
if ($ > O) throw new SyntaxError("Input length: ".concat($, ", exceeds maximum allowed length: ").concat(O));
|
|
5757
|
+
var j = {
|
|
5739
5758
|
type: "bos",
|
|
5740
5759
|
value: "",
|
|
5741
5760
|
output: h.prepend || ""
|
|
5742
5761
|
},
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
L =
|
|
5749
|
-
|
|
5750
|
-
le =
|
|
5751
|
-
pe =
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
N =
|
|
5756
|
-
|
|
5757
|
-
ge =
|
|
5758
|
-
we =
|
|
5762
|
+
B = [j],
|
|
5763
|
+
J = h.capture ? "" : "?:",
|
|
5764
|
+
te = e.globChars(h.windows),
|
|
5765
|
+
U = e.extglobChars(te),
|
|
5766
|
+
re = te.DOT_LITERAL,
|
|
5767
|
+
L = te.PLUS_LITERAL,
|
|
5768
|
+
ne = te.SLASH_LITERAL,
|
|
5769
|
+
le = te.ONE_CHAR,
|
|
5770
|
+
pe = te.DOTS_SLASH,
|
|
5771
|
+
K = te.NO_DOT,
|
|
5772
|
+
k = te.NO_DOT_SLASH,
|
|
5773
|
+
F = te.NO_DOTS_SLASH,
|
|
5774
|
+
N = te.QMARK,
|
|
5775
|
+
se = te.QMARK_NO_DOT,
|
|
5776
|
+
ge = te.STAR,
|
|
5777
|
+
we = te.START_ANCHOR,
|
|
5759
5778
|
ve = function ve(_) {
|
|
5760
|
-
return "(".concat(
|
|
5779
|
+
return "(".concat(J, "(?:(?!").concat(we).concat(_.dot ? pe : re, ").)*?)");
|
|
5761
5780
|
},
|
|
5762
|
-
z = h.dot ? "" :
|
|
5763
|
-
|
|
5781
|
+
z = h.dot ? "" : K,
|
|
5782
|
+
ie = h.dot ? N : se;
|
|
5764
5783
|
var ye = h.bash === true ? ve(h) : ge;
|
|
5765
5784
|
h.capture && (ye = "(".concat(ye, ")")), typeof h.noext == "boolean" && (h.noextglob = h.noext);
|
|
5766
5785
|
var D = {
|
|
@@ -5778,16 +5797,16 @@ function Af() {
|
|
|
5778
5797
|
parens: 0,
|
|
5779
5798
|
quotes: 0,
|
|
5780
5799
|
globstar: false,
|
|
5781
|
-
tokens:
|
|
5800
|
+
tokens: B
|
|
5782
5801
|
};
|
|
5783
|
-
p = t.removePrefix(p, D),
|
|
5802
|
+
p = t.removePrefix(p, D), $ = p.length;
|
|
5784
5803
|
var Oe = [],
|
|
5785
5804
|
Re = [],
|
|
5786
5805
|
Pe = [];
|
|
5787
|
-
var S =
|
|
5806
|
+
var S = j,
|
|
5788
5807
|
x;
|
|
5789
5808
|
var ke = function ke() {
|
|
5790
|
-
return D.index ===
|
|
5809
|
+
return D.index === $ - 1;
|
|
5791
5810
|
},
|
|
5792
5811
|
Z = D.peek = function () {
|
|
5793
5812
|
var _ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
@@ -5804,7 +5823,7 @@ function Af() {
|
|
|
5804
5823
|
var P = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
5805
5824
|
D.consumed += _, D.index += P;
|
|
5806
5825
|
},
|
|
5807
|
-
|
|
5826
|
+
W = function W(_) {
|
|
5808
5827
|
D.output += _.output != null ? _.output : _.value, _e(_.value);
|
|
5809
5828
|
},
|
|
5810
5829
|
Me = function Me() {
|
|
@@ -5824,14 +5843,14 @@ function Af() {
|
|
|
5824
5843
|
b = _.extglob === true || Oe.length && (_.type === "pipe" || _.type === "paren");
|
|
5825
5844
|
_.type !== "slash" && _.type !== "paren" && !P && !b && (D.output = D.output.slice(0, -S.output.length), S.type = "star", S.value = "*", S.output = ye, D.output += S.output);
|
|
5826
5845
|
}
|
|
5827
|
-
if (Oe.length && _.type !== "paren" && (Oe[Oe.length - 1].inner += _.value), (_.value || _.output) &&
|
|
5846
|
+
if (Oe.length && _.type !== "paren" && (Oe[Oe.length - 1].inner += _.value), (_.value || _.output) && W(_), S && S.type === "text" && _.type === "text") {
|
|
5828
5847
|
S.output = (S.output || S.value) + _.value, S.value += _.value;
|
|
5829
5848
|
return;
|
|
5830
5849
|
}
|
|
5831
|
-
_.prev = S,
|
|
5850
|
+
_.prev = S, B.push(_), S = _;
|
|
5832
5851
|
},
|
|
5833
5852
|
C = function C(_, P) {
|
|
5834
|
-
var b = _objectSpread(_objectSpread({},
|
|
5853
|
+
var b = _objectSpread(_objectSpread({}, U[P]), {}, {
|
|
5835
5854
|
conditions: 1,
|
|
5836
5855
|
inner: ""
|
|
5837
5856
|
});
|
|
@@ -5870,8 +5889,8 @@ function Af() {
|
|
|
5870
5889
|
};
|
|
5871
5890
|
if (h.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(p)) {
|
|
5872
5891
|
var _ = false,
|
|
5873
|
-
P = p.replace(o, function (b, A, T,
|
|
5874
|
-
return
|
|
5892
|
+
P = p.replace(o, function (b, A, T, G, M, Q) {
|
|
5893
|
+
return G === "\\" ? (_ = true, b) : G === "?" ? A ? A + G + (M ? N.repeat(M.length) : "") : Q === 0 ? ie + (M ? N.repeat(M.length) : "") : N.repeat(T.length) : G === "." ? re.repeat(T.length) : G === "*" ? A ? A + G + (M ? ye : "") : ye : A ? b : "\\".concat(b);
|
|
5875
5894
|
});
|
|
5876
5895
|
return _ === true && (h.unescape === true ? P = P.replace(/\\/g, "") : P = P.replace(/\\+/g, function (b) {
|
|
5877
5896
|
return b.length % 2 === 0 ? "\\\\" : b ? "\\" : "";
|
|
@@ -5905,21 +5924,21 @@ function Af() {
|
|
|
5905
5924
|
if (_b2.includes("[") && (S.posix = true, _b2.includes(":"))) {
|
|
5906
5925
|
var _A = S.value.lastIndexOf("["),
|
|
5907
5926
|
_T = S.value.slice(0, _A),
|
|
5908
|
-
|
|
5909
|
-
M = r[
|
|
5927
|
+
G = S.value.slice(_A + 2),
|
|
5928
|
+
M = r[G];
|
|
5910
5929
|
if (M) {
|
|
5911
|
-
S.value = _T + M, D.backtrack = true, de(), !
|
|
5930
|
+
S.value = _T + M, D.backtrack = true, de(), !j.output && B.indexOf(S) === 1 && (j.output = le);
|
|
5912
5931
|
continue;
|
|
5913
5932
|
}
|
|
5914
5933
|
}
|
|
5915
5934
|
}
|
|
5916
|
-
(x === "[" && Z() !== ":" || x === "-" && Z() === "]") && (x = "\\".concat(x)), x === "]" && (S.value === "[" || S.value === "[^") && (x = "\\".concat(x)), h.posix === true && x === "!" && S.value === "[" && (x = "^"), S.value += x,
|
|
5935
|
+
(x === "[" && Z() !== ":" || x === "-" && Z() === "]") && (x = "\\".concat(x)), x === "]" && (S.value === "[" || S.value === "[^") && (x = "\\".concat(x)), h.posix === true && x === "!" && S.value === "[" && (x = "^"), S.value += x, W({
|
|
5917
5936
|
value: x
|
|
5918
5937
|
});
|
|
5919
5938
|
continue;
|
|
5920
5939
|
}
|
|
5921
5940
|
if (D.quotes === 1 && x !== '"') {
|
|
5922
|
-
x = t.escapeRegex(x), S.value += x,
|
|
5941
|
+
x = t.escapeRegex(x), S.value += x, W({
|
|
5923
5942
|
value: x
|
|
5924
5943
|
});
|
|
5925
5944
|
continue;
|
|
@@ -5983,7 +6002,7 @@ function Af() {
|
|
|
5983
6002
|
}
|
|
5984
6003
|
g("brackets");
|
|
5985
6004
|
var _b4 = S.value.slice(1);
|
|
5986
|
-
if (S.posix !== true && _b4[0] === "^" && !_b4.includes("/") && (x = "/".concat(x)), S.value += x,
|
|
6005
|
+
if (S.posix !== true && _b4[0] === "^" && !_b4.includes("/") && (x = "/".concat(x)), S.value += x, W({
|
|
5987
6006
|
value: x
|
|
5988
6007
|
}), h.literalBrackets === false || t.hasRegexChars(_b4)) continue;
|
|
5989
6008
|
var _A2 = t.escapeRegex(S.value);
|
|
@@ -5991,7 +6010,7 @@ function Af() {
|
|
|
5991
6010
|
D.output += _A2, S.value = _A2;
|
|
5992
6011
|
continue;
|
|
5993
6012
|
}
|
|
5994
|
-
S.value = "(".concat(
|
|
6013
|
+
S.value = "(".concat(J).concat(_A2, "|").concat(S.value, ")"), D.output += S.value;
|
|
5995
6014
|
continue;
|
|
5996
6015
|
}
|
|
5997
6016
|
if (x === "{" && h.nobrace !== true) {
|
|
@@ -6018,16 +6037,16 @@ function Af() {
|
|
|
6018
6037
|
}
|
|
6019
6038
|
var _A3 = ")";
|
|
6020
6039
|
if (_b6.dots === true) {
|
|
6021
|
-
var _T2 =
|
|
6022
|
-
|
|
6023
|
-
for (var _M3 = _T2.length - 1; _M3 >= 0 && (
|
|
6024
|
-
_A3 = c(
|
|
6040
|
+
var _T2 = B.slice(),
|
|
6041
|
+
_G = [];
|
|
6042
|
+
for (var _M3 = _T2.length - 1; _M3 >= 0 && (B.pop(), _T2[_M3].type !== "brace"); _M3--) _T2[_M3].type !== "dots" && _G.unshift(_T2[_M3].value);
|
|
6043
|
+
_A3 = c(_G, h), D.backtrack = true;
|
|
6025
6044
|
}
|
|
6026
6045
|
if (_b6.comma !== true && _b6.dots !== true) {
|
|
6027
6046
|
var _T3 = D.output.slice(0, _b6.outputIndex),
|
|
6028
|
-
|
|
6047
|
+
_G2 = D.tokens.slice(_b6.tokensIndex);
|
|
6029
6048
|
_b6.value = _b6.output = "\\{", x = _A3 = "\\}", D.output = _T3;
|
|
6030
|
-
var _iterator5 = _createForOfIteratorHelper(
|
|
6049
|
+
var _iterator5 = _createForOfIteratorHelper(_G2),
|
|
6031
6050
|
_step5;
|
|
6032
6051
|
try {
|
|
6033
6052
|
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
@@ -6066,19 +6085,19 @@ function Af() {
|
|
|
6066
6085
|
}
|
|
6067
6086
|
if (x === "/") {
|
|
6068
6087
|
if (S.type === "dot" && D.index === D.start + 1) {
|
|
6069
|
-
D.start = D.index + 1, D.consumed = "", D.output = "",
|
|
6088
|
+
D.start = D.index + 1, D.consumed = "", D.output = "", B.pop(), S = j;
|
|
6070
6089
|
continue;
|
|
6071
6090
|
}
|
|
6072
6091
|
y({
|
|
6073
6092
|
type: "slash",
|
|
6074
6093
|
value: x,
|
|
6075
|
-
output:
|
|
6094
|
+
output: ne
|
|
6076
6095
|
});
|
|
6077
6096
|
continue;
|
|
6078
6097
|
}
|
|
6079
6098
|
if (x === ".") {
|
|
6080
6099
|
if (D.braces > 0 && S.type === "dot") {
|
|
6081
|
-
S.value === "." && (S.output =
|
|
6100
|
+
S.value === "." && (S.output = re);
|
|
6082
6101
|
var _b8 = Re[Re.length - 1];
|
|
6083
6102
|
S.type = "dots", S.output += x, S.value += x, _b8.dots = true;
|
|
6084
6103
|
continue;
|
|
@@ -6087,14 +6106,14 @@ function Af() {
|
|
|
6087
6106
|
y({
|
|
6088
6107
|
type: "text",
|
|
6089
6108
|
value: x,
|
|
6090
|
-
output:
|
|
6109
|
+
output: re
|
|
6091
6110
|
});
|
|
6092
6111
|
continue;
|
|
6093
6112
|
}
|
|
6094
6113
|
y({
|
|
6095
6114
|
type: "dot",
|
|
6096
6115
|
value: x,
|
|
6097
|
-
output:
|
|
6116
|
+
output: re
|
|
6098
6117
|
});
|
|
6099
6118
|
continue;
|
|
6100
6119
|
}
|
|
@@ -6117,7 +6136,7 @@ function Af() {
|
|
|
6117
6136
|
y({
|
|
6118
6137
|
type: "qmark",
|
|
6119
6138
|
value: x,
|
|
6120
|
-
output:
|
|
6139
|
+
output: se
|
|
6121
6140
|
});
|
|
6122
6141
|
continue;
|
|
6123
6142
|
}
|
|
@@ -6206,7 +6225,7 @@ function Af() {
|
|
|
6206
6225
|
var _b10 = S.prev,
|
|
6207
6226
|
_A6 = _b10.prev,
|
|
6208
6227
|
_T5 = _b10.type === "slash" || _b10.type === "bos",
|
|
6209
|
-
|
|
6228
|
+
_G3 = _A6 && (_A6.type === "star" || _A6.type === "globstar");
|
|
6210
6229
|
if (h.bash === true && (!_T5 || _4[0] && _4[0] !== "/")) {
|
|
6211
6230
|
y({
|
|
6212
6231
|
type: "star",
|
|
@@ -6226,21 +6245,21 @@ function Af() {
|
|
|
6226
6245
|
continue;
|
|
6227
6246
|
}
|
|
6228
6247
|
for (; _4.slice(0, 3) === "/**";) {
|
|
6229
|
-
var
|
|
6230
|
-
if (
|
|
6248
|
+
var oe = p[D.index + 4];
|
|
6249
|
+
if (oe && oe !== "/") break;
|
|
6231
6250
|
_4 = _4.slice(3), _e("/**", 3);
|
|
6232
6251
|
}
|
|
6233
6252
|
if (_b10.type === "bos" && ke()) {
|
|
6234
6253
|
S.type = "globstar", S.value += x, S.output = ve(h), D.output = S.output, D.globstar = true, _e(x);
|
|
6235
6254
|
continue;
|
|
6236
6255
|
}
|
|
6237
|
-
if (_b10.type === "slash" && _b10.prev.type !== "bos" && !
|
|
6256
|
+
if (_b10.type === "slash" && _b10.prev.type !== "bos" && !_G3 && ke()) {
|
|
6238
6257
|
D.output = D.output.slice(0, -(_b10.output + S.output).length), _b10.output = "(?:".concat(_b10.output), S.type = "globstar", S.output = ve(h) + (h.strictSlashes ? ")" : "|$)"), S.value += x, D.globstar = true, D.output += _b10.output + S.output, _e(x);
|
|
6239
6258
|
continue;
|
|
6240
6259
|
}
|
|
6241
6260
|
if (_b10.type === "slash" && _b10.prev.type !== "bos" && _4[0] === "/") {
|
|
6242
|
-
var
|
|
6243
|
-
D.output = D.output.slice(0, -(_b10.output + S.output).length), _b10.output = "(?:".concat(_b10.output), S.type = "globstar", S.output = "".concat(ve(h)).concat(
|
|
6261
|
+
var _oe5 = _4[1] !== void 0 ? "|$" : "";
|
|
6262
|
+
D.output = D.output.slice(0, -(_b10.output + S.output).length), _b10.output = "(?:".concat(_b10.output), S.type = "globstar", S.output = "".concat(ve(h)).concat(ne, "|").concat(ne).concat(_oe5, ")"), S.value += x, D.output += _b10.output + S.output, D.globstar = true, _e(x + de()), y({
|
|
6244
6263
|
type: "slash",
|
|
6245
6264
|
value: "/",
|
|
6246
6265
|
output: ""
|
|
@@ -6248,7 +6267,7 @@ function Af() {
|
|
|
6248
6267
|
continue;
|
|
6249
6268
|
}
|
|
6250
6269
|
if (_b10.type === "bos" && _4[0] === "/") {
|
|
6251
|
-
S.type = "globstar", S.value += x, S.output = "(?:^|".concat(
|
|
6270
|
+
S.type = "globstar", S.value += x, S.output = "(?:^|".concat(ne, "|").concat(ve(h)).concat(ne, ")"), D.output = S.output, D.globstar = true, _e(x + de()), y({
|
|
6252
6271
|
type: "slash",
|
|
6253
6272
|
value: "/",
|
|
6254
6273
|
output: ""
|
|
@@ -6271,7 +6290,7 @@ function Af() {
|
|
|
6271
6290
|
_P.output = x, y(_P);
|
|
6272
6291
|
continue;
|
|
6273
6292
|
}
|
|
6274
|
-
(D.index === D.start || S.type === "slash" || S.type === "dot") && (S.type === "dot" ? (D.output +=
|
|
6293
|
+
(D.index === D.start || S.type === "slash" || S.type === "dot") && (S.type === "dot" ? (D.output += k, S.output += k) : h.dot === true ? (D.output += F, S.output += F) : (D.output += z, S.output += z), Z() !== "*" && (D.output += le, S.output += le)), y(_P);
|
|
6275
6294
|
}
|
|
6276
6295
|
for (; D.brackets > 0;) {
|
|
6277
6296
|
if (h.strictBrackets === true) throw new SyntaxError(l("closing", "]"));
|
|
@@ -6288,7 +6307,7 @@ function Af() {
|
|
|
6288
6307
|
if (h.strictSlashes !== true && (S.type === "star" || S.type === "bracket") && y({
|
|
6289
6308
|
type: "maybe_slash",
|
|
6290
6309
|
value: "",
|
|
6291
|
-
output: "".concat(
|
|
6310
|
+
output: "".concat(ne, "?")
|
|
6292
6311
|
}), D.backtrack === true) {
|
|
6293
6312
|
D.output = "";
|
|
6294
6313
|
var _iterator6 = _createForOfIteratorHelper(D.tokens),
|
|
@@ -6309,61 +6328,61 @@ function Af() {
|
|
|
6309
6328
|
return _E2.fastpaths = function (p, d) {
|
|
6310
6329
|
var h = _objectSpread({}, d),
|
|
6311
6330
|
O = typeof h.maxLength == "number" ? Math.min(n, h.maxLength) : n,
|
|
6312
|
-
|
|
6313
|
-
if (
|
|
6331
|
+
$ = p.length;
|
|
6332
|
+
if ($ > O) throw new SyntaxError("Input length: ".concat($, ", exceeds maximum allowed length: ").concat(O));
|
|
6314
6333
|
p = i[p] || p;
|
|
6315
6334
|
var _e$globChars = e.globChars(h.windows),
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6335
|
+
j = _e$globChars.DOT_LITERAL,
|
|
6336
|
+
B = _e$globChars.SLASH_LITERAL,
|
|
6337
|
+
J = _e$globChars.ONE_CHAR,
|
|
6338
|
+
te = _e$globChars.DOTS_SLASH,
|
|
6339
|
+
U = _e$globChars.NO_DOT,
|
|
6340
|
+
re = _e$globChars.NO_DOTS,
|
|
6322
6341
|
L = _e$globChars.NO_DOTS_SLASH,
|
|
6323
|
-
|
|
6342
|
+
ne = _e$globChars.STAR,
|
|
6324
6343
|
le = _e$globChars.START_ANCHOR,
|
|
6325
|
-
pe = h.dot ?
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6344
|
+
pe = h.dot ? re : U,
|
|
6345
|
+
K = h.dot ? L : U,
|
|
6346
|
+
k = h.capture ? "" : "?:",
|
|
6347
|
+
F = {
|
|
6329
6348
|
negated: false,
|
|
6330
6349
|
prefix: ""
|
|
6331
6350
|
};
|
|
6332
|
-
var N = h.bash === true ? ".*?" :
|
|
6351
|
+
var N = h.bash === true ? ".*?" : ne;
|
|
6333
6352
|
h.capture && (N = "(".concat(N, ")"));
|
|
6334
|
-
var
|
|
6335
|
-
return z.noglobstar === true ? N : "(".concat(
|
|
6353
|
+
var se = function se(z) {
|
|
6354
|
+
return z.noglobstar === true ? N : "(".concat(k, "(?:(?!").concat(le).concat(z.dot ? te : j, ").)*?)");
|
|
6336
6355
|
},
|
|
6337
6356
|
_ge = function ge(z) {
|
|
6338
6357
|
switch (z) {
|
|
6339
6358
|
case "*":
|
|
6340
|
-
return "".concat(pe).concat(
|
|
6359
|
+
return "".concat(pe).concat(J).concat(N);
|
|
6341
6360
|
case ".*":
|
|
6342
|
-
return "".concat(
|
|
6361
|
+
return "".concat(j).concat(J).concat(N);
|
|
6343
6362
|
case "*.*":
|
|
6344
|
-
return "".concat(pe).concat(N).concat(
|
|
6363
|
+
return "".concat(pe).concat(N).concat(j).concat(J).concat(N);
|
|
6345
6364
|
case "*/*":
|
|
6346
|
-
return "".concat(pe).concat(N).concat(
|
|
6365
|
+
return "".concat(pe).concat(N).concat(B).concat(J).concat(K).concat(N);
|
|
6347
6366
|
case "**":
|
|
6348
|
-
return pe +
|
|
6367
|
+
return pe + se(h);
|
|
6349
6368
|
case "**/*":
|
|
6350
|
-
return "(?:".concat(pe).concat(
|
|
6369
|
+
return "(?:".concat(pe).concat(se(h)).concat(B, ")?").concat(K).concat(J).concat(N);
|
|
6351
6370
|
case "**/*.*":
|
|
6352
|
-
return "(?:".concat(pe).concat(
|
|
6371
|
+
return "(?:".concat(pe).concat(se(h)).concat(B, ")?").concat(K).concat(N).concat(j).concat(J).concat(N);
|
|
6353
6372
|
case "**/.*":
|
|
6354
|
-
return "(?:".concat(pe).concat(
|
|
6373
|
+
return "(?:".concat(pe).concat(se(h)).concat(B, ")?").concat(j).concat(J).concat(N);
|
|
6355
6374
|
default:
|
|
6356
6375
|
{
|
|
6357
|
-
var
|
|
6358
|
-
if (!
|
|
6359
|
-
var ye = _ge(
|
|
6360
|
-
return ye ? ye +
|
|
6376
|
+
var ie = /^(.*?)\.(\w+)$/.exec(z);
|
|
6377
|
+
if (!ie) return;
|
|
6378
|
+
var ye = _ge(ie[1]);
|
|
6379
|
+
return ye ? ye + j + ie[2] : void 0;
|
|
6361
6380
|
}
|
|
6362
6381
|
}
|
|
6363
6382
|
},
|
|
6364
|
-
we = t.removePrefix(p,
|
|
6383
|
+
we = t.removePrefix(p, F);
|
|
6365
6384
|
var ve = _ge(we);
|
|
6366
|
-
return ve && h.strictSlashes !== true && (ve += "".concat(
|
|
6385
|
+
return ve && h.strictSlashes !== true && (ve += "".concat(B, "?")), ve;
|
|
6367
6386
|
}, No = _E2, No;
|
|
6368
6387
|
}
|
|
6369
6388
|
var To, pi;
|
|
@@ -6380,17 +6399,17 @@ function Nf() {
|
|
|
6380
6399
|
_o5 = function o(i, c) {
|
|
6381
6400
|
var l = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
6382
6401
|
if (Array.isArray(i)) {
|
|
6383
|
-
var
|
|
6384
|
-
return _o5(
|
|
6402
|
+
var B = i.map(function (te) {
|
|
6403
|
+
return _o5(te, c, l);
|
|
6385
6404
|
});
|
|
6386
|
-
return function (
|
|
6387
|
-
var _iterator7 = _createForOfIteratorHelper(
|
|
6405
|
+
return function (te) {
|
|
6406
|
+
var _iterator7 = _createForOfIteratorHelper(B),
|
|
6388
6407
|
_step7;
|
|
6389
6408
|
try {
|
|
6390
6409
|
for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
|
|
6391
|
-
var
|
|
6392
|
-
var
|
|
6393
|
-
if (
|
|
6410
|
+
var U = _step7.value;
|
|
6411
|
+
var re = U(te);
|
|
6412
|
+
if (re) return re;
|
|
6394
6413
|
}
|
|
6395
6414
|
} catch (err) {
|
|
6396
6415
|
_iterator7.e(err);
|
|
@@ -6407,44 +6426,44 @@ function Nf() {
|
|
|
6407
6426
|
h = E ? _o5.compileRe(i, c) : _o5.makeRe(i, c, false, true),
|
|
6408
6427
|
O = h.state;
|
|
6409
6428
|
delete h.state;
|
|
6410
|
-
var
|
|
6429
|
+
var $ = function $() {
|
|
6411
6430
|
return false;
|
|
6412
6431
|
};
|
|
6413
6432
|
if (p.ignore) {
|
|
6414
|
-
var
|
|
6433
|
+
var _B = _objectSpread(_objectSpread({}, c), {}, {
|
|
6415
6434
|
ignore: null,
|
|
6416
6435
|
onMatch: null,
|
|
6417
6436
|
onResult: null
|
|
6418
6437
|
});
|
|
6419
|
-
|
|
6438
|
+
$ = _o5(p.ignore, _B, l);
|
|
6420
6439
|
}
|
|
6421
|
-
var
|
|
6422
|
-
var
|
|
6423
|
-
var _o$test = _o5.test(
|
|
6440
|
+
var j = function j(B) {
|
|
6441
|
+
var J = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
6442
|
+
var _o$test = _o5.test(B, h, c, {
|
|
6424
6443
|
glob: i,
|
|
6425
6444
|
posix: d
|
|
6426
6445
|
}),
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6446
|
+
te = _o$test.isMatch,
|
|
6447
|
+
U = _o$test.match,
|
|
6448
|
+
re = _o$test.output,
|
|
6430
6449
|
L = {
|
|
6431
6450
|
glob: i,
|
|
6432
6451
|
state: O,
|
|
6433
6452
|
regex: h,
|
|
6434
6453
|
posix: d,
|
|
6435
|
-
input:
|
|
6436
|
-
output:
|
|
6437
|
-
match:
|
|
6438
|
-
isMatch:
|
|
6454
|
+
input: B,
|
|
6455
|
+
output: re,
|
|
6456
|
+
match: U,
|
|
6457
|
+
isMatch: te
|
|
6439
6458
|
};
|
|
6440
|
-
return typeof p.onResult == "function" && p.onResult(L),
|
|
6459
|
+
return typeof p.onResult == "function" && p.onResult(L), te === false ? (L.isMatch = false, J ? L : false) : $(B) ? (typeof p.onIgnore == "function" && p.onIgnore(L), L.isMatch = false, J ? L : false) : (typeof p.onMatch == "function" && p.onMatch(L), J ? L : true);
|
|
6441
6460
|
};
|
|
6442
|
-
return l && (
|
|
6461
|
+
return l && (j.state = O), j;
|
|
6443
6462
|
};
|
|
6444
6463
|
return _o5.test = function (i, c, l) {
|
|
6445
|
-
var
|
|
6446
|
-
E =
|
|
6447
|
-
p =
|
|
6464
|
+
var _ref46 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},
|
|
6465
|
+
E = _ref46.glob,
|
|
6466
|
+
p = _ref46.posix;
|
|
6448
6467
|
if (typeof i != "string") throw new TypeError("Expected input to be a string");
|
|
6449
6468
|
if (i === "") return {
|
|
6450
6469
|
isMatch: false,
|
|
@@ -6453,11 +6472,11 @@ function Nf() {
|
|
|
6453
6472
|
var d = l || {},
|
|
6454
6473
|
h = d.format || (p ? n.toPosixSlashes : null);
|
|
6455
6474
|
var O = i === E,
|
|
6456
|
-
|
|
6457
|
-
return O === false && (
|
|
6475
|
+
$ = O && h ? h(i) : i;
|
|
6476
|
+
return O === false && ($ = h ? h(i) : i, O = $ === E), (O === false || d.capture === true) && (d.matchBase === true || d.basename === true ? O = _o5.matchBase(i, c, l, p) : O = c.exec($)), {
|
|
6458
6477
|
isMatch: !!O,
|
|
6459
6478
|
match: O,
|
|
6460
|
-
output:
|
|
6479
|
+
output: $
|
|
6461
6480
|
};
|
|
6462
6481
|
}, _o5.matchBase = function (i, c, l) {
|
|
6463
6482
|
return (c instanceof RegExp ? c : _o5.makeRe(c, l)).test(n.basename(i));
|
|
@@ -6480,8 +6499,8 @@ function Nf() {
|
|
|
6480
6499
|
h = p.contains ? "" : "$";
|
|
6481
6500
|
var O = "".concat(d, "(?:").concat(i.output, ")").concat(h);
|
|
6482
6501
|
i && i.negated === true && (O = "^(?!".concat(O, ").*$"));
|
|
6483
|
-
var
|
|
6484
|
-
return E === true && (
|
|
6502
|
+
var $ = _o5.toRegex(O, c);
|
|
6503
|
+
return E === true && ($.state = i), $;
|
|
6485
6504
|
}, _o5.makeRe = function (i) {
|
|
6486
6505
|
var c = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
6487
6506
|
var l = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
@@ -6635,7 +6654,7 @@ var Df = function Df() {
|
|
|
6635
6654
|
var e = Tt("microApp"),
|
|
6636
6655
|
t = qe(false);
|
|
6637
6656
|
e.cors.on("syncRouter", function (n) {
|
|
6638
|
-
var
|
|
6657
|
+
var _ref47;
|
|
6639
6658
|
var d, h;
|
|
6640
6659
|
if (t.value) return;
|
|
6641
6660
|
t.value = true, setTimeout(function () {
|
|
@@ -6650,14 +6669,14 @@ var Df = function Df() {
|
|
|
6650
6669
|
c = _URL4.search;
|
|
6651
6670
|
var l = o + c;
|
|
6652
6671
|
if (((d = s.router) == null ? void 0 : d.mode) === "hash" && (l = i.replace("#", "")), l === r.path) return;
|
|
6653
|
-
if (!((
|
|
6672
|
+
if (!((_ref47 = (h = e.data.get().appInfo.router) == null ? void 0 : h.sync) !== null && _ref47 !== void 0 ? _ref47 : true)) {
|
|
6654
6673
|
e.event.emit("syncRouter", n);
|
|
6655
6674
|
return;
|
|
6656
6675
|
}
|
|
6657
6676
|
Cf(r.replacePath);
|
|
6658
6677
|
}), Pf(["replaceState"], /*#__PURE__*/function () {
|
|
6659
|
-
var
|
|
6660
|
-
var
|
|
6678
|
+
var _ref48 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(n) {
|
|
6679
|
+
var _ref49;
|
|
6661
6680
|
var o, r;
|
|
6662
6681
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
6663
6682
|
while (1) switch (_context10.prev = _context10.next) {
|
|
@@ -6679,7 +6698,7 @@ var Df = function Df() {
|
|
|
6679
6698
|
return setTimeout(i, 0);
|
|
6680
6699
|
});
|
|
6681
6700
|
case 7:
|
|
6682
|
-
_context10.t0 = !((
|
|
6701
|
+
_context10.t0 = !((_ref49 = (o = r.router) == null ? void 0 : o.sync) !== null && _ref49 !== void 0 ? _ref49 : true);
|
|
6683
6702
|
case 8:
|
|
6684
6703
|
_context10.t1 = _context10.t0;
|
|
6685
6704
|
if (_context10.t1) {
|
|
@@ -6701,12 +6720,12 @@ var Df = function Df() {
|
|
|
6701
6720
|
}, _callee10);
|
|
6702
6721
|
}));
|
|
6703
6722
|
return function (_x7) {
|
|
6704
|
-
return
|
|
6723
|
+
return _ref48.apply(this, arguments);
|
|
6705
6724
|
};
|
|
6706
6725
|
}());
|
|
6707
6726
|
},
|
|
6708
6727
|
Pg = /*#__PURE__*/function () {
|
|
6709
|
-
var
|
|
6728
|
+
var _ref50 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(e) {
|
|
6710
6729
|
var t;
|
|
6711
6730
|
return _regeneratorRuntime().wrap(function _callee11$(_context11) {
|
|
6712
6731
|
while (1) switch (_context11.prev = _context11.next) {
|
|
@@ -6726,7 +6745,7 @@ var Df = function Df() {
|
|
|
6726
6745
|
}, _callee11);
|
|
6727
6746
|
}));
|
|
6728
6747
|
return function Pg(_x8) {
|
|
6729
|
-
return
|
|
6748
|
+
return _ref50.apply(this, arguments);
|
|
6730
6749
|
};
|
|
6731
6750
|
}();
|
|
6732
6751
|
function so(e) {
|
|
@@ -7382,13 +7401,13 @@ function Dr(e, t, n, r, s, o) {
|
|
|
7382
7401
|
if (p) return p;
|
|
7383
7402
|
o.set(e, i), Ih(e) ? e.forEach(function (O) {
|
|
7384
7403
|
i.add(Dr(O, t, n, O, e, o));
|
|
7385
|
-
}) : Dh(e) && e.forEach(function (O,
|
|
7386
|
-
i.set(
|
|
7404
|
+
}) : Dh(e) && e.forEach(function (O, $) {
|
|
7405
|
+
i.set($, Dr(O, t, n, $, e, o));
|
|
7387
7406
|
});
|
|
7388
7407
|
var d = Kd,
|
|
7389
7408
|
h = c ? void 0 : d(e);
|
|
7390
|
-
return Mp(h || e, function (O,
|
|
7391
|
-
h && (
|
|
7409
|
+
return Mp(h || e, function (O, $) {
|
|
7410
|
+
h && ($ = O, O = e[$]), Hp(i, $, Dr(O, t, n, $, e, o));
|
|
7392
7411
|
}), i;
|
|
7393
7412
|
}
|
|
7394
7413
|
var rg = 1,
|
|
@@ -7417,9 +7436,9 @@ var sg = function sg(e, t, n) {
|
|
|
7417
7436
|
set: function set(r, s) {
|
|
7418
7437
|
if (!r || _typeof(r) != "object") return;
|
|
7419
7438
|
var o = ji(sn[e]),
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
i =
|
|
7439
|
+
_ref51 = s || {},
|
|
7440
|
+
_ref51$notMerge = _ref51.notMerge,
|
|
7441
|
+
i = _ref51$notMerge === void 0 ? false : _ref51$notMerge;
|
|
7423
7442
|
i ? sn[e] = r : Object.keys(r || {}).map(function (c) {
|
|
7424
7443
|
sn[e][c] = r[c];
|
|
7425
7444
|
}), sg(r, ji(sn[e]), o);
|
|
@@ -7637,7 +7656,7 @@ function dg() {
|
|
|
7637
7656
|
} catch (_unused11) {}
|
|
7638
7657
|
return false;
|
|
7639
7658
|
}
|
|
7640
|
-
function
|
|
7659
|
+
function $() {
|
|
7641
7660
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window,
|
|
7642
7661
|
u = a.location;
|
|
7643
7662
|
if (!u) throw new Error("Can not read window location");
|
|
@@ -7646,18 +7665,18 @@ function dg() {
|
|
|
7646
7665
|
if (m === c.FILE) return c.FILE + "//";
|
|
7647
7666
|
if (m === c.ABOUT) {
|
|
7648
7667
|
var v = d(a);
|
|
7649
|
-
return v && O(v) ?
|
|
7668
|
+
return v && O(v) ? $(v) : c.ABOUT + "//";
|
|
7650
7669
|
}
|
|
7651
7670
|
var w = u.host;
|
|
7652
7671
|
if (!w) throw new Error("Can not read window host");
|
|
7653
7672
|
return m + "//" + w;
|
|
7654
7673
|
}
|
|
7655
|
-
function
|
|
7674
|
+
function j() {
|
|
7656
7675
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window,
|
|
7657
|
-
u =
|
|
7676
|
+
u = $(a);
|
|
7658
7677
|
return u && a.mockDomain && a.mockDomain.indexOf(c.MOCK) === 0 ? a.mockDomain : u;
|
|
7659
7678
|
}
|
|
7660
|
-
function
|
|
7679
|
+
function B(a) {
|
|
7661
7680
|
try {
|
|
7662
7681
|
if (a === window) return !0;
|
|
7663
7682
|
} catch (_unused12) {}
|
|
@@ -7669,11 +7688,11 @@ function dg() {
|
|
|
7669
7688
|
if (p(a) && O(a)) return !0;
|
|
7670
7689
|
} catch (_unused14) {}
|
|
7671
7690
|
try {
|
|
7672
|
-
if (
|
|
7691
|
+
if ($(a) === $(window)) return !0;
|
|
7673
7692
|
} catch (_unused15) {}
|
|
7674
7693
|
return false;
|
|
7675
7694
|
}
|
|
7676
|
-
function
|
|
7695
|
+
function J(a, u) {
|
|
7677
7696
|
if (!a || !u) return false;
|
|
7678
7697
|
var m = d(u);
|
|
7679
7698
|
return m ? m === a : function (v) {
|
|
@@ -7684,7 +7703,7 @@ function dg() {
|
|
|
7684
7703
|
return w;
|
|
7685
7704
|
}(u).indexOf(a) !== -1;
|
|
7686
7705
|
}
|
|
7687
|
-
function
|
|
7706
|
+
function te(a) {
|
|
7688
7707
|
var u = [],
|
|
7689
7708
|
m = void 0;
|
|
7690
7709
|
try {
|
|
@@ -7699,30 +7718,30 @@ function dg() {
|
|
|
7699
7718
|
if (v === 0) return u;
|
|
7700
7719
|
if (v) {
|
|
7701
7720
|
for (var w = 0; w < v; w++) {
|
|
7702
|
-
var
|
|
7721
|
+
var I = void 0;
|
|
7703
7722
|
try {
|
|
7704
|
-
|
|
7723
|
+
I = m[w];
|
|
7705
7724
|
} catch (_unused19) {
|
|
7706
7725
|
continue;
|
|
7707
7726
|
}
|
|
7708
|
-
u.push(
|
|
7727
|
+
u.push(I);
|
|
7709
7728
|
}
|
|
7710
7729
|
return u;
|
|
7711
7730
|
}
|
|
7712
7731
|
for (var V = 0; V < 100; V++) {
|
|
7713
|
-
var
|
|
7732
|
+
var Y = void 0;
|
|
7714
7733
|
try {
|
|
7715
|
-
|
|
7734
|
+
Y = m[V];
|
|
7716
7735
|
} catch (_unused20) {
|
|
7717
7736
|
return u;
|
|
7718
7737
|
}
|
|
7719
|
-
if (!
|
|
7720
|
-
u.push(
|
|
7738
|
+
if (!Y) return u;
|
|
7739
|
+
u.push(Y);
|
|
7721
7740
|
}
|
|
7722
7741
|
return u;
|
|
7723
7742
|
}
|
|
7724
|
-
var
|
|
7725
|
-
|
|
7743
|
+
var U = [],
|
|
7744
|
+
re = [];
|
|
7726
7745
|
function L(a) {
|
|
7727
7746
|
var u = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1];
|
|
7728
7747
|
try {
|
|
@@ -7741,9 +7760,9 @@ function dg() {
|
|
|
7741
7760
|
return !w || w.message !== E;
|
|
7742
7761
|
}
|
|
7743
7762
|
if (u && function (w) {
|
|
7744
|
-
if (!
|
|
7763
|
+
if (!B(w)) return false;
|
|
7745
7764
|
try {
|
|
7746
|
-
if (w === window || p(w) && O(w) ||
|
|
7765
|
+
if (w === window || p(w) && O(w) || j(window) === j(w)) return !0;
|
|
7747
7766
|
} catch (_unused23) {}
|
|
7748
7767
|
return false;
|
|
7749
7768
|
}(a)) try {
|
|
@@ -7752,23 +7771,23 @@ function dg() {
|
|
|
7752
7771
|
try {
|
|
7753
7772
|
if (!a.parent || !a.top) return !0;
|
|
7754
7773
|
} catch (_unused25) {}
|
|
7755
|
-
var m = function (w,
|
|
7774
|
+
var m = function (w, I) {
|
|
7756
7775
|
for (var V = 0; V < w.length; V++) try {
|
|
7757
|
-
if (w[V] ===
|
|
7776
|
+
if (w[V] === I) return V;
|
|
7758
7777
|
} catch (_unused26) {}
|
|
7759
7778
|
return -1;
|
|
7760
|
-
}(
|
|
7779
|
+
}(U, a);
|
|
7761
7780
|
if (m !== -1) {
|
|
7762
|
-
var v =
|
|
7781
|
+
var v = re[m];
|
|
7763
7782
|
if (v && function (w) {
|
|
7764
7783
|
if (!w.contentWindow || !w.parentNode) return true;
|
|
7765
|
-
var
|
|
7766
|
-
return !(
|
|
7784
|
+
var I = w.ownerDocument;
|
|
7785
|
+
return !(!I || !I.documentElement || I.documentElement.contains(w));
|
|
7767
7786
|
}(v)) return true;
|
|
7768
7787
|
}
|
|
7769
7788
|
return false;
|
|
7770
7789
|
}
|
|
7771
|
-
function
|
|
7790
|
+
function ne() {
|
|
7772
7791
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
7773
7792
|
return h(a = a || window) || d(a) || void 0;
|
|
7774
7793
|
}
|
|
@@ -7819,14 +7838,14 @@ function dg() {
|
|
|
7819
7838
|
}
|
|
7820
7839
|
return false;
|
|
7821
7840
|
}
|
|
7822
|
-
function
|
|
7841
|
+
function K(a, u) {
|
|
7823
7842
|
for (var m = 0; m < a.length; m++) try {
|
|
7824
7843
|
if (a[m] === u) return m;
|
|
7825
7844
|
} catch (_unused28) {}
|
|
7826
7845
|
return -1;
|
|
7827
7846
|
}
|
|
7828
|
-
var
|
|
7829
|
-
|
|
7847
|
+
var k,
|
|
7848
|
+
F = function () {
|
|
7830
7849
|
function a() {
|
|
7831
7850
|
if (function (u, m) {
|
|
7832
7851
|
if (!(u instanceof a)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -7872,8 +7891,8 @@ function dg() {
|
|
|
7872
7891
|
}
|
|
7873
7892
|
if (this.isSafeToReadWrite(u)) try {
|
|
7874
7893
|
var w = this.name,
|
|
7875
|
-
|
|
7876
|
-
|
|
7894
|
+
I = u[w];
|
|
7895
|
+
I && I[0] === u ? I[1] = m : Object.defineProperty(u, w, {
|
|
7877
7896
|
value: [u, m],
|
|
7878
7897
|
writable: !0
|
|
7879
7898
|
});
|
|
@@ -7881,9 +7900,9 @@ function dg() {
|
|
|
7881
7900
|
} catch (_unused34) {}
|
|
7882
7901
|
this._cleanupClosedWindows();
|
|
7883
7902
|
var V = this.keys,
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7903
|
+
Y = this.values,
|
|
7904
|
+
X = K(V, u);
|
|
7905
|
+
X === -1 ? (V.push(u), Y.push(m)) : Y[X] = m;
|
|
7887
7906
|
}, a.prototype.get = function (u) {
|
|
7888
7907
|
if (!u) throw new Error("WeakMap expected key");
|
|
7889
7908
|
var m = this.weakmap;
|
|
@@ -7897,7 +7916,7 @@ function dg() {
|
|
|
7897
7916
|
return v && v[0] === u ? v[1] : void 0;
|
|
7898
7917
|
} catch (_unused36) {}
|
|
7899
7918
|
this._cleanupClosedWindows();
|
|
7900
|
-
var w =
|
|
7919
|
+
var w = K(this.keys, u);
|
|
7901
7920
|
if (w !== -1) return this.values[w];
|
|
7902
7921
|
}, a.prototype["delete"] = function (u) {
|
|
7903
7922
|
if (!u) throw new Error("WeakMap expected key");
|
|
@@ -7913,8 +7932,8 @@ function dg() {
|
|
|
7913
7932
|
} catch (_unused38) {}
|
|
7914
7933
|
this._cleanupClosedWindows();
|
|
7915
7934
|
var w = this.keys,
|
|
7916
|
-
|
|
7917
|
-
|
|
7935
|
+
I = K(w, u);
|
|
7936
|
+
I !== -1 && (w.splice(I, 1), this.values.splice(I, 1));
|
|
7918
7937
|
}, a.prototype.has = function (u) {
|
|
7919
7938
|
if (!u) throw new Error("WeakMap expected key");
|
|
7920
7939
|
var m = this.weakmap;
|
|
@@ -7927,7 +7946,7 @@ function dg() {
|
|
|
7927
7946
|
var v = u[this.name];
|
|
7928
7947
|
return !(!v || v[0] !== u);
|
|
7929
7948
|
} catch (_unused40) {}
|
|
7930
|
-
return this._cleanupClosedWindows(),
|
|
7949
|
+
return this._cleanupClosedWindows(), K(this.keys, u) !== -1;
|
|
7931
7950
|
}, a.prototype.getOrSet = function (u, m) {
|
|
7932
7951
|
if (this.has(u)) return this.get(u);
|
|
7933
7952
|
var v = m();
|
|
@@ -7975,20 +7994,20 @@ function dg() {
|
|
|
7975
7994
|
POSTROBOT_PROXY: "__postrobot_proxy__",
|
|
7976
7995
|
WILDCARD: "*"
|
|
7977
7996
|
},
|
|
7978
|
-
|
|
7997
|
+
se = {
|
|
7979
7998
|
METHOD: "postrobot_method",
|
|
7980
7999
|
HELLO: "postrobot_hello",
|
|
7981
8000
|
OPEN_TUNNEL: "postrobot_open_tunnel"
|
|
7982
8001
|
},
|
|
7983
|
-
ge = (Object.keys(
|
|
7984
|
-
return
|
|
8002
|
+
ge = (Object.keys(se).map(function (a) {
|
|
8003
|
+
return se[a];
|
|
7985
8004
|
}), {
|
|
7986
8005
|
ALLOW_POSTMESSAGE_POPUP: !("__ALLOW_POSTMESSAGE_POPUP__" in window) || window.__ALLOW_POSTMESSAGE_POPUP__,
|
|
7987
8006
|
BRIDGE_TIMEOUT: 5e3,
|
|
7988
8007
|
CHILD_WINDOW_TIMEOUT: 5e3,
|
|
7989
8008
|
ACK_TIMEOUT: window.navigator.userAgent.match(/MSIE/i) !== -1 ? 1e4 : 2e3,
|
|
7990
8009
|
RES_TIMEOUT: -1,
|
|
7991
|
-
ALLOWED_POST_MESSAGE_METHODS: (
|
|
8010
|
+
ALLOWED_POST_MESSAGE_METHODS: (k = {}, k[N.SEND_STRATEGIES.POST_MESSAGE] = true, k[N.SEND_STRATEGIES.BRIDGE] = true, k[N.SEND_STRATEGIES.GLOBAL] = true, k),
|
|
7992
8011
|
ALLOW_SAME_ORIGIN: false
|
|
7993
8012
|
});
|
|
7994
8013
|
window.location.href.indexOf(N.FILE_PROTOCOL) === 0 && (ge.ALLOW_POSTMESSAGE_POPUP = true);
|
|
@@ -8022,7 +8041,7 @@ function dg() {
|
|
|
8022
8041
|
if (!u) return u = true, a.apply(this, arguments);
|
|
8023
8042
|
};
|
|
8024
8043
|
};
|
|
8025
|
-
function
|
|
8044
|
+
function ie() {}
|
|
8026
8045
|
function ye() {
|
|
8027
8046
|
var a = "0123456789abcdef";
|
|
8028
8047
|
return "xxxxxxxxxx".replace(/./g, function () {
|
|
@@ -8037,15 +8056,15 @@ function dg() {
|
|
|
8037
8056
|
if (!Array.isArray(a)) throw new TypeError("Invalid type: " + (a === void 0 ? "undefined" : we(a)));
|
|
8038
8057
|
v = [];
|
|
8039
8058
|
} else v = {};
|
|
8040
|
-
return function (w,
|
|
8041
|
-
Array.isArray(w) ? function (V,
|
|
8042
|
-
for (var
|
|
8043
|
-
}(w,
|
|
8044
|
-
for (var
|
|
8045
|
-
}(w,
|
|
8046
|
-
}(a, function (w,
|
|
8047
|
-
var V = u(w,
|
|
8048
|
-
V !== void 0 ? v[
|
|
8059
|
+
return function (w, I) {
|
|
8060
|
+
Array.isArray(w) ? function (V, Y) {
|
|
8061
|
+
for (var X = 0; X < V.length; X++) Y(V[X], X);
|
|
8062
|
+
}(w, I) : (w === void 0 ? "undefined" : we(w)) === "object" && w !== null && function (V, Y) {
|
|
8063
|
+
for (var X in V) V.hasOwnProperty(X) && Y(V[X], X);
|
|
8064
|
+
}(w, I);
|
|
8065
|
+
}(a, function (w, I) {
|
|
8066
|
+
var V = u(w, I);
|
|
8067
|
+
V !== void 0 ? v[I] = V : (w === void 0 ? "undefined" : we(w)) === "object" && w !== null ? v[I] = D(w, u, m + 1) : v[I] = w;
|
|
8049
8068
|
}), v;
|
|
8050
8069
|
}
|
|
8051
8070
|
function Oe(a) {
|
|
@@ -8086,26 +8105,26 @@ function dg() {
|
|
|
8086
8105
|
var _e = function () {
|
|
8087
8106
|
function a(u) {
|
|
8088
8107
|
var m = this;
|
|
8089
|
-
if (function (
|
|
8090
|
-
if (!(
|
|
8108
|
+
if (function (X, ae) {
|
|
8109
|
+
if (!(X instanceof a)) throw new TypeError("Cannot call a class as a function");
|
|
8091
8110
|
}(this), this.resolved = false, this.rejected = false, this.errorHandled = false, this.handlers = [], u) {
|
|
8092
8111
|
var v = void 0,
|
|
8093
8112
|
w = void 0,
|
|
8094
|
-
|
|
8113
|
+
I = false,
|
|
8095
8114
|
V = false,
|
|
8096
|
-
|
|
8115
|
+
Y = false;
|
|
8097
8116
|
de();
|
|
8098
8117
|
try {
|
|
8099
|
-
u(function (
|
|
8100
|
-
|
|
8101
|
-
}, function (
|
|
8102
|
-
|
|
8118
|
+
u(function (X) {
|
|
8119
|
+
Y ? m.resolve(X) : (I = !0, v = X);
|
|
8120
|
+
}, function (X) {
|
|
8121
|
+
Y ? m.reject(X) : (V = !0, w = X);
|
|
8103
8122
|
});
|
|
8104
|
-
} catch (
|
|
8105
|
-
$e(), this.reject(
|
|
8123
|
+
} catch (X) {
|
|
8124
|
+
$e(), this.reject(X);
|
|
8106
8125
|
return;
|
|
8107
8126
|
}
|
|
8108
|
-
$e(),
|
|
8127
|
+
$e(), Y = true, I ? this.resolve(v) : V && this.reject(w);
|
|
8109
8128
|
}
|
|
8110
8129
|
}
|
|
8111
8130
|
return a.prototype.resolve = function (u) {
|
|
@@ -8121,12 +8140,12 @@ function dg() {
|
|
|
8121
8140
|
u = new Error("Expected reject to be called with Error, got " + v);
|
|
8122
8141
|
}
|
|
8123
8142
|
return this.rejected = true, this.error = u, this.errorHandled || setTimeout(function () {
|
|
8124
|
-
m.errorHandled || function (w,
|
|
8143
|
+
m.errorHandled || function (w, I) {
|
|
8125
8144
|
if (Pe.indexOf(w) === -1) {
|
|
8126
8145
|
Pe.push(w), setTimeout(function () {
|
|
8127
8146
|
throw w;
|
|
8128
8147
|
}, 1);
|
|
8129
|
-
for (var V = 0; V < S.length; V++) S[V](w,
|
|
8148
|
+
for (var V = 0; V < S.length; V++) S[V](w, I);
|
|
8130
8149
|
}
|
|
8131
8150
|
}(u, m);
|
|
8132
8151
|
}, 1), this.dispatch(), this;
|
|
@@ -8139,20 +8158,20 @@ function dg() {
|
|
|
8139
8158
|
w = this.handlers;
|
|
8140
8159
|
if (!u && (m || v)) {
|
|
8141
8160
|
this.dispatching = true, de();
|
|
8142
|
-
for (var
|
|
8161
|
+
for (var I = function I(fe, he) {
|
|
8143
8162
|
return fe.then(function (Le) {
|
|
8144
8163
|
he.resolve(Le);
|
|
8145
8164
|
}, function (Le) {
|
|
8146
8165
|
he.reject(Le);
|
|
8147
8166
|
});
|
|
8148
8167
|
}, V = 0; V < w.length; V++) {
|
|
8149
|
-
var
|
|
8150
|
-
|
|
8151
|
-
ae =
|
|
8152
|
-
ee =
|
|
8168
|
+
var Y = w[V],
|
|
8169
|
+
X = Y.onSuccess,
|
|
8170
|
+
ae = Y.onError,
|
|
8171
|
+
ee = Y.promise,
|
|
8153
8172
|
q = void 0;
|
|
8154
8173
|
if (m) try {
|
|
8155
|
-
q =
|
|
8174
|
+
q = X ? X(this.value) : this.value;
|
|
8156
8175
|
} catch (fe) {
|
|
8157
8176
|
ee.reject(fe);
|
|
8158
8177
|
continue;
|
|
@@ -8168,7 +8187,7 @@ function dg() {
|
|
|
8168
8187
|
continue;
|
|
8169
8188
|
}
|
|
8170
8189
|
}
|
|
8171
|
-
q instanceof a && (q.resolved || q.rejected) ? (q.resolved ? ee.resolve(q.value) : ee.reject(q.error), q.errorHandled = true) : Re(q) ? q instanceof a && (q.resolved || q.rejected) ? q.resolved ? ee.resolve(q.value) : ee.reject(q.error) :
|
|
8190
|
+
q instanceof a && (q.resolved || q.rejected) ? (q.resolved ? ee.resolve(q.value) : ee.reject(q.error), q.errorHandled = true) : Re(q) ? q instanceof a && (q.resolved || q.rejected) ? q.resolved ? ee.resolve(q.value) : ee.reject(q.error) : I(q, ee) : ee.resolve(q);
|
|
8172
8191
|
}
|
|
8173
8192
|
w.length = 0, this.dispatching = false, $e();
|
|
8174
8193
|
}
|
|
@@ -8200,8 +8219,8 @@ function dg() {
|
|
|
8200
8219
|
var w = setTimeout(function () {
|
|
8201
8220
|
v.resolved || v.rejected || v.reject(m || new Error("Promise timed out after " + u + "ms"));
|
|
8202
8221
|
}, u);
|
|
8203
|
-
return this.then(function (
|
|
8204
|
-
return clearTimeout(w),
|
|
8222
|
+
return this.then(function (I) {
|
|
8223
|
+
return clearTimeout(w), I;
|
|
8205
8224
|
});
|
|
8206
8225
|
}, a.prototype.toPromise = function () {
|
|
8207
8226
|
if ((typeof Promise === "undefined" ? "undefined" : _typeof(Promise)) > "u") throw new TypeError("Could not find Promise");
|
|
@@ -8219,24 +8238,24 @@ function dg() {
|
|
|
8219
8238
|
v = u.length,
|
|
8220
8239
|
w = [];
|
|
8221
8240
|
if (!v) return m.resolve(w), m;
|
|
8222
|
-
for (var
|
|
8241
|
+
for (var I = function I(X, ae, ee) {
|
|
8223
8242
|
return ae.then(function (q) {
|
|
8224
|
-
w[
|
|
8243
|
+
w[X] = q, (v -= 1) == 0 && m.resolve(w);
|
|
8225
8244
|
}, function (q) {
|
|
8226
8245
|
ee.reject(q);
|
|
8227
8246
|
});
|
|
8228
8247
|
}, V = 0; V < u.length; V++) {
|
|
8229
|
-
var
|
|
8230
|
-
if (
|
|
8231
|
-
if (
|
|
8232
|
-
w[V] =
|
|
8248
|
+
var Y = u[V];
|
|
8249
|
+
if (Y instanceof a) {
|
|
8250
|
+
if (Y.resolved) {
|
|
8251
|
+
w[V] = Y.value, v -= 1;
|
|
8233
8252
|
continue;
|
|
8234
8253
|
}
|
|
8235
|
-
} else if (!Re(
|
|
8236
|
-
w[V] =
|
|
8254
|
+
} else if (!Re(Y)) {
|
|
8255
|
+
w[V] = Y, v -= 1;
|
|
8237
8256
|
continue;
|
|
8238
8257
|
}
|
|
8239
|
-
|
|
8258
|
+
I(V, a.resolve(Y), m);
|
|
8240
8259
|
}
|
|
8241
8260
|
return v === 0 && m.resolve(w), m;
|
|
8242
8261
|
}, a.hash = function (u) {
|
|
@@ -8264,8 +8283,8 @@ function dg() {
|
|
|
8264
8283
|
de();
|
|
8265
8284
|
try {
|
|
8266
8285
|
w = u.apply(m, v || []);
|
|
8267
|
-
} catch (
|
|
8268
|
-
return $e(), a.reject(
|
|
8286
|
+
} catch (I) {
|
|
8287
|
+
return $e(), a.reject(I);
|
|
8269
8288
|
}
|
|
8270
8289
|
return $e(), a.resolve(w);
|
|
8271
8290
|
}, a.delay = function (u) {
|
|
@@ -8281,28 +8300,28 @@ function dg() {
|
|
|
8281
8300
|
}();
|
|
8282
8301
|
}, a;
|
|
8283
8302
|
}(),
|
|
8284
|
-
|
|
8285
|
-
|
|
8303
|
+
W = window[N.WINDOW_PROPS.POSTROBOT] = window[N.WINDOW_PROPS.POSTROBOT] || {};
|
|
8304
|
+
W.registerSelf = function () {};
|
|
8286
8305
|
var Me = typeof Symbol == "function" && _typeof(Symbol.iterator) == "symbol" ? function (a) {
|
|
8287
8306
|
return _typeof(a);
|
|
8288
8307
|
} : function (a) {
|
|
8289
8308
|
return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : _typeof(a);
|
|
8290
8309
|
};
|
|
8291
|
-
|
|
8310
|
+
W.methods = W.methods || new F();
|
|
8292
8311
|
var f = z(function () {
|
|
8293
|
-
|
|
8312
|
+
W.on(N.POST_MESSAGE_NAMES.METHOD, {
|
|
8294
8313
|
origin: N.WILDCARD
|
|
8295
8314
|
}, function (a) {
|
|
8296
8315
|
var u = a.source,
|
|
8297
8316
|
m = a.origin,
|
|
8298
8317
|
v = a.data,
|
|
8299
|
-
w =
|
|
8318
|
+
w = W.methods.get(u);
|
|
8300
8319
|
if (!w) throw new Error("Could not find any methods this window has privileges to call");
|
|
8301
|
-
var
|
|
8302
|
-
if (
|
|
8303
|
-
if (!le(
|
|
8320
|
+
var I = w[v.id];
|
|
8321
|
+
if (!I) throw new Error("Could not find method with id: " + v.id);
|
|
8322
|
+
if (!le(I.domain, m)) throw new Error("Method domain " + I.domain + " does not match origin " + m);
|
|
8304
8323
|
return _e["try"](function () {
|
|
8305
|
-
return
|
|
8324
|
+
return I.method.apply({
|
|
8306
8325
|
source: u,
|
|
8307
8326
|
origin: m,
|
|
8308
8327
|
data: v
|
|
@@ -8321,8 +8340,8 @@ function dg() {
|
|
|
8321
8340
|
}
|
|
8322
8341
|
function y(a, u, m, v) {
|
|
8323
8342
|
var w = ye(),
|
|
8324
|
-
|
|
8325
|
-
return
|
|
8343
|
+
I = W.methods.get(a);
|
|
8344
|
+
return I || (I = {}, W.methods.set(a, I)), I[w] = {
|
|
8326
8345
|
domain: u,
|
|
8327
8346
|
method: m
|
|
8328
8347
|
}, {
|
|
@@ -8334,17 +8353,17 @@ function dg() {
|
|
|
8334
8353
|
function C(a, u, m) {
|
|
8335
8354
|
function v() {
|
|
8336
8355
|
var w = Array.prototype.slice.call(arguments);
|
|
8337
|
-
return
|
|
8356
|
+
return W.send(a, N.POST_MESSAGE_NAMES.METHOD, {
|
|
8338
8357
|
id: m.__id__,
|
|
8339
8358
|
name: m.__name__,
|
|
8340
8359
|
args: w
|
|
8341
8360
|
}, {
|
|
8342
8361
|
domain: u,
|
|
8343
8362
|
timeout: -1
|
|
8344
|
-
}).then(function (
|
|
8345
|
-
return
|
|
8346
|
-
}, function (
|
|
8347
|
-
throw
|
|
8363
|
+
}).then(function (I) {
|
|
8364
|
+
return I.data.result;
|
|
8365
|
+
}, function (I) {
|
|
8366
|
+
throw I;
|
|
8348
8367
|
});
|
|
8349
8368
|
}
|
|
8350
8369
|
return v.__name__ = m.__name__, v.__xdomain__ = true, v.source = a, v.origin = u, v;
|
|
@@ -8354,9 +8373,9 @@ function dg() {
|
|
|
8354
8373
|
return C(a, u, m.__then__)(v, w);
|
|
8355
8374
|
});
|
|
8356
8375
|
}
|
|
8357
|
-
|
|
8376
|
+
W.readyPromises = W.readyPromises || new F();
|
|
8358
8377
|
function _(a) {
|
|
8359
|
-
return
|
|
8378
|
+
return W.send(a, N.POST_MESSAGE_NAMES.HELLO, {}, {
|
|
8360
8379
|
domain: N.WILDCARD,
|
|
8361
8380
|
timeout: -1
|
|
8362
8381
|
}).then(function (u) {
|
|
@@ -8370,8 +8389,8 @@ function dg() {
|
|
|
8370
8389
|
(Array.isArray(m) ? m : typeof m == "string" ? [m] : [N.WILDCARD]).map(function (v) {
|
|
8371
8390
|
if (v.indexOf(N.MOCK_PROTOCOL) === 0) {
|
|
8372
8391
|
if (window.location.protocol === N.FILE_PROTOCOL) return N.WILDCARD;
|
|
8373
|
-
if (!
|
|
8374
|
-
return
|
|
8392
|
+
if (!B(a)) throw new Error("Attempting to send messsage to mock domain " + v + ", but window is actually cross-domain");
|
|
8393
|
+
return $(a);
|
|
8375
8394
|
}
|
|
8376
8395
|
return v.indexOf(N.FILE_PROTOCOL) === 0 ? N.WILDCARD : v;
|
|
8377
8396
|
}).forEach(function (v) {
|
|
@@ -8388,8 +8407,8 @@ function dg() {
|
|
|
8388
8407
|
function A(a, u, m) {
|
|
8389
8408
|
return _e["try"](function () {
|
|
8390
8409
|
var v;
|
|
8391
|
-
if (u = function (V,
|
|
8392
|
-
var
|
|
8410
|
+
if (u = function (V, Y) {
|
|
8411
|
+
var X = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {},
|
|
8393
8412
|
ae = ye(),
|
|
8394
8413
|
ee = function () {
|
|
8395
8414
|
var fe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
@@ -8398,18 +8417,18 @@ function dg() {
|
|
|
8398
8417
|
var fe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
8399
8418
|
return !!d(fe);
|
|
8400
8419
|
}() ? N.WINDOW_TYPES.IFRAME : N.WINDOW_TYPES.FULLPAGE,
|
|
8401
|
-
q =
|
|
8402
|
-
return b({},
|
|
8420
|
+
q = j(window);
|
|
8421
|
+
return b({}, Y, X, {
|
|
8403
8422
|
sourceDomain: q,
|
|
8404
|
-
id:
|
|
8423
|
+
id: Y.id || ae,
|
|
8405
8424
|
windowType: ee
|
|
8406
8425
|
});
|
|
8407
8426
|
}(a, u, {
|
|
8408
|
-
data: function (V,
|
|
8427
|
+
data: function (V, Y, X) {
|
|
8409
8428
|
return D({
|
|
8410
8429
|
obj: u.data
|
|
8411
8430
|
}, function (ae, ee) {
|
|
8412
|
-
return typeof ae == "function" ? y(V,
|
|
8431
|
+
return typeof ae == "function" ? y(V, Y, ae, ee.toString()) : ae instanceof Error ? (q = ae, {
|
|
8413
8432
|
__type__: N.SERIALIZATION_TYPES.ERROR,
|
|
8414
8433
|
__message__: ve(q),
|
|
8415
8434
|
__code__: q.code
|
|
@@ -8420,14 +8439,14 @@ function dg() {
|
|
|
8420
8439
|
return ze.then(Je, Ke);
|
|
8421
8440
|
}, Ie + ".then")
|
|
8422
8441
|
};
|
|
8423
|
-
}(V,
|
|
8442
|
+
}(V, Y, ae, ee.toString()) : _e.isPromise(ae) ? function (he, Le, ze, Ie) {
|
|
8424
8443
|
return {
|
|
8425
8444
|
__type__: N.SERIALIZATION_TYPES.ZALGO_PROMISE,
|
|
8426
8445
|
__then__: y(he, Le, function (Je, Ke) {
|
|
8427
8446
|
return ze.then(Je, Ke);
|
|
8428
8447
|
}, Ie + ".then")
|
|
8429
8448
|
};
|
|
8430
|
-
}(V,
|
|
8449
|
+
}(V, Y, ae, ee.toString()) : Oe(ae) ? (fe = ae, {
|
|
8431
8450
|
__type__: N.SERIALIZATION_TYPES.REGEX,
|
|
8432
8451
|
__source__: fe.source
|
|
8433
8452
|
}) : void 0;
|
|
@@ -8438,7 +8457,7 @@ function dg() {
|
|
|
8438
8457
|
}), a === window && !ge.ALLOW_SAME_ORIGIN) throw new Error("Attemping to send message to self");
|
|
8439
8458
|
if (L(a)) throw new Error("Window is closed");
|
|
8440
8459
|
var w = [],
|
|
8441
|
-
|
|
8460
|
+
I = function (V, Y, X) {
|
|
8442
8461
|
var ae = void 0,
|
|
8443
8462
|
ee = void 0;
|
|
8444
8463
|
try {
|
|
@@ -8458,44 +8477,44 @@ function dg() {
|
|
|
8458
8477
|
return _e.map(Object.keys(P), function (V) {
|
|
8459
8478
|
return _e["try"](function () {
|
|
8460
8479
|
if (!ge.ALLOWED_POST_MESSAGE_METHODS[V]) throw new Error("Strategy disallowed: " + V);
|
|
8461
|
-
return P[V](a,
|
|
8480
|
+
return P[V](a, I, m);
|
|
8462
8481
|
}).then(function () {
|
|
8463
8482
|
return w.push(V + ": success"), true;
|
|
8464
|
-
}, function (
|
|
8465
|
-
return w.push(V + ": " + ve(
|
|
8483
|
+
}, function (Y) {
|
|
8484
|
+
return w.push(V + ": " + ve(Y) + "\n"), false;
|
|
8466
8485
|
});
|
|
8467
8486
|
}).then(function (V) {
|
|
8468
|
-
var
|
|
8469
|
-
|
|
8470
|
-
if (!
|
|
8487
|
+
var Y = V.some(Boolean),
|
|
8488
|
+
X = u.type + " " + u.name + " " + (Y ? "success" : "error") + ":\n - " + w.join("\n - ") + "\n";
|
|
8489
|
+
if (!Y) throw new Error(X);
|
|
8471
8490
|
});
|
|
8472
8491
|
});
|
|
8473
8492
|
}
|
|
8474
|
-
|
|
8493
|
+
W.responseListeners = W.responseListeners || {}, W.requestListeners = W.requestListeners || {}, W.WINDOW_WILDCARD = W.WINDOW_WILDCARD || new function () {}(), W.erroredResponseListeners = W.erroredResponseListeners || {};
|
|
8475
8494
|
var T,
|
|
8476
|
-
|
|
8495
|
+
G = "__domain_regex__";
|
|
8477
8496
|
function M(a) {
|
|
8478
|
-
return
|
|
8497
|
+
return W.responseListeners[a];
|
|
8479
8498
|
}
|
|
8480
8499
|
function Q(a) {
|
|
8481
|
-
delete
|
|
8500
|
+
delete W.responseListeners[a];
|
|
8482
8501
|
}
|
|
8483
|
-
function
|
|
8484
|
-
return !!
|
|
8502
|
+
function oe(a) {
|
|
8503
|
+
return !!W.erroredResponseListeners[a];
|
|
8485
8504
|
}
|
|
8486
8505
|
function Ee(a) {
|
|
8487
8506
|
var u = a.name,
|
|
8488
8507
|
m = a.win,
|
|
8489
8508
|
v = a.domain;
|
|
8490
8509
|
if (m === N.WILDCARD && (m = null), v === N.WILDCARD && (v = null), !u) throw new Error("Name required to get request listener");
|
|
8491
|
-
var w =
|
|
8492
|
-
if (w) for (var
|
|
8493
|
-
var
|
|
8494
|
-
ae =
|
|
8510
|
+
var w = W.requestListeners[u];
|
|
8511
|
+
if (w) for (var I = 0, V = [m, W.WINDOW_WILDCARD], Y = V == null ? 0 : V.length; I < Y; I++) {
|
|
8512
|
+
var X = V[I],
|
|
8513
|
+
ae = X && w.get(X);
|
|
8495
8514
|
if (ae) {
|
|
8496
8515
|
if (v && typeof v == "string") {
|
|
8497
8516
|
if (ae[v]) return ae[v];
|
|
8498
|
-
if (ae[
|
|
8517
|
+
if (ae[G]) for (var ee = 0, q = ae[G], fe = q == null ? 0 : q.length; ee < fe; ee++) {
|
|
8499
8518
|
var he = q[ee],
|
|
8500
8519
|
Le = he.regex,
|
|
8501
8520
|
ze = he.listener;
|
|
@@ -8514,7 +8533,7 @@ function dg() {
|
|
|
8514
8533
|
return a;
|
|
8515
8534
|
},
|
|
8516
8535
|
Se = ((T = {})[N.POST_MESSAGE_TYPE.ACK] = function (a, u, m) {
|
|
8517
|
-
if (!
|
|
8536
|
+
if (!oe(m.hash)) {
|
|
8518
8537
|
var v = M(m.hash);
|
|
8519
8538
|
if (!v) throw new Error("No handler found for post message ack for message: " + m.name + " from " + u + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
|
|
8520
8539
|
if (!le(v.domain, u)) throw new Error("Ack origin " + u + " does not match domain " + v.domain.toString());
|
|
@@ -8526,52 +8545,52 @@ function dg() {
|
|
|
8526
8545
|
win: a,
|
|
8527
8546
|
domain: u
|
|
8528
8547
|
});
|
|
8529
|
-
function w(
|
|
8548
|
+
function w(I) {
|
|
8530
8549
|
return m.fireAndForget || L(a) ? _e.resolve() : A(a, Te({
|
|
8531
8550
|
target: m.originalSource,
|
|
8532
8551
|
hash: m.hash,
|
|
8533
8552
|
name: m.name
|
|
8534
|
-
},
|
|
8553
|
+
}, I), u);
|
|
8535
8554
|
}
|
|
8536
8555
|
return _e.all([w({
|
|
8537
8556
|
type: N.POST_MESSAGE_TYPE.ACK
|
|
8538
8557
|
}), _e["try"](function () {
|
|
8539
8558
|
if (!v) throw new Error("No handler found for post message: " + m.name + " from " + u + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
|
|
8540
8559
|
if (!le(v.domain, u)) throw new Error("Request origin " + u + " does not match domain " + v.domain.toString());
|
|
8541
|
-
var
|
|
8560
|
+
var I = m.data;
|
|
8542
8561
|
return v.handler({
|
|
8543
8562
|
source: a,
|
|
8544
8563
|
origin: u,
|
|
8545
|
-
data:
|
|
8564
|
+
data: I
|
|
8546
8565
|
});
|
|
8547
|
-
}).then(function (
|
|
8566
|
+
}).then(function (I) {
|
|
8548
8567
|
return w({
|
|
8549
8568
|
type: N.POST_MESSAGE_TYPE.RESPONSE,
|
|
8550
8569
|
ack: N.POST_MESSAGE_ACK.SUCCESS,
|
|
8551
|
-
data:
|
|
8570
|
+
data: I
|
|
8552
8571
|
});
|
|
8553
|
-
}, function (
|
|
8554
|
-
var V = ve(
|
|
8555
|
-
|
|
8572
|
+
}, function (I) {
|
|
8573
|
+
var V = ve(I).replace(/^Error: /, ""),
|
|
8574
|
+
Y = I.code;
|
|
8556
8575
|
return w({
|
|
8557
8576
|
type: N.POST_MESSAGE_TYPE.RESPONSE,
|
|
8558
8577
|
ack: N.POST_MESSAGE_ACK.ERROR,
|
|
8559
8578
|
error: V,
|
|
8560
|
-
code:
|
|
8579
|
+
code: Y
|
|
8561
8580
|
});
|
|
8562
|
-
})]).then(
|
|
8563
|
-
if (v && v.handleError) return v.handleError(
|
|
8564
|
-
throw
|
|
8581
|
+
})]).then(ie)["catch"](function (I) {
|
|
8582
|
+
if (v && v.handleError) return v.handleError(I);
|
|
8583
|
+
throw I;
|
|
8565
8584
|
});
|
|
8566
8585
|
}, T[N.POST_MESSAGE_TYPE.RESPONSE] = function (a, u, m) {
|
|
8567
|
-
if (!
|
|
8586
|
+
if (!oe(m.hash)) {
|
|
8568
8587
|
var v,
|
|
8569
8588
|
w = M(m.hash);
|
|
8570
8589
|
if (!w) throw new Error("No handler found for post message response for message: " + m.name + " from " + u + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
|
|
8571
8590
|
if (!le(w.domain, u)) throw new Error("Response origin " + u + " does not match domain " + (v = w.domain, Array.isArray(v) ? "(" + v.join(" | ") + ")" : i(v) ? "RegExp(" + v.toString() : v.toString()));
|
|
8572
8591
|
if (Q(m.hash), m.ack === N.POST_MESSAGE_ACK.ERROR) {
|
|
8573
|
-
var
|
|
8574
|
-
return m.code && (
|
|
8592
|
+
var I = new Error(m.error);
|
|
8593
|
+
return m.code && (I.code = m.code), w.respond(I, null);
|
|
8575
8594
|
}
|
|
8576
8595
|
if (m.ack === N.POST_MESSAGE_ACK.SUCCESS) {
|
|
8577
8596
|
var V = m.data || m.response;
|
|
@@ -8588,7 +8607,7 @@ function dg() {
|
|
|
8588
8607
|
} : function (a) {
|
|
8589
8608
|
return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : _typeof(a);
|
|
8590
8609
|
};
|
|
8591
|
-
|
|
8610
|
+
W.receivedMessages = W.receivedMessages || [];
|
|
8592
8611
|
function Ge(a) {
|
|
8593
8612
|
if (window && !window.closed) {
|
|
8594
8613
|
try {
|
|
@@ -8599,10 +8618,10 @@ function dg() {
|
|
|
8599
8618
|
var u = a.source,
|
|
8600
8619
|
m = a.origin,
|
|
8601
8620
|
v = function (w) {
|
|
8602
|
-
var
|
|
8621
|
+
var I,
|
|
8603
8622
|
V = void 0;
|
|
8604
8623
|
try {
|
|
8605
|
-
V = (
|
|
8624
|
+
V = (I = w, JSON.parse(I));
|
|
8606
8625
|
} catch (_unused43) {
|
|
8607
8626
|
return;
|
|
8608
8627
|
}
|
|
@@ -8610,20 +8629,20 @@ function dg() {
|
|
|
8610
8629
|
}(a.data);
|
|
8611
8630
|
if (v) {
|
|
8612
8631
|
if (!v.sourceDomain || typeof v.sourceDomain != "string") throw new Error("Expected message to have sourceDomain");
|
|
8613
|
-
v.sourceDomain.indexOf(N.MOCK_PROTOCOL) !== 0 && v.sourceDomain.indexOf(N.FILE_PROTOCOL) !== 0 || (m = v.sourceDomain),
|
|
8632
|
+
v.sourceDomain.indexOf(N.MOCK_PROTOCOL) !== 0 && v.sourceDomain.indexOf(N.FILE_PROTOCOL) !== 0 || (m = v.sourceDomain), W.receivedMessages.indexOf(v.id) === -1 && (W.receivedMessages.push(v.id), (!L(u) || v.fireAndForget) && (v.data && (v.data = function (w, I, V) {
|
|
8614
8633
|
return D({
|
|
8615
8634
|
obj: v.data
|
|
8616
|
-
}, function (
|
|
8617
|
-
if ((
|
|
8635
|
+
}, function (Y) {
|
|
8636
|
+
if ((Y === void 0 ? "undefined" : Me(Y)) === "object" && Y !== null) return g(Y, N.SERIALIZATION_TYPES.METHOD) ? C(w, I, Y) : g(Y, N.SERIALIZATION_TYPES.ERROR) ? function (X, ae, ee) {
|
|
8618
8637
|
var q = new Error(ee.__message__);
|
|
8619
8638
|
return ee.__code__ && (q.code = ee.__code__), q;
|
|
8620
|
-
}(0, 0,
|
|
8639
|
+
}(0, 0, Y) : g(Y, N.SERIALIZATION_TYPES.PROMISE) ? function (X, ae, ee) {
|
|
8621
8640
|
return window.Promise ? new window.Promise(function (q, fe) {
|
|
8622
|
-
return C(
|
|
8623
|
-
}) : R(
|
|
8624
|
-
}(w,
|
|
8641
|
+
return C(X, ae, ee.__then__)(q, fe);
|
|
8642
|
+
}) : R(X, ae, ee);
|
|
8643
|
+
}(w, I, Y) : g(Y, N.SERIALIZATION_TYPES.ZALGO_PROMISE) ? R(w, I, Y) : g(Y, N.SERIALIZATION_TYPES.REGEX) ? function (X, ae, ee) {
|
|
8625
8644
|
return new RegExp(ee.__source__);
|
|
8626
|
-
}(0, 0,
|
|
8645
|
+
}(0, 0, Y) : void 0;
|
|
8627
8646
|
}).obj;
|
|
8628
8647
|
}(u, m)), Se[v.type](u, m, v)));
|
|
8629
8648
|
}
|
|
@@ -8641,7 +8660,7 @@ function dg() {
|
|
|
8641
8660
|
data: a.data
|
|
8642
8661
|
});
|
|
8643
8662
|
}
|
|
8644
|
-
|
|
8663
|
+
W.receiveMessage = Ge, W.requestPromises = W.requestPromises || new F();
|
|
8645
8664
|
function tt(a) {
|
|
8646
8665
|
return _e["try"](function () {
|
|
8647
8666
|
if (!a.name) throw new Error("Expected options.name");
|
|
@@ -8660,16 +8679,16 @@ function dg() {
|
|
|
8660
8679
|
a.window && a.window.contentWindow && (m = a.window.contentWindow);
|
|
8661
8680
|
} else m = a.window;
|
|
8662
8681
|
if (!m) throw new Error("Expected options.window to be a window object, iframe, or iframe element id.");
|
|
8663
|
-
var
|
|
8682
|
+
var I = m;
|
|
8664
8683
|
v = a.domain || N.WILDCARD;
|
|
8665
8684
|
var V = a.name + "_" + ye();
|
|
8666
|
-
if (L(
|
|
8667
|
-
var
|
|
8668
|
-
|
|
8669
|
-
|
|
8685
|
+
if (L(I)) throw new Error("Target window is closed");
|
|
8686
|
+
var Y = false,
|
|
8687
|
+
X = W.requestPromises.get(I);
|
|
8688
|
+
X || (X = [], W.requestPromises.set(I, X));
|
|
8670
8689
|
var ae = _e["try"](function () {
|
|
8671
8690
|
if (function (ee, q) {
|
|
8672
|
-
var fe =
|
|
8691
|
+
var fe = ne(q);
|
|
8673
8692
|
if (fe) return fe === ee;
|
|
8674
8693
|
if (q === ee || function () {
|
|
8675
8694
|
var Ie = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
@@ -8678,13 +8697,13 @@ function dg() {
|
|
|
8678
8697
|
} catch (_unused45) {}
|
|
8679
8698
|
if (d(Ie) === Ie) return Ie;
|
|
8680
8699
|
try {
|
|
8681
|
-
if (
|
|
8700
|
+
if (J(window, Ie) && window.top) return window.top;
|
|
8682
8701
|
} catch (_unused46) {}
|
|
8683
8702
|
try {
|
|
8684
|
-
if (
|
|
8703
|
+
if (J(Ie, window) && window.top) return window.top;
|
|
8685
8704
|
} catch (_unused47) {}
|
|
8686
8705
|
for (var Je = 0, Ke = function Pt(lo) {
|
|
8687
|
-
for (var Hn = [], Wn = 0, mn =
|
|
8706
|
+
for (var Hn = [], Wn = 0, mn = te(lo), kt = mn == null ? 0 : mn.length; Wn < kt; Wn++) {
|
|
8688
8707
|
var pt = mn[Wn];
|
|
8689
8708
|
Hn.push(pt);
|
|
8690
8709
|
for (var vn = 0, Et = Pt(pt), En = Et == null ? 0 : Et.length; vn < En; vn++) {
|
|
@@ -8701,19 +8720,19 @@ function dg() {
|
|
|
8701
8720
|
if (d(Ct) === Ct) return Ct;
|
|
8702
8721
|
}
|
|
8703
8722
|
}(q) === q) return false;
|
|
8704
|
-
for (var he = 0, Le =
|
|
8723
|
+
for (var he = 0, Le = te(ee), ze = Le == null ? 0 : Le.length; he < ze; he++) if (Le[he] === q) return true;
|
|
8705
8724
|
return false;
|
|
8706
|
-
}(window,
|
|
8725
|
+
}(window, I)) return function (ee) {
|
|
8707
8726
|
var q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 5e3,
|
|
8708
8727
|
fe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "Window",
|
|
8709
|
-
he =
|
|
8710
|
-
return he || (he = new _e(),
|
|
8728
|
+
he = W.readyPromises.get(ee);
|
|
8729
|
+
return he || (he = new _e(), W.readyPromises.set(ee, he), q !== -1 && setTimeout(function () {
|
|
8711
8730
|
return he.reject(new Error(fe + " did not load after " + q + "ms"));
|
|
8712
8731
|
}, q), he);
|
|
8713
|
-
}(
|
|
8732
|
+
}(I, a.timeout || ge.CHILD_WINDOW_TIMEOUT);
|
|
8714
8733
|
}).then(function () {
|
|
8715
8734
|
var ee = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}).origin;
|
|
8716
|
-
if (Oe(v) && !ee) return _(
|
|
8735
|
+
if (Oe(v) && !ee) return _(I);
|
|
8717
8736
|
}).then(function () {
|
|
8718
8737
|
var ee = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}).origin;
|
|
8719
8738
|
if (Oe(v)) {
|
|
@@ -8725,15 +8744,15 @@ function dg() {
|
|
|
8725
8744
|
return new _e(function (fe, he) {
|
|
8726
8745
|
var Le = void 0;
|
|
8727
8746
|
if (a.fireAndForget || function (Ke, vt) {
|
|
8728
|
-
|
|
8747
|
+
W.responseListeners[Ke] = vt;
|
|
8729
8748
|
}(V, Le = {
|
|
8730
8749
|
name: u,
|
|
8731
|
-
window:
|
|
8750
|
+
window: I,
|
|
8732
8751
|
domain: q,
|
|
8733
8752
|
respond: function respond(Ke, vt) {
|
|
8734
|
-
Ke || (
|
|
8753
|
+
Ke || (Y = true, X.splice(X.indexOf(ae, 1))), Ke ? he(Ke) : fe(vt);
|
|
8735
8754
|
}
|
|
8736
|
-
}), A(
|
|
8755
|
+
}), A(I, {
|
|
8737
8756
|
type: N.POST_MESSAGE_TYPE.REQUEST,
|
|
8738
8757
|
hash: V,
|
|
8739
8758
|
name: u,
|
|
@@ -8744,14 +8763,14 @@ function dg() {
|
|
|
8744
8763
|
Ie = a.timeout || ge.RES_TIMEOUT,
|
|
8745
8764
|
Je = 100;
|
|
8746
8765
|
setTimeout(function Ke() {
|
|
8747
|
-
if (!
|
|
8748
|
-
if (L(
|
|
8766
|
+
if (!Y) {
|
|
8767
|
+
if (L(I)) return Le.ack ? he(new Error("Window closed for " + u + " before response")) : he(new Error("Window closed for " + u + " before ack"));
|
|
8749
8768
|
if (ze = Math.max(ze - Je, 0), Ie !== -1 && (Ie = Math.max(Ie - Je, 0)), Le.ack) {
|
|
8750
8769
|
if (Ie === -1) return;
|
|
8751
8770
|
Je = Math.min(Ie, 2e3);
|
|
8752
8771
|
} else {
|
|
8753
|
-
if (ze === 0) return he(new Error("No ack for postMessage " + u + " in " +
|
|
8754
|
-
if (Ie === 0) return he(new Error("No response for postMessage " + u + " in " +
|
|
8772
|
+
if (ze === 0) return he(new Error("No ack for postMessage " + u + " in " + j() + " in " + ge.ACK_TIMEOUT + "ms"));
|
|
8773
|
+
if (Ie === 0) return he(new Error("No response for postMessage " + u + " in " + j() + " in " + (a.timeout || ge.RES_TIMEOUT) + "ms"));
|
|
8755
8774
|
}
|
|
8756
8775
|
setTimeout(Ke, Je);
|
|
8757
8776
|
}
|
|
@@ -8760,18 +8779,18 @@ function dg() {
|
|
|
8760
8779
|
});
|
|
8761
8780
|
return ae["catch"](function () {
|
|
8762
8781
|
(function (ee) {
|
|
8763
|
-
|
|
8782
|
+
W.erroredResponseListeners[ee] = true;
|
|
8764
8783
|
})(V), Q(V);
|
|
8765
|
-
}),
|
|
8784
|
+
}), X.push(ae), ae;
|
|
8766
8785
|
});
|
|
8767
8786
|
}
|
|
8768
8787
|
function lt(a, u, m, v) {
|
|
8769
8788
|
return (v = v || {}).window = a, v.name = u, v.data = m, tt(v);
|
|
8770
8789
|
}
|
|
8771
8790
|
function Vn(a, u, m) {
|
|
8772
|
-
var v =
|
|
8773
|
-
return v ? lt(v, a, u, m) : new _e(function (w,
|
|
8774
|
-
return
|
|
8791
|
+
var v = ne();
|
|
8792
|
+
return v ? lt(v, a, u, m) : new _e(function (w, I) {
|
|
8793
|
+
return I(new Error("Window does not have a parent"));
|
|
8775
8794
|
});
|
|
8776
8795
|
}
|
|
8777
8796
|
function Be() {
|
|
@@ -8784,7 +8803,7 @@ function dg() {
|
|
|
8784
8803
|
}
|
|
8785
8804
|
};
|
|
8786
8805
|
}
|
|
8787
|
-
|
|
8806
|
+
W.send = lt;
|
|
8788
8807
|
var ft = typeof Symbol == "function" && _typeof(Symbol.iterator) == "symbol" ? function (a) {
|
|
8789
8808
|
return _typeof(a);
|
|
8790
8809
|
} : function (a) {
|
|
@@ -8798,14 +8817,14 @@ function dg() {
|
|
|
8798
8817
|
v = a.domain,
|
|
8799
8818
|
w = {
|
|
8800
8819
|
handler: a.handler,
|
|
8801
|
-
handleError: a.errorHandler || function (
|
|
8802
|
-
throw
|
|
8820
|
+
handleError: a.errorHandler || function (X) {
|
|
8821
|
+
throw X;
|
|
8803
8822
|
},
|
|
8804
8823
|
window: m,
|
|
8805
8824
|
domain: v || N.WILDCARD,
|
|
8806
8825
|
name: u
|
|
8807
8826
|
},
|
|
8808
|
-
|
|
8827
|
+
I = function X(ae, ee) {
|
|
8809
8828
|
var q = ae.name,
|
|
8810
8829
|
fe = ae.win,
|
|
8811
8830
|
he = ae.domain;
|
|
@@ -8813,7 +8832,7 @@ function dg() {
|
|
|
8813
8832
|
if (Array.isArray(fe)) {
|
|
8814
8833
|
for (var Le = [], ze = 0, Ie = fe, Je = Ie == null ? 0 : Ie.length; ze < Je; ze++) {
|
|
8815
8834
|
var Ke = Ie[ze];
|
|
8816
|
-
Le.push(
|
|
8835
|
+
Le.push(X({
|
|
8817
8836
|
name: q,
|
|
8818
8837
|
domain: he,
|
|
8819
8838
|
win: Ke
|
|
@@ -8828,7 +8847,7 @@ function dg() {
|
|
|
8828
8847
|
if (Array.isArray(he)) {
|
|
8829
8848
|
for (var vt = [], Ct = 0, Pt = he, lo = Pt == null ? 0 : Pt.length; Ct < lo; Ct++) {
|
|
8830
8849
|
var Hn = Pt[Ct];
|
|
8831
|
-
vt.push(
|
|
8850
|
+
vt.push(X({
|
|
8832
8851
|
name: q,
|
|
8833
8852
|
win: fe,
|
|
8834
8853
|
domain: Hn
|
|
@@ -8845,16 +8864,16 @@ function dg() {
|
|
|
8845
8864
|
win: fe,
|
|
8846
8865
|
domain: he
|
|
8847
8866
|
});
|
|
8848
|
-
if (fe && fe !== N.WILDCARD || (fe =
|
|
8849
|
-
var mn =
|
|
8867
|
+
if (fe && fe !== N.WILDCARD || (fe = W.WINDOW_WILDCARD), he = he || N.WILDCARD, Wn) throw fe && he ? new Error("Request listener already exists for " + q + " on domain " + he.toString() + " for " + (fe === W.WINDOW_WILDCARD ? "wildcard" : "specified") + " window") : fe ? new Error("Request listener already exists for " + q + " for " + (fe === W.WINDOW_WILDCARD ? "wildcard" : "specified") + " window") : he ? new Error("Request listener already exists for " + q + " on domain " + he.toString()) : new Error("Request listener already exists for " + q);
|
|
8868
|
+
var mn = W.requestListeners,
|
|
8850
8869
|
kt = mn[q];
|
|
8851
|
-
kt || (kt = new
|
|
8870
|
+
kt || (kt = new F(), mn[q] = kt);
|
|
8852
8871
|
var pt = kt.get(fe);
|
|
8853
8872
|
pt || (pt = {}, kt.set(fe, pt));
|
|
8854
8873
|
var vn = he.toString(),
|
|
8855
|
-
Et = pt[
|
|
8874
|
+
Et = pt[G],
|
|
8856
8875
|
En = void 0;
|
|
8857
|
-
return Oe(he) ? (Et || (Et = [], pt[
|
|
8876
|
+
return Oe(he) ? (Et || (Et = [], pt[G] = Et), En = {
|
|
8858
8877
|
regex: he,
|
|
8859
8878
|
listener: ee
|
|
8860
8879
|
}, Et.push(En)) : pt[vn] = ee, {
|
|
@@ -8870,14 +8889,14 @@ function dg() {
|
|
|
8870
8889
|
if (a.once) {
|
|
8871
8890
|
var V = w.handler;
|
|
8872
8891
|
w.handler = z(function () {
|
|
8873
|
-
return
|
|
8892
|
+
return I.cancel(), V.apply(this, arguments);
|
|
8874
8893
|
});
|
|
8875
8894
|
}
|
|
8876
|
-
if (w.window && a.errorOnClose) var
|
|
8895
|
+
if (w.window && a.errorOnClose) var Y = function (X, ae) {
|
|
8877
8896
|
var ee = void 0;
|
|
8878
8897
|
return ee = setTimeout(function q() {
|
|
8879
8898
|
ee = setTimeout(q, 50), function () {
|
|
8880
|
-
m && (m === void 0 ? "undefined" : ft(m)) === "object" && L(m) && (
|
|
8899
|
+
m && (m === void 0 ? "undefined" : ft(m)) === "object" && L(m) && (Y.cancel(), w.handleError(new Error("Post message target window is closed")));
|
|
8881
8900
|
}.call();
|
|
8882
8901
|
}, 50), {
|
|
8883
8902
|
cancel: function cancel() {
|
|
@@ -8887,7 +8906,7 @@ function dg() {
|
|
|
8887
8906
|
}();
|
|
8888
8907
|
return {
|
|
8889
8908
|
cancel: function cancel() {
|
|
8890
|
-
|
|
8909
|
+
I.cancel();
|
|
8891
8910
|
}
|
|
8892
8911
|
};
|
|
8893
8912
|
}
|
|
@@ -8899,15 +8918,15 @@ function dg() {
|
|
|
8899
8918
|
m = arguments[2];
|
|
8900
8919
|
typeof u == "function" && (m = u, u = {}), u = u || {}, m = m || u.handler;
|
|
8901
8920
|
var v = u.errorHandler,
|
|
8902
|
-
w = new _e(function (V,
|
|
8903
|
-
(u = u || {}).name = a, u.once = true, u.handler = function (
|
|
8904
|
-
if (V(
|
|
8905
|
-
}, u.errorHandler = function (
|
|
8906
|
-
if (
|
|
8921
|
+
w = new _e(function (V, Y) {
|
|
8922
|
+
(u = u || {}).name = a, u.once = true, u.handler = function (X) {
|
|
8923
|
+
if (V(X), m) return m(X);
|
|
8924
|
+
}, u.errorHandler = function (X) {
|
|
8925
|
+
if (Y(X), v) return v(X);
|
|
8907
8926
|
};
|
|
8908
8927
|
}),
|
|
8909
|
-
|
|
8910
|
-
return w.cancel =
|
|
8928
|
+
I = tn(u);
|
|
8929
|
+
return w.cancel = I.cancel, w;
|
|
8911
8930
|
}
|
|
8912
8931
|
function Os() {
|
|
8913
8932
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -8917,45 +8936,45 @@ function dg() {
|
|
|
8917
8936
|
}
|
|
8918
8937
|
};
|
|
8919
8938
|
}
|
|
8920
|
-
|
|
8939
|
+
W.on = jn;
|
|
8921
8940
|
function Ss() {
|
|
8922
8941
|
delete window[N.WINDOW_PROPS.POSTROBOT], window.removeEventListener("message", ot);
|
|
8923
8942
|
}
|
|
8924
|
-
var As =
|
|
8943
|
+
var As = ne();
|
|
8925
8944
|
function Ns(a) {
|
|
8926
|
-
var u =
|
|
8945
|
+
var u = W.requestPromises.get(a);
|
|
8927
8946
|
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"));
|
|
8928
|
-
|
|
8947
|
+
W.popupWindowsByWin && W.popupWindowsByWin["delete"](a), W.remoteWindows && W.remoteWindows["delete"](a), W.requestPromises["delete"](a), W.methods["delete"](a), W.readyPromises["delete"](a);
|
|
8929
8948
|
}
|
|
8930
8949
|
var Ts = null;
|
|
8931
8950
|
function uo() {
|
|
8932
|
-
|
|
8951
|
+
W.initialized || (u = ot, (a = window).addEventListener ? a.addEventListener("message", u) : a.attachEvent("onmessage", u), function () {
|
|
8933
8952
|
m = function m(w) {
|
|
8934
|
-
var
|
|
8953
|
+
var I = w.source,
|
|
8935
8954
|
V = w.origin,
|
|
8936
|
-
|
|
8937
|
-
|
|
8955
|
+
Y = W.readyPromises.get(I) || new _e();
|
|
8956
|
+
Y.resolve({
|
|
8938
8957
|
origin: V
|
|
8939
|
-
}),
|
|
8940
|
-
},
|
|
8958
|
+
}), W.readyPromises.set(I, Y);
|
|
8959
|
+
}, W.on(N.POST_MESSAGE_NAMES.HELLO, {
|
|
8941
8960
|
domain: N.WILDCARD
|
|
8942
8961
|
}, function (w) {
|
|
8943
|
-
var
|
|
8962
|
+
var I = w.source,
|
|
8944
8963
|
V = w.origin;
|
|
8945
8964
|
return m({
|
|
8946
|
-
source:
|
|
8965
|
+
source: I,
|
|
8947
8966
|
origin: V
|
|
8948
8967
|
});
|
|
8949
8968
|
});
|
|
8950
8969
|
var m,
|
|
8951
|
-
v =
|
|
8952
|
-
v && _(v)["catch"](
|
|
8970
|
+
v = ne();
|
|
8971
|
+
v && _(v)["catch"](ie);
|
|
8953
8972
|
}(), f({
|
|
8954
8973
|
on: jn,
|
|
8955
8974
|
send: lt
|
|
8956
8975
|
}));
|
|
8957
8976
|
var a, u;
|
|
8958
|
-
|
|
8977
|
+
W.initialized = true;
|
|
8959
8978
|
}
|
|
8960
8979
|
uo(), s.d(r, "cleanUpWindow", function () {
|
|
8961
8980
|
return Ns;
|
|
@@ -9004,7 +9023,7 @@ function hg() {
|
|
|
9004
9023
|
var Cn = hg();
|
|
9005
9024
|
var ha = [],
|
|
9006
9025
|
gg = /*#__PURE__*/function () {
|
|
9007
|
-
var
|
|
9026
|
+
var _ref52 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(e) {
|
|
9008
9027
|
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
|
9009
9028
|
while (1) switch (_context12.prev = _context12.next) {
|
|
9010
9029
|
case 0:
|
|
@@ -9016,11 +9035,11 @@ var ha = [],
|
|
|
9016
9035
|
}, _callee12);
|
|
9017
9036
|
}));
|
|
9018
9037
|
return function gg(_x9) {
|
|
9019
|
-
return
|
|
9038
|
+
return _ref52.apply(this, arguments);
|
|
9020
9039
|
};
|
|
9021
9040
|
}(),
|
|
9022
9041
|
mg = /*#__PURE__*/function () {
|
|
9023
|
-
var
|
|
9042
|
+
var _ref53 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee13(e, t, n) {
|
|
9024
9043
|
var r;
|
|
9025
9044
|
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
|
|
9026
9045
|
while (1) switch (_context13.prev = _context13.next) {
|
|
@@ -9042,7 +9061,7 @@ var ha = [],
|
|
|
9042
9061
|
}, _callee13);
|
|
9043
9062
|
}));
|
|
9044
9063
|
return function mg(_x10, _x11, _x12) {
|
|
9045
|
-
return
|
|
9064
|
+
return _ref53.apply(this, arguments);
|
|
9046
9065
|
};
|
|
9047
9066
|
}(),
|
|
9048
9067
|
vg = "mainApp",
|
|
@@ -9069,7 +9088,7 @@ var ha = [],
|
|
|
9069
9088
|
},
|
|
9070
9089
|
wg = "microApp",
|
|
9071
9090
|
Og = /*#__PURE__*/function () {
|
|
9072
|
-
var
|
|
9091
|
+
var _ref54 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee14(e, t) {
|
|
9073
9092
|
return _regeneratorRuntime().wrap(function _callee14$(_context14) {
|
|
9074
9093
|
while (1) switch (_context14.prev = _context14.next) {
|
|
9075
9094
|
case 0:
|
|
@@ -9085,7 +9104,7 @@ var ha = [],
|
|
|
9085
9104
|
}, _callee14);
|
|
9086
9105
|
}));
|
|
9087
9106
|
return function Og(_x13, _x14) {
|
|
9088
|
-
return
|
|
9107
|
+
return _ref54.apply(this, arguments);
|
|
9089
9108
|
};
|
|
9090
9109
|
}(),
|
|
9091
9110
|
Sg = {
|
|
@@ -9127,10 +9146,10 @@ var ga = function ga() {
|
|
|
9127
9146
|
t = /* @__PURE__ */new Map(),
|
|
9128
9147
|
n = so(),
|
|
9129
9148
|
r = function r(o) {
|
|
9130
|
-
var i = Array.from(t).find(function (
|
|
9131
|
-
var
|
|
9132
|
-
E =
|
|
9133
|
-
p =
|
|
9149
|
+
var i = Array.from(t).find(function (_ref55) {
|
|
9150
|
+
var _ref56 = _slicedToArray(_ref55, 2),
|
|
9151
|
+
E = _ref56[0],
|
|
9152
|
+
p = _ref56[1];
|
|
9134
9153
|
if (o) return o === E;
|
|
9135
9154
|
if (p.element) return getComputedStyle(p.element).display === "block";
|
|
9136
9155
|
});
|
|
@@ -9162,7 +9181,8 @@ var ga = function ga() {
|
|
|
9162
9181
|
iframeEvent: n,
|
|
9163
9182
|
loadIframe: function () {
|
|
9164
9183
|
var _loadIframe = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee15(o, i) {
|
|
9165
|
-
var
|
|
9184
|
+
var _ref57;
|
|
9185
|
+
var O, $, c, l, E, p, _yield$Promise, _yield$Promise2, d, h;
|
|
9166
9186
|
return _regeneratorRuntime().wrap(function _callee15$(_context15) {
|
|
9167
9187
|
while (1) switch (_context15.prev = _context15.next) {
|
|
9168
9188
|
case 0:
|
|
@@ -9172,10 +9192,10 @@ var ga = function ga() {
|
|
|
9172
9192
|
break;
|
|
9173
9193
|
}
|
|
9174
9194
|
_context15.next = 4;
|
|
9175
|
-
return new Promise(function (
|
|
9195
|
+
return new Promise(function (j) {
|
|
9176
9196
|
return St(function () {
|
|
9177
9197
|
return br.value;
|
|
9178
|
-
},
|
|
9198
|
+
}, j);
|
|
9179
9199
|
});
|
|
9180
9200
|
case 4:
|
|
9181
9201
|
c = t.get(o);
|
|
@@ -9185,12 +9205,12 @@ var ga = function ga() {
|
|
|
9185
9205
|
}
|
|
9186
9206
|
return _context15.abrupt("return");
|
|
9187
9207
|
case 7:
|
|
9188
|
-
if (!(Array.from(t).map(function (
|
|
9189
|
-
return
|
|
9190
|
-
}).filter(function (
|
|
9191
|
-
return
|
|
9192
|
-
}).map(function (
|
|
9193
|
-
return r(
|
|
9208
|
+
if (!(Array.from(t).map(function (j) {
|
|
9209
|
+
return j[1];
|
|
9210
|
+
}).filter(function (j) {
|
|
9211
|
+
return j.id !== o;
|
|
9212
|
+
}).map(function (j) {
|
|
9213
|
+
return r(j.id);
|
|
9194
9214
|
}), c.element && getComputedStyle(c.element).display !== "block")) {
|
|
9195
9215
|
_context15.next = 14;
|
|
9196
9216
|
break;
|
|
@@ -9199,16 +9219,16 @@ var ga = function ga() {
|
|
|
9199
9219
|
c.status = nt.activated;
|
|
9200
9220
|
n.emit(nt.activated, c);
|
|
9201
9221
|
_context15.next = 13;
|
|
9202
|
-
return new Promise(function (
|
|
9203
|
-
return setTimeout(
|
|
9222
|
+
return new Promise(function (j) {
|
|
9223
|
+
return setTimeout(j, 0);
|
|
9204
9224
|
});
|
|
9205
9225
|
case 13:
|
|
9206
9226
|
return _context15.abrupt("return");
|
|
9207
9227
|
case 14:
|
|
9208
9228
|
c.status = nt.loading, n.emit(nt.activated, c);
|
|
9209
9229
|
l = document.createElement("iframe");
|
|
9210
|
-
E = c.config.origin;
|
|
9211
|
-
i != null && i.path &&
|
|
9230
|
+
E = c.config.origin, p = (_ref57 = ($ = (O = c == null ? void 0 : c.config) == null ? void 0 : O.router) == null ? void 0 : $.concatPath) !== null && _ref57 !== void 0 ? _ref57 : true;
|
|
9231
|
+
i != null && i.path && p && (E = E + (i == null ? void 0 : i.path)), l.src = E, l.setAttribute("id", o), l.setAttribute("frameBorder", "0"), l.style.width = "100%", l.style.height = "100%", l.style.display = "block", l.name = JSON.stringify({
|
|
9212
9232
|
appInfo: c.config,
|
|
9213
9233
|
parentData: {
|
|
9214
9234
|
layoutData: e.data.get(e.expose.getLayoutDataKeys()),
|
|
@@ -9216,19 +9236,19 @@ var ga = function ga() {
|
|
|
9216
9236
|
}
|
|
9217
9237
|
}), br.value.appendChild(l);
|
|
9218
9238
|
_context15.next = 20;
|
|
9219
|
-
return new Promise(function (
|
|
9220
|
-
l.onload = function (
|
|
9221
|
-
return
|
|
9239
|
+
return new Promise(function (j) {
|
|
9240
|
+
l.onload = function (B) {
|
|
9241
|
+
return j([null, B]);
|
|
9222
9242
|
}, l.onerror = function () {
|
|
9223
|
-
return
|
|
9243
|
+
return j([new Error("".concat(o, " IFrame load failed")), null]);
|
|
9224
9244
|
};
|
|
9225
9245
|
});
|
|
9226
9246
|
case 20:
|
|
9227
9247
|
_yield$Promise = _context15.sent;
|
|
9228
9248
|
_yield$Promise2 = _slicedToArray(_yield$Promise, 2);
|
|
9229
|
-
|
|
9230
|
-
|
|
9231
|
-
if (!
|
|
9249
|
+
d = _yield$Promise2[0];
|
|
9250
|
+
h = _yield$Promise2[1];
|
|
9251
|
+
if (!d) {
|
|
9232
9252
|
_context15.next = 27;
|
|
9233
9253
|
break;
|
|
9234
9254
|
}
|
|
@@ -9236,7 +9256,7 @@ var ga = function ga() {
|
|
|
9236
9256
|
return _context15.abrupt("return");
|
|
9237
9257
|
case 27:
|
|
9238
9258
|
c.element = l, c.status = nt.mounted, n.emit(nt.mounted, _objectSpread(_objectSpread({}, c.config), {}, {
|
|
9239
|
-
contentWindow:
|
|
9259
|
+
contentWindow: h.target.contentWindow
|
|
9240
9260
|
}));
|
|
9241
9261
|
case 28:
|
|
9242
9262
|
case "end":
|
|
@@ -9257,11 +9277,11 @@ var ga = function ga() {
|
|
|
9257
9277
|
};
|
|
9258
9278
|
},
|
|
9259
9279
|
Ig = function Ig(e, t) {
|
|
9260
|
-
var
|
|
9261
|
-
|
|
9262
|
-
n =
|
|
9263
|
-
|
|
9264
|
-
r =
|
|
9280
|
+
var _ref58 = t || {},
|
|
9281
|
+
_ref58$interval = _ref58.interval,
|
|
9282
|
+
n = _ref58$interval === void 0 ? 50 : _ref58$interval,
|
|
9283
|
+
_ref58$times = _ref58.times,
|
|
9284
|
+
r = _ref58$times === void 0 ? 10 : _ref58$times;
|
|
9265
9285
|
return new Promise(function (s) {
|
|
9266
9286
|
var o = 0;
|
|
9267
9287
|
var _i8 = function i() {
|