app-devtools 0.21.0 → 0.22.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.d.ts +3 -5
- package/dist/main.js +192 -194
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -25,11 +25,9 @@ type Config = {
|
|
|
25
25
|
type: RequestTypes;
|
|
26
26
|
subType: RequestSubTypes | undefined;
|
|
27
27
|
}) => boolean) | string;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
subType?: RequestSubTypes;
|
|
32
|
-
}) => string) | string;
|
|
28
|
+
matchType?: RequestTypes;
|
|
29
|
+
matchSubType?: RequestSubTypes[];
|
|
30
|
+
callName?: string;
|
|
33
31
|
callID?: (request: {
|
|
34
32
|
url: URL;
|
|
35
33
|
type: RequestTypes;
|
package/dist/main.js
CHANGED
|
@@ -15,20 +15,20 @@ const Q = 1, $e = 2, $t = {
|
|
|
15
15
|
context: null,
|
|
16
16
|
owner: null
|
|
17
17
|
};
|
|
18
|
-
var
|
|
19
|
-
let W = null,
|
|
18
|
+
var P = null;
|
|
19
|
+
let W = null, k = null, E = null, J = null, Ue = 0;
|
|
20
20
|
function ee(e, t) {
|
|
21
|
-
const n =
|
|
21
|
+
const n = k, r = P, o = e.length === 0, l = o ? $t : {
|
|
22
22
|
owned: null,
|
|
23
23
|
cleanups: null,
|
|
24
24
|
context: null,
|
|
25
25
|
owner: t === void 0 ? r : t
|
|
26
26
|
}, s = o ? e : () => e(() => U(() => ke(l)));
|
|
27
|
-
|
|
27
|
+
P = l, k = null;
|
|
28
28
|
try {
|
|
29
29
|
return se(s, !0);
|
|
30
30
|
} finally {
|
|
31
|
-
|
|
31
|
+
k = n, P = r;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
function ne(e, t) {
|
|
@@ -41,7 +41,7 @@ function ne(e, t) {
|
|
|
41
41
|
}, r = (o) => (typeof o == "function" && (o = o(n.value)), xt(n, o));
|
|
42
42
|
return [wt.bind(n), r];
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function N(e, t, n) {
|
|
45
45
|
const r = Ct(e, t, !1, Q);
|
|
46
46
|
Se(r);
|
|
47
47
|
}
|
|
@@ -54,21 +54,21 @@ function Gt(e) {
|
|
|
54
54
|
return se(e, !1);
|
|
55
55
|
}
|
|
56
56
|
function U(e) {
|
|
57
|
-
if (
|
|
57
|
+
if (k === null)
|
|
58
58
|
return e();
|
|
59
|
-
const t =
|
|
60
|
-
|
|
59
|
+
const t = k;
|
|
60
|
+
k = null;
|
|
61
61
|
try {
|
|
62
62
|
return e();
|
|
63
63
|
} finally {
|
|
64
|
-
|
|
64
|
+
k = t;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
return
|
|
67
|
+
function bt(e) {
|
|
68
|
+
return P === null || (P.cleanups === null ? P.cleanups = [e] : P.cleanups.push(e)), e;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
return
|
|
70
|
+
function vt() {
|
|
71
|
+
return k;
|
|
72
72
|
}
|
|
73
73
|
function Qt(e) {
|
|
74
74
|
const t = g(e), n = g(() => Me(t()));
|
|
@@ -84,11 +84,11 @@ function wt() {
|
|
|
84
84
|
Se(this);
|
|
85
85
|
else {
|
|
86
86
|
const t = E;
|
|
87
|
-
E = null, se(() =>
|
|
87
|
+
E = null, se(() => be(this), !1), E = t;
|
|
88
88
|
}
|
|
89
|
-
if (
|
|
89
|
+
if (k) {
|
|
90
90
|
const t = this.observers ? this.observers.length : 0;
|
|
91
|
-
|
|
91
|
+
k.sources ? (k.sources.push(this), k.sourceSlots.push(t)) : (k.sources = [this], k.sourceSlots = [t]), this.observers ? (this.observers.push(k), this.observerSlots.push(k.sources.length - 1)) : (this.observers = [k], this.observerSlots = [k.sources.length - 1]);
|
|
92
92
|
}
|
|
93
93
|
return this.value;
|
|
94
94
|
}
|
|
@@ -107,8 +107,8 @@ function Se(e) {
|
|
|
107
107
|
if (!e.fn)
|
|
108
108
|
return;
|
|
109
109
|
ke(e);
|
|
110
|
-
const t =
|
|
111
|
-
|
|
110
|
+
const t = P, n = k, r = Ue;
|
|
111
|
+
k = P = e, Yt(e, e.value, r), k = n, P = t;
|
|
112
112
|
}
|
|
113
113
|
function Yt(e, t, n) {
|
|
114
114
|
let r;
|
|
@@ -129,18 +129,18 @@ function Ct(e, t, n, r = Q, o) {
|
|
|
129
129
|
sourceSlots: null,
|
|
130
130
|
cleanups: null,
|
|
131
131
|
value: t,
|
|
132
|
-
owner:
|
|
132
|
+
owner: P,
|
|
133
133
|
context: null,
|
|
134
134
|
pure: n
|
|
135
135
|
};
|
|
136
|
-
return
|
|
136
|
+
return P === null || P !== $t && (P.owned ? P.owned.push(l) : P.owned = [l]), l;
|
|
137
137
|
}
|
|
138
138
|
function _t(e) {
|
|
139
139
|
const t = W;
|
|
140
140
|
if (e.state === 0 || t)
|
|
141
141
|
return;
|
|
142
142
|
if (e.state === $e || t)
|
|
143
|
-
return
|
|
143
|
+
return be(e);
|
|
144
144
|
if (e.suspense && U(e.suspense.inFallback))
|
|
145
145
|
return e.suspense.effects.push(e);
|
|
146
146
|
const n = [e];
|
|
@@ -151,7 +151,7 @@ function _t(e) {
|
|
|
151
151
|
Se(e);
|
|
152
152
|
else if (e.state === $e || t) {
|
|
153
153
|
const o = E;
|
|
154
|
-
E = null, se(() =>
|
|
154
|
+
E = null, se(() => be(e, n[0]), !1), E = o;
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
function se(e, t) {
|
|
@@ -176,12 +176,12 @@ function St(e) {
|
|
|
176
176
|
for (let t = 0; t < e.length; t++)
|
|
177
177
|
_t(e[t]);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function be(e, t) {
|
|
180
180
|
const n = W;
|
|
181
181
|
e.state = 0;
|
|
182
182
|
for (let r = 0; r < e.sources.length; r += 1) {
|
|
183
183
|
const o = e.sources[r];
|
|
184
|
-
o.sources && (o.state === Q || n ? o !== t && _t(o) : (o.state === $e || n) &&
|
|
184
|
+
o.sources && (o.state === Q || n ? o !== t && _t(o) : (o.state === $e || n) && be(o, t));
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
function kt(e) {
|
|
@@ -233,41 +233,41 @@ function Me(e) {
|
|
|
233
233
|
return e;
|
|
234
234
|
}
|
|
235
235
|
const De = Symbol("fallback");
|
|
236
|
-
function
|
|
236
|
+
function ve(e) {
|
|
237
237
|
for (let t = 0; t < e.length; t++)
|
|
238
238
|
e[t]();
|
|
239
239
|
}
|
|
240
240
|
function tn(e, t, n = {}) {
|
|
241
241
|
let r = [], o = [], l = [], s = 0, i = t.length > 1 ? [] : null;
|
|
242
|
-
return
|
|
242
|
+
return bt(() => ve(l)), () => {
|
|
243
243
|
let a = e() || [], c, u;
|
|
244
244
|
return a[me], U(() => {
|
|
245
|
-
let d = a.length, m,
|
|
245
|
+
let d = a.length, m, b, v, w, S, x, A, T, L;
|
|
246
246
|
if (d === 0)
|
|
247
|
-
s !== 0 && (
|
|
247
|
+
s !== 0 && (ve(l), l = [], r = [], o = [], s = 0, i && (i = [])), n.fallback && (r = [De], o[0] = ee((B) => (l[0] = B, n.fallback())), s = 1);
|
|
248
248
|
else if (s === 0) {
|
|
249
249
|
for (o = new Array(d), u = 0; u < d; u++)
|
|
250
250
|
r[u] = a[u], o[u] = ee(p);
|
|
251
251
|
s = d;
|
|
252
252
|
} else {
|
|
253
|
-
for (
|
|
253
|
+
for (v = new Array(d), w = new Array(d), i && (S = new Array(d)), x = 0, A = Math.min(s, d); x < A && r[x] === a[x]; x++)
|
|
254
254
|
;
|
|
255
|
-
for (
|
|
256
|
-
|
|
257
|
-
for (m = /* @__PURE__ */ new Map(),
|
|
258
|
-
|
|
259
|
-
for (c =
|
|
260
|
-
|
|
261
|
-
for (u =
|
|
262
|
-
u in
|
|
255
|
+
for (A = s - 1, T = d - 1; A >= x && T >= x && r[A] === a[T]; A--, T--)
|
|
256
|
+
v[T] = o[A], w[T] = l[A], i && (S[T] = i[A]);
|
|
257
|
+
for (m = /* @__PURE__ */ new Map(), b = new Array(T + 1), u = T; u >= x; u--)
|
|
258
|
+
L = a[u], c = m.get(L), b[u] = c === void 0 ? -1 : c, m.set(L, u);
|
|
259
|
+
for (c = x; c <= A; c++)
|
|
260
|
+
L = r[c], u = m.get(L), u !== void 0 && u !== -1 ? (v[u] = o[c], w[u] = l[c], i && (S[u] = i[c]), u = b[u], m.set(L, u)) : l[c]();
|
|
261
|
+
for (u = x; u < d; u++)
|
|
262
|
+
u in v ? (o[u] = v[u], l[u] = w[u], i && (i[u] = S[u], i[u](u))) : o[u] = ee(p);
|
|
263
263
|
o = o.slice(0, s = d), r = a.slice(0);
|
|
264
264
|
}
|
|
265
265
|
return o;
|
|
266
266
|
});
|
|
267
267
|
function p(d) {
|
|
268
268
|
if (l[u] = d, i) {
|
|
269
|
-
const [m,
|
|
270
|
-
return i[u] =
|
|
269
|
+
const [m, b] = ne(u);
|
|
270
|
+
return i[u] = b, t(a[u], m);
|
|
271
271
|
}
|
|
272
272
|
return t(a[u]);
|
|
273
273
|
}
|
|
@@ -275,11 +275,11 @@ function tn(e, t, n = {}) {
|
|
|
275
275
|
}
|
|
276
276
|
function nn(e, t, n = {}) {
|
|
277
277
|
let r = [], o = [], l = [], s = [], i = 0, a;
|
|
278
|
-
return
|
|
278
|
+
return bt(() => ve(l)), () => {
|
|
279
279
|
const c = e() || [];
|
|
280
280
|
return c[me], U(() => {
|
|
281
281
|
if (c.length === 0)
|
|
282
|
-
return i !== 0 && (
|
|
282
|
+
return i !== 0 && (ve(l), l = [], r = [], o = [], i = 0, s = []), n.fallback && (r = [De], o[0] = ee((p) => (l[0] = p, n.fallback())), i = 1), o;
|
|
283
283
|
for (r[0] === De && (l[0](), l = [], r = [], o = [], i = 0), a = 0; a < c.length; a++)
|
|
284
284
|
a < r.length && r[a] !== c[a] ? s[a](() => c[a]) : a >= r.length && (o[a] = ee(u));
|
|
285
285
|
for (; a < r.length; a++)
|
|
@@ -470,9 +470,9 @@ function hn(e, t, n) {
|
|
|
470
470
|
for (; ++p < o && p < l && !((m = c.get(t[p])) == null || m !== u + d); )
|
|
471
471
|
d++;
|
|
472
472
|
if (d > u - i) {
|
|
473
|
-
const
|
|
473
|
+
const b = t[s];
|
|
474
474
|
for (; i < u; )
|
|
475
|
-
e.insertBefore(n[i++],
|
|
475
|
+
e.insertBefore(n[i++], b);
|
|
476
476
|
} else
|
|
477
477
|
e.replaceChild(n[i++], t[s++]);
|
|
478
478
|
} else
|
|
@@ -510,7 +510,7 @@ function j(e, t, n) {
|
|
|
510
510
|
function mn(e, t, n, r) {
|
|
511
511
|
r == null ? e.removeAttributeNS(t, n) : e.setAttributeNS(t, n, r);
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function C(e, t) {
|
|
514
514
|
t == null ? e.removeAttribute("class") : e.className = t;
|
|
515
515
|
}
|
|
516
516
|
function we(e, t, n, r) {
|
|
@@ -551,14 +551,14 @@ function At(e, t, n) {
|
|
|
551
551
|
}
|
|
552
552
|
function $n(e, t = {}, n, r) {
|
|
553
553
|
const o = {};
|
|
554
|
-
return r ||
|
|
554
|
+
return r || N(() => o.children = re(e, t.children, o.children)), N(() => t.ref && t.ref(e)), N(() => bn(e, t, n, !0, o, !0)), o;
|
|
555
555
|
}
|
|
556
556
|
function f(e, t, n, r) {
|
|
557
557
|
if (n !== void 0 && !r && (r = []), typeof t != "function")
|
|
558
558
|
return re(e, t, r, n);
|
|
559
|
-
|
|
559
|
+
N((o) => re(e, t(), o, n), r);
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function bn(e, t, n, r, o = {}, l = !1) {
|
|
562
562
|
t || (t = {});
|
|
563
563
|
for (const s in o)
|
|
564
564
|
if (!(s in t)) {
|
|
@@ -575,7 +575,7 @@ function vn(e, t, n, r, o = {}, l = !1) {
|
|
|
575
575
|
o[s] = Ge(e, s, i, o[s], n, l);
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function vn(e) {
|
|
579
579
|
return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
|
|
580
580
|
}
|
|
581
581
|
function Xe(e, t, n) {
|
|
@@ -607,7 +607,7 @@ function Ge(e, t, n, r, o, l) {
|
|
|
607
607
|
}
|
|
608
608
|
(u || n) && (we(e, c, n, u), u && Ae([c]));
|
|
609
609
|
} else if ((a = un.has(t)) || !o && (We[t] || (i = cn.has(t))) || (s = e.nodeName.includes("-")))
|
|
610
|
-
t === "class" || t === "className" ?
|
|
610
|
+
t === "class" || t === "className" ? C(e, n) : s && !i && !a ? e[vn(t)] = n : e[We[t] || t] = n;
|
|
611
611
|
else {
|
|
612
612
|
const c = o && t.indexOf(":") > -1 && pn[t.split(":")[0]];
|
|
613
613
|
c ? mn(e, c, t, n) : j(e, dn[t] || t, n);
|
|
@@ -661,7 +661,7 @@ function re(e, t, n, r, o) {
|
|
|
661
661
|
n = Y(e, n, r);
|
|
662
662
|
} else {
|
|
663
663
|
if (l === "function")
|
|
664
|
-
return
|
|
664
|
+
return N(() => {
|
|
665
665
|
let i = t();
|
|
666
666
|
for (; typeof i == "function"; )
|
|
667
667
|
i = i();
|
|
@@ -670,7 +670,7 @@ function re(e, t, n, r, o) {
|
|
|
670
670
|
if (Array.isArray(t)) {
|
|
671
671
|
const i = [], a = n && Array.isArray(n);
|
|
672
672
|
if (Re(i, t, n, o))
|
|
673
|
-
return
|
|
673
|
+
return N(() => n = re(e, i, n, r, !0)), () => n;
|
|
674
674
|
if (H.context) {
|
|
675
675
|
if (!i.length)
|
|
676
676
|
return n;
|
|
@@ -762,21 +762,21 @@ var xn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
762
762
|
return l.fromToBase(c, u, p, d);
|
|
763
763
|
}
|
|
764
764
|
o.en.relativeTime = s, l.fromToBase = function(c, u, p, d, m) {
|
|
765
|
-
for (var
|
|
766
|
-
var
|
|
767
|
-
|
|
768
|
-
var B = (n.rounding || Math.round)(Math.abs(
|
|
769
|
-
if (
|
|
770
|
-
B <= 1 &&
|
|
771
|
-
var Oe =
|
|
772
|
-
m && (B = m("" + B)),
|
|
765
|
+
for (var b, v, w, S = 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 L = x[T];
|
|
767
|
+
L.d && (b = d ? o(c).diff(p, L.d, !0) : p.diff(c, L.d, !0));
|
|
768
|
+
var B = (n.rounding || Math.round)(Math.abs(b));
|
|
769
|
+
if (w = b > 0, B <= L.r || !L.r) {
|
|
770
|
+
B <= 1 && T > 0 && (L = x[T - 1]);
|
|
771
|
+
var Oe = S[L.l];
|
|
772
|
+
m && (B = m("" + B)), v = typeof Oe == "string" ? Oe.replace("%d", B) : Oe(B, u, L.l, w);
|
|
773
773
|
break;
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
776
|
if (u)
|
|
777
|
-
return
|
|
778
|
-
var Le =
|
|
779
|
-
return typeof Le == "function" ? Le(
|
|
777
|
+
return v;
|
|
778
|
+
var Le = w ? S.future : S.past;
|
|
779
|
+
return typeof Le == "function" ? Le(v) : Le.replace("%s", v);
|
|
780
780
|
}, l.to = function(c, u) {
|
|
781
781
|
return i(c, u, this, !0);
|
|
782
782
|
}, l.from = function(c, u) {
|
|
@@ -819,10 +819,10 @@ const Nn = `<svg
|
|
|
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"/>
|
|
820
820
|
<path d="M28 12C27.1156 12.0026 26.2571 12.2986 25.5589 12.8415C24.8608 13.3844 24.3624 14.1435 24.142 15H19.858C19.7164 14.4361 19.4525 13.9101 19.085 13.4595C18.7175 13.0089 18.2555 12.6446 17.7315 12.3924C17.2076 12.1402 16.6346 12.0064 16.0532 12.0002C15.4718 11.9941 14.8961 12.1159 14.367 12.357L11.19 8.387C11.7126 7.7007 11.997 6.86262 12 6C12 5.20887 11.7654 4.43552 11.3259 3.77772C10.8864 3.11992 10.2616 2.60723 9.53073 2.30448C8.79983 2.00173 7.99556 1.92252 7.21964 2.07686C6.44371 2.2312 5.73098 2.61216 5.17157 3.17157C4.61216 3.73098 4.2312 4.44371 4.07686 5.21964C3.92252 5.99556 4.00173 6.79983 4.30448 7.53073C4.60723 8.26164 5.11992 8.88635 5.77772 9.32588C6.43552 9.7654 7.20887 10 8 10C8.56387 9.99869 9.12096 9.87698 9.634 9.643L12.81 13.613C12.285 14.298 12.0005 15.137 12.0005 16C12.0005 16.863 12.285 17.702 12.81 18.387L9.634 22.357C9.12096 22.123 8.56387 22.0013 8 22C7.20887 22 6.43552 22.2346 5.77772 22.6741C5.11992 23.1136 4.60723 23.7384 4.30448 24.4693C4.00173 25.2002 3.92252 26.0044 4.07686 26.7804C4.2312 27.5563 4.61216 28.269 5.17157 28.8284C5.73098 29.3878 6.44371 29.7688 7.21964 29.9231C7.99556 30.0775 8.79983 29.9983 9.53073 29.6955C10.2616 29.3928 10.8864 28.8801 11.3259 28.2223C11.7654 27.5645 12 26.7911 12 26C11.9971 25.1374 11.7127 24.2993 11.19 23.613L14.366 19.643C14.8952 19.8843 15.4709 20.0062 16.0525 20.0002C16.634 19.9942 17.2071 19.8603 17.7312 19.6081C18.2552 19.3559 18.7174 18.9915 19.0849 18.5408C19.4525 18.0901 19.7164 17.5641 19.858 17H24.142C24.3303 17.7226 24.7175 18.3778 25.2595 18.8914C25.8015 19.405 26.4766 19.7563 27.2083 19.9055C27.9399 20.0547 28.6987 19.9957 29.3985 19.7353C30.0983 19.4749 30.7111 19.0234 31.1673 18.4323C31.6234 17.8411 31.9047 17.1339 31.9791 16.3909C32.0535 15.6479 31.9181 14.899 31.5882 14.2291C31.2584 13.5592 30.7473 12.9952 30.113 12.6012C29.4787 12.2072 28.7467 11.9989 28 12ZM6 6C6 5.60444 6.1173 5.21776 6.33706 4.88886C6.55682 4.55996 6.86918 4.30362 7.23463 4.15224C7.60009 4.00087 8.00222 3.96126 8.39018 4.03843C8.77814 4.1156 9.13451 4.30608 9.41421 4.58579C9.69392 4.86549 9.8844 5.22186 9.96157 5.60982C10.0387 5.99778 9.99913 6.39991 9.84776 6.76537C9.69638 7.13082 9.44004 7.44318 9.11114 7.66294C8.78224 7.8827 8.39556 8 8 8C7.46973 7.99947 6.96133 7.78859 6.58637 7.41363C6.21141 7.03867 6.00053 6.53027 6 6ZM8 28C7.60444 28 7.21776 27.8827 6.88886 27.6629C6.55996 27.4432 6.30362 27.1308 6.15224 26.7654C6.00087 26.3999 5.96126 25.9978 6.03843 25.6098C6.1156 25.2219 6.30608 24.8655 6.58579 24.5858C6.86549 24.3061 7.22186 24.1156 7.60982 24.0384C7.99778 23.9613 8.39991 24.0009 8.76537 24.1522C9.13082 24.3036 9.44318 24.56 9.66294 24.8889C9.8827 25.2178 10 25.6044 10 26C9.99947 26.5303 9.78859 27.0387 9.41363 27.4136C9.03867 27.7886 8.53027 27.9995 8 28ZM16 18C15.6044 18 15.2178 17.8827 14.8889 17.6629C14.56 17.4432 14.3036 17.1308 14.1522 16.7654C14.0009 16.3999 13.9613 15.9978 14.0384 15.6098C14.1156 15.2219 14.3061 14.8655 14.5858 14.5858C14.8655 14.3061 15.2219 14.1156 15.6098 14.0384C15.9978 13.9613 16.3999 14.0009 16.7654 14.1522C17.1308 14.3036 17.4432 14.56 17.6629 14.8889C17.8827 15.2178 18 15.6044 18 16C17.9995 16.5303 17.7886 17.0387 17.4136 17.4136C17.0387 17.7886 16.5303 17.9995 16 18ZM28 18C27.6044 18 27.2178 17.8827 26.8889 17.6629C26.56 17.4432 26.3036 17.1308 26.1522 16.7654C26.0009 16.3999 25.9613 15.9978 26.0384 15.6098C26.1156 15.2219 26.3061 14.8655 26.5858 14.5858C26.8655 14.3061 27.2219 14.1156 27.6098 14.0384C27.9978 13.9613 28.3999 14.0009 28.7654 14.1522C29.1308 14.3036 29.4432 14.56 29.6629 14.8889C29.8827 15.2178 30 15.6044 30 16C29.9995 16.5303 29.7886 17.0387 29.4136 17.4136C29.0387 17.7886 28.5303 17.9995 28 18Z" fill="currentColor"/>
|
|
821
821
|
</svg>
|
|
822
|
-
`,
|
|
822
|
+
`, Tn = `<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
|
+
`, Pn = `<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
|
`, En = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -831,8 +831,8 @@ const Nn = `<svg
|
|
|
831
831
|
`, On = /* @__PURE__ */ Object.assign({
|
|
832
832
|
"/src/assets/icons/caret-down.svg": Nn,
|
|
833
833
|
"/src/assets/icons/network.svg": An,
|
|
834
|
-
"/src/assets/icons/search.svg":
|
|
835
|
-
"/src/assets/icons/send.svg":
|
|
834
|
+
"/src/assets/icons/search.svg": Tn,
|
|
835
|
+
"/src/assets/icons/send.svg": Pn,
|
|
836
836
|
"/src/assets/icons/settings.svg": En
|
|
837
837
|
});
|
|
838
838
|
function Ln(e) {
|
|
@@ -855,16 +855,16 @@ let In = { data: "" }, Mn = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
855
855
|
l[0] == "@" ? l[1] == "i" ? n = l + " " + s + ";" : r += l[1] == "f" ? K(s, l) : l + "{" + K(s, l[1] == "k" ? "" : t) + "}" : typeof s == "object" ? r += K(s, t ? t.replace(/([^,])+/g, (i) => l.replace(/(^:.*)|([^,])+/g, (a) => /&/.test(a) ? a.replace(/&/g, i) : i ? i + " " + a : a)) : l) : s != null && (l = /^--/.test(l) ? l : l.replace(/[A-Z]/g, "-$&").toLowerCase(), o += K.p ? K.p(l, s) : l + ":" + s + ";");
|
|
856
856
|
}
|
|
857
857
|
return n + (t && o ? t + "{" + o + "}" : o) + r;
|
|
858
|
-
}, z = {},
|
|
858
|
+
}, z = {}, Tt = (e) => {
|
|
859
859
|
if (typeof e == "object") {
|
|
860
860
|
let t = "";
|
|
861
861
|
for (let n in e)
|
|
862
|
-
t += n +
|
|
862
|
+
t += n + Tt(e[n]);
|
|
863
863
|
return t;
|
|
864
864
|
}
|
|
865
865
|
return e;
|
|
866
866
|
}, zn = (e, t, n, r, o) => {
|
|
867
|
-
let l =
|
|
867
|
+
let l = Tt(e), s = z[l] || (z[l] = ((a) => {
|
|
868
868
|
let c = 0, u = 11;
|
|
869
869
|
for (; c < a.length; )
|
|
870
870
|
u = 101 * u + a.charCodeAt(c++) >>> 0;
|
|
@@ -891,13 +891,13 @@ let In = { data: "" }, Mn = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
891
891
|
}
|
|
892
892
|
return r + o + (s ?? "");
|
|
893
893
|
}, "");
|
|
894
|
-
function
|
|
894
|
+
function _(e) {
|
|
895
895
|
let t = this || {}, n = e.call ? e(t.p) : e;
|
|
896
896
|
return zn(n.unshift ? n.raw ? Fn(n, [].slice.call(arguments, 1), t.p) : n.reduce((r, o) => Object.assign(r, o && o.call ? o(t.p) : o), {}) : n, Mn(t.target), t.g, t.o, t.k);
|
|
897
897
|
}
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
const Bn = /* @__PURE__ */ $("<div></div>"), Hn =
|
|
898
|
+
_.bind({ g: 1 });
|
|
899
|
+
_.bind({ k: 1 });
|
|
900
|
+
const Bn = /* @__PURE__ */ $("<div></div>"), Hn = _`
|
|
901
901
|
&&& {
|
|
902
902
|
position: relative;
|
|
903
903
|
color: currentColor;
|
|
@@ -909,23 +909,23 @@ const Bn = /* @__PURE__ */ $("<div></div>"), Hn = C`
|
|
|
909
909
|
${Ze};
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
|
-
`,
|
|
912
|
+
`, Te = (e) => {
|
|
913
913
|
const t = Ln(e.name);
|
|
914
914
|
return (() => {
|
|
915
915
|
const n = Bn.cloneNode(!0);
|
|
916
|
-
return n.innerHTML = t,
|
|
916
|
+
return n.innerHTML = t, N((r) => {
|
|
917
917
|
const o = `icon ${e.class || ""} ${Hn}`, l = {
|
|
918
918
|
color: e.color,
|
|
919
919
|
"--icon-size": e.size && jn(e.size)
|
|
920
920
|
};
|
|
921
|
-
return o !== r._v$ &&
|
|
921
|
+
return o !== r._v$ && C(n, r._v$ = o), r._v$2 = At(n, l, r._v$2), r;
|
|
922
922
|
}, {
|
|
923
923
|
_v$: void 0,
|
|
924
924
|
_v$2: void 0
|
|
925
925
|
}), n;
|
|
926
926
|
})();
|
|
927
927
|
}, xe = Symbol("store-raw"), de = Symbol("store-node"), Vn = Symbol("store-name");
|
|
928
|
-
function
|
|
928
|
+
function Pt(e, t) {
|
|
929
929
|
let n = e[D];
|
|
930
930
|
if (!n && (Object.defineProperty(e, D, {
|
|
931
931
|
value: n = new Proxy(e, Kn)
|
|
@@ -977,7 +977,7 @@ function Un(e, t) {
|
|
|
977
977
|
return !n || n.get || !n.configurable || t === D || t === de || t === Vn || (delete n.value, delete n.writable, n.get = () => e[D][t]), n;
|
|
978
978
|
}
|
|
979
979
|
function Et(e) {
|
|
980
|
-
if (
|
|
980
|
+
if (vt()) {
|
|
981
981
|
const t = Ke(e);
|
|
982
982
|
(t._ || (t._ = Ot()))();
|
|
983
983
|
}
|
|
@@ -1006,9 +1006,9 @@ const Kn = {
|
|
|
1006
1006
|
return l;
|
|
1007
1007
|
if (!o) {
|
|
1008
1008
|
const s = Object.getOwnPropertyDescriptor(e, t);
|
|
1009
|
-
|
|
1009
|
+
vt() && (typeof l != "function" || e.hasOwnProperty(t)) && !(s && s.get) && (l = Fe(r, t, l)());
|
|
1010
1010
|
}
|
|
1011
|
-
return le(l) ?
|
|
1011
|
+
return le(l) ? Pt(l) : l;
|
|
1012
1012
|
},
|
|
1013
1013
|
has(e, t) {
|
|
1014
1014
|
return t === xe || t === D || t === me || t === de || t === "__proto__" ? !0 : (this.get(e, t, e), t in e);
|
|
@@ -1082,7 +1082,7 @@ function ce(e, t, n = []) {
|
|
|
1082
1082
|
typeof l == "function" && (l = l(o, n), l === o) || r === void 0 && l == null || (l = oe(l), r === void 0 || le(o) && le(l) && !Array.isArray(l) ? Lt(o, l) : ie(e, r, l));
|
|
1083
1083
|
}
|
|
1084
1084
|
function jt(...[e, t]) {
|
|
1085
|
-
const n = oe(e || {}), r = Array.isArray(n), o =
|
|
1085
|
+
const n = oe(e || {}), r = Array.isArray(n), o = Pt(n);
|
|
1086
1086
|
function l(...s) {
|
|
1087
1087
|
Gt(() => {
|
|
1088
1088
|
r && s.length === 1 ? Wn(n, s[0]) : ce(n, s);
|
|
@@ -1245,7 +1245,7 @@ function nr(e, t, n) {
|
|
|
1245
1245
|
function Mt(e, t) {
|
|
1246
1246
|
return g((n) => nr(n, typeof e == "function" ? e() : e, t));
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1248
|
+
function Pe(e) {
|
|
1249
1249
|
const [t, n] = ne(e);
|
|
1250
1250
|
return {
|
|
1251
1251
|
get value() {
|
|
@@ -1262,7 +1262,7 @@ function Te(e) {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
};
|
|
1264
1264
|
}
|
|
1265
|
-
const rr = /* @__PURE__ */ $('<div class="tag"></div>'), et = /* @__PURE__ */ $("<span></span>"), lr = /* @__PURE__ */ $('<div><div class="call"></div></div>'), or =
|
|
1265
|
+
const rr = /* @__PURE__ */ $('<div class="tag"></div>'), et = /* @__PURE__ */ $("<span></span>"), lr = /* @__PURE__ */ $('<div><div class="call"></div></div>'), or = _`
|
|
1266
1266
|
&&& {
|
|
1267
1267
|
font-size: 14px;
|
|
1268
1268
|
${O()};
|
|
@@ -1340,10 +1340,10 @@ const rr = /* @__PURE__ */ $('<div class="tag"></div>'), et = /* @__PURE__ */ $(
|
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
`, ir = (e) => {
|
|
1343
|
-
const t = g(() => e.item), n = g(() => e.currentCallId), r =
|
|
1343
|
+
const t = g(() => e.item), n = g(() => e.currentCallId), r = Pe(e.item.subitemsWithAlias.length < 4), o = sr(t().type, t().subType);
|
|
1344
1344
|
return (() => {
|
|
1345
1345
|
const l = lr.cloneNode(!0), s = l.firstChild;
|
|
1346
|
-
return
|
|
1346
|
+
return C(l, or), f(s, h(F, {
|
|
1347
1347
|
onClick: () => {
|
|
1348
1348
|
_e({
|
|
1349
1349
|
selectedCall: t().id,
|
|
@@ -1354,7 +1354,7 @@ const rr = /* @__PURE__ */ $('<div class="tag"></div>'), et = /* @__PURE__ */ $(
|
|
|
1354
1354
|
get children() {
|
|
1355
1355
|
return [(() => {
|
|
1356
1356
|
const i = rr.cloneNode(!0);
|
|
1357
|
-
return f(i, () => o.icon),
|
|
1357
|
+
return f(i, () => o.icon), N((a) => {
|
|
1358
1358
|
const c = `${t().type}${t().subType ? ` (${t().subType})` : ""}`, u = o.color;
|
|
1359
1359
|
return c !== a._v$ && j(i, "title", a._v$ = c), u !== a._v$2 && i.style.setProperty("color", a._v$2 = u), a;
|
|
1360
1360
|
}, {
|
|
@@ -1363,7 +1363,7 @@ const rr = /* @__PURE__ */ $('<div class="tag"></div>'), et = /* @__PURE__ */ $(
|
|
|
1363
1363
|
}), i;
|
|
1364
1364
|
})(), (() => {
|
|
1365
1365
|
const i = et.cloneNode(!0);
|
|
1366
|
-
return f(i, () => t().name),
|
|
1366
|
+
return f(i, () => t().name), N(() => j(i, "title", t().name)), i;
|
|
1367
1367
|
})()];
|
|
1368
1368
|
}
|
|
1369
1369
|
}), null), f(s, (() => {
|
|
@@ -1379,7 +1379,7 @@ const rr = /* @__PURE__ */ $('<div class="tag"></div>'), et = /* @__PURE__ */ $(
|
|
|
1379
1379
|
r.value = !r.value;
|
|
1380
1380
|
},
|
|
1381
1381
|
get children() {
|
|
1382
|
-
return h(
|
|
1382
|
+
return h(Te, {
|
|
1383
1383
|
name: "caret-down"
|
|
1384
1384
|
});
|
|
1385
1385
|
}
|
|
@@ -1413,7 +1413,7 @@ const rr = /* @__PURE__ */ $('<div class="tag"></div>'), et = /* @__PURE__ */ $(
|
|
|
1413
1413
|
})
|
|
1414
1414
|
});
|
|
1415
1415
|
}
|
|
1416
|
-
}), null),
|
|
1416
|
+
}), null), N(() => s.classList.toggle("selected", n() ? n() === t().id : e.index === 0)), l;
|
|
1417
1417
|
})();
|
|
1418
1418
|
};
|
|
1419
1419
|
function sr(e, t) {
|
|
@@ -1481,7 +1481,7 @@ function te(e) {
|
|
|
1481
1481
|
}
|
|
1482
1482
|
const [G, fr] = jt({
|
|
1483
1483
|
calls: {}
|
|
1484
|
-
}), Ee =
|
|
1484
|
+
}), Ee = Pe("");
|
|
1485
1485
|
let Be = {
|
|
1486
1486
|
callsProcessor: []
|
|
1487
1487
|
};
|
|
@@ -1511,8 +1511,10 @@ function Bl(e) {
|
|
|
1511
1511
|
let p = null;
|
|
1512
1512
|
const d = Be.callsProcessor.find((A) => {
|
|
1513
1513
|
if (typeof A.match == "string") {
|
|
1514
|
-
|
|
1515
|
-
|
|
1514
|
+
if (A.matchType && A.matchType !== e.type || A.matchSubType && e.subType && A.matchSubType.includes(e.subType))
|
|
1515
|
+
return !1;
|
|
1516
|
+
const T = ur(c.pathname, A.match);
|
|
1517
|
+
return T ? (p = T, !0) : !1;
|
|
1516
1518
|
} else
|
|
1517
1519
|
return A.match({
|
|
1518
1520
|
url: c,
|
|
@@ -1523,24 +1525,20 @@ function Bl(e) {
|
|
|
1523
1525
|
url: c,
|
|
1524
1526
|
type: e.type,
|
|
1525
1527
|
subType: e.subType
|
|
1526
|
-
}) || typeof d?.match == "string" && `${e.type}${e.subType || ""}${d.match}`,
|
|
1528
|
+
}) || typeof d?.match == "string" && `${e.type}${e.subType || ""}${d.match}`, b = btoa(
|
|
1527
1529
|
m || `${c.pathname}|${e.type}${e.subType ? `|${e.subType}` : ""}`
|
|
1528
|
-
),
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
subType: e.subType
|
|
1532
|
-
}) : b;
|
|
1533
|
-
a.calls[v] || (a.calls[v] = {
|
|
1534
|
-
name: N || typeof d?.match == "string" && d.match || c.pathname.replace(/^\//, ""),
|
|
1530
|
+
), v = d?.callName;
|
|
1531
|
+
a.calls[b] || (a.calls[b] = {
|
|
1532
|
+
name: v || typeof d?.match == "string" && d.match || c.pathname.replace(/^\//, ""),
|
|
1535
1533
|
path: c.pathname.replace(/^\//, ""),
|
|
1536
1534
|
lastRequestStartTime: t,
|
|
1537
1535
|
requests: [],
|
|
1538
1536
|
type: e.type,
|
|
1539
1537
|
subType: e.subType
|
|
1540
|
-
}, Ee.value =
|
|
1541
|
-
const
|
|
1542
|
-
tt(
|
|
1543
|
-
const
|
|
1538
|
+
}, Ee.value = b);
|
|
1539
|
+
const w = a.calls[b];
|
|
1540
|
+
tt(w), w.requests.length > 100 && w.requests.shift();
|
|
1541
|
+
const S = {
|
|
1544
1542
|
id: Zt(),
|
|
1545
1543
|
duration: i,
|
|
1546
1544
|
pathParams: p,
|
|
@@ -1558,10 +1556,10 @@ function Bl(e) {
|
|
|
1558
1556
|
tags: cr(
|
|
1559
1557
|
ar(e.tags, s)
|
|
1560
1558
|
)
|
|
1561
|
-
},
|
|
1562
|
-
() => d?.payloadAlias?.(
|
|
1559
|
+
}, x = nt(
|
|
1560
|
+
() => d?.payloadAlias?.(S.payload, S)
|
|
1563
1561
|
);
|
|
1564
|
-
|
|
1562
|
+
x && (S.alias = x), w.requests.push(S);
|
|
1565
1563
|
})
|
|
1566
1564
|
);
|
|
1567
1565
|
};
|
|
@@ -1596,7 +1594,7 @@ function lt({
|
|
|
1596
1594
|
lowerFirst: !0
|
|
1597
1595
|
}).map(({ item: o }) => o);
|
|
1598
1596
|
}
|
|
1599
|
-
const mr = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><label><input type="text" placeholder="Search"></label><div></div></div>'), yr =
|
|
1597
|
+
const mr = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><label><input type="text" placeholder="Search"></label><div></div></div>'), yr = _`
|
|
1600
1598
|
&&& {
|
|
1601
1599
|
${O()};
|
|
1602
1600
|
border-right: 1px solid ${y.white.alpha(0.1)};
|
|
@@ -1610,14 +1608,14 @@ const mr = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><label><input type="text
|
|
|
1610
1608
|
padding-bottom: 16px;
|
|
1611
1609
|
}
|
|
1612
1610
|
}
|
|
1613
|
-
`, $r =
|
|
1611
|
+
`, $r = _`
|
|
1614
1612
|
&&& {
|
|
1615
1613
|
${O()};
|
|
1616
1614
|
flex: 1 1;
|
|
1617
1615
|
overflow-y: auto;
|
|
1618
1616
|
padding-bottom: 16px;
|
|
1619
1617
|
}
|
|
1620
|
-
`,
|
|
1618
|
+
`, br = _`
|
|
1621
1619
|
&&& {
|
|
1622
1620
|
${V({
|
|
1623
1621
|
gap: 8
|
|
@@ -1647,8 +1645,8 @@ const mr = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><label><input type="text
|
|
|
1647
1645
|
}
|
|
1648
1646
|
}
|
|
1649
1647
|
}
|
|
1650
|
-
`,
|
|
1651
|
-
const e =
|
|
1648
|
+
`, vr = () => {
|
|
1649
|
+
const e = Pe(""), t = Mt(() => {
|
|
1652
1650
|
const [r = "", o = ""] = e.value.split(">"), l = Object.entries(G.calls), s = [];
|
|
1653
1651
|
for (const [a, c] of l.reverse()) {
|
|
1654
1652
|
const u = /* @__PURE__ */ new Set();
|
|
@@ -1676,11 +1674,11 @@ const mr = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><label><input type="text
|
|
|
1676
1674
|
}, "id"), n = g(() => I.selectedCall);
|
|
1677
1675
|
return (() => {
|
|
1678
1676
|
const r = mr.cloneNode(!0), o = r.firstChild, l = o.nextSibling, s = l.firstChild, i = l.nextSibling;
|
|
1679
|
-
return
|
|
1677
|
+
return C(r, yr), C(l, br), f(l, h(Te, {
|
|
1680
1678
|
name: "search"
|
|
1681
1679
|
}), s), s.$$input = (a) => {
|
|
1682
1680
|
e.value = a.currentTarget.value;
|
|
1683
|
-
},
|
|
1681
|
+
}, C(i, $r), f(i, h(X, {
|
|
1684
1682
|
get each() {
|
|
1685
1683
|
return t();
|
|
1686
1684
|
},
|
|
@@ -1693,7 +1691,7 @@ const mr = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><label><input type="text
|
|
|
1693
1691
|
return n();
|
|
1694
1692
|
}
|
|
1695
1693
|
})
|
|
1696
|
-
})),
|
|
1694
|
+
})), N(() => s.value = e.value), r;
|
|
1697
1695
|
})();
|
|
1698
1696
|
};
|
|
1699
1697
|
Ae(["input"]);
|
|
@@ -1712,7 +1710,7 @@ function Rt(...e) {
|
|
|
1712
1710
|
}
|
|
1713
1711
|
return t.join(" ");
|
|
1714
1712
|
}
|
|
1715
|
-
const wr = /* @__PURE__ */ $('<div><div class="content"></div></div>'), xr = /* @__PURE__ */ $("<h1></h1>"), Cr =
|
|
1713
|
+
const wr = /* @__PURE__ */ $('<div><div class="content"></div></div>'), xr = /* @__PURE__ */ $("<h1></h1>"), Cr = _`
|
|
1716
1714
|
&&& {
|
|
1717
1715
|
${O()};
|
|
1718
1716
|
|
|
@@ -1754,8 +1752,8 @@ const wr = /* @__PURE__ */ $('<div><div class="content"></div></div>'), xr = /*
|
|
|
1754
1752
|
const o = xr.cloneNode(!0);
|
|
1755
1753
|
return f(o, () => e.title), o;
|
|
1756
1754
|
})();
|
|
1757
|
-
})(), n), f(n, () => e.children),
|
|
1758
|
-
})(), _r = /* @__PURE__ */ $("<div></div>"), Sr = /* @__PURE__ */ $('<div class="row"><div class="name"></div><div class="value"></div></div>'), kr =
|
|
1755
|
+
})(), n), f(n, () => e.children), N(() => C(t, Rt(Cr, e.class))), t;
|
|
1756
|
+
})(), _r = /* @__PURE__ */ $("<div></div>"), Sr = /* @__PURE__ */ $('<div class="row"><div class="name"></div><div class="value"></div></div>'), kr = _`
|
|
1759
1757
|
&&& {
|
|
1760
1758
|
display: grid;
|
|
1761
1759
|
grid-template-columns: auto 1fr;
|
|
@@ -1786,7 +1784,7 @@ const wr = /* @__PURE__ */ $('<div><div class="content"></div></div>'), xr = /*
|
|
|
1786
1784
|
}
|
|
1787
1785
|
`, Nr = (e) => (() => {
|
|
1788
1786
|
const t = _r.cloneNode(!0);
|
|
1789
|
-
return
|
|
1787
|
+
return C(t, kr), f(t, h(on, {
|
|
1790
1788
|
get each() {
|
|
1791
1789
|
return e.rows;
|
|
1792
1790
|
},
|
|
@@ -1802,7 +1800,7 @@ const wr = /* @__PURE__ */ $('<div><div class="content"></div></div>'), xr = /*
|
|
|
1802
1800
|
user-select: text;
|
|
1803
1801
|
}
|
|
1804
1802
|
`;
|
|
1805
|
-
function
|
|
1803
|
+
function Tr(e) {
|
|
1806
1804
|
return `
|
|
1807
1805
|
display: -webkit-box;
|
|
1808
1806
|
overflow: hidden;
|
|
@@ -1819,7 +1817,7 @@ function zt(e, t) {
|
|
|
1819
1817
|
})
|
|
1820
1818
|
).get(t)).format(e);
|
|
1821
1819
|
}
|
|
1822
|
-
const
|
|
1820
|
+
const Pr = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Er = /* @__PURE__ */ $('<div class="collapsed"></div>'), Or = /* @__PURE__ */ $('<div class="delimiter">[]</div>'), Lr = /* @__PURE__ */ $('<div class="delimiter">{}</div>'), it = /* @__PURE__ */ $('<div class="delimiter"></div>'), st = /* @__PURE__ */ $('<div class="childs"></div>'), jr = /* @__PURE__ */ $('<div class="delimiter end">]</div>'), at = /* @__PURE__ */ $('<div class="child"></div>'), Ir = /* @__PURE__ */ $('<div class="delimiter end">}</div>'), Mr = /* @__PURE__ */ $('<div class="value" title="Shift + Click to copy value"></div>'), ct = /* @__PURE__ */ $('<span class="string-quotes">"</span>'), Dr = /* @__PURE__ */ $("<div></div>"), Rr = _`
|
|
1823
1821
|
&&& {
|
|
1824
1822
|
font-family: ${R.decorative};
|
|
1825
1823
|
font-size: 13px;
|
|
@@ -1911,7 +1909,7 @@ const Tr = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Er = /* @_
|
|
|
1911
1909
|
|
|
1912
1910
|
.value {
|
|
1913
1911
|
word-wrap: break-word;
|
|
1914
|
-
${
|
|
1912
|
+
${Tr(5)};
|
|
1915
1913
|
}
|
|
1916
1914
|
|
|
1917
1915
|
[data-type='number'] {
|
|
@@ -1945,20 +1943,20 @@ const Tr = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Er = /* @_
|
|
|
1945
1943
|
},
|
|
1946
1944
|
class: "expand-button",
|
|
1947
1945
|
get children() {
|
|
1948
|
-
return h(
|
|
1946
|
+
return h(Te, {
|
|
1949
1947
|
name: "caret-down",
|
|
1950
1948
|
size: 14
|
|
1951
1949
|
});
|
|
1952
1950
|
}
|
|
1953
1951
|
});
|
|
1954
1952
|
return [a && (() => {
|
|
1955
|
-
const p =
|
|
1953
|
+
const p = Pr.cloneNode(!0), d = p.firstChild;
|
|
1956
1954
|
return p.$$click = (m) => {
|
|
1957
1955
|
m.shiftKey && ge(JSON.stringify(l));
|
|
1958
|
-
}, f(p, s || i ? u : null, d), f(d, () => e.key || e.index),
|
|
1959
|
-
const
|
|
1960
|
-
` : ""}Shift + Click to copy value`,
|
|
1961
|
-
return
|
|
1956
|
+
}, f(p, s || i ? u : null, d), f(d, () => e.key || e.index), N((m) => {
|
|
1957
|
+
const b = `${e.key ? `${e.key}
|
|
1958
|
+
` : ""}Shift + Click to copy value`, v = e.index !== void 0;
|
|
1959
|
+
return b !== m._v$ && j(p, "title", m._v$ = b), v !== m._v$2 && p.classList.toggle("index", m._v$2 = v), m;
|
|
1962
1960
|
}, {
|
|
1963
1961
|
_v$: void 0,
|
|
1964
1962
|
_v$2: void 0
|
|
@@ -1978,29 +1976,29 @@ const Tr = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Er = /* @_
|
|
|
1978
1976
|
return () => d() && [(() => {
|
|
1979
1977
|
const m = st.cloneNode(!0);
|
|
1980
1978
|
return f(m, () => {
|
|
1981
|
-
let
|
|
1982
|
-
const
|
|
1983
|
-
return r() || (
|
|
1984
|
-
const
|
|
1985
|
-
return f(
|
|
1986
|
-
value:
|
|
1979
|
+
let b = l;
|
|
1980
|
+
const v = b.length;
|
|
1981
|
+
return r() || (b = b.slice(0, q)), [g(() => b.map((w, S) => (() => {
|
|
1982
|
+
const x = at.cloneNode(!0);
|
|
1983
|
+
return f(x, h(He, {
|
|
1984
|
+
value: w,
|
|
1987
1985
|
get indent() {
|
|
1988
1986
|
return e.indent + 1;
|
|
1989
1987
|
},
|
|
1990
|
-
index:
|
|
1988
|
+
index: S,
|
|
1991
1989
|
get compact() {
|
|
1992
1990
|
return e.compact;
|
|
1993
1991
|
}
|
|
1994
|
-
})),
|
|
1992
|
+
})), x;
|
|
1995
1993
|
})())), g((() => {
|
|
1996
|
-
const
|
|
1997
|
-
return () =>
|
|
1994
|
+
const w = g(() => !r() && v > q);
|
|
1995
|
+
return () => w() && h(F, {
|
|
1998
1996
|
onClick: () => {
|
|
1999
1997
|
o(() => !0);
|
|
2000
1998
|
},
|
|
2001
1999
|
class: "show-all",
|
|
2002
2000
|
get children() {
|
|
2003
|
-
return ["…show all (+",
|
|
2001
|
+
return ["…show all (+", v - q, ")"];
|
|
2004
2002
|
}
|
|
2005
2003
|
});
|
|
2006
2004
|
})())];
|
|
@@ -2019,29 +2017,29 @@ const Tr = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Er = /* @_
|
|
|
2019
2017
|
return () => d() && [(() => {
|
|
2020
2018
|
const m = st.cloneNode(!0);
|
|
2021
2019
|
return f(m, () => {
|
|
2022
|
-
let
|
|
2023
|
-
const
|
|
2024
|
-
return r() || (
|
|
2025
|
-
const
|
|
2026
|
-
return f(
|
|
2027
|
-
value:
|
|
2028
|
-
key:
|
|
2020
|
+
let b = Object.entries(l);
|
|
2021
|
+
const v = b.length;
|
|
2022
|
+
return r() || (b = b.slice(0, q)), [g(() => b.map(([w, S]) => (() => {
|
|
2023
|
+
const x = at.cloneNode(!0);
|
|
2024
|
+
return f(x, h(He, {
|
|
2025
|
+
value: S,
|
|
2026
|
+
key: w,
|
|
2029
2027
|
get indent() {
|
|
2030
2028
|
return e.indent + 1;
|
|
2031
2029
|
},
|
|
2032
2030
|
get compact() {
|
|
2033
2031
|
return e.compact;
|
|
2034
2032
|
}
|
|
2035
|
-
})),
|
|
2033
|
+
})), x;
|
|
2036
2034
|
})())), g((() => {
|
|
2037
|
-
const
|
|
2038
|
-
return () =>
|
|
2035
|
+
const w = g(() => !r() && v > q);
|
|
2036
|
+
return () => w() && h(F, {
|
|
2039
2037
|
onClick: () => {
|
|
2040
2038
|
o(() => !0);
|
|
2041
2039
|
},
|
|
2042
2040
|
class: "show-all",
|
|
2043
2041
|
get children() {
|
|
2044
|
-
return ["…show all (+",
|
|
2042
|
+
return ["…show all (+", v - q, ")"];
|
|
2045
2043
|
}
|
|
2046
2044
|
});
|
|
2047
2045
|
})())];
|
|
@@ -2057,7 +2055,7 @@ const Tr = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Er = /* @_
|
|
|
2057
2055
|
});
|
|
2058
2056
|
}, Z = (e) => (() => {
|
|
2059
2057
|
const t = Dr.cloneNode(!0);
|
|
2060
|
-
return
|
|
2058
|
+
return C(t, Rr), f(t, h(He, {
|
|
2061
2059
|
get value() {
|
|
2062
2060
|
return e.value;
|
|
2063
2061
|
},
|
|
@@ -2075,7 +2073,7 @@ let zr = 0;
|
|
|
2075
2073
|
function Fr() {
|
|
2076
2074
|
return zr++;
|
|
2077
2075
|
}
|
|
2078
|
-
const Br = /* @__PURE__ */ $("<label></label>"), Hr = /* @__PURE__ */ $('<div><div class="inputContainer"><select></select></div></div>'), Vr = /* @__PURE__ */ $('<option value="">-- select an option --</option>'), Ur = /* @__PURE__ */ $("<option></option>"), Zr =
|
|
2076
|
+
const Br = /* @__PURE__ */ $("<label></label>"), Hr = /* @__PURE__ */ $('<div><div class="inputContainer"><select></select></div></div>'), Vr = /* @__PURE__ */ $('<option value="">-- select an option --</option>'), Ur = /* @__PURE__ */ $("<option></option>"), Zr = _`
|
|
2079
2077
|
&&& {
|
|
2080
2078
|
${O({
|
|
2081
2079
|
align: "left"
|
|
@@ -2153,9 +2151,9 @@ const Br = /* @__PURE__ */ $("<label></label>"), Hr = /* @__PURE__ */ $('<div><d
|
|
|
2153
2151
|
},
|
|
2154
2152
|
children: (l) => (() => {
|
|
2155
2153
|
const s = Ur.cloneNode(!0);
|
|
2156
|
-
return f(s, () => l.label),
|
|
2154
|
+
return f(s, () => l.label), N(() => s.value = l.value), s;
|
|
2157
2155
|
})()
|
|
2158
|
-
}), null),
|
|
2156
|
+
}), null), N(() => C(n, Rt(Zr, e.class))), N(() => o.value = e.value ?? ""), n;
|
|
2159
2157
|
})();
|
|
2160
2158
|
};
|
|
2161
2159
|
function Ft(e) {
|
|
@@ -2171,7 +2169,7 @@ function ut(e, t) {
|
|
|
2171
2169
|
function Wr(e, t) {
|
|
2172
2170
|
return e.length > t ? `${e.slice(0, t)}...` : e;
|
|
2173
2171
|
}
|
|
2174
|
-
const Jr = /* @__PURE__ */ $('<div class="changes-count"><span class="additions">+ <b></b> lines</span> | <span class="removals">- <b></b> lines</span></div>'), Ie = /* @__PURE__ */ $("<div></div>"), dt = /* @__PURE__ */ $("<div>No changes</div>"), ft = /* @__PURE__ */ $('<div class="line"></div>'), Xr =
|
|
2172
|
+
const Jr = /* @__PURE__ */ $('<div class="changes-count"><span class="additions">+ <b></b> lines</span> | <span class="removals">- <b></b> lines</span></div>'), Ie = /* @__PURE__ */ $("<div></div>"), dt = /* @__PURE__ */ $("<div>No changes</div>"), ft = /* @__PURE__ */ $('<div class="line"></div>'), Xr = _`
|
|
2175
2173
|
&&& {
|
|
2176
2174
|
${O({
|
|
2177
2175
|
gap: 14
|
|
@@ -2190,7 +2188,7 @@ const Jr = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
|
|
|
2190
2188
|
}
|
|
2191
2189
|
}
|
|
2192
2190
|
}
|
|
2193
|
-
`, pt =
|
|
2191
|
+
`, pt = _`
|
|
2194
2192
|
&&& {
|
|
2195
2193
|
${O({
|
|
2196
2194
|
gap: 0
|
|
@@ -2241,7 +2239,7 @@ const Jr = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
|
|
|
2241
2239
|
value: c.id,
|
|
2242
2240
|
label: `${ue(c.startTime).format("HH:mm:ss")} | ${Wr(Ft(c), 50)}`
|
|
2243
2241
|
})).filter((c) => c.value !== n()) : [];
|
|
2244
|
-
}, "value"), o =
|
|
2242
|
+
}, "value"), o = Pe(null), l = g(() => o.value ? e()?.requests.find((a) => a.id === o.value) : null), s = g(() => {
|
|
2245
2243
|
if (!o.value || !n())
|
|
2246
2244
|
return [];
|
|
2247
2245
|
const a = t()?.response, c = l()?.response, u = ut(c, a);
|
|
@@ -2254,7 +2252,7 @@ const Jr = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
|
|
|
2254
2252
|
});
|
|
2255
2253
|
return (() => {
|
|
2256
2254
|
const a = Ie.cloneNode(!0);
|
|
2257
|
-
return
|
|
2255
|
+
return C(a, Xr), f(a, h(Kr, {
|
|
2258
2256
|
get value() {
|
|
2259
2257
|
return o.value;
|
|
2260
2258
|
},
|
|
@@ -2271,15 +2269,15 @@ const Jr = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
|
|
|
2271
2269
|
},
|
|
2272
2270
|
get children() {
|
|
2273
2271
|
return [(() => {
|
|
2274
|
-
const c = Jr.cloneNode(!0), u = c.firstChild, p = u.firstChild, d = p.nextSibling, m = u.nextSibling,
|
|
2275
|
-
return f(d, () => s().filter((
|
|
2272
|
+
const c = Jr.cloneNode(!0), u = c.firstChild, p = u.firstChild, d = p.nextSibling, m = u.nextSibling, b = m.nextSibling, v = b.firstChild, w = v.nextSibling;
|
|
2273
|
+
return f(d, () => s().filter((S) => S.added).length), f(w, () => s().filter((S) => S.removed).length), c;
|
|
2276
2274
|
})(), h(M, {
|
|
2277
2275
|
get title() {
|
|
2278
2276
|
return g(() => !!t()?.payload)() ? "Payload Diff" : t()?.searchParams ? "Search Params Diff" : "Path Params Diff";
|
|
2279
2277
|
},
|
|
2280
2278
|
get children() {
|
|
2281
2279
|
const c = Ie.cloneNode(!0);
|
|
2282
|
-
return
|
|
2280
|
+
return C(c, pt), f(c, h(X, {
|
|
2283
2281
|
get each() {
|
|
2284
2282
|
return i();
|
|
2285
2283
|
},
|
|
@@ -2288,9 +2286,9 @@ const Jr = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
|
|
|
2288
2286
|
},
|
|
2289
2287
|
children: (u) => (() => {
|
|
2290
2288
|
const p = ft.cloneNode(!0);
|
|
2291
|
-
return f(p, () => u.value),
|
|
2292
|
-
const m = !!u.added,
|
|
2293
|
-
return m !== d._v$ && p.classList.toggle("added", d._v$ = m),
|
|
2289
|
+
return f(p, () => u.value), N((d) => {
|
|
2290
|
+
const m = !!u.added, b = !!u.removed;
|
|
2291
|
+
return m !== d._v$ && p.classList.toggle("added", d._v$ = m), b !== d._v$2 && p.classList.toggle("removed", d._v$2 = b), d;
|
|
2294
2292
|
}, {
|
|
2295
2293
|
_v$: void 0,
|
|
2296
2294
|
_v$2: void 0
|
|
@@ -2302,7 +2300,7 @@ const Jr = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
|
|
|
2302
2300
|
title: "Response Diff",
|
|
2303
2301
|
get children() {
|
|
2304
2302
|
const c = Ie.cloneNode(!0);
|
|
2305
|
-
return
|
|
2303
|
+
return C(c, pt), f(c, h(X, {
|
|
2306
2304
|
get each() {
|
|
2307
2305
|
return s();
|
|
2308
2306
|
},
|
|
@@ -2311,9 +2309,9 @@ const Jr = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
|
|
|
2311
2309
|
},
|
|
2312
2310
|
children: (u) => (() => {
|
|
2313
2311
|
const p = ft.cloneNode(!0);
|
|
2314
|
-
return f(p, () => u.value),
|
|
2315
|
-
const m = !!u.added,
|
|
2316
|
-
return m !== d._v$3 && p.classList.toggle("added", d._v$3 = m),
|
|
2312
|
+
return f(p, () => u.value), N((d) => {
|
|
2313
|
+
const m = !!u.added, b = !!u.removed;
|
|
2314
|
+
return m !== d._v$3 && p.classList.toggle("added", d._v$3 = m), b !== d._v$4 && p.classList.toggle("removed", d._v$4 = b), d;
|
|
2317
2315
|
}, {
|
|
2318
2316
|
_v$3: void 0,
|
|
2319
2317
|
_v$4: void 0
|
|
@@ -2329,7 +2327,7 @@ const Jr = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
|
|
|
2329
2327
|
function ht(e) {
|
|
2330
2328
|
return e ? e.payload || e.searchParams || e.pathParams : null;
|
|
2331
2329
|
}
|
|
2332
|
-
const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>"), Yr = /* @__PURE__ */ $('<div class="tags"></div>'), qr = /* @__PURE__ */ $('<div class="details"></div>'), el = /* @__PURE__ */ $("<h2></h2>"), tl = /* @__PURE__ */ $('<div class="method"></div>'), nl = /* @__PURE__ */ $('<div class="code"></div>'), rl = /* @__PURE__ */ $('<div class="tag error">Has Error</div>'), ll = /* @__PURE__ */ $('<div class="tag"></div>'), ol = /* @__PURE__ */ $("<span> ms</span>"), il =
|
|
2330
|
+
const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>"), Yr = /* @__PURE__ */ $('<div class="tags"></div>'), qr = /* @__PURE__ */ $('<div class="details"></div>'), el = /* @__PURE__ */ $("<h2></h2>"), tl = /* @__PURE__ */ $('<div class="method"></div>'), nl = /* @__PURE__ */ $('<div class="code"></div>'), rl = /* @__PURE__ */ $('<div class="tag error">Has Error</div>'), ll = /* @__PURE__ */ $('<div class="tag"></div>'), ol = /* @__PURE__ */ $("<span> ms</span>"), il = _`
|
|
2333
2331
|
&&& {
|
|
2334
2332
|
${O()};
|
|
2335
2333
|
padding-left: 10px;
|
|
@@ -2391,7 +2389,7 @@ const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>")
|
|
|
2391
2389
|
padding-bottom: 20px;
|
|
2392
2390
|
}
|
|
2393
2391
|
}
|
|
2394
|
-
`, sl =
|
|
2392
|
+
`, sl = _`
|
|
2395
2393
|
&&& {
|
|
2396
2394
|
${V({
|
|
2397
2395
|
gap: 20
|
|
@@ -2439,7 +2437,7 @@ const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>")
|
|
|
2439
2437
|
}
|
|
2440
2438
|
return (() => {
|
|
2441
2439
|
const l = gt.cloneNode(!0);
|
|
2442
|
-
return
|
|
2440
|
+
return C(l, il), f(l, h(Ne, {
|
|
2443
2441
|
get when() {
|
|
2444
2442
|
return r();
|
|
2445
2443
|
},
|
|
@@ -2465,7 +2463,7 @@ const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>")
|
|
|
2465
2463
|
const a = g(() => !!s.code);
|
|
2466
2464
|
return () => a() && (() => {
|
|
2467
2465
|
const c = nl.cloneNode(!0);
|
|
2468
|
-
return f(c, () => s.code),
|
|
2466
|
+
return f(c, () => s.code), N(() => c.classList.toggle("error", s.code >= 400)), c;
|
|
2469
2467
|
})();
|
|
2470
2468
|
})(), null), f(i, (() => {
|
|
2471
2469
|
const a = g(() => !!s.isError);
|
|
@@ -2481,7 +2479,7 @@ const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>")
|
|
|
2481
2479
|
}), null), i;
|
|
2482
2480
|
})(), (() => {
|
|
2483
2481
|
const i = gt.cloneNode(!0);
|
|
2484
|
-
return
|
|
2482
|
+
return C(i, sl), f(i, () => o("summary", "Summary"), null), f(i, (() => {
|
|
2485
2483
|
const a = g(() => !!s.payload);
|
|
2486
2484
|
return () => a() && o("payload", "Payload");
|
|
2487
2485
|
})(), null), f(i, (() => {
|
|
@@ -2536,7 +2534,7 @@ const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>")
|
|
|
2536
2534
|
name: "Duration",
|
|
2537
2535
|
value: (() => {
|
|
2538
2536
|
const a = ol.cloneNode(!0), c = a.firstChild;
|
|
2539
|
-
return f(a, () => zt(s.duration, 0), c),
|
|
2537
|
+
return f(a, () => zt(s.duration, 0), c), N(() => a.style.setProperty("color", s.duration < 500 ? y.success.var : s.duration > 1e3 ? y.error.var : void 0)), a;
|
|
2540
2538
|
})()
|
|
2541
2539
|
}, {
|
|
2542
2540
|
name: "Start Time",
|
|
@@ -2617,7 +2615,7 @@ const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>")
|
|
|
2617
2615
|
})()]
|
|
2618
2616
|
})), l;
|
|
2619
2617
|
})();
|
|
2620
|
-
}, cl = /* @__PURE__ */ $("<div><h1>timeline</h1><div></div></div>"), ul = /* @__PURE__ */ $("<div>no requests found</div>"), dl = /* @__PURE__ */ $('<span class="start-time"></span>'), fl = /* @__PURE__ */ $("<div></div>"), pl = /* @__PURE__ */ $('<span class="separator">|</span>'), hl = /* @__PURE__ */ $('<span class="payload"></span>'), gl =
|
|
2618
|
+
}, cl = /* @__PURE__ */ $("<div><h1>timeline</h1><div></div></div>"), ul = /* @__PURE__ */ $("<div>no requests found</div>"), dl = /* @__PURE__ */ $('<span class="start-time"></span>'), fl = /* @__PURE__ */ $("<div></div>"), pl = /* @__PURE__ */ $('<span class="separator">|</span>'), hl = /* @__PURE__ */ $('<span class="payload"></span>'), gl = _`
|
|
2621
2619
|
&&& {
|
|
2622
2620
|
${O()};
|
|
2623
2621
|
border-right: 1px solid ${y.white.alpha(0.1)};
|
|
@@ -2631,13 +2629,13 @@ const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>")
|
|
|
2631
2629
|
padding-bottom: 16px;
|
|
2632
2630
|
}
|
|
2633
2631
|
}
|
|
2634
|
-
`, ml =
|
|
2632
|
+
`, ml = _`
|
|
2635
2633
|
&&& {
|
|
2636
2634
|
${O()};
|
|
2637
2635
|
flex: 1 1;
|
|
2638
2636
|
overflow-y: auto;
|
|
2639
2637
|
}
|
|
2640
|
-
`, yl =
|
|
2638
|
+
`, yl = _`
|
|
2641
2639
|
&&& {
|
|
2642
2640
|
font-size: 13px;
|
|
2643
2641
|
${O()};
|
|
@@ -2673,14 +2671,14 @@ const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>")
|
|
|
2673
2671
|
}
|
|
2674
2672
|
}
|
|
2675
2673
|
}
|
|
2676
|
-
`, $l =
|
|
2674
|
+
`, $l = _`
|
|
2677
2675
|
&&& {
|
|
2678
2676
|
opacity: 0.4;
|
|
2679
2677
|
font-size: 14px;
|
|
2680
2678
|
padding: 12px;
|
|
2681
2679
|
padding-top: 0;
|
|
2682
2680
|
}
|
|
2683
|
-
`,
|
|
2681
|
+
`, bl = () => {
|
|
2684
2682
|
const e = g(() => {
|
|
2685
2683
|
const o = I.selectedCall;
|
|
2686
2684
|
return o ? o ? G.calls[o] : null : G.calls[Ee.value] || null;
|
|
@@ -2690,21 +2688,21 @@ const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>")
|
|
|
2690
2688
|
}), n = g(() => I.selectedSubitem ? t()?.filter((o) => o.alias === I.selectedSubitem) : t()), r = g(() => I.selectedRequest || n()?.[0]?.id);
|
|
2691
2689
|
return (() => {
|
|
2692
2690
|
const o = cl.cloneNode(!0), l = o.firstChild, s = l.nextSibling;
|
|
2693
|
-
return
|
|
2691
|
+
return C(o, gl), C(s, ml), f(s, h(X, {
|
|
2694
2692
|
get each() {
|
|
2695
2693
|
return n();
|
|
2696
2694
|
},
|
|
2697
2695
|
get fallback() {
|
|
2698
2696
|
return (() => {
|
|
2699
2697
|
const i = ul.cloneNode(!0);
|
|
2700
|
-
return
|
|
2698
|
+
return C(i, $l), i;
|
|
2701
2699
|
})();
|
|
2702
2700
|
},
|
|
2703
2701
|
children: (i) => {
|
|
2704
2702
|
const a = ue(i.startTime), c = a.format("HH:mm:ss"), u = a.fromNow(), p = Ft(i);
|
|
2705
2703
|
return (() => {
|
|
2706
2704
|
const d = fl.cloneNode(!0);
|
|
2707
|
-
return
|
|
2705
|
+
return C(d, yl), f(d, h(F, {
|
|
2708
2706
|
onClick: () => {
|
|
2709
2707
|
_e("selectedRequest", i.id);
|
|
2710
2708
|
},
|
|
@@ -2722,19 +2720,19 @@ const gt = /* @__PURE__ */ $("<div></div>"), Qr = /* @__PURE__ */ $("<h1></h1>")
|
|
|
2722
2720
|
return j(m, "title", p), f(m, p), m;
|
|
2723
2721
|
})()])];
|
|
2724
2722
|
}
|
|
2725
|
-
})),
|
|
2723
|
+
})), N(() => d.classList.toggle("error", !!i.isError)), d;
|
|
2726
2724
|
})();
|
|
2727
2725
|
}
|
|
2728
2726
|
})), o;
|
|
2729
2727
|
})();
|
|
2730
|
-
},
|
|
2728
|
+
}, vl = /* @__PURE__ */ $("<div></div>"), wl = _`
|
|
2731
2729
|
&&& {
|
|
2732
2730
|
display: grid;
|
|
2733
2731
|
grid-template-columns: 1fr 1fr 3fr;
|
|
2734
2732
|
}
|
|
2735
2733
|
`, xl = () => (() => {
|
|
2736
|
-
const e =
|
|
2737
|
-
return
|
|
2734
|
+
const e = vl.cloneNode(!0);
|
|
2735
|
+
return C(e, wl), f(e, h(vr, {}), null), f(e, h(bl, {}), null), f(e, h(al, {}), null), e;
|
|
2738
2736
|
})(), Cl = `
|
|
2739
2737
|
font-family: ${R.primary};
|
|
2740
2738
|
color: ${y.textPrimary.var};
|
|
@@ -2864,7 +2862,7 @@ button {
|
|
|
2864
2862
|
cursor: pointer;
|
|
2865
2863
|
-webkit-appearance: none;
|
|
2866
2864
|
}
|
|
2867
|
-
`, kl = /* @__PURE__ */ $("<div></div>"), Nl = /* @__PURE__ */ $('<div id="dev-tools-root-element"><nav></nav><main></main></div>'), Al =
|
|
2865
|
+
`, kl = /* @__PURE__ */ $("<div></div>"), Nl = /* @__PURE__ */ $('<div id="dev-tools-root-element"><nav></nav><main></main></div>'), Al = _`
|
|
2868
2866
|
${Sl};
|
|
2869
2867
|
${Cl};
|
|
2870
2868
|
|
|
@@ -2899,27 +2897,27 @@ button {
|
|
|
2899
2897
|
> main > * {
|
|
2900
2898
|
${Ze};
|
|
2901
2899
|
}
|
|
2902
|
-
`,
|
|
2900
|
+
`, Tl = _`
|
|
2903
2901
|
${Ze};
|
|
2904
2902
|
position: fixed;
|
|
2905
2903
|
inset: 0;
|
|
2906
2904
|
backdrop-filter: blur(5px);
|
|
2907
|
-
`,
|
|
2905
|
+
`, Pl = () => [(() => {
|
|
2908
2906
|
const e = kl.cloneNode(!0);
|
|
2909
|
-
return we(e, "click", Ht, !0),
|
|
2907
|
+
return we(e, "click", Ht, !0), C(e, Tl), e;
|
|
2910
2908
|
})(), (() => {
|
|
2911
2909
|
const e = Nl.cloneNode(!0), t = e.firstChild, n = t.nextSibling;
|
|
2912
|
-
return
|
|
2910
|
+
return C(e, Al), f(t, h(F, {
|
|
2913
2911
|
title: "API Explorer",
|
|
2914
2912
|
get children() {
|
|
2915
|
-
return h(
|
|
2913
|
+
return h(Te, {
|
|
2916
2914
|
name: "network"
|
|
2917
2915
|
});
|
|
2918
2916
|
}
|
|
2919
2917
|
})), f(n, h(xl, {})), e;
|
|
2920
2918
|
})()];
|
|
2921
2919
|
Ae(["click"]);
|
|
2922
|
-
const El = () => h(
|
|
2920
|
+
const El = () => h(Pl, {});
|
|
2923
2921
|
function Ol(e) {
|
|
2924
2922
|
let t = "";
|
|
2925
2923
|
return e.forEach(({ family: n, weights: r, italics: o }) => {
|