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