vue-stack-tabs 0.1.48 → 0.1.50
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var _t = (t, e, n) =>
|
|
4
|
-
import { inject as ct, ref as D, reactive as Ee, readonly as xt, toRaw as
|
|
1
|
+
var vn = Object.defineProperty;
|
|
2
|
+
var mn = (t, e, n) => e in t ? vn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var _t = (t, e, n) => mn(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
+
import { inject as ct, ref as D, reactive as Ee, readonly as xt, toRaw as gn, defineComponent as ee, openBlock as R, createElementBlock as V, normalizeStyle as He, unref as T, createElementVNode as Q, createCommentVNode as se, nextTick as le, onMounted as Ze, onDeactivated as yn, onActivated as wn, onUnmounted as je, createVNode as N, resolveComponent as Xt, normalizeClass as fe, withModifiers as Ie, toDisplayString as Gt, Fragment as Xe, renderList as lt, createBlock as ge, computed as ke, renderSlot as xe, watch as kn, withDirectives as Yt, vShow as Kt, withCtx as ue, TransitionGroup as Jt, mergeProps as _n, Transition as Qt, provide as xn, onBeforeMount as Tn, onBeforeUnmount as Tt, KeepAlive as Sn, resolveDynamicComponent as On, getCurrentInstance as en } from "vue";
|
|
5
5
|
import { useRouter as ut, useRoute as An } from "vue-router";
|
|
6
6
|
const En = {
|
|
7
7
|
VueStackTab: {
|
|
@@ -64,7 +64,7 @@ function $n(t) {
|
|
|
64
64
|
}
|
|
65
65
|
return Rn(n) ? n : [];
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function St(t, e) {
|
|
68
68
|
if (!Ln(t))
|
|
69
69
|
return "";
|
|
70
70
|
const n = $n(e);
|
|
@@ -96,14 +96,14 @@ function Pn(t, e) {
|
|
|
96
96
|
t = t.replace(`{${n}}`, String(e[n]));
|
|
97
97
|
return t;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function tn(t, e) {
|
|
100
100
|
return Object.keys(e).forEach((n) => {
|
|
101
|
-
e[n] instanceof Object && n in t && (e[n] = { ...e[n], ...
|
|
101
|
+
e[n] instanceof Object && n in t && (e[n] = { ...e[n], ...tn(t[n], e[n]) });
|
|
102
102
|
}), { ...t || {}, ...e };
|
|
103
103
|
}
|
|
104
|
-
const Nn = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", Wn = (t) => Nn ? Symbol(t) : "_vt_" + t,
|
|
104
|
+
const Nn = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", Wn = (t) => Nn ? Symbol(t) : "_vt_" + t, nn = /* @__PURE__ */ Wn("i18n");
|
|
105
105
|
function Me() {
|
|
106
|
-
return ct(
|
|
106
|
+
return ct(nn);
|
|
107
107
|
}
|
|
108
108
|
function Vn(t) {
|
|
109
109
|
const e = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, t), n = D(e.locale), s = Ee({});
|
|
@@ -114,24 +114,24 @@ function Vn(t) {
|
|
|
114
114
|
if (!r)
|
|
115
115
|
return "";
|
|
116
116
|
const i = typeof o == "string" && o ? o : n.value;
|
|
117
|
-
let
|
|
117
|
+
let f = St(s[i], r) || St(s[e.fallbackLocale], r);
|
|
118
118
|
if (o && typeof o != "string") {
|
|
119
|
-
const a = Dn(
|
|
120
|
-
zn(a) || (
|
|
119
|
+
const a = Dn(f, o);
|
|
120
|
+
zn(a) || (f = Pn(f, a));
|
|
121
121
|
}
|
|
122
|
-
return
|
|
122
|
+
return f || r;
|
|
123
123
|
},
|
|
124
124
|
current: xt(n),
|
|
125
125
|
options: xt(t || {}),
|
|
126
126
|
install(r) {
|
|
127
127
|
const o = this;
|
|
128
|
-
r.config.globalProperties.$t = o.t, r.provide(
|
|
128
|
+
r.config.globalProperties.$t = o.t, r.provide(nn, o);
|
|
129
129
|
},
|
|
130
130
|
changeLocale(r) {
|
|
131
131
|
n.value = r;
|
|
132
132
|
},
|
|
133
133
|
setLocaleMessage(r, o) {
|
|
134
|
-
s[r] =
|
|
134
|
+
s[r] = tn(gn(s[r] || {}), o);
|
|
135
135
|
},
|
|
136
136
|
getLocaleMessage(r) {
|
|
137
137
|
return s[r] || {};
|
|
@@ -143,11 +143,11 @@ const Un = () => {
|
|
|
143
143
|
function e(r, o) {
|
|
144
144
|
for (const i in r)
|
|
145
145
|
if (r[i].default) {
|
|
146
|
-
const
|
|
147
|
-
o[
|
|
148
|
-
...r[
|
|
146
|
+
const f = i.substring(i.lastIndexOf("/") + 1, i.lastIndexOf("."));
|
|
147
|
+
o[f] ? o[f] = {
|
|
148
|
+
...r[f],
|
|
149
149
|
...r[i].default
|
|
150
|
-
} : o[
|
|
150
|
+
} : o[f] = r[i].default;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
const n = () => {
|
|
@@ -167,7 +167,7 @@ const Un = () => {
|
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
|
-
},
|
|
170
|
+
}, sn = ({
|
|
171
171
|
wrap: t,
|
|
172
172
|
left: e = 0,
|
|
173
173
|
top: n = 0,
|
|
@@ -190,8 +190,8 @@ function qn({
|
|
|
190
190
|
t.scrollIntoView({ behavior: "smooth", block: n, inline: s });
|
|
191
191
|
else {
|
|
192
192
|
const { offsetLeft: r, offsetTop: o } = t;
|
|
193
|
-
let i,
|
|
194
|
-
n === "center" ?
|
|
193
|
+
let i, f;
|
|
194
|
+
n === "center" ? f = o + (t.clientHeight - e.clientHeight) / 2 : f = o, s === "center" ? i = r + (t.clientWidth - e.clientWidth) / 2 : i = r, sn({ wrap: e, left: i, top: f });
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
const ft = (t = ".stack-tab__container *") => {
|
|
@@ -201,7 +201,7 @@ const ft = (t = ".stack-tab__container *") => {
|
|
|
201
201
|
return e.length ? Math.max(...e.filter((n) => n < 9e4)) + 1 : 1;
|
|
202
202
|
};
|
|
203
203
|
var be = /* @__PURE__ */ ((t) => (t.WHEEL = "wheel", t.BUTTON = "button", t.BOTH = "both", t))(be || {});
|
|
204
|
-
class
|
|
204
|
+
class Ge {
|
|
205
205
|
//
|
|
206
206
|
constructor(e) {
|
|
207
207
|
// 存储的Map
|
|
@@ -274,11 +274,11 @@ class Xe {
|
|
|
274
274
|
return Array.from(this.items.values());
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function Ve(t) {
|
|
278
278
|
var e = new Error(t);
|
|
279
279
|
return e.source = "ulid", e;
|
|
280
280
|
}
|
|
281
|
-
var dt = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Se = dt.length,
|
|
281
|
+
var dt = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Se = dt.length, Ot = Math.pow(2, 48) - 1, Fn = 10, Hn = 16;
|
|
282
282
|
function Zn(t) {
|
|
283
283
|
var e = Math.floor(t() * Se);
|
|
284
284
|
return e === Se && (e = Se - 1), dt.charAt(e);
|
|
@@ -286,12 +286,12 @@ function Zn(t) {
|
|
|
286
286
|
function jn(t, e) {
|
|
287
287
|
if (isNaN(t))
|
|
288
288
|
throw new Error(t + " must be a number");
|
|
289
|
-
if (t >
|
|
290
|
-
throw
|
|
289
|
+
if (t > Ot)
|
|
290
|
+
throw Ve("cannot encode time greater than " + Ot);
|
|
291
291
|
if (t < 0)
|
|
292
|
-
throw
|
|
292
|
+
throw Ve("time must be positive");
|
|
293
293
|
if (Number.isInteger(t) === !1)
|
|
294
|
-
throw
|
|
294
|
+
throw Ve("time must be an integer");
|
|
295
295
|
for (var n = void 0, s = ""; e > 0; e--)
|
|
296
296
|
n = t % Se, s = dt.charAt(n) + s, t = (t - n) / Se;
|
|
297
297
|
return s;
|
|
@@ -325,7 +325,7 @@ function Gn() {
|
|
|
325
325
|
return Math.random();
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
|
-
throw
|
|
328
|
+
throw Ve("secure crypto unusable, insecure Math.random not allowed");
|
|
329
329
|
}
|
|
330
330
|
function Yn(t) {
|
|
331
331
|
return t || (t = Gn()), function(n) {
|
|
@@ -345,10 +345,10 @@ ht.exports;
|
|
|
345
345
|
}
|
|
346
346
|
return o[a][c];
|
|
347
347
|
}
|
|
348
|
-
var
|
|
348
|
+
var f = {
|
|
349
349
|
compressToBase64: function(a) {
|
|
350
350
|
if (a == null) return "";
|
|
351
|
-
var c =
|
|
351
|
+
var c = f._compress(a, 6, function(p) {
|
|
352
352
|
return s.charAt(p);
|
|
353
353
|
});
|
|
354
354
|
switch (c.length % 4) {
|
|
@@ -364,175 +364,175 @@ ht.exports;
|
|
|
364
364
|
}
|
|
365
365
|
},
|
|
366
366
|
decompressFromBase64: function(a) {
|
|
367
|
-
return a == null ? "" : a == "" ? null :
|
|
367
|
+
return a == null ? "" : a == "" ? null : f._decompress(a.length, 32, function(c) {
|
|
368
368
|
return i(s, a.charAt(c));
|
|
369
369
|
});
|
|
370
370
|
},
|
|
371
371
|
compressToUTF16: function(a) {
|
|
372
|
-
return a == null ? "" :
|
|
372
|
+
return a == null ? "" : f._compress(a, 15, function(c) {
|
|
373
373
|
return n(c + 32);
|
|
374
374
|
}) + " ";
|
|
375
375
|
},
|
|
376
376
|
decompressFromUTF16: function(a) {
|
|
377
|
-
return a == null ? "" : a == "" ? null :
|
|
377
|
+
return a == null ? "" : a == "" ? null : f._decompress(a.length, 16384, function(c) {
|
|
378
378
|
return a.charCodeAt(c) - 32;
|
|
379
379
|
});
|
|
380
380
|
},
|
|
381
381
|
//compress into uint8array (UCS-2 big endian format)
|
|
382
382
|
compressToUint8Array: function(a) {
|
|
383
|
-
for (var c =
|
|
384
|
-
var
|
|
385
|
-
p[
|
|
383
|
+
for (var c = f.compress(a), p = new Uint8Array(c.length * 2), u = 0, l = c.length; u < l; u++) {
|
|
384
|
+
var w = c.charCodeAt(u);
|
|
385
|
+
p[u * 2] = w >>> 8, p[u * 2 + 1] = w % 256;
|
|
386
386
|
}
|
|
387
387
|
return p;
|
|
388
388
|
},
|
|
389
389
|
//decompress from uint8array (UCS-2 big endian format)
|
|
390
390
|
decompressFromUint8Array: function(a) {
|
|
391
391
|
if (a == null)
|
|
392
|
-
return
|
|
393
|
-
for (var c = new Array(a.length / 2), p = 0,
|
|
392
|
+
return f.decompress(a);
|
|
393
|
+
for (var c = new Array(a.length / 2), p = 0, u = c.length; p < u; p++)
|
|
394
394
|
c[p] = a[p * 2] * 256 + a[p * 2 + 1];
|
|
395
395
|
var l = [];
|
|
396
|
-
return c.forEach(function(
|
|
397
|
-
l.push(n(
|
|
398
|
-
}),
|
|
396
|
+
return c.forEach(function(w) {
|
|
397
|
+
l.push(n(w));
|
|
398
|
+
}), f.decompress(l.join(""));
|
|
399
399
|
},
|
|
400
400
|
//compress into a string that is already URI encoded
|
|
401
401
|
compressToEncodedURIComponent: function(a) {
|
|
402
|
-
return a == null ? "" :
|
|
402
|
+
return a == null ? "" : f._compress(a, 6, function(c) {
|
|
403
403
|
return r.charAt(c);
|
|
404
404
|
});
|
|
405
405
|
},
|
|
406
406
|
//decompress from an output of compressToEncodedURIComponent
|
|
407
407
|
decompressFromEncodedURIComponent: function(a) {
|
|
408
|
-
return a == null ? "" : a == "" ? null : (a = a.replace(/ /g, "+"),
|
|
408
|
+
return a == null ? "" : a == "" ? null : (a = a.replace(/ /g, "+"), f._decompress(a.length, 32, function(c) {
|
|
409
409
|
return i(r, a.charAt(c));
|
|
410
410
|
}));
|
|
411
411
|
},
|
|
412
412
|
compress: function(a) {
|
|
413
|
-
return
|
|
413
|
+
return f._compress(a, 16, function(c) {
|
|
414
414
|
return n(c);
|
|
415
415
|
});
|
|
416
416
|
},
|
|
417
417
|
_compress: function(a, c, p) {
|
|
418
418
|
if (a == null) return "";
|
|
419
|
-
var
|
|
420
|
-
for (
|
|
421
|
-
if (
|
|
422
|
-
|
|
419
|
+
var u, l, w = {}, x = {}, B = "", E = "", g = "", y = 2, S = 3, m = 2, O = [], d = 0, k = 0, _;
|
|
420
|
+
for (_ = 0; _ < a.length; _ += 1)
|
|
421
|
+
if (B = a.charAt(_), Object.prototype.hasOwnProperty.call(w, B) || (w[B] = S++, x[B] = !0), E = g + B, Object.prototype.hasOwnProperty.call(w, E))
|
|
422
|
+
g = E;
|
|
423
423
|
else {
|
|
424
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
425
|
-
if (
|
|
426
|
-
for (
|
|
427
|
-
|
|
428
|
-
for (l =
|
|
429
|
-
|
|
424
|
+
if (Object.prototype.hasOwnProperty.call(x, g)) {
|
|
425
|
+
if (g.charCodeAt(0) < 256) {
|
|
426
|
+
for (u = 0; u < m; u++)
|
|
427
|
+
d = d << 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++;
|
|
428
|
+
for (l = g.charCodeAt(0), u = 0; u < 8; u++)
|
|
429
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
430
430
|
} else {
|
|
431
|
-
for (l = 1,
|
|
432
|
-
|
|
433
|
-
for (l =
|
|
434
|
-
|
|
431
|
+
for (l = 1, u = 0; u < m; u++)
|
|
432
|
+
d = d << 1 | l, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = 0;
|
|
433
|
+
for (l = g.charCodeAt(0), u = 0; u < 16; u++)
|
|
434
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
435
435
|
}
|
|
436
|
-
|
|
436
|
+
y--, y == 0 && (y = Math.pow(2, m), m++), delete x[g];
|
|
437
437
|
} else
|
|
438
|
-
for (l =
|
|
439
|
-
|
|
440
|
-
|
|
438
|
+
for (l = w[g], u = 0; u < m; u++)
|
|
439
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
440
|
+
y--, y == 0 && (y = Math.pow(2, m), m++), w[E] = S++, g = String(B);
|
|
441
441
|
}
|
|
442
|
-
if (
|
|
443
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
444
|
-
if (
|
|
445
|
-
for (
|
|
446
|
-
|
|
447
|
-
for (l =
|
|
448
|
-
|
|
442
|
+
if (g !== "") {
|
|
443
|
+
if (Object.prototype.hasOwnProperty.call(x, g)) {
|
|
444
|
+
if (g.charCodeAt(0) < 256) {
|
|
445
|
+
for (u = 0; u < m; u++)
|
|
446
|
+
d = d << 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++;
|
|
447
|
+
for (l = g.charCodeAt(0), u = 0; u < 8; u++)
|
|
448
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
449
449
|
} else {
|
|
450
|
-
for (l = 1,
|
|
451
|
-
|
|
452
|
-
for (l =
|
|
453
|
-
|
|
450
|
+
for (l = 1, u = 0; u < m; u++)
|
|
451
|
+
d = d << 1 | l, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = 0;
|
|
452
|
+
for (l = g.charCodeAt(0), u = 0; u < 16; u++)
|
|
453
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
454
454
|
}
|
|
455
|
-
|
|
455
|
+
y--, y == 0 && (y = Math.pow(2, m), m++), delete x[g];
|
|
456
456
|
} else
|
|
457
|
-
for (l =
|
|
458
|
-
|
|
459
|
-
|
|
457
|
+
for (l = w[g], u = 0; u < m; u++)
|
|
458
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
459
|
+
y--, y == 0 && (y = Math.pow(2, m), m++);
|
|
460
460
|
}
|
|
461
|
-
for (l = 2,
|
|
462
|
-
|
|
461
|
+
for (l = 2, u = 0; u < m; u++)
|
|
462
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
463
463
|
for (; ; )
|
|
464
|
-
if (
|
|
465
|
-
O.push(p(
|
|
464
|
+
if (d = d << 1, k == c - 1) {
|
|
465
|
+
O.push(p(d));
|
|
466
466
|
break;
|
|
467
|
-
} else
|
|
467
|
+
} else k++;
|
|
468
468
|
return O.join("");
|
|
469
469
|
},
|
|
470
470
|
decompress: function(a) {
|
|
471
|
-
return a == null ? "" : a == "" ? null :
|
|
471
|
+
return a == null ? "" : a == "" ? null : f._decompress(a.length, 32768, function(c) {
|
|
472
472
|
return a.charCodeAt(c);
|
|
473
473
|
});
|
|
474
474
|
},
|
|
475
475
|
_decompress: function(a, c, p) {
|
|
476
|
-
var
|
|
477
|
-
for (
|
|
478
|
-
|
|
479
|
-
for (
|
|
480
|
-
|
|
481
|
-
switch (
|
|
476
|
+
var u = [], l = 4, w = 4, x = 3, B = "", E = [], g, y, S, m, O, d, k, _ = { val: p(0), position: c, index: 1 };
|
|
477
|
+
for (g = 0; g < 3; g += 1)
|
|
478
|
+
u[g] = g;
|
|
479
|
+
for (S = 0, O = Math.pow(2, 2), d = 1; d != O; )
|
|
480
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
481
|
+
switch (S) {
|
|
482
482
|
case 0:
|
|
483
|
-
for (
|
|
484
|
-
|
|
485
|
-
|
|
483
|
+
for (S = 0, O = Math.pow(2, 8), d = 1; d != O; )
|
|
484
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
485
|
+
k = n(S);
|
|
486
486
|
break;
|
|
487
487
|
case 1:
|
|
488
|
-
for (
|
|
489
|
-
|
|
490
|
-
|
|
488
|
+
for (S = 0, O = Math.pow(2, 16), d = 1; d != O; )
|
|
489
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
490
|
+
k = n(S);
|
|
491
491
|
break;
|
|
492
492
|
case 2:
|
|
493
493
|
return "";
|
|
494
494
|
}
|
|
495
|
-
for (
|
|
496
|
-
if (
|
|
495
|
+
for (u[3] = k, y = k, E.push(k); ; ) {
|
|
496
|
+
if (_.index > a)
|
|
497
497
|
return "";
|
|
498
|
-
for (
|
|
499
|
-
|
|
500
|
-
switch (
|
|
498
|
+
for (S = 0, O = Math.pow(2, x), d = 1; d != O; )
|
|
499
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
500
|
+
switch (k = S) {
|
|
501
501
|
case 0:
|
|
502
|
-
for (
|
|
503
|
-
|
|
504
|
-
|
|
502
|
+
for (S = 0, O = Math.pow(2, 8), d = 1; d != O; )
|
|
503
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
504
|
+
u[w++] = n(S), k = w - 1, l--;
|
|
505
505
|
break;
|
|
506
506
|
case 1:
|
|
507
|
-
for (
|
|
508
|
-
|
|
509
|
-
|
|
507
|
+
for (S = 0, O = Math.pow(2, 16), d = 1; d != O; )
|
|
508
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
509
|
+
u[w++] = n(S), k = w - 1, l--;
|
|
510
510
|
break;
|
|
511
511
|
case 2:
|
|
512
|
-
return
|
|
512
|
+
return E.join("");
|
|
513
513
|
}
|
|
514
|
-
if (l == 0 && (l = Math.pow(2,
|
|
515
|
-
|
|
516
|
-
else if (
|
|
517
|
-
|
|
514
|
+
if (l == 0 && (l = Math.pow(2, x), x++), u[k])
|
|
515
|
+
B = u[k];
|
|
516
|
+
else if (k === w)
|
|
517
|
+
B = y + y.charAt(0);
|
|
518
518
|
else
|
|
519
519
|
return null;
|
|
520
|
-
|
|
520
|
+
E.push(B), u[w++] = y + B.charAt(0), l--, y = B, l == 0 && (l = Math.pow(2, x), x++);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
};
|
|
524
|
-
return
|
|
524
|
+
return f;
|
|
525
525
|
}();
|
|
526
526
|
t != null ? t.exports = e : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("LZString", function() {
|
|
527
527
|
return e;
|
|
528
528
|
});
|
|
529
529
|
})(ht);
|
|
530
|
-
var
|
|
531
|
-
const Kn = new TextEncoder(), Jn = new TextDecoder("utf-8", { ignoreBOM: !0 }),
|
|
530
|
+
var rn = ht.exports;
|
|
531
|
+
const Kn = new TextEncoder(), Jn = new TextDecoder("utf-8", { ignoreBOM: !0 }), At = {
|
|
532
532
|
/* API */
|
|
533
533
|
encode: (t) => Kn.encode(t),
|
|
534
534
|
decode: (t) => Jn.decode(t)
|
|
535
|
-
},
|
|
535
|
+
}, on = (() => {
|
|
536
536
|
const e = [..."0123456789abcdef"], n = new Array(256);
|
|
537
537
|
for (let s = 0; s < 256; s++)
|
|
538
538
|
n[s] = `${e[s >>> 4 & 15]}${e[s & 15]}`;
|
|
@@ -540,7 +540,7 @@ const Kn = new TextEncoder(), Jn = new TextDecoder("utf-8", { ignoreBOM: !0 }),
|
|
|
540
540
|
})(), Qn = (() => {
|
|
541
541
|
const t = {};
|
|
542
542
|
for (let e = 0; e < 256; e++) {
|
|
543
|
-
const n =
|
|
543
|
+
const n = on[e], s = n[0], r = s.toUpperCase(), o = n[1], i = o.toUpperCase();
|
|
544
544
|
t[n] = e, t[`${s}${i}`] = e, t[`${r}${o}`] = e, t[`${r}${i}`] = e;
|
|
545
545
|
}
|
|
546
546
|
return t;
|
|
@@ -549,17 +549,17 @@ const Kn = new TextEncoder(), Jn = new TextDecoder("utf-8", { ignoreBOM: !0 }),
|
|
|
549
549
|
encode: (t) => {
|
|
550
550
|
let e = "";
|
|
551
551
|
for (let n = 0, s = t.length; n < s; n++)
|
|
552
|
-
e +=
|
|
552
|
+
e += on[t[n]];
|
|
553
553
|
return e;
|
|
554
554
|
},
|
|
555
|
-
encodeStr: (t) => nt.encode(
|
|
555
|
+
encodeStr: (t) => nt.encode(At.encode(t)),
|
|
556
556
|
decode: (t) => {
|
|
557
557
|
const e = t.length / 2, n = new Uint8Array(e);
|
|
558
558
|
for (let s = 0; s < e; s++)
|
|
559
559
|
n[s] = Qn[t.slice(s * 2, s * 2 + 2)];
|
|
560
560
|
return n;
|
|
561
561
|
},
|
|
562
|
-
decodeStr: (t) =>
|
|
562
|
+
decodeStr: (t) => At.decode(nt.decode(t)),
|
|
563
563
|
is: es
|
|
564
564
|
};
|
|
565
565
|
function Oe(t) {
|
|
@@ -581,21 +581,21 @@ function st(t, e = !0) {
|
|
|
581
581
|
if (e && t.finished)
|
|
582
582
|
throw new Error("Hash#digest() has already been called");
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function an(t, e) {
|
|
585
585
|
pt(t);
|
|
586
586
|
const n = e.outputLen;
|
|
587
587
|
if (t.length < n)
|
|
588
588
|
throw new Error(`digestInto() expects output buffer of length at least ${n}`);
|
|
589
589
|
}
|
|
590
|
-
const Re = /* @__PURE__ */ BigInt(2 ** 32 - 1),
|
|
591
|
-
function
|
|
592
|
-
return e ? { h: Number(t & Re), l: Number(t >>
|
|
590
|
+
const Re = /* @__PURE__ */ BigInt(2 ** 32 - 1), Et = /* @__PURE__ */ BigInt(32);
|
|
591
|
+
function It(t, e = !1) {
|
|
592
|
+
return e ? { h: Number(t & Re), l: Number(t >> Et & Re) } : { h: Number(t >> Et & Re) | 0, l: Number(t & Re) | 0 };
|
|
593
593
|
}
|
|
594
594
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
595
|
-
const ns = (t) => new Uint8Array(t.buffer, t.byteOffset, t.byteLength),
|
|
596
|
-
function
|
|
595
|
+
const ns = (t) => new Uint8Array(t.buffer, t.byteOffset, t.byteLength), qe = (t) => new Uint32Array(t.buffer, t.byteOffset, Math.floor(t.byteLength / 4)), Fe = (t, e) => t << 32 - e | t >>> e, X = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68, cn = (t) => t << 24 & 4278190080 | t << 8 & 16711680 | t >>> 8 & 65280 | t >>> 24 & 255, ss = X ? (t) => t : (t) => cn(t);
|
|
596
|
+
function Z(t) {
|
|
597
597
|
for (let e = 0; e < t.length; e++)
|
|
598
|
-
t[e] =
|
|
598
|
+
t[e] = cn(t[e]);
|
|
599
599
|
}
|
|
600
600
|
function rs(t) {
|
|
601
601
|
if (typeof t != "string")
|
|
@@ -625,22 +625,22 @@ class as extends os {
|
|
|
625
625
|
throw new Error(`salt must be ${o} byte long or undefined`);
|
|
626
626
|
if (s.personalization !== void 0 && s.personalization.length !== i)
|
|
627
627
|
throw new Error(`personalization must be ${i} byte long or undefined`);
|
|
628
|
-
this.buffer32 =
|
|
628
|
+
this.buffer32 = qe(this.buffer = new Uint8Array(e));
|
|
629
629
|
}
|
|
630
630
|
update(e) {
|
|
631
631
|
st(this);
|
|
632
632
|
const { blockLen: n, buffer: s, buffer32: r } = this;
|
|
633
633
|
e = bt(e);
|
|
634
|
-
const o = e.length, i = e.byteOffset,
|
|
634
|
+
const o = e.length, i = e.byteOffset, f = e.buffer;
|
|
635
635
|
for (let a = 0; a < o; ) {
|
|
636
|
-
this.pos === n && (
|
|
636
|
+
this.pos === n && (X || Z(r), this.compress(r, 0, !1), X || Z(r), this.pos = 0);
|
|
637
637
|
const c = Math.min(n - this.pos, o - a), p = i + a;
|
|
638
638
|
if (c === n && !(p % 4) && a + c < o) {
|
|
639
|
-
const
|
|
640
|
-
|
|
639
|
+
const u = new Uint32Array(f, p, Math.floor((o - a) / 4));
|
|
640
|
+
X || Z(u);
|
|
641
641
|
for (let l = 0; a + n < o; l += r.length, a += n)
|
|
642
|
-
this.length += n, this.compress(
|
|
643
|
-
|
|
642
|
+
this.length += n, this.compress(u, l, !1);
|
|
643
|
+
X || Z(u);
|
|
644
644
|
continue;
|
|
645
645
|
}
|
|
646
646
|
s.set(e.subarray(a, a + c), this.pos), this.pos += c, this.length += c, a += c;
|
|
@@ -648,10 +648,10 @@ class as extends os {
|
|
|
648
648
|
return this;
|
|
649
649
|
}
|
|
650
650
|
digestInto(e) {
|
|
651
|
-
st(this),
|
|
651
|
+
st(this), an(e, this);
|
|
652
652
|
const { pos: n, buffer32: s } = this;
|
|
653
|
-
this.finished = !0, this.buffer.subarray(n).fill(0),
|
|
654
|
-
const r =
|
|
653
|
+
this.finished = !0, this.buffer.subarray(n).fill(0), X || Z(s), this.compress(s, 0, !0), X || Z(s);
|
|
654
|
+
const r = qe(e);
|
|
655
655
|
this.get().forEach((o, i) => r[i] = ss(o));
|
|
656
656
|
}
|
|
657
657
|
digest() {
|
|
@@ -661,8 +661,8 @@ class as extends os {
|
|
|
661
661
|
return this.destroy(), s;
|
|
662
662
|
}
|
|
663
663
|
_cloneInto(e) {
|
|
664
|
-
const { buffer: n, length: s, finished: r, destroyed: o, outputLen: i, pos:
|
|
665
|
-
return e || (e = new this.constructor({ dkLen: i })), e.set(...this.get()), e.length = s, e.finished = r, e.destroyed = o, e.outputLen = i, e.buffer.set(n), e.pos =
|
|
664
|
+
const { buffer: n, length: s, finished: r, destroyed: o, outputLen: i, pos: f } = this;
|
|
665
|
+
return e || (e = new this.constructor({ dkLen: i })), e.set(...this.get()), e.length = s, e.finished = r, e.destroyed = o, e.outputLen = i, e.buffer.set(n), e.pos = f, e;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
668
|
const te = /* @__PURE__ */ new Uint32Array([
|
|
@@ -676,18 +676,18 @@ const te = /* @__PURE__ */ new Uint32Array([
|
|
|
676
676
|
1541459225
|
|
677
677
|
]);
|
|
678
678
|
function oe(t, e, n, s, r) {
|
|
679
|
-
return t = t + e + r | 0, s =
|
|
679
|
+
return t = t + e + r | 0, s = Fe(s ^ t, 16), n = n + s | 0, e = Fe(e ^ n, 12), { a: t, b: e, c: n, d: s };
|
|
680
680
|
}
|
|
681
681
|
function ie(t, e, n, s, r) {
|
|
682
|
-
return t = t + e + r | 0, s =
|
|
682
|
+
return t = t + e + r | 0, s = Fe(s ^ t, 8), n = n + s | 0, e = Fe(e ^ n, 7), { a: t, b: e, c: n, d: s };
|
|
683
683
|
}
|
|
684
|
-
function
|
|
685
|
-
let
|
|
684
|
+
function Bt(t, e, n, s, r, o, i, f, a, c, p, u, l, w, x, B, E, g, y, S) {
|
|
685
|
+
let m = 0;
|
|
686
686
|
for (let O = 0; O < s; O++)
|
|
687
|
-
({ a: r, b: a, c: l, d:
|
|
688
|
-
return { v0: r, v1: o, v2: i, v3:
|
|
687
|
+
({ a: r, b: a, c: l, d: E } = oe(r, a, l, E, n[e + t[m++]])), { a: r, b: a, c: l, d: E } = ie(r, a, l, E, n[e + t[m++]]), { a: o, b: c, c: w, d: g } = oe(o, c, w, g, n[e + t[m++]]), { a: o, b: c, c: w, d: g } = ie(o, c, w, g, n[e + t[m++]]), { a: i, b: p, c: x, d: y } = oe(i, p, x, y, n[e + t[m++]]), { a: i, b: p, c: x, d: y } = ie(i, p, x, y, n[e + t[m++]]), { a: f, b: u, c: B, d: S } = oe(f, u, B, S, n[e + t[m++]]), { a: f, b: u, c: B, d: S } = ie(f, u, B, S, n[e + t[m++]]), { a: r, b: c, c: x, d: S } = oe(r, c, x, S, n[e + t[m++]]), { a: r, b: c, c: x, d: S } = ie(r, c, x, S, n[e + t[m++]]), { a: o, b: p, c: B, d: E } = oe(o, p, B, E, n[e + t[m++]]), { a: o, b: p, c: B, d: E } = ie(o, p, B, E, n[e + t[m++]]), { a: i, b: u, c: l, d: g } = oe(i, u, l, g, n[e + t[m++]]), { a: i, b: u, c: l, d: g } = ie(i, u, l, g, n[e + t[m++]]), { a: f, b: a, c: w, d: y } = oe(f, a, w, y, n[e + t[m++]]), { a: f, b: a, c: w, d: y } = ie(f, a, w, y, n[e + t[m++]]);
|
|
688
|
+
return { v0: r, v1: o, v2: i, v3: f, v4: a, v5: c, v6: p, v7: u, v8: l, v9: w, v10: x, v11: B, v12: E, v13: g, v14: y, v15: S };
|
|
689
689
|
}
|
|
690
|
-
const
|
|
690
|
+
const Mt = /* @__PURE__ */ (() => {
|
|
691
691
|
const t = Array.from({ length: 16 }, (s, r) => r), e = (s) => [2, 6, 3, 10, 7, 0, 4, 13, 1, 11, 12, 5, 9, 14, 15, 8].map((r) => s[r]), n = [];
|
|
692
692
|
for (let s = 0, r = t; s < 7; s++, r = e(r))
|
|
693
693
|
n.push(...r);
|
|
@@ -701,14 +701,14 @@ class vt extends as {
|
|
|
701
701
|
const s = bt(e.key).slice();
|
|
702
702
|
if (s.length !== 32)
|
|
703
703
|
throw new Error("Blake3: key should be 32 byte");
|
|
704
|
-
this.IV =
|
|
704
|
+
this.IV = qe(s), X || Z(this.IV), this.flags = n | 16;
|
|
705
705
|
} else if (e.context !== void 0) {
|
|
706
706
|
const s = new vt(
|
|
707
707
|
{ dkLen: 32 },
|
|
708
708
|
32
|
|
709
709
|
/* B3_Flags.DERIVE_KEY_CONTEXT */
|
|
710
710
|
).update(e.context).digest();
|
|
711
|
-
this.IV =
|
|
711
|
+
this.IV = qe(s), X || Z(this.IV), this.flags = n | 64;
|
|
712
712
|
} else
|
|
713
713
|
this.IV = te.slice(), this.flags = n;
|
|
714
714
|
this.state = this.IV.slice(), this.bufferOut = ns(this.bufferOut32);
|
|
@@ -720,15 +720,15 @@ class vt extends as {
|
|
|
720
720
|
set() {
|
|
721
721
|
}
|
|
722
722
|
b2Compress(e, n, s, r = 0) {
|
|
723
|
-
const { state: o, pos: i } = this, { h:
|
|
724
|
-
o[0] = c ^
|
|
723
|
+
const { state: o, pos: i } = this, { h: f, l: a } = It(BigInt(e), !0), { v0: c, v1: p, v2: u, v3: l, v4: w, v5: x, v6: B, v7: E, v8: g, v9: y, v10: S, v11: m, v12: O, v13: d, v14: k, v15: _ } = Bt(Mt, r, s, 7, o[0], o[1], o[2], o[3], o[4], o[5], o[6], o[7], te[0], te[1], te[2], te[3], f, a, i, n);
|
|
724
|
+
o[0] = c ^ g, o[1] = p ^ y, o[2] = u ^ S, o[3] = l ^ m, o[4] = w ^ O, o[5] = x ^ d, o[6] = B ^ k, o[7] = E ^ _;
|
|
725
725
|
}
|
|
726
726
|
compress(e, n = 0, s = !1) {
|
|
727
727
|
let r = this.flags;
|
|
728
728
|
if (this.chunkPos || (r |= 1), (this.chunkPos === 15 || s) && (r |= 2), s || (this.pos = this.blockLen), this.b2Compress(this.chunksDone, r, e, n), this.chunkPos += 1, this.chunkPos === 16 || s) {
|
|
729
729
|
let o = this.state;
|
|
730
730
|
this.state = this.IV.slice();
|
|
731
|
-
for (let i,
|
|
731
|
+
for (let i, f = this.chunksDone + 1; (s || !(f & 1)) && (i = this.stack.pop()); f >>= 1)
|
|
732
732
|
this.buffer32.set(i, 0), this.buffer32.set(o, 8), this.pos = this.blockLen, this.b2Compress(0, this.flags | 4, this.buffer32, 0), o = this.state, this.state = this.IV.slice();
|
|
733
733
|
this.chunksDone++, this.chunkPos = 0, this.stack.push(o);
|
|
734
734
|
}
|
|
@@ -736,8 +736,8 @@ class vt extends as {
|
|
|
736
736
|
}
|
|
737
737
|
_cloneInto(e) {
|
|
738
738
|
e = super._cloneInto(e);
|
|
739
|
-
const { IV: n, flags: s, state: r, chunkPos: o, posOut: i, chunkOut:
|
|
740
|
-
return e.state.set(r.slice()), e.stack = a.map((p) => Uint32Array.from(p)), e.IV.set(n), e.flags = s, e.chunkPos = o, e.chunksDone = c, e.posOut = i, e.chunkOut =
|
|
739
|
+
const { IV: n, flags: s, state: r, chunkPos: o, posOut: i, chunkOut: f, stack: a, chunksDone: c } = this;
|
|
740
|
+
return e.state.set(r.slice()), e.stack = a.map((p) => Uint32Array.from(p)), e.IV.set(n), e.flags = s, e.chunkPos = o, e.chunksDone = c, e.posOut = i, e.chunkOut = f, e.enableXOF = this.enableXOF, e.bufferOut32.set(this.bufferOut32), e;
|
|
741
741
|
}
|
|
742
742
|
destroy() {
|
|
743
743
|
this.destroyed = !0, this.state.fill(0), this.buffer32.fill(0), this.IV.fill(0), this.bufferOut32.fill(0);
|
|
@@ -746,17 +746,17 @@ class vt extends as {
|
|
|
746
746
|
}
|
|
747
747
|
// Same as b2Compress, but doesn't modify state and returns 16 u32 array (instead of 8)
|
|
748
748
|
b2CompressOut() {
|
|
749
|
-
const { state: e, pos: n, flags: s, buffer32: r, bufferOut32: o } = this, { h: i, l:
|
|
750
|
-
|
|
751
|
-
const { v0: a, v1: c, v2: p, v3:
|
|
752
|
-
o[0] = a ^
|
|
749
|
+
const { state: e, pos: n, flags: s, buffer32: r, bufferOut32: o } = this, { h: i, l: f } = It(BigInt(this.chunkOut++));
|
|
750
|
+
X || Z(r);
|
|
751
|
+
const { v0: a, v1: c, v2: p, v3: u, v4: l, v5: w, v6: x, v7: B, v8: E, v9: g, v10: y, v11: S, v12: m, v13: O, v14: d, v15: k } = Bt(Mt, 0, r, 7, e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], te[0], te[1], te[2], te[3], f, i, n, s);
|
|
752
|
+
o[0] = a ^ E, o[1] = c ^ g, o[2] = p ^ y, o[3] = u ^ S, o[4] = l ^ m, o[5] = w ^ O, o[6] = x ^ d, o[7] = B ^ k, o[8] = e[0] ^ E, o[9] = e[1] ^ g, o[10] = e[2] ^ y, o[11] = e[3] ^ S, o[12] = e[4] ^ m, o[13] = e[5] ^ O, o[14] = e[6] ^ d, o[15] = e[7] ^ k, X || (Z(r), Z(o)), this.posOut = 0;
|
|
753
753
|
}
|
|
754
754
|
finish() {
|
|
755
755
|
if (this.finished)
|
|
756
756
|
return;
|
|
757
757
|
this.finished = !0, this.buffer.fill(0, this.pos);
|
|
758
758
|
let e = this.flags | 8;
|
|
759
|
-
this.stack.length ? (e |= 4,
|
|
759
|
+
this.stack.length ? (e |= 4, X || Z(this.buffer32), this.compress(this.buffer32, 0, !0), X || Z(this.buffer32), this.chunksDone = 0, this.pos = this.blockLen) : e |= (this.chunkPos ? 0 : 1) | 2, this.flags = e, this.b2CompressOut();
|
|
760
760
|
}
|
|
761
761
|
writeInto(e) {
|
|
762
762
|
st(this, !1), pt(e), this.finish();
|
|
@@ -777,7 +777,7 @@ class vt extends as {
|
|
|
777
777
|
return Oe(e), this.xofInto(new Uint8Array(e));
|
|
778
778
|
}
|
|
779
779
|
digestInto(e) {
|
|
780
|
-
if (
|
|
780
|
+
if (an(e, this), this.finished)
|
|
781
781
|
throw new Error("digest() was already called");
|
|
782
782
|
return this.enableXOF = !1, this.writeInto(e), this.destroy(), e;
|
|
783
783
|
}
|
|
@@ -787,9 +787,9 @@ class vt extends as {
|
|
|
787
787
|
}
|
|
788
788
|
const cs = /* @__PURE__ */ is((t) => new vt(t)), rt = (t) => {
|
|
789
789
|
const e = `${t.id}|${t.title}|${t.iframe ? "Y" : "N"}|${t.closable ? "Y" : "N"}|${t.refreshable ? "Y" : "N"}`;
|
|
790
|
-
return
|
|
790
|
+
return rn.compressToEncodedURIComponent(e);
|
|
791
791
|
}, ls = (t) => {
|
|
792
|
-
const n =
|
|
792
|
+
const n = rn.decompressFromEncodedURIComponent(t).split("|");
|
|
793
793
|
return {
|
|
794
794
|
id: n[0],
|
|
795
795
|
title: n[1],
|
|
@@ -797,7 +797,7 @@ const cs = /* @__PURE__ */ is((t) => new vt(t)), rt = (t) => {
|
|
|
797
797
|
closable: n[3] === "Y",
|
|
798
798
|
refreshable: n[4] === "Y"
|
|
799
799
|
};
|
|
800
|
-
},
|
|
800
|
+
}, Ct = (t, e, n) => {
|
|
801
801
|
const s = [];
|
|
802
802
|
for (const o in n)
|
|
803
803
|
o.startsWith("__") || s.push({
|
|
@@ -805,27 +805,27 @@ const cs = /* @__PURE__ */ is((t) => new vt(t)), rt = (t) => {
|
|
|
805
805
|
value: n[o]
|
|
806
806
|
});
|
|
807
807
|
s.sort((o, i) => {
|
|
808
|
-
let
|
|
809
|
-
return o.key > i.key ?
|
|
808
|
+
let f = 0;
|
|
809
|
+
return o.key > i.key ? f = 1 : o.key < i.key && (f = -1), f;
|
|
810
810
|
});
|
|
811
811
|
const r = cs(`${t}|${e}|${JSON.stringify(s)}`);
|
|
812
812
|
return nt.encode(r);
|
|
813
813
|
};
|
|
814
|
-
function
|
|
814
|
+
function Ye(t) {
|
|
815
815
|
if (t === null || typeof t != "object")
|
|
816
816
|
return !1;
|
|
817
817
|
const e = Object.getPrototypeOf(t);
|
|
818
818
|
return e !== null && e !== Object.prototype && Object.getPrototypeOf(e) !== null || Symbol.iterator in t ? !1 : Symbol.toStringTag in t ? Object.prototype.toString.call(t) === "[object Module]" : !0;
|
|
819
819
|
}
|
|
820
820
|
function ot(t, e, n = ".", s) {
|
|
821
|
-
if (!
|
|
821
|
+
if (!Ye(e))
|
|
822
822
|
return ot(t, {}, n, s);
|
|
823
823
|
const r = Object.assign({}, e);
|
|
824
824
|
for (const o in t) {
|
|
825
825
|
if (o === "__proto__" || o === "constructor")
|
|
826
826
|
continue;
|
|
827
827
|
const i = t[o];
|
|
828
|
-
i != null && (s && s(r, o, i, n) || (Array.isArray(i) && Array.isArray(r[o]) ? r[o] = [...i, ...r[o]] :
|
|
828
|
+
i != null && (s && s(r, o, i, n) || (Array.isArray(i) && Array.isArray(r[o]) ? r[o] = [...i, ...r[o]] : Ye(i) && Ye(r[o]) ? r[o] = ot(
|
|
829
829
|
i,
|
|
830
830
|
r[o],
|
|
831
831
|
(n ? `${n}.` : "") + o.toString(),
|
|
@@ -880,7 +880,7 @@ const ds = fs(), hs = {
|
|
|
880
880
|
t.provide("tabEmitter", ds);
|
|
881
881
|
}
|
|
882
882
|
}, ye = () => ct("tabEmitter");
|
|
883
|
-
var
|
|
883
|
+
var j = /* @__PURE__ */ ((t) => (t.PAGE_LOADING = "PAGE_LOADING", t.TAB_ACTIVE = "TAB_ACTIVE", t))(j || {});
|
|
884
884
|
const ps = /* @__PURE__ */ ee({
|
|
885
885
|
__name: "PageLoading",
|
|
886
886
|
props: {
|
|
@@ -888,41 +888,41 @@ const ps = /* @__PURE__ */ ee({
|
|
|
888
888
|
},
|
|
889
889
|
setup(t) {
|
|
890
890
|
const e = t, n = ye(), s = D(!1);
|
|
891
|
-
return n.on(
|
|
891
|
+
return n.on(j.PAGE_LOADING, ({ tId: r, value: o }) => {
|
|
892
892
|
r === e.tId && (s.value = o);
|
|
893
893
|
}), (r, o) => s.value ? (R(), V("div", {
|
|
894
894
|
key: 0,
|
|
895
895
|
class: "stack-tab-loading-mask",
|
|
896
|
-
style:
|
|
896
|
+
style: He({ zIndex: T(ft)(".cache-page-wrapper *") })
|
|
897
897
|
}, o[0] || (o[0] = [
|
|
898
898
|
Q("div", { class: "stack-tab-loading--spin turn" }, null, -1)
|
|
899
899
|
]), 4)) : se("", !0);
|
|
900
900
|
}
|
|
901
|
-
}), M = D([]),
|
|
902
|
-
let
|
|
901
|
+
}), M = D([]), Ke = [], W = D([]), ae = /* @__PURE__ */ new Map(), de = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), he = D(!0), Je = "stacktab-active-tab", pe = /* @__PURE__ */ new Map(), Lt = D(!1);
|
|
902
|
+
let $e = 0, zt = !1, De = "";
|
|
903
903
|
const Ce = () => {
|
|
904
904
|
const t = ut(), e = ye(), {
|
|
905
905
|
t: n
|
|
906
906
|
} = Me(), s = () => M.value.length, r = (b) => {
|
|
907
|
-
for (const
|
|
908
|
-
const h = ne(
|
|
907
|
+
for (const I of b) {
|
|
908
|
+
const h = ne(I, {
|
|
909
909
|
id: tt(),
|
|
910
910
|
refreshable: !0,
|
|
911
911
|
closable: !0,
|
|
912
912
|
iframe: !1
|
|
913
|
-
}),
|
|
913
|
+
}), L = rt(h), F = mt(h.path), P = ne(h, {
|
|
914
914
|
closable: !0,
|
|
915
915
|
refreshable: !0,
|
|
916
916
|
iframe: !1
|
|
917
|
-
}), ze =
|
|
917
|
+
}), ze = Ct(h.id, F.path, F.query), G = {
|
|
918
918
|
id: ze,
|
|
919
919
|
tabId: h.id,
|
|
920
|
-
path:
|
|
921
|
-
query: ne(
|
|
922
|
-
__tab:
|
|
920
|
+
path: F.path,
|
|
921
|
+
query: ne(F.query, {
|
|
922
|
+
__tab: L
|
|
923
923
|
})
|
|
924
|
-
}, we = new
|
|
925
|
-
we.push(
|
|
924
|
+
}, we = new Ge();
|
|
925
|
+
we.push(G);
|
|
926
926
|
const Y = {
|
|
927
927
|
id: h.id,
|
|
928
928
|
title: P.title,
|
|
@@ -932,28 +932,28 @@ const Ce = () => {
|
|
|
932
932
|
active: !1,
|
|
933
933
|
pages: we
|
|
934
934
|
};
|
|
935
|
-
W.value.push(ze),
|
|
935
|
+
W.value.push(ze), Ke.push(Y), M.value.push({
|
|
936
936
|
...Y
|
|
937
937
|
});
|
|
938
938
|
}
|
|
939
|
-
const v = window.sessionStorage.getItem(
|
|
939
|
+
const v = window.sessionStorage.getItem(De + Je);
|
|
940
940
|
if (v != null) {
|
|
941
|
-
const
|
|
941
|
+
const I = JSON.parse(v, (L, F) => L === "pages" ? new Ge(F) : F);
|
|
942
942
|
let h = !1;
|
|
943
|
-
for (const
|
|
944
|
-
if (
|
|
943
|
+
for (const L of M.value)
|
|
944
|
+
if (L.id === I.id) {
|
|
945
945
|
h = !0;
|
|
946
946
|
break;
|
|
947
947
|
}
|
|
948
|
-
h || M.value.push(
|
|
948
|
+
h || M.value.push(I);
|
|
949
949
|
}
|
|
950
|
-
|
|
950
|
+
Lt.value = !0;
|
|
951
951
|
}, o = (b) => {
|
|
952
952
|
for (const v of M.value)
|
|
953
953
|
if (v.id === b)
|
|
954
954
|
return !0;
|
|
955
955
|
return !1;
|
|
956
|
-
}, i = () => $e <= 0 || $e > 0 && $e > M.value.length,
|
|
956
|
+
}, i = () => $e <= 0 || $e > 0 && $e > M.value.length, f = (b) => new Promise((v) => {
|
|
957
957
|
M.value.push(b), v(!0);
|
|
958
958
|
}), a = (b) => {
|
|
959
959
|
for (const v of M.value)
|
|
@@ -961,31 +961,31 @@ const Ce = () => {
|
|
|
961
961
|
return v;
|
|
962
962
|
return null;
|
|
963
963
|
}, c = (b, v) => {
|
|
964
|
-
let
|
|
964
|
+
let I, h;
|
|
965
965
|
if (b.query.__tab ? h = ls(b.query.__tab) : (h = {
|
|
966
966
|
id: tt(),
|
|
967
967
|
title: n("VueStackTab.undefined"),
|
|
968
968
|
closable: !0,
|
|
969
969
|
refreshable: !0,
|
|
970
970
|
iframe: !1
|
|
971
|
-
}, b.query.__tab = rt(h)),
|
|
971
|
+
}, b.query.__tab = rt(h)), H.has(h.id) || !v)
|
|
972
972
|
return;
|
|
973
|
-
const
|
|
973
|
+
const L = b.matched[b.matched.length - 1].path, F = b.path.endsWith("/") ? b.path.substring(0, b.path.length - 1) : b.path, P = Ct(h.id, L === F ? F : b.path, b.query.valueOf());
|
|
974
974
|
if (de.has(P))
|
|
975
975
|
return ae.get(P);
|
|
976
976
|
const ze = b.query.__src;
|
|
977
|
-
let
|
|
978
|
-
for (const Y of
|
|
979
|
-
Y.active = !1, Y.id === h.id && (
|
|
977
|
+
let G = null;
|
|
978
|
+
for (const Y of T(M))
|
|
979
|
+
Y.active = !1, Y.id === h.id && (G = Y);
|
|
980
980
|
const we = {
|
|
981
981
|
id: P,
|
|
982
982
|
tabId: h.id,
|
|
983
983
|
path: b.path,
|
|
984
984
|
query: b.query
|
|
985
985
|
};
|
|
986
|
-
if (
|
|
987
|
-
const Y = new
|
|
988
|
-
Y.push(we),
|
|
986
|
+
if (G === null) {
|
|
987
|
+
const Y = new Ge();
|
|
988
|
+
Y.push(we), G = {
|
|
989
989
|
id: h.id,
|
|
990
990
|
title: h.title,
|
|
991
991
|
closable: h.closable,
|
|
@@ -994,15 +994,15 @@ const Ce = () => {
|
|
|
994
994
|
url: decodeURIComponent(ze),
|
|
995
995
|
active: !0,
|
|
996
996
|
pages: Y
|
|
997
|
-
},
|
|
998
|
-
e.emit(
|
|
997
|
+
}, f(G).then(() => {
|
|
998
|
+
e.emit(j.TAB_ACTIVE, {
|
|
999
999
|
id: h.id,
|
|
1000
1000
|
isRoute: !1
|
|
1001
1001
|
});
|
|
1002
1002
|
});
|
|
1003
1003
|
} else
|
|
1004
|
-
|
|
1005
|
-
return
|
|
1004
|
+
G.active = !0, (G.pages.isEmpty() || G.pages.peek().id !== we.id) && G.pages.push(we);
|
|
1005
|
+
return q(G), ae.has(P) ? I = ae.get(P) : (I = /* @__PURE__ */ ee({
|
|
1006
1006
|
name: P,
|
|
1007
1007
|
components: {
|
|
1008
1008
|
DynamicComponent: v
|
|
@@ -1011,159 +1011,159 @@ const Ce = () => {
|
|
|
1011
1011
|
onLoaded: null
|
|
1012
1012
|
},
|
|
1013
1013
|
setup(Y, kt) {
|
|
1014
|
-
return
|
|
1015
|
-
kt.emit("onLoaded"),
|
|
1016
|
-
}), gn(() => {
|
|
1017
|
-
f(P);
|
|
1014
|
+
return Ze(() => {
|
|
1015
|
+
kt.emit("onLoaded"), w(P, ".cache-page-wrapper");
|
|
1018
1016
|
}), yn(() => {
|
|
1019
|
-
|
|
1020
|
-
}),
|
|
1017
|
+
u(P);
|
|
1018
|
+
}), wn(() => {
|
|
1019
|
+
kt.emit("onLoaded"), p(P), z(), H.clear(), v.props = null;
|
|
1020
|
+
}), je(() => {
|
|
1021
1021
|
l(P);
|
|
1022
1022
|
}), () => N("div", {
|
|
1023
1023
|
class: "cache-page-wrapper",
|
|
1024
1024
|
id: "W-" + h.id,
|
|
1025
|
-
style: [
|
|
1026
|
-
}, [N(
|
|
1025
|
+
style: [zt ? "overflow:auto" : "overflow:hidden"]
|
|
1026
|
+
}, [N(Xt("dynamic-component"), {
|
|
1027
1027
|
tId: h.id,
|
|
1028
1028
|
pId: P
|
|
1029
1029
|
}, null), N(ps, {
|
|
1030
1030
|
tId: h.id
|
|
1031
1031
|
}, null)]);
|
|
1032
1032
|
}
|
|
1033
|
-
}), ae.set(P,
|
|
1033
|
+
}), ae.set(P, I)), A(P), I;
|
|
1034
1034
|
}, p = (b) => {
|
|
1035
1035
|
const v = pe.get(b);
|
|
1036
1036
|
if (v) {
|
|
1037
|
-
for (const
|
|
1038
|
-
if (document.querySelector(
|
|
1039
|
-
const h = v.get(
|
|
1040
|
-
document.querySelector(
|
|
1037
|
+
for (const I of v.keys())
|
|
1038
|
+
if (document.querySelector(I)) {
|
|
1039
|
+
const h = v.get(I);
|
|
1040
|
+
document.querySelector(I).scrollTop = h.top, document.querySelector(I).scrollLeft = h.left;
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
|
-
},
|
|
1044
|
-
var
|
|
1043
|
+
}, u = (b) => {
|
|
1044
|
+
var I, h;
|
|
1045
1045
|
const v = pe.get(b);
|
|
1046
1046
|
if (v)
|
|
1047
|
-
for (const
|
|
1048
|
-
const
|
|
1049
|
-
top: ((
|
|
1050
|
-
left: ((h = document.querySelector(
|
|
1047
|
+
for (const L of v.keys()) {
|
|
1048
|
+
const F = {
|
|
1049
|
+
top: ((I = document.querySelector(L)) == null ? void 0 : I.scrollTop) ?? 0,
|
|
1050
|
+
left: ((h = document.querySelector(L)) == null ? void 0 : h.scrollLeft) ?? 0
|
|
1051
1051
|
};
|
|
1052
|
-
v.set(
|
|
1052
|
+
v.set(L, F);
|
|
1053
1053
|
}
|
|
1054
1054
|
}, l = (b) => {
|
|
1055
1055
|
const v = pe.get(b);
|
|
1056
1056
|
v && (v.clear(), pe.delete(b));
|
|
1057
|
-
},
|
|
1057
|
+
}, w = (b, ...v) => {
|
|
1058
1058
|
pe.has(b) || pe.set(b, /* @__PURE__ */ new Map());
|
|
1059
|
-
const
|
|
1059
|
+
const I = pe.get(b);
|
|
1060
1060
|
for (const h of v)
|
|
1061
|
-
|
|
1061
|
+
I.set(h, {
|
|
1062
1062
|
top: 0,
|
|
1063
1063
|
left: 0
|
|
1064
1064
|
});
|
|
1065
|
-
},
|
|
1065
|
+
}, x = (b) => {
|
|
1066
1066
|
const v = a(b.id);
|
|
1067
|
-
for (const
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
},
|
|
1067
|
+
for (const I of v.pages.list())
|
|
1068
|
+
$(I.id);
|
|
1069
|
+
z(), v.pages.clear();
|
|
1070
|
+
}, B = (b) => {
|
|
1071
1071
|
let v = "";
|
|
1072
|
-
const
|
|
1072
|
+
const I = a(b);
|
|
1073
1073
|
for (let h = M.value.length - 1; h >= 0; h--)
|
|
1074
|
-
if (b ===
|
|
1075
|
-
if (!
|
|
1074
|
+
if (b === T(M)[h].id) {
|
|
1075
|
+
if (!T(M)[h].closable)
|
|
1076
1076
|
return b;
|
|
1077
|
-
for (const
|
|
1078
|
-
L
|
|
1079
|
-
|
|
1077
|
+
for (const L of T(M)[h].pages.list())
|
|
1078
|
+
$(L.id), H.add(T(M)[h].id);
|
|
1079
|
+
T(M)[h].pages.clear(), M.value.length > 1 && T(M)[h].active && (h === 0 ? v = T(M)[h + 1].id : v = T(M)[h - 1].id), T(M).splice(h, 1);
|
|
1080
1080
|
break;
|
|
1081
1081
|
}
|
|
1082
|
-
return v !== "" && e.emit(
|
|
1082
|
+
return v !== "" && e.emit(j.TAB_ACTIVE, {
|
|
1083
1083
|
id: v
|
|
1084
|
-
}),
|
|
1085
|
-
},
|
|
1086
|
-
const b =
|
|
1084
|
+
}), I != null && I.active || (z(), H.clear()), v;
|
|
1085
|
+
}, E = () => {
|
|
1086
|
+
const b = T(M);
|
|
1087
1087
|
for (let v = b.length - 1; v >= 0; v--)
|
|
1088
1088
|
if (b[v].closable) {
|
|
1089
|
-
for (const
|
|
1090
|
-
|
|
1091
|
-
|
|
1089
|
+
for (const I of b[v].pages.list())
|
|
1090
|
+
$(I.id), H.add(b[v].id);
|
|
1091
|
+
T(M)[v].pages.clear(), T(M).splice(v, 1);
|
|
1092
1092
|
}
|
|
1093
1093
|
for (const v of b)
|
|
1094
1094
|
if (v.active) {
|
|
1095
|
-
|
|
1095
|
+
z(), H.clear();
|
|
1096
1096
|
return;
|
|
1097
1097
|
}
|
|
1098
|
-
e.emit(
|
|
1098
|
+
e.emit(j.TAB_ACTIVE, {
|
|
1099
1099
|
id: b[b.length - 1].id
|
|
1100
1100
|
});
|
|
1101
|
-
},
|
|
1102
|
-
const v =
|
|
1103
|
-
let
|
|
1101
|
+
}, g = (b) => {
|
|
1102
|
+
const v = T(M);
|
|
1103
|
+
let I;
|
|
1104
1104
|
for (let h = v.length - 1; h >= 0; h--)
|
|
1105
1105
|
if (v[h].id === b)
|
|
1106
|
-
|
|
1106
|
+
I = v[h];
|
|
1107
1107
|
else if (v[h].closable && v[h].id !== b) {
|
|
1108
|
-
for (const
|
|
1109
|
-
L
|
|
1110
|
-
|
|
1108
|
+
for (const L of v[h].pages.list())
|
|
1109
|
+
$(L.id), H.add(v[h].id);
|
|
1110
|
+
T(M)[h].pages.clear(), T(M).splice(h, 1);
|
|
1111
1111
|
}
|
|
1112
|
-
|
|
1112
|
+
I.active ? (z(), H.clear()) : e.emit(j.TAB_ACTIVE, {
|
|
1113
1113
|
id: b
|
|
1114
1114
|
});
|
|
1115
|
-
},
|
|
1115
|
+
}, y = (b) => {
|
|
1116
1116
|
let v = -1;
|
|
1117
|
-
const
|
|
1118
|
-
for (let h = 0; h <
|
|
1119
|
-
if (
|
|
1117
|
+
const I = T(M);
|
|
1118
|
+
for (let h = 0; h < I.length; h++)
|
|
1119
|
+
if (I[h].id === b) {
|
|
1120
1120
|
v = h - 1;
|
|
1121
1121
|
break;
|
|
1122
1122
|
}
|
|
1123
1123
|
for (let h = v; h >= 0; h--)
|
|
1124
|
-
if (
|
|
1125
|
-
for (const
|
|
1126
|
-
L
|
|
1127
|
-
|
|
1124
|
+
if (I[h].closable) {
|
|
1125
|
+
for (const L of I[h].pages.list())
|
|
1126
|
+
$(L.id), H.add(I[h].id);
|
|
1127
|
+
T(M)[h].pages.clear(), T(M).splice(h, 1);
|
|
1128
1128
|
}
|
|
1129
|
-
for (const h of
|
|
1129
|
+
for (const h of I)
|
|
1130
1130
|
if (h.active) {
|
|
1131
|
-
|
|
1131
|
+
z(), H.clear();
|
|
1132
1132
|
return;
|
|
1133
1133
|
}
|
|
1134
|
-
e.emit(
|
|
1135
|
-
id:
|
|
1134
|
+
e.emit(j.TAB_ACTIVE, {
|
|
1135
|
+
id: I[0].id
|
|
1136
1136
|
});
|
|
1137
|
-
},
|
|
1138
|
-
const v =
|
|
1139
|
-
let
|
|
1137
|
+
}, S = (b) => {
|
|
1138
|
+
const v = T(M);
|
|
1139
|
+
let I = v.length;
|
|
1140
1140
|
for (let h = 0; h < v.length; h++)
|
|
1141
1141
|
if (v[h].id === b) {
|
|
1142
|
-
|
|
1142
|
+
I = h + 1;
|
|
1143
1143
|
break;
|
|
1144
1144
|
}
|
|
1145
|
-
for (let h = v.length - 1; h >=
|
|
1145
|
+
for (let h = v.length - 1; h >= I; h--)
|
|
1146
1146
|
if (v[h].closable) {
|
|
1147
|
-
for (const
|
|
1148
|
-
L
|
|
1149
|
-
|
|
1147
|
+
for (const L of v[h].pages.list())
|
|
1148
|
+
$(L.id), H.add(v[h].id);
|
|
1149
|
+
T(M)[h].pages.clear(), T(M).splice(h, 1);
|
|
1150
1150
|
}
|
|
1151
1151
|
for (const h of v)
|
|
1152
1152
|
if (h.active) {
|
|
1153
|
-
|
|
1153
|
+
z(), H.clear();
|
|
1154
1154
|
return;
|
|
1155
1155
|
}
|
|
1156
|
-
e.emit(
|
|
1156
|
+
e.emit(j.TAB_ACTIVE, {
|
|
1157
1157
|
id: v[v.length - 1].id
|
|
1158
1158
|
});
|
|
1159
|
-
},
|
|
1159
|
+
}, m = (b) => {
|
|
1160
1160
|
var v;
|
|
1161
|
-
for (const
|
|
1162
|
-
if (
|
|
1163
|
-
const h = (v =
|
|
1164
|
-
for (let
|
|
1165
|
-
if (W.value[
|
|
1166
|
-
W.value.splice(
|
|
1161
|
+
for (const I of T(M))
|
|
1162
|
+
if (I.id === b) {
|
|
1163
|
+
const h = (v = I.pages.peek()) == null ? void 0 : v.id;
|
|
1164
|
+
for (let L = W.value.length - 1; L >= 0; L--)
|
|
1165
|
+
if (W.value[L] === h) {
|
|
1166
|
+
W.value.splice(L, 1), I.active && (he.value = !1, le(() => {
|
|
1167
1167
|
he.value = !0;
|
|
1168
1168
|
}));
|
|
1169
1169
|
break;
|
|
@@ -1176,8 +1176,8 @@ const Ce = () => {
|
|
|
1176
1176
|
b.add(v.pages.peek().id);
|
|
1177
1177
|
});
|
|
1178
1178
|
for (let v = W.value.length - 1; v >= 0; v--) {
|
|
1179
|
-
const
|
|
1180
|
-
b.has(
|
|
1179
|
+
const I = W.value[v];
|
|
1180
|
+
b.has(I) && W.value.splice(v, 1);
|
|
1181
1181
|
}
|
|
1182
1182
|
le(() => {
|
|
1183
1183
|
he.value = !1, le(() => {
|
|
@@ -1186,62 +1186,62 @@ const Ce = () => {
|
|
|
1186
1186
|
}, 300);
|
|
1187
1187
|
});
|
|
1188
1188
|
});
|
|
1189
|
-
},
|
|
1189
|
+
}, d = (b, v) => {
|
|
1190
1190
|
ae.set(b, v);
|
|
1191
|
-
},
|
|
1191
|
+
}, k = (b) => ae.get(b), _ = (b) => {
|
|
1192
1192
|
ae.delete(b);
|
|
1193
|
-
},
|
|
1193
|
+
}, $ = (b) => {
|
|
1194
1194
|
de.add(b);
|
|
1195
|
-
},
|
|
1195
|
+
}, z = () => {
|
|
1196
1196
|
if (de.size > 0) {
|
|
1197
1197
|
for (let b = W.value.length - 1; b >= 0; b--)
|
|
1198
|
-
de.has(W.value[b]) &&
|
|
1198
|
+
de.has(W.value[b]) && T(W).splice(b, 1);
|
|
1199
1199
|
for (const b of de)
|
|
1200
|
-
|
|
1200
|
+
_(b);
|
|
1201
1201
|
de.clear();
|
|
1202
1202
|
}
|
|
1203
|
-
},
|
|
1203
|
+
}, U = (b) => {
|
|
1204
1204
|
for (let v = W.value.length - 1; v >= 0; v--)
|
|
1205
|
-
b === W.value[v] &&
|
|
1205
|
+
b === W.value[v] && T(W).splice(v, 1);
|
|
1206
1206
|
}, A = (b) => {
|
|
1207
1207
|
new Set(W.value).has(b) || W.value.push(b);
|
|
1208
1208
|
}, C = (b, v = !0) => {
|
|
1209
1209
|
e.emit("FORWARD");
|
|
1210
|
-
for (let
|
|
1211
|
-
const h = M.value[
|
|
1210
|
+
for (let I = M.value.length - 1; I >= 0; I--) {
|
|
1211
|
+
const h = M.value[I];
|
|
1212
1212
|
if (h.id === b) {
|
|
1213
1213
|
if (h.active)
|
|
1214
1214
|
break;
|
|
1215
|
-
if (h.active = !0,
|
|
1216
|
-
const
|
|
1215
|
+
if (h.active = !0, q(h), v) {
|
|
1216
|
+
const L = h.pages.peek();
|
|
1217
1217
|
t.push({
|
|
1218
|
-
path:
|
|
1219
|
-
query:
|
|
1218
|
+
path: L.path,
|
|
1219
|
+
query: L.query
|
|
1220
1220
|
});
|
|
1221
1221
|
}
|
|
1222
1222
|
} else
|
|
1223
|
-
M.value[
|
|
1223
|
+
M.value[I].active = !1;
|
|
1224
1224
|
}
|
|
1225
|
-
},
|
|
1226
|
-
window.sessionStorage.setItem(
|
|
1225
|
+
}, q = (b) => {
|
|
1226
|
+
window.sessionStorage.setItem(De + Je, JSON.stringify(b));
|
|
1227
1227
|
}, re = () => {
|
|
1228
|
-
window.sessionStorage.removeItem(
|
|
1228
|
+
window.sessionStorage.removeItem(De + Je);
|
|
1229
1229
|
}, Le = () => {
|
|
1230
1230
|
he.value = !1, wt(), le(() => {
|
|
1231
|
-
|
|
1232
|
-
id:
|
|
1231
|
+
T(M).push(...Ke), e.emit(j.TAB_ACTIVE, {
|
|
1232
|
+
id: Ke[0].id
|
|
1233
1233
|
}), le(() => {
|
|
1234
1234
|
he.value = !0;
|
|
1235
1235
|
});
|
|
1236
1236
|
});
|
|
1237
1237
|
}, wt = () => {
|
|
1238
|
-
|
|
1238
|
+
T(M).splice(0), ae.clear(), de.clear(), H.clear(), T(W).splice(0);
|
|
1239
1239
|
};
|
|
1240
1240
|
return {
|
|
1241
1241
|
tabs: M,
|
|
1242
1242
|
caches: W,
|
|
1243
1243
|
pageShown: he,
|
|
1244
|
-
initialed:
|
|
1244
|
+
initialed: Lt,
|
|
1245
1245
|
setMaxSize: (b) => {
|
|
1246
1246
|
$e = b;
|
|
1247
1247
|
},
|
|
@@ -1252,31 +1252,31 @@ const Ce = () => {
|
|
|
1252
1252
|
destroy: wt,
|
|
1253
1253
|
reset: Le,
|
|
1254
1254
|
addCache: A,
|
|
1255
|
-
removeCache:
|
|
1255
|
+
removeCache: U,
|
|
1256
1256
|
getTab: a,
|
|
1257
|
-
addTab:
|
|
1258
|
-
removeTab:
|
|
1259
|
-
removeAllTabs:
|
|
1260
|
-
removeLeftTabs:
|
|
1261
|
-
removeRightTabs:
|
|
1262
|
-
removeOtherTabs:
|
|
1257
|
+
addTab: f,
|
|
1258
|
+
removeTab: B,
|
|
1259
|
+
removeAllTabs: E,
|
|
1260
|
+
removeLeftTabs: y,
|
|
1261
|
+
removeRightTabs: S,
|
|
1262
|
+
removeOtherTabs: g,
|
|
1263
1263
|
hasTab: o,
|
|
1264
|
-
renewTab:
|
|
1264
|
+
renewTab: x,
|
|
1265
1265
|
addPage: c,
|
|
1266
|
-
addComponent:
|
|
1267
|
-
getComponent:
|
|
1268
|
-
removeComponent:
|
|
1269
|
-
markDeletableCache:
|
|
1270
|
-
removeDeletableCache:
|
|
1271
|
-
refreshTab:
|
|
1266
|
+
addComponent: d,
|
|
1267
|
+
getComponent: k,
|
|
1268
|
+
removeComponent: _,
|
|
1269
|
+
markDeletableCache: $,
|
|
1270
|
+
removeDeletableCache: z,
|
|
1271
|
+
refreshTab: m,
|
|
1272
1272
|
refreshAllTabs: O,
|
|
1273
|
-
addPageScroller:
|
|
1273
|
+
addPageScroller: w,
|
|
1274
1274
|
setGlobalScroll: (b) => {
|
|
1275
|
-
|
|
1275
|
+
zt = b;
|
|
1276
1276
|
},
|
|
1277
1277
|
clearSession: re,
|
|
1278
1278
|
setSessionPrefix: (b) => {
|
|
1279
|
-
|
|
1279
|
+
De = b;
|
|
1280
1280
|
}
|
|
1281
1281
|
};
|
|
1282
1282
|
}, bs = { class: "stack-tab__contextmenu-item" }, ce = /* @__PURE__ */ ee({
|
|
@@ -1294,7 +1294,7 @@ const Ce = () => {
|
|
|
1294
1294
|
style: { "margin-left": "8px" },
|
|
1295
1295
|
onContextmenu: n[0] || (n[0] = Ie(() => {
|
|
1296
1296
|
}, ["prevent"]))
|
|
1297
|
-
},
|
|
1297
|
+
}, Gt(e.title), 33)
|
|
1298
1298
|
]));
|
|
1299
1299
|
}
|
|
1300
1300
|
}), vs = {
|
|
@@ -1317,70 +1317,70 @@ const Ce = () => {
|
|
|
1317
1317
|
}), {
|
|
1318
1318
|
removeTab: o,
|
|
1319
1319
|
removeAllTabs: i,
|
|
1320
|
-
removeLeftTabs:
|
|
1320
|
+
removeLeftTabs: f,
|
|
1321
1321
|
removeRightTabs: a,
|
|
1322
1322
|
refreshTab: c,
|
|
1323
1323
|
refreshAllTabs: p,
|
|
1324
|
-
removeOtherTabs:
|
|
1324
|
+
removeOtherTabs: u
|
|
1325
1325
|
} = Ce();
|
|
1326
|
-
return
|
|
1327
|
-
const l = s.value ? s.value.clientWidth : 0,
|
|
1328
|
-
r.left + l >
|
|
1329
|
-
}), (l,
|
|
1326
|
+
return Ze(() => {
|
|
1327
|
+
const l = s.value ? s.value.clientWidth : 0, w = window.innerWidth;
|
|
1328
|
+
r.left + l > w && (r.left = w - l - 5);
|
|
1329
|
+
}), (l, w) => (R(), V("div", {
|
|
1330
1330
|
ref_key: "contextmenu",
|
|
1331
1331
|
ref: s,
|
|
1332
1332
|
class: "stack-tab__contextmenu",
|
|
1333
|
-
style:
|
|
1333
|
+
style: He({
|
|
1334
1334
|
left: `${r.left}px`,
|
|
1335
1335
|
top: `${r.top}px`,
|
|
1336
|
-
"z-index":
|
|
1336
|
+
"z-index": T(ft)(".stack-tab,.stack-tab *")
|
|
1337
1337
|
})
|
|
1338
1338
|
}, [
|
|
1339
1339
|
N(ce, {
|
|
1340
1340
|
icon: "stack-tab__icon-reload svg-mask",
|
|
1341
|
-
title:
|
|
1342
|
-
onClick:
|
|
1341
|
+
title: T(n)("VueStackTab.reload"),
|
|
1342
|
+
onClick: w[0] || (w[0] = (x) => T(c)(l.tabItem.id))
|
|
1343
1343
|
}, null, 8, ["title"]),
|
|
1344
1344
|
N(ce, {
|
|
1345
1345
|
icon: "stack-tab__icon-reload-all svg-mask",
|
|
1346
|
-
title:
|
|
1347
|
-
onClick:
|
|
1346
|
+
title: T(n)("VueStackTab.reloadAll"),
|
|
1347
|
+
onClick: T(p)
|
|
1348
1348
|
}, null, 8, ["title", "onClick"]),
|
|
1349
1349
|
N(ce, {
|
|
1350
1350
|
icon: "stack-tab__icon-close svg-mask",
|
|
1351
|
-
title:
|
|
1351
|
+
title: T(n)("VueStackTab.close"),
|
|
1352
1352
|
disabled: l.tabItem.closable ? null : "disabled",
|
|
1353
|
-
onClick:
|
|
1353
|
+
onClick: w[1] || (w[1] = (x) => T(o)(l.tabItem.id))
|
|
1354
1354
|
}, null, 8, ["title", "disabled"]),
|
|
1355
1355
|
N(ce, {
|
|
1356
1356
|
icon: "stack-tab__icon-close-lefts svg-mask",
|
|
1357
|
-
title:
|
|
1357
|
+
title: T(n)("VueStackTab.closeLeft"),
|
|
1358
1358
|
disabled: l.index <= 0 ? "disabled" : null,
|
|
1359
|
-
onClick:
|
|
1359
|
+
onClick: w[2] || (w[2] = (x) => T(f)(l.tabItem.id))
|
|
1360
1360
|
}, null, 8, ["title", "disabled"]),
|
|
1361
1361
|
N(ce, {
|
|
1362
1362
|
icon: "stack-tab__icon-close-rights svg-mask",
|
|
1363
|
-
title:
|
|
1363
|
+
title: T(n)("VueStackTab.closeRight"),
|
|
1364
1364
|
disabled: l.index >= l.max - 1 ? "disabled" : null,
|
|
1365
|
-
onClick:
|
|
1365
|
+
onClick: w[3] || (w[3] = (x) => T(a)(l.tabItem.id))
|
|
1366
1366
|
}, null, 8, ["title", "disabled"]),
|
|
1367
1367
|
N(ce, {
|
|
1368
1368
|
icon: "stack-tab__icon-close-others svg-mask",
|
|
1369
|
-
title:
|
|
1370
|
-
onClick:
|
|
1369
|
+
title: T(n)("VueStackTab.closeOthers"),
|
|
1370
|
+
onClick: w[4] || (w[4] = (x) => T(u)(l.tabItem.id))
|
|
1371
1371
|
}, null, 8, ["title"]),
|
|
1372
1372
|
N(ce, {
|
|
1373
1373
|
icon: "stack-tab__icon-close-all svg-mask",
|
|
1374
|
-
title:
|
|
1375
|
-
onClick:
|
|
1374
|
+
title: T(n)("VueStackTab.closeAll"),
|
|
1375
|
+
onClick: T(i)
|
|
1376
1376
|
}, null, 8, ["title", "onClick"]),
|
|
1377
1377
|
l.contextMenu !== void 0 && l.contextMenu.length > 0 ? (R(), V("div", vs)) : se("", !0),
|
|
1378
|
-
(R(!0), V(
|
|
1379
|
-
key:
|
|
1380
|
-
icon:
|
|
1381
|
-
title:
|
|
1382
|
-
disabled:
|
|
1383
|
-
onClick: (
|
|
1378
|
+
(R(!0), V(Xe, null, lt(l.contextMenu, (x, B) => (R(), ge(ce, {
|
|
1379
|
+
key: B,
|
|
1380
|
+
icon: x.icon,
|
|
1381
|
+
title: x.title,
|
|
1382
|
+
disabled: x.disabled(l.tabItem) ? "disabled" : null,
|
|
1383
|
+
onClick: (E) => !x.disabled && x.callback(l.tabItem.id)
|
|
1384
1384
|
}, null, 8, ["icon", "title", "disabled", "onClick"]))), 128))
|
|
1385
1385
|
], 4));
|
|
1386
1386
|
}
|
|
@@ -1397,15 +1397,15 @@ const Ce = () => {
|
|
|
1397
1397
|
top: 0,
|
|
1398
1398
|
max: 0
|
|
1399
1399
|
}), e = D(!1);
|
|
1400
|
-
|
|
1400
|
+
Ze(() => {
|
|
1401
1401
|
document.addEventListener("click", s);
|
|
1402
|
-
}),
|
|
1402
|
+
}), je(() => {
|
|
1403
1403
|
document.removeEventListener("click", s);
|
|
1404
1404
|
});
|
|
1405
|
-
const n = async (r, o, i,
|
|
1405
|
+
const n = async (r, o, i, f) => {
|
|
1406
1406
|
e.value = !1, await le(() => {
|
|
1407
1407
|
const { clientY: a, clientX: c } = r;
|
|
1408
|
-
e.value = !0, Object.assign(t, { item: o, index: i, top: a, left: c, max:
|
|
1408
|
+
e.value = !0, Object.assign(t, { item: o, index: i, top: a, left: c, max: f });
|
|
1409
1409
|
});
|
|
1410
1410
|
}, s = (r) => {
|
|
1411
1411
|
r.target.classList.contains("stack-tab__contextmenu") || (e.value = !1);
|
|
@@ -1423,33 +1423,33 @@ const Ce = () => {
|
|
|
1423
1423
|
emits: ["close", "active"],
|
|
1424
1424
|
setup(t, { emit: e }) {
|
|
1425
1425
|
const n = e, s = ye(), { t: r } = Me(), o = D(), i = t;
|
|
1426
|
-
s.on(
|
|
1427
|
-
i.item.id === p && c(
|
|
1426
|
+
s.on(j.TAB_ACTIVE, ({ id: p, isRoute: u }) => {
|
|
1427
|
+
i.item.id === p && c(u);
|
|
1428
1428
|
});
|
|
1429
|
-
const
|
|
1429
|
+
const f = ke(() => i.item.title || r("undefined")), a = () => {
|
|
1430
1430
|
n("close", i.item);
|
|
1431
1431
|
}, c = (p = !0) => {
|
|
1432
1432
|
n("active", i.item, o, p);
|
|
1433
1433
|
};
|
|
1434
|
-
return (p,
|
|
1434
|
+
return (p, u) => (R(), V("li", {
|
|
1435
1435
|
ref_key: "curtab",
|
|
1436
1436
|
ref: o,
|
|
1437
1437
|
class: fe(["stack-tab__item", {
|
|
1438
1438
|
"is-active": p.item.active,
|
|
1439
1439
|
"is-icon": p.item.closable
|
|
1440
1440
|
}]),
|
|
1441
|
-
onClick:
|
|
1441
|
+
onClick: u[0] || (u[0] = (l) => c(!0))
|
|
1442
1442
|
}, [
|
|
1443
1443
|
Q("div", ks, [
|
|
1444
1444
|
Q("div", {
|
|
1445
1445
|
class: "stack-tab__item-title-content",
|
|
1446
|
-
title:
|
|
1447
|
-
},
|
|
1446
|
+
title: f.value
|
|
1447
|
+
}, Gt(f.value), 9, _s)
|
|
1448
1448
|
]),
|
|
1449
1449
|
p.item.closable ? (R(), V("div", {
|
|
1450
1450
|
key: 0,
|
|
1451
1451
|
class: "stack-tab__icon-close-fill stack-tab__item-button",
|
|
1452
|
-
title:
|
|
1452
|
+
title: T(r)("VueStackTab.close"),
|
|
1453
1453
|
onClick: Ie(a, ["stop"])
|
|
1454
1454
|
}, null, 8, xs)) : se("", !0)
|
|
1455
1455
|
], 2));
|
|
@@ -1463,11 +1463,11 @@ var ve = [], Ss = function() {
|
|
|
1463
1463
|
return ve.some(function(t) {
|
|
1464
1464
|
return t.skippedTargets.length > 0;
|
|
1465
1465
|
});
|
|
1466
|
-
},
|
|
1466
|
+
}, Rt = "ResizeObserver loop completed with undelivered notifications.", As = function() {
|
|
1467
1467
|
var t;
|
|
1468
1468
|
typeof ErrorEvent == "function" ? t = new ErrorEvent("error", {
|
|
1469
|
-
message:
|
|
1470
|
-
}) : (t = document.createEvent("Event"), t.initEvent("error", !1, !1), t.message =
|
|
1469
|
+
message: Rt
|
|
1470
|
+
}) : (t = document.createEvent("Event"), t.initEvent("error", !1, !1), t.message = Rt), window.dispatchEvent(t);
|
|
1471
1471
|
}, Be;
|
|
1472
1472
|
(function(t) {
|
|
1473
1473
|
t.BORDER_BOX = "border-box", t.CONTENT_BOX = "content-box", t.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
|
|
@@ -1479,26 +1479,26 @@ var me = function(t) {
|
|
|
1479
1479
|
this.inlineSize = e, this.blockSize = n, me(this);
|
|
1480
1480
|
}
|
|
1481
1481
|
return t;
|
|
1482
|
-
}(),
|
|
1482
|
+
}(), ln = function() {
|
|
1483
1483
|
function t(e, n, s, r) {
|
|
1484
1484
|
return this.x = e, this.y = n, this.width = s, this.height = r, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, me(this);
|
|
1485
1485
|
}
|
|
1486
1486
|
return t.prototype.toJSON = function() {
|
|
1487
|
-
var e = this, n = e.x, s = e.y, r = e.top, o = e.right, i = e.bottom,
|
|
1488
|
-
return { x: n, y: s, top: r, right: o, bottom: i, left:
|
|
1487
|
+
var e = this, n = e.x, s = e.y, r = e.top, o = e.right, i = e.bottom, f = e.left, a = e.width, c = e.height;
|
|
1488
|
+
return { x: n, y: s, top: r, right: o, bottom: i, left: f, width: a, height: c };
|
|
1489
1489
|
}, t.fromRect = function(e) {
|
|
1490
1490
|
return new t(e.x, e.y, e.width, e.height);
|
|
1491
1491
|
}, t;
|
|
1492
1492
|
}(), gt = function(t) {
|
|
1493
1493
|
return t instanceof SVGElement && "getBBox" in t;
|
|
1494
|
-
},
|
|
1494
|
+
}, un = function(t) {
|
|
1495
1495
|
if (gt(t)) {
|
|
1496
1496
|
var e = t.getBBox(), n = e.width, s = e.height;
|
|
1497
1497
|
return !n && !s;
|
|
1498
1498
|
}
|
|
1499
1499
|
var r = t, o = r.offsetWidth, i = r.offsetHeight;
|
|
1500
1500
|
return !(o || i || t.getClientRects().length);
|
|
1501
|
-
},
|
|
1501
|
+
}, $t = function(t) {
|
|
1502
1502
|
var e;
|
|
1503
1503
|
if (t instanceof Element)
|
|
1504
1504
|
return !0;
|
|
@@ -1519,29 +1519,29 @@ var me = function(t) {
|
|
|
1519
1519
|
return !0;
|
|
1520
1520
|
}
|
|
1521
1521
|
return !1;
|
|
1522
|
-
}, Ae = typeof window < "u" ? window : {},
|
|
1522
|
+
}, Ae = typeof window < "u" ? window : {}, Pe = /* @__PURE__ */ new WeakMap(), Dt = /auto|scroll/, Bs = /^tb|vertical/, Ms = /msie|trident/i.test(Ae.navigator && Ae.navigator.userAgent), K = function(t) {
|
|
1523
1523
|
return parseFloat(t || "0");
|
|
1524
1524
|
}, _e = function(t, e, n) {
|
|
1525
1525
|
return t === void 0 && (t = 0), e === void 0 && (e = 0), n === void 0 && (n = !1), new Es((n ? e : t) || 0, (n ? t : e) || 0);
|
|
1526
|
-
},
|
|
1526
|
+
}, Pt = me({
|
|
1527
1527
|
devicePixelContentBoxSize: _e(),
|
|
1528
1528
|
borderBoxSize: _e(),
|
|
1529
1529
|
contentBoxSize: _e(),
|
|
1530
|
-
contentRect: new
|
|
1531
|
-
}),
|
|
1532
|
-
if (e === void 0 && (e = !1),
|
|
1533
|
-
return
|
|
1534
|
-
if (
|
|
1535
|
-
return
|
|
1536
|
-
var n = getComputedStyle(t), s = gt(t) && t.ownerSVGElement && t.getBBox(), r = !Ms && n.boxSizing === "border-box", o = Bs.test(n.writingMode || ""), i = !s &&
|
|
1537
|
-
devicePixelContentBoxSize: _e(Math.round(
|
|
1538
|
-
borderBoxSize: _e(
|
|
1539
|
-
contentBoxSize: _e(
|
|
1540
|
-
contentRect: new
|
|
1530
|
+
contentRect: new ln(0, 0, 0, 0)
|
|
1531
|
+
}), fn = function(t, e) {
|
|
1532
|
+
if (e === void 0 && (e = !1), Pe.has(t) && !e)
|
|
1533
|
+
return Pe.get(t);
|
|
1534
|
+
if (un(t))
|
|
1535
|
+
return Pe.set(t, Pt), Pt;
|
|
1536
|
+
var n = getComputedStyle(t), s = gt(t) && t.ownerSVGElement && t.getBBox(), r = !Ms && n.boxSizing === "border-box", o = Bs.test(n.writingMode || ""), i = !s && Dt.test(n.overflowY || ""), f = !s && Dt.test(n.overflowX || ""), a = s ? 0 : K(n.paddingTop), c = s ? 0 : K(n.paddingRight), p = s ? 0 : K(n.paddingBottom), u = s ? 0 : K(n.paddingLeft), l = s ? 0 : K(n.borderTopWidth), w = s ? 0 : K(n.borderRightWidth), x = s ? 0 : K(n.borderBottomWidth), B = s ? 0 : K(n.borderLeftWidth), E = u + c, g = a + p, y = B + w, S = l + x, m = f ? t.offsetHeight - S - t.clientHeight : 0, O = i ? t.offsetWidth - y - t.clientWidth : 0, d = r ? E + y : 0, k = r ? g + S : 0, _ = s ? s.width : K(n.width) - d - O, $ = s ? s.height : K(n.height) - k - m, z = _ + E + O + y, U = $ + g + m + S, A = me({
|
|
1537
|
+
devicePixelContentBoxSize: _e(Math.round(_ * devicePixelRatio), Math.round($ * devicePixelRatio), o),
|
|
1538
|
+
borderBoxSize: _e(z, U, o),
|
|
1539
|
+
contentBoxSize: _e(_, $, o),
|
|
1540
|
+
contentRect: new ln(u, a, _, $)
|
|
1541
1541
|
});
|
|
1542
|
-
return
|
|
1543
|
-
},
|
|
1544
|
-
var s =
|
|
1542
|
+
return Pe.set(t, A), A;
|
|
1543
|
+
}, dn = function(t, e, n) {
|
|
1544
|
+
var s = fn(t, n), r = s.borderBoxSize, o = s.contentBoxSize, i = s.devicePixelContentBoxSize;
|
|
1545
1545
|
switch (e) {
|
|
1546
1546
|
case Be.DEVICE_PIXEL_CONTENT_BOX:
|
|
1547
1547
|
return i;
|
|
@@ -1552,12 +1552,12 @@ var me = function(t) {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
}, Cs = /* @__PURE__ */ function() {
|
|
1554
1554
|
function t(e) {
|
|
1555
|
-
var n =
|
|
1555
|
+
var n = fn(e);
|
|
1556
1556
|
this.target = e, this.contentRect = n.contentRect, this.borderBoxSize = me([n.borderBoxSize]), this.contentBoxSize = me([n.contentBoxSize]), this.devicePixelContentBoxSize = me([n.devicePixelContentBoxSize]);
|
|
1557
1557
|
}
|
|
1558
1558
|
return t;
|
|
1559
|
-
}(),
|
|
1560
|
-
if (
|
|
1559
|
+
}(), hn = function(t) {
|
|
1560
|
+
if (un(t))
|
|
1561
1561
|
return 1 / 0;
|
|
1562
1562
|
for (var e = 0, n = t.parentNode; n; )
|
|
1563
1563
|
e += 1, n = n.parentNode;
|
|
@@ -1566,12 +1566,12 @@ var me = function(t) {
|
|
|
1566
1566
|
var t = 1 / 0, e = [];
|
|
1567
1567
|
ve.forEach(function(i) {
|
|
1568
1568
|
if (i.activeTargets.length !== 0) {
|
|
1569
|
-
var
|
|
1569
|
+
var f = [];
|
|
1570
1570
|
i.activeTargets.forEach(function(c) {
|
|
1571
|
-
var p = new Cs(c.target),
|
|
1572
|
-
|
|
1571
|
+
var p = new Cs(c.target), u = hn(c.target);
|
|
1572
|
+
f.push(p), c.lastReportedSize = dn(c.target, c.observedBox), u < t && (t = u);
|
|
1573
1573
|
}), e.push(function() {
|
|
1574
|
-
i.callback.call(i.observer,
|
|
1574
|
+
i.callback.call(i.observer, f, i.observer);
|
|
1575
1575
|
}), i.activeTargets.splice(0, i.activeTargets.length);
|
|
1576
1576
|
}
|
|
1577
1577
|
});
|
|
@@ -1580,19 +1580,19 @@ var me = function(t) {
|
|
|
1580
1580
|
r();
|
|
1581
1581
|
}
|
|
1582
1582
|
return t;
|
|
1583
|
-
},
|
|
1583
|
+
}, Nt = function(t) {
|
|
1584
1584
|
ve.forEach(function(n) {
|
|
1585
1585
|
n.activeTargets.splice(0, n.activeTargets.length), n.skippedTargets.splice(0, n.skippedTargets.length), n.observationTargets.forEach(function(r) {
|
|
1586
|
-
r.isActive() && (
|
|
1586
|
+
r.isActive() && (hn(r.target) > t ? n.activeTargets.push(r) : n.skippedTargets.push(r));
|
|
1587
1587
|
});
|
|
1588
1588
|
});
|
|
1589
1589
|
}, zs = function() {
|
|
1590
1590
|
var t = 0;
|
|
1591
|
-
for (
|
|
1592
|
-
t = Ls(),
|
|
1591
|
+
for (Nt(t); Ss(); )
|
|
1592
|
+
t = Ls(), Nt(t);
|
|
1593
1593
|
return Os() && As(), t > 0;
|
|
1594
|
-
}, Qe,
|
|
1595
|
-
return
|
|
1594
|
+
}, Qe, pn = [], Rs = function() {
|
|
1595
|
+
return pn.splice(0).forEach(function(t) {
|
|
1596
1596
|
return t();
|
|
1597
1597
|
});
|
|
1598
1598
|
}, $s = function(t) {
|
|
@@ -1604,14 +1604,14 @@ var me = function(t) {
|
|
|
1604
1604
|
n.textContent = "".concat(e ? e-- : e++);
|
|
1605
1605
|
};
|
|
1606
1606
|
}
|
|
1607
|
-
|
|
1607
|
+
pn.push(t), Qe();
|
|
1608
1608
|
}, Ds = function(t) {
|
|
1609
1609
|
$s(function() {
|
|
1610
1610
|
requestAnimationFrame(t);
|
|
1611
1611
|
});
|
|
1612
|
-
},
|
|
1613
|
-
return !!
|
|
1614
|
-
}, Ns = 250, Ws = { attributes: !0, characterData: !0, childList: !0, subtree: !0 },
|
|
1612
|
+
}, Ue = 0, Ps = function() {
|
|
1613
|
+
return !!Ue;
|
|
1614
|
+
}, Ns = 250, Ws = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, Wt = [
|
|
1615
1615
|
"resize",
|
|
1616
1616
|
"load",
|
|
1617
1617
|
"transitionend",
|
|
@@ -1626,7 +1626,7 @@ var me = function(t) {
|
|
|
1626
1626
|
"mouseout",
|
|
1627
1627
|
"blur",
|
|
1628
1628
|
"focus"
|
|
1629
|
-
],
|
|
1629
|
+
], Vt = function(t) {
|
|
1630
1630
|
return t === void 0 && (t = 0), Date.now() + t;
|
|
1631
1631
|
}, et = !1, Vs = function() {
|
|
1632
1632
|
function t() {
|
|
@@ -1639,13 +1639,13 @@ var me = function(t) {
|
|
|
1639
1639
|
var n = this;
|
|
1640
1640
|
if (e === void 0 && (e = Ns), !et) {
|
|
1641
1641
|
et = !0;
|
|
1642
|
-
var s =
|
|
1642
|
+
var s = Vt(e);
|
|
1643
1643
|
Ds(function() {
|
|
1644
1644
|
var r = !1;
|
|
1645
1645
|
try {
|
|
1646
1646
|
r = zs();
|
|
1647
1647
|
} finally {
|
|
1648
|
-
if (et = !1, e = s -
|
|
1648
|
+
if (et = !1, e = s - Vt(), !Ps())
|
|
1649
1649
|
return;
|
|
1650
1650
|
r ? n.run(1e3) : e > 0 ? n.run(e) : n.start();
|
|
1651
1651
|
}
|
|
@@ -1660,17 +1660,17 @@ var me = function(t) {
|
|
|
1660
1660
|
document.body ? n() : Ae.addEventListener("DOMContentLoaded", n);
|
|
1661
1661
|
}, t.prototype.start = function() {
|
|
1662
1662
|
var e = this;
|
|
1663
|
-
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(),
|
|
1663
|
+
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), Wt.forEach(function(n) {
|
|
1664
1664
|
return Ae.addEventListener(n, e.listener, !0);
|
|
1665
1665
|
}));
|
|
1666
1666
|
}, t.prototype.stop = function() {
|
|
1667
1667
|
var e = this;
|
|
1668
|
-
this.stopped || (this.observer && this.observer.disconnect(),
|
|
1668
|
+
this.stopped || (this.observer && this.observer.disconnect(), Wt.forEach(function(n) {
|
|
1669
1669
|
return Ae.removeEventListener(n, e.listener, !0);
|
|
1670
1670
|
}), this.stopped = !0);
|
|
1671
1671
|
}, t;
|
|
1672
|
-
}(), it = new Vs(),
|
|
1673
|
-
!
|
|
1672
|
+
}(), it = new Vs(), Ut = function(t) {
|
|
1673
|
+
!Ue && t > 0 && it.start(), Ue += t, !Ue && it.stop();
|
|
1674
1674
|
}, Us = function(t) {
|
|
1675
1675
|
return !gt(t) && !Is(t) && getComputedStyle(t).display === "inline";
|
|
1676
1676
|
}, qs = function() {
|
|
@@ -1681,7 +1681,7 @@ var me = function(t) {
|
|
|
1681
1681
|
};
|
|
1682
1682
|
}
|
|
1683
1683
|
return t.prototype.isActive = function() {
|
|
1684
|
-
var e =
|
|
1684
|
+
var e = dn(this.target, this.observedBox, !0);
|
|
1685
1685
|
return Us(this.target) && (this.lastReportedSize = e), this.lastReportedSize.inlineSize !== e.inlineSize || this.lastReportedSize.blockSize !== e.blockSize;
|
|
1686
1686
|
}, t;
|
|
1687
1687
|
}(), Fs = /* @__PURE__ */ function() {
|
|
@@ -1689,51 +1689,51 @@ var me = function(t) {
|
|
|
1689
1689
|
this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = e, this.callback = n;
|
|
1690
1690
|
}
|
|
1691
1691
|
return t;
|
|
1692
|
-
}(),
|
|
1692
|
+
}(), Ne = /* @__PURE__ */ new WeakMap(), qt = function(t, e) {
|
|
1693
1693
|
for (var n = 0; n < t.length; n += 1)
|
|
1694
1694
|
if (t[n].target === e)
|
|
1695
1695
|
return n;
|
|
1696
1696
|
return -1;
|
|
1697
|
-
},
|
|
1697
|
+
}, We = function() {
|
|
1698
1698
|
function t() {
|
|
1699
1699
|
}
|
|
1700
1700
|
return t.connect = function(e, n) {
|
|
1701
1701
|
var s = new Fs(e, n);
|
|
1702
|
-
|
|
1702
|
+
Ne.set(e, s);
|
|
1703
1703
|
}, t.observe = function(e, n, s) {
|
|
1704
|
-
var r =
|
|
1705
|
-
|
|
1704
|
+
var r = Ne.get(e), o = r.observationTargets.length === 0;
|
|
1705
|
+
qt(r.observationTargets, n) < 0 && (o && ve.push(r), r.observationTargets.push(new qs(n, s && s.box)), Ut(1), it.schedule());
|
|
1706
1706
|
}, t.unobserve = function(e, n) {
|
|
1707
|
-
var s =
|
|
1708
|
-
r >= 0 && (o && ve.splice(ve.indexOf(s), 1), s.observationTargets.splice(r, 1),
|
|
1707
|
+
var s = Ne.get(e), r = qt(s.observationTargets, n), o = s.observationTargets.length === 1;
|
|
1708
|
+
r >= 0 && (o && ve.splice(ve.indexOf(s), 1), s.observationTargets.splice(r, 1), Ut(-1));
|
|
1709
1709
|
}, t.disconnect = function(e) {
|
|
1710
|
-
var n = this, s =
|
|
1710
|
+
var n = this, s = Ne.get(e);
|
|
1711
1711
|
s.observationTargets.slice().forEach(function(r) {
|
|
1712
1712
|
return n.unobserve(e, r.target);
|
|
1713
1713
|
}), s.activeTargets.splice(0, s.activeTargets.length);
|
|
1714
1714
|
}, t;
|
|
1715
|
-
}(),
|
|
1715
|
+
}(), Ft = function() {
|
|
1716
1716
|
function t(e) {
|
|
1717
1717
|
if (arguments.length === 0)
|
|
1718
1718
|
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1719
1719
|
if (typeof e != "function")
|
|
1720
1720
|
throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
|
|
1721
|
-
|
|
1721
|
+
We.connect(this, e);
|
|
1722
1722
|
}
|
|
1723
1723
|
return t.prototype.observe = function(e, n) {
|
|
1724
1724
|
if (arguments.length === 0)
|
|
1725
1725
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1726
|
-
if (
|
|
1726
|
+
if (!$t(e))
|
|
1727
1727
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
1728
|
-
|
|
1728
|
+
We.observe(this, e, n);
|
|
1729
1729
|
}, t.prototype.unobserve = function(e) {
|
|
1730
1730
|
if (arguments.length === 0)
|
|
1731
1731
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1732
|
-
if (
|
|
1732
|
+
if (!$t(e))
|
|
1733
1733
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
1734
|
-
|
|
1734
|
+
We.unobserve(this, e);
|
|
1735
1735
|
}, t.prototype.disconnect = function() {
|
|
1736
|
-
|
|
1736
|
+
We.disconnect(this);
|
|
1737
1737
|
}, t.toString = function() {
|
|
1738
1738
|
return "function ResizeObserver () { [polyfill code] }";
|
|
1739
1739
|
}, t;
|
|
@@ -1775,7 +1775,7 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1775
1775
|
isScrollButton: { type: Boolean, default: !0 }
|
|
1776
1776
|
},
|
|
1777
1777
|
setup(t, { expose: e }) {
|
|
1778
|
-
const n = D(null), s = D(null), r = D(null), o = D(!1), i = D(!1),
|
|
1778
|
+
const n = D(null), s = D(null), r = D(null), o = D(!1), i = D(!1), f = D(!1), a = D(!0), c = D(), p = t, u = Ee({
|
|
1779
1779
|
clientWidth: 0,
|
|
1780
1780
|
scrollWidth: 0,
|
|
1781
1781
|
scrollLeft: 0
|
|
@@ -1785,101 +1785,101 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1785
1785
|
startThumbLeft: 0,
|
|
1786
1786
|
startPageX: 0
|
|
1787
1787
|
});
|
|
1788
|
-
|
|
1789
|
-
|
|
1788
|
+
kn(u, (A) => {
|
|
1789
|
+
w(A);
|
|
1790
1790
|
});
|
|
1791
|
-
const
|
|
1792
|
-
i.value = A.scrollLeft <= 10,
|
|
1793
|
-
},
|
|
1794
|
-
if (!
|
|
1795
|
-
const { clientWidth: A, scrollWidth: C } =
|
|
1791
|
+
const w = (A) => {
|
|
1792
|
+
i.value = A.scrollLeft <= 10, f.value = A.clientWidth + A.scrollLeft - A.scrollWidth >= -10, a.value = A.scrollWidth !== A.clientWidth;
|
|
1793
|
+
}, x = ke(() => u.scrollWidth > u.clientWidth), B = ke(() => {
|
|
1794
|
+
if (!x.value) return 0;
|
|
1795
|
+
const { clientWidth: A, scrollWidth: C } = u;
|
|
1796
1796
|
return A / C * A;
|
|
1797
|
-
}),
|
|
1798
|
-
if (!
|
|
1799
|
-
const { clientWidth: A, scrollWidth: C, scrollLeft:
|
|
1800
|
-
return (A -
|
|
1801
|
-
}),
|
|
1797
|
+
}), E = ke(() => {
|
|
1798
|
+
if (!x.value) return 0;
|
|
1799
|
+
const { clientWidth: A, scrollWidth: C, scrollLeft: q } = u;
|
|
1800
|
+
return (A - B.value) * (q / (C - A));
|
|
1801
|
+
}), g = () => {
|
|
1802
1802
|
if (n.value === null || n.value === void 0)
|
|
1803
1803
|
return;
|
|
1804
|
-
const { clientWidth: A, scrollWidth: C, scrollLeft:
|
|
1805
|
-
Object.assign(
|
|
1806
|
-
},
|
|
1804
|
+
const { clientWidth: A, scrollWidth: C, scrollLeft: q } = n.value;
|
|
1805
|
+
Object.assign(u, { clientWidth: A, scrollWidth: C, scrollLeft: q });
|
|
1806
|
+
}, y = new Ft(() => {
|
|
1807
1807
|
var C;
|
|
1808
|
-
|
|
1808
|
+
g();
|
|
1809
1809
|
const A = (C = n.value) == null ? void 0 : C.querySelector(".stack-tab__item.is-active");
|
|
1810
|
-
A && (
|
|
1811
|
-
}),
|
|
1810
|
+
A && (U(A) || z(A));
|
|
1811
|
+
}), S = new Ft(() => {
|
|
1812
1812
|
var A;
|
|
1813
|
-
if (!
|
|
1813
|
+
if (!x.value) {
|
|
1814
1814
|
const C = (A = n.value) == null ? void 0 : A.querySelector(".stack-tab__item.is-active");
|
|
1815
|
-
C && (
|
|
1815
|
+
C && (U(C) || z(C));
|
|
1816
1816
|
}
|
|
1817
|
-
|
|
1818
|
-
}),
|
|
1819
|
-
|
|
1817
|
+
g();
|
|
1818
|
+
}), m = (A, C = !0) => {
|
|
1819
|
+
sn({ wrap: n.value, left: A, smooth: C });
|
|
1820
1820
|
}, O = (A) => {
|
|
1821
|
-
|
|
1822
|
-
},
|
|
1821
|
+
m(n.value.scrollLeft + A);
|
|
1822
|
+
}, d = (A) => {
|
|
1823
1823
|
const C = A.deltaY < 0;
|
|
1824
|
-
|
|
1825
|
-
},
|
|
1824
|
+
m(n.value.scrollLeft + (C ? -p.space : p.space));
|
|
1825
|
+
}, k = (A) => {
|
|
1826
1826
|
var C;
|
|
1827
1827
|
Object.assign(l, {
|
|
1828
1828
|
startPageX: A.pageX,
|
|
1829
1829
|
startScrollLeft: (C = n.value) == null ? void 0 : C.scrollLeft,
|
|
1830
|
-
startThumbLeft:
|
|
1831
|
-
thumbLeft:
|
|
1832
|
-
}), o.value = !0, document.addEventListener("mousemove",
|
|
1833
|
-
},
|
|
1834
|
-
const { clientWidth: C, scrollWidth:
|
|
1830
|
+
startThumbLeft: E.value,
|
|
1831
|
+
thumbLeft: E.value
|
|
1832
|
+
}), o.value = !0, document.addEventListener("mousemove", _), document.addEventListener("mouseup", $);
|
|
1833
|
+
}, _ = (A) => {
|
|
1834
|
+
const { clientWidth: C, scrollWidth: q } = u;
|
|
1835
1835
|
let re = l.startThumbLeft + A.pageX - l.startPageX;
|
|
1836
|
-
const Le = C -
|
|
1837
|
-
re < 0 ? re = 0 : re > Le && (re = Le), l.thumbLeft = re,
|
|
1838
|
-
},
|
|
1839
|
-
o.value = !1, document.removeEventListener("mousemove",
|
|
1836
|
+
const Le = C - B.value;
|
|
1837
|
+
re < 0 ? re = 0 : re > Le && (re = Le), l.thumbLeft = re, m(re * (q - C) / (C - B.value), !1), A.preventDefault();
|
|
1838
|
+
}, $ = (A) => {
|
|
1839
|
+
o.value = !1, document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", $), A.preventDefault();
|
|
1840
1840
|
};
|
|
1841
|
-
|
|
1841
|
+
Ze(() => {
|
|
1842
1842
|
var C;
|
|
1843
|
-
|
|
1843
|
+
y.observe(c.value);
|
|
1844
1844
|
const A = (C = n.value) == null ? void 0 : C.querySelector(".stack-tab__nav");
|
|
1845
|
-
|
|
1846
|
-
}),
|
|
1847
|
-
|
|
1845
|
+
S.observe(A);
|
|
1846
|
+
}), je(() => {
|
|
1847
|
+
y.disconnect(), S.disconnect();
|
|
1848
1848
|
});
|
|
1849
|
-
const
|
|
1849
|
+
const z = (A) => {
|
|
1850
1850
|
qn({ el: A, wrap: n, block: "end", inline: "center" });
|
|
1851
|
-
},
|
|
1852
|
-
if (!
|
|
1851
|
+
}, U = (A) => {
|
|
1852
|
+
if (!x.value)
|
|
1853
1853
|
return !0;
|
|
1854
|
-
const C = A.offsetLeft,
|
|
1855
|
-
return !(C <
|
|
1854
|
+
const C = A.offsetLeft, q = n.value.scrollLeft;
|
|
1855
|
+
return !(C < q || C + A.clientWidth > q + n.value.clientWidth);
|
|
1856
1856
|
};
|
|
1857
|
-
return e({ scrollIntoView:
|
|
1857
|
+
return e({ scrollIntoView: z, isInView: U }), (A, C) => (R(), V(Xe, null, [
|
|
1858
1858
|
a.value ? (R(), ge(at, {
|
|
1859
1859
|
key: 0,
|
|
1860
1860
|
"icon-class": "stack-tab__icon-left-arrow",
|
|
1861
1861
|
disabled: i.value,
|
|
1862
|
-
onClick: C[0] || (C[0] = (
|
|
1862
|
+
onClick: C[0] || (C[0] = (q) => !i.value && O(-1 * A.space))
|
|
1863
1863
|
}, null, 8, ["disabled"])) : se("", !0),
|
|
1864
1864
|
Q("div", {
|
|
1865
1865
|
ref_key: "headerScroll",
|
|
1866
1866
|
ref: c,
|
|
1867
1867
|
class: "stack-tab__scroll",
|
|
1868
|
-
onWheelPassive:
|
|
1868
|
+
onWheelPassive: d
|
|
1869
1869
|
}, [
|
|
1870
1870
|
Q("div", {
|
|
1871
1871
|
ref_key: "container",
|
|
1872
1872
|
ref: n,
|
|
1873
1873
|
class: fe(["stack-tab__scroll-container", {
|
|
1874
|
-
"stack-tab__shadow-inset-left": !i.value &&
|
|
1875
|
-
"stack-tab__shadow-inset-right": !
|
|
1876
|
-
"stack-tab__shadow-inset-all": !i.value && !
|
|
1874
|
+
"stack-tab__shadow-inset-left": !i.value && f.value,
|
|
1875
|
+
"stack-tab__shadow-inset-right": !f.value && i.value,
|
|
1876
|
+
"stack-tab__shadow-inset-all": !i.value && !f.value
|
|
1877
1877
|
}]),
|
|
1878
|
-
onScrollPassive:
|
|
1878
|
+
onScrollPassive: g
|
|
1879
1879
|
}, [
|
|
1880
1880
|
xe(A.$slots, "default")
|
|
1881
1881
|
], 34),
|
|
1882
|
-
|
|
1882
|
+
Yt(Q("div", {
|
|
1883
1883
|
ref_key: "bar",
|
|
1884
1884
|
ref: s,
|
|
1885
1885
|
class: fe(["stack-tab__scrollbar", { "is-dragging": o.value }])
|
|
@@ -1888,21 +1888,21 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1888
1888
|
ref_key: "thumb",
|
|
1889
1889
|
ref: r,
|
|
1890
1890
|
class: fe(["stack-tab__scrollbar-thumb", { "is-dragging": o.value }]),
|
|
1891
|
-
style:
|
|
1892
|
-
width: `${
|
|
1893
|
-
transform: `translateX(${
|
|
1891
|
+
style: He({
|
|
1892
|
+
width: `${B.value}px`,
|
|
1893
|
+
transform: `translateX(${E.value}px)`
|
|
1894
1894
|
}),
|
|
1895
|
-
onMousedown: Ie(
|
|
1895
|
+
onMousedown: Ie(k, ["prevent"])
|
|
1896
1896
|
}, null, 38)
|
|
1897
1897
|
], 2), [
|
|
1898
|
-
[
|
|
1898
|
+
[Kt, x.value]
|
|
1899
1899
|
])
|
|
1900
1900
|
], 544),
|
|
1901
1901
|
a.value ? (R(), ge(at, {
|
|
1902
1902
|
key: 1,
|
|
1903
1903
|
"icon-class": "stack-tab__icon-right-arrow",
|
|
1904
|
-
disabled:
|
|
1905
|
-
onClick: C[1] || (C[1] = (
|
|
1904
|
+
disabled: f.value,
|
|
1905
|
+
onClick: C[1] || (C[1] = (q) => !f.value && O(A.space))
|
|
1906
1906
|
}, null, 8, ["disabled"])) : se("", !0)
|
|
1907
1907
|
], 64));
|
|
1908
1908
|
}
|
|
@@ -1919,42 +1919,42 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1919
1919
|
},
|
|
1920
1920
|
emits: ["active"],
|
|
1921
1921
|
setup(t, { emit: e }) {
|
|
1922
|
-
const { t: n } = Me(), s = ct("maximum"), r = e, o = D(), { shown: i, contextMenuData:
|
|
1922
|
+
const { t: n } = Me(), s = ct("maximum"), r = e, o = D(), { shown: i, contextMenuData: f, showContextMenu: a } = ws(), c = t, { removeTab: p, active: u, tabs: l } = Ce(), w = ke(() => typeof c.tabTransition == "string" ? {
|
|
1923
1923
|
name: c.tabTransition
|
|
1924
|
-
} : c.tabTransition),
|
|
1925
|
-
|
|
1926
|
-
},
|
|
1924
|
+
} : c.tabTransition), x = ke(() => c.tabScrollMode === be.BOTH || c.tabScrollMode === be.BUTTON), B = c.tabScrollMode === be.BOTH || c.tabScrollMode === be.WHEEL, E = (y) => {
|
|
1925
|
+
y.closable && p(y.id), i.value = !1;
|
|
1926
|
+
}, g = (y, S, m) => {
|
|
1927
1927
|
o.value && (le(() => {
|
|
1928
|
-
o.value.isInView(
|
|
1929
|
-
}),
|
|
1928
|
+
o.value.isInView(S.value) || o.value.scrollIntoView(S.value);
|
|
1929
|
+
}), u(y.id, m), r("active", y.id));
|
|
1930
1930
|
};
|
|
1931
|
-
return (
|
|
1932
|
-
xe(
|
|
1931
|
+
return (y, S) => (R(), V("div", Xs, [
|
|
1932
|
+
xe(y.$slots, "leftButton"),
|
|
1933
1933
|
N(js, {
|
|
1934
1934
|
ref_key: "scroll",
|
|
1935
1935
|
ref: o,
|
|
1936
|
-
space:
|
|
1937
|
-
"is-scroll-wheel":
|
|
1938
|
-
"is-scroll-button":
|
|
1936
|
+
space: y.space,
|
|
1937
|
+
"is-scroll-wheel": T(B),
|
|
1938
|
+
"is-scroll-button": x.value
|
|
1939
1939
|
}, {
|
|
1940
1940
|
default: ue(() => [
|
|
1941
|
-
N(
|
|
1941
|
+
N(Jt, _n({
|
|
1942
1942
|
key: "tabItemTrans",
|
|
1943
1943
|
tag: "ul",
|
|
1944
1944
|
class: "stack-tab__nav"
|
|
1945
|
-
},
|
|
1945
|
+
}, w.value, { appear: "" }), {
|
|
1946
1946
|
default: ue(() => [
|
|
1947
|
-
(R(!0), V(
|
|
1948
|
-
key:
|
|
1949
|
-
contextmenu:
|
|
1950
|
-
item:
|
|
1947
|
+
(R(!0), V(Xe, null, lt(T(l), (m, O) => (R(), ge(Ts, {
|
|
1948
|
+
key: m.id,
|
|
1949
|
+
contextmenu: y.contextmenu,
|
|
1950
|
+
item: m,
|
|
1951
1951
|
onContextmenu: Ie(
|
|
1952
|
-
(
|
|
1952
|
+
(d) => T(a)(d, m, O, T(l).length),
|
|
1953
1953
|
["prevent"]
|
|
1954
1954
|
),
|
|
1955
|
-
onMouseup: Ie((
|
|
1956
|
-
onClose:
|
|
1957
|
-
onActive:
|
|
1955
|
+
onMouseup: Ie((d) => E(m), ["middle", "prevent"]),
|
|
1956
|
+
onClose: E,
|
|
1957
|
+
onActive: g
|
|
1958
1958
|
}, null, 8, ["contextmenu", "item", "onContextmenu", "onMouseup"]))), 128))
|
|
1959
1959
|
]),
|
|
1960
1960
|
_: 1
|
|
@@ -1962,24 +1962,24 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1962
1962
|
]),
|
|
1963
1963
|
_: 1
|
|
1964
1964
|
}, 8, ["space", "is-scroll-wheel", "is-scroll-button"]),
|
|
1965
|
-
xe(
|
|
1965
|
+
xe(y.$slots, "rightButton"),
|
|
1966
1966
|
N(at, {
|
|
1967
|
-
"icon-class":
|
|
1968
|
-
title:
|
|
1969
|
-
onClick:
|
|
1967
|
+
"icon-class": T(s) ? "stack-tab__icon-restore" : "stack-tab__icon-fullscreen",
|
|
1968
|
+
title: T(n)("VueStackTab.maximum"),
|
|
1969
|
+
onClick: S[0] || (S[0] = (m) => s.value = !T(s))
|
|
1970
1970
|
}, null, 8, ["icon-class", "title"]),
|
|
1971
|
-
N(
|
|
1971
|
+
N(Qt, {
|
|
1972
1972
|
name: "stack-tab-zoom",
|
|
1973
1973
|
appear: ""
|
|
1974
1974
|
}, {
|
|
1975
1975
|
default: ue(() => [
|
|
1976
|
-
|
|
1976
|
+
T(i) ? (R(), ge(ys, {
|
|
1977
1977
|
key: "tabMenuTrans",
|
|
1978
|
-
left:
|
|
1979
|
-
top:
|
|
1980
|
-
"tab-item":
|
|
1981
|
-
max:
|
|
1982
|
-
index:
|
|
1978
|
+
left: T(f).left,
|
|
1979
|
+
top: T(f).top,
|
|
1980
|
+
"tab-item": T(f).item,
|
|
1981
|
+
max: T(f).max,
|
|
1982
|
+
index: T(f).index
|
|
1983
1983
|
}, null, 8, ["left", "top", "tab-item", "max", "index"])) : se("", !0)
|
|
1984
1984
|
]),
|
|
1985
1985
|
_: 1
|
|
@@ -1988,80 +1988,80 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1988
1988
|
}
|
|
1989
1989
|
});
|
|
1990
1990
|
function Ys(t, e, n) {
|
|
1991
|
-
var s = {}, r = s.noTrailing, o = r === void 0 ? !1 : r, i = s.noLeading,
|
|
1992
|
-
function
|
|
1991
|
+
var s = {}, r = s.noTrailing, o = r === void 0 ? !1 : r, i = s.noLeading, f = i === void 0 ? !1 : i, a = s.debounceMode, c = a === void 0 ? void 0 : a, p, u = !1, l = 0;
|
|
1992
|
+
function w() {
|
|
1993
1993
|
p && clearTimeout(p);
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1996
|
-
var
|
|
1997
|
-
|
|
1995
|
+
function x(E) {
|
|
1996
|
+
var g = E || {}, y = g.upcomingOnly, S = y === void 0 ? !1 : y;
|
|
1997
|
+
w(), u = !S;
|
|
1998
1998
|
}
|
|
1999
|
-
function
|
|
2000
|
-
for (var
|
|
2001
|
-
y
|
|
2002
|
-
var
|
|
2003
|
-
if (
|
|
1999
|
+
function B() {
|
|
2000
|
+
for (var E = arguments.length, g = new Array(E), y = 0; y < E; y++)
|
|
2001
|
+
g[y] = arguments[y];
|
|
2002
|
+
var S = this, m = Date.now() - l;
|
|
2003
|
+
if (u)
|
|
2004
2004
|
return;
|
|
2005
2005
|
function O() {
|
|
2006
|
-
l = Date.now(), e.apply(
|
|
2006
|
+
l = Date.now(), e.apply(S, g);
|
|
2007
2007
|
}
|
|
2008
|
-
function
|
|
2008
|
+
function d() {
|
|
2009
2009
|
p = void 0;
|
|
2010
2010
|
}
|
|
2011
|
-
!
|
|
2011
|
+
!f && c && !p && O(), w(), c === void 0 && m > t ? f ? (l = Date.now(), o || (p = setTimeout(c ? d : O, t))) : O() : o !== !0 && (p = setTimeout(c ? d : O, c === void 0 ? t - m : t));
|
|
2012
2012
|
}
|
|
2013
|
-
return
|
|
2013
|
+
return B.cancel = x, B;
|
|
2014
2014
|
}
|
|
2015
|
-
let
|
|
2015
|
+
let Ht;
|
|
2016
2016
|
const Ks = () => {
|
|
2017
|
-
const t = ut(), { active: e, hasTab: n, pageShown: s, reset: r, canAddTab: o, renewTab: i, getTab:
|
|
2017
|
+
const t = ut(), { active: e, hasTab: n, pageShown: s, reset: r, canAddTab: o, renewTab: i, getTab: f } = Ce(), a = ye(), c = Ys(500, (w, x = !1) => new Promise((B, E) => {
|
|
2018
2018
|
if (!s.value) {
|
|
2019
|
-
|
|
2019
|
+
E();
|
|
2020
2020
|
return;
|
|
2021
2021
|
}
|
|
2022
|
-
const
|
|
2022
|
+
const g = ne(w, {
|
|
2023
2023
|
refreshable: !0,
|
|
2024
2024
|
closable: !0,
|
|
2025
2025
|
iframe: !1
|
|
2026
2026
|
});
|
|
2027
|
-
if (
|
|
2028
|
-
i(
|
|
2029
|
-
const
|
|
2030
|
-
|
|
2027
|
+
if (g.id && x && n(g.id)) {
|
|
2028
|
+
i(w);
|
|
2029
|
+
const y = f(w.id);
|
|
2030
|
+
y != null && y.active && (s.value = !1, le(() => {
|
|
2031
2031
|
s.value = !0;
|
|
2032
2032
|
}));
|
|
2033
2033
|
}
|
|
2034
|
-
if (n(
|
|
2035
|
-
a.emit(
|
|
2034
|
+
if (n(g.id) && !x) {
|
|
2035
|
+
a.emit(j.TAB_ACTIVE, { id: g.id }), B(g.id);
|
|
2036
2036
|
return;
|
|
2037
2037
|
}
|
|
2038
|
-
if (
|
|
2039
|
-
|
|
2038
|
+
if (g.id || (g.id = tt()), !o()) {
|
|
2039
|
+
E("Max Size");
|
|
2040
2040
|
return;
|
|
2041
2041
|
}
|
|
2042
|
-
p(
|
|
2043
|
-
})), p = (
|
|
2044
|
-
const
|
|
2045
|
-
let
|
|
2042
|
+
p(w, g), B(g.id);
|
|
2043
|
+
})), p = (w, x) => {
|
|
2044
|
+
const B = rt(x);
|
|
2045
|
+
let E = ne(
|
|
2046
2046
|
{
|
|
2047
|
-
__tab:
|
|
2047
|
+
__tab: B
|
|
2048
2048
|
},
|
|
2049
|
-
|
|
2050
|
-
),
|
|
2051
|
-
if (
|
|
2052
|
-
const
|
|
2053
|
-
|
|
2049
|
+
w.query
|
|
2050
|
+
), g;
|
|
2051
|
+
if (w.iframe) {
|
|
2052
|
+
const y = encodeURIComponent(w.path);
|
|
2053
|
+
g = Ht, E.__src = y;
|
|
2054
2054
|
} else {
|
|
2055
|
-
const
|
|
2056
|
-
|
|
2055
|
+
const y = mt(w.path);
|
|
2056
|
+
g = y.path, E = ne(y.query, E);
|
|
2057
2057
|
}
|
|
2058
2058
|
t.push({
|
|
2059
|
-
path:
|
|
2060
|
-
query:
|
|
2059
|
+
path: g,
|
|
2060
|
+
query: E
|
|
2061
2061
|
});
|
|
2062
2062
|
};
|
|
2063
|
-
return { openNewTab: c, setIFramePath: (
|
|
2064
|
-
|
|
2063
|
+
return { openNewTab: c, setIFramePath: (w) => {
|
|
2064
|
+
Ht = w;
|
|
2065
2065
|
}, active: e, reset: r, getWrapper: () => document.getElementsByClassName("cache-page-wrapper")[0] };
|
|
2066
2066
|
}, Js = { class: "stack-tab__container" }, Qs = ["src"], er = /* @__PURE__ */ ee({
|
|
2067
2067
|
__name: "StackTabs",
|
|
@@ -2084,62 +2084,64 @@ const Ks = () => {
|
|
|
2084
2084
|
},
|
|
2085
2085
|
emits: ["onActive", "onPageLoaded"],
|
|
2086
2086
|
setup(t, { emit: e }) {
|
|
2087
|
-
const { tabs: n,
|
|
2088
|
-
|
|
2089
|
-
const { setIFramePath:
|
|
2090
|
-
|
|
2091
|
-
|
|
2087
|
+
const { tabs: n, initialed: s, pageShown: r, caches: o, destroy: i, addPage: f, initial: a, setMaxSize: c, setGlobalScroll: p, clearSession: u, setSessionPrefix: l } = Ce(), w = e, x = t, { changeLocale: B } = Me(), E = D(!1);
|
|
2088
|
+
xn("maximum", E);
|
|
2089
|
+
const { setIFramePath: g } = Ks();
|
|
2090
|
+
g(x.iframePath), p(x.globalScroll), B(x.i18n), Tn(() => {
|
|
2091
|
+
l(x.sessionPrefix), a(x.defaultTabs);
|
|
2092
2092
|
});
|
|
2093
|
-
const y = (
|
|
2094
|
-
|
|
2093
|
+
const y = (k, _) => f(k, _), S = (k) => {
|
|
2094
|
+
w("onActive", k);
|
|
2095
2095
|
};
|
|
2096
|
-
|
|
2097
|
-
|
|
2096
|
+
c(x.max), Tt(() => {
|
|
2097
|
+
i();
|
|
2098
2098
|
});
|
|
2099
|
-
const
|
|
2100
|
-
|
|
2101
|
-
},
|
|
2102
|
-
return
|
|
2103
|
-
|
|
2104
|
-
}),
|
|
2105
|
-
|
|
2106
|
-
}), (
|
|
2107
|
-
|
|
2099
|
+
const m = () => {
|
|
2100
|
+
w("onPageLoaded");
|
|
2101
|
+
}, O = D(x.pageTransition), d = ye();
|
|
2102
|
+
return d.on("FORWARD", () => {
|
|
2103
|
+
O.value = x.pageTransition;
|
|
2104
|
+
}), d.on("BACKWARD", () => {
|
|
2105
|
+
O.value = x.pageTransitionBack;
|
|
2106
|
+
}), Tt(() => {
|
|
2107
|
+
u();
|
|
2108
|
+
}), (k, _) => {
|
|
2109
|
+
const $ = Xt("router-view");
|
|
2108
2110
|
return R(), V("div", {
|
|
2109
2111
|
class: fe(["stack-tab", { "stack-tab__maximum": E.value }]),
|
|
2110
|
-
style:
|
|
2111
|
-
width:
|
|
2112
|
-
height:
|
|
2113
|
-
"z-index": E.value ?
|
|
2112
|
+
style: He({
|
|
2113
|
+
width: k.width,
|
|
2114
|
+
height: k.height,
|
|
2115
|
+
"z-index": E.value ? T(ft)("body *:not(.stack-tab,.stack-tab *)") : void 0
|
|
2114
2116
|
})
|
|
2115
2117
|
}, [
|
|
2116
2118
|
N(Gs, {
|
|
2117
|
-
space:
|
|
2118
|
-
onActive:
|
|
2119
|
-
"tab-transition":
|
|
2120
|
-
max:
|
|
2119
|
+
space: k.space,
|
|
2120
|
+
onActive: S,
|
|
2121
|
+
"tab-transition": k.tabTransition,
|
|
2122
|
+
max: k.max
|
|
2121
2123
|
}, {
|
|
2122
2124
|
leftButton: ue(() => [
|
|
2123
|
-
xe(
|
|
2125
|
+
xe(k.$slots, "leftButton")
|
|
2124
2126
|
]),
|
|
2125
2127
|
rightButton: ue(() => [
|
|
2126
|
-
xe(
|
|
2128
|
+
xe(k.$slots, "rightButton")
|
|
2127
2129
|
]),
|
|
2128
2130
|
_: 3
|
|
2129
2131
|
}, 8, ["space", "tab-transition", "max"]),
|
|
2130
2132
|
Q("div", Js, [
|
|
2131
|
-
N(
|
|
2132
|
-
default: ue(({ Component:
|
|
2133
|
-
N(
|
|
2134
|
-
name:
|
|
2133
|
+
N($, null, {
|
|
2134
|
+
default: ue(({ Component: z, route: U }) => [
|
|
2135
|
+
N(Qt, {
|
|
2136
|
+
name: O.value,
|
|
2135
2137
|
appear: "",
|
|
2136
2138
|
mode: "out-in"
|
|
2137
2139
|
}, {
|
|
2138
2140
|
default: ue(() => [
|
|
2139
|
-
(R(), ge(Sn, { include:
|
|
2140
|
-
|
|
2141
|
-
key: `${
|
|
2142
|
-
onOnLoaded:
|
|
2141
|
+
(R(), ge(Sn, { include: T(o) }, [
|
|
2142
|
+
T(r) ? (R(), ge(On(y(U, z)), {
|
|
2143
|
+
key: `${U.name}_${U.fullPath}`,
|
|
2144
|
+
onOnLoaded: m
|
|
2143
2145
|
}, null, 32)) : se("", !0)
|
|
2144
2146
|
], 1032, ["include"]))
|
|
2145
2147
|
]),
|
|
@@ -2148,18 +2150,18 @@ const Ks = () => {
|
|
|
2148
2150
|
]),
|
|
2149
2151
|
_: 1
|
|
2150
2152
|
}),
|
|
2151
|
-
N(
|
|
2152
|
-
name:
|
|
2153
|
+
N(Jt, {
|
|
2154
|
+
name: k.pageTransition,
|
|
2153
2155
|
appear: ""
|
|
2154
2156
|
}, {
|
|
2155
2157
|
default: ue(() => [
|
|
2156
|
-
(R(!0), V(
|
|
2157
|
-
key:
|
|
2158
|
+
(R(!0), V(Xe, null, lt(T(n).filter((z) => z.iframe), (z) => Yt((R(), V("iframe", {
|
|
2159
|
+
key: z.id,
|
|
2158
2160
|
class: "stack-tab__iframe",
|
|
2159
|
-
src: /^(javascript|data):/i.test(
|
|
2161
|
+
src: /^(javascript|data):/i.test(z.url ?? "") ? "about:blank" : z.url,
|
|
2160
2162
|
frameborder: "0"
|
|
2161
2163
|
}, null, 8, Qs)), [
|
|
2162
|
-
[
|
|
2164
|
+
[Kt, z.active]
|
|
2163
2165
|
])), 128))
|
|
2164
2166
|
]),
|
|
2165
2167
|
_: 1
|
|
@@ -2170,7 +2172,7 @@ const Ks = () => {
|
|
|
2170
2172
|
}
|
|
2171
2173
|
}), yt = typeof Buffer == "function";
|
|
2172
2174
|
typeof TextDecoder == "function" && new TextDecoder();
|
|
2173
|
-
const
|
|
2175
|
+
const Zt = typeof TextEncoder == "function" ? new TextEncoder() : void 0, tr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Te = Array.prototype.slice.call(tr);
|
|
2174
2176
|
((t) => {
|
|
2175
2177
|
let e = {};
|
|
2176
2178
|
return t.forEach((n, s) => e[n] = s), e;
|
|
@@ -2180,17 +2182,17 @@ typeof Uint8Array.from == "function" && Uint8Array.from.bind(Uint8Array);
|
|
|
2180
2182
|
const nr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" : "_"), sr = (t) => {
|
|
2181
2183
|
let e, n, s, r, o = "";
|
|
2182
2184
|
const i = t.length % 3;
|
|
2183
|
-
for (let
|
|
2184
|
-
if ((n = t.charCodeAt(
|
|
2185
|
+
for (let f = 0; f < t.length; ) {
|
|
2186
|
+
if ((n = t.charCodeAt(f++)) > 255 || (s = t.charCodeAt(f++)) > 255 || (r = t.charCodeAt(f++)) > 255)
|
|
2185
2187
|
throw new TypeError("invalid character found");
|
|
2186
2188
|
e = n << 16 | s << 8 | r, o += Te[e >> 18 & 63] + Te[e >> 12 & 63] + Te[e >> 6 & 63] + Te[e & 63];
|
|
2187
2189
|
}
|
|
2188
2190
|
return i ? o.slice(0, i - 3) + "===".substring(i) : o;
|
|
2189
|
-
},
|
|
2191
|
+
}, bn = typeof btoa == "function" ? (t) => btoa(t) : yt ? (t) => Buffer.from(t, "binary").toString("base64") : sr, rr = yt ? (t) => Buffer.from(t).toString("base64") : (t) => {
|
|
2190
2192
|
let n = [];
|
|
2191
2193
|
for (let s = 0, r = t.length; s < r; s += 4096)
|
|
2192
2194
|
n.push(J.apply(null, t.subarray(s, s + 4096)));
|
|
2193
|
-
return
|
|
2195
|
+
return bn(n.join(""));
|
|
2194
2196
|
}, or = (t) => {
|
|
2195
2197
|
if (t.length < 2) {
|
|
2196
2198
|
var e = t.charCodeAt(0);
|
|
@@ -2199,69 +2201,69 @@ const nr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2199
2201
|
var e = 65536 + (t.charCodeAt(0) - 55296) * 1024 + (t.charCodeAt(1) - 56320);
|
|
2200
2202
|
return J(240 | e >>> 18 & 7) + J(128 | e >>> 12 & 63) + J(128 | e >>> 6 & 63) + J(128 | e & 63);
|
|
2201
2203
|
}
|
|
2202
|
-
}, ir = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, ar = (t) => t.replace(ir, or),
|
|
2203
|
-
const s = `<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1167.06 237.75"><path d="M79.24,19.73h108.91v29.7h-108.91v-29.7Z" style="fill:#79a7ff; stroke-width:0px;"/><path d="M179.24,199.67H20.26c-11.21-.07-20.26-9.17-20.26-20.38V20.39C0,9.18,9.05.07,20.26,0h59.49c3.51.07,6.34,2.9,6.41,6.42v44.36c0,3.54-2.87,6.41-6.41,6.41s-6.41-2.86-6.42-6.4V12.36H20.25c-4.13.07-7.44,3.44-7.44,7.56v159.41c0,4.13,3.31,7.49,7.44,7.56h158.98c4.13-.07,7.44-3.44,7.44-7.56V51.84c0-3.54,2.87-6.41,6.41-6.42,3.55,0,6.42,2.87,6.42,6.42v127.45c0,11.21-9.05,20.32-20.26,20.39h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M192.8,60.77c-3.66-.07-6.61-3.02-6.68-6.68v-18.23c.09-4.29-3.32-7.83-7.6-7.92h-96.43c-3.69,0-6.69-2.99-6.69-6.69s2.99-6.69,6.69-6.69h96.27c11.69.08,21.13,9.58,21.13,21.27v18.25c0,3.69-2.99,6.68-6.68,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M193.08,58.67H10.15c-3.61-.08-6.48-3.07-6.41-6.68-.08-3.62,2.79-6.61,6.4-6.69,0,0,0,0,0,0h182.93c3.62.08,6.48,3.08,6.41,6.69.07,3.61-2.79,6.6-6.41,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M137.2,58.67c-3.42.24-6.4-2.32-6.68-5.74v-28.15c.55-3.69,4-6.24,7.69-5.69,2.94.44,5.24,2.75,5.69,5.69v28.15c-.28,3.42-3.26,5.98-6.68,5.74h-.02Z" style="fill:#377dff; stroke-width:0px;"/><path d="M99.78,100.48l-12.83-22.22h-18.39l31.22,54.05,31.22-54.05h-18.39l-12.83,22.22Z" style="fill:#00d797; stroke-width:0px;"/><path d="M135.28,78.26l-35.49,61.43-35.44-61.43h-20.11l55.55,96.2,55.55-96.2s-20.06,0-20.06,0ZM313.33,59.95c0,.52-.67,1.84-2,3.95s-3.3,5.2-5.9,9.28-5.75,9.28-9.46,15.61c-3.7,6.33-7.52,13.34-11.45,21.04-4.51,8.85-7.76,15.8-9.76,20.86s-2.99,9.41-2.99,13.05c0,2.89,1.53,5.44,4.6,7.63,3.7-2.89,7.34-6.33,10.93-10.32,3.58-3.99,7.13-8.44,10.63-13.36s7.55-11.13,12.14-18.65c4.6-7.52,8.69-14.43,12.27-20.73-.17-.52-.36-1.04-.56-1.56s-.3-.95-.3-1.3c0-2.72.55-5.26,1.65-7.63,1.1-2.37,2.47-4.68,4.12-6.94s4.12-5.44,7.42-9.54c.87-1.1,1.94-1.65,3.21-1.65,2.08,0,3.12,1.33,3.12,3.99s-1.08,6.84-3.25,12.53c-2.17,5.7-5.37,12.39-9.59,20.08s-9.47,16.29-15.74,25.81c-6.28,9.51-13.37,19.45-21.3,29.8-8.04,10.47-13.79,15.7-17.26,15.7-1.97,0-4.19-1.08-6.68-3.25s-4.63-5.13-6.42-8.89-2.69-7.78-2.69-12.06c0-2.54.53-5.81,1.6-9.8s2.75-8.78,5.03-14.36,4.87-11.09,7.76-16.53c3.01-5.72,5.65-10.47,7.94-14.23,2.28-3.76,4.87-7.94,7.76-12.53,2.89-4.6,4.34-7.1,4.34-7.5,0-.87-.58-1.3-1.73-1.3-3.35,0-7.82,1.71-13.4,5.12s-12.85,8.59-21.82,15.53c-3.41,2.66-5.57,4.38-6.46,5.16s-1.34,1.43-1.34,1.95c0,.69.55,1.04,1.65,1.04.46,0,2.02-.17,4.68-.52s4.77-.52,6.33-.52c2.6,0,3.9.46,3.9,1.39,0,.81-.54,1.45-1.61,1.91-1.07.46-2.54.93-4.42,1.39s-4.44,1.1-7.68,1.91c-3.47.93-7.16,2.25-11.06,3.99-3.9,1.73-6.14,2.6-6.72,2.6-1.1,0-1.78-.4-2.04-1.21s-.39-2.14-.39-3.99c0-8.21,1.36-14.56,4.08-19.04s7.58-9.15,14.57-14.01c7.98-5.55,15.61-10.16,22.9-13.84,7.29-3.67,13.58-6.36,18.87-8.07s9.18-2.56,11.67-2.56,4.84,1.56,7.24,4.68,3.6,6.42,3.6,9.89h0ZM366.34,124.75c-8.39,11.1-14.76,19-19.13,23.68s-7.94,7.03-10.71,7.03c-2.2,0-4.22-.91-6.07-2.73-1.85-1.82-3.28-4.28-4.29-7.37s-1.52-6.4-1.52-9.93c0-2.31.22-4.39.65-6.25.43-1.85,1.26-3.89,2.47-6.12s2.82-4.64,4.81-7.24c2-2.6,4.44-5.55,7.33-8.85,1.73-2.02,3.19-3.73,4.38-5.12,1.18-1.39,2.34-2.33,3.47-2.82s2.96-.74,5.51-.74c1.85,0,3.61.25,5.29.74,1.68.49,2.52,1,2.52,1.52,0,1.04-.85,2.92-2.56,5.64s-4.45,6.03-8.24,9.93c-3.79,3.9-8.17,7.74-13.14,11.49-1.1,3.41-1.65,6.01-1.65,7.81,0,2.49.95,3.73,2.86,3.73.69,0,1.85-.59,3.47-1.78,1.62-1.18,4.35-3.47,8.2-6.85,3.84-3.38,7.3-6.38,10.37-8.98,2.25-1.97,4.87-4.9,7.85-8.8s5.39-6.84,7.24-8.8c4.28-4.51,7.2-7.44,8.76-8.8s3.06-2.04,4.51-2.04,2.33.43,2.82,1.3c.49.87.74,2.63.74,5.29,0,1.21-.12,2.2-.35,2.95s-.71,1.72-1.43,2.91-2.18,3.37-4.38,6.55-4.8,6.94-7.81,11.28c-1.66,2.38-3.09,4.93-4.25,7.59-1.21,2.75-1.82,4.81-1.82,6.2,0,3.01,1.18,4.51,3.56,4.51,1.96,0,4.25-.81,6.85-2.43s6.59-4.54,11.97-8.76v5.81c-6.77,6.25-11.77,10.79-15.01,13.62s-6.04,4.97-8.41,6.42-4.63,2.17-6.77,2.17c-4.86,0-7.29-2.89-7.29-8.67,0-2.2.72-5.16,2.17-8.89,1.44-3.73,3.79-9.12,7.03-16.18v-.02Z" style="fill:#306fff; stroke-width:0px;"/><path d="M407.71,133.77v2.17c0,3.41.84,6.07,2.52,7.98,1.68,1.91,3.87,2.86,6.59,2.86s5.77-.66,8.8-2c3.04-1.33,6.06-3.09,9.07-5.29s6.68-5.15,11.02-8.85v5.29c-6.54,7.87-12.67,13.89-18.39,18.09-5.72,4.19-11.54,6.29-17.44,6.29-5.15,0-9.22-2-12.23-5.99s-4.51-9.46-4.51-16.39c0-6.07,1.42-11.58,4.25-16.52s7.46-10.16,13.88-15.66c4.39-3.76,8.76-6.59,13.1-8.5s8.21-2.86,11.62-2.86c2.72,0,4.87.62,6.46,1.86s2.39,3.11,2.39,5.59c0,3.64-1.36,7.27-4.08,10.89s-6.87,7.2-12.45,10.76c-5.58,3.56-12.45,6.98-20.6,10.28h0ZM408.58,128.13c5.2-2.02,9.66-4.54,13.36-7.55,3.7-3.01,6.43-5.88,8.2-8.63,1.76-2.75,2.65-4.76,2.65-6.03s-.61-2-1.82-2c-1.04,0-2.73.67-5.07,2s-4.71,3.07-7.11,5.21-4.55,4.66-6.46,7.55c-1.9,2.86-3.17,6.08-3.73,9.46h-.02ZM585.37,132.9c-1.45-2.66-3.61-5.06-6.51-7.2-2.89-2.14-6.15-3.86-9.76-5.16s-7.39-2.27-11.32-2.91c-11.68-1.74-22.58-5.52-32.7-11.36-.87-.46-1.79-1.44-2.78-2.95-.98-1.5-1.47-2.95-1.47-4.34,0-5.09.85-10.19,2.56-15.31,1.71-5.12,3.89-9.12,6.55-12.01,4.28-4.8,11.98-8.99,23.12-12.58,11.13-3.58,23.67-5.38,37.6-5.38,8.33,0,14.76.64,19.3,1.91s6.81,3.24,6.81,5.9c0,4.34-.59,7.69-1.78,10.06s-2.46,3.95-3.82,4.73c-1.36.78-3.75,1.84-7.16,3.17-3.64,1.27-6.81,2.6-9.5,3.99s-4.99,2.72-6.9,3.99c-1.91,1.27-3.09,1.91-3.56,1.91-.58,0-.87-.23-.87-.69,0-.98,1.03-2.47,3.08-4.47s4.58-3.74,7.59-5.25c3.18-1.68,4.77-2.75,4.77-3.21,0-.75-1.76-1.13-5.29-1.13-10.7,0-20.59.95-29.67,2.86s-16.24,4.42-21.47,7.55c-5.23,3.12-7.85,6.3-7.85,9.54,0,2.02,1.08,3.46,3.25,4.29,2.17.84,6.95,2.24,14.36,4.21,7.4,1.97,14.02,4.22,19.86,6.77,8.38,3.59,14.6,7.32,18.65,11.19,4.05,3.88,6.07,8.21,6.07,13.01,0,3.3-.8,6.61-2.39,9.93-1.59,3.33-3.92,6.38-6.98,9.15-3.07,2.78-6.59,5.06-10.58,6.85-3.41,1.45-7.71,2.8-12.88,4.08-5.18,1.27-10.79,2.27-16.83,2.99-6.04.72-11.81,1.08-17.31,1.08-10.12,0-18.26-.95-24.42-2.86s-9.24-4.8-9.24-8.67c0-1.74,1.04-4.44,3.12-8.11s4.54-6.14,7.37-7.42c2.49-.98,4.89-1.55,7.2-1.69,2.31-.14,3.47.13,3.47.82,0,.17-.09.35-.26.52s-.38.32-.61.43c-.23.12-.46.23-.69.35-1.16.46-2.1.82-2.82,1.08-.72.26-1.3.52-1.74.78-.43.26-.65.62-.65,1.08,0,1.21,5.99,1.82,17.96,1.82,10.41,0,18.94-.38,25.59-1.13s12.52-2.11,17.61-4.08c5.09-1.97,9.71-4.68,13.88-8.15l.04.02ZM640.8,85.63h3.73c3.06-5.49,5.84-9.38,8.33-11.67,2.49-2.28,5.32-3.43,8.5-3.43s4.77.72,4.77,2.17c0,.69-1.24,2.57-3.73,5.64s-4.37,5.64-5.64,7.72c1.96.23,3.71.43,5.25.61,1.53.17,2.73.32,3.6.43-3.3,6.13-7.43,12.4-12.4,18.82l-4.08-.3c-1.1-.09-2.21-.17-3.34-.26s-2.5-.19-4.12-.3c-3.12,5.03-5.74,9.53-7.85,13.49s-3.73,7.59-4.86,10.89-1.69,6.42-1.69,9.37c0,3.99,1.59,5.99,4.77,5.99,2.2,0,5.07-1.17,8.63-3.51s8.31-5.94,14.27-10.8v5.81c-15.61,16.95-27.15,25.42-34.61,25.42-2.6,0-4.7-1.01-6.29-3.04-1.59-2.02-2.38-4.63-2.38-7.81,0-2.14.45-4.68,1.34-7.63.9-2.95,2.5-7.4,4.81-13.36-.81.69-1.58,1.37-2.3,2.04s-1.39,1.27-2,1.82-1.26,1.13-1.95,1.73c-.69.61-1.39,1.23-2.08,1.87v-5.99c6.07-5.09,13.42-14.02,22.03-26.8-.87-.06-1.68-.1-2.43-.13s-1.65-.04-2.69-.04c-3.41,0-5.96.23-7.63.69-.69.17-1.34.36-1.95.56s-1.03.3-1.26.3-.35-.17-.35-.52c0-1.91,1.18-4.77,3.56-8.59,1.91-3.24,3.72-5.64,5.42-7.2,1.71-1.56,3.79-2.62,6.25-3.17,2.46-.55,5.91-.82,10.37-.82h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M664.91,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM706.46,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M779.07,130.82v5.81c-6.19,6.07-11.23,10.79-15.14,14.14-3.9,3.35-7.55,5.96-10.93,7.81-3.38,1.85-6.69,2.78-9.93,2.78s-6.1-1.26-8.76-3.77c-2.66-2.52-4.74-5.81-6.25-9.89-1.5-4.08-2.26-8.4-2.26-12.97,0-3.93.87-7.43,2.6-10.5,1.74-3.07,5.09-7.03,10.06-11.88,5.9-5.78,11.38-10.25,16.44-13.4s9.04-4.73,11.93-4.73c2.08,0,3.85.72,5.29,2.17s2.17,3.27,2.17,5.46c0,1.85-.95,4.48-2.86,7.89-1.91,3.41-4.05,6.38-6.42,8.89-2.37,2.52-4.25,3.77-5.64,3.77-1.5,0-2.25-.81-2.25-2.43.06-.46.1-.9.13-1.3s.04-.81.04-1.21c0-.69-.25-1.08-.74-1.17s-1.08.13-1.78.65c-5.78,4.05-9.75,6.9-11.88,8.54-2.14,1.65-3.83,3.31-5.07,4.99s-1.87,3.44-1.87,5.29c0,3.41,1.1,6.19,3.3,8.33s5.06,3.21,8.59,3.21,8.02-1.4,13.14-4.21c5.12-2.8,11.15-6.9,18.09-12.27h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M844.13,130.65v5.81c-6.48,7.58-11.91,13.32-16.31,17.22s-8.07,5.86-11.02,5.86-5.39-.84-7.68-2.52c-2.29-1.68-4.34-3.99-6.16-6.94-1.82-2.95-3.98-7.05-6.46-12.32-2.95,3.64-5.61,7.04-7.98,10.19-2.37,3.15-4.02,5.25-4.94,6.29-.93,1.04-1.77,1.56-2.52,1.56-1.56,0-2.69-1-3.38-2.99-.69-2-1.04-4.9-1.04-8.72,0-5.21.62-10.22,1.87-15.05,1.24-4.83,3.04-9.53,5.38-14.1s5.35-9.5,9.02-14.79c3.67-5.29,7.79-10.83,12.36-16.61,6.3-7.98,11.74-14.5,16.31-19.56,4.57-5.06,8.54-8.88,11.93-11.45,3.38-2.57,6.2-3.86,8.46-3.86,2.78,0,4.16,1.24,4.16,3.73,0,2.14-5.12,9.85-15.35,23.12-10.24,13.27-25.16,31.39-44.76,54.35v7.46c13.13-14.05,23.69-24.49,31.71-31.31,8.01-6.82,14.21-10.24,18.61-10.24,1.79,0,3.18,1.06,4.16,3.17s1.47,4.55,1.47,7.33c0,5.67-2.43,10.92-7.29,15.74-4.86,4.83-12.32,10.37-22.38,16.61,1.74,2.6,3.27,4.5,4.6,5.68,1.33,1.19,3.01,1.78,5.03,1.78,1.79,0,3.73-.61,5.81-1.82s4.21-2.75,6.38-4.6,5.51-4.86,10.02-9.02h-.01ZM809.86,135.07c2.2-1.45,4.93-3.69,8.2-6.72,3.27-3.04,6.06-6.19,8.37-9.46s3.47-6,3.47-8.2c0-.92-.41-1.39-1.21-1.39-2.2,0-5.97,2.11-11.32,6.33-5.35,4.22-10.57,9.63-15.66,16.22,2.2,0,4.92,1.07,8.15,3.21h0ZM951.78,140.71l2.86,2.17c-.75,1.62-1.47,3.04-2.17,4.25-.69,1.21-1.53,2.69-2.52,4.42-.98,1.73-1.73,3.04-2.25,3.9-4.34,7.58-8.41,11.36-12.23,11.36-1.62,0-3.01-.64-4.16-1.91-1.16-1.27-1.73-3.01-1.73-5.2,0-3.12,1.11-7.4,3.34-12.84,2.23-5.43,5.67-12.13,10.32-20.08s10.51-16.96,17.57-27.02c7.05-10.06,15.01-20.67,23.85-31.84-5.09-.75-11.13-1.13-18.13-1.13-8.04,0-16.99.9-26.85,2.69s-18.45,3.86-25.76,6.2c-7.32,2.34-10.97,4.06-10.97,5.16,0,.41.14.68.43.82.29.15.77.26,1.43.35s1.52.19,2.56.3c6.77.93,10.15,1.97,10.15,3.12,0,.58-1.47.85-4.42.82s-6.51-.04-10.67-.04c-3.3,0-5.68-.13-7.16-.39s-2.46-.75-2.95-1.47-.74-1.84-.74-3.34c0-.98.29-3.12.87-6.42,1.1-6.13,2.79-11.04,5.07-14.75,2.28-3.7,5.78-6.72,10.5-9.06,4.71-2.34,11.2-4.21,19.47-5.59,13.88-2.37,25.36-3.56,34.44-3.56,6.71,0,12,.27,15.88.82,3.87.55,6.72,1.34,8.54,2.39,1.82,1.04,2.98,2.07,3.47,3.08s1.14,2.76,1.95,5.25l2.69,7.98c.17.52.32.94.43,1.26.12.32.22.65.3,1,.09.35.13.67.13.95,0,2.26-.51,4.28-1.52,6.07s-2.86,4.48-5.55,8.07-4.67,6.39-5.94,8.41c-14.92,24.23-25.1,42.16-30.53,53.78v.02ZM991.94,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM1033.49,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1111.3,130.82v5.64c-6.02,3.82-10.76,5.72-14.23,5.72-1.91,0-3.93-.32-6.07-.95-5.2,6.59-9.67,11.42-13.4,14.49s-7.47,4.6-11.23,4.6c-4.34,0-7.68-2.29-10.02-6.85-2.34-4.57-3.51-10.24-3.51-17,0-9.2,2.78-19.21,8.33-30.06,5.56-10.85,12.29-21.07,20.08-30.45,7.84-9.46,15.43-17.28,22.77-23.46,7.34-6.19,12.32-9.28,14.92-9.28s3.73,1.71,3.73,5.12c0,15.15-19.43,41.58-58.29,79.29-.12,1.04-.17,3.09-.17,6.16,0,7.98,2.14,11.97,6.42,11.97,1.68,0,3.37-.68,5.07-2.04,1.71-1.36,4.32-3.95,7.85-7.76-1.39-3.12-2.08-5.44-2.08-6.94,0-3.18,1.3-6.62,3.9-10.32s5.57-6.9,8.89-9.59c3.33-2.69,5.74-4.03,7.24-4.03,2.37,0,3.56,1.71,3.56,5.12,0,2.6-.68,5.72-2.04,9.37-1.36,3.64-3.34,7.81-5.94,12.49.98.81,1.76,1.4,2.34,1.78s1.45.56,2.6.56c2.66,0,5.75-1.18,9.28-3.56v-.02ZM1067.24,117.81c3.01-2.6,6.03-5.68,9.06-9.24s7.47-9.01,13.32-16.35c5.61-7.05,10.02-12.94,13.23-17.65s5.62-8.63,7.24-11.75c1.62-3.12,2.43-5.26,2.43-6.42,0-.87-.23-1.3-.69-1.3-1.27,0-3.92,2.1-7.94,6.29-4.02,4.19-8.6,9.93-13.75,17.22-7.11,10.06-12.26,17.64-15.44,22.73-3.18,5.09-5.67,10.58-7.46,16.48h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1110.96,133.08v-2.08c14.92-15.73,25.18-26.75,30.79-33.05,1.27-7.11,4.34-10.67,9.19-10.67,1.21,0,2.52.35,3.9,1.04l.52,1.65c-.23.69-.35,1.68-.35,2.95,0,1.1.42,3.14,1.26,6.12s1.49,5.48,1.95,7.5.69,4.31.69,6.85c0,3.82-.87,7.48-2.6,10.97-1.73,3.5-4.25,6.85-7.55,10.06-3.3,3.21-7.55,6.49-12.75,9.85,2.08.35,3.73.52,4.94.52,2.37,0,4.93-.59,7.68-1.78,2.75-1.18,5.55-2.78,8.41-4.77,2.86-2,6.2-4.58,10.02-7.76v5.81c-7.4,7.23-14.02,12.71-19.86,16.44s-10.87,5.59-15.09,5.59c-5.44,0-10.47-2.31-15.09-6.94-2.72-2.78-4.41-5.43-5.08-7.98-.67-2.54-1-5.99-1-10.32h.02ZM1143.31,119.8l-1.56-12.66c-3.59,4.05-11.25,11.83-22.99,23.33,3.47.75,5.84,1.76,7.11,3.04,1.27,1.27,3.06,3.73,5.38,7.37,3.93-1.62,6.95-3.83,9.07-6.64,2.11-2.8,3.17-6.64,3.17-11.49,0-.58-.01-1.1-.04-1.56s-.07-.92-.13-1.39h0Z" style="fill:#306fff; stroke-width:0px;"/><g style="isolation:isolate;"><text transform="translate(943.45 229.96)" style="fill:#00d797; font-family:ArialMT, Arial; font-size:24px; isolation:isolate;"><tspan x="0" y="0">version: ${t}</tspan></text></g></svg>`, i = "data:image/svg+xml;base64," + cr(s), d = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2204
|
+
}, ir = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, ar = (t) => t.replace(ir, or), jt = yt ? (t) => Buffer.from(t, "utf8").toString("base64") : Zt ? (t) => rr(Zt.encode(t)) : (t) => bn(ar(t)), cr = (t, e = !1) => e ? nr(jt(t)) : jt(t), lr = (t) => {
|
|
2205
|
+
const s = `<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1167.06 237.75"><path d="M79.24,19.73h108.91v29.7h-108.91v-29.7Z" style="fill:#79a7ff; stroke-width:0px;"/><path d="M179.24,199.67H20.26c-11.21-.07-20.26-9.17-20.26-20.38V20.39C0,9.18,9.05.07,20.26,0h59.49c3.51.07,6.34,2.9,6.41,6.42v44.36c0,3.54-2.87,6.41-6.41,6.41s-6.41-2.86-6.42-6.4V12.36H20.25c-4.13.07-7.44,3.44-7.44,7.56v159.41c0,4.13,3.31,7.49,7.44,7.56h158.98c4.13-.07,7.44-3.44,7.44-7.56V51.84c0-3.54,2.87-6.41,6.41-6.42,3.55,0,6.42,2.87,6.42,6.42v127.45c0,11.21-9.05,20.32-20.26,20.39h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M192.8,60.77c-3.66-.07-6.61-3.02-6.68-6.68v-18.23c.09-4.29-3.32-7.83-7.6-7.92h-96.43c-3.69,0-6.69-2.99-6.69-6.69s2.99-6.69,6.69-6.69h96.27c11.69.08,21.13,9.58,21.13,21.27v18.25c0,3.69-2.99,6.68-6.68,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M193.08,58.67H10.15c-3.61-.08-6.48-3.07-6.41-6.68-.08-3.62,2.79-6.61,6.4-6.69,0,0,0,0,0,0h182.93c3.62.08,6.48,3.08,6.41,6.69.07,3.61-2.79,6.6-6.41,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M137.2,58.67c-3.42.24-6.4-2.32-6.68-5.74v-28.15c.55-3.69,4-6.24,7.69-5.69,2.94.44,5.24,2.75,5.69,5.69v28.15c-.28,3.42-3.26,5.98-6.68,5.74h-.02Z" style="fill:#377dff; stroke-width:0px;"/><path d="M99.78,100.48l-12.83-22.22h-18.39l31.22,54.05,31.22-54.05h-18.39l-12.83,22.22Z" style="fill:#00d797; stroke-width:0px;"/><path d="M135.28,78.26l-35.49,61.43-35.44-61.43h-20.11l55.55,96.2,55.55-96.2s-20.06,0-20.06,0ZM313.33,59.95c0,.52-.67,1.84-2,3.95s-3.3,5.2-5.9,9.28-5.75,9.28-9.46,15.61c-3.7,6.33-7.52,13.34-11.45,21.04-4.51,8.85-7.76,15.8-9.76,20.86s-2.99,9.41-2.99,13.05c0,2.89,1.53,5.44,4.6,7.63,3.7-2.89,7.34-6.33,10.93-10.32,3.58-3.99,7.13-8.44,10.63-13.36s7.55-11.13,12.14-18.65c4.6-7.52,8.69-14.43,12.27-20.73-.17-.52-.36-1.04-.56-1.56s-.3-.95-.3-1.3c0-2.72.55-5.26,1.65-7.63,1.1-2.37,2.47-4.68,4.12-6.94s4.12-5.44,7.42-9.54c.87-1.1,1.94-1.65,3.21-1.65,2.08,0,3.12,1.33,3.12,3.99s-1.08,6.84-3.25,12.53c-2.17,5.7-5.37,12.39-9.59,20.08s-9.47,16.29-15.74,25.81c-6.28,9.51-13.37,19.45-21.3,29.8-8.04,10.47-13.79,15.7-17.26,15.7-1.97,0-4.19-1.08-6.68-3.25s-4.63-5.13-6.42-8.89-2.69-7.78-2.69-12.06c0-2.54.53-5.81,1.6-9.8s2.75-8.78,5.03-14.36,4.87-11.09,7.76-16.53c3.01-5.72,5.65-10.47,7.94-14.23,2.28-3.76,4.87-7.94,7.76-12.53,2.89-4.6,4.34-7.1,4.34-7.5,0-.87-.58-1.3-1.73-1.3-3.35,0-7.82,1.71-13.4,5.12s-12.85,8.59-21.82,15.53c-3.41,2.66-5.57,4.38-6.46,5.16s-1.34,1.43-1.34,1.95c0,.69.55,1.04,1.65,1.04.46,0,2.02-.17,4.68-.52s4.77-.52,6.33-.52c2.6,0,3.9.46,3.9,1.39,0,.81-.54,1.45-1.61,1.91-1.07.46-2.54.93-4.42,1.39s-4.44,1.1-7.68,1.91c-3.47.93-7.16,2.25-11.06,3.99-3.9,1.73-6.14,2.6-6.72,2.6-1.1,0-1.78-.4-2.04-1.21s-.39-2.14-.39-3.99c0-8.21,1.36-14.56,4.08-19.04s7.58-9.15,14.57-14.01c7.98-5.55,15.61-10.16,22.9-13.84,7.29-3.67,13.58-6.36,18.87-8.07s9.18-2.56,11.67-2.56,4.84,1.56,7.24,4.68,3.6,6.42,3.6,9.89h0ZM366.34,124.75c-8.39,11.1-14.76,19-19.13,23.68s-7.94,7.03-10.71,7.03c-2.2,0-4.22-.91-6.07-2.73-1.85-1.82-3.28-4.28-4.29-7.37s-1.52-6.4-1.52-9.93c0-2.31.22-4.39.65-6.25.43-1.85,1.26-3.89,2.47-6.12s2.82-4.64,4.81-7.24c2-2.6,4.44-5.55,7.33-8.85,1.73-2.02,3.19-3.73,4.38-5.12,1.18-1.39,2.34-2.33,3.47-2.82s2.96-.74,5.51-.74c1.85,0,3.61.25,5.29.74,1.68.49,2.52,1,2.52,1.52,0,1.04-.85,2.92-2.56,5.64s-4.45,6.03-8.24,9.93c-3.79,3.9-8.17,7.74-13.14,11.49-1.1,3.41-1.65,6.01-1.65,7.81,0,2.49.95,3.73,2.86,3.73.69,0,1.85-.59,3.47-1.78,1.62-1.18,4.35-3.47,8.2-6.85,3.84-3.38,7.3-6.38,10.37-8.98,2.25-1.97,4.87-4.9,7.85-8.8s5.39-6.84,7.24-8.8c4.28-4.51,7.2-7.44,8.76-8.8s3.06-2.04,4.51-2.04,2.33.43,2.82,1.3c.49.87.74,2.63.74,5.29,0,1.21-.12,2.2-.35,2.95s-.71,1.72-1.43,2.91-2.18,3.37-4.38,6.55-4.8,6.94-7.81,11.28c-1.66,2.38-3.09,4.93-4.25,7.59-1.21,2.75-1.82,4.81-1.82,6.2,0,3.01,1.18,4.51,3.56,4.51,1.96,0,4.25-.81,6.85-2.43s6.59-4.54,11.97-8.76v5.81c-6.77,6.25-11.77,10.79-15.01,13.62s-6.04,4.97-8.41,6.42-4.63,2.17-6.77,2.17c-4.86,0-7.29-2.89-7.29-8.67,0-2.2.72-5.16,2.17-8.89,1.44-3.73,3.79-9.12,7.03-16.18v-.02Z" style="fill:#306fff; stroke-width:0px;"/><path d="M407.71,133.77v2.17c0,3.41.84,6.07,2.52,7.98,1.68,1.91,3.87,2.86,6.59,2.86s5.77-.66,8.8-2c3.04-1.33,6.06-3.09,9.07-5.29s6.68-5.15,11.02-8.85v5.29c-6.54,7.87-12.67,13.89-18.39,18.09-5.72,4.19-11.54,6.29-17.44,6.29-5.15,0-9.22-2-12.23-5.99s-4.51-9.46-4.51-16.39c0-6.07,1.42-11.58,4.25-16.52s7.46-10.16,13.88-15.66c4.39-3.76,8.76-6.59,13.1-8.5s8.21-2.86,11.62-2.86c2.72,0,4.87.62,6.46,1.86s2.39,3.11,2.39,5.59c0,3.64-1.36,7.27-4.08,10.89s-6.87,7.2-12.45,10.76c-5.58,3.56-12.45,6.98-20.6,10.28h0ZM408.58,128.13c5.2-2.02,9.66-4.54,13.36-7.55,3.7-3.01,6.43-5.88,8.2-8.63,1.76-2.75,2.65-4.76,2.65-6.03s-.61-2-1.82-2c-1.04,0-2.73.67-5.07,2s-4.71,3.07-7.11,5.21-4.55,4.66-6.46,7.55c-1.9,2.86-3.17,6.08-3.73,9.46h-.02ZM585.37,132.9c-1.45-2.66-3.61-5.06-6.51-7.2-2.89-2.14-6.15-3.86-9.76-5.16s-7.39-2.27-11.32-2.91c-11.68-1.74-22.58-5.52-32.7-11.36-.87-.46-1.79-1.44-2.78-2.95-.98-1.5-1.47-2.95-1.47-4.34,0-5.09.85-10.19,2.56-15.31,1.71-5.12,3.89-9.12,6.55-12.01,4.28-4.8,11.98-8.99,23.12-12.58,11.13-3.58,23.67-5.38,37.6-5.38,8.33,0,14.76.64,19.3,1.91s6.81,3.24,6.81,5.9c0,4.34-.59,7.69-1.78,10.06s-2.46,3.95-3.82,4.73c-1.36.78-3.75,1.84-7.16,3.17-3.64,1.27-6.81,2.6-9.5,3.99s-4.99,2.72-6.9,3.99c-1.91,1.27-3.09,1.91-3.56,1.91-.58,0-.87-.23-.87-.69,0-.98,1.03-2.47,3.08-4.47s4.58-3.74,7.59-5.25c3.18-1.68,4.77-2.75,4.77-3.21,0-.75-1.76-1.13-5.29-1.13-10.7,0-20.59.95-29.67,2.86s-16.24,4.42-21.47,7.55c-5.23,3.12-7.85,6.3-7.85,9.54,0,2.02,1.08,3.46,3.25,4.29,2.17.84,6.95,2.24,14.36,4.21,7.4,1.97,14.02,4.22,19.86,6.77,8.38,3.59,14.6,7.32,18.65,11.19,4.05,3.88,6.07,8.21,6.07,13.01,0,3.3-.8,6.61-2.39,9.93-1.59,3.33-3.92,6.38-6.98,9.15-3.07,2.78-6.59,5.06-10.58,6.85-3.41,1.45-7.71,2.8-12.88,4.08-5.18,1.27-10.79,2.27-16.83,2.99-6.04.72-11.81,1.08-17.31,1.08-10.12,0-18.26-.95-24.42-2.86s-9.24-4.8-9.24-8.67c0-1.74,1.04-4.44,3.12-8.11s4.54-6.14,7.37-7.42c2.49-.98,4.89-1.55,7.2-1.69,2.31-.14,3.47.13,3.47.82,0,.17-.09.35-.26.52s-.38.32-.61.43c-.23.12-.46.23-.69.35-1.16.46-2.1.82-2.82,1.08-.72.26-1.3.52-1.74.78-.43.26-.65.62-.65,1.08,0,1.21,5.99,1.82,17.96,1.82,10.41,0,18.94-.38,25.59-1.13s12.52-2.11,17.61-4.08c5.09-1.97,9.71-4.68,13.88-8.15l.04.02ZM640.8,85.63h3.73c3.06-5.49,5.84-9.38,8.33-11.67,2.49-2.28,5.32-3.43,8.5-3.43s4.77.72,4.77,2.17c0,.69-1.24,2.57-3.73,5.64s-4.37,5.64-5.64,7.72c1.96.23,3.71.43,5.25.61,1.53.17,2.73.32,3.6.43-3.3,6.13-7.43,12.4-12.4,18.82l-4.08-.3c-1.1-.09-2.21-.17-3.34-.26s-2.5-.19-4.12-.3c-3.12,5.03-5.74,9.53-7.85,13.49s-3.73,7.59-4.86,10.89-1.69,6.42-1.69,9.37c0,3.99,1.59,5.99,4.77,5.99,2.2,0,5.07-1.17,8.63-3.51s8.31-5.94,14.27-10.8v5.81c-15.61,16.95-27.15,25.42-34.61,25.42-2.6,0-4.7-1.01-6.29-3.04-1.59-2.02-2.38-4.63-2.38-7.81,0-2.14.45-4.68,1.34-7.63.9-2.95,2.5-7.4,4.81-13.36-.81.69-1.58,1.37-2.3,2.04s-1.39,1.27-2,1.82-1.26,1.13-1.95,1.73c-.69.61-1.39,1.23-2.08,1.87v-5.99c6.07-5.09,13.42-14.02,22.03-26.8-.87-.06-1.68-.1-2.43-.13s-1.65-.04-2.69-.04c-3.41,0-5.96.23-7.63.69-.69.17-1.34.36-1.95.56s-1.03.3-1.26.3-.35-.17-.35-.52c0-1.91,1.18-4.77,3.56-8.59,1.91-3.24,3.72-5.64,5.42-7.2,1.71-1.56,3.79-2.62,6.25-3.17,2.46-.55,5.91-.82,10.37-.82h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M664.91,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM706.46,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M779.07,130.82v5.81c-6.19,6.07-11.23,10.79-15.14,14.14-3.9,3.35-7.55,5.96-10.93,7.81-3.38,1.85-6.69,2.78-9.93,2.78s-6.1-1.26-8.76-3.77c-2.66-2.52-4.74-5.81-6.25-9.89-1.5-4.08-2.26-8.4-2.26-12.97,0-3.93.87-7.43,2.6-10.5,1.74-3.07,5.09-7.03,10.06-11.88,5.9-5.78,11.38-10.25,16.44-13.4s9.04-4.73,11.93-4.73c2.08,0,3.85.72,5.29,2.17s2.17,3.27,2.17,5.46c0,1.85-.95,4.48-2.86,7.89-1.91,3.41-4.05,6.38-6.42,8.89-2.37,2.52-4.25,3.77-5.64,3.77-1.5,0-2.25-.81-2.25-2.43.06-.46.1-.9.13-1.3s.04-.81.04-1.21c0-.69-.25-1.08-.74-1.17s-1.08.13-1.78.65c-5.78,4.05-9.75,6.9-11.88,8.54-2.14,1.65-3.83,3.31-5.07,4.99s-1.87,3.44-1.87,5.29c0,3.41,1.1,6.19,3.3,8.33s5.06,3.21,8.59,3.21,8.02-1.4,13.14-4.21c5.12-2.8,11.15-6.9,18.09-12.27h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M844.13,130.65v5.81c-6.48,7.58-11.91,13.32-16.31,17.22s-8.07,5.86-11.02,5.86-5.39-.84-7.68-2.52c-2.29-1.68-4.34-3.99-6.16-6.94-1.82-2.95-3.98-7.05-6.46-12.32-2.95,3.64-5.61,7.04-7.98,10.19-2.37,3.15-4.02,5.25-4.94,6.29-.93,1.04-1.77,1.56-2.52,1.56-1.56,0-2.69-1-3.38-2.99-.69-2-1.04-4.9-1.04-8.72,0-5.21.62-10.22,1.87-15.05,1.24-4.83,3.04-9.53,5.38-14.1s5.35-9.5,9.02-14.79c3.67-5.29,7.79-10.83,12.36-16.61,6.3-7.98,11.74-14.5,16.31-19.56,4.57-5.06,8.54-8.88,11.93-11.45,3.38-2.57,6.2-3.86,8.46-3.86,2.78,0,4.16,1.24,4.16,3.73,0,2.14-5.12,9.85-15.35,23.12-10.24,13.27-25.16,31.39-44.76,54.35v7.46c13.13-14.05,23.69-24.49,31.71-31.31,8.01-6.82,14.21-10.24,18.61-10.24,1.79,0,3.18,1.06,4.16,3.17s1.47,4.55,1.47,7.33c0,5.67-2.43,10.92-7.29,15.74-4.86,4.83-12.32,10.37-22.38,16.61,1.74,2.6,3.27,4.5,4.6,5.68,1.33,1.19,3.01,1.78,5.03,1.78,1.79,0,3.73-.61,5.81-1.82s4.21-2.75,6.38-4.6,5.51-4.86,10.02-9.02h-.01ZM809.86,135.07c2.2-1.45,4.93-3.69,8.2-6.72,3.27-3.04,6.06-6.19,8.37-9.46s3.47-6,3.47-8.2c0-.92-.41-1.39-1.21-1.39-2.2,0-5.97,2.11-11.32,6.33-5.35,4.22-10.57,9.63-15.66,16.22,2.2,0,4.92,1.07,8.15,3.21h0ZM951.78,140.71l2.86,2.17c-.75,1.62-1.47,3.04-2.17,4.25-.69,1.21-1.53,2.69-2.52,4.42-.98,1.73-1.73,3.04-2.25,3.9-4.34,7.58-8.41,11.36-12.23,11.36-1.62,0-3.01-.64-4.16-1.91-1.16-1.27-1.73-3.01-1.73-5.2,0-3.12,1.11-7.4,3.34-12.84,2.23-5.43,5.67-12.13,10.32-20.08s10.51-16.96,17.57-27.02c7.05-10.06,15.01-20.67,23.85-31.84-5.09-.75-11.13-1.13-18.13-1.13-8.04,0-16.99.9-26.85,2.69s-18.45,3.86-25.76,6.2c-7.32,2.34-10.97,4.06-10.97,5.16,0,.41.14.68.43.82.29.15.77.26,1.43.35s1.52.19,2.56.3c6.77.93,10.15,1.97,10.15,3.12,0,.58-1.47.85-4.42.82s-6.51-.04-10.67-.04c-3.3,0-5.68-.13-7.16-.39s-2.46-.75-2.95-1.47-.74-1.84-.74-3.34c0-.98.29-3.12.87-6.42,1.1-6.13,2.79-11.04,5.07-14.75,2.28-3.7,5.78-6.72,10.5-9.06,4.71-2.34,11.2-4.21,19.47-5.59,13.88-2.37,25.36-3.56,34.44-3.56,6.71,0,12,.27,15.88.82,3.87.55,6.72,1.34,8.54,2.39,1.82,1.04,2.98,2.07,3.47,3.08s1.14,2.76,1.95,5.25l2.69,7.98c.17.52.32.94.43,1.26.12.32.22.65.3,1,.09.35.13.67.13.95,0,2.26-.51,4.28-1.52,6.07s-2.86,4.48-5.55,8.07-4.67,6.39-5.94,8.41c-14.92,24.23-25.1,42.16-30.53,53.78v.02ZM991.94,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM1033.49,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1111.3,130.82v5.64c-6.02,3.82-10.76,5.72-14.23,5.72-1.91,0-3.93-.32-6.07-.95-5.2,6.59-9.67,11.42-13.4,14.49s-7.47,4.6-11.23,4.6c-4.34,0-7.68-2.29-10.02-6.85-2.34-4.57-3.51-10.24-3.51-17,0-9.2,2.78-19.21,8.33-30.06,5.56-10.85,12.29-21.07,20.08-30.45,7.84-9.46,15.43-17.28,22.77-23.46,7.34-6.19,12.32-9.28,14.92-9.28s3.73,1.71,3.73,5.12c0,15.15-19.43,41.58-58.29,79.29-.12,1.04-.17,3.09-.17,6.16,0,7.98,2.14,11.97,6.42,11.97,1.68,0,3.37-.68,5.07-2.04,1.71-1.36,4.32-3.95,7.85-7.76-1.39-3.12-2.08-5.44-2.08-6.94,0-3.18,1.3-6.62,3.9-10.32s5.57-6.9,8.89-9.59c3.33-2.69,5.74-4.03,7.24-4.03,2.37,0,3.56,1.71,3.56,5.12,0,2.6-.68,5.72-2.04,9.37-1.36,3.64-3.34,7.81-5.94,12.49.98.81,1.76,1.4,2.34,1.78s1.45.56,2.6.56c2.66,0,5.75-1.18,9.28-3.56v-.02ZM1067.24,117.81c3.01-2.6,6.03-5.68,9.06-9.24s7.47-9.01,13.32-16.35c5.61-7.05,10.02-12.94,13.23-17.65s5.62-8.63,7.24-11.75c1.62-3.12,2.43-5.26,2.43-6.42,0-.87-.23-1.3-.69-1.3-1.27,0-3.92,2.1-7.94,6.29-4.02,4.19-8.6,9.93-13.75,17.22-7.11,10.06-12.26,17.64-15.44,22.73-3.18,5.09-5.67,10.58-7.46,16.48h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1110.96,133.08v-2.08c14.92-15.73,25.18-26.75,30.79-33.05,1.27-7.11,4.34-10.67,9.19-10.67,1.21,0,2.52.35,3.9,1.04l.52,1.65c-.23.69-.35,1.68-.35,2.95,0,1.1.42,3.14,1.26,6.12s1.49,5.48,1.95,7.5.69,4.31.69,6.85c0,3.82-.87,7.48-2.6,10.97-1.73,3.5-4.25,6.85-7.55,10.06-3.3,3.21-7.55,6.49-12.75,9.85,2.08.35,3.73.52,4.94.52,2.37,0,4.93-.59,7.68-1.78,2.75-1.18,5.55-2.78,8.41-4.77,2.86-2,6.2-4.58,10.02-7.76v5.81c-7.4,7.23-14.02,12.71-19.86,16.44s-10.87,5.59-15.09,5.59c-5.44,0-10.47-2.31-15.09-6.94-2.72-2.78-4.41-5.43-5.08-7.98-.67-2.54-1-5.99-1-10.32h.02ZM1143.31,119.8l-1.56-12.66c-3.59,4.05-11.25,11.83-22.99,23.33,3.47.75,5.84,1.76,7.11,3.04,1.27,1.27,3.06,3.73,5.38,7.37,3.93-1.62,6.95-3.83,9.07-6.64,2.11-2.8,3.17-6.64,3.17-11.49,0-.58-.01-1.1-.04-1.56s-.07-.92-.13-1.39h0Z" style="fill:#306fff; stroke-width:0px;"/><g style="isolation:isolate;"><text transform="translate(943.45 229.96)" style="fill:#00d797; font-family:ArialMT, Arial; font-size:24px; isolation:isolate;"><tspan x="0" y="0">version: ${t}</tspan></text></g></svg>`, i = "data:image/svg+xml;base64," + cr(s), f = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2204
2206
|
window.console.log(
|
|
2205
2207
|
"%c+",
|
|
2206
|
-
|
|
2208
|
+
f + `background-image: url(${i});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`
|
|
2207
2209
|
);
|
|
2208
2210
|
}, ur = () => {
|
|
2209
|
-
const { attrs: t, props: e } =
|
|
2210
|
-
let
|
|
2211
|
-
|
|
2212
|
-
const
|
|
2211
|
+
const { attrs: t, props: e } = en(), { pageShown: n, getTab: s, markDeletableCache: r, removeComponent: o, getComponent: i, addPageScroller: f } = Ce(), a = An(), c = ut(), p = ye();
|
|
2212
|
+
let u = "", l = "";
|
|
2213
|
+
u = t.tId || e.tId;
|
|
2214
|
+
const w = t.pId || e.pId;
|
|
2213
2215
|
return l = a.query.__tab, {
|
|
2214
|
-
forward: (
|
|
2215
|
-
const
|
|
2216
|
+
forward: (g) => {
|
|
2217
|
+
const y = ne(
|
|
2216
2218
|
{
|
|
2217
2219
|
__tab: l
|
|
2218
2220
|
},
|
|
2219
|
-
|
|
2221
|
+
g.query
|
|
2220
2222
|
);
|
|
2221
2223
|
p.emit("FORWARD"), c.push({
|
|
2222
|
-
path:
|
|
2223
|
-
query:
|
|
2224
|
+
path: g.path,
|
|
2225
|
+
query: y
|
|
2224
2226
|
});
|
|
2225
2227
|
},
|
|
2226
|
-
backward: (
|
|
2227
|
-
const
|
|
2228
|
-
if (!
|
|
2228
|
+
backward: (g, y) => {
|
|
2229
|
+
const S = s(u);
|
|
2230
|
+
if (!S)
|
|
2229
2231
|
return;
|
|
2230
|
-
const
|
|
2232
|
+
const m = S.pages;
|
|
2231
2233
|
let O = 0;
|
|
2232
|
-
if (typeof
|
|
2233
|
-
O = Math.abs(
|
|
2234
|
+
if (typeof g == "number")
|
|
2235
|
+
O = Math.abs(g);
|
|
2234
2236
|
else {
|
|
2235
|
-
let
|
|
2236
|
-
const
|
|
2237
|
-
|
|
2238
|
-
for (let A =
|
|
2239
|
-
if (
|
|
2240
|
-
|
|
2237
|
+
let _ = 1, $ = !1;
|
|
2238
|
+
const z = m.list(), U = mt(g);
|
|
2239
|
+
y = ne(U.query, y);
|
|
2240
|
+
for (let A = m.size() - 2; A >= 0; A--) {
|
|
2241
|
+
if (z[A].path === U.path) {
|
|
2242
|
+
$ = !0;
|
|
2241
2243
|
break;
|
|
2242
2244
|
}
|
|
2243
|
-
|
|
2245
|
+
_ += 1;
|
|
2244
2246
|
}
|
|
2245
|
-
|
|
2247
|
+
$ && (O = _);
|
|
2246
2248
|
}
|
|
2247
|
-
if (O === 0 ||
|
|
2249
|
+
if (O === 0 || m.size() <= O)
|
|
2248
2250
|
return;
|
|
2249
|
-
for (let
|
|
2250
|
-
const
|
|
2251
|
-
r(
|
|
2251
|
+
for (let _ = 0; _ < O; _++) {
|
|
2252
|
+
const $ = m.pop();
|
|
2253
|
+
r($.id);
|
|
2252
2254
|
}
|
|
2253
|
-
const
|
|
2254
|
-
if (
|
|
2255
|
-
const
|
|
2256
|
-
|
|
2255
|
+
const d = m == null ? void 0 : m.peek(), k = i(d.id);
|
|
2256
|
+
if (k != null) {
|
|
2257
|
+
const _ = k.components.DynamicComponent;
|
|
2258
|
+
_.props = ne(y, _.props);
|
|
2257
2259
|
}
|
|
2258
2260
|
p.emit("BACKWARD"), c.push({
|
|
2259
|
-
path:
|
|
2260
|
-
query:
|
|
2261
|
+
path: d.path,
|
|
2262
|
+
query: d.query
|
|
2261
2263
|
});
|
|
2262
2264
|
},
|
|
2263
|
-
addScroller: (...
|
|
2264
|
-
|
|
2265
|
+
addScroller: (...g) => {
|
|
2266
|
+
f(w, ...g);
|
|
2265
2267
|
}
|
|
2266
2268
|
};
|
|
2267
2269
|
}, mr = /* @__PURE__ */ ee({
|
|
@@ -2271,24 +2273,24 @@ const nr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2271
2273
|
};
|
|
2272
2274
|
}
|
|
2273
2275
|
}), gr = () => {
|
|
2274
|
-
const t = ye(), { attrs: e } =
|
|
2275
|
-
|
|
2276
|
+
const t = ye(), { attrs: e } = en();
|
|
2277
|
+
je(() => {
|
|
2276
2278
|
s();
|
|
2277
2279
|
});
|
|
2278
2280
|
const n = () => {
|
|
2279
|
-
t.emit(
|
|
2281
|
+
t.emit(j.PAGE_LOADING, { tId: e.tId, value: !0 });
|
|
2280
2282
|
}, s = () => {
|
|
2281
|
-
t.emit(
|
|
2283
|
+
t.emit(j.PAGE_LOADING, { tId: e.tId, value: !1 });
|
|
2282
2284
|
};
|
|
2283
2285
|
return { openTabLoading: n, closeTabLoading: s };
|
|
2284
2286
|
}, yr = {
|
|
2285
2287
|
install(t, e) {
|
|
2286
|
-
lr("0.1.
|
|
2288
|
+
lr("0.1.50"), t.component("VueStackTabs", er).use(hs).use(Un().getI18n(e));
|
|
2287
2289
|
}
|
|
2288
2290
|
};
|
|
2289
2291
|
export {
|
|
2290
2292
|
mr as IFrame,
|
|
2291
|
-
|
|
2293
|
+
Ge as Stack,
|
|
2292
2294
|
er as StackTab,
|
|
2293
2295
|
at as TabHeaderButton,
|
|
2294
2296
|
be as TabScrollMode,
|