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