vue-stack-tabs 0.1.33 → 0.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/lib/hooks/useStackTab.d.ts +1 -1
- package/dist/src/lib/hooks/useTabpanel.d.ts +1 -0
- package/dist/vue-stack-tabs.es.js +749 -743
- package/dist/vue-stack-tabs.umd.js +3 -3
- package/package.json +1 -1
- package/src/lib/hooks/useStackTab.ts +103 -102
- package/src/lib/hooks/useTabpanel.tsx +11 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var wn = Object.defineProperty;
|
|
2
2
|
var Tn = (e, t, n) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var kt = (e, t, n) => (Tn(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { inject as lt, ref as R, reactive as
|
|
4
|
+
import { inject as lt, ref as R, reactive as Ie, readonly as wt, toRaw as xn, defineComponent as Q, openBlock as z, createElementBlock as W, createCommentVNode as ne, createElementVNode as K, unref as O, nextTick as de, onMounted as Ge, onDeactivated as Sn, onActivated as On, onUnmounted as He, createVNode as N, resolveComponent as Yt, normalizeClass as ce, withModifiers as _e, toDisplayString as Jt, normalizeStyle as ut, Fragment as Ze, renderList as ft, createBlock as me, computed as ge, renderSlot as ke, watch as En, withDirectives as Kt, vShow as Qt, withCtx as ae, TransitionGroup as en, mergeProps as An, Transition as tn, provide as In, onBeforeMount as Bn, onBeforeUnmount as Cn, KeepAlive as Mn, resolveDynamicComponent as Ln, getCurrentInstance as nn } from "vue";
|
|
5
5
|
import { useRouter as dt, useRoute as zn } from "vue-router";
|
|
6
6
|
const $n = {
|
|
7
7
|
VueStackTab: {
|
|
@@ -102,11 +102,11 @@ function rn(e, t) {
|
|
|
102
102
|
}), { ...e || {}, ...t };
|
|
103
103
|
}
|
|
104
104
|
const Gn = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", Hn = (e) => Gn ? Symbol(e) : "_vt_" + e, sn = /* @__PURE__ */ Hn("i18n");
|
|
105
|
-
function
|
|
105
|
+
function Ce() {
|
|
106
106
|
return lt(sn);
|
|
107
107
|
}
|
|
108
108
|
function Zn(e) {
|
|
109
|
-
const t = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, e), n = R(t.locale), r =
|
|
109
|
+
const t = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, e), n = R(t.locale), r = Ie({});
|
|
110
110
|
return Object.entries(t.messages).forEach(([s, o]) => {
|
|
111
111
|
r[s] = o;
|
|
112
112
|
}), {
|
|
@@ -114,12 +114,12 @@ function Zn(e) {
|
|
|
114
114
|
if (!s)
|
|
115
115
|
return "";
|
|
116
116
|
const i = typeof o == "string" && o ? o : n.value;
|
|
117
|
-
let
|
|
117
|
+
let f = Tt(r[i], s) || Tt(r[t.fallbackLocale], s);
|
|
118
118
|
if (o && typeof o != "string") {
|
|
119
|
-
const a = Fn(
|
|
120
|
-
Wn(a) || (
|
|
119
|
+
const a = Fn(f, o);
|
|
120
|
+
Wn(a) || (f = qn(f, a));
|
|
121
121
|
}
|
|
122
|
-
return
|
|
122
|
+
return f || s;
|
|
123
123
|
},
|
|
124
124
|
current: wt(n),
|
|
125
125
|
options: wt(e || {}),
|
|
@@ -143,11 +143,11 @@ const Xn = () => {
|
|
|
143
143
|
function t(s, o) {
|
|
144
144
|
for (const i in s)
|
|
145
145
|
if (s[i].default) {
|
|
146
|
-
const
|
|
147
|
-
o[
|
|
148
|
-
...s[
|
|
146
|
+
const f = i.substring(i.lastIndexOf("/") + 1, i.lastIndexOf("."));
|
|
147
|
+
o[f] ? o[f] = {
|
|
148
|
+
...s[f],
|
|
149
149
|
...s[i].default
|
|
150
|
-
} : o[
|
|
150
|
+
} : o[f] = s[i].default;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
const n = () => {
|
|
@@ -190,8 +190,8 @@ function Yn({
|
|
|
190
190
|
e.scrollIntoView({ behavior: "smooth", block: n, inline: r });
|
|
191
191
|
else {
|
|
192
192
|
const { offsetLeft: s, offsetTop: o } = e;
|
|
193
|
-
let i,
|
|
194
|
-
n === "center" ?
|
|
193
|
+
let i, f;
|
|
194
|
+
n === "center" ? f = o + (e.clientHeight - t.clientHeight) / 2 : f = o, r === "center" ? i = s + (e.clientWidth - t.clientWidth) / 2 : i = s, on({ wrap: t, left: i, top: f });
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
const an = (e = ".stack-tab__container *") => {
|
|
@@ -303,13 +303,13 @@ function Kn(e) {
|
|
|
303
303
|
shortMessage: n
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
|
-
class
|
|
306
|
+
class Z extends Error {
|
|
307
307
|
constructor(t, n) {
|
|
308
308
|
const r = [...arguments], { options: s, shortMessage: o } = Kn(r);
|
|
309
309
|
let i = o;
|
|
310
310
|
if (s.cause && (i = `${i}: ${s.cause.message}`), super(i), this.message = i, s.name && typeof s.name == "string" ? this.name = s.name : this.name = "Layerr", s.cause && Object.defineProperty(this, "_cause", { value: s.cause }), Object.defineProperty(this, "_info", { value: {} }), s.info && typeof s.info == "object" && Object.assign(this._info, s.info), Error.captureStackTrace) {
|
|
311
|
-
const
|
|
312
|
-
Error.captureStackTrace(this,
|
|
311
|
+
const f = s.constructorOpt || this.constructor;
|
|
312
|
+
Error.captureStackTrace(this, f);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
static cause(t) {
|
|
@@ -317,24 +317,24 @@ class H extends Error {
|
|
|
317
317
|
}
|
|
318
318
|
static fullStack(t) {
|
|
319
319
|
Ye(t);
|
|
320
|
-
const n =
|
|
320
|
+
const n = Z.cause(t);
|
|
321
321
|
return n ? `${t.stack}
|
|
322
|
-
caused by: ${
|
|
322
|
+
caused by: ${Z.fullStack(n)}` : t.stack;
|
|
323
323
|
}
|
|
324
324
|
static info(t) {
|
|
325
325
|
Ye(t);
|
|
326
|
-
const n = {}, r =
|
|
327
|
-
return r && Object.assign(n,
|
|
326
|
+
const n = {}, r = Z.cause(t);
|
|
327
|
+
return r && Object.assign(n, Z.info(r)), t._info && Object.assign(n, t._info), n;
|
|
328
328
|
}
|
|
329
329
|
cause() {
|
|
330
|
-
return
|
|
330
|
+
return Z.cause(this);
|
|
331
331
|
}
|
|
332
332
|
toString() {
|
|
333
333
|
let t = this.name || this.constructor.name || this.constructor.prototype.name;
|
|
334
334
|
return this.message && (t = `${t}: ${this.message}`), t;
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
const cn = "0123456789ABCDEFGHJKMNPQRSTVWXYZ",
|
|
337
|
+
const cn = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Oe = 32, xt = 281474976710655, Qn = 10, er = 16, xe = Object.freeze({
|
|
338
338
|
source: "ulid"
|
|
339
339
|
});
|
|
340
340
|
function tr(e) {
|
|
@@ -346,10 +346,10 @@ function tr(e) {
|
|
|
346
346
|
};
|
|
347
347
|
if (typeof (n == null ? void 0 : n.randomBytes) == "function")
|
|
348
348
|
return () => n.randomBytes(1).readUInt8() / 255;
|
|
349
|
-
throw new
|
|
349
|
+
throw new Z({
|
|
350
350
|
info: {
|
|
351
351
|
code: "PRNG_DETECT",
|
|
352
|
-
...
|
|
352
|
+
...xe
|
|
353
353
|
}
|
|
354
354
|
}, "Failed to find a reliable PRNG");
|
|
355
355
|
}
|
|
@@ -364,44 +364,44 @@ function rr(e, t) {
|
|
|
364
364
|
}
|
|
365
365
|
function sr(e, t) {
|
|
366
366
|
if (isNaN(e))
|
|
367
|
-
throw new
|
|
367
|
+
throw new Z({
|
|
368
368
|
info: {
|
|
369
369
|
code: "ENC_TIME_NAN",
|
|
370
|
-
...
|
|
370
|
+
...xe
|
|
371
371
|
}
|
|
372
372
|
}, `Time must be a number: ${e}`);
|
|
373
373
|
if (e > xt)
|
|
374
|
-
throw new
|
|
374
|
+
throw new Z({
|
|
375
375
|
info: {
|
|
376
376
|
code: "ENC_TIME_SIZE_EXCEED",
|
|
377
|
-
...
|
|
377
|
+
...xe
|
|
378
378
|
}
|
|
379
379
|
}, `Cannot encode a time larger than ${xt}: ${e}`);
|
|
380
380
|
if (e < 0)
|
|
381
|
-
throw new
|
|
381
|
+
throw new Z({
|
|
382
382
|
info: {
|
|
383
383
|
code: "ENC_TIME_NEG",
|
|
384
|
-
...
|
|
384
|
+
...xe
|
|
385
385
|
}
|
|
386
386
|
}, `Time must be positive: ${e}`);
|
|
387
387
|
if (Number.isInteger(e) === !1)
|
|
388
|
-
throw new
|
|
388
|
+
throw new Z({
|
|
389
389
|
info: {
|
|
390
390
|
code: "ENC_TIME_TYPE",
|
|
391
|
-
...
|
|
391
|
+
...xe
|
|
392
392
|
}
|
|
393
393
|
}, `Time must be an integer: ${e}`);
|
|
394
394
|
let n, r = "";
|
|
395
395
|
for (let s = t; s > 0; s--)
|
|
396
|
-
n = e %
|
|
396
|
+
n = e % Oe, r = cn.charAt(n) + r, e = (e - n) / Oe;
|
|
397
397
|
return r;
|
|
398
398
|
}
|
|
399
399
|
function or() {
|
|
400
400
|
return typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope;
|
|
401
401
|
}
|
|
402
402
|
function ir(e) {
|
|
403
|
-
let t = Math.floor(e() *
|
|
404
|
-
return t ===
|
|
403
|
+
let t = Math.floor(e() * Oe);
|
|
404
|
+
return t === Oe && (t = Oe - 1), cn.charAt(t);
|
|
405
405
|
}
|
|
406
406
|
function nt(e, t) {
|
|
407
407
|
const n = t || tr(), r = isNaN(e) ? Date.now() : e;
|
|
@@ -415,17 +415,17 @@ pt.exports;
|
|
|
415
415
|
function i(a, c) {
|
|
416
416
|
if (!o[a]) {
|
|
417
417
|
o[a] = {};
|
|
418
|
-
for (var
|
|
419
|
-
o[a][a.charAt(
|
|
418
|
+
for (var b = 0; b < a.length; b++)
|
|
419
|
+
o[a][a.charAt(b)] = b;
|
|
420
420
|
}
|
|
421
421
|
return o[a][c];
|
|
422
422
|
}
|
|
423
|
-
var
|
|
423
|
+
var f = {
|
|
424
424
|
compressToBase64: function(a) {
|
|
425
425
|
if (a == null)
|
|
426
426
|
return "";
|
|
427
|
-
var c =
|
|
428
|
-
return r.charAt(
|
|
427
|
+
var c = f._compress(a, 6, function(b) {
|
|
428
|
+
return r.charAt(b);
|
|
429
429
|
});
|
|
430
430
|
switch (c.length % 4) {
|
|
431
431
|
default:
|
|
@@ -440,166 +440,166 @@ pt.exports;
|
|
|
440
440
|
}
|
|
441
441
|
},
|
|
442
442
|
decompressFromBase64: function(a) {
|
|
443
|
-
return a == null ? "" : a == "" ? null :
|
|
443
|
+
return a == null ? "" : a == "" ? null : f._decompress(a.length, 32, function(c) {
|
|
444
444
|
return i(r, a.charAt(c));
|
|
445
445
|
});
|
|
446
446
|
},
|
|
447
447
|
compressToUTF16: function(a) {
|
|
448
|
-
return a == null ? "" :
|
|
448
|
+
return a == null ? "" : f._compress(a, 15, function(c) {
|
|
449
449
|
return n(c + 32);
|
|
450
450
|
}) + " ";
|
|
451
451
|
},
|
|
452
452
|
decompressFromUTF16: function(a) {
|
|
453
|
-
return a == null ? "" : a == "" ? null :
|
|
453
|
+
return a == null ? "" : a == "" ? null : f._decompress(a.length, 16384, function(c) {
|
|
454
454
|
return a.charCodeAt(c) - 32;
|
|
455
455
|
});
|
|
456
456
|
},
|
|
457
457
|
//compress into uint8array (UCS-2 big endian format)
|
|
458
458
|
compressToUint8Array: function(a) {
|
|
459
|
-
for (var c =
|
|
460
|
-
var
|
|
461
|
-
|
|
459
|
+
for (var c = f.compress(a), b = new Uint8Array(c.length * 2), l = 0, d = c.length; l < d; l++) {
|
|
460
|
+
var k = c.charCodeAt(l);
|
|
461
|
+
b[l * 2] = k >>> 8, b[l * 2 + 1] = k % 256;
|
|
462
462
|
}
|
|
463
|
-
return
|
|
463
|
+
return b;
|
|
464
464
|
},
|
|
465
465
|
//decompress from uint8array (UCS-2 big endian format)
|
|
466
466
|
decompressFromUint8Array: function(a) {
|
|
467
467
|
if (a == null)
|
|
468
|
-
return
|
|
469
|
-
for (var c = new Array(a.length / 2),
|
|
470
|
-
c[
|
|
468
|
+
return f.decompress(a);
|
|
469
|
+
for (var c = new Array(a.length / 2), b = 0, l = c.length; b < l; b++)
|
|
470
|
+
c[b] = a[b * 2] * 256 + a[b * 2 + 1];
|
|
471
471
|
var d = [];
|
|
472
|
-
return c.forEach(function(
|
|
473
|
-
d.push(n(
|
|
474
|
-
}),
|
|
472
|
+
return c.forEach(function(k) {
|
|
473
|
+
d.push(n(k));
|
|
474
|
+
}), f.decompress(d.join(""));
|
|
475
475
|
},
|
|
476
476
|
//compress into a string that is already URI encoded
|
|
477
477
|
compressToEncodedURIComponent: function(a) {
|
|
478
|
-
return a == null ? "" :
|
|
478
|
+
return a == null ? "" : f._compress(a, 6, function(c) {
|
|
479
479
|
return s.charAt(c);
|
|
480
480
|
});
|
|
481
481
|
},
|
|
482
482
|
//decompress from an output of compressToEncodedURIComponent
|
|
483
483
|
decompressFromEncodedURIComponent: function(a) {
|
|
484
|
-
return a == null ? "" : a == "" ? null : (a = a.replace(/ /g, "+"),
|
|
484
|
+
return a == null ? "" : a == "" ? null : (a = a.replace(/ /g, "+"), f._decompress(a.length, 32, function(c) {
|
|
485
485
|
return i(s, a.charAt(c));
|
|
486
486
|
}));
|
|
487
487
|
},
|
|
488
488
|
compress: function(a) {
|
|
489
|
-
return
|
|
489
|
+
return f._compress(a, 16, function(c) {
|
|
490
490
|
return n(c);
|
|
491
491
|
});
|
|
492
492
|
},
|
|
493
|
-
_compress: function(a, c,
|
|
493
|
+
_compress: function(a, c, b) {
|
|
494
494
|
if (a == null)
|
|
495
495
|
return "";
|
|
496
|
-
var
|
|
497
|
-
for (
|
|
498
|
-
if (
|
|
499
|
-
|
|
496
|
+
var l, d, k = {}, T = {}, E = "", A = "", x = "", _ = 2, w = 3, g = 2, S = [], u = 0, y = 0, v;
|
|
497
|
+
for (v = 0; v < a.length; v += 1)
|
|
498
|
+
if (E = a.charAt(v), Object.prototype.hasOwnProperty.call(k, E) || (k[E] = w++, T[E] = !0), A = x + E, Object.prototype.hasOwnProperty.call(k, A))
|
|
499
|
+
x = A;
|
|
500
500
|
else {
|
|
501
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
502
|
-
if (
|
|
503
|
-
for (
|
|
504
|
-
|
|
505
|
-
for (d =
|
|
506
|
-
|
|
501
|
+
if (Object.prototype.hasOwnProperty.call(T, x)) {
|
|
502
|
+
if (x.charCodeAt(0) < 256) {
|
|
503
|
+
for (l = 0; l < g; l++)
|
|
504
|
+
u = u << 1, y == c - 1 ? (y = 0, S.push(b(u)), u = 0) : y++;
|
|
505
|
+
for (d = x.charCodeAt(0), l = 0; l < 8; l++)
|
|
506
|
+
u = u << 1 | d & 1, y == c - 1 ? (y = 0, S.push(b(u)), u = 0) : y++, d = d >> 1;
|
|
507
507
|
} else {
|
|
508
|
-
for (d = 1,
|
|
509
|
-
|
|
510
|
-
for (d =
|
|
511
|
-
|
|
508
|
+
for (d = 1, l = 0; l < g; l++)
|
|
509
|
+
u = u << 1 | d, y == c - 1 ? (y = 0, S.push(b(u)), u = 0) : y++, d = 0;
|
|
510
|
+
for (d = x.charCodeAt(0), l = 0; l < 16; l++)
|
|
511
|
+
u = u << 1 | d & 1, y == c - 1 ? (y = 0, S.push(b(u)), u = 0) : y++, d = d >> 1;
|
|
512
512
|
}
|
|
513
|
-
|
|
513
|
+
_--, _ == 0 && (_ = Math.pow(2, g), g++), delete T[x];
|
|
514
514
|
} else
|
|
515
|
-
for (d =
|
|
516
|
-
|
|
517
|
-
|
|
515
|
+
for (d = k[x], l = 0; l < g; l++)
|
|
516
|
+
u = u << 1 | d & 1, y == c - 1 ? (y = 0, S.push(b(u)), u = 0) : y++, d = d >> 1;
|
|
517
|
+
_--, _ == 0 && (_ = Math.pow(2, g), g++), k[A] = w++, x = String(E);
|
|
518
518
|
}
|
|
519
|
-
if (
|
|
520
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
521
|
-
if (
|
|
522
|
-
for (
|
|
523
|
-
|
|
524
|
-
for (d =
|
|
525
|
-
|
|
519
|
+
if (x !== "") {
|
|
520
|
+
if (Object.prototype.hasOwnProperty.call(T, x)) {
|
|
521
|
+
if (x.charCodeAt(0) < 256) {
|
|
522
|
+
for (l = 0; l < g; l++)
|
|
523
|
+
u = u << 1, y == c - 1 ? (y = 0, S.push(b(u)), u = 0) : y++;
|
|
524
|
+
for (d = x.charCodeAt(0), l = 0; l < 8; l++)
|
|
525
|
+
u = u << 1 | d & 1, y == c - 1 ? (y = 0, S.push(b(u)), u = 0) : y++, d = d >> 1;
|
|
526
526
|
} else {
|
|
527
|
-
for (d = 1,
|
|
528
|
-
|
|
529
|
-
for (d =
|
|
530
|
-
|
|
527
|
+
for (d = 1, l = 0; l < g; l++)
|
|
528
|
+
u = u << 1 | d, y == c - 1 ? (y = 0, S.push(b(u)), u = 0) : y++, d = 0;
|
|
529
|
+
for (d = x.charCodeAt(0), l = 0; l < 16; l++)
|
|
530
|
+
u = u << 1 | d & 1, y == c - 1 ? (y = 0, S.push(b(u)), u = 0) : y++, d = d >> 1;
|
|
531
531
|
}
|
|
532
|
-
|
|
532
|
+
_--, _ == 0 && (_ = Math.pow(2, g), g++), delete T[x];
|
|
533
533
|
} else
|
|
534
|
-
for (d =
|
|
535
|
-
|
|
536
|
-
|
|
534
|
+
for (d = k[x], l = 0; l < g; l++)
|
|
535
|
+
u = u << 1 | d & 1, y == c - 1 ? (y = 0, S.push(b(u)), u = 0) : y++, d = d >> 1;
|
|
536
|
+
_--, _ == 0 && (_ = Math.pow(2, g), g++);
|
|
537
537
|
}
|
|
538
|
-
for (d = 2,
|
|
539
|
-
|
|
538
|
+
for (d = 2, l = 0; l < g; l++)
|
|
539
|
+
u = u << 1 | d & 1, y == c - 1 ? (y = 0, S.push(b(u)), u = 0) : y++, d = d >> 1;
|
|
540
540
|
for (; ; )
|
|
541
|
-
if (
|
|
542
|
-
|
|
541
|
+
if (u = u << 1, y == c - 1) {
|
|
542
|
+
S.push(b(u));
|
|
543
543
|
break;
|
|
544
544
|
} else
|
|
545
|
-
|
|
546
|
-
return
|
|
545
|
+
y++;
|
|
546
|
+
return S.join("");
|
|
547
547
|
},
|
|
548
548
|
decompress: function(a) {
|
|
549
|
-
return a == null ? "" : a == "" ? null :
|
|
549
|
+
return a == null ? "" : a == "" ? null : f._decompress(a.length, 32768, function(c) {
|
|
550
550
|
return a.charCodeAt(c);
|
|
551
551
|
});
|
|
552
552
|
},
|
|
553
|
-
_decompress: function(a, c,
|
|
554
|
-
var
|
|
555
|
-
for (
|
|
556
|
-
|
|
557
|
-
for (w = 0,
|
|
558
|
-
|
|
553
|
+
_decompress: function(a, c, b) {
|
|
554
|
+
var l = [], d = 4, k = 4, T = 3, E = "", A = [], x, _, w, g, S, u, y, v = { val: b(0), position: c, index: 1 };
|
|
555
|
+
for (x = 0; x < 3; x += 1)
|
|
556
|
+
l[x] = x;
|
|
557
|
+
for (w = 0, S = Math.pow(2, 2), u = 1; u != S; )
|
|
558
|
+
g = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = c, v.val = b(v.index++)), w |= (g > 0 ? 1 : 0) * u, u <<= 1;
|
|
559
559
|
switch (w) {
|
|
560
560
|
case 0:
|
|
561
|
-
for (w = 0,
|
|
562
|
-
|
|
563
|
-
|
|
561
|
+
for (w = 0, S = Math.pow(2, 8), u = 1; u != S; )
|
|
562
|
+
g = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = c, v.val = b(v.index++)), w |= (g > 0 ? 1 : 0) * u, u <<= 1;
|
|
563
|
+
y = n(w);
|
|
564
564
|
break;
|
|
565
565
|
case 1:
|
|
566
|
-
for (w = 0,
|
|
567
|
-
|
|
568
|
-
|
|
566
|
+
for (w = 0, S = Math.pow(2, 16), u = 1; u != S; )
|
|
567
|
+
g = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = c, v.val = b(v.index++)), w |= (g > 0 ? 1 : 0) * u, u <<= 1;
|
|
568
|
+
y = n(w);
|
|
569
569
|
break;
|
|
570
570
|
case 2:
|
|
571
571
|
return "";
|
|
572
572
|
}
|
|
573
|
-
for (
|
|
574
|
-
if (
|
|
573
|
+
for (l[3] = y, _ = y, A.push(y); ; ) {
|
|
574
|
+
if (v.index > a)
|
|
575
575
|
return "";
|
|
576
|
-
for (w = 0,
|
|
577
|
-
|
|
578
|
-
switch (
|
|
576
|
+
for (w = 0, S = Math.pow(2, T), u = 1; u != S; )
|
|
577
|
+
g = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = c, v.val = b(v.index++)), w |= (g > 0 ? 1 : 0) * u, u <<= 1;
|
|
578
|
+
switch (y = w) {
|
|
579
579
|
case 0:
|
|
580
|
-
for (w = 0,
|
|
581
|
-
|
|
582
|
-
|
|
580
|
+
for (w = 0, S = Math.pow(2, 8), u = 1; u != S; )
|
|
581
|
+
g = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = c, v.val = b(v.index++)), w |= (g > 0 ? 1 : 0) * u, u <<= 1;
|
|
582
|
+
l[k++] = n(w), y = k - 1, d--;
|
|
583
583
|
break;
|
|
584
584
|
case 1:
|
|
585
|
-
for (w = 0,
|
|
586
|
-
|
|
587
|
-
|
|
585
|
+
for (w = 0, S = Math.pow(2, 16), u = 1; u != S; )
|
|
586
|
+
g = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = c, v.val = b(v.index++)), w |= (g > 0 ? 1 : 0) * u, u <<= 1;
|
|
587
|
+
l[k++] = n(w), y = k - 1, d--;
|
|
588
588
|
break;
|
|
589
589
|
case 2:
|
|
590
|
-
return
|
|
590
|
+
return A.join("");
|
|
591
591
|
}
|
|
592
|
-
if (d == 0 && (d = Math.pow(2,
|
|
593
|
-
|
|
594
|
-
else if (
|
|
595
|
-
|
|
592
|
+
if (d == 0 && (d = Math.pow(2, T), T++), l[y])
|
|
593
|
+
E = l[y];
|
|
594
|
+
else if (y === k)
|
|
595
|
+
E = _ + _.charAt(0);
|
|
596
596
|
else
|
|
597
597
|
return null;
|
|
598
|
-
|
|
598
|
+
A.push(E), l[k++] = _ + E.charAt(0), d--, _ = E, d == 0 && (d = Math.pow(2, T), T++);
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
601
|
};
|
|
602
|
-
return
|
|
602
|
+
return f;
|
|
603
603
|
}();
|
|
604
604
|
e != null ? e.exports = t : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("LZString", function() {
|
|
605
605
|
return t;
|
|
@@ -640,7 +640,7 @@ const ar = new TextEncoder(), cr = new TextDecoder("utf-8", { ignoreBOM: !0 }),
|
|
|
640
640
|
decodeStr: (e) => St.decode(rt.decode(e)),
|
|
641
641
|
is: ur
|
|
642
642
|
};
|
|
643
|
-
function
|
|
643
|
+
function Ee(e) {
|
|
644
644
|
if (!Number.isSafeInteger(e) || e < 0)
|
|
645
645
|
throw new Error(`Wrong positive integer: ${e}`);
|
|
646
646
|
}
|
|
@@ -665,16 +665,16 @@ function dn(e, t) {
|
|
|
665
665
|
if (e.length < n)
|
|
666
666
|
throw new Error(`digestInto() expects output buffer of length at least ${n}`);
|
|
667
667
|
}
|
|
668
|
-
const
|
|
668
|
+
const $e = /* @__PURE__ */ BigInt(2 ** 32 - 1), Ot = /* @__PURE__ */ BigInt(32);
|
|
669
669
|
function Et(e, t = !1) {
|
|
670
|
-
return t ? { h: Number(e &
|
|
670
|
+
return t ? { h: Number(e & $e), l: Number(e >> Ot & $e) } : { h: Number(e >> Ot & $e) | 0, l: Number(e & $e) | 0 };
|
|
671
671
|
}
|
|
672
672
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
673
|
-
const dr = (e) => new Uint8Array(e.buffer, e.byteOffset, e.byteLength),
|
|
673
|
+
const dr = (e) => new Uint8Array(e.buffer, e.byteOffset, e.byteLength), Ue = (e) => new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4));
|
|
674
674
|
function hr(e) {
|
|
675
675
|
return e instanceof Uint8Array || e != null && typeof e == "object" && e.constructor.name === "Uint8Array";
|
|
676
676
|
}
|
|
677
|
-
const
|
|
677
|
+
const Ve = (e, t) => e << 32 - t | e >>> t, pr = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
|
|
678
678
|
if (!pr)
|
|
679
679
|
throw new Error("Non little-endian hardware is not supported");
|
|
680
680
|
function br(e) {
|
|
@@ -699,7 +699,7 @@ function vr(e) {
|
|
|
699
699
|
}
|
|
700
700
|
class gr extends mr {
|
|
701
701
|
constructor(t, n, r = {}, s, o, i) {
|
|
702
|
-
if (super(), this.blockLen = t, this.outputLen = n, this.length = 0, this.pos = 0, this.finished = !1, this.destroyed = !1,
|
|
702
|
+
if (super(), this.blockLen = t, this.outputLen = n, this.length = 0, this.pos = 0, this.finished = !1, this.destroyed = !1, Ee(t), Ee(n), Ee(s), n < 0 || n > s)
|
|
703
703
|
throw new Error("outputLen bigger than keyLen");
|
|
704
704
|
if (r.key !== void 0 && (r.key.length < 1 || r.key.length > s))
|
|
705
705
|
throw new Error(`key must be up 1..${s} byte long or undefined`);
|
|
@@ -707,20 +707,20 @@ class gr extends mr {
|
|
|
707
707
|
throw new Error(`salt must be ${o} byte long or undefined`);
|
|
708
708
|
if (r.personalization !== void 0 && r.personalization.length !== i)
|
|
709
709
|
throw new Error(`personalization must be ${i} byte long or undefined`);
|
|
710
|
-
this.buffer32 =
|
|
710
|
+
this.buffer32 = Ue(this.buffer = new Uint8Array(t));
|
|
711
711
|
}
|
|
712
712
|
update(t) {
|
|
713
713
|
st(this);
|
|
714
714
|
const { blockLen: n, buffer: r, buffer32: s } = this;
|
|
715
715
|
t = bt(t);
|
|
716
|
-
const o = t.length, i = t.byteOffset,
|
|
716
|
+
const o = t.length, i = t.byteOffset, f = t.buffer;
|
|
717
717
|
for (let a = 0; a < o; ) {
|
|
718
718
|
this.pos === n && (this.compress(s, 0, !1), this.pos = 0);
|
|
719
|
-
const c = Math.min(n - this.pos, o - a),
|
|
720
|
-
if (c === n && !(
|
|
721
|
-
const
|
|
719
|
+
const c = Math.min(n - this.pos, o - a), b = i + a;
|
|
720
|
+
if (c === n && !(b % 4) && a + c < o) {
|
|
721
|
+
const l = new Uint32Array(f, b, Math.floor((o - a) / 4));
|
|
722
722
|
for (let d = 0; a + n < o; d += s.length, a += n)
|
|
723
|
-
this.length += n, this.compress(
|
|
723
|
+
this.length += n, this.compress(l, d, !1);
|
|
724
724
|
continue;
|
|
725
725
|
}
|
|
726
726
|
r.set(t.subarray(a, a + c), this.pos), this.pos += c, this.length += c, a += c;
|
|
@@ -731,7 +731,7 @@ class gr extends mr {
|
|
|
731
731
|
st(this), dn(t, this);
|
|
732
732
|
const { pos: n, buffer32: r } = this;
|
|
733
733
|
this.finished = !0, this.buffer.subarray(n).fill(0), this.compress(r, 0, !0);
|
|
734
|
-
const s =
|
|
734
|
+
const s = Ue(t);
|
|
735
735
|
this.get().forEach((o, i) => s[i] = o);
|
|
736
736
|
}
|
|
737
737
|
digest() {
|
|
@@ -741,22 +741,22 @@ class gr extends mr {
|
|
|
741
741
|
return this.destroy(), r;
|
|
742
742
|
}
|
|
743
743
|
_cloneInto(t) {
|
|
744
|
-
const { buffer: n, length: r, finished: s, destroyed: o, outputLen: i, pos:
|
|
745
|
-
return t || (t = new this.constructor({ dkLen: i })), t.set(...this.get()), t.length = r, t.finished = s, t.destroyed = o, t.outputLen = i, t.buffer.set(n), t.pos =
|
|
744
|
+
const { buffer: n, length: r, finished: s, destroyed: o, outputLen: i, pos: f } = this;
|
|
745
|
+
return t || (t = new this.constructor({ dkLen: i })), t.set(...this.get()), t.length = r, t.finished = s, t.destroyed = o, t.outputLen = i, t.buffer.set(n), t.pos = f, t;
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
|
-
const
|
|
748
|
+
const ee = /* @__PURE__ */ new Uint32Array([1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225]);
|
|
749
749
|
function se(e, t, n, r, s) {
|
|
750
|
-
return e = e + t + s | 0, r =
|
|
750
|
+
return e = e + t + s | 0, r = Ve(r ^ e, 16), n = n + r | 0, t = Ve(t ^ n, 12), { a: e, b: t, c: n, d: r };
|
|
751
751
|
}
|
|
752
752
|
function oe(e, t, n, r, s) {
|
|
753
|
-
return e = e + t + s | 0, r =
|
|
753
|
+
return e = e + t + s | 0, r = Ve(r ^ e, 8), n = n + r | 0, t = Ve(t ^ n, 7), { a: e, b: t, c: n, d: r };
|
|
754
754
|
}
|
|
755
|
-
function At(e, t, n, r, s, o, i,
|
|
756
|
-
let
|
|
757
|
-
for (let
|
|
758
|
-
({ a: s, b: a, c: d, d:
|
|
759
|
-
return { v0: s, v1: o, v2: i, v3:
|
|
755
|
+
function At(e, t, n, r, s, o, i, f, a, c, b, l, d, k, T, E, A, x, _, w) {
|
|
756
|
+
let g = 0;
|
|
757
|
+
for (let S = 0; S < r; S++)
|
|
758
|
+
({ a: s, b: a, c: d, d: A } = se(s, a, d, A, n[t + e[g++]])), { a: s, b: a, c: d, d: A } = oe(s, a, d, A, n[t + e[g++]]), { a: o, b: c, c: k, d: x } = se(o, c, k, x, n[t + e[g++]]), { a: o, b: c, c: k, d: x } = oe(o, c, k, x, n[t + e[g++]]), { a: i, b, c: T, d: _ } = se(i, b, T, _, n[t + e[g++]]), { a: i, b, c: T, d: _ } = oe(i, b, T, _, n[t + e[g++]]), { a: f, b: l, c: E, d: w } = se(f, l, E, w, n[t + e[g++]]), { a: f, b: l, c: E, d: w } = oe(f, l, E, w, n[t + e[g++]]), { a: s, b: c, c: T, d: w } = se(s, c, T, w, n[t + e[g++]]), { a: s, b: c, c: T, d: w } = oe(s, c, T, w, n[t + e[g++]]), { a: o, b, c: E, d: A } = se(o, b, E, A, n[t + e[g++]]), { a: o, b, c: E, d: A } = oe(o, b, E, A, n[t + e[g++]]), { a: i, b: l, c: d, d: x } = se(i, l, d, x, n[t + e[g++]]), { a: i, b: l, c: d, d: x } = oe(i, l, d, x, n[t + e[g++]]), { a: f, b: a, c: k, d: _ } = se(f, a, k, _, n[t + e[g++]]), { a: f, b: a, c: k, d: _ } = oe(f, a, k, _, n[t + e[g++]]);
|
|
759
|
+
return { v0: s, v1: o, v2: i, v3: f, v4: a, v5: c, v6: b, v7: l, v8: d, v9: k, v10: T, v11: E, v12: A, v13: x, v14: _, v15: w };
|
|
760
760
|
}
|
|
761
761
|
const It = /* @__PURE__ */ (() => {
|
|
762
762
|
const e = Array.from({ length: 16 }, (r, s) => s), t = (r) => [2, 6, 3, 10, 7, 0, 4, 13, 1, 11, 12, 5, 9, 14, 15, 8].map((s) => r[s]), n = [];
|
|
@@ -766,22 +766,22 @@ const It = /* @__PURE__ */ (() => {
|
|
|
766
766
|
})();
|
|
767
767
|
class mt extends gr {
|
|
768
768
|
constructor(t = {}, n = 0) {
|
|
769
|
-
if (super(64, t.dkLen === void 0 ? 32 : t.dkLen, {}, Number.MAX_SAFE_INTEGER, 0, 0), this.flags = 0, this.chunkPos = 0, this.chunksDone = 0, this.stack = [], this.posOut = 0, this.bufferOut32 = new Uint32Array(16), this.chunkOut = 0, this.enableXOF = !0, this.outputLen = t.dkLen === void 0 ? 32 : t.dkLen,
|
|
769
|
+
if (super(64, t.dkLen === void 0 ? 32 : t.dkLen, {}, Number.MAX_SAFE_INTEGER, 0, 0), this.flags = 0, this.chunkPos = 0, this.chunksDone = 0, this.stack = [], this.posOut = 0, this.bufferOut32 = new Uint32Array(16), this.chunkOut = 0, this.enableXOF = !0, this.outputLen = t.dkLen === void 0 ? 32 : t.dkLen, Ee(this.outputLen), t.key !== void 0 && t.context !== void 0)
|
|
770
770
|
throw new Error("Blake3: only key or context can be specified at same time");
|
|
771
771
|
if (t.key !== void 0) {
|
|
772
772
|
const r = bt(t.key).slice();
|
|
773
773
|
if (r.length !== 32)
|
|
774
774
|
throw new Error("Blake3: key should be 32 byte");
|
|
775
|
-
this.IV =
|
|
775
|
+
this.IV = Ue(r), this.flags = n | 16;
|
|
776
776
|
} else if (t.context !== void 0) {
|
|
777
777
|
const r = new mt(
|
|
778
778
|
{ dkLen: 32 },
|
|
779
779
|
32
|
|
780
780
|
/* Flags.DERIVE_KEY_CONTEXT */
|
|
781
781
|
).update(t.context).digest();
|
|
782
|
-
this.IV =
|
|
782
|
+
this.IV = Ue(r), this.flags = n | 64;
|
|
783
783
|
} else
|
|
784
|
-
this.IV =
|
|
784
|
+
this.IV = ee.slice(), this.flags = n;
|
|
785
785
|
this.state = this.IV.slice(), this.bufferOut = dr(this.bufferOut32);
|
|
786
786
|
}
|
|
787
787
|
// Unused
|
|
@@ -791,15 +791,15 @@ class mt extends gr {
|
|
|
791
791
|
set() {
|
|
792
792
|
}
|
|
793
793
|
b2Compress(t, n, r, s = 0) {
|
|
794
|
-
const { state: o, pos: i } = this, { h:
|
|
795
|
-
o[0] = c ^
|
|
794
|
+
const { state: o, pos: i } = this, { h: f, l: a } = Et(BigInt(t), !0), { v0: c, v1: b, v2: l, v3: d, v4: k, v5: T, v6: E, v7: A, v8: x, v9: _, v10: w, v11: g, v12: S, v13: u, v14: y, v15: v } = At(It, s, r, 7, o[0], o[1], o[2], o[3], o[4], o[5], o[6], o[7], ee[0], ee[1], ee[2], ee[3], f, a, i, n);
|
|
795
|
+
o[0] = c ^ x, o[1] = b ^ _, o[2] = l ^ w, o[3] = d ^ g, o[4] = k ^ S, o[5] = T ^ u, o[6] = E ^ y, o[7] = A ^ v;
|
|
796
796
|
}
|
|
797
797
|
compress(t, n = 0, r = !1) {
|
|
798
798
|
let s = this.flags;
|
|
799
799
|
if (this.chunkPos || (s |= 1), (this.chunkPos === 15 || r) && (s |= 2), r || (this.pos = this.blockLen), this.b2Compress(this.chunksDone, s, t, n), this.chunkPos += 1, this.chunkPos === 16 || r) {
|
|
800
800
|
let o = this.state;
|
|
801
801
|
this.state = this.IV.slice();
|
|
802
|
-
for (let i,
|
|
802
|
+
for (let i, f = this.chunksDone + 1; (r || !(f & 1)) && (i = this.stack.pop()); f >>= 1)
|
|
803
803
|
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();
|
|
804
804
|
this.chunksDone++, this.chunkPos = 0, this.stack.push(o);
|
|
805
805
|
}
|
|
@@ -807,8 +807,8 @@ class mt extends gr {
|
|
|
807
807
|
}
|
|
808
808
|
_cloneInto(t) {
|
|
809
809
|
t = super._cloneInto(t);
|
|
810
|
-
const { IV: n, flags: r, state: s, chunkPos: o, posOut: i, chunkOut:
|
|
811
|
-
return t.state.set(s.slice()), t.stack = a.map((
|
|
810
|
+
const { IV: n, flags: r, state: s, chunkPos: o, posOut: i, chunkOut: f, stack: a, chunksDone: c } = this;
|
|
811
|
+
return t.state.set(s.slice()), t.stack = a.map((b) => Uint32Array.from(b)), t.IV.set(n), t.flags = r, t.chunkPos = o, t.chunksDone = c, t.posOut = i, t.chunkOut = f, t.enableXOF = this.enableXOF, t.bufferOut32.set(this.bufferOut32), t;
|
|
812
812
|
}
|
|
813
813
|
destroy() {
|
|
814
814
|
this.destroyed = !0, this.state.fill(0), this.buffer32.fill(0), this.IV.fill(0), this.bufferOut32.fill(0);
|
|
@@ -817,8 +817,8 @@ class mt extends gr {
|
|
|
817
817
|
}
|
|
818
818
|
// Same as b2Compress, but doesn't modify state and returns 16 u32 array (instead of 8)
|
|
819
819
|
b2CompressOut() {
|
|
820
|
-
const { state: t, pos: n, flags: r, buffer32: s, bufferOut32: o } = this, { h: i, l:
|
|
821
|
-
o[0] = a ^
|
|
820
|
+
const { state: t, pos: n, flags: r, buffer32: s, bufferOut32: o } = this, { h: i, l: f } = Et(BigInt(this.chunkOut++)), { v0: a, v1: c, v2: b, v3: l, v4: d, v5: k, v6: T, v7: E, v8: A, v9: x, v10: _, v11: w, v12: g, v13: S, v14: u, v15: y } = At(It, 0, s, 7, t[0], t[1], t[2], t[3], t[4], t[5], t[6], t[7], ee[0], ee[1], ee[2], ee[3], f, i, n, r);
|
|
821
|
+
o[0] = a ^ A, o[1] = c ^ x, o[2] = b ^ _, o[3] = l ^ w, o[4] = d ^ g, o[5] = k ^ S, o[6] = T ^ u, o[7] = E ^ y, o[8] = t[0] ^ A, o[9] = t[1] ^ x, o[10] = t[2] ^ _, o[11] = t[3] ^ w, o[12] = t[4] ^ g, o[13] = t[5] ^ S, o[14] = t[6] ^ u, o[15] = t[7] ^ y, this.posOut = 0;
|
|
822
822
|
}
|
|
823
823
|
finish() {
|
|
824
824
|
if (this.finished)
|
|
@@ -843,7 +843,7 @@ class mt extends gr {
|
|
|
843
843
|
return this.writeInto(t);
|
|
844
844
|
}
|
|
845
845
|
xof(t) {
|
|
846
|
-
return
|
|
846
|
+
return Ee(t), this.xofInto(new Uint8Array(t));
|
|
847
847
|
}
|
|
848
848
|
digestInto(t) {
|
|
849
849
|
if (dn(t, this), this.finished)
|
|
@@ -874,8 +874,8 @@ const yr = /* @__PURE__ */ vr((e) => new mt(e)), ot = (e) => {
|
|
|
874
874
|
value: n[o]
|
|
875
875
|
});
|
|
876
876
|
r.sort((o, i) => {
|
|
877
|
-
let
|
|
878
|
-
return o.key > i.key ?
|
|
877
|
+
let f = 0;
|
|
878
|
+
return o.key > i.key ? f = 1 : o.key < i.key && (f = -1), f;
|
|
879
879
|
});
|
|
880
880
|
const s = yr(`${e}|${t}|${JSON.stringify(r)}`);
|
|
881
881
|
return rt.encode(s);
|
|
@@ -909,7 +909,7 @@ function kr(e) {
|
|
|
909
909
|
t.reduce((n, r) => it(n, r, "", e), {})
|
|
910
910
|
);
|
|
911
911
|
}
|
|
912
|
-
const
|
|
912
|
+
const te = kr(), vt = (e) => {
|
|
913
913
|
const t = e.split("?");
|
|
914
914
|
if (t.length <= 1)
|
|
915
915
|
return {
|
|
@@ -948,8 +948,8 @@ const Tr = wr(), xr = {
|
|
|
948
948
|
install(e) {
|
|
949
949
|
e.provide("tabEmitter", Tr);
|
|
950
950
|
}
|
|
951
|
-
},
|
|
952
|
-
var
|
|
951
|
+
}, Me = () => lt("tabEmitter");
|
|
952
|
+
var q = /* @__PURE__ */ ((e) => (e.PAGE_LOADING = "PAGE_LOADING", e.TAB_ACTIVE = "TAB_ACTIVE", e))(q || {});
|
|
953
953
|
const Sr = {
|
|
954
954
|
key: 0,
|
|
955
955
|
class: "stack-tab-loading-mask"
|
|
@@ -961,283 +961,288 @@ const Sr = {
|
|
|
961
961
|
tId: {}
|
|
962
962
|
},
|
|
963
963
|
setup(e) {
|
|
964
|
-
const t = e, n =
|
|
965
|
-
return n.on(
|
|
964
|
+
const t = e, n = Me(), r = R(!1);
|
|
965
|
+
return n.on(q.PAGE_LOADING, ({ tId: s, value: o }) => {
|
|
966
966
|
s === t.tId && (r.value = o);
|
|
967
|
-
}), (s, o) => r.value ? (z(),
|
|
967
|
+
}), (s, o) => r.value ? (z(), W("div", Sr, Er)) : ne("", !0);
|
|
968
968
|
}
|
|
969
|
-
}), C = R([]), Ke = [],
|
|
970
|
-
let Mt = !1,
|
|
971
|
-
const
|
|
972
|
-
const e = dt(), t =
|
|
969
|
+
}), C = R([]), Ke = [], D = R([]), le = /* @__PURE__ */ new Map(), Re = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set(), ue = R(!0), Ct = "stacktab-active-tab", fe = /* @__PURE__ */ new Map();
|
|
970
|
+
let Mt = !1, Ne = 0, Lt = !1;
|
|
971
|
+
const Le = () => {
|
|
972
|
+
const e = dt(), t = Me(), {
|
|
973
973
|
t: n
|
|
974
|
-
} =
|
|
975
|
-
for (const
|
|
976
|
-
const
|
|
974
|
+
} = Ce(), r = () => C.value.length, s = (m) => {
|
|
975
|
+
for (const I of m) {
|
|
976
|
+
const h = te(I, {
|
|
977
977
|
id: nt(),
|
|
978
978
|
refreshable: !0,
|
|
979
979
|
closable: !0,
|
|
980
980
|
iframe: !1
|
|
981
|
-
}), L = ot(
|
|
981
|
+
}), L = ot(h), V = vt(h.path), j = te(h, {
|
|
982
982
|
closable: !0,
|
|
983
983
|
refreshable: !0,
|
|
984
984
|
iframe: !1
|
|
985
|
-
}),
|
|
986
|
-
id:
|
|
987
|
-
tabId:
|
|
988
|
-
path:
|
|
989
|
-
query:
|
|
985
|
+
}), ze = Bt(h.id, V.path, V.query), H = {
|
|
986
|
+
id: ze,
|
|
987
|
+
tabId: h.id,
|
|
988
|
+
path: V.path,
|
|
989
|
+
query: te(V.query, {
|
|
990
990
|
__tab: L
|
|
991
991
|
})
|
|
992
992
|
}, ve = new Xe();
|
|
993
|
-
ve.push(
|
|
993
|
+
ve.push(H);
|
|
994
994
|
const X = {
|
|
995
|
-
id:
|
|
996
|
-
title:
|
|
997
|
-
closable:
|
|
998
|
-
refreshable:
|
|
999
|
-
iframe:
|
|
995
|
+
id: h.id,
|
|
996
|
+
title: j.title,
|
|
997
|
+
closable: j.closable,
|
|
998
|
+
refreshable: j.refreshable,
|
|
999
|
+
iframe: j.iframe,
|
|
1000
1000
|
active: !1,
|
|
1001
1001
|
pages: ve
|
|
1002
1002
|
};
|
|
1003
|
-
|
|
1003
|
+
D.value.push(ze), Ke.push(X), C.value.push({
|
|
1004
1004
|
...X
|
|
1005
1005
|
});
|
|
1006
1006
|
}
|
|
1007
|
-
const
|
|
1008
|
-
if (
|
|
1009
|
-
const
|
|
1010
|
-
let
|
|
1007
|
+
const p = window.sessionStorage.getItem(Ct);
|
|
1008
|
+
if (p != null) {
|
|
1009
|
+
const I = JSON.parse(p, (L, V) => L === "pages" ? new Xe(V) : V);
|
|
1010
|
+
let h = !1;
|
|
1011
1011
|
for (const L of C.value)
|
|
1012
|
-
if (L.id ===
|
|
1013
|
-
|
|
1012
|
+
if (L.id === I.id) {
|
|
1013
|
+
h = !0;
|
|
1014
1014
|
break;
|
|
1015
1015
|
}
|
|
1016
|
-
|
|
1016
|
+
h || C.value.push(I);
|
|
1017
1017
|
}
|
|
1018
1018
|
Mt = !0;
|
|
1019
1019
|
}, o = (m) => {
|
|
1020
|
-
for (const
|
|
1021
|
-
if (
|
|
1020
|
+
for (const p of C.value)
|
|
1021
|
+
if (p.id === m)
|
|
1022
1022
|
return !0;
|
|
1023
1023
|
return !1;
|
|
1024
|
-
}, i = () =>
|
|
1025
|
-
C.value.push(m),
|
|
1024
|
+
}, i = () => Ne <= 0 || Ne > 0 && Ne > C.value.length, f = (m) => new Promise((p) => {
|
|
1025
|
+
C.value.push(m), p(!0);
|
|
1026
1026
|
}), a = (m) => {
|
|
1027
|
-
for (const
|
|
1028
|
-
if (
|
|
1029
|
-
return
|
|
1027
|
+
for (const p of C.value)
|
|
1028
|
+
if (p.id === m)
|
|
1029
|
+
return p;
|
|
1030
1030
|
return null;
|
|
1031
|
-
}, c = (m,
|
|
1032
|
-
let
|
|
1033
|
-
if (m.query.__tab ?
|
|
1031
|
+
}, c = (m, p) => {
|
|
1032
|
+
let I, h;
|
|
1033
|
+
if (m.query.__tab ? h = _r(m.query.__tab) : (h = {
|
|
1034
1034
|
id: nt(),
|
|
1035
1035
|
title: n("VueStackTab.undefined"),
|
|
1036
1036
|
closable: !0,
|
|
1037
1037
|
refreshable: !0,
|
|
1038
1038
|
iframe: !1
|
|
1039
|
-
}, m.query.__tab = ot(
|
|
1039
|
+
}, m.query.__tab = ot(h)), F.has(h.id) || !p)
|
|
1040
1040
|
return;
|
|
1041
|
-
const L = m.matched[m.matched.length - 1].path,
|
|
1042
|
-
let
|
|
1043
|
-
for (const X of
|
|
1044
|
-
X.active = !1, X.id ===
|
|
1041
|
+
const L = m.matched[m.matched.length - 1].path, V = m.path.endsWith("/") ? m.path.substring(0, m.path.length - 1) : m.path, j = Bt(h.id, L === V ? V : m.path, m.query.valueOf()), ze = m.query.__src;
|
|
1042
|
+
let H = null;
|
|
1043
|
+
for (const X of O(C))
|
|
1044
|
+
X.active = !1, X.id === h.id && (H = X);
|
|
1045
1045
|
const ve = {
|
|
1046
|
-
id:
|
|
1047
|
-
tabId:
|
|
1046
|
+
id: j,
|
|
1047
|
+
tabId: h.id,
|
|
1048
1048
|
path: m.path,
|
|
1049
1049
|
query: m.query
|
|
1050
1050
|
};
|
|
1051
|
-
if (
|
|
1051
|
+
if (H === null) {
|
|
1052
1052
|
const X = new Xe();
|
|
1053
|
-
X.push(ve),
|
|
1054
|
-
id:
|
|
1055
|
-
title:
|
|
1056
|
-
closable:
|
|
1057
|
-
refreshable:
|
|
1058
|
-
iframe:
|
|
1059
|
-
url: decodeURIComponent(
|
|
1053
|
+
X.push(ve), H = {
|
|
1054
|
+
id: h.id,
|
|
1055
|
+
title: h.title,
|
|
1056
|
+
closable: h.closable,
|
|
1057
|
+
refreshable: h.refreshable,
|
|
1058
|
+
iframe: h.iframe,
|
|
1059
|
+
url: decodeURIComponent(ze),
|
|
1060
1060
|
active: !0,
|
|
1061
1061
|
pages: X
|
|
1062
|
-
},
|
|
1063
|
-
t.emit(
|
|
1064
|
-
id:
|
|
1062
|
+
}, f(H).then(() => {
|
|
1063
|
+
t.emit(q.TAB_ACTIVE, {
|
|
1064
|
+
id: h.id,
|
|
1065
1065
|
isRoute: !1
|
|
1066
1066
|
});
|
|
1067
1067
|
});
|
|
1068
1068
|
} else
|
|
1069
|
-
|
|
1070
|
-
return
|
|
1071
|
-
name:
|
|
1069
|
+
H.active = !0, (H.pages.isEmpty() || H.pages.peek().id !== ve.id) && H.pages.push(ve);
|
|
1070
|
+
return U(H), le.has(j) ? I = le.get(j) : (I = /* @__PURE__ */ Q({
|
|
1071
|
+
name: j,
|
|
1072
1072
|
components: {
|
|
1073
|
-
DynamicComponent:
|
|
1073
|
+
DynamicComponent: p
|
|
1074
1074
|
},
|
|
1075
1075
|
emits: {
|
|
1076
1076
|
onLoaded: null
|
|
1077
1077
|
},
|
|
1078
1078
|
setup(X, _t) {
|
|
1079
|
-
return
|
|
1080
|
-
_t.emit("onLoaded"),
|
|
1079
|
+
return Ge(() => {
|
|
1080
|
+
_t.emit("onLoaded"), k(j, ".cache-page-wrapper");
|
|
1081
1081
|
}), Sn(() => {
|
|
1082
|
-
|
|
1082
|
+
l(j);
|
|
1083
1083
|
}), On(() => {
|
|
1084
|
-
_t.emit("onLoaded"),
|
|
1085
|
-
}),
|
|
1086
|
-
d(
|
|
1084
|
+
_t.emit("onLoaded"), b(j), P(), F.clear(), p.props = null;
|
|
1085
|
+
}), He(() => {
|
|
1086
|
+
d(j);
|
|
1087
1087
|
}), () => N("div", {
|
|
1088
1088
|
class: "cache-page-wrapper",
|
|
1089
|
-
id: "W-" +
|
|
1089
|
+
id: "W-" + h.id,
|
|
1090
1090
|
style: [Lt ? "overflow:auto" : "overflow:hidden"]
|
|
1091
1091
|
}, [N(Yt("dynamic-component"), {
|
|
1092
|
-
tId:
|
|
1093
|
-
pId:
|
|
1092
|
+
tId: h.id,
|
|
1093
|
+
pId: j
|
|
1094
1094
|
}, null), N(Ar, {
|
|
1095
|
-
tId:
|
|
1095
|
+
tId: h.id
|
|
1096
1096
|
}, null)]);
|
|
1097
1097
|
}
|
|
1098
|
-
}), le.set(
|
|
1099
|
-
},
|
|
1100
|
-
const
|
|
1101
|
-
if (
|
|
1102
|
-
for (const
|
|
1103
|
-
if (document.querySelector(
|
|
1104
|
-
const
|
|
1105
|
-
document.querySelector(
|
|
1098
|
+
}), le.set(j, I)), B(j), I;
|
|
1099
|
+
}, b = (m) => {
|
|
1100
|
+
const p = fe.get(m);
|
|
1101
|
+
if (p) {
|
|
1102
|
+
for (const I of p.keys())
|
|
1103
|
+
if (document.querySelector(I)) {
|
|
1104
|
+
const h = p.get(I);
|
|
1105
|
+
document.querySelector(I).scrollTop = h.top, document.querySelector(I).scrollLeft = h.left;
|
|
1106
1106
|
}
|
|
1107
1107
|
}
|
|
1108
|
-
},
|
|
1109
|
-
var
|
|
1110
|
-
const
|
|
1111
|
-
if (
|
|
1112
|
-
for (const L of
|
|
1113
|
-
const
|
|
1114
|
-
top: ((
|
|
1115
|
-
left: ((
|
|
1108
|
+
}, l = (m) => {
|
|
1109
|
+
var I, h;
|
|
1110
|
+
const p = fe.get(m);
|
|
1111
|
+
if (p)
|
|
1112
|
+
for (const L of p.keys()) {
|
|
1113
|
+
const V = {
|
|
1114
|
+
top: ((I = document.querySelector(L)) == null ? void 0 : I.scrollTop) ?? 0,
|
|
1115
|
+
left: ((h = document.querySelector(L)) == null ? void 0 : h.scrollLeft) ?? 0
|
|
1116
1116
|
};
|
|
1117
|
-
|
|
1117
|
+
p.set(L, V);
|
|
1118
1118
|
}
|
|
1119
1119
|
}, d = (m) => {
|
|
1120
|
-
const
|
|
1121
|
-
|
|
1122
|
-
},
|
|
1120
|
+
const p = fe.get(m);
|
|
1121
|
+
p && (p.clear(), fe.delete(m));
|
|
1122
|
+
}, k = (m, ...p) => {
|
|
1123
1123
|
fe.has(m) || fe.set(m, /* @__PURE__ */ new Map());
|
|
1124
|
-
const
|
|
1125
|
-
for (const
|
|
1126
|
-
|
|
1124
|
+
const I = fe.get(m);
|
|
1125
|
+
for (const h of p)
|
|
1126
|
+
I.set(h, {
|
|
1127
1127
|
top: 0,
|
|
1128
1128
|
left: 0
|
|
1129
1129
|
});
|
|
1130
|
-
},
|
|
1131
|
-
|
|
1132
|
-
const
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1130
|
+
}, T = (m) => {
|
|
1131
|
+
const p = a(m.id);
|
|
1132
|
+
for (const I of p.pages.list())
|
|
1133
|
+
v(I.id), $(I.id);
|
|
1134
|
+
P(), p.pages.clear();
|
|
1135
|
+
}, E = (m) => {
|
|
1136
|
+
let p = "";
|
|
1137
|
+
const I = a(m);
|
|
1138
|
+
for (let h = C.value.length - 1; h >= 0; h--)
|
|
1139
|
+
if (m === O(C)[h].id) {
|
|
1140
|
+
if (!O(C)[h].closable)
|
|
1136
1141
|
return m;
|
|
1137
|
-
for (const L of
|
|
1138
|
-
v(L.id),
|
|
1139
|
-
|
|
1142
|
+
for (const L of O(C)[h].pages.list())
|
|
1143
|
+
v(L.id), $(L.id), F.add(O(C)[h].id);
|
|
1144
|
+
O(C)[h].pages.clear(), C.value.length > 1 && O(C)[h].active && (h === 0 ? p = O(C)[h + 1].id : p = O(C)[h - 1].id), O(C).splice(h, 1);
|
|
1140
1145
|
break;
|
|
1141
1146
|
}
|
|
1142
|
-
return
|
|
1143
|
-
id:
|
|
1144
|
-
}),
|
|
1145
|
-
},
|
|
1146
|
-
const m =
|
|
1147
|
-
for (let
|
|
1148
|
-
if (m[
|
|
1149
|
-
for (const
|
|
1150
|
-
v(
|
|
1151
|
-
|
|
1147
|
+
return p !== "" && t.emit(q.TAB_ACTIVE, {
|
|
1148
|
+
id: p
|
|
1149
|
+
}), I != null && I.active || (P(), F.clear()), p;
|
|
1150
|
+
}, A = () => {
|
|
1151
|
+
const m = O(C);
|
|
1152
|
+
for (let p = m.length - 1; p >= 0; p--)
|
|
1153
|
+
if (m[p].closable) {
|
|
1154
|
+
for (const I of m[p].pages.list())
|
|
1155
|
+
v(I.id), $(I.id), F.add(m[p].id);
|
|
1156
|
+
O(C)[p].pages.clear(), O(C).splice(p, 1);
|
|
1152
1157
|
}
|
|
1153
|
-
for (const
|
|
1154
|
-
if (
|
|
1155
|
-
|
|
1158
|
+
for (const p of m)
|
|
1159
|
+
if (p.active) {
|
|
1160
|
+
P(), F.clear();
|
|
1156
1161
|
return;
|
|
1157
1162
|
}
|
|
1158
|
-
t.emit(
|
|
1163
|
+
t.emit(q.TAB_ACTIVE, {
|
|
1159
1164
|
id: m[m.length - 1].id
|
|
1160
1165
|
});
|
|
1161
|
-
},
|
|
1162
|
-
const
|
|
1163
|
-
let
|
|
1164
|
-
for (let
|
|
1165
|
-
if (
|
|
1166
|
-
|
|
1167
|
-
else if (
|
|
1168
|
-
for (const L of
|
|
1169
|
-
v(L.id),
|
|
1170
|
-
|
|
1166
|
+
}, x = (m) => {
|
|
1167
|
+
const p = O(C);
|
|
1168
|
+
let I;
|
|
1169
|
+
for (let h = p.length - 1; h >= 0; h--)
|
|
1170
|
+
if (p[h].id === m)
|
|
1171
|
+
I = p[h];
|
|
1172
|
+
else if (p[h].closable && p[h].id !== m) {
|
|
1173
|
+
for (const L of p[h].pages.list())
|
|
1174
|
+
v(L.id), $(L.id), F.add(p[h].id);
|
|
1175
|
+
O(C)[h].pages.clear(), O(C).splice(h, 1);
|
|
1171
1176
|
}
|
|
1172
|
-
|
|
1177
|
+
I.active ? (P(), F.clear()) : t.emit(q.TAB_ACTIVE, {
|
|
1173
1178
|
id: m
|
|
1174
1179
|
});
|
|
1175
|
-
},
|
|
1176
|
-
let
|
|
1177
|
-
const
|
|
1178
|
-
for (let
|
|
1179
|
-
if (
|
|
1180
|
-
|
|
1180
|
+
}, _ = (m) => {
|
|
1181
|
+
let p = -1;
|
|
1182
|
+
const I = O(C);
|
|
1183
|
+
for (let h = 0; h < I.length; h++)
|
|
1184
|
+
if (I[h].id === m) {
|
|
1185
|
+
p = h - 1;
|
|
1181
1186
|
break;
|
|
1182
1187
|
}
|
|
1183
|
-
for (let
|
|
1184
|
-
if (
|
|
1185
|
-
for (const L of
|
|
1186
|
-
v(L.id),
|
|
1187
|
-
|
|
1188
|
+
for (let h = p; h >= 0; h--)
|
|
1189
|
+
if (I[h].closable) {
|
|
1190
|
+
for (const L of I[h].pages.list())
|
|
1191
|
+
v(L.id), $(L.id), F.add(I[h].id);
|
|
1192
|
+
O(C)[h].pages.clear(), O(C).splice(h, 1);
|
|
1188
1193
|
}
|
|
1189
|
-
for (const
|
|
1190
|
-
if (
|
|
1191
|
-
|
|
1194
|
+
for (const h of I)
|
|
1195
|
+
if (h.active) {
|
|
1196
|
+
P(), F.clear();
|
|
1192
1197
|
return;
|
|
1193
1198
|
}
|
|
1194
|
-
t.emit(
|
|
1195
|
-
id:
|
|
1199
|
+
t.emit(q.TAB_ACTIVE, {
|
|
1200
|
+
id: I[0].id
|
|
1196
1201
|
});
|
|
1197
|
-
},
|
|
1198
|
-
const
|
|
1199
|
-
let
|
|
1200
|
-
for (let
|
|
1201
|
-
if (
|
|
1202
|
-
|
|
1202
|
+
}, w = (m) => {
|
|
1203
|
+
const p = O(C);
|
|
1204
|
+
let I = p.length;
|
|
1205
|
+
for (let h = 0; h < p.length; h++)
|
|
1206
|
+
if (p[h].id === m) {
|
|
1207
|
+
I = h + 1;
|
|
1203
1208
|
break;
|
|
1204
1209
|
}
|
|
1205
|
-
for (let
|
|
1206
|
-
if (
|
|
1207
|
-
for (const L of
|
|
1208
|
-
v(L.id),
|
|
1209
|
-
|
|
1210
|
+
for (let h = p.length - 1; h >= I; h--)
|
|
1211
|
+
if (p[h].closable) {
|
|
1212
|
+
for (const L of p[h].pages.list())
|
|
1213
|
+
v(L.id), $(L.id), F.add(p[h].id);
|
|
1214
|
+
O(C)[h].pages.clear(), O(C).splice(h, 1);
|
|
1210
1215
|
}
|
|
1211
|
-
for (const
|
|
1212
|
-
if (
|
|
1213
|
-
|
|
1216
|
+
for (const h of p)
|
|
1217
|
+
if (h.active) {
|
|
1218
|
+
P(), F.clear();
|
|
1214
1219
|
return;
|
|
1215
1220
|
}
|
|
1216
|
-
t.emit(
|
|
1217
|
-
id:
|
|
1221
|
+
t.emit(q.TAB_ACTIVE, {
|
|
1222
|
+
id: p[p.length - 1].id
|
|
1218
1223
|
});
|
|
1219
|
-
},
|
|
1220
|
-
var
|
|
1221
|
-
for (const
|
|
1222
|
-
if (
|
|
1223
|
-
const
|
|
1224
|
-
for (let L =
|
|
1225
|
-
if (
|
|
1226
|
-
|
|
1224
|
+
}, g = (m) => {
|
|
1225
|
+
var p;
|
|
1226
|
+
for (const I of O(C))
|
|
1227
|
+
if (I.id === m) {
|
|
1228
|
+
const h = (p = I.pages.peek()) == null ? void 0 : p.id;
|
|
1229
|
+
for (let L = D.value.length - 1; L >= 0; L--)
|
|
1230
|
+
if (D.value[L] === h) {
|
|
1231
|
+
D.value.splice(L, 1), I.active && (ue.value = !1, de(() => {
|
|
1227
1232
|
ue.value = !0;
|
|
1228
1233
|
}));
|
|
1229
1234
|
break;
|
|
1230
1235
|
}
|
|
1231
1236
|
break;
|
|
1232
1237
|
}
|
|
1233
|
-
},
|
|
1238
|
+
}, S = () => {
|
|
1234
1239
|
const m = /* @__PURE__ */ new Set();
|
|
1235
|
-
C.value.forEach((
|
|
1236
|
-
m.add(
|
|
1240
|
+
C.value.forEach((p) => {
|
|
1241
|
+
m.add(p.pages.peek().id);
|
|
1237
1242
|
});
|
|
1238
|
-
for (let
|
|
1239
|
-
const
|
|
1240
|
-
m.has(
|
|
1243
|
+
for (let p = D.value.length - 1; p >= 0; p--) {
|
|
1244
|
+
const I = D.value[p];
|
|
1245
|
+
m.has(I) && D.value.splice(p, 1);
|
|
1241
1246
|
}
|
|
1242
1247
|
de(() => {
|
|
1243
1248
|
ue.value = !1, de(() => {
|
|
@@ -1246,83 +1251,84 @@ const Me = () => {
|
|
|
1246
1251
|
}, 300);
|
|
1247
1252
|
});
|
|
1248
1253
|
});
|
|
1249
|
-
},
|
|
1250
|
-
le.set(m,
|
|
1251
|
-
},
|
|
1254
|
+
}, u = (m, p) => {
|
|
1255
|
+
le.set(m, p);
|
|
1256
|
+
}, y = (m) => le.get(m), v = (m) => {
|
|
1252
1257
|
le.delete(m);
|
|
1253
|
-
},
|
|
1254
|
-
|
|
1255
|
-
},
|
|
1256
|
-
for (let m =
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
},
|
|
1260
|
-
for (let
|
|
1261
|
-
m ===
|
|
1262
|
-
},
|
|
1263
|
-
new Set(
|
|
1264
|
-
},
|
|
1265
|
-
for (let
|
|
1266
|
-
const
|
|
1267
|
-
if (
|
|
1268
|
-
if (
|
|
1258
|
+
}, $ = (m) => {
|
|
1259
|
+
Re.add(m);
|
|
1260
|
+
}, P = () => {
|
|
1261
|
+
for (let m = D.value.length - 1; m >= 0; m--)
|
|
1262
|
+
Re.has(D.value[m]) && O(D).splice(m, 1);
|
|
1263
|
+
Re.clear();
|
|
1264
|
+
}, G = (m) => {
|
|
1265
|
+
for (let p = D.value.length - 1; p >= 0; p--)
|
|
1266
|
+
m === D.value[p] && O(D).splice(p, 1);
|
|
1267
|
+
}, B = (m) => {
|
|
1268
|
+
new Set(D.value).has(m) || D.value.push(m);
|
|
1269
|
+
}, M = (m, p = !0) => {
|
|
1270
|
+
for (let I = C.value.length - 1; I >= 0; I--) {
|
|
1271
|
+
const h = C.value[I];
|
|
1272
|
+
if (h.id === m) {
|
|
1273
|
+
if (h.active)
|
|
1269
1274
|
break;
|
|
1270
|
-
if (
|
|
1271
|
-
const L =
|
|
1275
|
+
if (h.active = !0, U(h), p) {
|
|
1276
|
+
const L = h.pages.peek();
|
|
1272
1277
|
e.push({
|
|
1273
1278
|
path: L.path,
|
|
1274
1279
|
query: L.query
|
|
1275
1280
|
});
|
|
1276
1281
|
}
|
|
1277
1282
|
} else
|
|
1278
|
-
C.value[
|
|
1283
|
+
C.value[I].active = !1;
|
|
1279
1284
|
}
|
|
1280
|
-
},
|
|
1285
|
+
}, U = (m) => {
|
|
1281
1286
|
window.sessionStorage.setItem(Ct, JSON.stringify(m));
|
|
1282
|
-
},
|
|
1283
|
-
ue.value = !1,
|
|
1284
|
-
|
|
1287
|
+
}, re = () => {
|
|
1288
|
+
ue.value = !1, we(), de(() => {
|
|
1289
|
+
O(C).push(...Ke), t.emit(q.TAB_ACTIVE, {
|
|
1285
1290
|
id: Ke[0].id
|
|
1286
1291
|
}), de(() => {
|
|
1287
1292
|
ue.value = !0;
|
|
1288
1293
|
});
|
|
1289
1294
|
});
|
|
1290
|
-
},
|
|
1291
|
-
|
|
1295
|
+
}, we = () => {
|
|
1296
|
+
O(C).splice(0), le.clear(), Re.clear(), F.clear(), O(D).splice(0);
|
|
1292
1297
|
};
|
|
1293
1298
|
return {
|
|
1294
1299
|
tabs: C,
|
|
1295
|
-
caches:
|
|
1300
|
+
caches: D,
|
|
1296
1301
|
pageShown: ue,
|
|
1297
1302
|
initialed: Mt,
|
|
1298
1303
|
setMaxSize: (m) => {
|
|
1299
|
-
|
|
1304
|
+
Ne = m;
|
|
1300
1305
|
},
|
|
1301
1306
|
canAddTab: i,
|
|
1302
1307
|
initial: s,
|
|
1303
1308
|
size: r,
|
|
1304
|
-
active:
|
|
1305
|
-
destroy:
|
|
1306
|
-
reset:
|
|
1307
|
-
addCache:
|
|
1308
|
-
removeCache:
|
|
1309
|
+
active: M,
|
|
1310
|
+
destroy: we,
|
|
1311
|
+
reset: re,
|
|
1312
|
+
addCache: B,
|
|
1313
|
+
removeCache: G,
|
|
1309
1314
|
getTab: a,
|
|
1310
|
-
addTab:
|
|
1311
|
-
removeTab:
|
|
1312
|
-
removeAllTabs:
|
|
1313
|
-
removeLeftTabs:
|
|
1314
|
-
removeRightTabs:
|
|
1315
|
-
removeOtherTabs:
|
|
1315
|
+
addTab: f,
|
|
1316
|
+
removeTab: E,
|
|
1317
|
+
removeAllTabs: A,
|
|
1318
|
+
removeLeftTabs: _,
|
|
1319
|
+
removeRightTabs: w,
|
|
1320
|
+
removeOtherTabs: x,
|
|
1316
1321
|
hasTab: o,
|
|
1322
|
+
renewTab: T,
|
|
1317
1323
|
addPage: c,
|
|
1318
|
-
addComponent:
|
|
1319
|
-
getComponent:
|
|
1324
|
+
addComponent: u,
|
|
1325
|
+
getComponent: y,
|
|
1320
1326
|
removeComponent: v,
|
|
1321
|
-
markDeletableCache:
|
|
1322
|
-
removeDeletableCache:
|
|
1323
|
-
refreshTab:
|
|
1324
|
-
refreshAllTabs:
|
|
1325
|
-
addPageScroller:
|
|
1327
|
+
markDeletableCache: $,
|
|
1328
|
+
removeDeletableCache: P,
|
|
1329
|
+
refreshTab: g,
|
|
1330
|
+
refreshAllTabs: S,
|
|
1331
|
+
addPageScroller: k,
|
|
1326
1332
|
setGlobalScroll: (m) => {
|
|
1327
1333
|
Lt = m;
|
|
1328
1334
|
}
|
|
@@ -1334,7 +1340,7 @@ const Me = () => {
|
|
|
1334
1340
|
title: {}
|
|
1335
1341
|
},
|
|
1336
1342
|
setup(e) {
|
|
1337
|
-
return (t, n) => (z(),
|
|
1343
|
+
return (t, n) => (z(), W("div", Ir, [
|
|
1338
1344
|
K("div", {
|
|
1339
1345
|
class: ce(["stack-tab__contextmenu-icon", t.icon])
|
|
1340
1346
|
}, null, 2),
|
|
@@ -1359,76 +1365,76 @@ const Me = () => {
|
|
|
1359
1365
|
max: {}
|
|
1360
1366
|
},
|
|
1361
1367
|
setup(e) {
|
|
1362
|
-
const t = e, { t: n } =
|
|
1368
|
+
const t = e, { t: n } = Ce(), r = R(), s = Ie({
|
|
1363
1369
|
left: t.left,
|
|
1364
1370
|
top: t.top
|
|
1365
1371
|
}), {
|
|
1366
1372
|
removeTab: o,
|
|
1367
1373
|
removeAllTabs: i,
|
|
1368
|
-
removeLeftTabs:
|
|
1374
|
+
removeLeftTabs: f,
|
|
1369
1375
|
removeRightTabs: a,
|
|
1370
1376
|
refreshTab: c,
|
|
1371
|
-
refreshAllTabs:
|
|
1372
|
-
removeOtherTabs:
|
|
1373
|
-
} =
|
|
1374
|
-
return
|
|
1375
|
-
const d = r.value ? r.value.clientWidth : 0,
|
|
1376
|
-
s.left + d >
|
|
1377
|
-
}), (d,
|
|
1377
|
+
refreshAllTabs: b,
|
|
1378
|
+
removeOtherTabs: l
|
|
1379
|
+
} = Le();
|
|
1380
|
+
return Ge(() => {
|
|
1381
|
+
const d = r.value ? r.value.clientWidth : 0, k = window.innerWidth;
|
|
1382
|
+
s.left + d > k && (s.left = k - d - 5);
|
|
1383
|
+
}), (d, k) => (z(), W("div", {
|
|
1378
1384
|
ref_key: "contextmenu",
|
|
1379
1385
|
ref: r,
|
|
1380
1386
|
class: "stack-tab__contextmenu",
|
|
1381
1387
|
style: ut({
|
|
1382
1388
|
left: `${s.left}px`,
|
|
1383
1389
|
top: `${s.top}px`,
|
|
1384
|
-
"z-index":
|
|
1390
|
+
"z-index": O(an)(".stack-tab,.stack-tab *")
|
|
1385
1391
|
})
|
|
1386
1392
|
}, [
|
|
1387
1393
|
N(ie, {
|
|
1388
1394
|
icon: "stack-tab__icon-reload svg-mask",
|
|
1389
|
-
title:
|
|
1390
|
-
onClick:
|
|
1395
|
+
title: O(n)("VueStackTab.reload"),
|
|
1396
|
+
onClick: k[0] || (k[0] = (T) => O(c)(d.tabItem.id))
|
|
1391
1397
|
}, null, 8, ["title"]),
|
|
1392
1398
|
N(ie, {
|
|
1393
1399
|
icon: "stack-tab__icon-reload-all svg-mask",
|
|
1394
|
-
title:
|
|
1395
|
-
onClick:
|
|
1400
|
+
title: O(n)("VueStackTab.reloadAll"),
|
|
1401
|
+
onClick: O(b)
|
|
1396
1402
|
}, null, 8, ["title", "onClick"]),
|
|
1397
1403
|
N(ie, {
|
|
1398
1404
|
icon: "stack-tab__icon-close svg-mask",
|
|
1399
|
-
title:
|
|
1405
|
+
title: O(n)("VueStackTab.close"),
|
|
1400
1406
|
disabled: d.tabItem.closable ? null : "disabled",
|
|
1401
|
-
onClick:
|
|
1407
|
+
onClick: k[1] || (k[1] = (T) => O(o)(d.tabItem.id))
|
|
1402
1408
|
}, null, 8, ["title", "disabled"]),
|
|
1403
1409
|
N(ie, {
|
|
1404
1410
|
icon: "stack-tab__icon-close-lefts svg-mask",
|
|
1405
|
-
title:
|
|
1411
|
+
title: O(n)("VueStackTab.closeLeft"),
|
|
1406
1412
|
disabled: d.index <= 0 ? "disabled" : null,
|
|
1407
|
-
onClick:
|
|
1413
|
+
onClick: k[2] || (k[2] = (T) => O(f)(d.tabItem.id))
|
|
1408
1414
|
}, null, 8, ["title", "disabled"]),
|
|
1409
1415
|
N(ie, {
|
|
1410
1416
|
icon: "stack-tab__icon-close-rights svg-mask",
|
|
1411
|
-
title:
|
|
1417
|
+
title: O(n)("VueStackTab.closeRight"),
|
|
1412
1418
|
disabled: d.index >= d.max - 1 ? "disabled" : null,
|
|
1413
|
-
onClick:
|
|
1419
|
+
onClick: k[3] || (k[3] = (T) => O(a)(d.tabItem.id))
|
|
1414
1420
|
}, null, 8, ["title", "disabled"]),
|
|
1415
1421
|
N(ie, {
|
|
1416
1422
|
icon: "stack-tab__icon-close-others svg-mask",
|
|
1417
|
-
title:
|
|
1418
|
-
onClick:
|
|
1423
|
+
title: O(n)("VueStackTab.closeOthers"),
|
|
1424
|
+
onClick: k[4] || (k[4] = (T) => O(l)(d.tabItem.id))
|
|
1419
1425
|
}, null, 8, ["title"]),
|
|
1420
1426
|
N(ie, {
|
|
1421
1427
|
icon: "stack-tab__icon-close-all svg-mask",
|
|
1422
|
-
title:
|
|
1423
|
-
onClick:
|
|
1428
|
+
title: O(n)("VueStackTab.closeAll"),
|
|
1429
|
+
onClick: O(i)
|
|
1424
1430
|
}, null, 8, ["title", "onClick"]),
|
|
1425
|
-
d.contextMenu !== void 0 && d.contextMenu.length > 0 ? (z(),
|
|
1426
|
-
(z(!0),
|
|
1427
|
-
key:
|
|
1428
|
-
icon:
|
|
1429
|
-
title:
|
|
1430
|
-
disabled:
|
|
1431
|
-
onClick: (
|
|
1431
|
+
d.contextMenu !== void 0 && d.contextMenu.length > 0 ? (z(), W("div", Br)) : ne("", !0),
|
|
1432
|
+
(z(!0), W(Ze, null, ft(d.contextMenu, (T, E) => (z(), me(ie, {
|
|
1433
|
+
key: E,
|
|
1434
|
+
icon: T.icon,
|
|
1435
|
+
title: T.title,
|
|
1436
|
+
disabled: T.disabled(d.tabItem) ? "disabled" : null,
|
|
1437
|
+
onClick: (A) => !T.disabled && T.callback(d.tabItem.id)
|
|
1432
1438
|
}, null, 8, ["icon", "title", "disabled", "onClick"]))), 128))
|
|
1433
1439
|
], 4));
|
|
1434
1440
|
}
|
|
@@ -1438,22 +1444,22 @@ const Me = () => {
|
|
|
1438
1444
|
n[r] = s;
|
|
1439
1445
|
return n;
|
|
1440
1446
|
}, Lr = /* @__PURE__ */ Mr(Cr, [["__scopeId", "data-v-d598be6e"]]), zr = () => {
|
|
1441
|
-
const e =
|
|
1447
|
+
const e = Ie({
|
|
1442
1448
|
item: {},
|
|
1443
1449
|
index: -1,
|
|
1444
1450
|
left: 0,
|
|
1445
1451
|
top: 0,
|
|
1446
1452
|
max: 0
|
|
1447
1453
|
}), t = R(!1);
|
|
1448
|
-
|
|
1454
|
+
Ge(() => {
|
|
1449
1455
|
document.addEventListener("click", r);
|
|
1450
|
-
}),
|
|
1456
|
+
}), He(() => {
|
|
1451
1457
|
document.removeEventListener("click", r);
|
|
1452
1458
|
});
|
|
1453
|
-
const n = async (s, o, i,
|
|
1459
|
+
const n = async (s, o, i, f) => {
|
|
1454
1460
|
t.value = !1, await de(() => {
|
|
1455
1461
|
const { clientY: a, clientX: c } = s;
|
|
1456
|
-
t.value = !0, Object.assign(e, { item: o, index: i, top: a, left: c, max:
|
|
1462
|
+
t.value = !0, Object.assign(e, { item: o, index: i, top: a, left: c, max: f });
|
|
1457
1463
|
});
|
|
1458
1464
|
}, r = (s) => {
|
|
1459
1465
|
s.target.classList.contains("stack-tab__contextmenu") || (t.value = !1);
|
|
@@ -1470,36 +1476,36 @@ const Me = () => {
|
|
|
1470
1476
|
},
|
|
1471
1477
|
emits: ["close", "active"],
|
|
1472
1478
|
setup(e, { emit: t }) {
|
|
1473
|
-
const n = t, r =
|
|
1474
|
-
r.on(
|
|
1475
|
-
i.item.id ===
|
|
1479
|
+
const n = t, r = Me(), { t: s } = Ce(), o = R(), i = e;
|
|
1480
|
+
r.on(q.TAB_ACTIVE, ({ id: b, isRoute: l }) => {
|
|
1481
|
+
i.item.id === b && c(l);
|
|
1476
1482
|
});
|
|
1477
|
-
const
|
|
1483
|
+
const f = ge(() => i.item.title || s("undefined")), a = () => {
|
|
1478
1484
|
n("close", i.item);
|
|
1479
|
-
}, c = (
|
|
1480
|
-
n("active", i.item, o,
|
|
1485
|
+
}, c = (b = !0) => {
|
|
1486
|
+
n("active", i.item, o, b);
|
|
1481
1487
|
};
|
|
1482
|
-
return (
|
|
1488
|
+
return (b, l) => (z(), W("li", {
|
|
1483
1489
|
ref_key: "curtab",
|
|
1484
1490
|
ref: o,
|
|
1485
1491
|
class: ce(["stack-tab__item", {
|
|
1486
|
-
"is-active":
|
|
1487
|
-
"is-icon":
|
|
1492
|
+
"is-active": b.item.active,
|
|
1493
|
+
"is-icon": b.item.closable
|
|
1488
1494
|
}]),
|
|
1489
|
-
onClick:
|
|
1495
|
+
onClick: l[0] || (l[0] = (d) => c(!0))
|
|
1490
1496
|
}, [
|
|
1491
1497
|
K("div", $r, [
|
|
1492
1498
|
K("div", {
|
|
1493
1499
|
class: "stack-tab__item-title-content",
|
|
1494
|
-
title:
|
|
1495
|
-
}, Jt(
|
|
1500
|
+
title: f.value
|
|
1501
|
+
}, Jt(f.value), 9, Rr)
|
|
1496
1502
|
]),
|
|
1497
|
-
|
|
1503
|
+
b.item.closable ? (z(), W("div", {
|
|
1498
1504
|
key: 0,
|
|
1499
1505
|
class: "stack-tab__icon-close-fill stack-tab__item-button",
|
|
1500
|
-
title:
|
|
1506
|
+
title: O(s)("VueStackTab.close"),
|
|
1501
1507
|
onClick: _e(a, ["stop"])
|
|
1502
|
-
}, null, 8, Nr)) :
|
|
1508
|
+
}, null, 8, Nr)) : ne("", !0)
|
|
1503
1509
|
], 2));
|
|
1504
1510
|
}
|
|
1505
1511
|
});
|
|
@@ -1516,10 +1522,10 @@ var pe = [], Dr = function() {
|
|
|
1516
1522
|
typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
|
|
1517
1523
|
message: zt
|
|
1518
1524
|
}) : (e = document.createEvent("Event"), e.initEvent("error", !1, !1), e.message = zt), window.dispatchEvent(e);
|
|
1519
|
-
},
|
|
1525
|
+
}, Be;
|
|
1520
1526
|
(function(e) {
|
|
1521
1527
|
e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
|
|
1522
|
-
})(
|
|
1528
|
+
})(Be || (Be = {}));
|
|
1523
1529
|
var be = function(e) {
|
|
1524
1530
|
return Object.freeze(e);
|
|
1525
1531
|
}, Ur = /* @__PURE__ */ function() {
|
|
@@ -1532,8 +1538,8 @@ var be = function(e) {
|
|
|
1532
1538
|
return this.x = t, this.y = n, this.width = r, this.height = s, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, be(this);
|
|
1533
1539
|
}
|
|
1534
1540
|
return e.prototype.toJSON = function() {
|
|
1535
|
-
var t = this, n = t.x, r = t.y, s = t.top, o = t.right, i = t.bottom,
|
|
1536
|
-
return { x: n, y: r, top: s, right: o, bottom: i, left:
|
|
1541
|
+
var t = this, n = t.x, r = t.y, s = t.top, o = t.right, i = t.bottom, f = t.left, a = t.width, c = t.height;
|
|
1542
|
+
return { x: n, y: r, top: s, right: o, bottom: i, left: f, width: a, height: c };
|
|
1537
1543
|
}, e.fromRect = function(t) {
|
|
1538
1544
|
return new e(t.x, t.y, t.width, t.height);
|
|
1539
1545
|
}, e;
|
|
@@ -1567,7 +1573,7 @@ var be = function(e) {
|
|
|
1567
1573
|
return !0;
|
|
1568
1574
|
}
|
|
1569
1575
|
return !1;
|
|
1570
|
-
},
|
|
1576
|
+
}, Ae = typeof window < "u" ? window : {}, Pe = /* @__PURE__ */ new WeakMap(), Rt = /auto|scroll/, Fr = /^tb|vertical/, qr = /msie|trident/i.test(Ae.navigator && Ae.navigator.userAgent), Y = function(e) {
|
|
1571
1577
|
return parseFloat(e || "0");
|
|
1572
1578
|
}, ye = function(e, t, n) {
|
|
1573
1579
|
return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new Ur((n ? t : e) || 0, (n ? e : t) || 0);
|
|
@@ -1577,23 +1583,23 @@ var be = function(e) {
|
|
|
1577
1583
|
contentBoxSize: ye(),
|
|
1578
1584
|
contentRect: new hn(0, 0, 0, 0)
|
|
1579
1585
|
}), bn = function(e, t) {
|
|
1580
|
-
if (t === void 0 && (t = !1),
|
|
1581
|
-
return
|
|
1586
|
+
if (t === void 0 && (t = !1), Pe.has(e) && !t)
|
|
1587
|
+
return Pe.get(e);
|
|
1582
1588
|
if (pn(e))
|
|
1583
|
-
return
|
|
1584
|
-
var n = getComputedStyle(e), r = gt(e) && e.ownerSVGElement && e.getBBox(), s = !qr && n.boxSizing === "border-box", o = Fr.test(n.writingMode || ""), i = !r && Rt.test(n.overflowY || ""),
|
|
1585
|
-
devicePixelContentBoxSize: ye(Math.round(
|
|
1586
|
-
borderBoxSize: ye(
|
|
1587
|
-
contentBoxSize: ye(
|
|
1588
|
-
contentRect: new hn(
|
|
1589
|
+
return Pe.set(e, Nt), Nt;
|
|
1590
|
+
var n = getComputedStyle(e), r = gt(e) && e.ownerSVGElement && e.getBBox(), s = !qr && n.boxSizing === "border-box", o = Fr.test(n.writingMode || ""), i = !r && Rt.test(n.overflowY || ""), f = !r && Rt.test(n.overflowX || ""), a = r ? 0 : Y(n.paddingTop), c = r ? 0 : Y(n.paddingRight), b = r ? 0 : Y(n.paddingBottom), l = r ? 0 : Y(n.paddingLeft), d = r ? 0 : Y(n.borderTopWidth), k = r ? 0 : Y(n.borderRightWidth), T = r ? 0 : Y(n.borderBottomWidth), E = r ? 0 : Y(n.borderLeftWidth), A = l + c, x = a + b, _ = E + k, w = d + T, g = f ? e.offsetHeight - w - e.clientHeight : 0, S = i ? e.offsetWidth - _ - e.clientWidth : 0, u = s ? A + _ : 0, y = s ? x + w : 0, v = r ? r.width : Y(n.width) - u - S, $ = r ? r.height : Y(n.height) - y - g, P = v + A + S + _, G = $ + x + g + w, B = be({
|
|
1591
|
+
devicePixelContentBoxSize: ye(Math.round(v * devicePixelRatio), Math.round($ * devicePixelRatio), o),
|
|
1592
|
+
borderBoxSize: ye(P, G, o),
|
|
1593
|
+
contentBoxSize: ye(v, $, o),
|
|
1594
|
+
contentRect: new hn(l, a, v, $)
|
|
1589
1595
|
});
|
|
1590
|
-
return
|
|
1596
|
+
return Pe.set(e, B), B;
|
|
1591
1597
|
}, mn = function(e, t, n) {
|
|
1592
1598
|
var r = bn(e, n), s = r.borderBoxSize, o = r.contentBoxSize, i = r.devicePixelContentBoxSize;
|
|
1593
1599
|
switch (t) {
|
|
1594
|
-
case
|
|
1600
|
+
case Be.DEVICE_PIXEL_CONTENT_BOX:
|
|
1595
1601
|
return i;
|
|
1596
|
-
case
|
|
1602
|
+
case Be.BORDER_BOX:
|
|
1597
1603
|
return s;
|
|
1598
1604
|
default:
|
|
1599
1605
|
return o;
|
|
@@ -1614,12 +1620,12 @@ var be = function(e) {
|
|
|
1614
1620
|
var e = 1 / 0, t = [];
|
|
1615
1621
|
pe.forEach(function(i) {
|
|
1616
1622
|
if (i.activeTargets.length !== 0) {
|
|
1617
|
-
var
|
|
1623
|
+
var f = [];
|
|
1618
1624
|
i.activeTargets.forEach(function(c) {
|
|
1619
|
-
var
|
|
1620
|
-
|
|
1625
|
+
var b = new Gr(c.target), l = vn(c.target);
|
|
1626
|
+
f.push(b), c.lastReportedSize = mn(c.target, c.observedBox), l < e && (e = l);
|
|
1621
1627
|
}), t.push(function() {
|
|
1622
|
-
i.callback.call(i.observer,
|
|
1628
|
+
i.callback.call(i.observer, f, i.observer);
|
|
1623
1629
|
}), i.activeTargets.splice(0, i.activeTargets.length);
|
|
1624
1630
|
}
|
|
1625
1631
|
});
|
|
@@ -1657,8 +1663,8 @@ var be = function(e) {
|
|
|
1657
1663
|
Yr(function() {
|
|
1658
1664
|
requestAnimationFrame(e);
|
|
1659
1665
|
});
|
|
1660
|
-
},
|
|
1661
|
-
return !!
|
|
1666
|
+
}, We = 0, Kr = function() {
|
|
1667
|
+
return !!We;
|
|
1662
1668
|
}, Qr = 250, es = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, Dt = [
|
|
1663
1669
|
"resize",
|
|
1664
1670
|
"load",
|
|
@@ -1705,25 +1711,25 @@ var be = function(e) {
|
|
|
1705
1711
|
var t = this, n = function() {
|
|
1706
1712
|
return t.observer && t.observer.observe(document.body, es);
|
|
1707
1713
|
};
|
|
1708
|
-
document.body ? n() :
|
|
1714
|
+
document.body ? n() : Ae.addEventListener("DOMContentLoaded", n);
|
|
1709
1715
|
}, e.prototype.start = function() {
|
|
1710
1716
|
var t = this;
|
|
1711
1717
|
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), Dt.forEach(function(n) {
|
|
1712
|
-
return
|
|
1718
|
+
return Ae.addEventListener(n, t.listener, !0);
|
|
1713
1719
|
}));
|
|
1714
1720
|
}, e.prototype.stop = function() {
|
|
1715
1721
|
var t = this;
|
|
1716
1722
|
this.stopped || (this.observer && this.observer.disconnect(), Dt.forEach(function(n) {
|
|
1717
|
-
return
|
|
1723
|
+
return Ae.removeEventListener(n, t.listener, !0);
|
|
1718
1724
|
}), this.stopped = !0);
|
|
1719
1725
|
}, e;
|
|
1720
1726
|
}(), at = new ts(), Wt = function(e) {
|
|
1721
|
-
!
|
|
1727
|
+
!We && e > 0 && at.start(), We += e, !We && at.stop();
|
|
1722
1728
|
}, ns = function(e) {
|
|
1723
1729
|
return !gt(e) && !Vr(e) && getComputedStyle(e).display === "inline";
|
|
1724
1730
|
}, rs = function() {
|
|
1725
1731
|
function e(t, n) {
|
|
1726
|
-
this.target = t, this.observedBox = n ||
|
|
1732
|
+
this.target = t, this.observedBox = n || Be.CONTENT_BOX, this.lastReportedSize = {
|
|
1727
1733
|
inlineSize: 0,
|
|
1728
1734
|
blockSize: 0
|
|
1729
1735
|
};
|
|
@@ -1737,25 +1743,25 @@ var be = function(e) {
|
|
|
1737
1743
|
this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = n;
|
|
1738
1744
|
}
|
|
1739
1745
|
return e;
|
|
1740
|
-
}(),
|
|
1746
|
+
}(), De = /* @__PURE__ */ new WeakMap(), Ut = function(e, t) {
|
|
1741
1747
|
for (var n = 0; n < e.length; n += 1)
|
|
1742
1748
|
if (e[n].target === t)
|
|
1743
1749
|
return n;
|
|
1744
1750
|
return -1;
|
|
1745
|
-
},
|
|
1751
|
+
}, je = function() {
|
|
1746
1752
|
function e() {
|
|
1747
1753
|
}
|
|
1748
1754
|
return e.connect = function(t, n) {
|
|
1749
1755
|
var r = new ss(t, n);
|
|
1750
|
-
|
|
1756
|
+
De.set(t, r);
|
|
1751
1757
|
}, e.observe = function(t, n, r) {
|
|
1752
|
-
var s =
|
|
1758
|
+
var s = De.get(t), o = s.observationTargets.length === 0;
|
|
1753
1759
|
Ut(s.observationTargets, n) < 0 && (o && pe.push(s), s.observationTargets.push(new rs(n, r && r.box)), Wt(1), at.schedule());
|
|
1754
1760
|
}, e.unobserve = function(t, n) {
|
|
1755
|
-
var r =
|
|
1761
|
+
var r = De.get(t), s = Ut(r.observationTargets, n), o = r.observationTargets.length === 1;
|
|
1756
1762
|
s >= 0 && (o && pe.splice(pe.indexOf(r), 1), r.observationTargets.splice(s, 1), Wt(-1));
|
|
1757
1763
|
}, e.disconnect = function(t) {
|
|
1758
|
-
var n = this, r =
|
|
1764
|
+
var n = this, r = De.get(t);
|
|
1759
1765
|
r.observationTargets.slice().forEach(function(s) {
|
|
1760
1766
|
return n.unobserve(t, s.target);
|
|
1761
1767
|
}), r.activeTargets.splice(0, r.activeTargets.length);
|
|
@@ -1766,22 +1772,22 @@ var be = function(e) {
|
|
|
1766
1772
|
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1767
1773
|
if (typeof t != "function")
|
|
1768
1774
|
throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
|
|
1769
|
-
|
|
1775
|
+
je.connect(this, t);
|
|
1770
1776
|
}
|
|
1771
1777
|
return e.prototype.observe = function(t, n) {
|
|
1772
1778
|
if (arguments.length === 0)
|
|
1773
1779
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1774
1780
|
if (!$t(t))
|
|
1775
1781
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
1776
|
-
|
|
1782
|
+
je.observe(this, t, n);
|
|
1777
1783
|
}, e.prototype.unobserve = function(t) {
|
|
1778
1784
|
if (arguments.length === 0)
|
|
1779
1785
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1780
1786
|
if (!$t(t))
|
|
1781
1787
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
1782
|
-
|
|
1788
|
+
je.unobserve(this, t);
|
|
1783
1789
|
}, e.prototype.disconnect = function() {
|
|
1784
|
-
|
|
1790
|
+
je.disconnect(this);
|
|
1785
1791
|
}, e.toString = function() {
|
|
1786
1792
|
return "function ResizeObserver () { [polyfill code] }";
|
|
1787
1793
|
}, e;
|
|
@@ -1798,7 +1804,7 @@ const os = ["disabled", "title"], is = {
|
|
|
1798
1804
|
title: {}
|
|
1799
1805
|
},
|
|
1800
1806
|
setup(e) {
|
|
1801
|
-
return (t, n) => (z(),
|
|
1807
|
+
return (t, n) => (z(), W("div", {
|
|
1802
1808
|
class: ce(["stack-tab__header-button", {
|
|
1803
1809
|
"stack-tab__shadow-right": t.shadow === "right",
|
|
1804
1810
|
"stack-tab__shadow-left": t.shadow === "left"
|
|
@@ -1806,13 +1812,13 @@ const os = ["disabled", "title"], is = {
|
|
|
1806
1812
|
disabled: t.disabled ? "disabled" : null,
|
|
1807
1813
|
title: t.title
|
|
1808
1814
|
}, [
|
|
1809
|
-
"icon" in t.$slots ?
|
|
1815
|
+
"icon" in t.$slots ? ne("", !0) : (z(), W("div", {
|
|
1810
1816
|
key: 0,
|
|
1811
1817
|
class: ce(["stack-tab__mask-button", t.iconClass])
|
|
1812
1818
|
}, null, 2)),
|
|
1813
|
-
"icon" in t.$slots ? (z(),
|
|
1819
|
+
"icon" in t.$slots ? (z(), W("div", is, [
|
|
1814
1820
|
ke(t.$slots, "icon")
|
|
1815
|
-
])) :
|
|
1821
|
+
])) : ne("", !0)
|
|
1816
1822
|
], 10, os));
|
|
1817
1823
|
}
|
|
1818
1824
|
}), as = /* @__PURE__ */ Q({
|
|
@@ -1823,111 +1829,111 @@ const os = ["disabled", "title"], is = {
|
|
|
1823
1829
|
isScrollButton: { type: Boolean, default: !0 }
|
|
1824
1830
|
},
|
|
1825
1831
|
setup(e, { expose: t }) {
|
|
1826
|
-
const n = R(null), r = R(null), s = R(null), o = R(!1), i = R(!1),
|
|
1832
|
+
const n = R(null), r = R(null), s = R(null), o = R(!1), i = R(!1), f = R(!1), a = R(!0), c = R(), b = e, l = Ie({
|
|
1827
1833
|
clientWidth: 0,
|
|
1828
1834
|
scrollWidth: 0,
|
|
1829
1835
|
scrollLeft: 0
|
|
1830
|
-
}), d =
|
|
1836
|
+
}), d = Ie({
|
|
1831
1837
|
thumbLeft: 0,
|
|
1832
1838
|
startScrollLeft: 0,
|
|
1833
1839
|
startThumbLeft: 0,
|
|
1834
1840
|
startPageX: 0
|
|
1835
1841
|
});
|
|
1836
|
-
En(
|
|
1837
|
-
|
|
1842
|
+
En(l, (B) => {
|
|
1843
|
+
k(B);
|
|
1838
1844
|
});
|
|
1839
|
-
const
|
|
1840
|
-
i.value =
|
|
1841
|
-
},
|
|
1842
|
-
if (!
|
|
1845
|
+
const k = (B) => {
|
|
1846
|
+
i.value = B.scrollLeft <= 10, f.value = B.clientWidth + B.scrollLeft - B.scrollWidth >= -10, a.value = B.scrollWidth !== B.clientWidth;
|
|
1847
|
+
}, T = ge(() => l.scrollWidth > l.clientWidth), E = ge(() => {
|
|
1848
|
+
if (!T.value)
|
|
1843
1849
|
return 0;
|
|
1844
|
-
const { clientWidth:
|
|
1845
|
-
return
|
|
1846
|
-
}),
|
|
1847
|
-
if (!
|
|
1850
|
+
const { clientWidth: B, scrollWidth: M } = l;
|
|
1851
|
+
return B / M * B;
|
|
1852
|
+
}), A = ge(() => {
|
|
1853
|
+
if (!T.value)
|
|
1848
1854
|
return 0;
|
|
1849
|
-
const { clientWidth:
|
|
1850
|
-
return (
|
|
1851
|
-
}),
|
|
1855
|
+
const { clientWidth: B, scrollWidth: M, scrollLeft: U } = l;
|
|
1856
|
+
return (B - E.value) * (U / (M - B));
|
|
1857
|
+
}), x = () => {
|
|
1852
1858
|
if (n.value === null || n.value === void 0)
|
|
1853
1859
|
return;
|
|
1854
|
-
const { clientWidth:
|
|
1855
|
-
Object.assign(
|
|
1856
|
-
},
|
|
1860
|
+
const { clientWidth: B, scrollWidth: M, scrollLeft: U } = n.value;
|
|
1861
|
+
Object.assign(l, { clientWidth: B, scrollWidth: M, scrollLeft: U });
|
|
1862
|
+
}, _ = new Vt(() => {
|
|
1857
1863
|
var M;
|
|
1858
|
-
|
|
1859
|
-
const
|
|
1860
|
-
|
|
1864
|
+
x();
|
|
1865
|
+
const B = (M = n.value) == null ? void 0 : M.querySelector(".stack-tab__item.is-active");
|
|
1866
|
+
B && (G(B) || P(B));
|
|
1861
1867
|
}), w = new Vt(() => {
|
|
1862
|
-
var
|
|
1863
|
-
if (!
|
|
1864
|
-
const M = (
|
|
1865
|
-
M && (
|
|
1868
|
+
var B;
|
|
1869
|
+
if (!T.value) {
|
|
1870
|
+
const M = (B = n.value) == null ? void 0 : B.querySelector(".stack-tab__item.is-active");
|
|
1871
|
+
M && (G(M) || P(M));
|
|
1866
1872
|
}
|
|
1867
|
-
|
|
1868
|
-
}),
|
|
1869
|
-
on({ wrap: n.value, left:
|
|
1870
|
-
},
|
|
1871
|
-
|
|
1872
|
-
},
|
|
1873
|
-
const M =
|
|
1874
|
-
|
|
1875
|
-
},
|
|
1873
|
+
x();
|
|
1874
|
+
}), g = (B, M = !0) => {
|
|
1875
|
+
on({ wrap: n.value, left: B, smooth: M });
|
|
1876
|
+
}, S = (B) => {
|
|
1877
|
+
g(n.value.scrollLeft + B);
|
|
1878
|
+
}, u = (B) => {
|
|
1879
|
+
const M = B.deltaY < 0;
|
|
1880
|
+
g(n.value.scrollLeft + (M ? -b.space : b.space));
|
|
1881
|
+
}, y = (B) => {
|
|
1876
1882
|
var M;
|
|
1877
1883
|
Object.assign(d, {
|
|
1878
|
-
startPageX:
|
|
1884
|
+
startPageX: B.pageX,
|
|
1879
1885
|
startScrollLeft: (M = n.value) == null ? void 0 : M.scrollLeft,
|
|
1880
|
-
startThumbLeft:
|
|
1881
|
-
thumbLeft:
|
|
1882
|
-
}), o.value = !0, document.addEventListener("mousemove",
|
|
1883
|
-
},
|
|
1884
|
-
const { clientWidth: M, scrollWidth:
|
|
1885
|
-
let
|
|
1886
|
-
const
|
|
1887
|
-
|
|
1888
|
-
}, $ = (
|
|
1889
|
-
o.value = !1, document.removeEventListener("mousemove",
|
|
1886
|
+
startThumbLeft: A.value,
|
|
1887
|
+
thumbLeft: A.value
|
|
1888
|
+
}), o.value = !0, document.addEventListener("mousemove", v), document.addEventListener("mouseup", $);
|
|
1889
|
+
}, v = (B) => {
|
|
1890
|
+
const { clientWidth: M, scrollWidth: U } = l;
|
|
1891
|
+
let re = d.startThumbLeft + B.pageX - d.startPageX;
|
|
1892
|
+
const we = M - E.value;
|
|
1893
|
+
re < 0 ? re = 0 : re > we && (re = we), d.thumbLeft = re, g(re * (U - M) / (M - E.value), !1), B.preventDefault();
|
|
1894
|
+
}, $ = (B) => {
|
|
1895
|
+
o.value = !1, document.removeEventListener("mousemove", v), document.removeEventListener("mouseup", $), B.preventDefault();
|
|
1890
1896
|
};
|
|
1891
|
-
|
|
1897
|
+
Ge(() => {
|
|
1892
1898
|
var M;
|
|
1893
|
-
|
|
1894
|
-
const
|
|
1895
|
-
w.observe(
|
|
1896
|
-
}),
|
|
1897
|
-
|
|
1899
|
+
_.observe(c.value);
|
|
1900
|
+
const B = (M = n.value) == null ? void 0 : M.querySelector(".stack-tab__nav");
|
|
1901
|
+
w.observe(B);
|
|
1902
|
+
}), He(() => {
|
|
1903
|
+
_.disconnect(), w.disconnect();
|
|
1898
1904
|
});
|
|
1899
|
-
const
|
|
1900
|
-
Yn({ el:
|
|
1901
|
-
},
|
|
1902
|
-
if (!
|
|
1905
|
+
const P = (B) => {
|
|
1906
|
+
Yn({ el: B, wrap: n, block: "end", inline: "center" });
|
|
1907
|
+
}, G = (B) => {
|
|
1908
|
+
if (!T.value)
|
|
1903
1909
|
return !0;
|
|
1904
|
-
const M =
|
|
1905
|
-
return !(M <
|
|
1910
|
+
const M = B.offsetLeft, U = n.value.scrollLeft;
|
|
1911
|
+
return !(M < U || M + B.clientWidth > U + n.value.clientWidth);
|
|
1906
1912
|
};
|
|
1907
|
-
return t({ scrollIntoView:
|
|
1913
|
+
return t({ scrollIntoView: P, isInView: G }), (B, M) => (z(), W(Ze, null, [
|
|
1908
1914
|
a.value ? (z(), me(ct, {
|
|
1909
1915
|
key: 0,
|
|
1910
1916
|
"icon-class": "stack-tab__icon-left-arrow",
|
|
1911
1917
|
disabled: i.value,
|
|
1912
|
-
onClick: M[0] || (M[0] = (
|
|
1913
|
-
}, null, 8, ["disabled"])) :
|
|
1918
|
+
onClick: M[0] || (M[0] = (U) => !i.value && S(-1 * B.space))
|
|
1919
|
+
}, null, 8, ["disabled"])) : ne("", !0),
|
|
1914
1920
|
K("div", {
|
|
1915
1921
|
ref_key: "headerScroll",
|
|
1916
1922
|
ref: c,
|
|
1917
1923
|
class: "stack-tab__scroll",
|
|
1918
|
-
onWheel: _e(
|
|
1924
|
+
onWheel: _e(u, ["prevent"])
|
|
1919
1925
|
}, [
|
|
1920
1926
|
K("div", {
|
|
1921
1927
|
ref_key: "container",
|
|
1922
1928
|
ref: n,
|
|
1923
1929
|
class: ce(["stack-tab__scroll-container", {
|
|
1924
|
-
"stack-tab__shadow-inset-left": !i.value &&
|
|
1925
|
-
"stack-tab__shadow-inset-right": !
|
|
1926
|
-
"stack-tab__shadow-inset-all": !i.value && !
|
|
1930
|
+
"stack-tab__shadow-inset-left": !i.value && f.value,
|
|
1931
|
+
"stack-tab__shadow-inset-right": !f.value && i.value,
|
|
1932
|
+
"stack-tab__shadow-inset-all": !i.value && !f.value
|
|
1927
1933
|
}]),
|
|
1928
|
-
onScrollPassive:
|
|
1934
|
+
onScrollPassive: x
|
|
1929
1935
|
}, [
|
|
1930
|
-
ke(
|
|
1936
|
+
ke(B.$slots, "default")
|
|
1931
1937
|
], 34),
|
|
1932
1938
|
Kt(K("div", {
|
|
1933
1939
|
ref_key: "bar",
|
|
@@ -1939,21 +1945,21 @@ const os = ["disabled", "title"], is = {
|
|
|
1939
1945
|
ref: s,
|
|
1940
1946
|
class: ce(["stack-tab__scrollbar-thumb", { "is-dragging": o.value }]),
|
|
1941
1947
|
style: ut({
|
|
1942
|
-
width: `${
|
|
1943
|
-
transform: `translateX(${
|
|
1948
|
+
width: `${E.value}px`,
|
|
1949
|
+
transform: `translateX(${A.value}px)`
|
|
1944
1950
|
}),
|
|
1945
|
-
onMousedown: _e(
|
|
1951
|
+
onMousedown: _e(y, ["prevent"])
|
|
1946
1952
|
}, null, 38)
|
|
1947
1953
|
], 2), [
|
|
1948
|
-
[Qt,
|
|
1954
|
+
[Qt, T.value]
|
|
1949
1955
|
])
|
|
1950
1956
|
], 544),
|
|
1951
1957
|
a.value ? (z(), me(ct, {
|
|
1952
1958
|
key: 1,
|
|
1953
1959
|
"icon-class": "stack-tab__icon-right-arrow",
|
|
1954
|
-
disabled:
|
|
1955
|
-
onClick: M[1] || (M[1] = (
|
|
1956
|
-
}, null, 8, ["disabled"])) :
|
|
1960
|
+
disabled: f.value,
|
|
1961
|
+
onClick: M[1] || (M[1] = (U) => !f.value && S(B.space))
|
|
1962
|
+
}, null, 8, ["disabled"])) : ne("", !0)
|
|
1957
1963
|
], 64));
|
|
1958
1964
|
}
|
|
1959
1965
|
}), cs = { class: "stack-tab__header" }, ls = /* @__PURE__ */ Q({
|
|
@@ -1969,42 +1975,42 @@ const os = ["disabled", "title"], is = {
|
|
|
1969
1975
|
},
|
|
1970
1976
|
emits: ["active"],
|
|
1971
1977
|
setup(e, { emit: t }) {
|
|
1972
|
-
const { t: n } =
|
|
1978
|
+
const { t: n } = Ce(), r = lt("maximum"), s = t, o = R(), { shown: i, contextMenuData: f, showContextMenu: a } = zr(), c = e, { removeTab: b, active: l, tabs: d } = Le(), k = ge(() => typeof c.tabTransition == "string" ? {
|
|
1973
1979
|
name: c.tabTransition
|
|
1974
|
-
} : c.tabTransition),
|
|
1975
|
-
|
|
1976
|
-
},
|
|
1980
|
+
} : c.tabTransition), T = ge(() => c.tabScrollMode === he.BOTH || c.tabScrollMode === he.BUTTON), E = c.tabScrollMode === he.BOTH || c.tabScrollMode === he.WHEEL, A = (_) => {
|
|
1981
|
+
_.closable && b(_.id), i.value = !1;
|
|
1982
|
+
}, x = (_, w, g) => {
|
|
1977
1983
|
o.value && (de(() => {
|
|
1978
1984
|
o.value.isInView(w.value) || o.value.scrollIntoView(w.value);
|
|
1979
|
-
}),
|
|
1985
|
+
}), l(_.id, g), s("active", _.id));
|
|
1980
1986
|
};
|
|
1981
|
-
return (
|
|
1982
|
-
ke(
|
|
1987
|
+
return (_, w) => (z(), W("div", cs, [
|
|
1988
|
+
ke(_.$slots, "leftButton"),
|
|
1983
1989
|
N(as, {
|
|
1984
1990
|
ref_key: "scroll",
|
|
1985
1991
|
ref: o,
|
|
1986
|
-
space:
|
|
1987
|
-
"is-scroll-wheel":
|
|
1988
|
-
"is-scroll-button":
|
|
1992
|
+
space: _.space,
|
|
1993
|
+
"is-scroll-wheel": O(E),
|
|
1994
|
+
"is-scroll-button": T.value
|
|
1989
1995
|
}, {
|
|
1990
1996
|
default: ae(() => [
|
|
1991
1997
|
N(en, An({
|
|
1992
1998
|
key: "tabItemTrans",
|
|
1993
1999
|
tag: "ul",
|
|
1994
2000
|
class: "stack-tab__nav"
|
|
1995
|
-
},
|
|
2001
|
+
}, k.value, { appear: "" }), {
|
|
1996
2002
|
default: ae(() => [
|
|
1997
|
-
(z(!0),
|
|
1998
|
-
key:
|
|
1999
|
-
contextmenu:
|
|
2000
|
-
item:
|
|
2003
|
+
(z(!0), W(Ze, null, ft(O(d), (g, S) => (z(), me(Pr, {
|
|
2004
|
+
key: g.id,
|
|
2005
|
+
contextmenu: _.contextmenu,
|
|
2006
|
+
item: g,
|
|
2001
2007
|
onContextmenu: _e(
|
|
2002
|
-
(
|
|
2008
|
+
(u) => O(a)(u, g, S, O(d).length),
|
|
2003
2009
|
["prevent"]
|
|
2004
2010
|
),
|
|
2005
|
-
onMouseup: _e((
|
|
2006
|
-
onClose:
|
|
2007
|
-
onActive:
|
|
2011
|
+
onMouseup: _e((u) => A(g), ["middle", "prevent"]),
|
|
2012
|
+
onClose: A,
|
|
2013
|
+
onActive: x
|
|
2008
2014
|
}, null, 8, ["contextmenu", "item", "onContextmenu", "onMouseup"]))), 128))
|
|
2009
2015
|
]),
|
|
2010
2016
|
_: 1
|
|
@@ -2012,47 +2018,47 @@ const os = ["disabled", "title"], is = {
|
|
|
2012
2018
|
]),
|
|
2013
2019
|
_: 1
|
|
2014
2020
|
}, 8, ["space", "is-scroll-wheel", "is-scroll-button"]),
|
|
2015
|
-
ke(
|
|
2021
|
+
ke(_.$slots, "rightButton"),
|
|
2016
2022
|
N(ct, {
|
|
2017
|
-
"icon-class":
|
|
2018
|
-
title:
|
|
2019
|
-
onClick: w[0] || (w[0] = (
|
|
2023
|
+
"icon-class": O(r) ? "stack-tab__icon-restore" : "stack-tab__icon-fullscreen",
|
|
2024
|
+
title: O(n)("VueStackTab.maximum"),
|
|
2025
|
+
onClick: w[0] || (w[0] = (g) => r.value = !O(r))
|
|
2020
2026
|
}, null, 8, ["icon-class", "title"]),
|
|
2021
2027
|
N(tn, {
|
|
2022
2028
|
name: "stack-tab-zoom",
|
|
2023
2029
|
appear: ""
|
|
2024
2030
|
}, {
|
|
2025
2031
|
default: ae(() => [
|
|
2026
|
-
|
|
2032
|
+
O(i) ? (z(), me(Lr, {
|
|
2027
2033
|
key: "tabMenuTrans",
|
|
2028
|
-
left:
|
|
2029
|
-
top:
|
|
2030
|
-
"tab-item":
|
|
2031
|
-
max:
|
|
2032
|
-
index:
|
|
2033
|
-
}, null, 8, ["left", "top", "tab-item", "max", "index"])) :
|
|
2034
|
+
left: O(f).left,
|
|
2035
|
+
top: O(f).top,
|
|
2036
|
+
"tab-item": O(f).item,
|
|
2037
|
+
max: O(f).max,
|
|
2038
|
+
index: O(f).index
|
|
2039
|
+
}, null, 8, ["left", "top", "tab-item", "max", "index"])) : ne("", !0)
|
|
2034
2040
|
]),
|
|
2035
2041
|
_: 1
|
|
2036
2042
|
})
|
|
2037
2043
|
]));
|
|
2038
2044
|
}
|
|
2039
2045
|
});
|
|
2040
|
-
var us = typeof global == "object" && global && global.Object === Object && global, fs = typeof self == "object" && self && self.Object === Object && self, yn = us || fs || Function("return this")(),
|
|
2046
|
+
var us = typeof global == "object" && global && global.Object === Object && global, fs = typeof self == "object" && self && self.Object === Object && self, yn = us || fs || Function("return this")(), Fe = yn.Symbol, _n = Object.prototype, ds = _n.hasOwnProperty, hs = _n.toString, Te = Fe ? Fe.toStringTag : void 0;
|
|
2041
2047
|
function ps(e) {
|
|
2042
|
-
var t = ds.call(e,
|
|
2048
|
+
var t = ds.call(e, Te), n = e[Te];
|
|
2043
2049
|
try {
|
|
2044
|
-
e[
|
|
2050
|
+
e[Te] = void 0;
|
|
2045
2051
|
var r = !0;
|
|
2046
2052
|
} catch {
|
|
2047
2053
|
}
|
|
2048
2054
|
var s = hs.call(e);
|
|
2049
|
-
return r && (t ? e[
|
|
2055
|
+
return r && (t ? e[Te] = n : delete e[Te]), s;
|
|
2050
2056
|
}
|
|
2051
2057
|
var bs = Object.prototype, ms = bs.toString;
|
|
2052
2058
|
function vs(e) {
|
|
2053
2059
|
return ms.call(e);
|
|
2054
2060
|
}
|
|
2055
|
-
var gs = "[object Null]", ys = "[object Undefined]", Ft =
|
|
2061
|
+
var gs = "[object Null]", ys = "[object Undefined]", Ft = Fe ? Fe.toStringTag : void 0;
|
|
2056
2062
|
function _s(e) {
|
|
2057
2063
|
return e == null ? e === void 0 ? ys : gs : Ft && Ft in Object(e) ? ps(e) : vs(e);
|
|
2058
2064
|
}
|
|
@@ -2073,7 +2079,7 @@ var Os = /^\s+/;
|
|
|
2073
2079
|
function Es(e) {
|
|
2074
2080
|
return e && e.slice(0, Ss(e) + 1).replace(Os, "");
|
|
2075
2081
|
}
|
|
2076
|
-
function
|
|
2082
|
+
function qe(e) {
|
|
2077
2083
|
var t = typeof e;
|
|
2078
2084
|
return e != null && (t == "object" || t == "function");
|
|
2079
2085
|
}
|
|
@@ -2083,9 +2089,9 @@ function Gt(e) {
|
|
|
2083
2089
|
return e;
|
|
2084
2090
|
if (Ts(e))
|
|
2085
2091
|
return qt;
|
|
2086
|
-
if (
|
|
2092
|
+
if (qe(e)) {
|
|
2087
2093
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
2088
|
-
e =
|
|
2094
|
+
e = qe(t) ? t + "" : t;
|
|
2089
2095
|
}
|
|
2090
2096
|
if (typeof e != "string")
|
|
2091
2097
|
return e === 0 ? e : +e;
|
|
@@ -2097,58 +2103,58 @@ var tt = function() {
|
|
|
2097
2103
|
return yn.Date.now();
|
|
2098
2104
|
}, Ms = "Expected a function", Ls = Math.max, zs = Math.min;
|
|
2099
2105
|
function $s(e, t, n) {
|
|
2100
|
-
var r, s, o, i,
|
|
2106
|
+
var r, s, o, i, f, a, c = 0, b = !1, l = !1, d = !0;
|
|
2101
2107
|
if (typeof e != "function")
|
|
2102
2108
|
throw new TypeError(Ms);
|
|
2103
|
-
t = Gt(t) || 0,
|
|
2104
|
-
function
|
|
2105
|
-
var
|
|
2106
|
-
return r = s = void 0, c =
|
|
2109
|
+
t = Gt(t) || 0, qe(n) && (b = !!n.leading, l = "maxWait" in n, o = l ? Ls(Gt(n.maxWait) || 0, t) : o, d = "trailing" in n ? !!n.trailing : d);
|
|
2110
|
+
function k(u) {
|
|
2111
|
+
var y = r, v = s;
|
|
2112
|
+
return r = s = void 0, c = u, i = e.apply(v, y), i;
|
|
2107
2113
|
}
|
|
2108
|
-
function
|
|
2109
|
-
return c =
|
|
2114
|
+
function T(u) {
|
|
2115
|
+
return c = u, f = setTimeout(x, t), b ? k(u) : i;
|
|
2110
2116
|
}
|
|
2111
|
-
function
|
|
2112
|
-
var
|
|
2113
|
-
return
|
|
2117
|
+
function E(u) {
|
|
2118
|
+
var y = u - a, v = u - c, $ = t - y;
|
|
2119
|
+
return l ? zs($, o - v) : $;
|
|
2114
2120
|
}
|
|
2115
|
-
function
|
|
2116
|
-
var
|
|
2117
|
-
return a === void 0 ||
|
|
2121
|
+
function A(u) {
|
|
2122
|
+
var y = u - a, v = u - c;
|
|
2123
|
+
return a === void 0 || y >= t || y < 0 || l && v >= o;
|
|
2118
2124
|
}
|
|
2119
|
-
function
|
|
2120
|
-
var
|
|
2121
|
-
if (
|
|
2122
|
-
return
|
|
2123
|
-
|
|
2125
|
+
function x() {
|
|
2126
|
+
var u = tt();
|
|
2127
|
+
if (A(u))
|
|
2128
|
+
return _(u);
|
|
2129
|
+
f = setTimeout(x, E(u));
|
|
2124
2130
|
}
|
|
2125
|
-
function
|
|
2126
|
-
return
|
|
2131
|
+
function _(u) {
|
|
2132
|
+
return f = void 0, d && r ? k(u) : (r = s = void 0, i);
|
|
2127
2133
|
}
|
|
2128
2134
|
function w() {
|
|
2129
|
-
|
|
2130
|
-
}
|
|
2131
|
-
function
|
|
2132
|
-
return
|
|
2133
|
-
}
|
|
2134
|
-
function
|
|
2135
|
-
var
|
|
2136
|
-
if (r = arguments, s = this, a =
|
|
2137
|
-
if (
|
|
2138
|
-
return
|
|
2139
|
-
if (
|
|
2140
|
-
return clearTimeout(
|
|
2135
|
+
f !== void 0 && clearTimeout(f), c = 0, r = a = s = f = void 0;
|
|
2136
|
+
}
|
|
2137
|
+
function g() {
|
|
2138
|
+
return f === void 0 ? i : _(tt());
|
|
2139
|
+
}
|
|
2140
|
+
function S() {
|
|
2141
|
+
var u = tt(), y = A(u);
|
|
2142
|
+
if (r = arguments, s = this, a = u, y) {
|
|
2143
|
+
if (f === void 0)
|
|
2144
|
+
return T(a);
|
|
2145
|
+
if (l)
|
|
2146
|
+
return clearTimeout(f), f = setTimeout(x, t), k(a);
|
|
2141
2147
|
}
|
|
2142
|
-
return
|
|
2148
|
+
return f === void 0 && (f = setTimeout(x, t)), i;
|
|
2143
2149
|
}
|
|
2144
|
-
return
|
|
2150
|
+
return S.cancel = w, S.flush = g, S;
|
|
2145
2151
|
}
|
|
2146
2152
|
var Rs = "Expected a function";
|
|
2147
2153
|
function Ns(e, t, n) {
|
|
2148
2154
|
var r = !0, s = !0;
|
|
2149
2155
|
if (typeof e != "function")
|
|
2150
2156
|
throw new TypeError(Rs);
|
|
2151
|
-
return
|
|
2157
|
+
return qe(n) && (r = "leading" in n ? !!n.leading : r, s = "trailing" in n ? !!n.trailing : s), $s(e, t, {
|
|
2152
2158
|
leading: r,
|
|
2153
2159
|
maxWait: t,
|
|
2154
2160
|
trailing: s
|
|
@@ -2156,43 +2162,43 @@ function Ns(e, t, n) {
|
|
|
2156
2162
|
}
|
|
2157
2163
|
let Ht;
|
|
2158
2164
|
const Ps = () => {
|
|
2159
|
-
const e = dt(), { active: t, hasTab: n, pageShown: r, reset: s, canAddTab: o } =
|
|
2165
|
+
const e = dt(), { active: t, hasTab: n, pageShown: r, reset: s, canAddTab: o, renewTab: i } = Le(), f = Me(), a = Ns((l, d = !1) => new Promise((k, T) => {
|
|
2160
2166
|
if (!r.value) {
|
|
2161
|
-
|
|
2167
|
+
T();
|
|
2162
2168
|
return;
|
|
2163
2169
|
}
|
|
2164
|
-
const
|
|
2165
|
-
if (n(
|
|
2166
|
-
|
|
2170
|
+
const E = te(l, { refreshable: !0, closable: !0, iframe: !1 });
|
|
2171
|
+
if (E.id && d && n(E.id) && i(l), n(E.id) && !d) {
|
|
2172
|
+
f.emit(q.TAB_ACTIVE, { id: E.id }), k(E.id);
|
|
2167
2173
|
return;
|
|
2168
2174
|
}
|
|
2169
|
-
if (
|
|
2170
|
-
|
|
2175
|
+
if (E.id || (E.id = nt()), !o()) {
|
|
2176
|
+
T("Max Size");
|
|
2171
2177
|
return;
|
|
2172
2178
|
}
|
|
2173
|
-
|
|
2174
|
-
}), 500),
|
|
2175
|
-
const
|
|
2176
|
-
let
|
|
2179
|
+
c(l, E), k(E.id);
|
|
2180
|
+
}), 500), c = (l, d) => {
|
|
2181
|
+
const k = ot(d);
|
|
2182
|
+
let T = te(
|
|
2177
2183
|
{
|
|
2178
|
-
__tab:
|
|
2184
|
+
__tab: k
|
|
2179
2185
|
},
|
|
2180
|
-
|
|
2181
|
-
),
|
|
2182
|
-
if (
|
|
2183
|
-
const
|
|
2184
|
-
|
|
2186
|
+
l.query
|
|
2187
|
+
), E;
|
|
2188
|
+
if (l.iframe) {
|
|
2189
|
+
const A = encodeURIComponent(l.path);
|
|
2190
|
+
E = Ht, T.__src = A;
|
|
2185
2191
|
} else {
|
|
2186
|
-
const
|
|
2187
|
-
|
|
2192
|
+
const A = vt(l.path);
|
|
2193
|
+
E = A.path, T = te(A.query, T);
|
|
2188
2194
|
}
|
|
2189
2195
|
e.push({
|
|
2190
|
-
path:
|
|
2191
|
-
query:
|
|
2196
|
+
path: E,
|
|
2197
|
+
query: T
|
|
2192
2198
|
});
|
|
2193
2199
|
};
|
|
2194
|
-
return { openNewTab:
|
|
2195
|
-
Ht =
|
|
2200
|
+
return { openNewTab: a, setIFramePath: (l) => {
|
|
2201
|
+
Ht = l;
|
|
2196
2202
|
}, active: t, reset: s };
|
|
2197
2203
|
}, Ds = { class: "stack-tab__container" }, js = ["src"], Ws = /* @__PURE__ */ Q({
|
|
2198
2204
|
__name: "StackTabs",
|
|
@@ -2213,59 +2219,59 @@ const Ps = () => {
|
|
|
2213
2219
|
},
|
|
2214
2220
|
emits: ["onActive", "onPageLoaded"],
|
|
2215
2221
|
setup(e, { emit: t }) {
|
|
2216
|
-
const { tabs: n, pageShown: r, caches: s, destroy: o, addPage: i, initial:
|
|
2217
|
-
In("maximum",
|
|
2218
|
-
const { setIFramePath:
|
|
2219
|
-
|
|
2220
|
-
|
|
2222
|
+
const { tabs: n, pageShown: r, caches: s, destroy: o, addPage: i, initial: f, setMaxSize: a, setGlobalScroll: c } = Le(), b = t, l = e, { changeLocale: d } = Ce(), k = R(!1);
|
|
2223
|
+
In("maximum", k);
|
|
2224
|
+
const { setIFramePath: T } = Ps();
|
|
2225
|
+
T(l.iframePath), c(l.globalScroll), d(l.i18n), Bn(() => {
|
|
2226
|
+
f(l.defaultTabs);
|
|
2221
2227
|
});
|
|
2222
|
-
const
|
|
2223
|
-
|
|
2228
|
+
const E = (_, w) => i(_, w), A = (_) => {
|
|
2229
|
+
b("onActive", _);
|
|
2224
2230
|
};
|
|
2225
|
-
a(
|
|
2231
|
+
a(l.max), Cn(() => {
|
|
2226
2232
|
o();
|
|
2227
2233
|
});
|
|
2228
|
-
const
|
|
2229
|
-
|
|
2234
|
+
const x = () => {
|
|
2235
|
+
b("onPageLoaded");
|
|
2230
2236
|
};
|
|
2231
|
-
return (
|
|
2232
|
-
const
|
|
2233
|
-
return z(),
|
|
2234
|
-
class: ce(["stack-tab", { "stack-tab__maximum":
|
|
2237
|
+
return (_, w) => {
|
|
2238
|
+
const g = Yt("router-view");
|
|
2239
|
+
return z(), W("div", {
|
|
2240
|
+
class: ce(["stack-tab", { "stack-tab__maximum": k.value }]),
|
|
2235
2241
|
style: ut({
|
|
2236
|
-
width:
|
|
2237
|
-
height:
|
|
2238
|
-
"z-index":
|
|
2242
|
+
width: _.width,
|
|
2243
|
+
height: _.height,
|
|
2244
|
+
"z-index": k.value ? O(an)("body *:not(.stack-tab,.stack-tab *)") : void 0
|
|
2239
2245
|
})
|
|
2240
2246
|
}, [
|
|
2241
2247
|
N(ls, {
|
|
2242
|
-
space:
|
|
2243
|
-
onActive:
|
|
2244
|
-
"tab-transition":
|
|
2245
|
-
max:
|
|
2248
|
+
space: _.space,
|
|
2249
|
+
onActive: A,
|
|
2250
|
+
"tab-transition": _.tabTransition,
|
|
2251
|
+
max: _.max
|
|
2246
2252
|
}, {
|
|
2247
2253
|
leftButton: ae(() => [
|
|
2248
|
-
ke(
|
|
2254
|
+
ke(_.$slots, "leftButton")
|
|
2249
2255
|
]),
|
|
2250
2256
|
rightButton: ae(() => [
|
|
2251
|
-
ke(
|
|
2257
|
+
ke(_.$slots, "rightButton")
|
|
2252
2258
|
]),
|
|
2253
2259
|
_: 3
|
|
2254
2260
|
}, 8, ["space", "tab-transition", "max"]),
|
|
2255
2261
|
K("div", Ds, [
|
|
2256
|
-
N(
|
|
2257
|
-
default: ae(({ Component:
|
|
2262
|
+
N(g, null, {
|
|
2263
|
+
default: ae(({ Component: S, route: u }) => [
|
|
2258
2264
|
N(tn, {
|
|
2259
|
-
name:
|
|
2265
|
+
name: _.pageTransition,
|
|
2260
2266
|
appear: "",
|
|
2261
2267
|
mode: "out-in"
|
|
2262
2268
|
}, {
|
|
2263
2269
|
default: ae(() => [
|
|
2264
|
-
(z(), me(Mn, { include:
|
|
2265
|
-
|
|
2266
|
-
key:
|
|
2267
|
-
onOnLoaded:
|
|
2268
|
-
}, null, 32)) :
|
|
2270
|
+
(z(), me(Mn, { include: O(s) }, [
|
|
2271
|
+
O(r) ? (z(), me(Ln(E(u, S)), {
|
|
2272
|
+
key: u.fullPath,
|
|
2273
|
+
onOnLoaded: x
|
|
2274
|
+
}, null, 32)) : ne("", !0)
|
|
2269
2275
|
], 1032, ["include"]))
|
|
2270
2276
|
]),
|
|
2271
2277
|
_: 2
|
|
@@ -2274,17 +2280,17 @@ const Ps = () => {
|
|
|
2274
2280
|
_: 1
|
|
2275
2281
|
}),
|
|
2276
2282
|
N(en, {
|
|
2277
|
-
name:
|
|
2283
|
+
name: _.pageTransition,
|
|
2278
2284
|
appear: ""
|
|
2279
2285
|
}, {
|
|
2280
2286
|
default: ae(() => [
|
|
2281
|
-
(z(!0),
|
|
2282
|
-
key:
|
|
2287
|
+
(z(!0), W(Ze, null, ft(O(n).filter((S) => S.iframe), (S) => Kt((z(), W("iframe", {
|
|
2288
|
+
key: S.id,
|
|
2283
2289
|
class: "stack-tab__iframe",
|
|
2284
|
-
src: /^(javascript|data):/i.test(
|
|
2290
|
+
src: /^(javascript|data):/i.test(S.url ?? "") ? "about:blank" : S.url,
|
|
2285
2291
|
frameborder: "0"
|
|
2286
2292
|
}, null, 8, js)), [
|
|
2287
|
-
[Qt,
|
|
2293
|
+
[Qt, S.active]
|
|
2288
2294
|
])), 128))
|
|
2289
2295
|
]),
|
|
2290
2296
|
_: 1
|
|
@@ -2295,20 +2301,20 @@ const Ps = () => {
|
|
|
2295
2301
|
}
|
|
2296
2302
|
}), yt = typeof Buffer == "function";
|
|
2297
2303
|
typeof TextDecoder == "function" && new TextDecoder();
|
|
2298
|
-
const Zt = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Us = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
|
2304
|
+
const Zt = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Us = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Se = Array.prototype.slice.call(Us);
|
|
2299
2305
|
((e) => {
|
|
2300
2306
|
let t = {};
|
|
2301
2307
|
return e.forEach((n, r) => t[n] = r), t;
|
|
2302
|
-
})(
|
|
2308
|
+
})(Se);
|
|
2303
2309
|
const J = String.fromCharCode.bind(String);
|
|
2304
2310
|
typeof Uint8Array.from == "function" && Uint8Array.from.bind(Uint8Array);
|
|
2305
2311
|
const Vs = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), Fs = (e) => {
|
|
2306
2312
|
let t, n, r, s, o = "";
|
|
2307
2313
|
const i = e.length % 3;
|
|
2308
|
-
for (let
|
|
2309
|
-
if ((n = e.charCodeAt(
|
|
2314
|
+
for (let f = 0; f < e.length; ) {
|
|
2315
|
+
if ((n = e.charCodeAt(f++)) > 255 || (r = e.charCodeAt(f++)) > 255 || (s = e.charCodeAt(f++)) > 255)
|
|
2310
2316
|
throw new TypeError("invalid character found");
|
|
2311
|
-
t = n << 16 | r << 8 | s, o +=
|
|
2317
|
+
t = n << 16 | r << 8 | s, o += Se[t >> 18 & 63] + Se[t >> 12 & 63] + Se[t >> 6 & 63] + Se[t & 63];
|
|
2312
2318
|
}
|
|
2313
2319
|
return i ? o.slice(0, i - 3) + "===".substring(i) : o;
|
|
2314
2320
|
}, kn = typeof btoa == "function" ? (e) => btoa(e) : yt ? (e) => Buffer.from(e, "binary").toString("base64") : Fs, qs = yt ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
@@ -2325,100 +2331,100 @@ const Vs = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
|
|
|
2325
2331
|
return J(240 | t >>> 18 & 7) + J(128 | t >>> 12 & 63) + J(128 | t >>> 6 & 63) + J(128 | t & 63);
|
|
2326
2332
|
}
|
|
2327
2333
|
}, Hs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Zs = (e) => e.replace(Hs, Gs), Xt = yt ? (e) => Buffer.from(e, "utf8").toString("base64") : Zt ? (e) => qs(Zt.encode(e)) : (e) => kn(Zs(e)), Xs = (e, t = !1) => t ? Vs(Xt(e)) : Xt(e), Ys = (e) => {
|
|
2328
|
-
const r = `<?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: ${e}</tspan></text></g></svg>`, i = "data:image/svg+xml;base64," + Xs(r), u = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2334
|
+
const r = `<?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: ${e}</tspan></text></g></svg>`, i = "data:image/svg+xml;base64," + Xs(r), f = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2329
2335
|
window.console.log(
|
|
2330
2336
|
"%c+",
|
|
2331
|
-
|
|
2337
|
+
f + `background-image: url(${i});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`
|
|
2332
2338
|
);
|
|
2333
2339
|
}, Js = () => {
|
|
2334
|
-
const { attrs: e, props: t } = nn(), { pageShown: n, getTab: r, markDeletableCache: s, removeComponent: o, getComponent: i, addPageScroller:
|
|
2335
|
-
let
|
|
2336
|
-
|
|
2340
|
+
const { attrs: e, props: t } = nn(), { pageShown: n, getTab: r, markDeletableCache: s, removeComponent: o, getComponent: i, addPageScroller: f } = Le(), a = zn(), c = dt();
|
|
2341
|
+
let b = "", l = "";
|
|
2342
|
+
b = e.tId || t.tId;
|
|
2337
2343
|
const d = e.pId || t.pId;
|
|
2338
|
-
return
|
|
2339
|
-
forward: (
|
|
2340
|
-
const
|
|
2344
|
+
return l = a.query.__tab, {
|
|
2345
|
+
forward: (A) => {
|
|
2346
|
+
const x = te(
|
|
2341
2347
|
{
|
|
2342
|
-
__tab:
|
|
2348
|
+
__tab: l
|
|
2343
2349
|
},
|
|
2344
|
-
|
|
2350
|
+
A.query
|
|
2345
2351
|
);
|
|
2346
2352
|
c.push({
|
|
2347
|
-
path:
|
|
2348
|
-
query:
|
|
2353
|
+
path: A.path,
|
|
2354
|
+
query: x
|
|
2349
2355
|
});
|
|
2350
2356
|
},
|
|
2351
|
-
backward: (
|
|
2352
|
-
const
|
|
2353
|
-
if (!
|
|
2357
|
+
backward: (A, x) => {
|
|
2358
|
+
const _ = r(b);
|
|
2359
|
+
if (!_)
|
|
2354
2360
|
return;
|
|
2355
|
-
const w =
|
|
2356
|
-
let
|
|
2357
|
-
if (typeof
|
|
2358
|
-
|
|
2361
|
+
const w = _.pages;
|
|
2362
|
+
let g = 0;
|
|
2363
|
+
if (typeof A == "number")
|
|
2364
|
+
g = Math.abs(A);
|
|
2359
2365
|
else {
|
|
2360
|
-
let
|
|
2361
|
-
const $ = w.list(),
|
|
2362
|
-
|
|
2363
|
-
for (let
|
|
2364
|
-
if ($[
|
|
2365
|
-
|
|
2366
|
+
let y = 1, v = !1;
|
|
2367
|
+
const $ = w.list(), P = vt(A);
|
|
2368
|
+
x = te(P.query, x);
|
|
2369
|
+
for (let G = w.size() - 2; G >= 0; G--) {
|
|
2370
|
+
if ($[G].path === P.path) {
|
|
2371
|
+
v = !0;
|
|
2366
2372
|
break;
|
|
2367
2373
|
}
|
|
2368
|
-
|
|
2374
|
+
y += 1;
|
|
2369
2375
|
}
|
|
2370
|
-
|
|
2376
|
+
v && (g = y);
|
|
2371
2377
|
}
|
|
2372
|
-
if (
|
|
2378
|
+
if (g === 0 || w.size() <= g)
|
|
2373
2379
|
return;
|
|
2374
|
-
for (let
|
|
2375
|
-
const
|
|
2376
|
-
o(
|
|
2380
|
+
for (let y = 0; y < g; y++) {
|
|
2381
|
+
const v = w.pop();
|
|
2382
|
+
o(v.id), s(v.id);
|
|
2377
2383
|
}
|
|
2378
|
-
const
|
|
2379
|
-
if (
|
|
2380
|
-
const
|
|
2381
|
-
|
|
2384
|
+
const S = w == null ? void 0 : w.peek(), u = i(S.id);
|
|
2385
|
+
if (u != null) {
|
|
2386
|
+
const y = u.components.DynamicComponent;
|
|
2387
|
+
y.props = te(x, y.props);
|
|
2382
2388
|
}
|
|
2383
2389
|
c.push({
|
|
2384
|
-
path:
|
|
2385
|
-
query:
|
|
2390
|
+
path: S.path,
|
|
2391
|
+
query: S.query
|
|
2386
2392
|
});
|
|
2387
2393
|
},
|
|
2388
|
-
addScroller: (...
|
|
2389
|
-
|
|
2394
|
+
addScroller: (...A) => {
|
|
2395
|
+
f(d, ...A);
|
|
2390
2396
|
}
|
|
2391
2397
|
};
|
|
2392
|
-
},
|
|
2398
|
+
}, ro = /* @__PURE__ */ Q({
|
|
2393
2399
|
__name: "iframe",
|
|
2394
2400
|
setup(e) {
|
|
2395
2401
|
return Js(), () => {
|
|
2396
2402
|
};
|
|
2397
2403
|
}
|
|
2398
|
-
}),
|
|
2399
|
-
const e =
|
|
2400
|
-
|
|
2404
|
+
}), so = () => {
|
|
2405
|
+
const e = Me(), { attrs: t } = nn();
|
|
2406
|
+
He(() => {
|
|
2401
2407
|
r();
|
|
2402
2408
|
});
|
|
2403
2409
|
const n = () => {
|
|
2404
|
-
e.emit(
|
|
2410
|
+
e.emit(q.PAGE_LOADING, { tId: t.tId, value: !0 });
|
|
2405
2411
|
}, r = () => {
|
|
2406
|
-
e.emit(
|
|
2412
|
+
e.emit(q.PAGE_LOADING, { tId: t.tId, value: !1 });
|
|
2407
2413
|
};
|
|
2408
2414
|
return { openTabLoading: n, closeTabLoading: r };
|
|
2409
|
-
},
|
|
2415
|
+
}, oo = {
|
|
2410
2416
|
install(e, t) {
|
|
2411
|
-
Ys("0.1.
|
|
2417
|
+
Ys("0.1.35"), e.component("VueStackTabs", Ws).use(xr).use(Xn().getI18n(t));
|
|
2412
2418
|
}
|
|
2413
2419
|
};
|
|
2414
2420
|
export {
|
|
2415
|
-
|
|
2421
|
+
ro as IFrame,
|
|
2416
2422
|
Xe as Stack,
|
|
2417
2423
|
Ws as StackTab,
|
|
2418
2424
|
ct as TabHeaderButton,
|
|
2419
2425
|
he as TabScrollMode,
|
|
2420
|
-
|
|
2426
|
+
oo as default,
|
|
2421
2427
|
Ps as useStackTab,
|
|
2422
|
-
|
|
2428
|
+
so as useTabLoading,
|
|
2423
2429
|
Js as useTabRouter
|
|
2424
2430
|
};
|