vue-stack-tabs 0.1.23 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var kn = Object.defineProperty;
|
|
2
2
|
var wn = (e, t, n) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var vt = (e, t, n) => (wn(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { inject as st, ref as
|
|
5
|
-
import { useRouter as at, useRoute as
|
|
6
|
-
const
|
|
4
|
+
import { inject as st, ref as $, reactive as Se, readonly as mt, toRaw as _n, defineComponent as J, openBlock as z, createElementBlock as P, createCommentVNode as Y, createElementVNode as X, unref as x, onMounted as Ue, onDeactivated as Tn, onActivated as xn, onUnmounted as Ve, createVNode as N, resolveComponent as qt, normalizeClass as ie, withModifiers as ve, toDisplayString as Gt, normalizeStyle as ot, Fragment as Fe, renderList as it, createBlock as ae, nextTick as Ht, computed as pe, renderSlot as me, watch as Sn, withDirectives as Zt, vShow as Xt, withCtx as oe, TransitionGroup as Yt, mergeProps as On, Transition as Jt, provide as En, onBeforeMount as An, onBeforeUnmount as In, KeepAlive as Bn, resolveDynamicComponent as Cn, getCurrentInstance as Kt } from "vue";
|
|
5
|
+
import { useRouter as at, useRoute as Mn } from "vue-router";
|
|
6
|
+
const Ln = {
|
|
7
7
|
VueStackTab: {
|
|
8
8
|
close: "close",
|
|
9
9
|
closeLeft: "close left",
|
|
@@ -17,10 +17,10 @@ const zn = {
|
|
|
17
17
|
undefined: "undefined",
|
|
18
18
|
loading: "loading"
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21
21
|
__proto__: null,
|
|
22
|
-
default:
|
|
23
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
22
|
+
default: Ln
|
|
23
|
+
}, Symbol.toStringTag, { value: "Module" })), $n = {
|
|
24
24
|
VueStackTab: {
|
|
25
25
|
close: "关闭",
|
|
26
26
|
closeLeft: "关闭左侧",
|
|
@@ -34,27 +34,27 @@ const zn = {
|
|
|
34
34
|
undefined: "未命名",
|
|
35
35
|
loading: "加载中"
|
|
36
36
|
}
|
|
37
|
-
},
|
|
37
|
+
}, Rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
38
38
|
__proto__: null,
|
|
39
|
-
default:
|
|
39
|
+
default: $n
|
|
40
40
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
41
41
|
/*!
|
|
42
42
|
* vue-i18n-lite v1.0.2
|
|
43
43
|
* (c) 2021 Erik Pham
|
|
44
44
|
* @license MIT
|
|
45
45
|
*/
|
|
46
|
-
const
|
|
47
|
-
function
|
|
46
|
+
const Nn = ["__proto__", "prototype", "constructor"];
|
|
47
|
+
function Pn(e) {
|
|
48
48
|
const t = typeof e;
|
|
49
49
|
return e !== null && (t === "object" || t === "function");
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Dn(e) {
|
|
52
52
|
return !(Array.isArray(e) ? e.length : Object.keys(e).length);
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
return !e.some((t) =>
|
|
54
|
+
function jn(e) {
|
|
55
|
+
return !e.some((t) => Nn.indexOf(t) !== -1);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function Wn(e) {
|
|
58
58
|
const t = e.split("."), n = [];
|
|
59
59
|
for (let r = 0; r < t.length; r++) {
|
|
60
60
|
let s = t[r];
|
|
@@ -62,12 +62,12 @@ function Un(e) {
|
|
|
62
62
|
s = s.slice(0, -1) + ".", s += t[++r];
|
|
63
63
|
n.push(s);
|
|
64
64
|
}
|
|
65
|
-
return
|
|
65
|
+
return jn(n) ? n : [];
|
|
66
66
|
}
|
|
67
67
|
function gt(e, t) {
|
|
68
|
-
if (!
|
|
68
|
+
if (!Pn(e))
|
|
69
69
|
return "";
|
|
70
|
-
const n =
|
|
70
|
+
const n = Wn(t);
|
|
71
71
|
if (n.length === 0)
|
|
72
72
|
return "";
|
|
73
73
|
let r = Object.assign({}, e);
|
|
@@ -82,7 +82,7 @@ function gt(e, t) {
|
|
|
82
82
|
}
|
|
83
83
|
return "";
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Un(e, t) {
|
|
86
86
|
if (Array.isArray(t)) {
|
|
87
87
|
const n = {}, r = [...e.matchAll(/{(.+?)}/g)];
|
|
88
88
|
return r && r.forEach((s, o) => {
|
|
@@ -91,7 +91,7 @@ function Vn(e, t) {
|
|
|
91
91
|
}
|
|
92
92
|
return t;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Vn(e, t) {
|
|
95
95
|
for (const n in t)
|
|
96
96
|
e = e.replace(`{${n}}`, String(t[n]));
|
|
97
97
|
return e;
|
|
@@ -101,12 +101,12 @@ function Qt(e, t) {
|
|
|
101
101
|
t[n] instanceof Object && n in e && (t[n] = { ...t[n], ...Qt(e[n], t[n]) });
|
|
102
102
|
}), { ...e || {}, ...t };
|
|
103
103
|
}
|
|
104
|
-
const
|
|
104
|
+
const Fn = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", qn = (e) => Fn ? Symbol(e) : "_vt_" + e, en = /* @__PURE__ */ qn("i18n");
|
|
105
105
|
function qe() {
|
|
106
106
|
return st(en);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
const t = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, e), n =
|
|
108
|
+
function Gn(e) {
|
|
109
|
+
const t = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, e), n = $(t.locale), r = Se({});
|
|
110
110
|
return Object.entries(t.messages).forEach(([s, o]) => {
|
|
111
111
|
r[s] = o;
|
|
112
112
|
}), {
|
|
@@ -114,12 +114,12 @@ function Hn(e) {
|
|
|
114
114
|
if (!s)
|
|
115
115
|
return "";
|
|
116
116
|
const i = typeof o == "string" && o ? o : n.value;
|
|
117
|
-
let
|
|
117
|
+
let u = gt(r[i], s) || gt(r[t.fallbackLocale], s);
|
|
118
118
|
if (o && typeof o != "string") {
|
|
119
|
-
const
|
|
120
|
-
|
|
119
|
+
const c = Un(u, o);
|
|
120
|
+
Dn(c) || (u = Vn(u, c));
|
|
121
121
|
}
|
|
122
|
-
return
|
|
122
|
+
return u || s;
|
|
123
123
|
},
|
|
124
124
|
current: mt(n),
|
|
125
125
|
options: mt(e || {}),
|
|
@@ -138,16 +138,16 @@ function Hn(e) {
|
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
const
|
|
142
|
-
const e = /* @__PURE__ */ Object.assign({ "./lang/en.ts":
|
|
141
|
+
const Hn = () => {
|
|
142
|
+
const e = /* @__PURE__ */ Object.assign({ "./lang/en.ts": zn, "./lang/zh-CN.ts": Rn });
|
|
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 u = i.substring(i.lastIndexOf("/") + 1, i.lastIndexOf("."));
|
|
147
|
+
o[u] ? o[u] = {
|
|
148
|
+
...s[u],
|
|
149
149
|
...s[i].default
|
|
150
|
-
} : o[
|
|
150
|
+
} : o[u] = s[i].default;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
const n = () => {
|
|
@@ -160,7 +160,7 @@ const Zn = () => {
|
|
|
160
160
|
if (s)
|
|
161
161
|
for (const i of s)
|
|
162
162
|
o[i.locale] = i.messages;
|
|
163
|
-
return
|
|
163
|
+
return Gn({
|
|
164
164
|
locale: "zh-CN",
|
|
165
165
|
fallbackLocale: "en",
|
|
166
166
|
messages: o
|
|
@@ -179,7 +179,7 @@ const Zn = () => {
|
|
|
179
179
|
behavior: r ? "smooth" : "auto"
|
|
180
180
|
}) : (e.scrollLeft = t, e.scrollTop = n));
|
|
181
181
|
};
|
|
182
|
-
function
|
|
182
|
+
function Zn({
|
|
183
183
|
el: e,
|
|
184
184
|
wrap: t,
|
|
185
185
|
block: n = "start",
|
|
@@ -190,8 +190,8 @@ function Xn({
|
|
|
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, u;
|
|
194
|
+
n === "center" ? u = o + (e.clientHeight - t.clientHeight) / 2 : u = o, r === "center" ? i = s + (e.clientWidth - t.clientWidth) / 2 : i = s, tn({ wrap: t, left: i, top: u });
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
const nn = (e = ".stack-tab__container *") => {
|
|
@@ -279,12 +279,12 @@ function Ze(e) {
|
|
|
279
279
|
throw new Error("Parameter was not an error");
|
|
280
280
|
}
|
|
281
281
|
function ct(e) {
|
|
282
|
-
return
|
|
282
|
+
return Xn(e) === "[object Error]" || e instanceof Error;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Xn(e) {
|
|
285
285
|
return Object.prototype.toString.call(e);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Yn(e) {
|
|
288
288
|
let t, n = "";
|
|
289
289
|
if (e.length === 0)
|
|
290
290
|
t = {};
|
|
@@ -305,11 +305,11 @@ function Jn(e) {
|
|
|
305
305
|
}
|
|
306
306
|
class G extends Error {
|
|
307
307
|
constructor(t, n) {
|
|
308
|
-
const r = [...arguments], { options: s, shortMessage: o } =
|
|
308
|
+
const r = [...arguments], { options: s, shortMessage: o } = Yn(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 u = s.constructorOpt || this.constructor;
|
|
312
|
+
Error.captureStackTrace(this, u);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
static cause(t) {
|
|
@@ -334,11 +334,11 @@ caused by: ${G.fullStack(n)}` : t.stack;
|
|
|
334
334
|
return this.message && (t = `${t}: ${this.message}`), t;
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
const rn = "0123456789ABCDEFGHJKMNPQRSTVWXYZ",
|
|
337
|
+
const rn = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", _e = 32, yt = 281474976710655, Jn = 10, Kn = 16, ke = Object.freeze({
|
|
338
338
|
source: "ulid"
|
|
339
339
|
});
|
|
340
|
-
function
|
|
341
|
-
const t = e ||
|
|
340
|
+
function Qn(e) {
|
|
341
|
+
const t = e || er(), n = t && (t.crypto || t.msCrypto) || null;
|
|
342
342
|
if (typeof (n == null ? void 0 : n.getRandomValues) == "function")
|
|
343
343
|
return () => {
|
|
344
344
|
const r = new Uint8Array(1);
|
|
@@ -349,82 +349,82 @@ function er(e) {
|
|
|
349
349
|
throw new G({
|
|
350
350
|
info: {
|
|
351
351
|
code: "PRNG_DETECT",
|
|
352
|
-
...
|
|
352
|
+
...ke
|
|
353
353
|
}
|
|
354
354
|
}, "Failed to find a reliable PRNG");
|
|
355
355
|
}
|
|
356
|
-
function
|
|
357
|
-
return
|
|
356
|
+
function er() {
|
|
357
|
+
return rr() ? self : typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : null;
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function tr(e, t) {
|
|
360
360
|
let n = "";
|
|
361
361
|
for (; e > 0; e--)
|
|
362
|
-
n =
|
|
362
|
+
n = sr(t) + n;
|
|
363
363
|
return n;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function nr(e, t) {
|
|
366
366
|
if (isNaN(e))
|
|
367
367
|
throw new G({
|
|
368
368
|
info: {
|
|
369
369
|
code: "ENC_TIME_NAN",
|
|
370
|
-
...
|
|
370
|
+
...ke
|
|
371
371
|
}
|
|
372
372
|
}, `Time must be a number: ${e}`);
|
|
373
373
|
if (e > yt)
|
|
374
374
|
throw new G({
|
|
375
375
|
info: {
|
|
376
376
|
code: "ENC_TIME_SIZE_EXCEED",
|
|
377
|
-
...
|
|
377
|
+
...ke
|
|
378
378
|
}
|
|
379
379
|
}, `Cannot encode a time larger than ${yt}: ${e}`);
|
|
380
380
|
if (e < 0)
|
|
381
381
|
throw new G({
|
|
382
382
|
info: {
|
|
383
383
|
code: "ENC_TIME_NEG",
|
|
384
|
-
...
|
|
384
|
+
...ke
|
|
385
385
|
}
|
|
386
386
|
}, `Time must be positive: ${e}`);
|
|
387
387
|
if (Number.isInteger(e) === !1)
|
|
388
388
|
throw new G({
|
|
389
389
|
info: {
|
|
390
390
|
code: "ENC_TIME_TYPE",
|
|
391
|
-
...
|
|
391
|
+
...ke
|
|
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 % _e, r = rn.charAt(n) + r, e = (e - n) / _e;
|
|
397
397
|
return r;
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function rr() {
|
|
400
400
|
return typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope;
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
let t = Math.floor(e() *
|
|
404
|
-
return t ===
|
|
402
|
+
function sr(e) {
|
|
403
|
+
let t = Math.floor(e() * _e);
|
|
404
|
+
return t === _e && (t = _e - 1), rn.charAt(t);
|
|
405
405
|
}
|
|
406
406
|
function sn(e, t) {
|
|
407
|
-
const n = t ||
|
|
408
|
-
return
|
|
407
|
+
const n = t || Qn(), r = isNaN(e) ? Date.now() : e;
|
|
408
|
+
return nr(r, Jn) + tr(Kn, n);
|
|
409
409
|
}
|
|
410
410
|
var lt = { exports: {} };
|
|
411
411
|
lt.exports;
|
|
412
412
|
(function(e) {
|
|
413
413
|
var t = function() {
|
|
414
414
|
var n = String.fromCharCode, r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", o = {};
|
|
415
|
-
function i(
|
|
416
|
-
if (!o[
|
|
417
|
-
o[
|
|
418
|
-
for (var h = 0; h <
|
|
419
|
-
o[
|
|
415
|
+
function i(c, l) {
|
|
416
|
+
if (!o[c]) {
|
|
417
|
+
o[c] = {};
|
|
418
|
+
for (var h = 0; h < c.length; h++)
|
|
419
|
+
o[c][c.charAt(h)] = h;
|
|
420
420
|
}
|
|
421
|
-
return o[
|
|
421
|
+
return o[c][l];
|
|
422
422
|
}
|
|
423
|
-
var
|
|
424
|
-
compressToBase64: function(
|
|
425
|
-
if (
|
|
423
|
+
var u = {
|
|
424
|
+
compressToBase64: function(c) {
|
|
425
|
+
if (c == null)
|
|
426
426
|
return "";
|
|
427
|
-
var l =
|
|
427
|
+
var l = u._compress(c, 6, function(h) {
|
|
428
428
|
return r.charAt(h);
|
|
429
429
|
});
|
|
430
430
|
switch (l.length % 4) {
|
|
@@ -439,190 +439,190 @@ lt.exports;
|
|
|
439
439
|
return l + "=";
|
|
440
440
|
}
|
|
441
441
|
},
|
|
442
|
-
decompressFromBase64: function(
|
|
443
|
-
return
|
|
444
|
-
return i(r,
|
|
442
|
+
decompressFromBase64: function(c) {
|
|
443
|
+
return c == null ? "" : c == "" ? null : u._decompress(c.length, 32, function(l) {
|
|
444
|
+
return i(r, c.charAt(l));
|
|
445
445
|
});
|
|
446
446
|
},
|
|
447
|
-
compressToUTF16: function(
|
|
448
|
-
return
|
|
447
|
+
compressToUTF16: function(c) {
|
|
448
|
+
return c == null ? "" : u._compress(c, 15, function(l) {
|
|
449
449
|
return n(l + 32);
|
|
450
450
|
}) + " ";
|
|
451
451
|
},
|
|
452
|
-
decompressFromUTF16: function(
|
|
453
|
-
return
|
|
454
|
-
return
|
|
452
|
+
decompressFromUTF16: function(c) {
|
|
453
|
+
return c == null ? "" : c == "" ? null : u._decompress(c.length, 16384, function(l) {
|
|
454
|
+
return c.charCodeAt(l) - 32;
|
|
455
455
|
});
|
|
456
456
|
},
|
|
457
457
|
//compress into uint8array (UCS-2 big endian format)
|
|
458
|
-
compressToUint8Array: function(
|
|
459
|
-
for (var l =
|
|
460
|
-
var
|
|
461
|
-
h[
|
|
458
|
+
compressToUint8Array: function(c) {
|
|
459
|
+
for (var l = u.compress(c), h = new Uint8Array(l.length * 2), f = 0, d = l.length; f < d; f++) {
|
|
460
|
+
var k = l.charCodeAt(f);
|
|
461
|
+
h[f * 2] = k >>> 8, h[f * 2 + 1] = k % 256;
|
|
462
462
|
}
|
|
463
463
|
return h;
|
|
464
464
|
},
|
|
465
465
|
//decompress from uint8array (UCS-2 big endian format)
|
|
466
|
-
decompressFromUint8Array: function(
|
|
467
|
-
if (
|
|
468
|
-
return
|
|
469
|
-
for (var l = new Array(
|
|
470
|
-
l[h] =
|
|
466
|
+
decompressFromUint8Array: function(c) {
|
|
467
|
+
if (c == null)
|
|
468
|
+
return u.decompress(c);
|
|
469
|
+
for (var l = new Array(c.length / 2), h = 0, f = l.length; h < f; h++)
|
|
470
|
+
l[h] = c[h * 2] * 256 + c[h * 2 + 1];
|
|
471
471
|
var d = [];
|
|
472
|
-
return l.forEach(function(
|
|
473
|
-
d.push(n(
|
|
474
|
-
}),
|
|
472
|
+
return l.forEach(function(k) {
|
|
473
|
+
d.push(n(k));
|
|
474
|
+
}), u.decompress(d.join(""));
|
|
475
475
|
},
|
|
476
476
|
//compress into a string that is already URI encoded
|
|
477
|
-
compressToEncodedURIComponent: function(
|
|
478
|
-
return
|
|
477
|
+
compressToEncodedURIComponent: function(c) {
|
|
478
|
+
return c == null ? "" : u._compress(c, 6, function(l) {
|
|
479
479
|
return s.charAt(l);
|
|
480
480
|
});
|
|
481
481
|
},
|
|
482
482
|
//decompress from an output of compressToEncodedURIComponent
|
|
483
|
-
decompressFromEncodedURIComponent: function(
|
|
484
|
-
return
|
|
485
|
-
return i(s,
|
|
483
|
+
decompressFromEncodedURIComponent: function(c) {
|
|
484
|
+
return c == null ? "" : c == "" ? null : (c = c.replace(/ /g, "+"), u._decompress(c.length, 32, function(l) {
|
|
485
|
+
return i(s, c.charAt(l));
|
|
486
486
|
}));
|
|
487
487
|
},
|
|
488
|
-
compress: function(
|
|
489
|
-
return
|
|
488
|
+
compress: function(c) {
|
|
489
|
+
return u._compress(c, 16, function(l) {
|
|
490
490
|
return n(l);
|
|
491
491
|
});
|
|
492
492
|
},
|
|
493
|
-
_compress: function(
|
|
494
|
-
if (
|
|
493
|
+
_compress: function(c, l, h) {
|
|
494
|
+
if (c == null)
|
|
495
495
|
return "";
|
|
496
|
-
var
|
|
497
|
-
for (
|
|
498
|
-
if (B =
|
|
499
|
-
|
|
496
|
+
var f, d, k = {}, S = {}, B = "", I = "", _ = "", T = 2, y = 3, v = 2, E = [], a = 0, p = 0, m;
|
|
497
|
+
for (m = 0; m < c.length; m += 1)
|
|
498
|
+
if (B = c.charAt(m), Object.prototype.hasOwnProperty.call(k, B) || (k[B] = y++, S[B] = !0), I = _ + B, Object.prototype.hasOwnProperty.call(k, I))
|
|
499
|
+
_ = I;
|
|
500
500
|
else {
|
|
501
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
502
|
-
if (
|
|
503
|
-
for (
|
|
504
|
-
|
|
505
|
-
for (d =
|
|
506
|
-
|
|
501
|
+
if (Object.prototype.hasOwnProperty.call(S, _)) {
|
|
502
|
+
if (_.charCodeAt(0) < 256) {
|
|
503
|
+
for (f = 0; f < v; f++)
|
|
504
|
+
a = a << 1, p == l - 1 ? (p = 0, E.push(h(a)), a = 0) : p++;
|
|
505
|
+
for (d = _.charCodeAt(0), f = 0; f < 8; f++)
|
|
506
|
+
a = a << 1 | d & 1, p == l - 1 ? (p = 0, E.push(h(a)), a = 0) : p++, d = d >> 1;
|
|
507
507
|
} else {
|
|
508
|
-
for (d = 1,
|
|
509
|
-
|
|
510
|
-
for (d =
|
|
511
|
-
|
|
508
|
+
for (d = 1, f = 0; f < v; f++)
|
|
509
|
+
a = a << 1 | d, p == l - 1 ? (p = 0, E.push(h(a)), a = 0) : p++, d = 0;
|
|
510
|
+
for (d = _.charCodeAt(0), f = 0; f < 16; f++)
|
|
511
|
+
a = a << 1 | d & 1, p == l - 1 ? (p = 0, E.push(h(a)), a = 0) : p++, d = d >> 1;
|
|
512
512
|
}
|
|
513
|
-
|
|
513
|
+
T--, T == 0 && (T = Math.pow(2, v), v++), delete S[_];
|
|
514
514
|
} else
|
|
515
|
-
for (d =
|
|
516
|
-
|
|
517
|
-
|
|
515
|
+
for (d = k[_], f = 0; f < v; f++)
|
|
516
|
+
a = a << 1 | d & 1, p == l - 1 ? (p = 0, E.push(h(a)), a = 0) : p++, d = d >> 1;
|
|
517
|
+
T--, T == 0 && (T = Math.pow(2, v), v++), k[I] = y++, _ = String(B);
|
|
518
518
|
}
|
|
519
|
-
if (
|
|
520
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
521
|
-
if (
|
|
522
|
-
for (
|
|
523
|
-
|
|
524
|
-
for (d =
|
|
525
|
-
|
|
519
|
+
if (_ !== "") {
|
|
520
|
+
if (Object.prototype.hasOwnProperty.call(S, _)) {
|
|
521
|
+
if (_.charCodeAt(0) < 256) {
|
|
522
|
+
for (f = 0; f < v; f++)
|
|
523
|
+
a = a << 1, p == l - 1 ? (p = 0, E.push(h(a)), a = 0) : p++;
|
|
524
|
+
for (d = _.charCodeAt(0), f = 0; f < 8; f++)
|
|
525
|
+
a = a << 1 | d & 1, p == l - 1 ? (p = 0, E.push(h(a)), a = 0) : p++, d = d >> 1;
|
|
526
526
|
} else {
|
|
527
|
-
for (d = 1,
|
|
528
|
-
|
|
529
|
-
for (d =
|
|
530
|
-
|
|
527
|
+
for (d = 1, f = 0; f < v; f++)
|
|
528
|
+
a = a << 1 | d, p == l - 1 ? (p = 0, E.push(h(a)), a = 0) : p++, d = 0;
|
|
529
|
+
for (d = _.charCodeAt(0), f = 0; f < 16; f++)
|
|
530
|
+
a = a << 1 | d & 1, p == l - 1 ? (p = 0, E.push(h(a)), a = 0) : p++, d = d >> 1;
|
|
531
531
|
}
|
|
532
|
-
|
|
532
|
+
T--, T == 0 && (T = Math.pow(2, v), v++), delete S[_];
|
|
533
533
|
} else
|
|
534
|
-
for (d =
|
|
535
|
-
|
|
536
|
-
|
|
534
|
+
for (d = k[_], f = 0; f < v; f++)
|
|
535
|
+
a = a << 1 | d & 1, p == l - 1 ? (p = 0, E.push(h(a)), a = 0) : p++, d = d >> 1;
|
|
536
|
+
T--, T == 0 && (T = Math.pow(2, v), v++);
|
|
537
537
|
}
|
|
538
|
-
for (d = 2,
|
|
539
|
-
|
|
538
|
+
for (d = 2, f = 0; f < v; f++)
|
|
539
|
+
a = a << 1 | d & 1, p == l - 1 ? (p = 0, E.push(h(a)), a = 0) : p++, d = d >> 1;
|
|
540
540
|
for (; ; )
|
|
541
|
-
if (
|
|
542
|
-
|
|
541
|
+
if (a = a << 1, p == l - 1) {
|
|
542
|
+
E.push(h(a));
|
|
543
543
|
break;
|
|
544
544
|
} else
|
|
545
545
|
p++;
|
|
546
|
-
return
|
|
546
|
+
return E.join("");
|
|
547
547
|
},
|
|
548
|
-
decompress: function(
|
|
549
|
-
return
|
|
550
|
-
return
|
|
548
|
+
decompress: function(c) {
|
|
549
|
+
return c == null ? "" : c == "" ? null : u._decompress(c.length, 32768, function(l) {
|
|
550
|
+
return c.charCodeAt(l);
|
|
551
551
|
});
|
|
552
552
|
},
|
|
553
|
-
_decompress: function(
|
|
554
|
-
var
|
|
555
|
-
for (
|
|
556
|
-
|
|
557
|
-
for (
|
|
558
|
-
|
|
559
|
-
switch (
|
|
553
|
+
_decompress: function(c, l, h) {
|
|
554
|
+
var f = [], d = 4, k = 4, S = 3, B = "", I = [], _, T, y, v, E, a, p, m = { val: h(0), position: l, index: 1 };
|
|
555
|
+
for (_ = 0; _ < 3; _ += 1)
|
|
556
|
+
f[_] = _;
|
|
557
|
+
for (y = 0, E = Math.pow(2, 2), a = 1; a != E; )
|
|
558
|
+
v = m.val & m.position, m.position >>= 1, m.position == 0 && (m.position = l, m.val = h(m.index++)), y |= (v > 0 ? 1 : 0) * a, a <<= 1;
|
|
559
|
+
switch (y) {
|
|
560
560
|
case 0:
|
|
561
|
-
for (
|
|
562
|
-
|
|
563
|
-
p = n(
|
|
561
|
+
for (y = 0, E = Math.pow(2, 8), a = 1; a != E; )
|
|
562
|
+
v = m.val & m.position, m.position >>= 1, m.position == 0 && (m.position = l, m.val = h(m.index++)), y |= (v > 0 ? 1 : 0) * a, a <<= 1;
|
|
563
|
+
p = n(y);
|
|
564
564
|
break;
|
|
565
565
|
case 1:
|
|
566
|
-
for (
|
|
567
|
-
|
|
568
|
-
p = n(
|
|
566
|
+
for (y = 0, E = Math.pow(2, 16), a = 1; a != E; )
|
|
567
|
+
v = m.val & m.position, m.position >>= 1, m.position == 0 && (m.position = l, m.val = h(m.index++)), y |= (v > 0 ? 1 : 0) * a, a <<= 1;
|
|
568
|
+
p = n(y);
|
|
569
569
|
break;
|
|
570
570
|
case 2:
|
|
571
571
|
return "";
|
|
572
572
|
}
|
|
573
|
-
for (
|
|
574
|
-
if (
|
|
573
|
+
for (f[3] = p, T = p, I.push(p); ; ) {
|
|
574
|
+
if (m.index > c)
|
|
575
575
|
return "";
|
|
576
|
-
for (
|
|
577
|
-
|
|
578
|
-
switch (p =
|
|
576
|
+
for (y = 0, E = Math.pow(2, S), a = 1; a != E; )
|
|
577
|
+
v = m.val & m.position, m.position >>= 1, m.position == 0 && (m.position = l, m.val = h(m.index++)), y |= (v > 0 ? 1 : 0) * a, a <<= 1;
|
|
578
|
+
switch (p = y) {
|
|
579
579
|
case 0:
|
|
580
|
-
for (
|
|
581
|
-
|
|
582
|
-
|
|
580
|
+
for (y = 0, E = Math.pow(2, 8), a = 1; a != E; )
|
|
581
|
+
v = m.val & m.position, m.position >>= 1, m.position == 0 && (m.position = l, m.val = h(m.index++)), y |= (v > 0 ? 1 : 0) * a, a <<= 1;
|
|
582
|
+
f[k++] = n(y), p = k - 1, d--;
|
|
583
583
|
break;
|
|
584
584
|
case 1:
|
|
585
|
-
for (
|
|
586
|
-
|
|
587
|
-
|
|
585
|
+
for (y = 0, E = Math.pow(2, 16), a = 1; a != E; )
|
|
586
|
+
v = m.val & m.position, m.position >>= 1, m.position == 0 && (m.position = l, m.val = h(m.index++)), y |= (v > 0 ? 1 : 0) * a, a <<= 1;
|
|
587
|
+
f[k++] = n(y), p = k - 1, d--;
|
|
588
588
|
break;
|
|
589
589
|
case 2:
|
|
590
|
-
return
|
|
590
|
+
return I.join("");
|
|
591
591
|
}
|
|
592
|
-
if (d == 0 && (d = Math.pow(2,
|
|
593
|
-
B =
|
|
594
|
-
else if (p ===
|
|
595
|
-
B =
|
|
592
|
+
if (d == 0 && (d = Math.pow(2, S), S++), f[p])
|
|
593
|
+
B = f[p];
|
|
594
|
+
else if (p === k)
|
|
595
|
+
B = T + T.charAt(0);
|
|
596
596
|
else
|
|
597
597
|
return null;
|
|
598
|
-
|
|
598
|
+
I.push(B), f[k++] = T + B.charAt(0), d--, T = B, d == 0 && (d = Math.pow(2, S), S++);
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
601
|
};
|
|
602
|
-
return
|
|
602
|
+
return u;
|
|
603
603
|
}();
|
|
604
604
|
e != null ? e.exports = t : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("LZString", function() {
|
|
605
605
|
return t;
|
|
606
606
|
});
|
|
607
607
|
})(lt);
|
|
608
608
|
var on = lt.exports;
|
|
609
|
-
const
|
|
609
|
+
const or = new TextEncoder(), ir = new TextDecoder("utf-8", { ignoreBOM: !0 }), kt = {
|
|
610
610
|
/* API */
|
|
611
|
-
encode: (e) =>
|
|
612
|
-
decode: (e) =>
|
|
611
|
+
encode: (e) => or.encode(e),
|
|
612
|
+
decode: (e) => ir.decode(e)
|
|
613
613
|
}, an = (() => {
|
|
614
614
|
const t = [..."0123456789abcdef"], n = new Array(256);
|
|
615
615
|
for (let r = 0; r < 256; r++)
|
|
616
616
|
n[r] = `${t[r >>> 4 & 15]}${t[r & 15]}`;
|
|
617
617
|
return n;
|
|
618
|
-
})(),
|
|
618
|
+
})(), ar = (() => {
|
|
619
619
|
const e = {};
|
|
620
620
|
for (let t = 0; t < 256; t++) {
|
|
621
621
|
const n = an[t], r = n[0], s = r.toUpperCase(), o = n[1], i = o.toUpperCase();
|
|
622
622
|
e[n] = t, e[`${r}${i}`] = t, e[`${s}${o}`] = t, e[`${s}${i}`] = t;
|
|
623
623
|
}
|
|
624
624
|
return e;
|
|
625
|
-
})(),
|
|
625
|
+
})(), cr = (e) => !(e.length % 2 || !/^[a-fA-F0-9]*$/.test(e)), Qe = {
|
|
626
626
|
/* API */
|
|
627
627
|
encode: (e) => {
|
|
628
628
|
let t = "";
|
|
@@ -634,21 +634,21 @@ const ir = new TextEncoder(), ar = new TextDecoder("utf-8", { ignoreBOM: !0 }),
|
|
|
634
634
|
decode: (e) => {
|
|
635
635
|
const t = e.length / 2, n = new Uint8Array(t);
|
|
636
636
|
for (let r = 0; r < t; r++)
|
|
637
|
-
n[r] =
|
|
637
|
+
n[r] = ar[e.slice(r * 2, r * 2 + 2)];
|
|
638
638
|
return n;
|
|
639
639
|
},
|
|
640
640
|
decodeStr: (e) => kt.decode(Qe.decode(e)),
|
|
641
|
-
is:
|
|
641
|
+
is: cr
|
|
642
642
|
};
|
|
643
|
-
function
|
|
643
|
+
function Te(e) {
|
|
644
644
|
if (!Number.isSafeInteger(e) || e < 0)
|
|
645
645
|
throw new Error(`Wrong positive integer: ${e}`);
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function lr(e) {
|
|
648
648
|
return e instanceof Uint8Array || e != null && typeof e == "object" && e.constructor.name === "Uint8Array";
|
|
649
649
|
}
|
|
650
650
|
function cn(e, ...t) {
|
|
651
|
-
if (!
|
|
651
|
+
if (!lr(e))
|
|
652
652
|
throw new Error("Expected Uint8Array");
|
|
653
653
|
if (t.length > 0 && !t.includes(e.length))
|
|
654
654
|
throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`);
|
|
@@ -665,41 +665,41 @@ function ln(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 Be = /* @__PURE__ */ BigInt(2 ** 32 - 1), wt = /* @__PURE__ */ BigInt(32);
|
|
669
669
|
function _t(e, t = !1) {
|
|
670
|
-
return t ? { h: Number(e &
|
|
670
|
+
return t ? { h: Number(e & Be), l: Number(e >> wt & Be) } : { h: Number(e >> wt & Be) | 0, l: Number(e & Be) | 0 };
|
|
671
671
|
}
|
|
672
672
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
673
|
-
const
|
|
674
|
-
function
|
|
673
|
+
const ur = (e) => new Uint8Array(e.buffer, e.byteOffset, e.byteLength), Pe = (e) => new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4));
|
|
674
|
+
function fr(e) {
|
|
675
675
|
return e instanceof Uint8Array || e != null && typeof e == "object" && e.constructor.name === "Uint8Array";
|
|
676
676
|
}
|
|
677
|
-
const
|
|
678
|
-
if (!
|
|
677
|
+
const De = (e, t) => e << 32 - t | e >>> t, dr = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
|
|
678
|
+
if (!dr)
|
|
679
679
|
throw new Error("Non little-endian hardware is not supported");
|
|
680
|
-
function
|
|
680
|
+
function hr(e) {
|
|
681
681
|
if (typeof e != "string")
|
|
682
682
|
throw new Error(`utf8ToBytes expected string, got ${typeof e}`);
|
|
683
683
|
return new Uint8Array(new TextEncoder().encode(e));
|
|
684
684
|
}
|
|
685
685
|
function ut(e) {
|
|
686
|
-
if (typeof e == "string" && (e =
|
|
686
|
+
if (typeof e == "string" && (e = hr(e)), !fr(e))
|
|
687
687
|
throw new Error(`expected Uint8Array, got ${typeof e}`);
|
|
688
688
|
return e;
|
|
689
689
|
}
|
|
690
|
-
class
|
|
690
|
+
class pr {
|
|
691
691
|
// Safe version that clones internal state
|
|
692
692
|
clone() {
|
|
693
693
|
return this._cloneInto();
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
|
-
function
|
|
696
|
+
function br(e) {
|
|
697
697
|
const t = (r, s) => e(s).update(ut(r)).digest(), n = e({});
|
|
698
698
|
return t.outputLen = n.outputLen, t.blockLen = n.blockLen, t.create = (r) => e(r), t;
|
|
699
699
|
}
|
|
700
|
-
class
|
|
700
|
+
class vr extends pr {
|
|
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, Te(t), Te(n), Te(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,23 +707,23 @@ class mr extends br {
|
|
|
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 = Pe(this.buffer = new Uint8Array(t));
|
|
711
711
|
}
|
|
712
712
|
update(t) {
|
|
713
713
|
et(this);
|
|
714
714
|
const { blockLen: n, buffer: r, buffer32: s } = this;
|
|
715
715
|
t = ut(t);
|
|
716
|
-
const o = t.length, i = t.byteOffset,
|
|
717
|
-
for (let
|
|
716
|
+
const o = t.length, i = t.byteOffset, u = t.buffer;
|
|
717
|
+
for (let c = 0; c < o; ) {
|
|
718
718
|
this.pos === n && (this.compress(s, 0, !1), this.pos = 0);
|
|
719
|
-
const l = Math.min(n - this.pos, o -
|
|
720
|
-
if (l === n && !(h % 4) &&
|
|
721
|
-
const
|
|
722
|
-
for (let d = 0;
|
|
723
|
-
this.length += n, this.compress(
|
|
719
|
+
const l = Math.min(n - this.pos, o - c), h = i + c;
|
|
720
|
+
if (l === n && !(h % 4) && c + l < o) {
|
|
721
|
+
const f = new Uint32Array(u, h, Math.floor((o - c) / 4));
|
|
722
|
+
for (let d = 0; c + n < o; d += s.length, c += n)
|
|
723
|
+
this.length += n, this.compress(f, d, !1);
|
|
724
724
|
continue;
|
|
725
725
|
}
|
|
726
|
-
r.set(t.subarray(
|
|
726
|
+
r.set(t.subarray(c, c + l), this.pos), this.pos += l, this.length += l, c += l;
|
|
727
727
|
}
|
|
728
728
|
return this;
|
|
729
729
|
}
|
|
@@ -731,7 +731,7 @@ class mr extends br {
|
|
|
731
731
|
et(this), ln(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 = Pe(t);
|
|
735
735
|
this.get().forEach((o, i) => s[i] = o);
|
|
736
736
|
}
|
|
737
737
|
digest() {
|
|
@@ -741,22 +741,22 @@ class mr extends br {
|
|
|
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: u } = 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 = u, t;
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
748
|
const Q = /* @__PURE__ */ new Uint32Array([1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225]);
|
|
749
|
-
function
|
|
750
|
-
return e = e + t + s | 0, r =
|
|
749
|
+
function te(e, t, n, r, s) {
|
|
750
|
+
return e = e + t + s | 0, r = De(r ^ e, 16), n = n + r | 0, t = De(t ^ n, 12), { a: e, b: t, c: n, d: r };
|
|
751
751
|
}
|
|
752
|
-
function
|
|
753
|
-
return e = e + t + s | 0, r =
|
|
752
|
+
function ne(e, t, n, r, s) {
|
|
753
|
+
return e = e + t + s | 0, r = De(r ^ e, 8), n = n + r | 0, t = De(t ^ n, 7), { a: e, b: t, c: n, d: r };
|
|
754
754
|
}
|
|
755
|
-
function Tt(e, t, n, r, s, o, i,
|
|
756
|
-
let
|
|
757
|
-
for (let
|
|
758
|
-
({ a: s, b:
|
|
759
|
-
return { v0: s, v1: o, v2: i, v3:
|
|
755
|
+
function Tt(e, t, n, r, s, o, i, u, c, l, h, f, d, k, S, B, I, _, T, y) {
|
|
756
|
+
let v = 0;
|
|
757
|
+
for (let E = 0; E < r; E++)
|
|
758
|
+
({ a: s, b: c, c: d, d: I } = te(s, c, d, I, n[t + e[v++]])), { a: s, b: c, c: d, d: I } = ne(s, c, d, I, n[t + e[v++]]), { a: o, b: l, c: k, d: _ } = te(o, l, k, _, n[t + e[v++]]), { a: o, b: l, c: k, d: _ } = ne(o, l, k, _, n[t + e[v++]]), { a: i, b: h, c: S, d: T } = te(i, h, S, T, n[t + e[v++]]), { a: i, b: h, c: S, d: T } = ne(i, h, S, T, n[t + e[v++]]), { a: u, b: f, c: B, d: y } = te(u, f, B, y, n[t + e[v++]]), { a: u, b: f, c: B, d: y } = ne(u, f, B, y, n[t + e[v++]]), { a: s, b: l, c: S, d: y } = te(s, l, S, y, n[t + e[v++]]), { a: s, b: l, c: S, d: y } = ne(s, l, S, y, n[t + e[v++]]), { a: o, b: h, c: B, d: I } = te(o, h, B, I, n[t + e[v++]]), { a: o, b: h, c: B, d: I } = ne(o, h, B, I, n[t + e[v++]]), { a: i, b: f, c: d, d: _ } = te(i, f, d, _, n[t + e[v++]]), { a: i, b: f, c: d, d: _ } = ne(i, f, d, _, n[t + e[v++]]), { a: u, b: c, c: k, d: T } = te(u, c, k, T, n[t + e[v++]]), { a: u, b: c, c: k, d: T } = ne(u, c, k, T, n[t + e[v++]]);
|
|
759
|
+
return { v0: s, v1: o, v2: i, v3: u, v4: c, v5: l, v6: h, v7: f, v8: d, v9: k, v10: S, v11: B, v12: I, v13: _, v14: T, v15: y };
|
|
760
760
|
}
|
|
761
761
|
const xt = /* @__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 = [];
|
|
@@ -764,25 +764,25 @@ const xt = /* @__PURE__ */ (() => {
|
|
|
764
764
|
n.push(...s);
|
|
765
765
|
return Uint8Array.from(n);
|
|
766
766
|
})();
|
|
767
|
-
class ft extends
|
|
767
|
+
class ft extends vr {
|
|
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, Te(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 = ut(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 = Pe(r), this.flags = n | 16;
|
|
776
776
|
} else if (t.context !== void 0) {
|
|
777
777
|
const r = new ft(
|
|
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 = Pe(r), this.flags = n | 64;
|
|
783
783
|
} else
|
|
784
784
|
this.IV = Q.slice(), this.flags = n;
|
|
785
|
-
this.state = this.IV.slice(), this.bufferOut =
|
|
785
|
+
this.state = this.IV.slice(), this.bufferOut = ur(this.bufferOut32);
|
|
786
786
|
}
|
|
787
787
|
// Unused
|
|
788
788
|
get() {
|
|
@@ -791,15 +791,15 @@ class ft extends mr {
|
|
|
791
791
|
set() {
|
|
792
792
|
}
|
|
793
793
|
b2Compress(t, n, r, s = 0) {
|
|
794
|
-
const { state: o, pos: i } = this, { h:
|
|
795
|
-
o[0] = l ^
|
|
794
|
+
const { state: o, pos: i } = this, { h: u, l: c } = _t(BigInt(t), !0), { v0: l, v1: h, v2: f, v3: d, v4: k, v5: S, v6: B, v7: I, v8: _, v9: T, v10: y, v11: v, v12: E, v13: a, v14: p, v15: m } = Tt(xt, s, r, 7, o[0], o[1], o[2], o[3], o[4], o[5], o[6], o[7], Q[0], Q[1], Q[2], Q[3], u, c, i, n);
|
|
795
|
+
o[0] = l ^ _, o[1] = h ^ T, o[2] = f ^ y, o[3] = d ^ v, o[4] = k ^ E, o[5] = S ^ a, o[6] = B ^ p, o[7] = I ^ m;
|
|
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, u = this.chunksDone + 1; (r || !(u & 1)) && (i = this.stack.pop()); u >>= 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 ft extends mr {
|
|
|
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 =
|
|
810
|
+
const { IV: n, flags: r, state: s, chunkPos: o, posOut: i, chunkOut: u, stack: c, chunksDone: l } = this;
|
|
811
|
+
return t.state.set(s.slice()), t.stack = c.map((h) => Uint32Array.from(h)), t.IV.set(n), t.flags = r, t.chunkPos = o, t.chunksDone = l, t.posOut = i, t.chunkOut = u, 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 ft extends mr {
|
|
|
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] =
|
|
820
|
+
const { state: t, pos: n, flags: r, buffer32: s, bufferOut32: o } = this, { h: i, l: u } = _t(BigInt(this.chunkOut++)), { v0: c, v1: l, v2: h, v3: f, v4: d, v5: k, v6: S, v7: B, v8: I, v9: _, v10: T, v11: y, v12: v, v13: E, v14: a, v15: p } = Tt(xt, 0, s, 7, t[0], t[1], t[2], t[3], t[4], t[5], t[6], t[7], Q[0], Q[1], Q[2], Q[3], u, i, n, r);
|
|
821
|
+
o[0] = c ^ I, o[1] = l ^ _, o[2] = h ^ T, o[3] = f ^ y, o[4] = d ^ v, o[5] = k ^ E, o[6] = S ^ a, o[7] = B ^ p, o[8] = t[0] ^ I, o[9] = t[1] ^ _, o[10] = t[2] ^ T, o[11] = t[3] ^ y, o[12] = t[4] ^ v, o[13] = t[5] ^ E, o[14] = t[6] ^ a, o[15] = t[7] ^ p, this.posOut = 0;
|
|
822
822
|
}
|
|
823
823
|
finish() {
|
|
824
824
|
if (this.finished)
|
|
@@ -843,7 +843,7 @@ class ft extends mr {
|
|
|
843
843
|
return this.writeInto(t);
|
|
844
844
|
}
|
|
845
845
|
xof(t) {
|
|
846
|
-
return
|
|
846
|
+
return Te(t), this.xofInto(new Uint8Array(t));
|
|
847
847
|
}
|
|
848
848
|
digestInto(t) {
|
|
849
849
|
if (ln(t, this), this.finished)
|
|
@@ -854,10 +854,10 @@ class ft extends mr {
|
|
|
854
854
|
return this.digestInto(new Uint8Array(this.outputLen));
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
|
-
const
|
|
857
|
+
const mr = /* @__PURE__ */ br((e) => new ft(e)), un = (e) => {
|
|
858
858
|
const t = `${e.id}|${e.title}|${e.iframe ? "Y" : "N"}|${e.closable ? "Y" : "N"}|${e.refreshable ? "Y" : "N"}`;
|
|
859
859
|
return on.compressToEncodedURIComponent(t);
|
|
860
|
-
},
|
|
860
|
+
}, gr = (e) => {
|
|
861
861
|
const n = on.decompressFromEncodedURIComponent(e).split("|");
|
|
862
862
|
return {
|
|
863
863
|
id: n[0],
|
|
@@ -874,10 +874,10 @@ const gr = /* @__PURE__ */ vr((e) => new ft(e)), un = (e) => {
|
|
|
874
874
|
value: n[o]
|
|
875
875
|
});
|
|
876
876
|
r.sort((o, i) => {
|
|
877
|
-
let
|
|
878
|
-
return o.key > i.key ?
|
|
877
|
+
let u = 0;
|
|
878
|
+
return o.key > i.key ? u = 1 : o.key < i.key && (u = -1), u;
|
|
879
879
|
});
|
|
880
|
-
const s =
|
|
880
|
+
const s = mr(`${e}|${t}|${JSON.stringify(r)}`);
|
|
881
881
|
return Qe.encode(s);
|
|
882
882
|
};
|
|
883
883
|
function Xe(e) {
|
|
@@ -903,13 +903,13 @@ function tt(e, t, n = ".", r) {
|
|
|
903
903
|
}
|
|
904
904
|
return s;
|
|
905
905
|
}
|
|
906
|
-
function
|
|
906
|
+
function yr(e) {
|
|
907
907
|
return (...t) => (
|
|
908
908
|
// eslint-disable-next-line unicorn/no-array-reduce
|
|
909
909
|
t.reduce((n, r) => tt(n, r, "", e), {})
|
|
910
910
|
);
|
|
911
911
|
}
|
|
912
|
-
const ee =
|
|
912
|
+
const ee = yr(), dt = (e) => {
|
|
913
913
|
const t = e.split("?");
|
|
914
914
|
if (t.length <= 1)
|
|
915
915
|
return {
|
|
@@ -928,7 +928,7 @@ const ee = kr(), dt = (e) => {
|
|
|
928
928
|
};
|
|
929
929
|
}
|
|
930
930
|
};
|
|
931
|
-
function
|
|
931
|
+
function kr(e) {
|
|
932
932
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
|
|
933
933
|
var r = e.get(t);
|
|
934
934
|
r ? r.push(n) : e.set(t, [n]);
|
|
@@ -944,116 +944,116 @@ function wr(e) {
|
|
|
944
944
|
});
|
|
945
945
|
} };
|
|
946
946
|
}
|
|
947
|
-
const
|
|
947
|
+
const wr = kr(), _r = {
|
|
948
948
|
install(e) {
|
|
949
|
-
e.provide("tabEmitter",
|
|
949
|
+
e.provide("tabEmitter", wr);
|
|
950
950
|
}
|
|
951
|
-
},
|
|
951
|
+
}, Ee = () => st("tabEmitter");
|
|
952
952
|
var V = /* @__PURE__ */ ((e) => (e.PAGE_LOADING = "PAGE_LOADING", e.TAB_ACTIVE = "TAB_ACTIVE", e))(V || {});
|
|
953
|
-
const
|
|
953
|
+
const Tr = {
|
|
954
954
|
key: 0,
|
|
955
955
|
class: "stack-tab-loading-mask"
|
|
956
|
-
},
|
|
957
|
-
|
|
958
|
-
],
|
|
956
|
+
}, xr = /* @__PURE__ */ X("div", { class: "stack-tab-loading--spin turn" }, null, -1), Sr = [
|
|
957
|
+
xr
|
|
958
|
+
], Or = /* @__PURE__ */ J({
|
|
959
959
|
__name: "PageLoading",
|
|
960
960
|
props: {
|
|
961
961
|
tId: {}
|
|
962
962
|
},
|
|
963
963
|
setup(e) {
|
|
964
|
-
const t = e, n =
|
|
964
|
+
const t = e, n = Ee(), r = $(!1);
|
|
965
965
|
return n.on(V.PAGE_LOADING, ({ tId: s, value: o }) => {
|
|
966
966
|
s === t.tId && (r.value = o);
|
|
967
|
-
}), (s, o) => r.value ? (z(), P("div",
|
|
968
|
-
}
|
|
969
|
-
}), M =
|
|
970
|
-
let Et = !1,
|
|
971
|
-
const
|
|
972
|
-
const e = at(), t =
|
|
973
|
-
|
|
974
|
-
for (const
|
|
975
|
-
const
|
|
967
|
+
}), (s, o) => r.value ? (z(), P("div", Tr, Sr)) : Y("", !0);
|
|
968
|
+
}
|
|
969
|
+
}), M = $([]), Ce = [], R = $([]), re = /* @__PURE__ */ new Map(), ge = /* @__PURE__ */ new Set(), Me = $(!0), Ot = "stacktab-active-tab", le = /* @__PURE__ */ new Map();
|
|
970
|
+
let Et = !1, Le = 0, At = !1;
|
|
971
|
+
const Ae = () => {
|
|
972
|
+
const e = at(), t = Ee(), n = () => M.value.length, r = (w) => {
|
|
973
|
+
Ce.splice(0), R.value.splice(0), ge.clear(), re.clear();
|
|
974
|
+
for (const O of w) {
|
|
975
|
+
const g = ee(O, {
|
|
976
976
|
id: sn()
|
|
977
|
-
}), C = un(
|
|
977
|
+
}), C = un(g), D = dt(g.path), W = ee(g, {
|
|
978
978
|
closable: !0,
|
|
979
979
|
refreshable: !0,
|
|
980
980
|
iframe: !1
|
|
981
|
-
}), he = St(
|
|
981
|
+
}), he = St(g.id, D.path, D.query), K = {
|
|
982
982
|
id: he,
|
|
983
|
-
tabId:
|
|
983
|
+
tabId: g.id,
|
|
984
984
|
path: D.path,
|
|
985
985
|
query: ee(D.query, {
|
|
986
986
|
__tab: C
|
|
987
987
|
})
|
|
988
|
-
},
|
|
989
|
-
|
|
988
|
+
}, Ie = new He();
|
|
989
|
+
Ie.push(K);
|
|
990
990
|
const bt = {
|
|
991
|
-
id:
|
|
991
|
+
id: g.id,
|
|
992
992
|
title: W.title,
|
|
993
993
|
closable: W.closable,
|
|
994
994
|
refreshable: W.refreshable,
|
|
995
995
|
iframe: W.iframe,
|
|
996
996
|
active: !1,
|
|
997
|
-
pages:
|
|
997
|
+
pages: Ie
|
|
998
998
|
};
|
|
999
|
-
|
|
999
|
+
Ce.push(bt), M.value.push(bt), R.value.push(he);
|
|
1000
1000
|
}
|
|
1001
1001
|
const b = window.sessionStorage.getItem(Ot);
|
|
1002
1002
|
if (b != null) {
|
|
1003
|
-
const
|
|
1004
|
-
let
|
|
1003
|
+
const O = JSON.parse(b, (C, D) => C === "pages" ? new He(D) : D);
|
|
1004
|
+
let g = !1;
|
|
1005
1005
|
for (const C of M.value)
|
|
1006
|
-
if (C.id ===
|
|
1007
|
-
|
|
1006
|
+
if (C.id === O.id) {
|
|
1007
|
+
g = !0;
|
|
1008
1008
|
break;
|
|
1009
1009
|
}
|
|
1010
|
-
|
|
1010
|
+
g || M.value.push(O);
|
|
1011
1011
|
}
|
|
1012
1012
|
Et = !0;
|
|
1013
|
-
}, s = (
|
|
1013
|
+
}, s = (w) => {
|
|
1014
1014
|
for (const b of M.value)
|
|
1015
|
-
if (b.id ===
|
|
1015
|
+
if (b.id === w)
|
|
1016
1016
|
return !0;
|
|
1017
1017
|
return !1;
|
|
1018
|
-
}, o = () =>
|
|
1019
|
-
M.value.push(
|
|
1020
|
-
}),
|
|
1018
|
+
}, o = () => Le <= 0 || Le > 0 && Le > M.value.length, i = (w) => new Promise((b) => {
|
|
1019
|
+
M.value.push(w), b(!0);
|
|
1020
|
+
}), u = (w) => {
|
|
1021
1021
|
for (const b of M.value)
|
|
1022
|
-
if (b.id ===
|
|
1022
|
+
if (b.id === w)
|
|
1023
1023
|
return b;
|
|
1024
1024
|
return null;
|
|
1025
|
-
},
|
|
1026
|
-
let
|
|
1027
|
-
const
|
|
1025
|
+
}, c = (w, b) => {
|
|
1026
|
+
let O;
|
|
1027
|
+
const g = gr(w.query.__tab), C = St(g.id, w.path, w.query.valueOf()), D = w.query.__src;
|
|
1028
1028
|
let W = null;
|
|
1029
|
-
for (const K of
|
|
1030
|
-
K.active = !1, K.id ===
|
|
1029
|
+
for (const K of x(M))
|
|
1030
|
+
K.active = !1, K.id === g.id && (W = K);
|
|
1031
1031
|
const he = {
|
|
1032
1032
|
id: C,
|
|
1033
|
-
tabId:
|
|
1034
|
-
path:
|
|
1035
|
-
query:
|
|
1033
|
+
tabId: g.id,
|
|
1034
|
+
path: w.path,
|
|
1035
|
+
query: w.query
|
|
1036
1036
|
};
|
|
1037
1037
|
if (W === null) {
|
|
1038
1038
|
const K = new He();
|
|
1039
1039
|
K.push(he), W = {
|
|
1040
|
-
id:
|
|
1041
|
-
title:
|
|
1042
|
-
closable:
|
|
1043
|
-
refreshable:
|
|
1044
|
-
iframe:
|
|
1040
|
+
id: g.id,
|
|
1041
|
+
title: g.title,
|
|
1042
|
+
closable: g.closable,
|
|
1043
|
+
refreshable: g.refreshable,
|
|
1044
|
+
iframe: g.iframe,
|
|
1045
1045
|
url: decodeURIComponent(D),
|
|
1046
1046
|
active: !0,
|
|
1047
1047
|
pages: K
|
|
1048
1048
|
}, i(W).then(() => {
|
|
1049
1049
|
t.emit(V.TAB_ACTIVE, {
|
|
1050
|
-
id:
|
|
1050
|
+
id: g.id,
|
|
1051
1051
|
isRoute: !1
|
|
1052
1052
|
});
|
|
1053
1053
|
});
|
|
1054
1054
|
} else
|
|
1055
1055
|
W.active = !0, (W.pages.isEmpty() || W.pages.peek().id !== he.id) && W.pages.push(he);
|
|
1056
|
-
return
|
|
1056
|
+
return A(W), re.has(C) ? O = re.get(C) : (O = /* @__PURE__ */ J({
|
|
1057
1057
|
name: C,
|
|
1058
1058
|
components: {
|
|
1059
1059
|
DynamicComponent: b
|
|
@@ -1061,190 +1061,190 @@ const Be = () => {
|
|
|
1061
1061
|
emits: {
|
|
1062
1062
|
onLoaded: null
|
|
1063
1063
|
},
|
|
1064
|
-
setup(K,
|
|
1065
|
-
return
|
|
1066
|
-
|
|
1064
|
+
setup(K, Ie) {
|
|
1065
|
+
return Ue(() => {
|
|
1066
|
+
Ie.emit("onLoaded"), d(C, ".cache-page-wrapper");
|
|
1067
1067
|
}), Tn(() => {
|
|
1068
1068
|
h(C);
|
|
1069
1069
|
}), xn(() => {
|
|
1070
|
-
l(C),
|
|
1071
|
-
}),
|
|
1072
|
-
|
|
1070
|
+
l(C), m(), b.props = null;
|
|
1071
|
+
}), Ve(() => {
|
|
1072
|
+
f(C);
|
|
1073
1073
|
}), () => N("div", {
|
|
1074
1074
|
class: "cache-page-wrapper",
|
|
1075
|
-
id: "W-" +
|
|
1075
|
+
id: "W-" + g.id,
|
|
1076
1076
|
style: [At ? "overflow:auto" : "overflow:hidden"]
|
|
1077
1077
|
}, [N(qt("dynamic-component"), {
|
|
1078
|
-
tId:
|
|
1078
|
+
tId: g.id,
|
|
1079
1079
|
pId: C
|
|
1080
|
-
}, null), N(
|
|
1081
|
-
tId:
|
|
1080
|
+
}, null), N(Or, {
|
|
1081
|
+
tId: g.id
|
|
1082
1082
|
}, null)]);
|
|
1083
1083
|
}
|
|
1084
|
-
}),
|
|
1085
|
-
}, l = (
|
|
1086
|
-
const b = le.get(
|
|
1084
|
+
}), re.set(C, O)), F(C), O;
|
|
1085
|
+
}, l = (w) => {
|
|
1086
|
+
const b = le.get(w);
|
|
1087
1087
|
if (b) {
|
|
1088
|
-
for (const
|
|
1089
|
-
if (document.querySelector(
|
|
1090
|
-
const
|
|
1091
|
-
document.querySelector(
|
|
1088
|
+
for (const O of b.keys())
|
|
1089
|
+
if (document.querySelector(O)) {
|
|
1090
|
+
const g = b.get(O);
|
|
1091
|
+
document.querySelector(O).scrollTop = g.top, document.querySelector(O).scrollLeft = g.left;
|
|
1092
1092
|
}
|
|
1093
1093
|
}
|
|
1094
|
-
}, h = (
|
|
1095
|
-
var
|
|
1096
|
-
const b = le.get(
|
|
1094
|
+
}, h = (w) => {
|
|
1095
|
+
var O, g;
|
|
1096
|
+
const b = le.get(w);
|
|
1097
1097
|
if (b)
|
|
1098
1098
|
for (const C of b.keys()) {
|
|
1099
1099
|
const D = {
|
|
1100
|
-
top: ((
|
|
1101
|
-
left: ((
|
|
1100
|
+
top: ((O = document.querySelector(C)) == null ? void 0 : O.scrollTop) ?? 0,
|
|
1101
|
+
left: ((g = document.querySelector(C)) == null ? void 0 : g.scrollLeft) ?? 0
|
|
1102
1102
|
};
|
|
1103
1103
|
b.set(C, D);
|
|
1104
1104
|
}
|
|
1105
|
-
},
|
|
1106
|
-
const b = le.get(
|
|
1107
|
-
b && (b.clear(), le.delete(
|
|
1108
|
-
}, d = (
|
|
1109
|
-
le.has(
|
|
1110
|
-
const
|
|
1111
|
-
for (const
|
|
1112
|
-
|
|
1105
|
+
}, f = (w) => {
|
|
1106
|
+
const b = le.get(w);
|
|
1107
|
+
b && (b.clear(), le.delete(w));
|
|
1108
|
+
}, d = (w, ...b) => {
|
|
1109
|
+
le.has(w) || le.set(w, /* @__PURE__ */ new Map());
|
|
1110
|
+
const O = le.get(w);
|
|
1111
|
+
for (const g of b)
|
|
1112
|
+
O.set(g, {
|
|
1113
1113
|
top: 0,
|
|
1114
1114
|
left: 0
|
|
1115
1115
|
});
|
|
1116
|
-
},
|
|
1116
|
+
}, k = (w) => {
|
|
1117
1117
|
let b = "";
|
|
1118
|
-
for (let
|
|
1119
|
-
if (
|
|
1120
|
-
if (!
|
|
1121
|
-
return
|
|
1122
|
-
for (const
|
|
1123
|
-
|
|
1124
|
-
|
|
1118
|
+
for (let O = M.value.length - 1; O >= 0; O--)
|
|
1119
|
+
if (w === x(M)[O].id) {
|
|
1120
|
+
if (!x(M)[O].closable)
|
|
1121
|
+
return w;
|
|
1122
|
+
for (const g of x(M)[O].pages.list())
|
|
1123
|
+
a(g.id), p(g.id);
|
|
1124
|
+
x(M)[O].pages.clear(), M.value.length > 1 && x(M)[O].active && (O === 0 ? b = x(M)[O + 1].id : b = x(M)[O - 1].id), x(M).splice(O, 1);
|
|
1125
1125
|
break;
|
|
1126
1126
|
}
|
|
1127
1127
|
return b !== "" && t.emit(V.TAB_ACTIVE, {
|
|
1128
1128
|
id: b
|
|
1129
|
-
}),
|
|
1130
|
-
},
|
|
1131
|
-
const
|
|
1132
|
-
for (let b =
|
|
1133
|
-
if (
|
|
1134
|
-
for (const
|
|
1135
|
-
|
|
1136
|
-
|
|
1129
|
+
}), m(), b;
|
|
1130
|
+
}, S = () => {
|
|
1131
|
+
const w = x(M);
|
|
1132
|
+
for (let b = w.length - 1; b >= 0; b--)
|
|
1133
|
+
if (w[b].closable) {
|
|
1134
|
+
for (const O of w[b].pages.list())
|
|
1135
|
+
a(O.id), p(O.id);
|
|
1136
|
+
x(M)[b].pages.clear(), x(M).splice(b, 1);
|
|
1137
1137
|
}
|
|
1138
|
-
for (const b of
|
|
1138
|
+
for (const b of w)
|
|
1139
1139
|
if (b.active) {
|
|
1140
|
-
|
|
1140
|
+
m();
|
|
1141
1141
|
return;
|
|
1142
1142
|
}
|
|
1143
1143
|
t.emit(V.TAB_ACTIVE, {
|
|
1144
|
-
id:
|
|
1144
|
+
id: w[w.length - 1].id
|
|
1145
1145
|
});
|
|
1146
|
-
}, B = (
|
|
1147
|
-
const b =
|
|
1148
|
-
let
|
|
1149
|
-
for (let
|
|
1150
|
-
if (b[
|
|
1151
|
-
|
|
1152
|
-
else if (b[
|
|
1153
|
-
for (const C of b[
|
|
1154
|
-
|
|
1155
|
-
|
|
1146
|
+
}, B = (w) => {
|
|
1147
|
+
const b = x(M);
|
|
1148
|
+
let O;
|
|
1149
|
+
for (let g = b.length - 1; g >= 0; g--)
|
|
1150
|
+
if (b[g].id === w)
|
|
1151
|
+
O = b[g];
|
|
1152
|
+
else if (b[g].closable && b[g].id !== w) {
|
|
1153
|
+
for (const C of b[g].pages.list())
|
|
1154
|
+
a(C.id), p(C.id);
|
|
1155
|
+
x(M)[g].pages.clear(), x(M).splice(g, 1);
|
|
1156
1156
|
}
|
|
1157
|
-
|
|
1158
|
-
id:
|
|
1157
|
+
O.active ? m() : t.emit(V.TAB_ACTIVE, {
|
|
1158
|
+
id: w
|
|
1159
1159
|
});
|
|
1160
|
-
},
|
|
1160
|
+
}, I = (w) => {
|
|
1161
1161
|
let b = -1;
|
|
1162
|
-
const
|
|
1163
|
-
for (let
|
|
1164
|
-
if (
|
|
1165
|
-
b =
|
|
1162
|
+
const O = x(M);
|
|
1163
|
+
for (let g = 0; g < O.length; g++)
|
|
1164
|
+
if (O[g].id === w) {
|
|
1165
|
+
b = g - 1;
|
|
1166
1166
|
break;
|
|
1167
1167
|
}
|
|
1168
|
-
for (let
|
|
1169
|
-
if (
|
|
1170
|
-
for (const C of
|
|
1171
|
-
|
|
1172
|
-
|
|
1168
|
+
for (let g = b; g >= 0; g--)
|
|
1169
|
+
if (O[g].closable) {
|
|
1170
|
+
for (const C of O[g].pages.list())
|
|
1171
|
+
a(C.id), p(C.id);
|
|
1172
|
+
x(M)[g].pages.clear(), x(M).splice(g, 1);
|
|
1173
1173
|
}
|
|
1174
|
-
for (const
|
|
1175
|
-
if (
|
|
1176
|
-
|
|
1174
|
+
for (const g of O)
|
|
1175
|
+
if (g.active) {
|
|
1176
|
+
m();
|
|
1177
1177
|
return;
|
|
1178
1178
|
}
|
|
1179
1179
|
t.emit(V.TAB_ACTIVE, {
|
|
1180
|
-
id:
|
|
1180
|
+
id: O[0].id
|
|
1181
1181
|
});
|
|
1182
|
-
},
|
|
1183
|
-
const b =
|
|
1184
|
-
let
|
|
1185
|
-
for (let
|
|
1186
|
-
if (b[
|
|
1187
|
-
|
|
1182
|
+
}, _ = (w) => {
|
|
1183
|
+
const b = x(M);
|
|
1184
|
+
let O = b.length;
|
|
1185
|
+
for (let g = 0; g < b.length; g++)
|
|
1186
|
+
if (b[g].id === w) {
|
|
1187
|
+
O = g + 1;
|
|
1188
1188
|
break;
|
|
1189
1189
|
}
|
|
1190
|
-
for (let
|
|
1191
|
-
if (b[
|
|
1192
|
-
for (const C of b[
|
|
1193
|
-
|
|
1194
|
-
|
|
1190
|
+
for (let g = b.length - 1; g >= O; g--)
|
|
1191
|
+
if (b[g].closable) {
|
|
1192
|
+
for (const C of b[g].pages.list())
|
|
1193
|
+
a(C.id), p(C.id);
|
|
1194
|
+
x(M)[g].pages.clear(), x(M).splice(g, 1);
|
|
1195
1195
|
}
|
|
1196
|
-
for (const
|
|
1197
|
-
if (
|
|
1198
|
-
|
|
1196
|
+
for (const g of b)
|
|
1197
|
+
if (g.active) {
|
|
1198
|
+
m();
|
|
1199
1199
|
return;
|
|
1200
1200
|
}
|
|
1201
1201
|
t.emit(V.TAB_ACTIVE, {
|
|
1202
1202
|
id: b[b.length - 1].id
|
|
1203
1203
|
});
|
|
1204
|
-
},
|
|
1204
|
+
}, T = (w) => {
|
|
1205
1205
|
var b;
|
|
1206
|
-
for (const
|
|
1207
|
-
if (
|
|
1208
|
-
const
|
|
1209
|
-
for (let C =
|
|
1210
|
-
if (
|
|
1211
|
-
|
|
1206
|
+
for (const O of x(M))
|
|
1207
|
+
if (O.id === w) {
|
|
1208
|
+
const g = (b = O.pages.peek()) == null ? void 0 : b.id;
|
|
1209
|
+
for (let C = R.value.length - 1; C >= 0; C--)
|
|
1210
|
+
if (R.value[C] === g) {
|
|
1211
|
+
R.value.splice(C, 1), O.active && (Me.value = !1);
|
|
1212
1212
|
break;
|
|
1213
1213
|
}
|
|
1214
1214
|
break;
|
|
1215
1215
|
}
|
|
1216
|
-
},
|
|
1217
|
-
const
|
|
1216
|
+
}, y = () => {
|
|
1217
|
+
const w = /* @__PURE__ */ new Set();
|
|
1218
1218
|
M.value.forEach((b) => {
|
|
1219
|
-
|
|
1219
|
+
w.add(b.pages.peek().id);
|
|
1220
1220
|
});
|
|
1221
|
-
for (let b =
|
|
1222
|
-
const
|
|
1223
|
-
|
|
1221
|
+
for (let b = R.value.length - 1; b >= 0; b--) {
|
|
1222
|
+
const O = R.value[b];
|
|
1223
|
+
w.has(O) && R.value.splice(b, 1);
|
|
1224
1224
|
}
|
|
1225
|
-
|
|
1226
|
-
},
|
|
1227
|
-
|
|
1228
|
-
},
|
|
1229
|
-
|
|
1230
|
-
}, p = (
|
|
1231
|
-
ge.add(
|
|
1232
|
-
},
|
|
1233
|
-
for (let
|
|
1234
|
-
ge.has(
|
|
1225
|
+
Me.value = !1;
|
|
1226
|
+
}, v = (w, b) => {
|
|
1227
|
+
re.set(w, b);
|
|
1228
|
+
}, E = (w) => re.get(w), a = (w) => {
|
|
1229
|
+
re.delete(w);
|
|
1230
|
+
}, p = (w) => {
|
|
1231
|
+
ge.add(w);
|
|
1232
|
+
}, m = () => {
|
|
1233
|
+
for (let w = R.value.length - 1; w >= 0; w--)
|
|
1234
|
+
ge.has(R.value[w]) && x(R).splice(w, 1);
|
|
1235
1235
|
ge.clear();
|
|
1236
|
-
}, j = (
|
|
1237
|
-
for (let b =
|
|
1238
|
-
|
|
1239
|
-
}, F = (
|
|
1240
|
-
new Set(
|
|
1241
|
-
}, q = (
|
|
1242
|
-
for (let
|
|
1243
|
-
const C = M.value[
|
|
1244
|
-
if (C.id ===
|
|
1236
|
+
}, j = (w) => {
|
|
1237
|
+
for (let b = R.value.length - 1; b >= 0; b--)
|
|
1238
|
+
w === R.value[b] && x(R).splice(b, 1);
|
|
1239
|
+
}, F = (w) => {
|
|
1240
|
+
new Set(R.value).has(w) || R.value.push(w);
|
|
1241
|
+
}, q = (w, b = !0) => new Promise((O) => {
|
|
1242
|
+
for (let g = M.value.length - 1; g >= 0; g--) {
|
|
1243
|
+
const C = M.value[g];
|
|
1244
|
+
if (C.id === w) {
|
|
1245
1245
|
if (C.active)
|
|
1246
1246
|
break;
|
|
1247
|
-
if (C.active = !0,
|
|
1247
|
+
if (C.active = !0, Me.value = !1, A(C), b) {
|
|
1248
1248
|
const D = C.pages.peek();
|
|
1249
1249
|
e.push({
|
|
1250
1250
|
path: D.path,
|
|
@@ -1252,25 +1252,25 @@ const Be = () => {
|
|
|
1252
1252
|
});
|
|
1253
1253
|
}
|
|
1254
1254
|
} else
|
|
1255
|
-
M.value[
|
|
1255
|
+
M.value[g].active = !1;
|
|
1256
1256
|
}
|
|
1257
|
-
|
|
1258
|
-
}),
|
|
1259
|
-
window.sessionStorage.setItem(Ot, JSON.stringify(
|
|
1257
|
+
O(!0);
|
|
1258
|
+
}), A = (w) => {
|
|
1259
|
+
window.sessionStorage.setItem(Ot, JSON.stringify(w));
|
|
1260
1260
|
}, L = () => {
|
|
1261
|
-
U(),
|
|
1262
|
-
id:
|
|
1261
|
+
U(), x(M).push(...Ce), t.emit(V.TAB_ACTIVE, {
|
|
1262
|
+
id: Ce[0].id
|
|
1263
1263
|
});
|
|
1264
1264
|
}, U = () => {
|
|
1265
|
-
|
|
1265
|
+
x(M).splice(0), re.clear(), ge.clear(), x(R).splice(0);
|
|
1266
1266
|
};
|
|
1267
1267
|
return {
|
|
1268
1268
|
tabs: M,
|
|
1269
|
-
caches:
|
|
1270
|
-
pageShown:
|
|
1269
|
+
caches: R,
|
|
1270
|
+
pageShown: Me,
|
|
1271
1271
|
initialed: Et,
|
|
1272
|
-
setMaxSize: (
|
|
1273
|
-
|
|
1272
|
+
setMaxSize: (w) => {
|
|
1273
|
+
Le = w;
|
|
1274
1274
|
},
|
|
1275
1275
|
canAddTab: o,
|
|
1276
1276
|
initial: r,
|
|
@@ -1280,49 +1280,49 @@ const Be = () => {
|
|
|
1280
1280
|
reset: L,
|
|
1281
1281
|
addCache: F,
|
|
1282
1282
|
removeCache: j,
|
|
1283
|
-
getTab:
|
|
1283
|
+
getTab: u,
|
|
1284
1284
|
addTab: i,
|
|
1285
|
-
removeTab:
|
|
1286
|
-
removeAllTabs:
|
|
1287
|
-
removeLeftTabs:
|
|
1288
|
-
removeRightTabs:
|
|
1285
|
+
removeTab: k,
|
|
1286
|
+
removeAllTabs: S,
|
|
1287
|
+
removeLeftTabs: I,
|
|
1288
|
+
removeRightTabs: _,
|
|
1289
1289
|
removeOtherTabs: B,
|
|
1290
1290
|
hasTab: s,
|
|
1291
|
-
addPage:
|
|
1292
|
-
addComponent:
|
|
1293
|
-
getComponent:
|
|
1294
|
-
removeComponent:
|
|
1291
|
+
addPage: c,
|
|
1292
|
+
addComponent: v,
|
|
1293
|
+
getComponent: E,
|
|
1294
|
+
removeComponent: a,
|
|
1295
1295
|
markDeletableCache: p,
|
|
1296
|
-
removeDeletableCache:
|
|
1297
|
-
refreshTab:
|
|
1298
|
-
refreshAllTabs:
|
|
1296
|
+
removeDeletableCache: m,
|
|
1297
|
+
refreshTab: T,
|
|
1298
|
+
refreshAllTabs: y,
|
|
1299
1299
|
addPageScroller: d,
|
|
1300
|
-
setGlobalScroll: (
|
|
1301
|
-
At =
|
|
1300
|
+
setGlobalScroll: (w) => {
|
|
1301
|
+
At = w;
|
|
1302
1302
|
}
|
|
1303
1303
|
};
|
|
1304
|
-
},
|
|
1304
|
+
}, Er = { class: "stack-tab__contextmenu-item" }, se = /* @__PURE__ */ J({
|
|
1305
1305
|
__name: "ContextMenuItem",
|
|
1306
1306
|
props: {
|
|
1307
1307
|
icon: {},
|
|
1308
1308
|
title: {}
|
|
1309
1309
|
},
|
|
1310
1310
|
setup(e) {
|
|
1311
|
-
return (t, n) => (z(), P("div",
|
|
1312
|
-
|
|
1311
|
+
return (t, n) => (z(), P("div", Er, [
|
|
1312
|
+
X("div", {
|
|
1313
1313
|
class: ie(["stack-tab__contextmenu-icon", t.icon])
|
|
1314
1314
|
}, null, 2),
|
|
1315
|
-
|
|
1315
|
+
X("div", {
|
|
1316
1316
|
style: { "margin-left": "8px" },
|
|
1317
1317
|
onContextmenu: n[0] || (n[0] = ve(() => {
|
|
1318
1318
|
}, ["prevent"]))
|
|
1319
1319
|
}, Gt(t.title), 33)
|
|
1320
1320
|
]));
|
|
1321
1321
|
}
|
|
1322
|
-
}),
|
|
1322
|
+
}), Ar = {
|
|
1323
1323
|
key: 0,
|
|
1324
1324
|
class: "divider div-transparent"
|
|
1325
|
-
},
|
|
1325
|
+
}, Ir = /* @__PURE__ */ J({
|
|
1326
1326
|
__name: "index",
|
|
1327
1327
|
props: {
|
|
1328
1328
|
index: {},
|
|
@@ -1333,101 +1333,101 @@ const Be = () => {
|
|
|
1333
1333
|
max: {}
|
|
1334
1334
|
},
|
|
1335
1335
|
setup(e) {
|
|
1336
|
-
const t = e, { t: n } = qe(), r =
|
|
1336
|
+
const t = e, { t: n } = qe(), r = $(), s = Se({
|
|
1337
1337
|
left: t.left,
|
|
1338
1338
|
top: t.top
|
|
1339
1339
|
}), {
|
|
1340
1340
|
removeTab: o,
|
|
1341
1341
|
removeAllTabs: i,
|
|
1342
|
-
removeLeftTabs:
|
|
1343
|
-
removeRightTabs:
|
|
1342
|
+
removeLeftTabs: u,
|
|
1343
|
+
removeRightTabs: c,
|
|
1344
1344
|
refreshTab: l,
|
|
1345
1345
|
refreshAllTabs: h,
|
|
1346
|
-
removeOtherTabs:
|
|
1347
|
-
} =
|
|
1348
|
-
return
|
|
1349
|
-
const d = r.value ? r.value.clientWidth : 0,
|
|
1350
|
-
s.left + d >
|
|
1351
|
-
}), (d,
|
|
1346
|
+
removeOtherTabs: f
|
|
1347
|
+
} = Ae();
|
|
1348
|
+
return Ue(() => {
|
|
1349
|
+
const d = r.value ? r.value.clientWidth : 0, k = window.innerWidth;
|
|
1350
|
+
s.left + d > k && (s.left = k - d - 5);
|
|
1351
|
+
}), (d, k) => (z(), P("div", {
|
|
1352
1352
|
ref_key: "contextmenu",
|
|
1353
1353
|
ref: r,
|
|
1354
1354
|
class: "stack-tab__contextmenu",
|
|
1355
1355
|
style: ot({
|
|
1356
1356
|
left: `${s.left}px`,
|
|
1357
1357
|
top: `${s.top}px`,
|
|
1358
|
-
"z-index":
|
|
1358
|
+
"z-index": x(nn)(".stack-tab,.stack-tab *")
|
|
1359
1359
|
})
|
|
1360
1360
|
}, [
|
|
1361
|
-
N(
|
|
1361
|
+
N(se, {
|
|
1362
1362
|
icon: "stack-tab__icon-reload svg-mask",
|
|
1363
|
-
title:
|
|
1364
|
-
onClick:
|
|
1363
|
+
title: x(n)("VueStackTab.reload"),
|
|
1364
|
+
onClick: k[0] || (k[0] = (S) => x(l)(d.tabItem.id))
|
|
1365
1365
|
}, null, 8, ["title"]),
|
|
1366
|
-
N(
|
|
1366
|
+
N(se, {
|
|
1367
1367
|
icon: "stack-tab__icon-reload-all svg-mask",
|
|
1368
|
-
title:
|
|
1369
|
-
onClick:
|
|
1368
|
+
title: x(n)("VueStackTab.reloadAll"),
|
|
1369
|
+
onClick: x(h)
|
|
1370
1370
|
}, null, 8, ["title", "onClick"]),
|
|
1371
|
-
N(
|
|
1371
|
+
N(se, {
|
|
1372
1372
|
icon: "stack-tab__icon-close svg-mask",
|
|
1373
|
-
title:
|
|
1373
|
+
title: x(n)("VueStackTab.close"),
|
|
1374
1374
|
disabled: d.tabItem.closable ? null : "disabled",
|
|
1375
|
-
onClick:
|
|
1375
|
+
onClick: k[1] || (k[1] = (S) => x(o)(d.tabItem.id))
|
|
1376
1376
|
}, null, 8, ["title", "disabled"]),
|
|
1377
|
-
N(
|
|
1377
|
+
N(se, {
|
|
1378
1378
|
icon: "stack-tab__icon-close-lefts svg-mask",
|
|
1379
|
-
title:
|
|
1379
|
+
title: x(n)("VueStackTab.closeLeft"),
|
|
1380
1380
|
disabled: d.index <= 0 ? "disabled" : null,
|
|
1381
|
-
onClick:
|
|
1381
|
+
onClick: k[2] || (k[2] = (S) => x(u)(d.tabItem.id))
|
|
1382
1382
|
}, null, 8, ["title", "disabled"]),
|
|
1383
|
-
N(
|
|
1383
|
+
N(se, {
|
|
1384
1384
|
icon: "stack-tab__icon-close-rights svg-mask",
|
|
1385
|
-
title:
|
|
1385
|
+
title: x(n)("VueStackTab.closeRight"),
|
|
1386
1386
|
disabled: d.index >= d.max - 1 ? "disabled" : null,
|
|
1387
|
-
onClick:
|
|
1387
|
+
onClick: k[3] || (k[3] = (S) => x(c)(d.tabItem.id))
|
|
1388
1388
|
}, null, 8, ["title", "disabled"]),
|
|
1389
|
-
N(
|
|
1389
|
+
N(se, {
|
|
1390
1390
|
icon: "stack-tab__icon-close-others svg-mask",
|
|
1391
|
-
title:
|
|
1392
|
-
onClick:
|
|
1391
|
+
title: x(n)("VueStackTab.closeOthers"),
|
|
1392
|
+
onClick: k[4] || (k[4] = (S) => x(f)(d.tabItem.id))
|
|
1393
1393
|
}, null, 8, ["title"]),
|
|
1394
|
-
N(
|
|
1394
|
+
N(se, {
|
|
1395
1395
|
icon: "stack-tab__icon-close-all svg-mask",
|
|
1396
|
-
title:
|
|
1397
|
-
onClick:
|
|
1396
|
+
title: x(n)("VueStackTab.closeAll"),
|
|
1397
|
+
onClick: x(i)
|
|
1398
1398
|
}, null, 8, ["title", "onClick"]),
|
|
1399
|
-
d.contextMenu !== void 0 && d.contextMenu.length > 0 ? (z(), P("div",
|
|
1400
|
-
(z(!0), P(Fe, null, it(d.contextMenu, (
|
|
1399
|
+
d.contextMenu !== void 0 && d.contextMenu.length > 0 ? (z(), P("div", Ar)) : Y("", !0),
|
|
1400
|
+
(z(!0), P(Fe, null, it(d.contextMenu, (S, B) => (z(), ae(se, {
|
|
1401
1401
|
key: B,
|
|
1402
|
-
icon:
|
|
1403
|
-
title:
|
|
1404
|
-
disabled:
|
|
1405
|
-
onClick: (
|
|
1402
|
+
icon: S.icon,
|
|
1403
|
+
title: S.title,
|
|
1404
|
+
disabled: S.disabled(d.tabItem) ? "disabled" : null,
|
|
1405
|
+
onClick: (I) => !S.disabled && S.callback(d.tabItem.id)
|
|
1406
1406
|
}, null, 8, ["icon", "title", "disabled", "onClick"]))), 128))
|
|
1407
1407
|
], 4));
|
|
1408
1408
|
}
|
|
1409
|
-
}),
|
|
1409
|
+
}), Br = (e, t) => {
|
|
1410
1410
|
const n = e.__vccOpts || e;
|
|
1411
1411
|
for (const [r, s] of t)
|
|
1412
1412
|
n[r] = s;
|
|
1413
1413
|
return n;
|
|
1414
|
-
},
|
|
1415
|
-
const e =
|
|
1414
|
+
}, Cr = /* @__PURE__ */ Br(Ir, [["__scopeId", "data-v-d598be6e"]]), Mr = () => {
|
|
1415
|
+
const e = Se({
|
|
1416
1416
|
item: {},
|
|
1417
1417
|
index: -1,
|
|
1418
1418
|
left: 0,
|
|
1419
1419
|
top: 0,
|
|
1420
1420
|
max: 0
|
|
1421
|
-
}), t =
|
|
1422
|
-
|
|
1421
|
+
}), t = $(!1);
|
|
1422
|
+
Ue(() => {
|
|
1423
1423
|
document.addEventListener("click", r);
|
|
1424
|
-
}),
|
|
1424
|
+
}), Ve(() => {
|
|
1425
1425
|
document.removeEventListener("click", r);
|
|
1426
1426
|
});
|
|
1427
|
-
const n = async (s, o, i,
|
|
1427
|
+
const n = async (s, o, i, u) => {
|
|
1428
1428
|
t.value = !1, await Ht(() => {
|
|
1429
|
-
const { clientY:
|
|
1430
|
-
t.value = !0, Object.assign(e, { item: o, index: i, top:
|
|
1429
|
+
const { clientY: c, clientX: l } = s;
|
|
1430
|
+
t.value = !0, Object.assign(e, { item: o, index: i, top: c, left: l, max: u });
|
|
1431
1431
|
});
|
|
1432
1432
|
}, r = (s) => {
|
|
1433
1433
|
s.target.classList.contains("stack-tab__contextmenu") || (t.value = !1);
|
|
@@ -1437,66 +1437,66 @@ const Be = () => {
|
|
|
1437
1437
|
contextMenuData: e,
|
|
1438
1438
|
showContextMenu: n
|
|
1439
1439
|
};
|
|
1440
|
-
},
|
|
1440
|
+
}, Lr = { class: "stack-tab__item-title" }, zr = ["title"], $r = ["title"], Rr = /* @__PURE__ */ J({
|
|
1441
1441
|
__name: "TabHeaderItem",
|
|
1442
1442
|
props: {
|
|
1443
1443
|
item: {}
|
|
1444
1444
|
},
|
|
1445
1445
|
emits: ["close", "active"],
|
|
1446
1446
|
setup(e, { emit: t }) {
|
|
1447
|
-
const n = t, r =
|
|
1448
|
-
r.on(V.TAB_ACTIVE, ({ id: h, isRoute:
|
|
1449
|
-
i.item.id === h && l(
|
|
1447
|
+
const n = t, r = Ee(), { t: s } = qe(), o = $(), i = e;
|
|
1448
|
+
r.on(V.TAB_ACTIVE, ({ id: h, isRoute: f }) => {
|
|
1449
|
+
i.item.id === h && l(f);
|
|
1450
1450
|
});
|
|
1451
|
-
const
|
|
1451
|
+
const u = pe(() => i.item.title || s("undefined")), c = () => {
|
|
1452
1452
|
n("close", i.item);
|
|
1453
1453
|
}, l = (h = !0) => {
|
|
1454
1454
|
n("active", i.item, o, h);
|
|
1455
1455
|
};
|
|
1456
|
-
return (h,
|
|
1456
|
+
return (h, f) => (z(), P("li", {
|
|
1457
1457
|
ref_key: "curtab",
|
|
1458
1458
|
ref: o,
|
|
1459
1459
|
class: ie(["stack-tab__item", {
|
|
1460
1460
|
"is-active": h.item.active,
|
|
1461
1461
|
"is-icon": h.item.closable
|
|
1462
1462
|
}]),
|
|
1463
|
-
onClick:
|
|
1463
|
+
onClick: f[0] || (f[0] = (d) => l(!0))
|
|
1464
1464
|
}, [
|
|
1465
|
-
|
|
1466
|
-
|
|
1465
|
+
X("div", Lr, [
|
|
1466
|
+
X("div", {
|
|
1467
1467
|
class: "stack-tab__item-title-content",
|
|
1468
|
-
title:
|
|
1469
|
-
}, Gt(
|
|
1468
|
+
title: u.value
|
|
1469
|
+
}, Gt(u.value), 9, zr)
|
|
1470
1470
|
]),
|
|
1471
1471
|
h.item.closable ? (z(), P("div", {
|
|
1472
1472
|
key: 0,
|
|
1473
1473
|
class: "stack-tab__icon-close-fill stack-tab__item-button",
|
|
1474
|
-
title:
|
|
1475
|
-
onClick: ve(
|
|
1476
|
-
}, null, 8,
|
|
1474
|
+
title: x(s)("VueStackTab.close"),
|
|
1475
|
+
onClick: ve(c, ["stop"])
|
|
1476
|
+
}, null, 8, $r)) : Y("", !0)
|
|
1477
1477
|
], 2));
|
|
1478
1478
|
}
|
|
1479
1479
|
});
|
|
1480
|
-
var fe = [],
|
|
1480
|
+
var fe = [], Nr = function() {
|
|
1481
1481
|
return fe.some(function(e) {
|
|
1482
1482
|
return e.activeTargets.length > 0;
|
|
1483
1483
|
});
|
|
1484
|
-
},
|
|
1484
|
+
}, Pr = function() {
|
|
1485
1485
|
return fe.some(function(e) {
|
|
1486
1486
|
return e.skippedTargets.length > 0;
|
|
1487
1487
|
});
|
|
1488
|
-
}, It = "ResizeObserver loop completed with undelivered notifications.",
|
|
1488
|
+
}, It = "ResizeObserver loop completed with undelivered notifications.", Dr = function() {
|
|
1489
1489
|
var e;
|
|
1490
1490
|
typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
|
|
1491
1491
|
message: It
|
|
1492
1492
|
}) : (e = document.createEvent("Event"), e.initEvent("error", !1, !1), e.message = It), window.dispatchEvent(e);
|
|
1493
|
-
},
|
|
1493
|
+
}, Oe;
|
|
1494
1494
|
(function(e) {
|
|
1495
1495
|
e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
|
|
1496
|
-
})(
|
|
1496
|
+
})(Oe || (Oe = {}));
|
|
1497
1497
|
var de = function(e) {
|
|
1498
1498
|
return Object.freeze(e);
|
|
1499
|
-
},
|
|
1499
|
+
}, jr = /* @__PURE__ */ function() {
|
|
1500
1500
|
function e(t, n) {
|
|
1501
1501
|
this.inlineSize = t, this.blockSize = n, de(this);
|
|
1502
1502
|
}
|
|
@@ -1506,8 +1506,8 @@ var de = function(e) {
|
|
|
1506
1506
|
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, de(this);
|
|
1507
1507
|
}
|
|
1508
1508
|
return e.prototype.toJSON = function() {
|
|
1509
|
-
var t = this, n = t.x, r = t.y, s = t.top, o = t.right, i = t.bottom,
|
|
1510
|
-
return { x: n, y: r, top: s, right: o, bottom: i, left:
|
|
1509
|
+
var t = this, n = t.x, r = t.y, s = t.top, o = t.right, i = t.bottom, u = t.left, c = t.width, l = t.height;
|
|
1510
|
+
return { x: n, y: r, top: s, right: o, bottom: i, left: u, width: c, height: l };
|
|
1511
1511
|
}, e.fromRect = function(t) {
|
|
1512
1512
|
return new e(t.x, t.y, t.width, t.height);
|
|
1513
1513
|
}, e;
|
|
@@ -1526,7 +1526,7 @@ var de = function(e) {
|
|
|
1526
1526
|
return !0;
|
|
1527
1527
|
var n = (t = e == null ? void 0 : e.ownerDocument) === null || t === void 0 ? void 0 : t.defaultView;
|
|
1528
1528
|
return !!(n && e instanceof n.Element);
|
|
1529
|
-
},
|
|
1529
|
+
}, Wr = function(e) {
|
|
1530
1530
|
switch (e.tagName) {
|
|
1531
1531
|
case "INPUT":
|
|
1532
1532
|
if (e.type !== "image")
|
|
@@ -1541,38 +1541,38 @@ var de = function(e) {
|
|
|
1541
1541
|
return !0;
|
|
1542
1542
|
}
|
|
1543
1543
|
return !1;
|
|
1544
|
-
},
|
|
1544
|
+
}, xe = typeof window < "u" ? window : {}, ze = /* @__PURE__ */ new WeakMap(), Ct = /auto|scroll/, Ur = /^tb|vertical/, Vr = /msie|trident/i.test(xe.navigator && xe.navigator.userAgent), H = function(e) {
|
|
1545
1545
|
return parseFloat(e || "0");
|
|
1546
1546
|
}, be = function(e, t, n) {
|
|
1547
|
-
return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new
|
|
1547
|
+
return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new jr((n ? t : e) || 0, (n ? e : t) || 0);
|
|
1548
1548
|
}, Mt = de({
|
|
1549
1549
|
devicePixelContentBoxSize: be(),
|
|
1550
1550
|
borderBoxSize: be(),
|
|
1551
1551
|
contentBoxSize: be(),
|
|
1552
1552
|
contentRect: new fn(0, 0, 0, 0)
|
|
1553
1553
|
}), hn = function(e, t) {
|
|
1554
|
-
if (t === void 0 && (t = !1),
|
|
1555
|
-
return
|
|
1554
|
+
if (t === void 0 && (t = !1), ze.has(e) && !t)
|
|
1555
|
+
return ze.get(e);
|
|
1556
1556
|
if (dn(e))
|
|
1557
|
-
return
|
|
1558
|
-
var n = getComputedStyle(e), r = ht(e) && e.ownerSVGElement && e.getBBox(), s = !
|
|
1559
|
-
devicePixelContentBoxSize: be(Math.round(
|
|
1557
|
+
return ze.set(e, Mt), Mt;
|
|
1558
|
+
var n = getComputedStyle(e), r = ht(e) && e.ownerSVGElement && e.getBBox(), s = !Vr && n.boxSizing === "border-box", o = Ur.test(n.writingMode || ""), i = !r && Ct.test(n.overflowY || ""), u = !r && Ct.test(n.overflowX || ""), c = r ? 0 : H(n.paddingTop), l = r ? 0 : H(n.paddingRight), h = r ? 0 : H(n.paddingBottom), f = r ? 0 : H(n.paddingLeft), d = r ? 0 : H(n.borderTopWidth), k = r ? 0 : H(n.borderRightWidth), S = r ? 0 : H(n.borderBottomWidth), B = r ? 0 : H(n.borderLeftWidth), I = f + l, _ = c + h, T = B + k, y = d + S, v = u ? e.offsetHeight - y - e.clientHeight : 0, E = i ? e.offsetWidth - T - e.clientWidth : 0, a = s ? I + T : 0, p = s ? _ + y : 0, m = r ? r.width : H(n.width) - a - E, j = r ? r.height : H(n.height) - p - v, F = m + I + E + T, q = j + _ + v + y, A = de({
|
|
1559
|
+
devicePixelContentBoxSize: be(Math.round(m * devicePixelRatio), Math.round(j * devicePixelRatio), o),
|
|
1560
1560
|
borderBoxSize: be(F, q, o),
|
|
1561
|
-
contentBoxSize: be(
|
|
1562
|
-
contentRect: new fn(
|
|
1561
|
+
contentBoxSize: be(m, j, o),
|
|
1562
|
+
contentRect: new fn(f, c, m, j)
|
|
1563
1563
|
});
|
|
1564
|
-
return
|
|
1564
|
+
return ze.set(e, A), A;
|
|
1565
1565
|
}, pn = function(e, t, n) {
|
|
1566
1566
|
var r = hn(e, n), s = r.borderBoxSize, o = r.contentBoxSize, i = r.devicePixelContentBoxSize;
|
|
1567
1567
|
switch (t) {
|
|
1568
|
-
case
|
|
1568
|
+
case Oe.DEVICE_PIXEL_CONTENT_BOX:
|
|
1569
1569
|
return i;
|
|
1570
|
-
case
|
|
1570
|
+
case Oe.BORDER_BOX:
|
|
1571
1571
|
return s;
|
|
1572
1572
|
default:
|
|
1573
1573
|
return o;
|
|
1574
1574
|
}
|
|
1575
|
-
},
|
|
1575
|
+
}, Fr = /* @__PURE__ */ function() {
|
|
1576
1576
|
function e(t) {
|
|
1577
1577
|
var n = hn(t);
|
|
1578
1578
|
this.target = t, this.contentRect = n.contentRect, this.borderBoxSize = de([n.borderBoxSize]), this.contentBoxSize = de([n.contentBoxSize]), this.devicePixelContentBoxSize = de([n.devicePixelContentBoxSize]);
|
|
@@ -1584,16 +1584,16 @@ var de = function(e) {
|
|
|
1584
1584
|
for (var t = 0, n = e.parentNode; n; )
|
|
1585
1585
|
t += 1, n = n.parentNode;
|
|
1586
1586
|
return t;
|
|
1587
|
-
},
|
|
1587
|
+
}, qr = function() {
|
|
1588
1588
|
var e = 1 / 0, t = [];
|
|
1589
1589
|
fe.forEach(function(i) {
|
|
1590
1590
|
if (i.activeTargets.length !== 0) {
|
|
1591
|
-
var
|
|
1591
|
+
var u = [];
|
|
1592
1592
|
i.activeTargets.forEach(function(l) {
|
|
1593
|
-
var h = new
|
|
1594
|
-
|
|
1593
|
+
var h = new Fr(l.target), f = bn(l.target);
|
|
1594
|
+
u.push(h), l.lastReportedSize = pn(l.target, l.observedBox), f < e && (e = f);
|
|
1595
1595
|
}), t.push(function() {
|
|
1596
|
-
i.callback.call(i.observer,
|
|
1596
|
+
i.callback.call(i.observer, u, i.observer);
|
|
1597
1597
|
}), i.activeTargets.splice(0, i.activeTargets.length);
|
|
1598
1598
|
}
|
|
1599
1599
|
});
|
|
@@ -1608,32 +1608,32 @@ var de = function(e) {
|
|
|
1608
1608
|
s.isActive() && (bn(s.target) > e ? n.activeTargets.push(s) : n.skippedTargets.push(s));
|
|
1609
1609
|
});
|
|
1610
1610
|
});
|
|
1611
|
-
},
|
|
1611
|
+
}, Gr = function() {
|
|
1612
1612
|
var e = 0;
|
|
1613
|
-
for (Lt(e);
|
|
1614
|
-
e =
|
|
1615
|
-
return
|
|
1616
|
-
}, Ye, vn = [],
|
|
1613
|
+
for (Lt(e); Nr(); )
|
|
1614
|
+
e = qr(), Lt(e);
|
|
1615
|
+
return Pr() && Dr(), e > 0;
|
|
1616
|
+
}, Ye, vn = [], Hr = function() {
|
|
1617
1617
|
return vn.splice(0).forEach(function(e) {
|
|
1618
1618
|
return e();
|
|
1619
1619
|
});
|
|
1620
|
-
},
|
|
1620
|
+
}, Zr = function(e) {
|
|
1621
1621
|
if (!Ye) {
|
|
1622
1622
|
var t = 0, n = document.createTextNode(""), r = { characterData: !0 };
|
|
1623
1623
|
new MutationObserver(function() {
|
|
1624
|
-
return
|
|
1624
|
+
return Hr();
|
|
1625
1625
|
}).observe(n, r), Ye = function() {
|
|
1626
1626
|
n.textContent = "".concat(t ? t-- : t++);
|
|
1627
1627
|
};
|
|
1628
1628
|
}
|
|
1629
1629
|
vn.push(e), Ye();
|
|
1630
|
-
},
|
|
1631
|
-
|
|
1630
|
+
}, Xr = function(e) {
|
|
1631
|
+
Zr(function() {
|
|
1632
1632
|
requestAnimationFrame(e);
|
|
1633
1633
|
});
|
|
1634
|
-
},
|
|
1635
|
-
return !!
|
|
1636
|
-
},
|
|
1634
|
+
}, Ne = 0, Yr = function() {
|
|
1635
|
+
return !!Ne;
|
|
1636
|
+
}, Jr = 250, Kr = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, zt = [
|
|
1637
1637
|
"resize",
|
|
1638
1638
|
"load",
|
|
1639
1639
|
"transitionend",
|
|
@@ -1650,7 +1650,7 @@ var de = function(e) {
|
|
|
1650
1650
|
"focus"
|
|
1651
1651
|
], $t = function(e) {
|
|
1652
1652
|
return e === void 0 && (e = 0), Date.now() + e;
|
|
1653
|
-
}, Je = !1,
|
|
1653
|
+
}, Je = !1, Qr = function() {
|
|
1654
1654
|
function e() {
|
|
1655
1655
|
var t = this;
|
|
1656
1656
|
this.stopped = !0, this.listener = function() {
|
|
@@ -1659,15 +1659,15 @@ var de = function(e) {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
return e.prototype.run = function(t) {
|
|
1661
1661
|
var n = this;
|
|
1662
|
-
if (t === void 0 && (t =
|
|
1662
|
+
if (t === void 0 && (t = Jr), !Je) {
|
|
1663
1663
|
Je = !0;
|
|
1664
1664
|
var r = $t(t);
|
|
1665
|
-
|
|
1665
|
+
Xr(function() {
|
|
1666
1666
|
var s = !1;
|
|
1667
1667
|
try {
|
|
1668
|
-
s =
|
|
1668
|
+
s = Gr();
|
|
1669
1669
|
} finally {
|
|
1670
|
-
if (Je = !1, t = r - $t(), !
|
|
1670
|
+
if (Je = !1, t = r - $t(), !Yr())
|
|
1671
1671
|
return;
|
|
1672
1672
|
s ? n.run(1e3) : t > 0 ? n.run(t) : n.start();
|
|
1673
1673
|
}
|
|
@@ -1677,59 +1677,59 @@ var de = function(e) {
|
|
|
1677
1677
|
this.stop(), this.run();
|
|
1678
1678
|
}, e.prototype.observe = function() {
|
|
1679
1679
|
var t = this, n = function() {
|
|
1680
|
-
return t.observer && t.observer.observe(document.body,
|
|
1680
|
+
return t.observer && t.observer.observe(document.body, Kr);
|
|
1681
1681
|
};
|
|
1682
|
-
document.body ? n() :
|
|
1682
|
+
document.body ? n() : xe.addEventListener("DOMContentLoaded", n);
|
|
1683
1683
|
}, e.prototype.start = function() {
|
|
1684
1684
|
var t = this;
|
|
1685
1685
|
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), zt.forEach(function(n) {
|
|
1686
|
-
return
|
|
1686
|
+
return xe.addEventListener(n, t.listener, !0);
|
|
1687
1687
|
}));
|
|
1688
1688
|
}, e.prototype.stop = function() {
|
|
1689
1689
|
var t = this;
|
|
1690
1690
|
this.stopped || (this.observer && this.observer.disconnect(), zt.forEach(function(n) {
|
|
1691
|
-
return
|
|
1691
|
+
return xe.removeEventListener(n, t.listener, !0);
|
|
1692
1692
|
}), this.stopped = !0);
|
|
1693
1693
|
}, e;
|
|
1694
|
-
}(), nt = new
|
|
1695
|
-
!
|
|
1696
|
-
},
|
|
1697
|
-
return !ht(e) && !
|
|
1698
|
-
},
|
|
1694
|
+
}(), nt = new Qr(), Rt = function(e) {
|
|
1695
|
+
!Ne && e > 0 && nt.start(), Ne += e, !Ne && nt.stop();
|
|
1696
|
+
}, es = function(e) {
|
|
1697
|
+
return !ht(e) && !Wr(e) && getComputedStyle(e).display === "inline";
|
|
1698
|
+
}, ts = function() {
|
|
1699
1699
|
function e(t, n) {
|
|
1700
|
-
this.target = t, this.observedBox = n ||
|
|
1700
|
+
this.target = t, this.observedBox = n || Oe.CONTENT_BOX, this.lastReportedSize = {
|
|
1701
1701
|
inlineSize: 0,
|
|
1702
1702
|
blockSize: 0
|
|
1703
1703
|
};
|
|
1704
1704
|
}
|
|
1705
1705
|
return e.prototype.isActive = function() {
|
|
1706
1706
|
var t = pn(this.target, this.observedBox, !0);
|
|
1707
|
-
return
|
|
1707
|
+
return es(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
|
|
1708
1708
|
}, e;
|
|
1709
|
-
}(),
|
|
1709
|
+
}(), ns = /* @__PURE__ */ function() {
|
|
1710
1710
|
function e(t, n) {
|
|
1711
1711
|
this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = n;
|
|
1712
1712
|
}
|
|
1713
1713
|
return e;
|
|
1714
|
-
}(),
|
|
1714
|
+
}(), $e = /* @__PURE__ */ new WeakMap(), Nt = function(e, t) {
|
|
1715
1715
|
for (var n = 0; n < e.length; n += 1)
|
|
1716
1716
|
if (e[n].target === t)
|
|
1717
1717
|
return n;
|
|
1718
1718
|
return -1;
|
|
1719
|
-
},
|
|
1719
|
+
}, Re = function() {
|
|
1720
1720
|
function e() {
|
|
1721
1721
|
}
|
|
1722
1722
|
return e.connect = function(t, n) {
|
|
1723
|
-
var r = new
|
|
1724
|
-
|
|
1723
|
+
var r = new ns(t, n);
|
|
1724
|
+
$e.set(t, r);
|
|
1725
1725
|
}, e.observe = function(t, n, r) {
|
|
1726
|
-
var s =
|
|
1727
|
-
Nt(s.observationTargets, n) < 0 && (o && fe.push(s), s.observationTargets.push(new
|
|
1726
|
+
var s = $e.get(t), o = s.observationTargets.length === 0;
|
|
1727
|
+
Nt(s.observationTargets, n) < 0 && (o && fe.push(s), s.observationTargets.push(new ts(n, r && r.box)), Rt(1), nt.schedule());
|
|
1728
1728
|
}, e.unobserve = function(t, n) {
|
|
1729
|
-
var r =
|
|
1729
|
+
var r = $e.get(t), s = Nt(r.observationTargets, n), o = r.observationTargets.length === 1;
|
|
1730
1730
|
s >= 0 && (o && fe.splice(fe.indexOf(r), 1), r.observationTargets.splice(s, 1), Rt(-1));
|
|
1731
1731
|
}, e.disconnect = function(t) {
|
|
1732
|
-
var n = this, r =
|
|
1732
|
+
var n = this, r = $e.get(t);
|
|
1733
1733
|
r.observationTargets.slice().forEach(function(s) {
|
|
1734
1734
|
return n.unobserve(t, s.target);
|
|
1735
1735
|
}), r.activeTargets.splice(0, r.activeTargets.length);
|
|
@@ -1740,27 +1740,27 @@ var de = function(e) {
|
|
|
1740
1740
|
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1741
1741
|
if (typeof t != "function")
|
|
1742
1742
|
throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
|
|
1743
|
-
|
|
1743
|
+
Re.connect(this, t);
|
|
1744
1744
|
}
|
|
1745
1745
|
return e.prototype.observe = function(t, n) {
|
|
1746
1746
|
if (arguments.length === 0)
|
|
1747
1747
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1748
1748
|
if (!Bt(t))
|
|
1749
1749
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
1750
|
-
|
|
1750
|
+
Re.observe(this, t, n);
|
|
1751
1751
|
}, e.prototype.unobserve = function(t) {
|
|
1752
1752
|
if (arguments.length === 0)
|
|
1753
1753
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1754
1754
|
if (!Bt(t))
|
|
1755
1755
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
1756
|
-
|
|
1756
|
+
Re.unobserve(this, t);
|
|
1757
1757
|
}, e.prototype.disconnect = function() {
|
|
1758
|
-
|
|
1758
|
+
Re.disconnect(this);
|
|
1759
1759
|
}, e.toString = function() {
|
|
1760
1760
|
return "function ResizeObserver () { [polyfill code] }";
|
|
1761
1761
|
}, e;
|
|
1762
1762
|
}();
|
|
1763
|
-
const
|
|
1763
|
+
const rs = ["disabled", "title"], ss = {
|
|
1764
1764
|
key: 1,
|
|
1765
1765
|
class: "stack-tab__button"
|
|
1766
1766
|
}, rt = /* @__PURE__ */ J({
|
|
@@ -1780,16 +1780,16 @@ const ss = ["disabled", "title"], os = {
|
|
|
1780
1780
|
disabled: t.disabled ? "disabled" : null,
|
|
1781
1781
|
title: t.title
|
|
1782
1782
|
}, [
|
|
1783
|
-
"icon" in t.$slots ?
|
|
1783
|
+
"icon" in t.$slots ? Y("", !0) : (z(), P("div", {
|
|
1784
1784
|
key: 0,
|
|
1785
1785
|
class: ie(["stack-tab__mask-button", t.iconClass])
|
|
1786
1786
|
}, null, 2)),
|
|
1787
|
-
"icon" in t.$slots ? (z(), P("div",
|
|
1787
|
+
"icon" in t.$slots ? (z(), P("div", ss, [
|
|
1788
1788
|
me(t.$slots, "icon")
|
|
1789
|
-
])) :
|
|
1790
|
-
], 10,
|
|
1789
|
+
])) : Y("", !0)
|
|
1790
|
+
], 10, rs));
|
|
1791
1791
|
}
|
|
1792
|
-
}),
|
|
1792
|
+
}), os = /* @__PURE__ */ J({
|
|
1793
1793
|
__name: "TabHeaderScroll",
|
|
1794
1794
|
props: {
|
|
1795
1795
|
space: { default: 300 },
|
|
@@ -1797,140 +1797,140 @@ const ss = ["disabled", "title"], os = {
|
|
|
1797
1797
|
isScrollButton: { type: Boolean, default: !0 }
|
|
1798
1798
|
},
|
|
1799
1799
|
setup(e, { expose: t }) {
|
|
1800
|
-
const n =
|
|
1800
|
+
const n = $(null), r = $(null), s = $(null), o = $(!1), i = $(!1), u = $(!1), c = $(!0), l = $(), h = e, f = Se({
|
|
1801
1801
|
clientWidth: 0,
|
|
1802
1802
|
scrollWidth: 0,
|
|
1803
1803
|
scrollLeft: 0
|
|
1804
|
-
}), d =
|
|
1804
|
+
}), d = Se({
|
|
1805
1805
|
thumbLeft: 0,
|
|
1806
1806
|
startScrollLeft: 0,
|
|
1807
1807
|
startThumbLeft: 0,
|
|
1808
1808
|
startPageX: 0
|
|
1809
1809
|
});
|
|
1810
|
-
Sn(
|
|
1811
|
-
|
|
1810
|
+
Sn(f, (A) => {
|
|
1811
|
+
k(A);
|
|
1812
1812
|
});
|
|
1813
|
-
const
|
|
1814
|
-
i.value =
|
|
1815
|
-
},
|
|
1816
|
-
if (!
|
|
1813
|
+
const k = (A) => {
|
|
1814
|
+
i.value = A.scrollLeft <= 10, u.value = A.clientWidth + A.scrollLeft - A.scrollWidth >= -10, c.value = A.scrollWidth !== A.clientWidth;
|
|
1815
|
+
}, S = pe(() => f.scrollWidth > f.clientWidth), B = pe(() => {
|
|
1816
|
+
if (!S.value)
|
|
1817
1817
|
return 0;
|
|
1818
|
-
const { clientWidth:
|
|
1819
|
-
return
|
|
1820
|
-
}),
|
|
1821
|
-
if (!
|
|
1818
|
+
const { clientWidth: A, scrollWidth: L } = f;
|
|
1819
|
+
return A / L * A;
|
|
1820
|
+
}), I = pe(() => {
|
|
1821
|
+
if (!S.value)
|
|
1822
1822
|
return 0;
|
|
1823
|
-
const { clientWidth:
|
|
1824
|
-
return (
|
|
1825
|
-
}),
|
|
1823
|
+
const { clientWidth: A, scrollWidth: L, scrollLeft: U } = f;
|
|
1824
|
+
return (A - B.value) * (U / (L - A));
|
|
1825
|
+
}), _ = () => {
|
|
1826
1826
|
if (n.value === null || n.value === void 0)
|
|
1827
1827
|
return;
|
|
1828
|
-
const { clientWidth:
|
|
1829
|
-
Object.assign(
|
|
1830
|
-
},
|
|
1828
|
+
const { clientWidth: A, scrollWidth: L, scrollLeft: U } = n.value;
|
|
1829
|
+
Object.assign(f, { clientWidth: A, scrollWidth: L, scrollLeft: U });
|
|
1830
|
+
}, T = new Pt(() => {
|
|
1831
1831
|
var L;
|
|
1832
|
-
|
|
1833
|
-
const
|
|
1834
|
-
|
|
1835
|
-
}),
|
|
1836
|
-
var
|
|
1837
|
-
if (!
|
|
1838
|
-
const L = (
|
|
1832
|
+
_();
|
|
1833
|
+
const A = (L = n.value) == null ? void 0 : L.querySelector(".stack-tab__item.is-active");
|
|
1834
|
+
A && (q(A) || F(A));
|
|
1835
|
+
}), y = new Pt(() => {
|
|
1836
|
+
var A;
|
|
1837
|
+
if (!S.value) {
|
|
1838
|
+
const L = (A = n.value) == null ? void 0 : A.querySelector(".stack-tab__item.is-active");
|
|
1839
1839
|
L && (q(L) || F(L));
|
|
1840
1840
|
}
|
|
1841
|
-
|
|
1842
|
-
}),
|
|
1843
|
-
tn({ wrap: n.value, left:
|
|
1844
|
-
},
|
|
1845
|
-
|
|
1846
|
-
},
|
|
1847
|
-
const L =
|
|
1848
|
-
|
|
1849
|
-
}, p = (
|
|
1841
|
+
_();
|
|
1842
|
+
}), v = (A, L = !0) => {
|
|
1843
|
+
tn({ wrap: n.value, left: A, smooth: L });
|
|
1844
|
+
}, E = (A) => {
|
|
1845
|
+
v(n.value.scrollLeft + A);
|
|
1846
|
+
}, a = (A) => {
|
|
1847
|
+
const L = A.deltaY < 0;
|
|
1848
|
+
v(n.value.scrollLeft + (L ? -h.space : h.space));
|
|
1849
|
+
}, p = (A) => {
|
|
1850
1850
|
var L;
|
|
1851
1851
|
Object.assign(d, {
|
|
1852
|
-
startPageX:
|
|
1852
|
+
startPageX: A.pageX,
|
|
1853
1853
|
startScrollLeft: (L = n.value) == null ? void 0 : L.scrollLeft,
|
|
1854
|
-
startThumbLeft:
|
|
1855
|
-
thumbLeft:
|
|
1856
|
-
}), o.value = !0, document.addEventListener("mousemove",
|
|
1857
|
-
},
|
|
1858
|
-
const { clientWidth: L, scrollWidth: U } =
|
|
1859
|
-
let ce = d.startThumbLeft +
|
|
1854
|
+
startThumbLeft: I.value,
|
|
1855
|
+
thumbLeft: I.value
|
|
1856
|
+
}), o.value = !0, document.addEventListener("mousemove", m), document.addEventListener("mouseup", j);
|
|
1857
|
+
}, m = (A) => {
|
|
1858
|
+
const { clientWidth: L, scrollWidth: U } = f;
|
|
1859
|
+
let ce = d.startThumbLeft + A.pageX - d.startPageX;
|
|
1860
1860
|
const Ge = L - B.value;
|
|
1861
|
-
ce < 0 ? ce = 0 : ce > Ge && (ce = Ge), d.thumbLeft = ce,
|
|
1862
|
-
}, j = (
|
|
1863
|
-
o.value = !1, document.removeEventListener("mousemove",
|
|
1861
|
+
ce < 0 ? ce = 0 : ce > Ge && (ce = Ge), d.thumbLeft = ce, v(ce * (U - L) / (L - B.value), !1), A.preventDefault();
|
|
1862
|
+
}, j = (A) => {
|
|
1863
|
+
o.value = !1, document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", j), A.preventDefault();
|
|
1864
1864
|
};
|
|
1865
|
-
|
|
1865
|
+
Ue(() => {
|
|
1866
1866
|
var L;
|
|
1867
|
-
|
|
1868
|
-
const
|
|
1869
|
-
|
|
1870
|
-
}),
|
|
1871
|
-
|
|
1867
|
+
T.observe(l.value);
|
|
1868
|
+
const A = (L = n.value) == null ? void 0 : L.querySelector(".stack-tab__nav");
|
|
1869
|
+
y.observe(A);
|
|
1870
|
+
}), Ve(() => {
|
|
1871
|
+
T.disconnect(), y.disconnect();
|
|
1872
1872
|
});
|
|
1873
|
-
const F = (
|
|
1874
|
-
|
|
1875
|
-
}, q = (
|
|
1876
|
-
if (!
|
|
1873
|
+
const F = (A) => {
|
|
1874
|
+
Zn({ el: A, wrap: n, block: "end", inline: "center" });
|
|
1875
|
+
}, q = (A) => {
|
|
1876
|
+
if (!S.value)
|
|
1877
1877
|
return !0;
|
|
1878
|
-
const L =
|
|
1879
|
-
return !(L < U || L +
|
|
1878
|
+
const L = A.offsetLeft, U = n.value.scrollLeft;
|
|
1879
|
+
return !(L < U || L + A.clientWidth > U + n.value.clientWidth);
|
|
1880
1880
|
};
|
|
1881
|
-
return t({ scrollIntoView: F, isInView: q }), (
|
|
1882
|
-
|
|
1881
|
+
return t({ scrollIntoView: F, isInView: q }), (A, L) => (z(), P(Fe, null, [
|
|
1882
|
+
c.value ? (z(), ae(rt, {
|
|
1883
1883
|
key: 0,
|
|
1884
1884
|
"icon-class": "stack-tab__icon-left-arrow",
|
|
1885
1885
|
disabled: i.value,
|
|
1886
|
-
onClick: L[0] || (L[0] = (U) => !i.value &&
|
|
1887
|
-
}, null, 8, ["disabled"])) :
|
|
1888
|
-
|
|
1886
|
+
onClick: L[0] || (L[0] = (U) => !i.value && E(-1 * A.space))
|
|
1887
|
+
}, null, 8, ["disabled"])) : Y("", !0),
|
|
1888
|
+
X("div", {
|
|
1889
1889
|
ref_key: "headerScroll",
|
|
1890
1890
|
ref: l,
|
|
1891
1891
|
class: "stack-tab__scroll",
|
|
1892
|
-
onWheel: ve(
|
|
1892
|
+
onWheel: ve(a, ["prevent"])
|
|
1893
1893
|
}, [
|
|
1894
|
-
|
|
1894
|
+
X("div", {
|
|
1895
1895
|
ref_key: "container",
|
|
1896
1896
|
ref: n,
|
|
1897
1897
|
class: ie(["stack-tab__scroll-container", {
|
|
1898
|
-
"stack-tab__shadow-inset-left": !i.value &&
|
|
1899
|
-
"stack-tab__shadow-inset-right": !
|
|
1900
|
-
"stack-tab__shadow-inset-all": !i.value && !
|
|
1898
|
+
"stack-tab__shadow-inset-left": !i.value && u.value,
|
|
1899
|
+
"stack-tab__shadow-inset-right": !u.value && i.value,
|
|
1900
|
+
"stack-tab__shadow-inset-all": !i.value && !u.value
|
|
1901
1901
|
}]),
|
|
1902
|
-
onScrollPassive:
|
|
1902
|
+
onScrollPassive: _
|
|
1903
1903
|
}, [
|
|
1904
|
-
me(
|
|
1904
|
+
me(A.$slots, "default")
|
|
1905
1905
|
], 34),
|
|
1906
|
-
Zt(
|
|
1906
|
+
Zt(X("div", {
|
|
1907
1907
|
ref_key: "bar",
|
|
1908
1908
|
ref: r,
|
|
1909
1909
|
class: ie(["stack-tab__scrollbar", { "is-dragging": o.value }])
|
|
1910
1910
|
}, [
|
|
1911
|
-
|
|
1911
|
+
X("div", {
|
|
1912
1912
|
ref_key: "thumb",
|
|
1913
1913
|
ref: s,
|
|
1914
1914
|
class: ie(["stack-tab__scrollbar-thumb", { "is-dragging": o.value }]),
|
|
1915
1915
|
style: ot({
|
|
1916
1916
|
width: `${B.value}px`,
|
|
1917
|
-
transform: `translateX(${
|
|
1917
|
+
transform: `translateX(${I.value}px)`
|
|
1918
1918
|
}),
|
|
1919
1919
|
onMousedown: ve(p, ["prevent"])
|
|
1920
1920
|
}, null, 38)
|
|
1921
1921
|
], 2), [
|
|
1922
|
-
[Xt,
|
|
1922
|
+
[Xt, S.value]
|
|
1923
1923
|
])
|
|
1924
1924
|
], 544),
|
|
1925
|
-
|
|
1925
|
+
c.value ? (z(), ae(rt, {
|
|
1926
1926
|
key: 1,
|
|
1927
1927
|
"icon-class": "stack-tab__icon-right-arrow",
|
|
1928
|
-
disabled:
|
|
1929
|
-
onClick: L[1] || (L[1] = (U) => !
|
|
1930
|
-
}, null, 8, ["disabled"])) :
|
|
1928
|
+
disabled: u.value,
|
|
1929
|
+
onClick: L[1] || (L[1] = (U) => !u.value && E(A.space))
|
|
1930
|
+
}, null, 8, ["disabled"])) : Y("", !0)
|
|
1931
1931
|
], 64));
|
|
1932
1932
|
}
|
|
1933
|
-
}),
|
|
1933
|
+
}), is = { class: "stack-tab__header" }, as = /* @__PURE__ */ J({
|
|
1934
1934
|
__name: "index",
|
|
1935
1935
|
props: {
|
|
1936
1936
|
space: {},
|
|
@@ -1943,46 +1943,46 @@ const ss = ["disabled", "title"], os = {
|
|
|
1943
1943
|
},
|
|
1944
1944
|
emits: ["active"],
|
|
1945
1945
|
setup(e, { emit: t }) {
|
|
1946
|
-
const { t: n } = qe(), r = st("maximum"), s = t, o =
|
|
1946
|
+
const { t: n } = qe(), r = st("maximum"), s = t, o = $(), { shown: i, contextMenuData: u, showContextMenu: c } = Mr(), l = e, { removeTab: h, active: f, tabs: d } = Ae(), k = pe(() => typeof l.tabTransition == "string" ? {
|
|
1947
1947
|
name: l.tabTransition
|
|
1948
|
-
} : l.tabTransition),
|
|
1949
|
-
if (
|
|
1950
|
-
const
|
|
1951
|
-
s("active",
|
|
1948
|
+
} : l.tabTransition), S = pe(() => l.tabScrollMode === ue.BOTH || l.tabScrollMode === ue.BUTTON), B = l.tabScrollMode === ue.BOTH || l.tabScrollMode === ue.WHEEL, I = (T) => {
|
|
1949
|
+
if (T.closable) {
|
|
1950
|
+
const y = h(T.id);
|
|
1951
|
+
s("active", y);
|
|
1952
1952
|
}
|
|
1953
1953
|
i.value = !1;
|
|
1954
|
-
},
|
|
1954
|
+
}, _ = (T, y, v) => {
|
|
1955
1955
|
o.value && (Ht(() => {
|
|
1956
|
-
o.value.isInView(
|
|
1957
|
-
}),
|
|
1956
|
+
o.value.isInView(y.value) || o.value.scrollIntoView(y.value);
|
|
1957
|
+
}), f(T.id, v), s("active", T.id));
|
|
1958
1958
|
};
|
|
1959
|
-
return (
|
|
1960
|
-
me(
|
|
1961
|
-
N(
|
|
1959
|
+
return (T, y) => (z(), P("div", is, [
|
|
1960
|
+
me(T.$slots, "leftButton"),
|
|
1961
|
+
N(os, {
|
|
1962
1962
|
ref_key: "scroll",
|
|
1963
1963
|
ref: o,
|
|
1964
|
-
space:
|
|
1965
|
-
"is-scroll-wheel":
|
|
1966
|
-
"is-scroll-button":
|
|
1964
|
+
space: T.space,
|
|
1965
|
+
"is-scroll-wheel": x(B),
|
|
1966
|
+
"is-scroll-button": S.value
|
|
1967
1967
|
}, {
|
|
1968
|
-
default:
|
|
1968
|
+
default: oe(() => [
|
|
1969
1969
|
N(Yt, On({
|
|
1970
1970
|
key: "tabItemTrans",
|
|
1971
1971
|
tag: "ul",
|
|
1972
1972
|
class: "stack-tab__nav"
|
|
1973
|
-
},
|
|
1974
|
-
default:
|
|
1975
|
-
(z(!0), P(Fe, null, it(
|
|
1976
|
-
key:
|
|
1977
|
-
contextmenu:
|
|
1978
|
-
item:
|
|
1973
|
+
}, k.value, { appear: "" }), {
|
|
1974
|
+
default: oe(() => [
|
|
1975
|
+
(z(!0), P(Fe, null, it(x(d), (v, E) => (z(), ae(Rr, {
|
|
1976
|
+
key: v.id,
|
|
1977
|
+
contextmenu: T.contextmenu,
|
|
1978
|
+
item: v,
|
|
1979
1979
|
onContextmenu: ve(
|
|
1980
|
-
(
|
|
1980
|
+
(a) => x(c)(a, v, E, x(d).length),
|
|
1981
1981
|
["prevent"]
|
|
1982
1982
|
),
|
|
1983
|
-
onMouseup: ve((
|
|
1984
|
-
onClose:
|
|
1985
|
-
onActive:
|
|
1983
|
+
onMouseup: ve((a) => I(v), ["middle", "prevent"]),
|
|
1984
|
+
onClose: I,
|
|
1985
|
+
onActive: _
|
|
1986
1986
|
}, null, 8, ["contextmenu", "item", "onContextmenu", "onMouseup"]))), 128))
|
|
1987
1987
|
]),
|
|
1988
1988
|
_: 1
|
|
@@ -1990,189 +1990,189 @@ const ss = ["disabled", "title"], os = {
|
|
|
1990
1990
|
]),
|
|
1991
1991
|
_: 1
|
|
1992
1992
|
}, 8, ["space", "is-scroll-wheel", "is-scroll-button"]),
|
|
1993
|
-
me(
|
|
1993
|
+
me(T.$slots, "rightButton"),
|
|
1994
1994
|
N(rt, {
|
|
1995
|
-
"icon-class":
|
|
1996
|
-
title:
|
|
1997
|
-
onClick:
|
|
1995
|
+
"icon-class": x(r) ? "stack-tab__icon-restore" : "stack-tab__icon-fullscreen",
|
|
1996
|
+
title: x(n)("VueStackTab.maximum"),
|
|
1997
|
+
onClick: y[0] || (y[0] = (v) => r.value = !x(r))
|
|
1998
1998
|
}, null, 8, ["icon-class", "title"]),
|
|
1999
1999
|
N(Jt, {
|
|
2000
2000
|
name: "stack-tab-zoom",
|
|
2001
2001
|
appear: ""
|
|
2002
2002
|
}, {
|
|
2003
|
-
default:
|
|
2004
|
-
|
|
2003
|
+
default: oe(() => [
|
|
2004
|
+
x(i) ? (z(), ae(Cr, {
|
|
2005
2005
|
key: "tabMenuTrans",
|
|
2006
|
-
left:
|
|
2007
|
-
top:
|
|
2008
|
-
"tab-item":
|
|
2009
|
-
max:
|
|
2010
|
-
index:
|
|
2011
|
-
}, null, 8, ["left", "top", "tab-item", "max", "index"])) :
|
|
2006
|
+
left: x(u).left,
|
|
2007
|
+
top: x(u).top,
|
|
2008
|
+
"tab-item": x(u).item,
|
|
2009
|
+
max: x(u).max,
|
|
2010
|
+
index: x(u).index
|
|
2011
|
+
}, null, 8, ["left", "top", "tab-item", "max", "index"])) : Y("", !0)
|
|
2012
2012
|
]),
|
|
2013
2013
|
_: 1
|
|
2014
2014
|
})
|
|
2015
2015
|
]));
|
|
2016
2016
|
}
|
|
2017
2017
|
});
|
|
2018
|
-
var
|
|
2019
|
-
function
|
|
2020
|
-
var t =
|
|
2018
|
+
var cs = typeof global == "object" && global && global.Object === Object && global, ls = typeof self == "object" && self && self.Object === Object && self, mn = cs || ls || Function("return this")(), je = mn.Symbol, gn = Object.prototype, us = gn.hasOwnProperty, fs = gn.toString, ye = je ? je.toStringTag : void 0;
|
|
2019
|
+
function ds(e) {
|
|
2020
|
+
var t = us.call(e, ye), n = e[ye];
|
|
2021
2021
|
try {
|
|
2022
|
-
e[
|
|
2022
|
+
e[ye] = void 0;
|
|
2023
2023
|
var r = !0;
|
|
2024
2024
|
} catch {
|
|
2025
2025
|
}
|
|
2026
|
-
var s =
|
|
2027
|
-
return r && (t ? e[
|
|
2026
|
+
var s = fs.call(e);
|
|
2027
|
+
return r && (t ? e[ye] = n : delete e[ye]), s;
|
|
2028
2028
|
}
|
|
2029
|
-
var
|
|
2030
|
-
function
|
|
2031
|
-
return
|
|
2029
|
+
var hs = Object.prototype, ps = hs.toString;
|
|
2030
|
+
function bs(e) {
|
|
2031
|
+
return ps.call(e);
|
|
2032
2032
|
}
|
|
2033
|
-
var
|
|
2034
|
-
function
|
|
2035
|
-
return e == null ? e === void 0 ?
|
|
2033
|
+
var vs = "[object Null]", ms = "[object Undefined]", Dt = je ? je.toStringTag : void 0;
|
|
2034
|
+
function gs(e) {
|
|
2035
|
+
return e == null ? e === void 0 ? ms : vs : Dt && Dt in Object(e) ? ds(e) : bs(e);
|
|
2036
2036
|
}
|
|
2037
|
-
function
|
|
2037
|
+
function ys(e) {
|
|
2038
2038
|
return e != null && typeof e == "object";
|
|
2039
2039
|
}
|
|
2040
|
-
var
|
|
2041
|
-
function
|
|
2042
|
-
return typeof e == "symbol" ||
|
|
2040
|
+
var ks = "[object Symbol]";
|
|
2041
|
+
function ws(e) {
|
|
2042
|
+
return typeof e == "symbol" || ys(e) && gs(e) == ks;
|
|
2043
2043
|
}
|
|
2044
|
-
var
|
|
2045
|
-
function
|
|
2046
|
-
for (var t = e.length; t-- &&
|
|
2044
|
+
var _s = /\s/;
|
|
2045
|
+
function Ts(e) {
|
|
2046
|
+
for (var t = e.length; t-- && _s.test(e.charAt(t)); )
|
|
2047
2047
|
;
|
|
2048
2048
|
return t;
|
|
2049
2049
|
}
|
|
2050
|
-
var
|
|
2051
|
-
function
|
|
2052
|
-
return e && e.slice(0,
|
|
2050
|
+
var xs = /^\s+/;
|
|
2051
|
+
function Ss(e) {
|
|
2052
|
+
return e && e.slice(0, Ts(e) + 1).replace(xs, "");
|
|
2053
2053
|
}
|
|
2054
|
-
function
|
|
2054
|
+
function We(e) {
|
|
2055
2055
|
var t = typeof e;
|
|
2056
2056
|
return e != null && (t == "object" || t == "function");
|
|
2057
2057
|
}
|
|
2058
|
-
var jt = NaN,
|
|
2058
|
+
var jt = NaN, Os = /^[-+]0x[0-9a-f]+$/i, Es = /^0b[01]+$/i, As = /^0o[0-7]+$/i, Is = parseInt;
|
|
2059
2059
|
function Wt(e) {
|
|
2060
2060
|
if (typeof e == "number")
|
|
2061
2061
|
return e;
|
|
2062
|
-
if (
|
|
2062
|
+
if (ws(e))
|
|
2063
2063
|
return jt;
|
|
2064
|
-
if (
|
|
2064
|
+
if (We(e)) {
|
|
2065
2065
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
2066
|
-
e =
|
|
2066
|
+
e = We(t) ? t + "" : t;
|
|
2067
2067
|
}
|
|
2068
2068
|
if (typeof e != "string")
|
|
2069
2069
|
return e === 0 ? e : +e;
|
|
2070
|
-
e =
|
|
2071
|
-
var n =
|
|
2072
|
-
return n ||
|
|
2070
|
+
e = Ss(e);
|
|
2071
|
+
var n = Es.test(e);
|
|
2072
|
+
return n || As.test(e) ? Is(e.slice(2), n ? 2 : 8) : Os.test(e) ? jt : +e;
|
|
2073
2073
|
}
|
|
2074
2074
|
var Ke = function() {
|
|
2075
2075
|
return mn.Date.now();
|
|
2076
|
-
},
|
|
2077
|
-
function
|
|
2078
|
-
var r, s, o, i,
|
|
2076
|
+
}, Bs = "Expected a function", Cs = Math.max, Ms = Math.min;
|
|
2077
|
+
function Ls(e, t, n) {
|
|
2078
|
+
var r, s, o, i, u, c, l = 0, h = !1, f = !1, d = !0;
|
|
2079
2079
|
if (typeof e != "function")
|
|
2080
|
-
throw new TypeError(
|
|
2081
|
-
t = Wt(t) || 0,
|
|
2082
|
-
function
|
|
2083
|
-
var p = r,
|
|
2084
|
-
return r = s = void 0, l =
|
|
2085
|
-
}
|
|
2086
|
-
function T(c) {
|
|
2087
|
-
return l = c, f = setTimeout(x, t), h ? w(c) : i;
|
|
2088
|
-
}
|
|
2089
|
-
function B(c) {
|
|
2090
|
-
var p = c - a, v = c - l, j = t - p;
|
|
2091
|
-
return u ? Ls(j, o - v) : j;
|
|
2080
|
+
throw new TypeError(Bs);
|
|
2081
|
+
t = Wt(t) || 0, We(n) && (h = !!n.leading, f = "maxWait" in n, o = f ? Cs(Wt(n.maxWait) || 0, t) : o, d = "trailing" in n ? !!n.trailing : d);
|
|
2082
|
+
function k(a) {
|
|
2083
|
+
var p = r, m = s;
|
|
2084
|
+
return r = s = void 0, l = a, i = e.apply(m, p), i;
|
|
2092
2085
|
}
|
|
2093
|
-
function
|
|
2094
|
-
|
|
2095
|
-
return a === void 0 || p >= t || p < 0 || u && v >= o;
|
|
2086
|
+
function S(a) {
|
|
2087
|
+
return l = a, u = setTimeout(_, t), h ? k(a) : i;
|
|
2096
2088
|
}
|
|
2097
|
-
function
|
|
2098
|
-
var c =
|
|
2099
|
-
|
|
2100
|
-
return k(c);
|
|
2101
|
-
f = setTimeout(x, B(c));
|
|
2089
|
+
function B(a) {
|
|
2090
|
+
var p = a - c, m = a - l, j = t - p;
|
|
2091
|
+
return f ? Ms(j, o - m) : j;
|
|
2102
2092
|
}
|
|
2103
|
-
function
|
|
2104
|
-
|
|
2093
|
+
function I(a) {
|
|
2094
|
+
var p = a - c, m = a - l;
|
|
2095
|
+
return c === void 0 || p >= t || p < 0 || f && m >= o;
|
|
2105
2096
|
}
|
|
2106
2097
|
function _() {
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
}
|
|
2112
|
-
function
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2098
|
+
var a = Ke();
|
|
2099
|
+
if (I(a))
|
|
2100
|
+
return T(a);
|
|
2101
|
+
u = setTimeout(_, B(a));
|
|
2102
|
+
}
|
|
2103
|
+
function T(a) {
|
|
2104
|
+
return u = void 0, d && r ? k(a) : (r = s = void 0, i);
|
|
2105
|
+
}
|
|
2106
|
+
function y() {
|
|
2107
|
+
u !== void 0 && clearTimeout(u), l = 0, r = c = s = u = void 0;
|
|
2108
|
+
}
|
|
2109
|
+
function v() {
|
|
2110
|
+
return u === void 0 ? i : T(Ke());
|
|
2111
|
+
}
|
|
2112
|
+
function E() {
|
|
2113
|
+
var a = Ke(), p = I(a);
|
|
2114
|
+
if (r = arguments, s = this, c = a, p) {
|
|
2115
|
+
if (u === void 0)
|
|
2116
|
+
return S(c);
|
|
2117
|
+
if (f)
|
|
2118
|
+
return clearTimeout(u), u = setTimeout(_, t), k(c);
|
|
2119
2119
|
}
|
|
2120
|
-
return
|
|
2120
|
+
return u === void 0 && (u = setTimeout(_, t)), i;
|
|
2121
2121
|
}
|
|
2122
|
-
return
|
|
2122
|
+
return E.cancel = y, E.flush = v, E;
|
|
2123
2123
|
}
|
|
2124
|
-
var
|
|
2125
|
-
function
|
|
2124
|
+
var zs = "Expected a function";
|
|
2125
|
+
function $s(e, t, n) {
|
|
2126
2126
|
var r = !0, s = !0;
|
|
2127
2127
|
if (typeof e != "function")
|
|
2128
|
-
throw new TypeError(
|
|
2129
|
-
return
|
|
2128
|
+
throw new TypeError(zs);
|
|
2129
|
+
return We(n) && (r = "leading" in n ? !!n.leading : r, s = "trailing" in n ? !!n.trailing : s), Ls(e, t, {
|
|
2130
2130
|
leading: r,
|
|
2131
2131
|
maxWait: t,
|
|
2132
2132
|
trailing: s
|
|
2133
2133
|
});
|
|
2134
2134
|
}
|
|
2135
2135
|
let Ut;
|
|
2136
|
-
const
|
|
2137
|
-
const e = at(), { active: t, hasTab: n, pageShown: r, reset: s, canAddTab: o
|
|
2136
|
+
const Rs = () => {
|
|
2137
|
+
const e = at(), { active: t, hasTab: n, pageShown: r, reset: s, canAddTab: o } = Ae(), i = Ee(), u = $s((h) => new Promise((f, d) => {
|
|
2138
2138
|
if (!r.value) {
|
|
2139
|
-
|
|
2139
|
+
d();
|
|
2140
2140
|
return;
|
|
2141
2141
|
}
|
|
2142
|
-
const
|
|
2143
|
-
if (n(
|
|
2144
|
-
|
|
2142
|
+
const k = ee(h, { refreshable: !0, closable: !0, iframe: !1 });
|
|
2143
|
+
if (n(k.id)) {
|
|
2144
|
+
i.emit(V.TAB_ACTIVE, { id: k.id }), f(k.id);
|
|
2145
2145
|
return;
|
|
2146
2146
|
}
|
|
2147
|
-
if (
|
|
2148
|
-
|
|
2147
|
+
if (k.id || (k.id = sn()), !o()) {
|
|
2148
|
+
d("Max Size");
|
|
2149
2149
|
return;
|
|
2150
2150
|
}
|
|
2151
|
-
|
|
2152
|
-
}), 500),
|
|
2153
|
-
const
|
|
2154
|
-
let
|
|
2151
|
+
c(h, k), f(k.id);
|
|
2152
|
+
}), 500), c = (h, f) => {
|
|
2153
|
+
const d = un(f);
|
|
2154
|
+
let k = ee(
|
|
2155
2155
|
{
|
|
2156
|
-
__tab:
|
|
2156
|
+
__tab: d
|
|
2157
2157
|
},
|
|
2158
|
-
|
|
2159
|
-
),
|
|
2160
|
-
if (
|
|
2161
|
-
const
|
|
2162
|
-
|
|
2158
|
+
h.query
|
|
2159
|
+
), S;
|
|
2160
|
+
if (h.iframe) {
|
|
2161
|
+
const B = encodeURIComponent(h.path);
|
|
2162
|
+
S = Ut, k.__src = B;
|
|
2163
2163
|
} else {
|
|
2164
|
-
const
|
|
2165
|
-
|
|
2164
|
+
const B = dt(h.path);
|
|
2165
|
+
S = B.path, k = ee(B.query, k);
|
|
2166
2166
|
}
|
|
2167
2167
|
e.push({
|
|
2168
|
-
path:
|
|
2169
|
-
query:
|
|
2168
|
+
path: S,
|
|
2169
|
+
query: k
|
|
2170
2170
|
});
|
|
2171
2171
|
};
|
|
2172
|
-
return { openNewTab:
|
|
2173
|
-
Ut =
|
|
2174
|
-
}, active: t, reset: s
|
|
2175
|
-
},
|
|
2172
|
+
return { openNewTab: u, setIFramePath: (h) => {
|
|
2173
|
+
Ut = h;
|
|
2174
|
+
}, active: t, reset: s };
|
|
2175
|
+
}, Ns = { class: "stack-tab__container" }, Ps = ["src"], Ds = /* @__PURE__ */ J({
|
|
2176
2176
|
__name: "StackTabs",
|
|
2177
2177
|
props: {
|
|
2178
2178
|
defaultTabs: { default: () => [] },
|
|
@@ -2191,85 +2191,78 @@ const Ns = () => {
|
|
|
2191
2191
|
},
|
|
2192
2192
|
emits: ["onActive", "onPageLoaded"],
|
|
2193
2193
|
setup(e, { emit: t }) {
|
|
2194
|
-
const { tabs: n, pageShown: r, caches: s,
|
|
2195
|
-
En("maximum",
|
|
2196
|
-
const { setIFramePath:
|
|
2197
|
-
|
|
2198
|
-
f
|
|
2194
|
+
const { tabs: n, pageShown: r, caches: s, destroy: o, addPage: i, initial: u, setMaxSize: c, setGlobalScroll: l } = Ae(), h = t, f = e, d = $(!1), { changeLocale: k } = qe(), S = $(!1);
|
|
2195
|
+
En("maximum", S);
|
|
2196
|
+
const { setIFramePath: B } = Rs();
|
|
2197
|
+
B(f.iframePath), l(f.globalScroll), k(f.i18n), An(() => {
|
|
2198
|
+
u(f.defaultTabs);
|
|
2199
2199
|
});
|
|
2200
|
-
const
|
|
2201
|
-
h("onActive",
|
|
2200
|
+
const I = (y, v) => i(y, v), _ = (y) => {
|
|
2201
|
+
h("onActive", y);
|
|
2202
2202
|
};
|
|
2203
|
-
|
|
2203
|
+
c(f.max), In(() => {
|
|
2204
|
+
window.console.log("StackTabs unmounted"), d.value = !0, o();
|
|
2204
2205
|
});
|
|
2205
|
-
const
|
|
2206
|
+
const T = () => {
|
|
2206
2207
|
h("onPageLoaded");
|
|
2207
2208
|
};
|
|
2208
|
-
return (
|
|
2209
|
-
const
|
|
2209
|
+
return (y, v) => {
|
|
2210
|
+
const E = qt("router-view");
|
|
2210
2211
|
return z(), P("div", {
|
|
2211
|
-
class: ie(["stack-tab", { "stack-tab__maximum":
|
|
2212
|
+
class: ie(["stack-tab", { "stack-tab__maximum": S.value }]),
|
|
2212
2213
|
style: ot({
|
|
2213
|
-
width:
|
|
2214
|
-
height:
|
|
2215
|
-
"z-index":
|
|
2214
|
+
width: y.width,
|
|
2215
|
+
height: y.height,
|
|
2216
|
+
"z-index": S.value ? x(nn)("body *:not(.stack-tab,.stack-tab *)") : void 0
|
|
2216
2217
|
})
|
|
2217
2218
|
}, [
|
|
2218
|
-
N(
|
|
2219
|
-
space:
|
|
2220
|
-
onActive:
|
|
2221
|
-
"tab-transition":
|
|
2222
|
-
max:
|
|
2219
|
+
N(as, {
|
|
2220
|
+
space: y.space,
|
|
2221
|
+
onActive: _,
|
|
2222
|
+
"tab-transition": y.tabTransition,
|
|
2223
|
+
max: y.max
|
|
2223
2224
|
}, {
|
|
2224
|
-
leftButton:
|
|
2225
|
-
me(
|
|
2225
|
+
leftButton: oe(() => [
|
|
2226
|
+
me(y.$slots, "leftButton")
|
|
2226
2227
|
]),
|
|
2227
|
-
rightButton:
|
|
2228
|
-
me(
|
|
2228
|
+
rightButton: oe(() => [
|
|
2229
|
+
me(y.$slots, "rightButton")
|
|
2229
2230
|
]),
|
|
2230
2231
|
_: 3
|
|
2231
2232
|
}, 8, ["space", "tab-transition", "max"]),
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
default:
|
|
2233
|
+
X("div", Ns, [
|
|
2234
|
+
d.value ? Y("", !0) : (z(), ae(E, { key: 0 }, {
|
|
2235
|
+
default: oe(({ Component: a, route: p }) => [
|
|
2235
2236
|
N(Jt, {
|
|
2236
|
-
name:
|
|
2237
|
-
onAfterLeave:
|
|
2237
|
+
name: y.pageTransition,
|
|
2238
|
+
onAfterLeave: v[0] || (v[0] = (m) => r.value = !0),
|
|
2238
2239
|
mode: "out-in"
|
|
2239
2240
|
}, {
|
|
2240
|
-
default:
|
|
2241
|
-
(z(), ae(
|
|
2242
|
-
(z(), ae(
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
onOnLoaded: x
|
|
2247
|
-
}, null, 32)) : te("", !0)
|
|
2248
|
-
]),
|
|
2249
|
-
fallback: X(() => [
|
|
2250
|
-
Mn(" Loading.... ")
|
|
2251
|
-
]),
|
|
2252
|
-
_: 2
|
|
2253
|
-
}, 1024))
|
|
2241
|
+
default: oe(() => [
|
|
2242
|
+
(z(), ae(Bn, { include: x(s) }, [
|
|
2243
|
+
x(r) ? (z(), ae(Cn(I(p, a)), {
|
|
2244
|
+
key: p.fullPath,
|
|
2245
|
+
onOnLoaded: T
|
|
2246
|
+
}, null, 32)) : Y("", !0)
|
|
2254
2247
|
], 1032, ["include"]))
|
|
2255
2248
|
]),
|
|
2256
2249
|
_: 2
|
|
2257
2250
|
}, 1032, ["name"])
|
|
2258
2251
|
]),
|
|
2259
2252
|
_: 1
|
|
2260
|
-
}),
|
|
2253
|
+
})),
|
|
2261
2254
|
N(Yt, {
|
|
2262
|
-
name:
|
|
2255
|
+
name: y.pageTransition,
|
|
2263
2256
|
appear: ""
|
|
2264
2257
|
}, {
|
|
2265
|
-
default:
|
|
2266
|
-
(z(!0), P(Fe, null, it(
|
|
2267
|
-
key:
|
|
2258
|
+
default: oe(() => [
|
|
2259
|
+
(z(!0), P(Fe, null, it(x(n).filter((a) => a.iframe), (a) => Zt((z(), P("iframe", {
|
|
2260
|
+
key: a.id,
|
|
2268
2261
|
class: "stack-tab__iframe",
|
|
2269
|
-
src: /^(javascript|data):/i.test(
|
|
2262
|
+
src: /^(javascript|data):/i.test(a.url ?? "") ? "about:blank" : a.url,
|
|
2270
2263
|
frameborder: "0"
|
|
2271
|
-
}, null, 8,
|
|
2272
|
-
[Xt,
|
|
2264
|
+
}, null, 8, Ps)), [
|
|
2265
|
+
[Xt, a.active && x(r)]
|
|
2273
2266
|
])), 128))
|
|
2274
2267
|
]),
|
|
2275
2268
|
_: 1
|
|
@@ -2280,28 +2273,28 @@ const Ns = () => {
|
|
|
2280
2273
|
}
|
|
2281
2274
|
}), pt = typeof Buffer == "function";
|
|
2282
2275
|
typeof TextDecoder == "function" && new TextDecoder();
|
|
2283
|
-
const Vt = typeof TextEncoder == "function" ? new TextEncoder() : void 0,
|
|
2276
|
+
const Vt = typeof TextEncoder == "function" ? new TextEncoder() : void 0, js = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", we = Array.prototype.slice.call(js);
|
|
2284
2277
|
((e) => {
|
|
2285
2278
|
let t = {};
|
|
2286
2279
|
return e.forEach((n, r) => t[n] = r), t;
|
|
2287
|
-
})(
|
|
2280
|
+
})(we);
|
|
2288
2281
|
const Z = String.fromCharCode.bind(String);
|
|
2289
2282
|
typeof Uint8Array.from == "function" && Uint8Array.from.bind(Uint8Array);
|
|
2290
|
-
const
|
|
2283
|
+
const Ws = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), Us = (e) => {
|
|
2291
2284
|
let t, n, r, s, o = "";
|
|
2292
2285
|
const i = e.length % 3;
|
|
2293
|
-
for (let
|
|
2294
|
-
if ((n = e.charCodeAt(
|
|
2286
|
+
for (let u = 0; u < e.length; ) {
|
|
2287
|
+
if ((n = e.charCodeAt(u++)) > 255 || (r = e.charCodeAt(u++)) > 255 || (s = e.charCodeAt(u++)) > 255)
|
|
2295
2288
|
throw new TypeError("invalid character found");
|
|
2296
|
-
t = n << 16 | r << 8 | s, o +=
|
|
2289
|
+
t = n << 16 | r << 8 | s, o += we[t >> 18 & 63] + we[t >> 12 & 63] + we[t >> 6 & 63] + we[t & 63];
|
|
2297
2290
|
}
|
|
2298
2291
|
return i ? o.slice(0, i - 3) + "===".substring(i) : o;
|
|
2299
|
-
}, yn = typeof btoa == "function" ? (e) => btoa(e) : pt ? (e) => Buffer.from(e, "binary").toString("base64") :
|
|
2292
|
+
}, yn = typeof btoa == "function" ? (e) => btoa(e) : pt ? (e) => Buffer.from(e, "binary").toString("base64") : Us, Vs = pt ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
2300
2293
|
let n = [];
|
|
2301
2294
|
for (let r = 0, s = e.length; r < s; r += 4096)
|
|
2302
2295
|
n.push(Z.apply(null, e.subarray(r, r + 4096)));
|
|
2303
2296
|
return yn(n.join(""));
|
|
2304
|
-
},
|
|
2297
|
+
}, Fs = (e) => {
|
|
2305
2298
|
if (e.length < 2) {
|
|
2306
2299
|
var t = e.charCodeAt(0);
|
|
2307
2300
|
return t < 128 ? e : t < 2048 ? Z(192 | t >>> 6) + Z(128 | t & 63) : Z(224 | t >>> 12 & 15) + Z(128 | t >>> 6 & 63) + Z(128 | t & 63);
|
|
@@ -2309,81 +2302,81 @@ const Us = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
|
|
|
2309
2302
|
var t = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
2310
2303
|
return Z(240 | t >>> 18 & 7) + Z(128 | t >>> 12 & 63) + Z(128 | t >>> 6 & 63) + Z(128 | t & 63);
|
|
2311
2304
|
}
|
|
2312
|
-
},
|
|
2313
|
-
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," + Zs(r), f = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2305
|
+
}, qs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Gs = (e) => e.replace(qs, Fs), Ft = pt ? (e) => Buffer.from(e, "utf8").toString("base64") : Vt ? (e) => Vs(Vt.encode(e)) : (e) => yn(Gs(e)), Hs = (e, t = !1) => t ? Ws(Ft(e)) : Ft(e), Zs = (e) => {
|
|
2306
|
+
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," + Hs(r), u = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2314
2307
|
window.console.log(
|
|
2315
2308
|
"%c+",
|
|
2316
|
-
|
|
2309
|
+
u + `background-image: url(${i});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`
|
|
2317
2310
|
);
|
|
2318
|
-
},
|
|
2319
|
-
const { attrs: e, props: t } = Kt(), { pageShown: n, getTab: r, markDeletableCache: s, removeComponent: o, getComponent: i, addPageScroller:
|
|
2320
|
-
let h = "",
|
|
2311
|
+
}, Xs = () => {
|
|
2312
|
+
const { attrs: e, props: t } = Kt(), { pageShown: n, getTab: r, markDeletableCache: s, removeComponent: o, getComponent: i, addPageScroller: u } = Ae(), c = Mn(), l = at();
|
|
2313
|
+
let h = "", f = "";
|
|
2321
2314
|
h = e.tId || t.tId;
|
|
2322
2315
|
const d = e.pId || t.pId;
|
|
2323
|
-
return
|
|
2324
|
-
forward: (
|
|
2316
|
+
return f = c.query.__tab, {
|
|
2317
|
+
forward: (I) => {
|
|
2325
2318
|
n.value = !1;
|
|
2326
|
-
const
|
|
2319
|
+
const _ = ee(
|
|
2327
2320
|
{
|
|
2328
|
-
__tab:
|
|
2321
|
+
__tab: f
|
|
2329
2322
|
},
|
|
2330
|
-
|
|
2323
|
+
I.query
|
|
2331
2324
|
);
|
|
2332
2325
|
l.push({
|
|
2333
|
-
path:
|
|
2334
|
-
query:
|
|
2326
|
+
path: I.path,
|
|
2327
|
+
query: _
|
|
2335
2328
|
});
|
|
2336
2329
|
},
|
|
2337
|
-
backward: (
|
|
2330
|
+
backward: (I, _) => {
|
|
2338
2331
|
n.value = !1;
|
|
2339
|
-
const
|
|
2340
|
-
if (!
|
|
2332
|
+
const T = r(h);
|
|
2333
|
+
if (!T)
|
|
2341
2334
|
return;
|
|
2342
|
-
const
|
|
2343
|
-
let
|
|
2344
|
-
if (typeof
|
|
2345
|
-
|
|
2335
|
+
const y = T.pages;
|
|
2336
|
+
let v = 0;
|
|
2337
|
+
if (typeof I == "number")
|
|
2338
|
+
v = Math.abs(I);
|
|
2346
2339
|
else {
|
|
2347
|
-
let p = 1,
|
|
2348
|
-
const j =
|
|
2349
|
-
|
|
2350
|
-
for (let q =
|
|
2340
|
+
let p = 1, m = !1;
|
|
2341
|
+
const j = y.list(), F = dt(I);
|
|
2342
|
+
_ = ee(F.query, _);
|
|
2343
|
+
for (let q = y.size() - 2; q >= 0; q--) {
|
|
2351
2344
|
if (j[q].path === F.path) {
|
|
2352
|
-
|
|
2345
|
+
m = !0;
|
|
2353
2346
|
break;
|
|
2354
2347
|
}
|
|
2355
2348
|
p += 1;
|
|
2356
2349
|
}
|
|
2357
|
-
|
|
2350
|
+
m && (v = p);
|
|
2358
2351
|
}
|
|
2359
|
-
if (
|
|
2352
|
+
if (v === 0 || y.size() <= v)
|
|
2360
2353
|
return;
|
|
2361
|
-
for (let p = 0; p <
|
|
2362
|
-
const
|
|
2363
|
-
o(
|
|
2354
|
+
for (let p = 0; p < v; p++) {
|
|
2355
|
+
const m = y.pop();
|
|
2356
|
+
o(m.id), s(m.id);
|
|
2364
2357
|
}
|
|
2365
|
-
const
|
|
2366
|
-
if (
|
|
2367
|
-
const p =
|
|
2368
|
-
p.props = ee(
|
|
2358
|
+
const E = y == null ? void 0 : y.peek(), a = i(E.id);
|
|
2359
|
+
if (a != null) {
|
|
2360
|
+
const p = a.components.DynamicComponent;
|
|
2361
|
+
p.props = ee(_, p.props);
|
|
2369
2362
|
}
|
|
2370
2363
|
l.push({
|
|
2371
|
-
path:
|
|
2372
|
-
query:
|
|
2364
|
+
path: E.path,
|
|
2365
|
+
query: E.query
|
|
2373
2366
|
});
|
|
2374
2367
|
},
|
|
2375
|
-
addScroller: (...
|
|
2376
|
-
|
|
2368
|
+
addScroller: (...I) => {
|
|
2369
|
+
u(d, ...I);
|
|
2377
2370
|
}
|
|
2378
2371
|
};
|
|
2379
|
-
},
|
|
2372
|
+
}, Qs = /* @__PURE__ */ J({
|
|
2380
2373
|
__name: "iframe",
|
|
2381
2374
|
setup(e) {
|
|
2382
|
-
return
|
|
2375
|
+
return Xs(), (t, n) => (z(), P("div"));
|
|
2383
2376
|
}
|
|
2384
|
-
}),
|
|
2385
|
-
const e =
|
|
2386
|
-
|
|
2377
|
+
}), eo = () => {
|
|
2378
|
+
const e = Ee(), { attrs: t } = Kt();
|
|
2379
|
+
Ve(() => {
|
|
2387
2380
|
r();
|
|
2388
2381
|
});
|
|
2389
2382
|
const n = () => {
|
|
@@ -2392,19 +2385,19 @@ const Us = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
|
|
|
2392
2385
|
e.emit(V.PAGE_LOADING, { tId: t.tId, value: !1 });
|
|
2393
2386
|
};
|
|
2394
2387
|
return { openTabLoading: n, closeTabLoading: r };
|
|
2395
|
-
},
|
|
2388
|
+
}, to = {
|
|
2396
2389
|
install(e, t) {
|
|
2397
|
-
|
|
2390
|
+
Zs("0.1.25"), e.component("VueStackTabs", Ds).use(_r).use(Hn().getI18n(t));
|
|
2398
2391
|
}
|
|
2399
2392
|
};
|
|
2400
2393
|
export {
|
|
2401
|
-
|
|
2394
|
+
Qs as IFrame,
|
|
2402
2395
|
He as Stack,
|
|
2403
|
-
|
|
2396
|
+
Ds as StackTab,
|
|
2404
2397
|
rt as TabHeaderButton,
|
|
2405
2398
|
ue as TabScrollMode,
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2399
|
+
to as default,
|
|
2400
|
+
Rs as useStackTab,
|
|
2401
|
+
eo as useTabLoading,
|
|
2402
|
+
Xs as useTabRouter
|
|
2410
2403
|
};
|