app-devtools 0.29.0 → 0.30.0
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/main.js +469 -444
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import ne from "dayjs";
|
|
2
|
-
import { dequal as
|
|
3
|
-
import { produce as
|
|
4
|
-
import { parse as
|
|
5
|
-
import { nanoid as
|
|
6
|
-
import * as
|
|
7
|
-
import
|
|
8
|
-
const U = {},
|
|
9
|
-
equals:
|
|
2
|
+
import { dequal as xt } from "dequal";
|
|
3
|
+
import { produce as Kt } from "immer";
|
|
4
|
+
import { parse as Jt } from "regexparam";
|
|
5
|
+
import { nanoid as Xt } from "nanoid";
|
|
6
|
+
import * as Yt from "diff";
|
|
7
|
+
import Gt from "tinykeys";
|
|
8
|
+
const U = {}, Qt = (e, t) => e === t, D = Symbol("solid-proxy"), ve = Symbol("solid-track"), be = {
|
|
9
|
+
equals: Qt
|
|
10
10
|
};
|
|
11
|
-
let
|
|
12
|
-
const q = 1, we = 2,
|
|
11
|
+
let qt = Pt;
|
|
12
|
+
const q = 1, we = 2, Ct = {
|
|
13
13
|
owned: null,
|
|
14
14
|
cleanups: null,
|
|
15
15
|
context: null,
|
|
@@ -18,12 +18,12 @@ const q = 1, we = 2, xt = {
|
|
|
18
18
|
var P = null;
|
|
19
19
|
let J = null, N = null, E = null, X = null, Ke = 0;
|
|
20
20
|
function re(e, t) {
|
|
21
|
-
const n = N, r = P, l = e.length === 0, o = l ?
|
|
21
|
+
const n = N, r = P, l = e.length === 0, o = l ? Ct : {
|
|
22
22
|
owned: null,
|
|
23
23
|
cleanups: null,
|
|
24
24
|
context: null,
|
|
25
25
|
owner: t === void 0 ? r : t
|
|
26
|
-
}, s = l ? e : () => e(() =>
|
|
26
|
+
}, s = l ? e : () => e(() => W(() => Te(o)));
|
|
27
27
|
P = o, N = null;
|
|
28
28
|
try {
|
|
29
29
|
return ue(s, !0);
|
|
@@ -38,22 +38,22 @@ function oe(e, t) {
|
|
|
38
38
|
observers: null,
|
|
39
39
|
observerSlots: null,
|
|
40
40
|
comparator: t.equals || void 0
|
|
41
|
-
}, r = (l) => (typeof l == "function" && (l = l(n.value)),
|
|
42
|
-
return [
|
|
41
|
+
}, r = (l) => (typeof l == "function" && (l = l(n.value)), Nt(n, l));
|
|
42
|
+
return [kt.bind(n), r];
|
|
43
43
|
}
|
|
44
44
|
function _(e, t, n) {
|
|
45
|
-
const r =
|
|
45
|
+
const r = At(e, t, !1, q);
|
|
46
46
|
Ae(r);
|
|
47
47
|
}
|
|
48
48
|
function m(e, t, n) {
|
|
49
49
|
n = n ? Object.assign({}, be, n) : be;
|
|
50
|
-
const r =
|
|
51
|
-
return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, Ae(r),
|
|
50
|
+
const r = At(e, t, !0, 0);
|
|
51
|
+
return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, Ae(r), kt.bind(r);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function en(e) {
|
|
54
54
|
return ue(e, !1);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function W(e) {
|
|
57
57
|
if (N === null)
|
|
58
58
|
return e();
|
|
59
59
|
const t = N;
|
|
@@ -64,20 +64,20 @@ function Z(e) {
|
|
|
64
64
|
N = t;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function _t(e) {
|
|
68
68
|
return P === null || (P.cleanups === null ? P.cleanups = [e] : P.cleanups.push(e)), e;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function St() {
|
|
71
71
|
return N;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function tn(e) {
|
|
74
74
|
const t = m(e), n = m(() => De(t()));
|
|
75
75
|
return n.toArray = () => {
|
|
76
76
|
const r = n();
|
|
77
77
|
return Array.isArray(r) ? r : r != null ? [r] : [];
|
|
78
78
|
}, n;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function kt() {
|
|
81
81
|
const e = J;
|
|
82
82
|
if (this.sources && (this.state || e))
|
|
83
83
|
if (this.state === q || e)
|
|
@@ -92,12 +92,12 @@ function St() {
|
|
|
92
92
|
}
|
|
93
93
|
return this.value;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Nt(e, t, n) {
|
|
96
96
|
let r = e.value;
|
|
97
97
|
return (!e.comparator || !e.comparator(r, t)) && (e.value = t, e.observers && e.observers.length && ue(() => {
|
|
98
98
|
for (let l = 0; l < e.observers.length; l += 1) {
|
|
99
99
|
const o = e.observers[l], s = J && J.running;
|
|
100
|
-
s && J.disposed.has(o), (s && !o.tState || !s && !o.state) && (o.pure ? E.push(o) : X.push(o), o.observers &&
|
|
100
|
+
s && J.disposed.has(o), (s && !o.tState || !s && !o.state) && (o.pure ? E.push(o) : X.push(o), o.observers && Et(o)), s || (o.state = q);
|
|
101
101
|
}
|
|
102
102
|
if (E.length > 1e6)
|
|
103
103
|
throw E = [], new Error();
|
|
@@ -108,18 +108,18 @@ function Ae(e) {
|
|
|
108
108
|
return;
|
|
109
109
|
Te(e);
|
|
110
110
|
const t = P, n = N, r = Ke;
|
|
111
|
-
N = P = e,
|
|
111
|
+
N = P = e, nn(e, e.value, r), N = n, P = t;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function nn(e, t, n) {
|
|
114
114
|
let r;
|
|
115
115
|
try {
|
|
116
116
|
r = e.fn(t);
|
|
117
117
|
} catch (l) {
|
|
118
|
-
e.pure && (e.state = q, e.owned && e.owned.forEach(Te), e.owned = null),
|
|
118
|
+
e.pure && (e.state = q, e.owned && e.owned.forEach(Te), e.owned = null), Ot(l);
|
|
119
119
|
}
|
|
120
|
-
(!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ?
|
|
120
|
+
(!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ? Nt(e, r) : e.value = r, e.updatedAt = n);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function At(e, t, n, r = q, l) {
|
|
123
123
|
const o = {
|
|
124
124
|
fn: e,
|
|
125
125
|
state: r,
|
|
@@ -133,15 +133,15 @@ function Nt(e, t, n, r = q, l) {
|
|
|
133
133
|
context: null,
|
|
134
134
|
pure: n
|
|
135
135
|
};
|
|
136
|
-
return P === null || P !==
|
|
136
|
+
return P === null || P !== Ct && (P.owned ? P.owned.push(o) : P.owned = [o]), o;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function Tt(e) {
|
|
139
139
|
const t = J;
|
|
140
140
|
if (e.state === 0 || t)
|
|
141
141
|
return;
|
|
142
142
|
if (e.state === we || t)
|
|
143
143
|
return xe(e);
|
|
144
|
-
if (e.suspense &&
|
|
144
|
+
if (e.suspense && W(e.suspense.inFallback))
|
|
145
145
|
return e.suspense.effects.push(e);
|
|
146
146
|
const n = [e];
|
|
147
147
|
for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < Ke); )
|
|
@@ -161,34 +161,34 @@ function ue(e, t) {
|
|
|
161
161
|
t || (E = []), X ? n = !0 : X = [], Ke++;
|
|
162
162
|
try {
|
|
163
163
|
const r = e();
|
|
164
|
-
return
|
|
164
|
+
return rn(n), r;
|
|
165
165
|
} catch (r) {
|
|
166
|
-
n || (X = null), E = null,
|
|
166
|
+
n || (X = null), E = null, Ot(r);
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
if (E && (
|
|
169
|
+
function rn(e) {
|
|
170
|
+
if (E && (Pt(E), E = null), e)
|
|
171
171
|
return;
|
|
172
172
|
const t = X;
|
|
173
|
-
X = null, t.length && ue(() =>
|
|
173
|
+
X = null, t.length && ue(() => qt(t), !1);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Pt(e) {
|
|
176
176
|
for (let t = 0; t < e.length; t++)
|
|
177
|
-
|
|
177
|
+
Tt(e[t]);
|
|
178
178
|
}
|
|
179
179
|
function xe(e, t) {
|
|
180
180
|
const n = J;
|
|
181
181
|
e.state = 0;
|
|
182
182
|
for (let r = 0; r < e.sources.length; r += 1) {
|
|
183
183
|
const l = e.sources[r];
|
|
184
|
-
l.sources && (l.state === q || n ? l !== t &&
|
|
184
|
+
l.sources && (l.state === q || n ? l !== t && Tt(l) : (l.state === we || n) && xe(l, t));
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Et(e) {
|
|
188
188
|
const t = J;
|
|
189
189
|
for (let n = 0; n < e.observers.length; n += 1) {
|
|
190
190
|
const r = e.observers[n];
|
|
191
|
-
(!r.state || t) && (r.state = we, r.pure ? E.push(r) : X.push(r), r.observers &&
|
|
191
|
+
(!r.state || t) && (r.state = we, r.pure ? E.push(r) : X.push(r), r.observers && Et(r));
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
function Te(e) {
|
|
@@ -213,11 +213,11 @@ function Te(e) {
|
|
|
213
213
|
}
|
|
214
214
|
e.state = 0, e.context = null;
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function ln(e) {
|
|
217
217
|
return e instanceof Error || typeof e == "string" ? e : new Error("Unknown error");
|
|
218
218
|
}
|
|
219
|
-
function
|
|
220
|
-
throw e =
|
|
219
|
+
function Ot(e) {
|
|
220
|
+
throw e = ln(e), e;
|
|
221
221
|
}
|
|
222
222
|
function De(e) {
|
|
223
223
|
if (typeof e == "function" && !e.length)
|
|
@@ -237,12 +237,12 @@ function Ce(e) {
|
|
|
237
237
|
for (let t = 0; t < e.length; t++)
|
|
238
238
|
e[t]();
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function on(e, t, n = {}) {
|
|
241
241
|
let r = [], l = [], o = [], s = 0, i = t.length > 1 ? [] : null;
|
|
242
|
-
return
|
|
242
|
+
return _t(() => Ce(o)), () => {
|
|
243
243
|
let a = e() || [], c, u;
|
|
244
|
-
return a[ve],
|
|
245
|
-
let d = a.length, g, v, b, w, k, x, A, T,
|
|
244
|
+
return a[ve], W(() => {
|
|
245
|
+
let d = a.length, g, v, b, w, k, x, A, T, L;
|
|
246
246
|
if (d === 0)
|
|
247
247
|
s !== 0 && (Ce(o), o = [], r = [], l = [], s = 0, i && (i = [])), n.fallback && (r = [ze], l[0] = re((H) => (o[0] = H, n.fallback())), s = 1);
|
|
248
248
|
else if (s === 0) {
|
|
@@ -255,9 +255,9 @@ function ln(e, t, n = {}) {
|
|
|
255
255
|
for (A = s - 1, T = d - 1; A >= x && T >= x && r[A] === a[T]; A--, T--)
|
|
256
256
|
b[T] = l[A], w[T] = o[A], i && (k[T] = i[A]);
|
|
257
257
|
for (g = /* @__PURE__ */ new Map(), v = new Array(T + 1), u = T; u >= x; u--)
|
|
258
|
-
|
|
258
|
+
L = a[u], c = g.get(L), v[u] = c === void 0 ? -1 : c, g.set(L, u);
|
|
259
259
|
for (c = x; c <= A; c++)
|
|
260
|
-
|
|
260
|
+
L = r[c], u = g.get(L), u !== void 0 && u !== -1 ? (b[u] = l[c], w[u] = o[c], i && (k[u] = i[c]), u = v[u], g.set(L, u)) : o[c]();
|
|
261
261
|
for (u = x; u < d; u++)
|
|
262
262
|
u in b ? (l[u] = b[u], o[u] = w[u], i && (i[u] = k[u], i[u](u))) : l[u] = re(p);
|
|
263
263
|
l = l.slice(0, s = d), r = a.slice(0);
|
|
@@ -273,11 +273,11 @@ function ln(e, t, n = {}) {
|
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function sn(e, t, n = {}) {
|
|
277
277
|
let r = [], l = [], o = [], s = [], i = 0, a;
|
|
278
|
-
return
|
|
278
|
+
return _t(() => Ce(o)), () => {
|
|
279
279
|
const c = e() || [];
|
|
280
|
-
return c[ve],
|
|
280
|
+
return c[ve], W(() => {
|
|
281
281
|
if (c.length === 0)
|
|
282
282
|
return i !== 0 && (Ce(o), o = [], r = [], l = [], i = 0, s = []), n.fallback && (r = [ze], l[0] = re((p) => (o[0] = p, n.fallback())), i = 1), l;
|
|
283
283
|
for (r[0] === ze && (o[0](), o = [], r = [], l = [], i = 0), a = 0; a < c.length; a++)
|
|
@@ -294,12 +294,12 @@ function on(e, t, n = {}) {
|
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
296
|
function h(e, t) {
|
|
297
|
-
return
|
|
297
|
+
return W(() => e(t || {}));
|
|
298
298
|
}
|
|
299
299
|
function me() {
|
|
300
300
|
return !0;
|
|
301
301
|
}
|
|
302
|
-
const
|
|
302
|
+
const an = {
|
|
303
303
|
get(e, t, n) {
|
|
304
304
|
return t === D ? n : e.get(t);
|
|
305
305
|
},
|
|
@@ -326,7 +326,7 @@ const sn = {
|
|
|
326
326
|
function Ie(e) {
|
|
327
327
|
return (e = typeof e == "function" ? e() : e) ? e : {};
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function cn(...e) {
|
|
330
330
|
let t = !1;
|
|
331
331
|
for (let r = 0; r < e.length; r++) {
|
|
332
332
|
const l = e[r];
|
|
@@ -353,7 +353,7 @@ function an(...e) {
|
|
|
353
353
|
r.push(...Object.keys(Ie(e[l])));
|
|
354
354
|
return [...new Set(r)];
|
|
355
355
|
}
|
|
356
|
-
},
|
|
356
|
+
}, an);
|
|
357
357
|
const n = {};
|
|
358
358
|
for (let r = e.length - 1; r >= 0; r--)
|
|
359
359
|
if (e[r]) {
|
|
@@ -376,13 +376,13 @@ function G(e) {
|
|
|
376
376
|
const t = "fallback" in e && {
|
|
377
377
|
fallback: () => e.fallback
|
|
378
378
|
};
|
|
379
|
-
return m(
|
|
379
|
+
return m(on(() => e.each, e.children, t || void 0));
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function un(e) {
|
|
382
382
|
const t = "fallback" in e && {
|
|
383
383
|
fallback: () => e.fallback
|
|
384
384
|
};
|
|
385
|
-
return m(
|
|
385
|
+
return m(sn(() => e.each, e.children, t || void 0));
|
|
386
386
|
}
|
|
387
387
|
function Y(e) {
|
|
388
388
|
let t = !1;
|
|
@@ -393,14 +393,14 @@ function Y(e) {
|
|
|
393
393
|
const l = r();
|
|
394
394
|
if (l) {
|
|
395
395
|
const o = e.children, s = typeof o == "function" && o.length > 0;
|
|
396
|
-
return t = n || s, s ?
|
|
396
|
+
return t = n || s, s ? W(() => o(l)) : o;
|
|
397
397
|
}
|
|
398
398
|
return e.fallback;
|
|
399
399
|
}, void 0, void 0);
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function dn(e) {
|
|
402
402
|
let t = !1, n = !1;
|
|
403
|
-
const r = (s, i) => s[0] === i[0] && (t ? s[1] === i[1] : !s[1] == !i[1]) && s[2] === i[2], l =
|
|
403
|
+
const r = (s, i) => s[0] === i[0] && (t ? s[1] === i[1] : !s[1] == !i[1]) && s[2] === i[2], l = tn(() => e.children), o = m(() => {
|
|
404
404
|
let s = l();
|
|
405
405
|
Array.isArray(s) || (s = [s]);
|
|
406
406
|
for (let i = 0; i < s.length; i++) {
|
|
@@ -417,13 +417,13 @@ function un(e) {
|
|
|
417
417
|
if (s < 0)
|
|
418
418
|
return e.fallback;
|
|
419
419
|
const c = a.children, u = typeof c == "function" && c.length > 0;
|
|
420
|
-
return t = n || u, u ?
|
|
420
|
+
return t = n || u, u ? W(() => c(i)) : c;
|
|
421
421
|
}, void 0, void 0);
|
|
422
422
|
}
|
|
423
423
|
function de(e) {
|
|
424
424
|
return e;
|
|
425
425
|
}
|
|
426
|
-
const
|
|
426
|
+
const fn = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], pn = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...fn]), hn = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), gn = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
427
427
|
className: "class",
|
|
428
428
|
htmlFor: "for"
|
|
429
429
|
}), Ye = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
@@ -433,7 +433,7 @@ const dn = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "con
|
|
|
433
433
|
nomodule: "noModule",
|
|
434
434
|
playsinline: "playsInline",
|
|
435
435
|
readonly: "readOnly"
|
|
436
|
-
}),
|
|
436
|
+
}), mn = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), yn = {
|
|
437
437
|
xlink: "http://www.w3.org/1999/xlink",
|
|
438
438
|
xml: "http://www.w3.org/XML/1998/namespace"
|
|
439
439
|
};
|
|
@@ -483,7 +483,7 @@ function $n(e, t, n) {
|
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
485
|
const Ge = "_$DX_DELEGATE";
|
|
486
|
-
function
|
|
486
|
+
function vn(e, t, n, r = {}) {
|
|
487
487
|
let l;
|
|
488
488
|
return re((o) => {
|
|
489
489
|
l = o, t === document ? e() : f(t, e(), t.firstChild ? null : void 0, n);
|
|
@@ -491,7 +491,7 @@ function yn(e, t, n, r = {}) {
|
|
|
491
491
|
l(), t.textContent = "";
|
|
492
492
|
};
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function $(e, t, n) {
|
|
495
495
|
const r = document.createElement("template");
|
|
496
496
|
r.innerHTML = e;
|
|
497
497
|
let l = r.content.firstChild;
|
|
@@ -501,13 +501,13 @@ function Pe(e, t = window.document) {
|
|
|
501
501
|
const n = t[Ge] || (t[Ge] = /* @__PURE__ */ new Set());
|
|
502
502
|
for (let r = 0, l = e.length; r < l; r++) {
|
|
503
503
|
const o = e[r];
|
|
504
|
-
n.has(o) || (n.add(o), t.addEventListener(o,
|
|
504
|
+
n.has(o) || (n.add(o), t.addEventListener(o, Sn));
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
507
|
function j(e, t, n) {
|
|
508
508
|
n == null ? e.removeAttribute(t) : e.setAttribute(t, n);
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function bn(e, t, n, r) {
|
|
511
511
|
r == null ? e.removeAttributeNS(t, n) : e.setAttributeNS(t, n, r);
|
|
512
512
|
}
|
|
513
513
|
function C(e, t) {
|
|
@@ -522,7 +522,7 @@ function _e(e, t, n, r) {
|
|
|
522
522
|
} else
|
|
523
523
|
e.addEventListener(t, n);
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function wn(e, t, n = {}) {
|
|
526
526
|
const r = Object.keys(t || {}), l = Object.keys(n);
|
|
527
527
|
let o, s;
|
|
528
528
|
for (o = 0, s = l.length; o < s; o++) {
|
|
@@ -549,16 +549,16 @@ function Lt(e, t, n) {
|
|
|
549
549
|
l = t[o], l !== n[o] && (r.setProperty(o, l), n[o] = l);
|
|
550
550
|
return n;
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function xn(e, t = {}, n, r) {
|
|
553
553
|
const l = {};
|
|
554
|
-
return r || _(() => l.children = ie(e, t.children, l.children)), _(() => t.ref && t.ref(e)), _(() =>
|
|
554
|
+
return r || _(() => l.children = ie(e, t.children, l.children)), _(() => t.ref && t.ref(e)), _(() => Cn(e, t, n, !0, l, !0)), l;
|
|
555
555
|
}
|
|
556
556
|
function f(e, t, n, r) {
|
|
557
557
|
if (n !== void 0 && !r && (r = []), typeof t != "function")
|
|
558
558
|
return ie(e, t, r, n);
|
|
559
559
|
_((l) => ie(e, t(), l, n), r);
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function Cn(e, t, n, r, l = {}, o = !1) {
|
|
562
562
|
t || (t = {});
|
|
563
563
|
for (const s in l)
|
|
564
564
|
if (!(s in t)) {
|
|
@@ -575,7 +575,7 @@ function xn(e, t, n, r, l = {}, o = !1) {
|
|
|
575
575
|
l[s] = qe(e, s, i, l[s], n, o);
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function _n(e) {
|
|
579
579
|
return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
|
|
580
580
|
}
|
|
581
581
|
function Qe(e, t, n) {
|
|
@@ -588,7 +588,7 @@ function qe(e, t, n, r, l, o) {
|
|
|
588
588
|
if (t === "style")
|
|
589
589
|
return Lt(e, n, r);
|
|
590
590
|
if (t === "classList")
|
|
591
|
-
return
|
|
591
|
+
return wn(e, n, r);
|
|
592
592
|
if (n === r)
|
|
593
593
|
return r;
|
|
594
594
|
if (t === "ref")
|
|
@@ -600,21 +600,21 @@ function qe(e, t, n, r, l, o) {
|
|
|
600
600
|
const c = t.slice(10);
|
|
601
601
|
r && e.removeEventListener(c, r, !0), n && e.addEventListener(c, n, !0);
|
|
602
602
|
} else if (t.slice(0, 2) === "on") {
|
|
603
|
-
const c = t.slice(2).toLowerCase(), u =
|
|
603
|
+
const c = t.slice(2).toLowerCase(), u = mn.has(c);
|
|
604
604
|
if (!u && r) {
|
|
605
605
|
const p = Array.isArray(r) ? r[0] : r;
|
|
606
606
|
e.removeEventListener(c, p);
|
|
607
607
|
}
|
|
608
608
|
(u || n) && (_e(e, c, n, u), u && Pe([c]));
|
|
609
|
-
} else if ((a =
|
|
610
|
-
t === "class" || t === "className" ? C(e, n) : s && !i && !a ? e[
|
|
609
|
+
} else if ((a = hn.has(t)) || !l && (Ye[t] || (i = pn.has(t))) || (s = e.nodeName.includes("-")))
|
|
610
|
+
t === "class" || t === "className" ? C(e, n) : s && !i && !a ? e[_n(t)] = n : e[Ye[t] || t] = n;
|
|
611
611
|
else {
|
|
612
|
-
const c = l && t.indexOf(":") > -1 &&
|
|
613
|
-
c ?
|
|
612
|
+
const c = l && t.indexOf(":") > -1 && yn[t.split(":")[0]];
|
|
613
|
+
c ? bn(e, c, t, n) : j(e, gn[t] || t, n);
|
|
614
614
|
}
|
|
615
615
|
return n;
|
|
616
616
|
}
|
|
617
|
-
function
|
|
617
|
+
function Sn(e) {
|
|
618
618
|
const t = `$$${e.type}`;
|
|
619
619
|
let n = e.composedPath && e.composedPath()[0] || e.target;
|
|
620
620
|
for (e.target !== n && Object.defineProperty(e, "target", {
|
|
@@ -743,7 +743,7 @@ function ee(e, t, n, r) {
|
|
|
743
743
|
e.insertBefore(l, n);
|
|
744
744
|
return [l];
|
|
745
745
|
}
|
|
746
|
-
var
|
|
746
|
+
var kn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Fe = {}, Nn = {
|
|
747
747
|
get exports() {
|
|
748
748
|
return Fe;
|
|
749
749
|
},
|
|
@@ -754,7 +754,7 @@ var Sn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
754
754
|
(function(e, t) {
|
|
755
755
|
(function(n, r) {
|
|
756
756
|
e.exports = r();
|
|
757
|
-
})(
|
|
757
|
+
})(kn, function() {
|
|
758
758
|
return function(n, r, l) {
|
|
759
759
|
n = n || {};
|
|
760
760
|
var o = r.prototype, s = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
@@ -763,13 +763,13 @@ var Sn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
763
763
|
}
|
|
764
764
|
l.en.relativeTime = s, o.fromToBase = function(c, u, p, d, g) {
|
|
765
765
|
for (var v, b, w, k = p.$locale().relativeTime || s, x = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], A = x.length, T = 0; T < A; T += 1) {
|
|
766
|
-
var
|
|
767
|
-
|
|
766
|
+
var L = x[T];
|
|
767
|
+
L.d && (v = d ? l(c).diff(p, L.d, !0) : p.diff(c, L.d, !0));
|
|
768
768
|
var H = (n.rounding || Math.round)(Math.abs(v));
|
|
769
|
-
if (w = v > 0, H <=
|
|
770
|
-
H <= 1 && T > 0 && (
|
|
771
|
-
var
|
|
772
|
-
g && (H = g("" + H)), b = typeof
|
|
769
|
+
if (w = v > 0, H <= L.r || !L.r) {
|
|
770
|
+
H <= 1 && T > 0 && (L = x[T - 1]);
|
|
771
|
+
var Le = k[L.l];
|
|
772
|
+
g && (H = g("" + H)), b = typeof Le == "string" ? Le.replace("%d", H) : Le(H, u, L.l, w);
|
|
773
773
|
break;
|
|
774
774
|
}
|
|
775
775
|
}
|
|
@@ -792,17 +792,17 @@ var Sn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
792
792
|
};
|
|
793
793
|
};
|
|
794
794
|
});
|
|
795
|
-
})(
|
|
796
|
-
const
|
|
797
|
-
const t =
|
|
798
|
-
return
|
|
799
|
-
onMouseDown:
|
|
795
|
+
})(Nn);
|
|
796
|
+
const An = Fe, Tn = /* @__PURE__ */ $("<button></button>"), F = (e) => (() => {
|
|
797
|
+
const t = Tn.cloneNode(!0);
|
|
798
|
+
return xn(t, cn(e, {
|
|
799
|
+
onMouseDown: Pn
|
|
800
800
|
}), !1, !1), t;
|
|
801
801
|
})();
|
|
802
|
-
function
|
|
802
|
+
function Pn(e) {
|
|
803
803
|
e.preventDefault();
|
|
804
804
|
}
|
|
805
|
-
const
|
|
805
|
+
const En = `<svg
|
|
806
806
|
xmlns="http://www.w3.org/2000/svg"
|
|
807
807
|
width="32"
|
|
808
808
|
height="32"
|
|
@@ -813,7 +813,7 @@ const Pn = `<svg
|
|
|
813
813
|
d="m24 12l-8 10l-8-10z"
|
|
814
814
|
/>
|
|
815
815
|
</svg>
|
|
816
|
-
`,
|
|
816
|
+
`, On = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
817
817
|
<path d="M21 28C22.1046 28 23 27.1046 23 26C23 24.8954 22.1046 24 21 24C19.8954 24 19 24.8954 19 26C19 27.1046 19.8954 28 21 28Z" fill="currentColor"/>
|
|
818
818
|
<path d="M21 8C22.1046 8 23 7.10457 23 6C23 4.89543 22.1046 4 21 4C19.8954 4 19 4.89543 19 6C19 7.10457 19.8954 8 21 8Z" fill="currentColor"/>
|
|
819
819
|
<path d="M4 18C5.10457 18 6 17.1046 6 16C6 14.8954 5.10457 14 4 14C2.89543 14 2 14.8954 2 16C2 17.1046 2.89543 18 4 18Z" fill="currentColor"/>
|
|
@@ -822,21 +822,21 @@ const Pn = `<svg
|
|
|
822
822
|
`, Ln = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
823
823
|
<path d="M29 27.586L21.448 20.034C23.2628 17.8553 24.1678 15.0608 23.9747 12.2319C23.7816 9.40297 22.5053 6.75739 20.4112 4.84552C18.3172 2.93364 15.5667 1.90267 12.732 1.96709C9.89717 2.0315 7.19635 3.18633 5.19134 5.19134C3.18633 7.19635 2.0315 9.89717 1.96709 12.732C1.90268 15.5667 2.93364 18.3172 4.84552 20.4112C6.75739 22.5053 9.40297 23.7816 12.2319 23.9747C15.0608 24.1678 17.8553 23.2628 20.034 21.448L27.586 29L29 27.586ZM4 13C4 11.22 4.52784 9.47991 5.51677 7.99987C6.50571 6.51983 7.91132 5.36627 9.55585 4.68508C11.2004 4.0039 13.01 3.82567 14.7558 4.17293C16.5016 4.5202 18.1053 5.37737 19.364 6.63604C20.6226 7.89471 21.4798 9.49836 21.8271 11.2442C22.1743 12.99 21.9961 14.7996 21.3149 16.4442C20.6337 18.0887 19.4802 19.4943 18.0001 20.4832C16.5201 21.4722 14.78 22 13 22C10.6139 21.9974 8.32622 21.0483 6.63896 19.361C4.95171 17.6738 4.00265 15.3861 4 13Z" fill="currentColor"/>
|
|
824
824
|
</svg>
|
|
825
|
-
`,
|
|
825
|
+
`, jn = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
826
826
|
<path d="M27.71 4.29C27.575 4.15567 27.4045 4.06267 27.2185 4.02193C27.0325 3.98118 26.8388 3.99439 26.66 4.06L4.66 12.06C4.47027 12.132 4.30692 12.26 4.19165 12.427C4.07638 12.594 4.01465 12.7921 4.01465 12.995C4.01465 13.1979 4.07638 13.396 4.19165 13.563C4.30692 13.73 4.47027 13.858 4.66 13.93L14.26 17.77L18.1 27.37C18.1721 27.5514 18.2958 27.7077 18.4557 27.8197C18.6157 27.9316 18.8049 27.9943 19 28C19.2021 27.9959 19.3982 27.9306 19.5624 27.8127C19.7266 27.6949 19.8513 27.5301 19.92 27.34L27.92 5.34C27.9881 5.16308 28.0046 4.97043 27.9674 4.78452C27.9302 4.59862 27.8409 4.42711 27.71 4.29ZM19 24.2L16.21 17.2L21 12.41L19.59 11L14.76 15.83L7.8 13L25.33 6.67L19 24.2Z" fill="currentColor"/>
|
|
827
827
|
</svg>
|
|
828
|
-
`,
|
|
828
|
+
`, In = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
829
829
|
<path d="M30 8H25.9C25.4 5.7 23.4 4 21 4C18.6 4 16.6 5.7 16.1 8H2V10H16.1C16.6 12.3 18.6 14 21 14C23.4 14 25.4 12.3 25.9 10H30V8ZM21 12C19.3 12 18 10.7 18 9C18 7.3 19.3 6 21 6C22.7 6 24 7.3 24 9C24 10.7 22.7 12 21 12ZM2 24H6.1C6.6 26.3 8.6 28 11 28C13.4 28 15.4 26.3 15.9 24H30V22H15.9C15.4 19.7 13.4 18 11 18C8.6 18 6.6 19.7 6.1 22H2V24ZM11 20C12.7 20 14 21.3 14 23C14 24.7 12.7 26 11 26C9.3 26 8 24.7 8 23C8 21.3 9.3 20 11 20Z" fill="currentColor"/>
|
|
830
830
|
</svg>
|
|
831
|
-
`,
|
|
832
|
-
"/src/assets/icons/caret-down.svg":
|
|
833
|
-
"/src/assets/icons/network.svg":
|
|
831
|
+
`, Mn = /* @__PURE__ */ Object.assign({
|
|
832
|
+
"/src/assets/icons/caret-down.svg": En,
|
|
833
|
+
"/src/assets/icons/network.svg": On,
|
|
834
834
|
"/src/assets/icons/search.svg": Ln,
|
|
835
|
-
"/src/assets/icons/send.svg":
|
|
836
|
-
"/src/assets/icons/settings.svg":
|
|
835
|
+
"/src/assets/icons/send.svg": jn,
|
|
836
|
+
"/src/assets/icons/settings.svg": In
|
|
837
837
|
});
|
|
838
|
-
function
|
|
839
|
-
return
|
|
838
|
+
function Dn(e) {
|
|
839
|
+
return Mn[`/src/assets/icons/${e}.svg`];
|
|
840
840
|
}
|
|
841
841
|
const Je = `
|
|
842
842
|
position: absolute;
|
|
@@ -845,26 +845,26 @@ const Je = `
|
|
|
845
845
|
top: 0;
|
|
846
846
|
left: 0;
|
|
847
847
|
`;
|
|
848
|
-
function
|
|
848
|
+
function zn(e, t = "px") {
|
|
849
849
|
return typeof e == "string" ? String(e) : Array.isArray(e) ? e.map((n) => `${n}${t}`).join(" ") : `${e}${t}`;
|
|
850
850
|
}
|
|
851
|
-
let
|
|
851
|
+
let Rn = { data: "" }, Fn = (e) => typeof window == "object" ? ((e ? e.querySelector("#_goober") : window._goober) || Object.assign((e || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : e || Rn, Bn = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Hn = /\/\*[^]*?\*\/| +/g, tt = /\n+/g, K = (e, t) => {
|
|
852
852
|
let n = "", r = "", l = "";
|
|
853
853
|
for (let o in e) {
|
|
854
854
|
let s = e[o];
|
|
855
855
|
o[0] == "@" ? o[1] == "i" ? n = o + " " + s + ";" : r += o[1] == "f" ? K(s, o) : o + "{" + K(s, o[1] == "k" ? "" : t) + "}" : typeof s == "object" ? r += K(s, t ? t.replace(/([^,])+/g, (i) => o.replace(/(^:.*)|([^,])+/g, (a) => /&/.test(a) ? a.replace(/&/g, i) : i ? i + " " + a : a)) : o) : s != null && (o = /^--/.test(o) ? o : o.replace(/[A-Z]/g, "-$&").toLowerCase(), l += K.p ? K.p(o, s) : o + ":" + s + ";");
|
|
856
856
|
}
|
|
857
857
|
return n + (t && l ? t + "{" + l + "}" : l) + r;
|
|
858
|
-
}, R = {},
|
|
858
|
+
}, R = {}, jt = (e) => {
|
|
859
859
|
if (typeof e == "object") {
|
|
860
860
|
let t = "";
|
|
861
861
|
for (let n in e)
|
|
862
|
-
t += n +
|
|
862
|
+
t += n + jt(e[n]);
|
|
863
863
|
return t;
|
|
864
864
|
}
|
|
865
865
|
return e;
|
|
866
|
-
},
|
|
867
|
-
let o =
|
|
866
|
+
}, Vn = (e, t, n, r, l) => {
|
|
867
|
+
let o = jt(e), s = R[o] || (R[o] = ((a) => {
|
|
868
868
|
let c = 0, u = 11;
|
|
869
869
|
for (; c < a.length; )
|
|
870
870
|
u = 101 * u + a.charCodeAt(c++) >>> 0;
|
|
@@ -873,7 +873,7 @@ let zn = { data: "" }, Rn = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
873
873
|
if (!R[s]) {
|
|
874
874
|
let a = o !== e ? e : ((c) => {
|
|
875
875
|
let u, p, d = [{}];
|
|
876
|
-
for (; u =
|
|
876
|
+
for (; u = Bn.exec(c.replace(Hn, "")); )
|
|
877
877
|
u[4] ? d.shift() : u[3] ? (p = u[3].replace(tt, " ").trim(), d.unshift(d[0][p] = d[0][p] || {})) : d[0][u[1]] = u[2].replace(tt, " ").trim();
|
|
878
878
|
return d[0];
|
|
879
879
|
})(e);
|
|
@@ -883,7 +883,7 @@ let zn = { data: "" }, Rn = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
883
883
|
return n && (R.g = R[s]), ((a, c, u, p) => {
|
|
884
884
|
p ? c.data = c.data.replace(p, a) : c.data.indexOf(a) === -1 && (c.data = u ? a + c.data : c.data + a);
|
|
885
885
|
})(R[s], t, r, i), s;
|
|
886
|
-
},
|
|
886
|
+
}, Un = (e, t, n) => e.reduce((r, l, o) => {
|
|
887
887
|
let s = t[o];
|
|
888
888
|
if (s && s.call) {
|
|
889
889
|
let i = s(n), a = i && i.props && i.props.className || /^go/.test(i) && i;
|
|
@@ -893,11 +893,11 @@ let zn = { data: "" }, Rn = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
893
893
|
}, "");
|
|
894
894
|
function S(e) {
|
|
895
895
|
let t = this || {}, n = e.call ? e(t.p) : e;
|
|
896
|
-
return
|
|
896
|
+
return Vn(n.unshift ? n.raw ? Un(n, [].slice.call(arguments, 1), t.p) : n.reduce((r, l) => Object.assign(r, l && l.call ? l(t.p) : l), {}) : n, Fn(t.target), t.g, t.o, t.k);
|
|
897
897
|
}
|
|
898
898
|
S.bind({ g: 1 });
|
|
899
899
|
S.bind({ k: 1 });
|
|
900
|
-
const
|
|
900
|
+
const Wn = /* @__PURE__ */ $("<div></div>"), Zn = S`
|
|
901
901
|
&&& {
|
|
902
902
|
position: relative;
|
|
903
903
|
color: currentColor;
|
|
@@ -910,13 +910,13 @@ const Un = /* @__PURE__ */ y("<div></div>"), Zn = S`
|
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
`, Ee = (e) => {
|
|
913
|
-
const t =
|
|
913
|
+
const t = Dn(e.name);
|
|
914
914
|
return (() => {
|
|
915
|
-
const n =
|
|
915
|
+
const n = Wn.cloneNode(!0);
|
|
916
916
|
return n.innerHTML = t, _((r) => {
|
|
917
917
|
const l = `icon ${e.class || ""} ${Zn}`, o = {
|
|
918
918
|
color: e.color,
|
|
919
|
-
"--icon-size": e.size &&
|
|
919
|
+
"--icon-size": e.size && zn(e.size)
|
|
920
920
|
};
|
|
921
921
|
return l !== r._v$ && C(n, r._v$ = l), r._v$2 = Lt(n, o, r._v$2), r;
|
|
922
922
|
}, {
|
|
@@ -924,11 +924,11 @@ const Un = /* @__PURE__ */ y("<div></div>"), Zn = S`
|
|
|
924
924
|
_v$2: void 0
|
|
925
925
|
}), n;
|
|
926
926
|
})();
|
|
927
|
-
}, Se = Symbol("store-raw"), pe = Symbol("store-node"),
|
|
928
|
-
function
|
|
927
|
+
}, Se = Symbol("store-raw"), pe = Symbol("store-node"), Kn = Symbol("store-name");
|
|
928
|
+
function It(e, t) {
|
|
929
929
|
let n = e[D];
|
|
930
930
|
if (!n && (Object.defineProperty(e, D, {
|
|
931
|
-
value: n = new Proxy(e,
|
|
931
|
+
value: n = new Proxy(e, Yn)
|
|
932
932
|
}), !Array.isArray(e))) {
|
|
933
933
|
const r = Object.keys(e), l = Object.getOwnPropertyDescriptors(e);
|
|
934
934
|
for (let o = 0, s = r.length; o < s; o++) {
|
|
@@ -970,45 +970,45 @@ function Xe(e) {
|
|
|
970
970
|
}), t;
|
|
971
971
|
}
|
|
972
972
|
function Be(e, t, n) {
|
|
973
|
-
return e[t] || (e[t] =
|
|
973
|
+
return e[t] || (e[t] = Dt(n));
|
|
974
974
|
}
|
|
975
|
-
function
|
|
975
|
+
function Jn(e, t) {
|
|
976
976
|
const n = Reflect.getOwnPropertyDescriptor(e, t);
|
|
977
|
-
return !n || n.get || !n.configurable || t === D || t === pe || t ===
|
|
977
|
+
return !n || n.get || !n.configurable || t === D || t === pe || t === Kn || (delete n.value, delete n.writable, n.get = () => e[D][t]), n;
|
|
978
978
|
}
|
|
979
|
-
function
|
|
980
|
-
if (
|
|
979
|
+
function Mt(e) {
|
|
980
|
+
if (St()) {
|
|
981
981
|
const t = Xe(e);
|
|
982
|
-
(t._ || (t._ =
|
|
982
|
+
(t._ || (t._ = Dt()))();
|
|
983
983
|
}
|
|
984
984
|
}
|
|
985
|
-
function
|
|
986
|
-
return
|
|
985
|
+
function Xn(e) {
|
|
986
|
+
return Mt(e), Reflect.ownKeys(e);
|
|
987
987
|
}
|
|
988
|
-
function
|
|
988
|
+
function Dt(e) {
|
|
989
989
|
const [t, n] = oe(e, {
|
|
990
990
|
equals: !1,
|
|
991
991
|
internal: !0
|
|
992
992
|
});
|
|
993
993
|
return t.$ = n, t;
|
|
994
994
|
}
|
|
995
|
-
const
|
|
995
|
+
const Yn = {
|
|
996
996
|
get(e, t, n) {
|
|
997
997
|
if (t === Se)
|
|
998
998
|
return e;
|
|
999
999
|
if (t === D)
|
|
1000
1000
|
return n;
|
|
1001
1001
|
if (t === ve)
|
|
1002
|
-
return
|
|
1002
|
+
return Mt(e), n;
|
|
1003
1003
|
const r = Xe(e), l = r.hasOwnProperty(t);
|
|
1004
1004
|
let o = l ? r[t]() : e[t];
|
|
1005
1005
|
if (t === pe || t === "__proto__")
|
|
1006
1006
|
return o;
|
|
1007
1007
|
if (!l) {
|
|
1008
1008
|
const s = Object.getOwnPropertyDescriptor(e, t);
|
|
1009
|
-
|
|
1009
|
+
St() && (typeof o != "function" || e.hasOwnProperty(t)) && !(s && s.get) && (o = Be(r, t, o)());
|
|
1010
1010
|
}
|
|
1011
|
-
return se(o) ?
|
|
1011
|
+
return se(o) ? It(o) : o;
|
|
1012
1012
|
},
|
|
1013
1013
|
has(e, t) {
|
|
1014
1014
|
return t === Se || t === D || t === ve || t === pe || t === "__proto__" ? !0 : (this.get(e, t, e), t in e);
|
|
@@ -1019,8 +1019,8 @@ const Xn = {
|
|
|
1019
1019
|
deleteProperty() {
|
|
1020
1020
|
return !0;
|
|
1021
1021
|
},
|
|
1022
|
-
ownKeys:
|
|
1023
|
-
getOwnPropertyDescriptor:
|
|
1022
|
+
ownKeys: Xn,
|
|
1023
|
+
getOwnPropertyDescriptor: Jn
|
|
1024
1024
|
};
|
|
1025
1025
|
function ce(e, t, n, r = !1) {
|
|
1026
1026
|
if (!r && e[t] === n)
|
|
@@ -1030,14 +1030,14 @@ function ce(e, t, n, r = !1) {
|
|
|
1030
1030
|
let s = Xe(e), i;
|
|
1031
1031
|
(i = Be(s, t, l)) && i.$(() => n), Array.isArray(e) && e.length !== o && (i = Be(s, "length", o)) && i.$(e.length), (i = s._) && i.$();
|
|
1032
1032
|
}
|
|
1033
|
-
function
|
|
1033
|
+
function zt(e, t) {
|
|
1034
1034
|
const n = Object.keys(t);
|
|
1035
1035
|
for (let r = 0; r < n.length; r += 1) {
|
|
1036
1036
|
const l = n[r];
|
|
1037
1037
|
ce(e, l, t[l]);
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function Gn(e, t) {
|
|
1041
1041
|
if (typeof t == "function" && (t = t(e)), t = ae(t), Array.isArray(t)) {
|
|
1042
1042
|
if (e === t)
|
|
1043
1043
|
return;
|
|
@@ -1048,7 +1048,7 @@ function Yn(e, t) {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
ce(e, "length", r);
|
|
1050
1050
|
} else
|
|
1051
|
-
|
|
1051
|
+
zt(e, t);
|
|
1052
1052
|
}
|
|
1053
1053
|
function fe(e, t, n = []) {
|
|
1054
1054
|
let r, l = e;
|
|
@@ -1079,24 +1079,24 @@ function fe(e, t, n = []) {
|
|
|
1079
1079
|
l = e[r], n = [r].concat(n);
|
|
1080
1080
|
}
|
|
1081
1081
|
let o = t[0];
|
|
1082
|
-
typeof o == "function" && (o = o(l, n), o === l) || r === void 0 && o == null || (o = ae(o), r === void 0 || se(l) && se(o) && !Array.isArray(o) ?
|
|
1082
|
+
typeof o == "function" && (o = o(l, n), o === l) || r === void 0 && o == null || (o = ae(o), r === void 0 || se(l) && se(o) && !Array.isArray(o) ? zt(l, o) : ce(e, r, o));
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1085
|
-
const n = ae(e || {}), r = Array.isArray(n), l =
|
|
1084
|
+
function Rt(...[e, t]) {
|
|
1085
|
+
const n = ae(e || {}), r = Array.isArray(n), l = It(n);
|
|
1086
1086
|
function o(...s) {
|
|
1087
|
-
|
|
1088
|
-
r && s.length === 1 ?
|
|
1087
|
+
en(() => {
|
|
1088
|
+
r && s.length === 1 ? Gn(n, s[0]) : fe(n, s);
|
|
1089
1089
|
});
|
|
1090
1090
|
}
|
|
1091
1091
|
return [l, o];
|
|
1092
1092
|
}
|
|
1093
|
-
const ke = /* @__PURE__ */ new WeakMap(),
|
|
1093
|
+
const ke = /* @__PURE__ */ new WeakMap(), Ft = {
|
|
1094
1094
|
get(e, t) {
|
|
1095
1095
|
if (t === Se)
|
|
1096
1096
|
return e;
|
|
1097
1097
|
const n = e[t];
|
|
1098
1098
|
let r;
|
|
1099
|
-
return se(n) ? ke.get(n) || (ke.set(n, r = new Proxy(n,
|
|
1099
|
+
return se(n) ? ke.get(n) || (ke.set(n, r = new Proxy(n, Ft)), r) : n;
|
|
1100
1100
|
},
|
|
1101
1101
|
set(e, t, n) {
|
|
1102
1102
|
return ce(e, t, ae(n)), !0;
|
|
@@ -1105,16 +1105,16 @@ const ke = /* @__PURE__ */ new WeakMap(), Rt = {
|
|
|
1105
1105
|
return ce(e, t, void 0, !0), !0;
|
|
1106
1106
|
}
|
|
1107
1107
|
};
|
|
1108
|
-
function
|
|
1108
|
+
function Qn(e) {
|
|
1109
1109
|
return (t) => {
|
|
1110
1110
|
if (se(t)) {
|
|
1111
1111
|
let n;
|
|
1112
|
-
(n = ke.get(t)) || ke.set(t, n = new Proxy(t,
|
|
1112
|
+
(n = ke.get(t)) || ke.set(t, n = new Proxy(t, Ft)), e(n);
|
|
1113
1113
|
}
|
|
1114
1114
|
return t;
|
|
1115
1115
|
};
|
|
1116
1116
|
}
|
|
1117
|
-
const [I, Ne] =
|
|
1117
|
+
const [I, Ne] = Rt({
|
|
1118
1118
|
selectedCall: null,
|
|
1119
1119
|
selectedRequest: null,
|
|
1120
1120
|
selectedTab: null,
|
|
@@ -1126,14 +1126,14 @@ const [I, Ne] = zt({
|
|
|
1126
1126
|
white-space: nowrap;
|
|
1127
1127
|
word-wrap: norma;
|
|
1128
1128
|
max-width: 100%;
|
|
1129
|
-
`,
|
|
1129
|
+
`, qn = {
|
|
1130
1130
|
left: "flex-start",
|
|
1131
1131
|
center: "center",
|
|
1132
1132
|
right: "flex-end",
|
|
1133
1133
|
spaceBetween: "space-between",
|
|
1134
1134
|
spaceAround: "space-around",
|
|
1135
1135
|
spaceEvenly: "space-evenly"
|
|
1136
|
-
},
|
|
1136
|
+
}, er = {
|
|
1137
1137
|
top: "flex-start",
|
|
1138
1138
|
bottom: "flex-end",
|
|
1139
1139
|
center: "center",
|
|
@@ -1146,21 +1146,21 @@ const [I, Ne] = zt({
|
|
|
1146
1146
|
display: flex;
|
|
1147
1147
|
column-gap: ${n}px;
|
|
1148
1148
|
flex-direction: row;
|
|
1149
|
-
justify-content: ${
|
|
1150
|
-
align-items: ${
|
|
1151
|
-
`,
|
|
1149
|
+
justify-content: ${qn[e]};
|
|
1150
|
+
align-items: ${er[t]};
|
|
1151
|
+
`, tr = {
|
|
1152
1152
|
top: "flex-start",
|
|
1153
1153
|
center: "center",
|
|
1154
1154
|
bottom: "flex-end",
|
|
1155
1155
|
spaceBetween: "space-between",
|
|
1156
1156
|
spaceAround: "space-around",
|
|
1157
1157
|
spaceEvenly: "space-evenly"
|
|
1158
|
-
},
|
|
1158
|
+
}, nr = {
|
|
1159
1159
|
left: "flex-start",
|
|
1160
1160
|
right: "flex-end",
|
|
1161
1161
|
center: "center",
|
|
1162
1162
|
stretch: "stretch"
|
|
1163
|
-
},
|
|
1163
|
+
}, O = ({
|
|
1164
1164
|
justify: e = "top",
|
|
1165
1165
|
align: t = "stretch",
|
|
1166
1166
|
gap: n = 0
|
|
@@ -1168,10 +1168,10 @@ const [I, Ne] = zt({
|
|
|
1168
1168
|
row-gap: ${n}px;
|
|
1169
1169
|
display: flex;
|
|
1170
1170
|
flex-direction: column;
|
|
1171
|
-
justify-content: ${
|
|
1172
|
-
align-items: ${
|
|
1171
|
+
justify-content: ${tr[e]};
|
|
1172
|
+
align-items: ${nr[t]};
|
|
1173
1173
|
`;
|
|
1174
|
-
function
|
|
1174
|
+
function rr(e) {
|
|
1175
1175
|
if (e.length < 4)
|
|
1176
1176
|
throw new Error("Invalid hex value");
|
|
1177
1177
|
return (e.replace(
|
|
@@ -1179,16 +1179,16 @@ function nr(e) {
|
|
|
1179
1179
|
(t, n, r, l) => `#${n}${n}${r}${r}${l}${l}`
|
|
1180
1180
|
).substring(1).match(/.{2}/g) || []).map((t) => parseInt(t, 16));
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function lr(e) {
|
|
1183
1183
|
return Object.entries(e);
|
|
1184
1184
|
}
|
|
1185
|
-
const
|
|
1185
|
+
const ye = document.documentElement.style;
|
|
1186
1186
|
let nt = 1;
|
|
1187
|
-
function
|
|
1187
|
+
function or(e) {
|
|
1188
1188
|
const t = {};
|
|
1189
|
-
for (const [n, r] of
|
|
1190
|
-
const [l, o, s] =
|
|
1191
|
-
nt++,
|
|
1189
|
+
for (const [n, r] of lr(e)) {
|
|
1190
|
+
const [l, o, s] = rr(r), i = `c${nt}`;
|
|
1191
|
+
nt++, ye.setProperty(`--${i}-r`, String(l)), ye.setProperty(`--${i}-g`, String(o)), ye.setProperty(`--${i}-b`, String(s)), ye.setProperty(`--${i}`, r), t[n] = {
|
|
1192
1192
|
red: l,
|
|
1193
1193
|
green: o,
|
|
1194
1194
|
blue: s,
|
|
@@ -1215,7 +1215,7 @@ function lr(e) {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
return t;
|
|
1217
1217
|
}
|
|
1218
|
-
const
|
|
1218
|
+
const y = or({
|
|
1219
1219
|
bgPrimary: "#0F172A",
|
|
1220
1220
|
bgSecondary: "#1E293B",
|
|
1221
1221
|
textPrimary: "#fff",
|
|
@@ -1232,18 +1232,18 @@ const $ = lr({
|
|
|
1232
1232
|
primary: '"Work Sans", sans-serif',
|
|
1233
1233
|
decorative: '"Fira Code", monospaced'
|
|
1234
1234
|
};
|
|
1235
|
-
function
|
|
1235
|
+
function ir(e, t, n) {
|
|
1236
1236
|
if (!e)
|
|
1237
1237
|
return t;
|
|
1238
1238
|
const r = [], l = new Map(e.map((o) => [o[n], o]));
|
|
1239
1239
|
for (const o of t) {
|
|
1240
1240
|
const s = l.get(o[n]);
|
|
1241
|
-
s &&
|
|
1241
|
+
s && xt(s, o) ? r.push(s) : r.push(o);
|
|
1242
1242
|
}
|
|
1243
1243
|
return r;
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return m((n) =>
|
|
1245
|
+
function Bt(e, t) {
|
|
1246
|
+
return m((n) => ir(n, typeof e == "function" ? e() : e, t));
|
|
1247
1247
|
}
|
|
1248
1248
|
function ge(e) {
|
|
1249
1249
|
const [t, n] = oe(e);
|
|
@@ -1258,10 +1258,10 @@ function ge(e) {
|
|
|
1258
1258
|
n(() => r);
|
|
1259
1259
|
},
|
|
1260
1260
|
produce(r) {
|
|
1261
|
-
n((l) =>
|
|
1261
|
+
n((l) => Kt(l, r));
|
|
1262
1262
|
},
|
|
1263
1263
|
peek() {
|
|
1264
|
-
return
|
|
1264
|
+
return W(t);
|
|
1265
1265
|
}
|
|
1266
1266
|
};
|
|
1267
1267
|
}
|
|
@@ -1273,10 +1273,10 @@ function He(e) {
|
|
|
1273
1273
|
}
|
|
1274
1274
|
};
|
|
1275
1275
|
}
|
|
1276
|
-
const
|
|
1276
|
+
const sr = /* @__PURE__ */ $('<div class="tag"></div>'), rt = /* @__PURE__ */ $("<span></span>"), ar = /* @__PURE__ */ $('<div><div class="call"></div></div>'), cr = S`
|
|
1277
1277
|
&&& {
|
|
1278
1278
|
font-size: 14px;
|
|
1279
|
-
${
|
|
1279
|
+
${O()};
|
|
1280
1280
|
|
|
1281
1281
|
> .call {
|
|
1282
1282
|
padding: 4px 12px;
|
|
@@ -1285,7 +1285,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), rt = /* @__PURE__ */ y(
|
|
|
1285
1285
|
|
|
1286
1286
|
&.selected {
|
|
1287
1287
|
opacity: 1;
|
|
1288
|
-
background-color: ${
|
|
1288
|
+
background-color: ${y.secondary.alpha(0.16)};
|
|
1289
1289
|
}
|
|
1290
1290
|
|
|
1291
1291
|
> .call-button {
|
|
@@ -1313,7 +1313,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), rt = /* @__PURE__ */ y(
|
|
|
1313
1313
|
padding-left: 14px;
|
|
1314
1314
|
margin-left: 16px;
|
|
1315
1315
|
padding-right: 0;
|
|
1316
|
-
border-left: 1px solid ${
|
|
1316
|
+
border-left: 1px solid ${y.white.alpha(0.1)};
|
|
1317
1317
|
${B()};
|
|
1318
1318
|
|
|
1319
1319
|
span {
|
|
@@ -1327,7 +1327,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), rt = /* @__PURE__ */ y(
|
|
|
1327
1327
|
|
|
1328
1328
|
&.selected span {
|
|
1329
1329
|
opacity: 1;
|
|
1330
|
-
background-color: ${
|
|
1330
|
+
background-color: ${y.secondary.alpha(0.16)};
|
|
1331
1331
|
}
|
|
1332
1332
|
|
|
1333
1333
|
&:first-of-type {
|
|
@@ -1336,7 +1336,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), rt = /* @__PURE__ */ y(
|
|
|
1336
1336
|
|
|
1337
1337
|
&:last-of-type {
|
|
1338
1338
|
border-radius: 0 0 0 10px;
|
|
1339
|
-
border-bottom: 1px solid ${
|
|
1339
|
+
border-bottom: 1px solid ${y.white.alpha(0.1)};
|
|
1340
1340
|
padding-bottom: 10px;
|
|
1341
1341
|
margin-bottom: 4px;
|
|
1342
1342
|
}
|
|
@@ -1350,11 +1350,11 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), rt = /* @__PURE__ */ y(
|
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
|
-
`,
|
|
1354
|
-
const t = m(() => e.item), n = m(() => e.currentCallId), r = ge(e.item.subitemsWithAlias.length < 4), l =
|
|
1353
|
+
`, ur = (e) => {
|
|
1354
|
+
const t = m(() => e.item), n = m(() => e.currentCallId), r = ge(e.item.subitemsWithAlias.length < 4), l = dr(t().type, t().subType);
|
|
1355
1355
|
return (() => {
|
|
1356
|
-
const o =
|
|
1357
|
-
return C(o,
|
|
1356
|
+
const o = ar.cloneNode(!0), s = o.firstChild;
|
|
1357
|
+
return C(o, cr), f(s, h(F, {
|
|
1358
1358
|
onClick: () => {
|
|
1359
1359
|
Ne({
|
|
1360
1360
|
selectedCall: t().id,
|
|
@@ -1364,7 +1364,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), rt = /* @__PURE__ */ y(
|
|
|
1364
1364
|
class: "call-button",
|
|
1365
1365
|
get children() {
|
|
1366
1366
|
return [(() => {
|
|
1367
|
-
const i =
|
|
1367
|
+
const i = sr.cloneNode(!0);
|
|
1368
1368
|
return f(i, () => l.icon), _((a) => {
|
|
1369
1369
|
const c = `${t().type}${t().subType ? ` (${t().subType})` : ""}`, u = l.color;
|
|
1370
1370
|
return c !== a._v$ && j(i, "title", a._v$ = c), u !== a._v$2 && i.style.setProperty("color", a._v$2 = u), a;
|
|
@@ -1427,7 +1427,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), rt = /* @__PURE__ */ y(
|
|
|
1427
1427
|
}), null), _(() => s.classList.toggle("selected", n() === t().id)), o;
|
|
1428
1428
|
})();
|
|
1429
1429
|
};
|
|
1430
|
-
function
|
|
1430
|
+
function dr(e, t) {
|
|
1431
1431
|
if (e === "ws")
|
|
1432
1432
|
return {
|
|
1433
1433
|
icon: t === "send" ? "S" : "R",
|
|
@@ -1445,19 +1445,19 @@ function ur(e, t) {
|
|
|
1445
1445
|
color: r
|
|
1446
1446
|
};
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1448
|
+
function Ht(e) {
|
|
1449
1449
|
return e ? e.slice().reverse() : [];
|
|
1450
1450
|
}
|
|
1451
|
-
function
|
|
1451
|
+
function fr(...e) {
|
|
1452
1452
|
const t = [];
|
|
1453
1453
|
for (const n of e)
|
|
1454
1454
|
n != null && t.push(...n);
|
|
1455
1455
|
return t;
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function pr(e) {
|
|
1458
1458
|
return e.filter((t) => t != null);
|
|
1459
1459
|
}
|
|
1460
|
-
function
|
|
1460
|
+
function hr(e) {
|
|
1461
1461
|
return e.filter((t) => t !== !1);
|
|
1462
1462
|
}
|
|
1463
1463
|
function lt(e) {
|
|
@@ -1471,11 +1471,11 @@ function ot(e, t) {
|
|
|
1471
1471
|
return t && t(n), null;
|
|
1472
1472
|
}
|
|
1473
1473
|
}
|
|
1474
|
-
function hr(e, t) {
|
|
1475
|
-
const n = Kt(t);
|
|
1476
|
-
return gr(e, n);
|
|
1477
|
-
}
|
|
1478
1474
|
function gr(e, t) {
|
|
1475
|
+
const n = Jt(t);
|
|
1476
|
+
return mr(e, n);
|
|
1477
|
+
}
|
|
1478
|
+
function mr(e, t) {
|
|
1479
1479
|
let n = 0;
|
|
1480
1480
|
const r = {}, l = t.pattern.exec(e);
|
|
1481
1481
|
if (!l)
|
|
@@ -1504,9 +1504,9 @@ function le(e) {
|
|
|
1504
1504
|
}
|
|
1505
1505
|
return e;
|
|
1506
1506
|
}
|
|
1507
|
-
const [Q,
|
|
1507
|
+
const [Q, yr] = Rt({
|
|
1508
1508
|
calls: {}
|
|
1509
|
-
}),
|
|
1509
|
+
}), Oe = ge("");
|
|
1510
1510
|
let Ve = {
|
|
1511
1511
|
callsProcessor: []
|
|
1512
1512
|
};
|
|
@@ -1516,14 +1516,14 @@ function $r(e) {
|
|
|
1516
1516
|
...e
|
|
1517
1517
|
};
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1519
|
+
function to({
|
|
1520
1520
|
type: e,
|
|
1521
1521
|
response: t,
|
|
1522
1522
|
payload: n,
|
|
1523
1523
|
event: r,
|
|
1524
1524
|
startTime: l
|
|
1525
1525
|
}) {
|
|
1526
|
-
|
|
1526
|
+
vr({
|
|
1527
1527
|
type: "ws",
|
|
1528
1528
|
path: r,
|
|
1529
1529
|
payload: n,
|
|
@@ -1535,7 +1535,7 @@ function Ql({
|
|
|
1535
1535
|
response: t
|
|
1536
1536
|
});
|
|
1537
1537
|
}
|
|
1538
|
-
function
|
|
1538
|
+
function vr(e) {
|
|
1539
1539
|
const t = e.startTime || Date.now();
|
|
1540
1540
|
return ({
|
|
1541
1541
|
isError: n,
|
|
@@ -1545,8 +1545,8 @@ function yr(e) {
|
|
|
1545
1545
|
tags: s
|
|
1546
1546
|
}) => {
|
|
1547
1547
|
const i = e.duration || Date.now() - t;
|
|
1548
|
-
|
|
1549
|
-
|
|
1548
|
+
yr(
|
|
1549
|
+
Qn((a) => {
|
|
1550
1550
|
const c = ot(
|
|
1551
1551
|
() => new URL(e.path, "http://localhost")
|
|
1552
1552
|
);
|
|
@@ -1557,7 +1557,7 @@ function yr(e) {
|
|
|
1557
1557
|
if (typeof A.match == "string") {
|
|
1558
1558
|
if (A.matchType && A.matchType !== e.type || A.matchSubType && e.subType && A.matchSubType.includes(e.subType))
|
|
1559
1559
|
return !1;
|
|
1560
|
-
const T =
|
|
1560
|
+
const T = gr(c.pathname, A.match);
|
|
1561
1561
|
return T ? (p = T, !0) : !1;
|
|
1562
1562
|
} else
|
|
1563
1563
|
return A.match({
|
|
@@ -1579,11 +1579,11 @@ function yr(e) {
|
|
|
1579
1579
|
requests: [],
|
|
1580
1580
|
type: e.type,
|
|
1581
1581
|
subType: e.subType
|
|
1582
|
-
},
|
|
1582
|
+
}, Oe.value = v);
|
|
1583
1583
|
const w = a.calls[v];
|
|
1584
1584
|
lt(w), w.requests.length > 100 && w.requests.shift();
|
|
1585
1585
|
const k = {
|
|
1586
|
-
id:
|
|
1586
|
+
id: Xt(),
|
|
1587
1587
|
duration: i,
|
|
1588
1588
|
pathParams: p,
|
|
1589
1589
|
isError: n,
|
|
@@ -1597,8 +1597,8 @@ function yr(e) {
|
|
|
1597
1597
|
method: e.method,
|
|
1598
1598
|
subType: e.subType,
|
|
1599
1599
|
code: r,
|
|
1600
|
-
tags:
|
|
1601
|
-
|
|
1600
|
+
tags: pr(
|
|
1601
|
+
fr(e.tags, s)
|
|
1602
1602
|
)
|
|
1603
1603
|
}, x = ot(
|
|
1604
1604
|
() => d?.payloadAlias?.(k.payload, k)
|
|
@@ -1608,29 +1608,29 @@ function yr(e) {
|
|
|
1608
1608
|
);
|
|
1609
1609
|
};
|
|
1610
1610
|
}
|
|
1611
|
-
const
|
|
1611
|
+
const br = {
|
|
1612
1612
|
short: 160,
|
|
1613
1613
|
medium: 240,
|
|
1614
1614
|
long: 360
|
|
1615
|
-
},
|
|
1615
|
+
}, wr = {
|
|
1616
1616
|
inOut: "cubic-bezier(0.4, 0.0, 0.2, 1)",
|
|
1617
1617
|
out: "cubic-bezier(0.0, 0.0, 0.2, 1)",
|
|
1618
1618
|
in: "cubic-bezier(0.4, 0.0, 1, 1)",
|
|
1619
1619
|
linear: "linear"
|
|
1620
1620
|
}, it = (e) => e !== void 0 ? `${e}ms` : "";
|
|
1621
|
-
function
|
|
1621
|
+
function xr(e = {}) {
|
|
1622
1622
|
const { properties: t, duration: n, ease: r, delay: l } = e;
|
|
1623
1623
|
return `
|
|
1624
1624
|
transition: ${it(
|
|
1625
|
-
typeof n == "number" ? n :
|
|
1626
|
-
)} ${
|
|
1625
|
+
typeof n == "number" ? n : br[n || "medium"]
|
|
1626
|
+
)} ${wr[r || "inOut"]} ${it(l)};
|
|
1627
1627
|
${t ? `
|
|
1628
1628
|
transition-property: ${t.join(", ") || ""};
|
|
1629
1629
|
` : ""}
|
|
1630
1630
|
`;
|
|
1631
1631
|
}
|
|
1632
1632
|
const st = (e) => e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().trim();
|
|
1633
|
-
function
|
|
1633
|
+
function Cr(e, t) {
|
|
1634
1634
|
const n = st(String(t)).indexOf(
|
|
1635
1635
|
st(String(e))
|
|
1636
1636
|
);
|
|
@@ -1639,7 +1639,7 @@ function xr(e, t) {
|
|
|
1639
1639
|
matchedIndex: n
|
|
1640
1640
|
};
|
|
1641
1641
|
}
|
|
1642
|
-
function
|
|
1642
|
+
function _r(e, t, { lowerFirst: n } = {}) {
|
|
1643
1643
|
return [...e].sort((r, l) => {
|
|
1644
1644
|
const o = t(r), s = t(l);
|
|
1645
1645
|
return o < s ? n ? -1 : 1 : o > s ? n ? 1 : -1 : 0;
|
|
@@ -1652,35 +1652,35 @@ function at({
|
|
|
1652
1652
|
}) {
|
|
1653
1653
|
const r = [];
|
|
1654
1654
|
for (const l of e) {
|
|
1655
|
-
const o =
|
|
1655
|
+
const o = Cr(t, n(l));
|
|
1656
1656
|
o.matched && r.push({ item: l, matchedIndex: o.matchedIndex });
|
|
1657
1657
|
}
|
|
1658
|
-
return
|
|
1658
|
+
return _r(r, (l) => l.matchedIndex, {
|
|
1659
1659
|
lowerFirst: !0
|
|
1660
1660
|
}).map(({ item: l }) => l);
|
|
1661
1661
|
}
|
|
1662
|
-
const
|
|
1662
|
+
const Sr = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><div><button>API</button><button>WebSocket</button><button>All</button></div><label><input type="text" placeholder="Search"></label><div></div></div>'), kr = S`
|
|
1663
1663
|
&&& {
|
|
1664
|
-
${
|
|
1665
|
-
border-right: 1px solid ${
|
|
1664
|
+
${O()};
|
|
1665
|
+
border-right: 1px solid ${y.white.alpha(0.1)};
|
|
1666
1666
|
|
|
1667
1667
|
> h1 {
|
|
1668
1668
|
font-size: 18px;
|
|
1669
1669
|
padding-left: 12px;
|
|
1670
1670
|
padding-top: 10px;
|
|
1671
1671
|
font-family: ${z.decorative};
|
|
1672
|
-
color: ${
|
|
1672
|
+
color: ${y.secondary.var};
|
|
1673
1673
|
padding-bottom: 12px;
|
|
1674
1674
|
}
|
|
1675
1675
|
}
|
|
1676
|
-
`,
|
|
1676
|
+
`, Nr = S`
|
|
1677
1677
|
&&& {
|
|
1678
|
-
${
|
|
1678
|
+
${O()};
|
|
1679
1679
|
flex: 1 1;
|
|
1680
1680
|
overflow-y: auto;
|
|
1681
1681
|
padding-bottom: 16px;
|
|
1682
1682
|
}
|
|
1683
|
-
`,
|
|
1683
|
+
`, Ar = S`
|
|
1684
1684
|
&&& {
|
|
1685
1685
|
${B({
|
|
1686
1686
|
gap: 8
|
|
@@ -1690,27 +1690,27 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
|
|
|
1690
1690
|
|
|
1691
1691
|
display: grid;
|
|
1692
1692
|
grid-template-columns: 14px 1fr;
|
|
1693
|
-
background: ${
|
|
1693
|
+
background: ${y.white.alpha(0.05)};
|
|
1694
1694
|
border-radius: 4px;
|
|
1695
1695
|
--icon-size: 16px;
|
|
1696
1696
|
padding: 4px 0;
|
|
1697
1697
|
padding-left: 6px;
|
|
1698
1698
|
|
|
1699
1699
|
.icon {
|
|
1700
|
-
color: ${
|
|
1700
|
+
color: ${y.secondary.var};
|
|
1701
1701
|
}
|
|
1702
1702
|
|
|
1703
1703
|
input {
|
|
1704
1704
|
border: none;
|
|
1705
1705
|
background: transparent;
|
|
1706
|
-
color: ${
|
|
1706
|
+
color: ${y.white.var};
|
|
1707
1707
|
|
|
1708
1708
|
&:focus {
|
|
1709
1709
|
outline: none;
|
|
1710
1710
|
}
|
|
1711
1711
|
}
|
|
1712
1712
|
}
|
|
1713
|
-
`,
|
|
1713
|
+
`, Tr = S`
|
|
1714
1714
|
&&& {
|
|
1715
1715
|
${B({
|
|
1716
1716
|
gap: 16
|
|
@@ -1721,7 +1721,7 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
|
|
|
1721
1721
|
> button {
|
|
1722
1722
|
font-size: 14px;
|
|
1723
1723
|
opacity: 0.5;
|
|
1724
|
-
${
|
|
1724
|
+
${xr()};
|
|
1725
1725
|
|
|
1726
1726
|
&:hover {
|
|
1727
1727
|
opacity: 1;
|
|
@@ -1729,12 +1729,12 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
|
|
|
1729
1729
|
|
|
1730
1730
|
&.active {
|
|
1731
1731
|
opacity: 1;
|
|
1732
|
-
color: ${
|
|
1732
|
+
color: ${y.primary.var};
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
1735
|
}
|
|
1736
|
-
`, V = ge("api"),
|
|
1737
|
-
const e = ge(""), t =
|
|
1736
|
+
`, V = ge("api"), Pr = () => {
|
|
1737
|
+
const e = ge(""), t = Bt(() => {
|
|
1738
1738
|
const [r = "", l = ""] = e.value.split(">"), o = Object.entries(Q.calls), s = [];
|
|
1739
1739
|
for (const [a, c] of o.reverse()) {
|
|
1740
1740
|
const u = /* @__PURE__ */ new Set();
|
|
@@ -1763,16 +1763,16 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
|
|
|
1763
1763
|
});
|
|
1764
1764
|
}, "id"), n = m(() => I.selectedCall);
|
|
1765
1765
|
return (() => {
|
|
1766
|
-
const r =
|
|
1767
|
-
return C(r,
|
|
1766
|
+
const r = Sr.cloneNode(!0), l = r.firstChild, o = l.nextSibling, s = o.firstChild, i = s.nextSibling, a = i.nextSibling, c = o.nextSibling, u = c.firstChild, p = c.nextSibling;
|
|
1767
|
+
return C(r, kr), C(o, Tr), s.$$click = () => V.set("api"), i.$$click = () => V.set("ws"), a.$$click = () => V.set("all"), C(c, Ar), f(c, h(Ee, {
|
|
1768
1768
|
name: "search"
|
|
1769
1769
|
}), u), u.$$input = (d) => {
|
|
1770
1770
|
e.value = d.currentTarget.value;
|
|
1771
|
-
}, C(p,
|
|
1771
|
+
}, C(p, Nr), f(p, h(G, {
|
|
1772
1772
|
get each() {
|
|
1773
1773
|
return t();
|
|
1774
1774
|
},
|
|
1775
|
-
children: (d, g) => h(
|
|
1775
|
+
children: (d, g) => h(ur, {
|
|
1776
1776
|
get index() {
|
|
1777
1777
|
return g();
|
|
1778
1778
|
},
|
|
@@ -1792,7 +1792,7 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
|
|
|
1792
1792
|
})();
|
|
1793
1793
|
};
|
|
1794
1794
|
Pe(["click", "input"]);
|
|
1795
|
-
function
|
|
1795
|
+
function Vt(...e) {
|
|
1796
1796
|
const t = [];
|
|
1797
1797
|
for (let n = 0; n < e.length; n++) {
|
|
1798
1798
|
const r = e[n];
|
|
@@ -1807,17 +1807,17 @@ function Ht(...e) {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
return t.join(" ");
|
|
1809
1809
|
}
|
|
1810
|
-
const
|
|
1810
|
+
const Er = /* @__PURE__ */ $('<div><div class="content"></div></div>'), Or = /* @__PURE__ */ $("<h1></h1>"), Lr = S`
|
|
1811
1811
|
&&& {
|
|
1812
|
-
${
|
|
1812
|
+
${O()};
|
|
1813
1813
|
|
|
1814
1814
|
> h1 {
|
|
1815
1815
|
font-size: 14px;
|
|
1816
|
-
color: ${
|
|
1816
|
+
color: ${y.secondary.var};
|
|
1817
1817
|
letter-spacing: 0.08em;
|
|
1818
1818
|
font-family: ${z.decorative};
|
|
1819
1819
|
font-weight: 300;
|
|
1820
|
-
background: ${
|
|
1820
|
+
background: ${y.bgPrimary.var};
|
|
1821
1821
|
z-index: 1;
|
|
1822
1822
|
align-self: flex-start;
|
|
1823
1823
|
position: sticky;
|
|
@@ -1833,7 +1833,7 @@ const Pr = /* @__PURE__ */ y('<div><div class="content"></div></div>'), Er = /*
|
|
|
1833
1833
|
padding-top: calc(var(--padding-top) + 10px);
|
|
1834
1834
|
padding-inline: 10px;
|
|
1835
1835
|
padding-bottom: 10px;
|
|
1836
|
-
background: ${
|
|
1836
|
+
background: ${y.white.alpha(0.05)};
|
|
1837
1837
|
border-radius: 4px;
|
|
1838
1838
|
}
|
|
1839
1839
|
|
|
@@ -1842,15 +1842,15 @@ const Pr = /* @__PURE__ */ y('<div><div class="content"></div></div>'), Er = /*
|
|
|
1842
1842
|
}
|
|
1843
1843
|
}
|
|
1844
1844
|
`, M = (e) => (() => {
|
|
1845
|
-
const t =
|
|
1845
|
+
const t = Er.cloneNode(!0), n = t.firstChild;
|
|
1846
1846
|
return f(t, (() => {
|
|
1847
1847
|
const r = m(() => !!e.title);
|
|
1848
1848
|
return () => r() && (() => {
|
|
1849
|
-
const l =
|
|
1849
|
+
const l = Or.cloneNode(!0);
|
|
1850
1850
|
return f(l, () => e.title), l;
|
|
1851
1851
|
})();
|
|
1852
|
-
})(), n), f(n, () => e.children), _(() => C(t,
|
|
1853
|
-
})(),
|
|
1852
|
+
})(), n), f(n, () => e.children), _(() => C(t, Vt(Lr, e.class))), t;
|
|
1853
|
+
})(), jr = /* @__PURE__ */ $("<div></div>"), Ir = /* @__PURE__ */ $('<div class="row"><div class="name"></div><div class="value"></div></div>'), Mr = S`
|
|
1854
1854
|
&&& {
|
|
1855
1855
|
display: grid;
|
|
1856
1856
|
grid-template-columns: auto 1fr;
|
|
@@ -1866,37 +1866,37 @@ const Pr = /* @__PURE__ */ y('<div><div class="content"></div></div>'), Er = /*
|
|
|
1866
1866
|
}
|
|
1867
1867
|
|
|
1868
1868
|
.row:not(:last-child) > div {
|
|
1869
|
-
border-bottom: 1px solid ${
|
|
1869
|
+
border-bottom: 1px solid ${y.white.alpha(0.1)};
|
|
1870
1870
|
}
|
|
1871
1871
|
|
|
1872
1872
|
.value {
|
|
1873
1873
|
padding-left: 16px;
|
|
1874
|
-
color: ${
|
|
1874
|
+
color: ${y.white.var};
|
|
1875
1875
|
}
|
|
1876
1876
|
|
|
1877
1877
|
.name {
|
|
1878
1878
|
opacity: 0.7;
|
|
1879
1879
|
}
|
|
1880
1880
|
}
|
|
1881
|
-
`,
|
|
1882
|
-
const t =
|
|
1883
|
-
return C(t,
|
|
1881
|
+
`, Dr = (e) => (() => {
|
|
1882
|
+
const t = jr.cloneNode(!0);
|
|
1883
|
+
return C(t, Mr), f(t, h(un, {
|
|
1884
1884
|
get each() {
|
|
1885
|
-
return
|
|
1885
|
+
return hr(e.rows);
|
|
1886
1886
|
},
|
|
1887
1887
|
children: (n) => (() => {
|
|
1888
|
-
const r =
|
|
1888
|
+
const r = Ir.cloneNode(!0), l = r.firstChild, o = l.nextSibling;
|
|
1889
1889
|
return f(l, () => n().name), f(o, () => n().value), r;
|
|
1890
1890
|
})()
|
|
1891
1891
|
})), t;
|
|
1892
|
-
})(),
|
|
1892
|
+
})(), zr = `
|
|
1893
1893
|
user-select: text;
|
|
1894
1894
|
|
|
1895
1895
|
*, *::before, *::after {
|
|
1896
1896
|
user-select: text;
|
|
1897
1897
|
}
|
|
1898
1898
|
`;
|
|
1899
|
-
function
|
|
1899
|
+
function Rr(e) {
|
|
1900
1900
|
return `
|
|
1901
1901
|
display: -webkit-box;
|
|
1902
1902
|
overflow: hidden;
|
|
@@ -1909,12 +1909,15 @@ function Ue(e, t) {
|
|
|
1909
1909
|
const n = JSON.stringify(t);
|
|
1910
1910
|
return (ct.get(n) ?? ct.set(n, new Intl.NumberFormat("en-US", t)).get(n)).format(e);
|
|
1911
1911
|
}
|
|
1912
|
-
|
|
1912
|
+
function Fr(e) {
|
|
1913
|
+
return e !== null && typeof e == "object";
|
|
1914
|
+
}
|
|
1915
|
+
const Br = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Hr = /* @__PURE__ */ $('<div class="collapsed"></div>'), Vr = /* @__PURE__ */ $('<div class="delimiter">[]</div>'), Ur = /* @__PURE__ */ $('<div class="delimiter">{}</div>'), ut = /* @__PURE__ */ $('<div class="delimiter"></div>'), dt = /* @__PURE__ */ $('<div class="childs"></div>'), Wr = /* @__PURE__ */ $('<div class="delimiter end">]</div>'), ft = /* @__PURE__ */ $('<div class="child"></div>'), Zr = /* @__PURE__ */ $('<div class="delimiter end">}</div>'), Kr = /* @__PURE__ */ $('<div class="value" title="Shift + Click to copy value"></div>'), pt = /* @__PURE__ */ $('<span class="string-quotes">"</span>'), Jr = /* @__PURE__ */ $("<div></div>"), ht = /* @__PURE__ */ $("<span> · id: </span>"), Xr = S`
|
|
1913
1916
|
&&& {
|
|
1914
1917
|
font-family: ${z.decorative};
|
|
1915
1918
|
font-size: 13px;
|
|
1916
|
-
${
|
|
1917
|
-
${
|
|
1919
|
+
${zr};
|
|
1920
|
+
${O({
|
|
1918
1921
|
gap: 2
|
|
1919
1922
|
})};
|
|
1920
1923
|
padding-left: 8px;
|
|
@@ -1924,7 +1927,7 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
1924
1927
|
width: 16px;
|
|
1925
1928
|
display: inline-block;
|
|
1926
1929
|
vertical-align: middle;
|
|
1927
|
-
color: ${
|
|
1930
|
+
color: ${y.white.alpha(0.5)};
|
|
1928
1931
|
|
|
1929
1932
|
&:not(.expanded) .icon {
|
|
1930
1933
|
transform: rotate(-90deg);
|
|
@@ -1932,18 +1935,18 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
1932
1935
|
}
|
|
1933
1936
|
|
|
1934
1937
|
.show-all {
|
|
1935
|
-
color: ${
|
|
1938
|
+
color: ${y.white.alpha(0.5)};
|
|
1936
1939
|
text-align: left;
|
|
1937
1940
|
}
|
|
1938
1941
|
|
|
1939
1942
|
.childs {
|
|
1940
|
-
${
|
|
1943
|
+
${O({
|
|
1941
1944
|
gap: 2
|
|
1942
1945
|
})};
|
|
1943
1946
|
}
|
|
1944
1947
|
|
|
1945
1948
|
.delimiter {
|
|
1946
|
-
color: ${
|
|
1949
|
+
color: ${y.white.alpha(0.5)};
|
|
1947
1950
|
margin-top: 1px;
|
|
1948
1951
|
margin-bottom: 1px;
|
|
1949
1952
|
|
|
@@ -1957,13 +1960,13 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
1957
1960
|
.childs {
|
|
1958
1961
|
padding-left: 20px;
|
|
1959
1962
|
grid-column: 1 / span 3;
|
|
1960
|
-
border-left: 1px solid ${
|
|
1963
|
+
border-left: 1px solid ${y.white.alpha(0.05)};
|
|
1961
1964
|
|
|
1962
1965
|
> .value {
|
|
1963
1966
|
&::after {
|
|
1964
1967
|
content: ',';
|
|
1965
1968
|
opacity: 0.5;
|
|
1966
|
-
color: ${
|
|
1969
|
+
color: ${y.white.var};
|
|
1967
1970
|
}
|
|
1968
1971
|
}
|
|
1969
1972
|
}
|
|
@@ -1985,12 +1988,12 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
1985
1988
|
}
|
|
1986
1989
|
|
|
1987
1990
|
&.index {
|
|
1988
|
-
color: ${
|
|
1991
|
+
color: ${y.success.alpha(0.7)};
|
|
1989
1992
|
}
|
|
1990
1993
|
|
|
1991
1994
|
&::after {
|
|
1992
1995
|
content: ':';
|
|
1993
|
-
color: ${
|
|
1996
|
+
color: ${y.secondary.alpha(0.5)};
|
|
1994
1997
|
}
|
|
1995
1998
|
}
|
|
1996
1999
|
}
|
|
@@ -2001,30 +2004,34 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2001
2004
|
|
|
2002
2005
|
.value {
|
|
2003
2006
|
word-wrap: break-word;
|
|
2004
|
-
${
|
|
2007
|
+
${Rr(5)};
|
|
2005
2008
|
}
|
|
2006
2009
|
|
|
2007
2010
|
[data-type='number'] {
|
|
2008
|
-
color: ${
|
|
2011
|
+
color: ${y.primary.var};
|
|
2009
2012
|
}
|
|
2010
2013
|
|
|
2011
2014
|
[data-type='boolean'] {
|
|
2012
|
-
color: ${
|
|
2015
|
+
color: ${y.warning.var};
|
|
2013
2016
|
}
|
|
2014
2017
|
|
|
2015
2018
|
[data-type='object'],
|
|
2016
2019
|
[data-type='undefined'] {
|
|
2017
|
-
color: ${
|
|
2020
|
+
color: ${y.white.alpha(0.6)};
|
|
2018
2021
|
}
|
|
2019
2022
|
|
|
2020
2023
|
.collapsed {
|
|
2021
|
-
color: ${
|
|
2024
|
+
color: ${y.white.alpha(0.5)};
|
|
2025
|
+
|
|
2026
|
+
> span {
|
|
2027
|
+
color: ${y.white.alpha(0.4)};
|
|
2028
|
+
}
|
|
2022
2029
|
}
|
|
2023
2030
|
}
|
|
2024
|
-
`, te = 14,
|
|
2031
|
+
`, te = 14, We = (e) => {
|
|
2025
2032
|
let [t, n] = oe(!(e.indent > 0 && e.compact)), [r, l] = oe(!e.compact);
|
|
2026
2033
|
return m(() => {
|
|
2027
|
-
const o = e.value, s = Array.isArray(o), i = !s &&
|
|
2034
|
+
const o = e.value, s = Array.isArray(o), i = !s && Fr(o), a = e.key !== void 0 || e.index !== void 0, c = s && o.length > 0 || i && Object.keys(o).length > 0, u = c && h(F, {
|
|
2028
2035
|
onClick: () => {
|
|
2029
2036
|
n(() => !t());
|
|
2030
2037
|
},
|
|
@@ -2042,9 +2049,9 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2042
2049
|
}
|
|
2043
2050
|
});
|
|
2044
2051
|
return [a && (() => {
|
|
2045
|
-
const p =
|
|
2052
|
+
const p = Br.cloneNode(!0), d = p.firstChild;
|
|
2046
2053
|
return p.$$click = (g) => {
|
|
2047
|
-
g.shiftKey &&
|
|
2054
|
+
g.shiftKey && $e(o);
|
|
2048
2055
|
}, f(p, s || i ? u : null, d), f(d, () => e.key || e.index), _((g) => {
|
|
2049
2056
|
const v = `${e.key ? `${e.key}
|
|
2050
2057
|
` : ""}Shift + Click to copy value`, b = e.index !== void 0;
|
|
@@ -2056,12 +2063,12 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2056
2063
|
})(), m((() => {
|
|
2057
2064
|
const p = m(() => !!(a && c && !t()));
|
|
2058
2065
|
return () => p() ? (() => {
|
|
2059
|
-
const d =
|
|
2060
|
-
return f(d, () => s ? `[…] ${o.length} items` : `{…} ${Object.keys(o).length}
|
|
2061
|
-
})() : (() => s && o.length === 0 ?
|
|
2066
|
+
const d = Hr.cloneNode(!0);
|
|
2067
|
+
return f(d, () => s ? `[…] ${o.length} items` : [m(() => `{…} ${Object.keys(o).length} props`), m(() => Yr(o))]), d;
|
|
2068
|
+
})() : (() => s && o.length === 0 ? Vr.cloneNode(!0) : i && Object.keys(o).length === 0 ? Ur.cloneNode(!0) : s ? [(() => {
|
|
2062
2069
|
const d = ut.cloneNode(!0);
|
|
2063
2070
|
return _e(d, "click", a ? void 0 : (g) => {
|
|
2064
|
-
g.shiftKey &&
|
|
2071
|
+
g.shiftKey && $e(o);
|
|
2065
2072
|
}, !0), j(d, "title", a ? void 0 : "Shift + Click to copy value"), f(d, !a && u, null), f(d, () => t() ? "[" : `[…] ${o.length} items`, null), d;
|
|
2066
2073
|
})(), m((() => {
|
|
2067
2074
|
const d = m(() => !!t());
|
|
@@ -2072,7 +2079,7 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2072
2079
|
const b = v.length;
|
|
2073
2080
|
return r() || (v = v.slice(0, te)), [m(() => v.map((w, k) => (() => {
|
|
2074
2081
|
const x = ft.cloneNode(!0);
|
|
2075
|
-
return f(x, h(
|
|
2082
|
+
return f(x, h(We, {
|
|
2076
2083
|
value: w,
|
|
2077
2084
|
get indent() {
|
|
2078
2085
|
return e.indent + 1;
|
|
@@ -2095,11 +2102,11 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2095
2102
|
});
|
|
2096
2103
|
})())];
|
|
2097
2104
|
}), g;
|
|
2098
|
-
})(),
|
|
2105
|
+
})(), Wr.cloneNode(!0)];
|
|
2099
2106
|
})())] : i ? [(() => {
|
|
2100
2107
|
const d = ut.cloneNode(!0);
|
|
2101
2108
|
return _e(d, "click", a ? void 0 : (g) => {
|
|
2102
|
-
g.shiftKey &&
|
|
2109
|
+
g.shiftKey && $e(o);
|
|
2103
2110
|
}, !0), j(d, "title", a ? void 0 : "Shift + Click to copy value"), f(d, !a && u, null), f(d, (() => {
|
|
2104
2111
|
const g = m(() => !!t());
|
|
2105
2112
|
return () => g() ? "{" : `{…} ${Object.keys(o).length} properties`;
|
|
@@ -2113,7 +2120,7 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2113
2120
|
const b = v.length;
|
|
2114
2121
|
return r() || (v = v.slice(0, te)), [m(() => v.map(([w, k]) => (() => {
|
|
2115
2122
|
const x = ft.cloneNode(!0);
|
|
2116
|
-
return f(x, h(
|
|
2123
|
+
return f(x, h(We, {
|
|
2117
2124
|
value: k,
|
|
2118
2125
|
key: w,
|
|
2119
2126
|
get indent() {
|
|
@@ -2136,18 +2143,18 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2136
2143
|
});
|
|
2137
2144
|
})())];
|
|
2138
2145
|
}), g;
|
|
2139
|
-
})(),
|
|
2146
|
+
})(), Zr.cloneNode(!0)];
|
|
2140
2147
|
})())] : (() => {
|
|
2141
|
-
const d =
|
|
2148
|
+
const d = Kr.cloneNode(!0);
|
|
2142
2149
|
return d.$$click = (g) => {
|
|
2143
|
-
g.shiftKey &&
|
|
2150
|
+
g.shiftKey && $e(String(o));
|
|
2144
2151
|
}, j(d, "data-type", typeof o), f(d, typeof o == "string" && pt.cloneNode(!0), null), f(d, () => typeof o == "number" ? Ue(o) : String(o), null), f(d, typeof o == "string" && pt.cloneNode(!0), null), d;
|
|
2145
2152
|
})())();
|
|
2146
2153
|
})())];
|
|
2147
2154
|
});
|
|
2148
|
-
},
|
|
2149
|
-
const t =
|
|
2150
|
-
return C(t,
|
|
2155
|
+
}, Z = (e) => (() => {
|
|
2156
|
+
const t = Jr.cloneNode(!0);
|
|
2157
|
+
return C(t, Xr), f(t, h(We, {
|
|
2151
2158
|
get value() {
|
|
2152
2159
|
return e.value;
|
|
2153
2160
|
},
|
|
@@ -2157,24 +2164,42 @@ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2157
2164
|
}
|
|
2158
2165
|
})), t;
|
|
2159
2166
|
})();
|
|
2160
|
-
|
|
2167
|
+
function Yr(e) {
|
|
2168
|
+
if ("id" in e)
|
|
2169
|
+
return (() => {
|
|
2170
|
+
const n = ht.cloneNode(!0);
|
|
2171
|
+
return n.firstChild, f(n, () => String(e.id), null), n;
|
|
2172
|
+
})();
|
|
2173
|
+
const t = Object.keys(e);
|
|
2174
|
+
for (const n of t)
|
|
2175
|
+
if (n.startsWith("id_")) {
|
|
2176
|
+
const r = e[n];
|
|
2177
|
+
if (typeof r == "string" || typeof r == "number")
|
|
2178
|
+
return (() => {
|
|
2179
|
+
const l = ht.cloneNode(!0);
|
|
2180
|
+
return l.firstChild, f(l, r, null), l;
|
|
2181
|
+
})();
|
|
2182
|
+
}
|
|
2183
|
+
return "";
|
|
2184
|
+
}
|
|
2185
|
+
async function $e(e) {
|
|
2161
2186
|
await navigator.clipboard.writeText(typeof e == "object" ? JSON.stringify(e, null, 2) : String(e)), alert("Copied to clipboard");
|
|
2162
2187
|
}
|
|
2163
2188
|
Pe(["click"]);
|
|
2164
|
-
let
|
|
2165
|
-
function
|
|
2166
|
-
return
|
|
2189
|
+
let Gr = 0;
|
|
2190
|
+
function Qr() {
|
|
2191
|
+
return Gr++;
|
|
2167
2192
|
}
|
|
2168
|
-
const
|
|
2193
|
+
const qr = /* @__PURE__ */ $("<label></label>"), el = /* @__PURE__ */ $('<div><div class="inputContainer"><select></select></div></div>'), tl = /* @__PURE__ */ $('<option value="">-- select an option --</option>'), nl = /* @__PURE__ */ $("<option></option>"), rl = S`
|
|
2169
2194
|
&&& {
|
|
2170
|
-
${
|
|
2195
|
+
${O({
|
|
2171
2196
|
align: "left"
|
|
2172
2197
|
})};
|
|
2173
2198
|
width: 100%;
|
|
2174
2199
|
position: relative;
|
|
2175
2200
|
|
|
2176
2201
|
label {
|
|
2177
|
-
color: ${
|
|
2202
|
+
color: ${y.primary.var};
|
|
2178
2203
|
z-index: 1;
|
|
2179
2204
|
font-size: 13px;
|
|
2180
2205
|
letter-spacing: 0.08em;
|
|
@@ -2182,13 +2207,13 @@ const Yr = /* @__PURE__ */ y("<label></label>"), Gr = /* @__PURE__ */ y('<div><d
|
|
|
2182
2207
|
}
|
|
2183
2208
|
|
|
2184
2209
|
.inputContainer {
|
|
2185
|
-
background: ${
|
|
2210
|
+
background: ${y.white.alpha(0.05)};
|
|
2186
2211
|
border-radius: 4px;
|
|
2187
2212
|
margin-top: 0px;
|
|
2188
2213
|
position: relative;
|
|
2189
2214
|
width: 100%;
|
|
2190
2215
|
overflow: hidden;
|
|
2191
|
-
${
|
|
2216
|
+
${O({
|
|
2192
2217
|
align: "left"
|
|
2193
2218
|
})};
|
|
2194
2219
|
}
|
|
@@ -2201,7 +2226,7 @@ const Yr = /* @__PURE__ */ y("<label></label>"), Gr = /* @__PURE__ */ y('<div><d
|
|
|
2201
2226
|
padding-left: 10px;
|
|
2202
2227
|
font-size: 14px;
|
|
2203
2228
|
background: transparent;
|
|
2204
|
-
color: ${
|
|
2229
|
+
color: ${y.white.var};
|
|
2205
2230
|
|
|
2206
2231
|
&:focus {
|
|
2207
2232
|
outline: 0;
|
|
@@ -2217,72 +2242,72 @@ const Yr = /* @__PURE__ */ y("<label></label>"), Gr = /* @__PURE__ */ y('<div><d
|
|
|
2217
2242
|
left: 0;
|
|
2218
2243
|
right: 8px;
|
|
2219
2244
|
height: 17px;
|
|
2220
|
-
background: ${
|
|
2245
|
+
background: ${y.white.var};
|
|
2221
2246
|
}
|
|
2222
2247
|
}
|
|
2223
|
-
`,
|
|
2224
|
-
const t = `input${
|
|
2248
|
+
`, ll = (e) => {
|
|
2249
|
+
const t = `input${Qr()}`;
|
|
2225
2250
|
return (() => {
|
|
2226
|
-
const n =
|
|
2251
|
+
const n = el.cloneNode(!0), r = n.firstChild, l = r.firstChild;
|
|
2227
2252
|
return f(n, h(Y, {
|
|
2228
2253
|
get when() {
|
|
2229
2254
|
return e.label;
|
|
2230
2255
|
},
|
|
2231
2256
|
get children() {
|
|
2232
|
-
const o =
|
|
2257
|
+
const o = qr.cloneNode(!0);
|
|
2233
2258
|
return j(o, "for", t), f(o, () => e.label), o;
|
|
2234
2259
|
}
|
|
2235
2260
|
}), r), l.addEventListener("change", (o) => {
|
|
2236
2261
|
o.currentTarget.value && e.onChange(o.currentTarget.value);
|
|
2237
2262
|
}), j(l, "id", t), f(l, (() => {
|
|
2238
2263
|
const o = m(() => !e.value);
|
|
2239
|
-
return () => o() &&
|
|
2264
|
+
return () => o() && tl.cloneNode(!0);
|
|
2240
2265
|
})(), null), f(l, h(G, {
|
|
2241
2266
|
get each() {
|
|
2242
2267
|
return e.options;
|
|
2243
2268
|
},
|
|
2244
2269
|
children: (o) => (() => {
|
|
2245
|
-
const s =
|
|
2270
|
+
const s = nl.cloneNode(!0);
|
|
2246
2271
|
return f(s, () => o.label), _(() => s.value = o.value), s;
|
|
2247
2272
|
})()
|
|
2248
|
-
}), null), _(() => C(n,
|
|
2273
|
+
}), null), _(() => C(n, Vt(rl, e.class))), _(() => l.value = e.value ?? ""), n;
|
|
2249
2274
|
})();
|
|
2250
2275
|
};
|
|
2251
|
-
function
|
|
2276
|
+
function Ut(e) {
|
|
2252
2277
|
const t = e.alias || e.payload || e.searchParams;
|
|
2253
2278
|
return !t || Object.keys(t).length === 0 ? "" : typeof t == "string" || typeof t == "number" ? String(t) : JSON.stringify(t);
|
|
2254
2279
|
}
|
|
2255
|
-
function
|
|
2256
|
-
return
|
|
2280
|
+
function gt(e, t) {
|
|
2281
|
+
return xt(e, t) ? "no changes" : Yt.diffJson(
|
|
2257
2282
|
typeof e == "object" && e !== null ? e : String(e),
|
|
2258
2283
|
typeof t == "object" && t !== null ? t : String(t)
|
|
2259
2284
|
);
|
|
2260
2285
|
}
|
|
2261
|
-
function
|
|
2286
|
+
function ol(e, t) {
|
|
2262
2287
|
return e.length > t ? `${e.slice(0, t)}...` : e;
|
|
2263
2288
|
}
|
|
2264
|
-
const
|
|
2289
|
+
const il = /* @__PURE__ */ $('<div class="changes-count"><span class="additions">+ <b></b> lines</span> | <span class="removals">- <b></b> lines</span></div>'), Me = /* @__PURE__ */ $("<div></div>"), mt = /* @__PURE__ */ $("<div>No changes</div>"), yt = /* @__PURE__ */ $('<div class="line"></div>'), sl = S`
|
|
2265
2290
|
&&& {
|
|
2266
|
-
${
|
|
2291
|
+
${O({
|
|
2267
2292
|
gap: 14
|
|
2268
2293
|
})};
|
|
2269
2294
|
|
|
2270
2295
|
.changes-count {
|
|
2271
|
-
color: ${
|
|
2296
|
+
color: ${y.white.alpha(0.5)};
|
|
2272
2297
|
font-size: 14px;
|
|
2273
2298
|
|
|
2274
2299
|
.additions {
|
|
2275
|
-
color: ${
|
|
2300
|
+
color: ${y.success.var};
|
|
2276
2301
|
}
|
|
2277
2302
|
|
|
2278
2303
|
.removals {
|
|
2279
|
-
color: ${
|
|
2304
|
+
color: ${y.error.var};
|
|
2280
2305
|
}
|
|
2281
2306
|
}
|
|
2282
2307
|
}
|
|
2283
2308
|
`, $t = S`
|
|
2284
2309
|
&&& {
|
|
2285
|
-
${
|
|
2310
|
+
${O({
|
|
2286
2311
|
gap: 0
|
|
2287
2312
|
})};
|
|
2288
2313
|
font-size: 14px;
|
|
@@ -2296,8 +2321,8 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2296
2321
|
|
|
2297
2322
|
&.added {
|
|
2298
2323
|
opacity: 1;
|
|
2299
|
-
color: ${
|
|
2300
|
-
background: ${
|
|
2324
|
+
color: ${y.success.var};
|
|
2325
|
+
background: ${y.success.alpha(0.1)};
|
|
2301
2326
|
|
|
2302
2327
|
&::before {
|
|
2303
2328
|
content: '+';
|
|
@@ -2308,8 +2333,8 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2308
2333
|
|
|
2309
2334
|
&.removed {
|
|
2310
2335
|
opacity: 1;
|
|
2311
|
-
color: ${
|
|
2312
|
-
background: ${
|
|
2336
|
+
color: ${y.error.var};
|
|
2337
|
+
background: ${y.error.alpha(0.1)};
|
|
2313
2338
|
|
|
2314
2339
|
&::before {
|
|
2315
2340
|
content: '-';
|
|
@@ -2319,32 +2344,32 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2319
2344
|
}
|
|
2320
2345
|
}
|
|
2321
2346
|
}
|
|
2322
|
-
`,
|
|
2347
|
+
`, al = () => {
|
|
2323
2348
|
const e = m(() => {
|
|
2324
2349
|
const {
|
|
2325
2350
|
selectedCall: a
|
|
2326
2351
|
} = I;
|
|
2327
|
-
return a ? Q.calls[a] : Q.calls[
|
|
2328
|
-
}), t = He(() => I.selectedRequest ? e()?.requests.find((a) => a.id === I.selectedRequest) : e()?.requests.at(-1) || null), n = m(() => t.value?.id), r =
|
|
2352
|
+
return a ? Q.calls[a] : Q.calls[Oe.value];
|
|
2353
|
+
}), t = He(() => I.selectedRequest ? e()?.requests.find((a) => a.id === I.selectedRequest) : e()?.requests.at(-1) || null), n = m(() => t.value?.id), r = Bt(() => {
|
|
2329
2354
|
const a = e();
|
|
2330
|
-
return a ?
|
|
2355
|
+
return a ? Ht(a.requests).map((c) => ({
|
|
2331
2356
|
value: c.id,
|
|
2332
|
-
label: `${ne(c.startTime).format("HH:mm:ss")} | ${
|
|
2357
|
+
label: `${ne(c.startTime).format("HH:mm:ss")} | ${ol(Ut(c), 50)}`
|
|
2333
2358
|
})).filter((c) => c.value !== n()) : [];
|
|
2334
2359
|
}, "value"), l = ge(null), o = m(() => l.value ? e()?.requests.find((a) => a.id === l.value) : null), s = m(() => {
|
|
2335
2360
|
if (!l.value || !n())
|
|
2336
2361
|
return [];
|
|
2337
|
-
const a = t.value?.response, c = o()?.response, u =
|
|
2362
|
+
const a = t.value?.response, c = o()?.response, u = gt(c, a);
|
|
2338
2363
|
return u === "no changes" ? [] : u;
|
|
2339
2364
|
}), i = m(() => {
|
|
2340
2365
|
if (!l.value || !n())
|
|
2341
2366
|
return [];
|
|
2342
|
-
const a =
|
|
2367
|
+
const a = vt(t.value), c = vt(o()), u = gt(c, a);
|
|
2343
2368
|
return u === "no changes" ? [] : u;
|
|
2344
2369
|
});
|
|
2345
2370
|
return (() => {
|
|
2346
2371
|
const a = Me.cloneNode(!0);
|
|
2347
|
-
return C(a,
|
|
2372
|
+
return C(a, sl), f(a, h(ll, {
|
|
2348
2373
|
get value() {
|
|
2349
2374
|
return l.value;
|
|
2350
2375
|
},
|
|
@@ -2361,7 +2386,7 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2361
2386
|
},
|
|
2362
2387
|
get children() {
|
|
2363
2388
|
return [(() => {
|
|
2364
|
-
const c =
|
|
2389
|
+
const c = il.cloneNode(!0), u = c.firstChild, p = u.firstChild, d = p.nextSibling, g = u.nextSibling, v = g.nextSibling, b = v.firstChild, w = b.nextSibling;
|
|
2365
2390
|
return f(d, () => s().filter((k) => k.added).length), f(w, () => s().filter((k) => k.removed).length), c;
|
|
2366
2391
|
})(), h(Y, {
|
|
2367
2392
|
get when() {
|
|
@@ -2379,10 +2404,10 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2379
2404
|
return i();
|
|
2380
2405
|
},
|
|
2381
2406
|
get fallback() {
|
|
2382
|
-
return
|
|
2407
|
+
return mt.cloneNode(!0);
|
|
2383
2408
|
},
|
|
2384
2409
|
children: (u) => (() => {
|
|
2385
|
-
const p =
|
|
2410
|
+
const p = yt.cloneNode(!0);
|
|
2386
2411
|
return f(p, () => u.value), _((d) => {
|
|
2387
2412
|
const g = !!u.added, v = !!u.removed;
|
|
2388
2413
|
return g !== d._v$ && p.classList.toggle("added", d._v$ = g), v !== d._v$2 && p.classList.toggle("removed", d._v$2 = v), d;
|
|
@@ -2409,10 +2434,10 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2409
2434
|
return s();
|
|
2410
2435
|
},
|
|
2411
2436
|
get fallback() {
|
|
2412
|
-
return
|
|
2437
|
+
return mt.cloneNode(!0);
|
|
2413
2438
|
},
|
|
2414
2439
|
children: (u) => (() => {
|
|
2415
|
-
const p =
|
|
2440
|
+
const p = yt.cloneNode(!0);
|
|
2416
2441
|
return f(p, () => u.value), _((d) => {
|
|
2417
2442
|
const g = !!u.added, v = !!u.removed;
|
|
2418
2443
|
return g !== d._v$3 && p.classList.toggle("added", d._v$3 = g), v !== d._v$4 && p.classList.toggle("removed", d._v$4 = v), d;
|
|
@@ -2430,12 +2455,12 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2430
2455
|
}), null), a;
|
|
2431
2456
|
})();
|
|
2432
2457
|
};
|
|
2433
|
-
function
|
|
2458
|
+
function vt(e) {
|
|
2434
2459
|
return e ? e.payload || e.searchParams || e.pathParams : null;
|
|
2435
2460
|
}
|
|
2436
|
-
const
|
|
2461
|
+
const bt = /* @__PURE__ */ $("<div></div>"), cl = /* @__PURE__ */ $('<h1><span class="type"></span><span>|</span></h1>'), ul = /* @__PURE__ */ $('<div class="tags"></div>'), dl = /* @__PURE__ */ $('<div class="details"></div>'), fl = /* @__PURE__ */ $('<span class="separator">|</span>'), pl = /* @__PURE__ */ $("<h2></h2>"), hl = /* @__PURE__ */ $('<div class="method"></div>'), gl = /* @__PURE__ */ $('<div class="code"></div>'), ml = /* @__PURE__ */ $('<div class="tag error">Has Error</div>'), yl = /* @__PURE__ */ $('<div class="tag"></div>'), $l = /* @__PURE__ */ $("<span> ms</span>"), vl = /* @__PURE__ */ $("<span></span>"), bl = S`
|
|
2437
2462
|
&&& {
|
|
2438
|
-
${
|
|
2463
|
+
${O()};
|
|
2439
2464
|
padding-left: 10px;
|
|
2440
2465
|
|
|
2441
2466
|
> h1 {
|
|
@@ -2452,7 +2477,7 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2452
2477
|
|
|
2453
2478
|
span.type {
|
|
2454
2479
|
text-transform: capitalize;
|
|
2455
|
-
color: ${
|
|
2480
|
+
color: ${y.secondary.var};
|
|
2456
2481
|
}
|
|
2457
2482
|
}
|
|
2458
2483
|
|
|
@@ -2470,28 +2495,28 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2470
2495
|
margin-top: 8px;
|
|
2471
2496
|
|
|
2472
2497
|
.method {
|
|
2473
|
-
color: ${
|
|
2498
|
+
color: ${y.primary.var};
|
|
2474
2499
|
}
|
|
2475
2500
|
|
|
2476
2501
|
.code {
|
|
2477
|
-
color: ${
|
|
2502
|
+
color: ${y.success.var};
|
|
2478
2503
|
|
|
2479
2504
|
&.error {
|
|
2480
|
-
color: ${
|
|
2505
|
+
color: ${y.error.var};
|
|
2481
2506
|
}
|
|
2482
2507
|
}
|
|
2483
2508
|
|
|
2484
2509
|
.tag {
|
|
2485
2510
|
font-size: 11px;
|
|
2486
|
-
color: ${
|
|
2511
|
+
color: ${y.warning.var};
|
|
2487
2512
|
padding: 1px 3px;
|
|
2488
2513
|
border-radius: 4px;
|
|
2489
|
-
border: 1px solid ${
|
|
2514
|
+
border: 1px solid ${y.warning.alpha(0.6)};
|
|
2490
2515
|
|
|
2491
2516
|
&.error {
|
|
2492
|
-
color: ${
|
|
2517
|
+
color: ${y.error.var};
|
|
2493
2518
|
font-weight: 600;
|
|
2494
|
-
border-color: ${
|
|
2519
|
+
border-color: ${y.error.alpha(0.6)};
|
|
2495
2520
|
}
|
|
2496
2521
|
}
|
|
2497
2522
|
}
|
|
@@ -2499,7 +2524,7 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2499
2524
|
> .details {
|
|
2500
2525
|
margin-top: 14px;
|
|
2501
2526
|
padding-right: 10px;
|
|
2502
|
-
${
|
|
2527
|
+
${O({
|
|
2503
2528
|
gap: 8
|
|
2504
2529
|
})};
|
|
2505
2530
|
flex: 1 1;
|
|
@@ -2507,12 +2532,12 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2507
2532
|
padding-bottom: 20px;
|
|
2508
2533
|
}
|
|
2509
2534
|
}
|
|
2510
|
-
`,
|
|
2535
|
+
`, wl = S`
|
|
2511
2536
|
&&& {
|
|
2512
2537
|
${B({
|
|
2513
2538
|
gap: 20
|
|
2514
2539
|
})};
|
|
2515
|
-
color: ${
|
|
2540
|
+
color: ${y.secondary.var};
|
|
2516
2541
|
margin-top: 20px;
|
|
2517
2542
|
|
|
2518
2543
|
> button {
|
|
@@ -2529,10 +2554,10 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2529
2554
|
}
|
|
2530
2555
|
}
|
|
2531
2556
|
}
|
|
2532
|
-
`,
|
|
2557
|
+
`, xl = () => {
|
|
2533
2558
|
const e = m(() => I.selectedCall), t = m(() => I.selectedRequest), n = m(() => I.selectedTab || "summary"), r = He(() => {
|
|
2534
2559
|
let s;
|
|
2535
|
-
e() ? s = Q.calls[e()] : s = Q.calls[
|
|
2560
|
+
e() ? s = Q.calls[e()] : s = Q.calls[Oe.value];
|
|
2536
2561
|
const i = t() && s?.requests.find((a) => a.id === t()) || s?.requests.at(-1);
|
|
2537
2562
|
return i && s ? {
|
|
2538
2563
|
...i,
|
|
@@ -2565,53 +2590,53 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2565
2590
|
});
|
|
2566
2591
|
});
|
|
2567
2592
|
return (() => {
|
|
2568
|
-
const s =
|
|
2569
|
-
return C(s,
|
|
2593
|
+
const s = bt.cloneNode(!0);
|
|
2594
|
+
return C(s, bl), f(s, h(Y, {
|
|
2570
2595
|
get when() {
|
|
2571
2596
|
return r.value;
|
|
2572
2597
|
},
|
|
2573
2598
|
keyed: !0,
|
|
2574
2599
|
children: (i) => [(() => {
|
|
2575
|
-
const a =
|
|
2600
|
+
const a = cl.cloneNode(!0), c = a.firstChild;
|
|
2576
2601
|
return c.nextSibling, f(c, () => i.type === "ws" ? `WS ${i.subType}` : "API"), f(a, () => i.callName, null), f(a, (() => {
|
|
2577
2602
|
const u = m(() => !!i.alias);
|
|
2578
|
-
return () => u() &&
|
|
2603
|
+
return () => u() && fl.cloneNode(!0);
|
|
2579
2604
|
})(), null), f(a, () => i.alias, null), a;
|
|
2580
2605
|
})(), m((() => {
|
|
2581
2606
|
const a = m(() => i.callPath !== i.callName);
|
|
2582
2607
|
return () => a() && (() => {
|
|
2583
|
-
const c =
|
|
2608
|
+
const c = pl.cloneNode(!0);
|
|
2584
2609
|
return f(c, () => i.callPath), c;
|
|
2585
2610
|
})();
|
|
2586
2611
|
})()), (() => {
|
|
2587
|
-
const a =
|
|
2612
|
+
const a = ul.cloneNode(!0);
|
|
2588
2613
|
return f(a, (() => {
|
|
2589
2614
|
const c = m(() => !!i.method);
|
|
2590
2615
|
return () => c() && (() => {
|
|
2591
|
-
const u =
|
|
2616
|
+
const u = hl.cloneNode(!0);
|
|
2592
2617
|
return f(u, () => i.method), u;
|
|
2593
2618
|
})();
|
|
2594
2619
|
})(), null), f(a, (() => {
|
|
2595
2620
|
const c = m(() => !!i.code);
|
|
2596
2621
|
return () => c() && (() => {
|
|
2597
|
-
const u =
|
|
2622
|
+
const u = gl.cloneNode(!0);
|
|
2598
2623
|
return f(u, () => i.code), _(() => u.classList.toggle("error", i.code >= 400)), u;
|
|
2599
2624
|
})();
|
|
2600
2625
|
})(), null), f(a, (() => {
|
|
2601
2626
|
const c = m(() => !!i.isError);
|
|
2602
|
-
return () => c() &&
|
|
2627
|
+
return () => c() && ml.cloneNode(!0);
|
|
2603
2628
|
})(), null), f(a, h(G, {
|
|
2604
2629
|
get each() {
|
|
2605
2630
|
return i.tags;
|
|
2606
2631
|
},
|
|
2607
2632
|
children: (c) => (() => {
|
|
2608
|
-
const u =
|
|
2633
|
+
const u = yl.cloneNode(!0);
|
|
2609
2634
|
return f(u, c), u;
|
|
2610
2635
|
})()
|
|
2611
2636
|
}), null), a;
|
|
2612
2637
|
})(), (() => {
|
|
2613
|
-
const a =
|
|
2614
|
-
return C(a,
|
|
2638
|
+
const a = bt.cloneNode(!0);
|
|
2639
|
+
return C(a, wl), f(a, () => l("summary", "Summary"), null), f(a, (() => {
|
|
2615
2640
|
const c = m(() => !!i.payload);
|
|
2616
2641
|
return () => c() && l("payload", "Payload");
|
|
2617
2642
|
})(), null), f(a, (() => {
|
|
@@ -2619,8 +2644,8 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2619
2644
|
return () => c() && l("urlParams", "URL Params");
|
|
2620
2645
|
})(), null), f(a, () => l("response", "Response"), null), f(a, () => l("diff", "Diff"), null), a;
|
|
2621
2646
|
})(), (() => {
|
|
2622
|
-
const a =
|
|
2623
|
-
return f(a, h(
|
|
2647
|
+
const a = dl.cloneNode(!0);
|
|
2648
|
+
return f(a, h(dn, {
|
|
2624
2649
|
get children() {
|
|
2625
2650
|
return [h(de, {
|
|
2626
2651
|
get when() {
|
|
@@ -2630,7 +2655,7 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2630
2655
|
return [m(() => m(() => !!i.payload)() && h(M, {
|
|
2631
2656
|
title: "Payload",
|
|
2632
2657
|
get children() {
|
|
2633
|
-
return h(
|
|
2658
|
+
return h(Z, {
|
|
2634
2659
|
get value() {
|
|
2635
2660
|
return i.payload;
|
|
2636
2661
|
},
|
|
@@ -2640,7 +2665,7 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2640
2665
|
})), m(() => m(() => !!i.searchParams)() && h(M, {
|
|
2641
2666
|
title: "URL Params",
|
|
2642
2667
|
get children() {
|
|
2643
|
-
return h(
|
|
2668
|
+
return h(Z, {
|
|
2644
2669
|
get value() {
|
|
2645
2670
|
return i.searchParams;
|
|
2646
2671
|
},
|
|
@@ -2650,7 +2675,7 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2650
2675
|
})), m(() => m(() => !!i.response)() && h(M, {
|
|
2651
2676
|
title: "Response",
|
|
2652
2677
|
get children() {
|
|
2653
|
-
return h(
|
|
2678
|
+
return h(Z, {
|
|
2654
2679
|
get value() {
|
|
2655
2680
|
return i.response;
|
|
2656
2681
|
},
|
|
@@ -2660,20 +2685,20 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2660
2685
|
})), h(M, {
|
|
2661
2686
|
title: "Stats",
|
|
2662
2687
|
get children() {
|
|
2663
|
-
return h(
|
|
2688
|
+
return h(Dr, {
|
|
2664
2689
|
get rows() {
|
|
2665
2690
|
return [i.type !== "ws" && {
|
|
2666
2691
|
name: "Duration",
|
|
2667
2692
|
value: (() => {
|
|
2668
|
-
const c =
|
|
2693
|
+
const c = $l.cloneNode(!0), u = c.firstChild;
|
|
2669
2694
|
return f(c, () => Ue(i.duration, {
|
|
2670
2695
|
maximumFractionDigits: 0
|
|
2671
|
-
}), u), _(() => c.style.setProperty("color", i.duration < 500 ?
|
|
2696
|
+
}), u), _(() => c.style.setProperty("color", i.duration < 500 ? y.success.var : i.duration > 1e3 ? y.error.var : void 0)), c;
|
|
2672
2697
|
})()
|
|
2673
2698
|
}, {
|
|
2674
2699
|
name: "Start Time",
|
|
2675
2700
|
value: (() => {
|
|
2676
|
-
const c =
|
|
2701
|
+
const c = vl.cloneNode(!0);
|
|
2677
2702
|
return f(c, () => `${ne(i.startTime).format("HH:mm:ss")} (${ne(i.startTime).fromNow()})`), _(() => j(c, "title", ne(i.startTime).format("YYYY-MM-DD HH:mm:ss.SSS"))), c;
|
|
2678
2703
|
})()
|
|
2679
2704
|
}, !!o.value && {
|
|
@@ -2691,7 +2716,7 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2691
2716
|
return h(M, {
|
|
2692
2717
|
title: "Metadata",
|
|
2693
2718
|
get children() {
|
|
2694
|
-
return h(
|
|
2719
|
+
return h(Z, {
|
|
2695
2720
|
get value() {
|
|
2696
2721
|
return i.metadata;
|
|
2697
2722
|
}
|
|
@@ -2709,7 +2734,7 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2709
2734
|
return h(M, {
|
|
2710
2735
|
title: null,
|
|
2711
2736
|
get children() {
|
|
2712
|
-
return h(
|
|
2737
|
+
return h(Z, {
|
|
2713
2738
|
get value() {
|
|
2714
2739
|
return i.payload;
|
|
2715
2740
|
}
|
|
@@ -2725,7 +2750,7 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2725
2750
|
return h(M, {
|
|
2726
2751
|
title: null,
|
|
2727
2752
|
get children() {
|
|
2728
|
-
return h(
|
|
2753
|
+
return h(Z, {
|
|
2729
2754
|
get value() {
|
|
2730
2755
|
return i.response;
|
|
2731
2756
|
}
|
|
@@ -2741,7 +2766,7 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2741
2766
|
return h(M, {
|
|
2742
2767
|
title: null,
|
|
2743
2768
|
get children() {
|
|
2744
|
-
return h(
|
|
2769
|
+
return h(Z, {
|
|
2745
2770
|
get value() {
|
|
2746
2771
|
return i.searchParams;
|
|
2747
2772
|
}
|
|
@@ -2754,7 +2779,7 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2754
2779
|
return n() === "diff";
|
|
2755
2780
|
},
|
|
2756
2781
|
get children() {
|
|
2757
|
-
return h(
|
|
2782
|
+
return h(al, {});
|
|
2758
2783
|
}
|
|
2759
2784
|
})];
|
|
2760
2785
|
}
|
|
@@ -2762,33 +2787,33 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2762
2787
|
})()]
|
|
2763
2788
|
})), s;
|
|
2764
2789
|
})();
|
|
2765
|
-
},
|
|
2790
|
+
}, Cl = /* @__PURE__ */ $("<div><h1>timeline</h1><div></div></div>"), _l = /* @__PURE__ */ $("<div>no requests found</div>"), Sl = /* @__PURE__ */ $('<span class="start-time"></span>'), kl = /* @__PURE__ */ $("<div></div>"), Nl = /* @__PURE__ */ $('<span class="separator">|</span>'), Al = /* @__PURE__ */ $('<span class="payload"></span>'), Tl = S`
|
|
2766
2791
|
&&& {
|
|
2767
|
-
${
|
|
2768
|
-
border-right: 1px solid ${
|
|
2792
|
+
${O()};
|
|
2793
|
+
border-right: 1px solid ${y.white.alpha(0.1)};
|
|
2769
2794
|
|
|
2770
2795
|
> h1 {
|
|
2771
2796
|
font-size: 16px;
|
|
2772
2797
|
padding-left: 12px;
|
|
2773
2798
|
padding-top: 10px;
|
|
2774
2799
|
font-family: ${z.decorative};
|
|
2775
|
-
color: ${
|
|
2800
|
+
color: ${y.secondary.var};
|
|
2776
2801
|
padding-bottom: 16px;
|
|
2777
2802
|
}
|
|
2778
2803
|
}
|
|
2779
|
-
`,
|
|
2804
|
+
`, Pl = S`
|
|
2780
2805
|
&&& {
|
|
2781
|
-
${
|
|
2806
|
+
${O()};
|
|
2782
2807
|
flex: 1 1;
|
|
2783
2808
|
overflow-y: auto;
|
|
2784
2809
|
}
|
|
2785
|
-
`,
|
|
2810
|
+
`, El = S`
|
|
2786
2811
|
&&& {
|
|
2787
2812
|
font-size: 13px;
|
|
2788
|
-
${
|
|
2813
|
+
${O()};
|
|
2789
2814
|
|
|
2790
2815
|
&.error {
|
|
2791
|
-
color: ${
|
|
2816
|
+
color: ${y.error.var};
|
|
2792
2817
|
font-weight: 600;
|
|
2793
2818
|
}
|
|
2794
2819
|
|
|
@@ -2801,7 +2826,7 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2801
2826
|
|
|
2802
2827
|
&.selected {
|
|
2803
2828
|
opacity: 1;
|
|
2804
|
-
background-color: ${
|
|
2829
|
+
background-color: ${y.secondary.alpha(0.16)};
|
|
2805
2830
|
}
|
|
2806
2831
|
|
|
2807
2832
|
> .start-time {
|
|
@@ -2818,38 +2843,38 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2818
2843
|
}
|
|
2819
2844
|
}
|
|
2820
2845
|
}
|
|
2821
|
-
`,
|
|
2846
|
+
`, Ol = S`
|
|
2822
2847
|
&&& {
|
|
2823
2848
|
opacity: 0.4;
|
|
2824
2849
|
font-size: 14px;
|
|
2825
2850
|
padding: 12px;
|
|
2826
2851
|
padding-top: 0;
|
|
2827
2852
|
}
|
|
2828
|
-
`,
|
|
2853
|
+
`, Ll = () => {
|
|
2829
2854
|
const e = m(() => {
|
|
2830
2855
|
const l = I.selectedCall;
|
|
2831
|
-
return l ? l ? Q.calls[l] : null : Q.calls[
|
|
2856
|
+
return l ? l ? Q.calls[l] : null : Q.calls[Oe.value] || null;
|
|
2832
2857
|
}), t = m(() => {
|
|
2833
|
-
const l =
|
|
2858
|
+
const l = Ht(e()?.requests);
|
|
2834
2859
|
return l.length === 0 ? null : l;
|
|
2835
2860
|
}), n = m(() => I.selectedSubitem ? t()?.filter((l) => l.alias === I.selectedSubitem) : t()), r = m(() => I.selectedRequest || n()?.[0]?.id);
|
|
2836
2861
|
return (() => {
|
|
2837
|
-
const l =
|
|
2838
|
-
return C(l,
|
|
2862
|
+
const l = Cl.cloneNode(!0), o = l.firstChild, s = o.nextSibling;
|
|
2863
|
+
return C(l, Tl), C(s, Pl), f(s, h(G, {
|
|
2839
2864
|
get each() {
|
|
2840
2865
|
return n();
|
|
2841
2866
|
},
|
|
2842
2867
|
get fallback() {
|
|
2843
2868
|
return (() => {
|
|
2844
|
-
const i =
|
|
2845
|
-
return C(i,
|
|
2869
|
+
const i = _l.cloneNode(!0);
|
|
2870
|
+
return C(i, Ol), i;
|
|
2846
2871
|
})();
|
|
2847
2872
|
},
|
|
2848
2873
|
children: (i) => {
|
|
2849
|
-
const a = ne(i.startTime), c = a.format("HH:mm:ss"), u = a.fromNow(), p =
|
|
2874
|
+
const a = ne(i.startTime), c = a.format("HH:mm:ss"), u = a.fromNow(), p = Ut(i);
|
|
2850
2875
|
return (() => {
|
|
2851
|
-
const d =
|
|
2852
|
-
return C(d,
|
|
2876
|
+
const d = kl.cloneNode(!0);
|
|
2877
|
+
return C(d, El), f(d, h(F, {
|
|
2853
2878
|
onClick: () => {
|
|
2854
2879
|
Ne("selectedRequest", i.id);
|
|
2855
2880
|
},
|
|
@@ -2860,10 +2885,10 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2860
2885
|
},
|
|
2861
2886
|
get children() {
|
|
2862
2887
|
return [(() => {
|
|
2863
|
-
const g = xl.cloneNode(!0);
|
|
2864
|
-
return j(g, "title", u), f(g, c), g;
|
|
2865
|
-
})(), m(() => !!p && [_l.cloneNode(!0), (() => {
|
|
2866
2888
|
const g = Sl.cloneNode(!0);
|
|
2889
|
+
return j(g, "title", u), f(g, c), g;
|
|
2890
|
+
})(), m(() => !!p && [Nl.cloneNode(!0), (() => {
|
|
2891
|
+
const g = Al.cloneNode(!0);
|
|
2867
2892
|
return j(g, "title", p), f(g, p), g;
|
|
2868
2893
|
})()])];
|
|
2869
2894
|
}
|
|
@@ -2872,17 +2897,17 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2872
2897
|
}
|
|
2873
2898
|
})), l;
|
|
2874
2899
|
})();
|
|
2875
|
-
},
|
|
2900
|
+
}, jl = /* @__PURE__ */ $("<div></div>"), Il = S`
|
|
2876
2901
|
&&& {
|
|
2877
2902
|
display: grid;
|
|
2878
2903
|
grid-template-columns: 1fr 1fr 3fr;
|
|
2879
2904
|
}
|
|
2880
|
-
`,
|
|
2881
|
-
const e =
|
|
2882
|
-
return C(e,
|
|
2883
|
-
})(),
|
|
2905
|
+
`, Ml = () => (() => {
|
|
2906
|
+
const e = jl.cloneNode(!0);
|
|
2907
|
+
return C(e, Il), f(e, h(Pr, {}), null), f(e, h(Ll, {}), null), f(e, h(xl, {}), null), e;
|
|
2908
|
+
})(), Dl = `
|
|
2884
2909
|
font-family: ${z.primary};
|
|
2885
|
-
color: ${
|
|
2910
|
+
color: ${y.textPrimary.var};
|
|
2886
2911
|
|
|
2887
2912
|
* {
|
|
2888
2913
|
user-select: none;
|
|
@@ -2931,11 +2956,11 @@ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2931
2956
|
h3 {
|
|
2932
2957
|
font-weight: normal;
|
|
2933
2958
|
}
|
|
2934
|
-
`,
|
|
2959
|
+
`, zl = `
|
|
2935
2960
|
display: flex;
|
|
2936
2961
|
align-items: center;
|
|
2937
2962
|
justify-content: center;
|
|
2938
|
-
`,
|
|
2963
|
+
`, Rl = `
|
|
2939
2964
|
*,
|
|
2940
2965
|
*::before,
|
|
2941
2966
|
*::after {
|
|
@@ -3009,26 +3034,26 @@ button {
|
|
|
3009
3034
|
cursor: pointer;
|
|
3010
3035
|
-webkit-appearance: none;
|
|
3011
3036
|
}
|
|
3012
|
-
`,
|
|
3013
|
-
${
|
|
3014
|
-
${
|
|
3037
|
+
`, Fl = /* @__PURE__ */ $("<div></div>"), Bl = /* @__PURE__ */ $('<div id="dev-tools-root-element"><nav></nav><main></main></div>'), Hl = S`
|
|
3038
|
+
${Rl};
|
|
3039
|
+
${Dl};
|
|
3015
3040
|
|
|
3016
3041
|
position: fixed;
|
|
3017
3042
|
inset: 32px;
|
|
3018
3043
|
border-radius: 4px;
|
|
3019
|
-
background: ${
|
|
3044
|
+
background: ${y.bgPrimary.var};
|
|
3020
3045
|
display: grid;
|
|
3021
3046
|
grid-template-columns: 51px 1fr;
|
|
3022
3047
|
|
|
3023
3048
|
nav {
|
|
3024
|
-
${
|
|
3025
|
-
border-right: 1px solid ${
|
|
3049
|
+
${O()};
|
|
3050
|
+
border-right: 1px solid ${y.white.alpha(0.1)};
|
|
3026
3051
|
|
|
3027
3052
|
button {
|
|
3028
|
-
${
|
|
3053
|
+
${zl};
|
|
3029
3054
|
width: 100%;
|
|
3030
3055
|
aspect-ratio: 1 / 1;
|
|
3031
|
-
color: ${
|
|
3056
|
+
color: ${y.bgPrimary.var};
|
|
3032
3057
|
--icon-size: 30px;
|
|
3033
3058
|
|
|
3034
3059
|
&::before {
|
|
@@ -3036,7 +3061,7 @@ button {
|
|
|
3036
3061
|
inset: 6px;
|
|
3037
3062
|
border-radius: 3px;
|
|
3038
3063
|
position: absolute;
|
|
3039
|
-
background: ${
|
|
3064
|
+
background: ${y.primary.var};
|
|
3040
3065
|
}
|
|
3041
3066
|
}
|
|
3042
3067
|
}
|
|
@@ -3044,28 +3069,28 @@ button {
|
|
|
3044
3069
|
> main > * {
|
|
3045
3070
|
${Je};
|
|
3046
3071
|
}
|
|
3047
|
-
`,
|
|
3072
|
+
`, Vl = S`
|
|
3048
3073
|
${Je};
|
|
3049
3074
|
position: fixed;
|
|
3050
3075
|
inset: 0;
|
|
3051
3076
|
backdrop-filter: blur(5px);
|
|
3052
|
-
`,
|
|
3053
|
-
const e =
|
|
3054
|
-
return _e(e, "click", Zt, !0), C(e,
|
|
3077
|
+
`, Ul = () => [(() => {
|
|
3078
|
+
const e = Fl.cloneNode(!0);
|
|
3079
|
+
return _e(e, "click", Zt, !0), C(e, Vl), e;
|
|
3055
3080
|
})(), (() => {
|
|
3056
|
-
const e =
|
|
3057
|
-
return C(e,
|
|
3081
|
+
const e = Bl.cloneNode(!0), t = e.firstChild, n = t.nextSibling;
|
|
3082
|
+
return C(e, Hl), f(t, h(F, {
|
|
3058
3083
|
title: "API Explorer",
|
|
3059
3084
|
get children() {
|
|
3060
3085
|
return h(Ee, {
|
|
3061
3086
|
name: "network"
|
|
3062
3087
|
});
|
|
3063
3088
|
}
|
|
3064
|
-
})), f(n, h(
|
|
3089
|
+
})), f(n, h(Ml, {})), e;
|
|
3065
3090
|
})()];
|
|
3066
3091
|
Pe(["click"]);
|
|
3067
|
-
const
|
|
3068
|
-
function
|
|
3092
|
+
const Wl = () => h(Ul, {});
|
|
3093
|
+
function Zl(e) {
|
|
3069
3094
|
let t = "";
|
|
3070
3095
|
return e.forEach(({ family: n, weights: r, italics: l }) => {
|
|
3071
3096
|
t += `${t ? "&" : ""}family=${n}:`, r[1] === ".." ? t += `wght@${r[0]}..${r[2]}` : (t += "ital,wght@", r.forEach((o, s) => {
|
|
@@ -3075,12 +3100,12 @@ function Vl(e) {
|
|
|
3075
3100
|
}));
|
|
3076
3101
|
}), `https://fonts.googleapis.com/css2?${t}&display=swap`;
|
|
3077
3102
|
}
|
|
3078
|
-
let
|
|
3079
|
-
function
|
|
3080
|
-
if (
|
|
3103
|
+
let wt = !1;
|
|
3104
|
+
function Kl() {
|
|
3105
|
+
if (wt)
|
|
3081
3106
|
return;
|
|
3082
|
-
|
|
3083
|
-
const e =
|
|
3107
|
+
wt = !0;
|
|
3108
|
+
const e = Zl([
|
|
3084
3109
|
{
|
|
3085
3110
|
family: "Work+Sans",
|
|
3086
3111
|
weights: [300, "..", 700]
|
|
@@ -3088,35 +3113,35 @@ function Ul() {
|
|
|
3088
3113
|
]), t = document.getElementsByTagName("head")[0], n = document.createElement("link");
|
|
3089
3114
|
n.type = "text/css", n.rel = "stylesheet", n.href = e, t?.appendChild(n);
|
|
3090
3115
|
}
|
|
3091
|
-
let
|
|
3092
|
-
},
|
|
3093
|
-
function
|
|
3094
|
-
if (ne.extend(
|
|
3116
|
+
let Wt = () => {
|
|
3117
|
+
}, Ze = !1;
|
|
3118
|
+
function Jl() {
|
|
3119
|
+
if (ne.extend(An), Ze) {
|
|
3095
3120
|
Zt();
|
|
3096
3121
|
return;
|
|
3097
3122
|
}
|
|
3098
|
-
|
|
3123
|
+
Ze = !0, Kl(), navigator.platform.indexOf("Win") > -1 && document.body.classList.add("windows");
|
|
3099
3124
|
const e = document.getElementById("dev-tools-root") || document.createElement("div");
|
|
3100
|
-
e.id = "dev-tools-root", document.body.appendChild(e),
|
|
3125
|
+
e.id = "dev-tools-root", document.body.appendChild(e), Wt = vn(() => h(Wl, {}), e);
|
|
3101
3126
|
}
|
|
3102
3127
|
function Zt() {
|
|
3103
|
-
|
|
3128
|
+
Ze = !1, Wt();
|
|
3104
3129
|
}
|
|
3105
|
-
function
|
|
3130
|
+
function no({
|
|
3106
3131
|
callsProcessor: e,
|
|
3107
3132
|
shortcut: t
|
|
3108
3133
|
}) {
|
|
3109
|
-
|
|
3134
|
+
Gt(window, {
|
|
3110
3135
|
[t]: (n) => {
|
|
3111
3136
|
const r = document.activeElement;
|
|
3112
|
-
r instanceof HTMLElement && (r.isContentEditable || r.tagName === "INPUT" || r.tagName === "TEXTAREA") || (n.preventDefault(),
|
|
3137
|
+
r instanceof HTMLElement && (r.isContentEditable || r.tagName === "INPUT" || r.tagName === "TEXTAREA") || (n.preventDefault(), Jl());
|
|
3113
3138
|
}
|
|
3114
3139
|
}), $r({
|
|
3115
3140
|
callsProcessor: e
|
|
3116
3141
|
});
|
|
3117
3142
|
}
|
|
3118
3143
|
export {
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3144
|
+
vr as addCall,
|
|
3145
|
+
to as addWebsocketEvent,
|
|
3146
|
+
no as initializeDevTools
|
|
3122
3147
|
};
|