app-devtools 0.4.0 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  import Q from "dayjs";
2
- import { sharedConfig as R, createRoot as it, createRenderEffect as x, mergeProps as st, $PROXY as I, $TRACK as we, getListener as Ze, batch as at, createSignal as ne, createMemo as m, splitProps as ct, createComponent as p, Show as se, For as z, Switch as dt, Match as G } from "solid-js";
2
+ import { sharedConfig as D, createRoot as it, createRenderEffect as C, mergeProps as st, $PROXY as z, $TRACK as _e, getListener as Ke, batch as at, createSignal as re, createMemo as m, splitProps as ct, createComponent as p, Show as ae, For as F, Switch as dt, Match as G } from "solid-js";
3
3
  import { css as _ } from "solid-styled-components";
4
- import { dequal as Ke } from "dequal";
4
+ import { dequal as Ue } from "dequal";
5
5
  import { nanoid as ut } from "nanoid";
6
6
  import { parse as ft } from "regexparam";
7
7
  import * as pt from "diff";
@@ -9,7 +9,7 @@ import gt from "tinykeys";
9
9
  const ht = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], mt = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...ht]), $t = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), yt = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
10
10
  className: "class",
11
11
  htmlFor: "for"
12
- }), _e = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
12
+ }), Se = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
13
13
  class: "className",
14
14
  formnovalidate: "formNoValidate",
15
15
  ismap: "isMap",
@@ -21,24 +21,24 @@ const ht = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "con
21
21
  xml: "http://www.w3.org/XML/1998/namespace"
22
22
  };
23
23
  function Ct(e, t, n) {
24
- let l = n.length, s = t.length, o = l, i = 0, r = 0, a = t[s - 1].nextSibling, c = null;
25
- for (; i < s || r < o; ) {
26
- if (t[i] === n[r]) {
27
- i++, r++;
24
+ let l = n.length, i = t.length, o = l, s = 0, r = 0, a = t[i - 1].nextSibling, c = null;
25
+ for (; s < i || r < o; ) {
26
+ if (t[s] === n[r]) {
27
+ s++, r++;
28
28
  continue;
29
29
  }
30
- for (; t[s - 1] === n[o - 1]; )
31
- s--, o--;
32
- if (s === i) {
30
+ for (; t[i - 1] === n[o - 1]; )
31
+ i--, o--;
32
+ if (i === s) {
33
33
  const d = o < l ? r ? n[r - 1].nextSibling : n[o - r] : a;
34
34
  for (; r < o; )
35
35
  e.insertBefore(n[r++], d);
36
36
  } else if (o === r)
37
- for (; i < s; )
38
- (!c || !c.has(t[i])) && t[i].remove(), i++;
39
- else if (t[i] === n[o - 1] && n[r] === t[s - 1]) {
40
- const d = t[--s].nextSibling;
41
- e.insertBefore(n[r++], t[i++].nextSibling), e.insertBefore(n[--o], d), t[s] = n[o];
37
+ for (; s < i; )
38
+ (!c || !c.has(t[s])) && t[s].remove(), s++;
39
+ else if (t[s] === n[o - 1] && n[r] === t[i - 1]) {
40
+ const d = t[--i].nextSibling;
41
+ e.insertBefore(n[r++], t[s++].nextSibling), e.insertBefore(n[--o], d), t[i] = n[o];
42
42
  } else {
43
43
  if (!c) {
44
44
  c = /* @__PURE__ */ new Map();
@@ -46,48 +46,48 @@ function Ct(e, t, n) {
46
46
  for (; g < o; )
47
47
  c.set(n[g], g++);
48
48
  }
49
- const d = c.get(t[i]);
49
+ const d = c.get(t[s]);
50
50
  if (d != null)
51
51
  if (r < d && d < o) {
52
- let g = i, f = 1, y;
53
- for (; ++g < s && g < o && !((y = c.get(t[g])) == null || y !== d + f); )
52
+ let g = s, f = 1, y;
53
+ for (; ++g < i && g < o && !((y = c.get(t[g])) == null || y !== d + f); )
54
54
  f++;
55
55
  if (f > d - r) {
56
- const v = t[i];
56
+ const v = t[s];
57
57
  for (; r < d; )
58
58
  e.insertBefore(n[r++], v);
59
59
  } else
60
- e.replaceChild(n[r++], t[i++]);
60
+ e.replaceChild(n[r++], t[s++]);
61
61
  } else
62
- i++;
62
+ s++;
63
63
  else
64
- t[i++].remove();
64
+ t[s++].remove();
65
65
  }
66
66
  }
67
67
  }
68
- const Se = "_$DX_DELEGATE";
68
+ const Ne = "_$DX_DELEGATE";
69
69
  function xt(e, t, n, l = {}) {
70
- let s;
70
+ let i;
71
71
  return it((o) => {
72
- s = o, t === document ? e() : u(t, e(), t.firstChild ? null : void 0, n);
72
+ i = o, t === document ? e() : u(t, e(), t.firstChild ? null : void 0, n);
73
73
  }, l.owner), () => {
74
- s(), t.textContent = "";
74
+ i(), t.textContent = "";
75
75
  };
76
76
  }
77
77
  function $(e, t, n) {
78
78
  const l = document.createElement("template");
79
79
  l.innerHTML = e;
80
- let s = l.content.firstChild;
81
- return n && (s = s.firstChild), s;
80
+ let i = l.content.firstChild;
81
+ return n && (i = i.firstChild), i;
82
82
  }
83
- function ae(e, t = window.document) {
84
- const n = t[Se] || (t[Se] = /* @__PURE__ */ new Set());
85
- for (let l = 0, s = e.length; l < s; l++) {
83
+ function ce(e, t = window.document) {
84
+ const n = t[Ne] || (t[Ne] = /* @__PURE__ */ new Set());
85
+ for (let l = 0, i = e.length; l < i; l++) {
86
86
  const o = e[l];
87
87
  n.has(o) || (n.add(o), t.addEventListener(o, At));
88
88
  }
89
89
  }
90
- function A(e, t, n) {
90
+ function P(e, t, n) {
91
91
  n == null ? e.removeAttribute(t) : e.setAttribute(t, n);
92
92
  }
93
93
  function wt(e, t, n, l) {
@@ -96,80 +96,80 @@ function wt(e, t, n, l) {
96
96
  function b(e, t) {
97
97
  t == null ? e.removeAttribute("class") : e.className = t;
98
98
  }
99
- function re(e, t, n, l) {
99
+ function oe(e, t, n, l) {
100
100
  if (l)
101
101
  Array.isArray(n) ? (e[`$$${t}`] = n[0], e[`$$${t}Data`] = n[1]) : e[`$$${t}`] = n;
102
102
  else if (Array.isArray(n)) {
103
- const s = n[0];
104
- e.addEventListener(t, n[0] = (o) => s.call(e, n[1], o));
103
+ const i = n[0];
104
+ e.addEventListener(t, n[0] = (o) => i.call(e, n[1], o));
105
105
  } else
106
106
  e.addEventListener(t, n);
107
107
  }
108
108
  function _t(e, t, n = {}) {
109
- const l = Object.keys(t || {}), s = Object.keys(n);
110
- let o, i;
111
- for (o = 0, i = s.length; o < i; o++) {
112
- const r = s[o];
113
- !r || r === "undefined" || t[r] || (Ne(e, r, !1), delete n[r]);
109
+ const l = Object.keys(t || {}), i = Object.keys(n);
110
+ let o, s;
111
+ for (o = 0, s = i.length; o < s; o++) {
112
+ const r = i[o];
113
+ !r || r === "undefined" || t[r] || (ke(e, r, !1), delete n[r]);
114
114
  }
115
- for (o = 0, i = l.length; o < i; o++) {
115
+ for (o = 0, s = l.length; o < s; o++) {
116
116
  const r = l[o], a = !!t[r];
117
- !r || r === "undefined" || n[r] === a || !a || (Ne(e, r, !0), n[r] = a);
117
+ !r || r === "undefined" || n[r] === a || !a || (ke(e, r, !0), n[r] = a);
118
118
  }
119
119
  return n;
120
120
  }
121
- function Ue(e, t, n) {
121
+ function We(e, t, n) {
122
122
  if (!t)
123
- return n ? A(e, "style") : t;
123
+ return n ? P(e, "style") : t;
124
124
  const l = e.style;
125
125
  if (typeof t == "string")
126
126
  return l.cssText = t;
127
127
  typeof n == "string" && (l.cssText = n = void 0), n || (n = {}), t || (t = {});
128
- let s, o;
128
+ let i, o;
129
129
  for (o in n)
130
130
  t[o] == null && l.removeProperty(o), delete n[o];
131
131
  for (o in t)
132
- s = t[o], s !== n[o] && (l.setProperty(o, s), n[o] = s);
132
+ i = t[o], i !== n[o] && (l.setProperty(o, i), n[o] = i);
133
133
  return n;
134
134
  }
135
135
  function St(e, t = {}, n, l) {
136
- const s = {};
137
- return l || x(() => s.children = K(e, t.children, s.children)), x(() => t.ref && t.ref(e)), x(() => Nt(e, t, n, !0, s, !0)), s;
136
+ const i = {};
137
+ return l || C(() => i.children = U(e, t.children, i.children)), C(() => t.ref && t.ref(e)), C(() => Nt(e, t, n, !0, i, !0)), i;
138
138
  }
139
139
  function u(e, t, n, l) {
140
140
  if (n !== void 0 && !l && (l = []), typeof t != "function")
141
- return K(e, t, l, n);
142
- x((s) => K(e, t(), s, n), l);
141
+ return U(e, t, l, n);
142
+ C((i) => U(e, t(), i, n), l);
143
143
  }
144
- function Nt(e, t, n, l, s = {}, o = !1) {
144
+ function Nt(e, t, n, l, i = {}, o = !1) {
145
145
  t || (t = {});
146
- for (const i in s)
147
- if (!(i in t)) {
148
- if (i === "children")
146
+ for (const s in i)
147
+ if (!(s in t)) {
148
+ if (s === "children")
149
149
  continue;
150
- s[i] = ke(e, i, null, s[i], n, o);
150
+ i[s] = Ae(e, s, null, i[s], n, o);
151
151
  }
152
- for (const i in t) {
153
- if (i === "children") {
154
- l || K(e, t.children);
152
+ for (const s in t) {
153
+ if (s === "children") {
154
+ l || U(e, t.children);
155
155
  continue;
156
156
  }
157
- const r = t[i];
158
- s[i] = ke(e, i, r, s[i], n, o);
157
+ const r = t[s];
158
+ i[s] = Ae(e, s, r, i[s], n, o);
159
159
  }
160
160
  }
161
161
  function kt(e) {
162
162
  return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
163
163
  }
164
- function Ne(e, t, n) {
164
+ function ke(e, t, n) {
165
165
  const l = t.trim().split(/\s+/);
166
- for (let s = 0, o = l.length; s < o; s++)
167
- e.classList.toggle(l[s], n);
166
+ for (let i = 0, o = l.length; i < o; i++)
167
+ e.classList.toggle(l[i], n);
168
168
  }
169
- function ke(e, t, n, l, s, o) {
170
- let i, r, a;
169
+ function Ae(e, t, n, l, i, o) {
170
+ let s, r, a;
171
171
  if (t === "style")
172
- return Ue(e, n, l);
172
+ return We(e, n, l);
173
173
  if (t === "classList")
174
174
  return _t(e, n, l);
175
175
  if (n === l)
@@ -188,12 +188,12 @@ function ke(e, t, n, l, s, o) {
188
188
  const g = Array.isArray(l) ? l[0] : l;
189
189
  e.removeEventListener(c, g);
190
190
  }
191
- (d || n) && (re(e, c, n, d), d && ae([c]));
192
- } else if ((a = $t.has(t)) || !s && (_e[t] || (r = mt.has(t))) || (i = e.nodeName.includes("-")))
193
- t === "class" || t === "className" ? b(e, n) : i && !r && !a ? e[kt(t)] = n : e[_e[t] || t] = n;
191
+ (d || n) && (oe(e, c, n, d), d && ce([c]));
192
+ } else if ((a = $t.has(t)) || !i && (Se[t] || (r = mt.has(t))) || (s = e.nodeName.includes("-")))
193
+ t === "class" || t === "className" ? b(e, n) : s && !r && !a ? e[kt(t)] = n : e[Se[t] || t] = n;
194
194
  else {
195
- const c = s && t.indexOf(":") > -1 && bt[t.split(":")[0]];
196
- c ? wt(e, c, t, n) : A(e, yt[t] || t, n);
195
+ const c = i && t.indexOf(":") > -1 && bt[t.split(":")[0]];
196
+ c ? wt(e, c, t, n) : P(e, yt[t] || t, n);
197
197
  }
198
198
  return n;
199
199
  }
@@ -208,53 +208,53 @@ function At(e) {
208
208
  get() {
209
209
  return n || document;
210
210
  }
211
- }), R.registry && !R.done && (R.done = !0, document.querySelectorAll("[id^=pl-]").forEach((l) => {
211
+ }), D.registry && !D.done && (D.done = !0, document.querySelectorAll("[id^=pl-]").forEach((l) => {
212
212
  for (; l && l.nodeType !== 8 && l.nodeValue !== "pl-" + e; ) {
213
- let s = l.nextSibling;
214
- l.remove(), l = s;
213
+ let i = l.nextSibling;
214
+ l.remove(), l = i;
215
215
  }
216
216
  l && l.remove();
217
217
  })); n; ) {
218
218
  const l = n[t];
219
219
  if (l && !n.disabled) {
220
- const s = n[`${t}Data`];
221
- if (s !== void 0 ? l.call(n, s, e) : l.call(n, e), e.cancelBubble)
220
+ const i = n[`${t}Data`];
221
+ if (i !== void 0 ? l.call(n, i, e) : l.call(n, e), e.cancelBubble)
222
222
  return;
223
223
  }
224
224
  n = n._$host || n.parentNode || n.host;
225
225
  }
226
226
  }
227
- function K(e, t, n, l, s) {
228
- for (R.context && !n && (n = [...e.childNodes]); typeof n == "function"; )
227
+ function U(e, t, n, l, i) {
228
+ for (D.context && !n && (n = [...e.childNodes]); typeof n == "function"; )
229
229
  n = n();
230
230
  if (t === n)
231
231
  return n;
232
- const o = typeof t, i = l !== void 0;
233
- if (e = i && n[0] && n[0].parentNode || e, o === "string" || o === "number") {
234
- if (R.context)
232
+ const o = typeof t, s = l !== void 0;
233
+ if (e = s && n[0] && n[0].parentNode || e, o === "string" || o === "number") {
234
+ if (D.context)
235
235
  return n;
236
- if (o === "number" && (t = t.toString()), i) {
236
+ if (o === "number" && (t = t.toString()), s) {
237
237
  let r = n[0];
238
- r && r.nodeType === 3 ? r.data = t : r = document.createTextNode(t), n = V(e, n, l, r);
238
+ r && r.nodeType === 3 ? r.data = t : r = document.createTextNode(t), n = Z(e, n, l, r);
239
239
  } else
240
240
  n !== "" && typeof n == "string" ? n = e.firstChild.data = t : n = e.textContent = t;
241
241
  } else if (t == null || o === "boolean") {
242
- if (R.context)
242
+ if (D.context)
243
243
  return n;
244
- n = V(e, n, l);
244
+ n = Z(e, n, l);
245
245
  } else {
246
246
  if (o === "function")
247
- return x(() => {
247
+ return C(() => {
248
248
  let r = t();
249
249
  for (; typeof r == "function"; )
250
250
  r = r();
251
- n = K(e, r, n, l);
251
+ n = U(e, r, n, l);
252
252
  }), () => n;
253
253
  if (Array.isArray(t)) {
254
254
  const r = [], a = n && Array.isArray(n);
255
- if (he(r, t, n, s))
256
- return x(() => n = K(e, r, n, l, !0)), () => n;
257
- if (R.context) {
255
+ if (me(r, t, n, i))
256
+ return C(() => n = U(e, r, n, l, !0)), () => n;
257
+ if (D.context) {
258
258
  if (!r.length)
259
259
  return n;
260
260
  for (let c = 0; c < r.length; c++)
@@ -262,18 +262,18 @@ function K(e, t, n, l, s) {
262
262
  return n = r;
263
263
  }
264
264
  if (r.length === 0) {
265
- if (n = V(e, n, l), i)
265
+ if (n = Z(e, n, l), s)
266
266
  return n;
267
267
  } else
268
- a ? n.length === 0 ? Ae(e, r, l) : Ct(e, n, r) : (n && V(e), Ae(e, r));
268
+ a ? n.length === 0 ? Pe(e, r, l) : Ct(e, n, r) : (n && Z(e), Pe(e, r));
269
269
  n = r;
270
270
  } else if (t instanceof Node) {
271
- if (R.context && t.parentNode)
272
- return n = i ? [t] : t;
271
+ if (D.context && t.parentNode)
272
+ return n = s ? [t] : t;
273
273
  if (Array.isArray(n)) {
274
- if (i)
275
- return n = V(e, n, l, t);
276
- V(e, n, null, t);
274
+ if (s)
275
+ return n = Z(e, n, l, t);
276
+ Z(e, n, null, t);
277
277
  } else
278
278
  n == null || n === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
279
279
  n = t;
@@ -281,92 +281,92 @@ function K(e, t, n, l, s) {
281
281
  }
282
282
  return n;
283
283
  }
284
- function he(e, t, n, l) {
285
- let s = !1;
286
- for (let o = 0, i = t.length; o < i; o++) {
284
+ function me(e, t, n, l) {
285
+ let i = !1;
286
+ for (let o = 0, s = t.length; o < s; o++) {
287
287
  let r = t[o], a = n && n[o];
288
288
  if (r instanceof Node)
289
289
  e.push(r);
290
290
  else if (!(r == null || r === !0 || r === !1))
291
291
  if (Array.isArray(r))
292
- s = he(e, r, a) || s;
292
+ i = me(e, r, a) || i;
293
293
  else if (typeof r == "function")
294
294
  if (l) {
295
295
  for (; typeof r == "function"; )
296
296
  r = r();
297
- s = he(e, Array.isArray(r) ? r : [r], Array.isArray(a) ? a : [a]) || s;
297
+ i = me(e, Array.isArray(r) ? r : [r], Array.isArray(a) ? a : [a]) || i;
298
298
  } else
299
- e.push(r), s = !0;
299
+ e.push(r), i = !0;
300
300
  else {
301
301
  const c = String(r);
302
302
  a && a.nodeType === 3 && a.data === c ? e.push(a) : e.push(document.createTextNode(c));
303
303
  }
304
304
  }
305
- return s;
305
+ return i;
306
306
  }
307
- function Ae(e, t, n = null) {
308
- for (let l = 0, s = t.length; l < s; l++)
307
+ function Pe(e, t, n = null) {
308
+ for (let l = 0, i = t.length; l < i; l++)
309
309
  e.insertBefore(t[l], n);
310
310
  }
311
- function V(e, t, n, l) {
311
+ function Z(e, t, n, l) {
312
312
  if (n === void 0)
313
313
  return e.textContent = "";
314
- const s = l || document.createTextNode("");
314
+ const i = l || document.createTextNode("");
315
315
  if (t.length) {
316
316
  let o = !1;
317
- for (let i = t.length - 1; i >= 0; i--) {
318
- const r = t[i];
319
- if (s !== r) {
317
+ for (let s = t.length - 1; s >= 0; s--) {
318
+ const r = t[s];
319
+ if (i !== r) {
320
320
  const a = r.parentNode === e;
321
- !o && !i ? a ? e.replaceChild(s, r) : e.insertBefore(s, n) : a && r.remove();
321
+ !o && !s ? a ? e.replaceChild(i, r) : e.insertBefore(i, n) : a && r.remove();
322
322
  } else
323
323
  o = !0;
324
324
  }
325
325
  } else
326
- e.insertBefore(s, n);
327
- return [s];
326
+ e.insertBefore(i, n);
327
+ return [i];
328
328
  }
329
- var Pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, me = {}, Tt = {
329
+ var Pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, $e = {}, Tt = {
330
330
  get exports() {
331
- return me;
331
+ return $e;
332
332
  },
333
333
  set exports(e) {
334
- me = e;
334
+ $e = e;
335
335
  }
336
336
  };
337
337
  (function(e, t) {
338
338
  (function(n, l) {
339
339
  e.exports = l();
340
340
  })(Pt, function() {
341
- return function(n, l, s) {
341
+ return function(n, l, i) {
342
342
  n = n || {};
343
- var o = l.prototype, i = { 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" };
343
+ var o = l.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" };
344
344
  function r(c, d, g, f) {
345
345
  return o.fromToBase(c, d, g, f);
346
346
  }
347
- s.en.relativeTime = i, o.fromToBase = function(c, d, g, f, y) {
348
- for (var v, C, w, P = g.$locale().relativeTime || i, k = 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" }], lt = k.length, X = 0; X < lt; X += 1) {
349
- var j = k[X];
350
- j.d && (v = f ? s(c).diff(g, j.d, !0) : g.diff(c, j.d, !0));
351
- var H = (n.rounding || Math.round)(Math.abs(v));
352
- if (w = v > 0, H <= j.r || !j.r) {
353
- H <= 1 && X > 0 && (j = k[X - 1]);
354
- var fe = P[j.l];
355
- y && (H = y("" + H)), C = typeof fe == "string" ? fe.replace("%d", H) : fe(H, d, j.l, w);
347
+ i.en.relativeTime = s, o.fromToBase = function(c, d, g, f, y) {
348
+ for (var v, x, w, A = g.$locale().relativeTime || s, k = 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" }], ee = k.length, O = 0; O < ee; O += 1) {
349
+ var T = k[O];
350
+ T.d && (v = f ? i(c).diff(g, T.d, !0) : g.diff(c, T.d, !0));
351
+ var V = (n.rounding || Math.round)(Math.abs(v));
352
+ if (w = v > 0, V <= T.r || !T.r) {
353
+ V <= 1 && O > 0 && (T = k[O - 1]);
354
+ var pe = A[T.l];
355
+ y && (V = y("" + V)), x = typeof pe == "string" ? pe.replace("%d", V) : pe(V, d, T.l, w);
356
356
  break;
357
357
  }
358
358
  }
359
359
  if (d)
360
- return C;
361
- var pe = w ? P.future : P.past;
362
- return typeof pe == "function" ? pe(C) : pe.replace("%s", C);
360
+ return x;
361
+ var ge = w ? A.future : A.past;
362
+ return typeof ge == "function" ? ge(x) : ge.replace("%s", x);
363
363
  }, o.to = function(c, d) {
364
364
  return r(c, d, this, !0);
365
365
  }, o.from = function(c, d) {
366
366
  return r(c, d, this);
367
367
  };
368
368
  var a = function(c) {
369
- return c.$u ? s.utc() : s();
369
+ return c.$u ? i.utc() : i();
370
370
  };
371
371
  o.toNow = function(c) {
372
372
  return this.to(a(this), c);
@@ -376,7 +376,7 @@ var Pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
376
376
  };
377
377
  });
378
378
  })(Tt);
379
- const Et = me, Lt = /* @__PURE__ */ $("<button></button>"), O = (e) => (() => {
379
+ const Et = $e, Lt = /* @__PURE__ */ $("<button></button>"), M = (e) => (() => {
380
380
  const t = Lt.cloneNode(!0);
381
381
  return St(t, st(e, {
382
382
  onMouseDown: Ot
@@ -421,7 +421,7 @@ const jt = `<svg
421
421
  function Ft(e) {
422
422
  return zt[`/src/assets/icons/${e}.svg`];
423
423
  }
424
- const be = `
424
+ const Ce = `
425
425
  position: absolute;
426
426
  width: 100%;
427
427
  height: 100%;
@@ -440,87 +440,87 @@ const Ht = /* @__PURE__ */ $("<div></div>"), Vt = _`
440
440
 
441
441
  svg {
442
442
  display: block;
443
- ${be};
443
+ ${Ce};
444
444
  }
445
445
  }
446
- `, ce = (e) => {
446
+ `, de = (e) => {
447
447
  const t = Ft(e.name);
448
448
  return (() => {
449
449
  const n = Ht.cloneNode(!0);
450
- return n.innerHTML = t, x((l) => {
451
- const s = `icon ${e.class || ""} ${Vt}`, o = {
450
+ return n.innerHTML = t, C((l) => {
451
+ const i = `icon ${e.class || ""} ${Vt}`, o = {
452
452
  color: e.color,
453
453
  "--icon-size": e.size && Bt(e.size)
454
454
  };
455
- return s !== l._v$ && b(n, l._v$ = s), l._v$2 = Ue(n, o, l._v$2), l;
455
+ return i !== l._v$ && b(n, l._v$ = i), l._v$2 = We(n, o, l._v$2), l;
456
456
  }, {
457
457
  _v$: void 0,
458
458
  _v$2: void 0
459
459
  }), n;
460
460
  })();
461
- }, oe = Symbol("store-raw"), q = Symbol("store-node"), Zt = Symbol("store-name");
462
- function We(e, t) {
463
- let n = e[I];
464
- if (!n && (Object.defineProperty(e, I, {
461
+ }, le = Symbol("store-raw"), q = Symbol("store-node"), Zt = Symbol("store-name");
462
+ function Je(e, t) {
463
+ let n = e[z];
464
+ if (!n && (Object.defineProperty(e, z, {
465
465
  value: n = new Proxy(e, Wt)
466
466
  }), !Array.isArray(e))) {
467
- const l = Object.keys(e), s = Object.getOwnPropertyDescriptors(e);
468
- for (let o = 0, i = l.length; o < i; o++) {
467
+ const l = Object.keys(e), i = Object.getOwnPropertyDescriptors(e);
468
+ for (let o = 0, s = l.length; o < s; o++) {
469
469
  const r = l[o];
470
- s[r].get && Object.defineProperty(e, r, {
471
- enumerable: s[r].enumerable,
472
- get: s[r].get.bind(n)
470
+ i[r].get && Object.defineProperty(e, r, {
471
+ enumerable: i[r].enumerable,
472
+ get: i[r].get.bind(n)
473
473
  });
474
474
  }
475
475
  }
476
476
  return n;
477
477
  }
478
- function U(e) {
478
+ function W(e) {
479
479
  let t;
480
- return e != null && typeof e == "object" && (e[I] || !(t = Object.getPrototypeOf(e)) || t === Object.prototype || Array.isArray(e));
480
+ return e != null && typeof e == "object" && (e[z] || !(t = Object.getPrototypeOf(e)) || t === Object.prototype || Array.isArray(e));
481
481
  }
482
- function W(e, t = /* @__PURE__ */ new Set()) {
483
- let n, l, s, o;
484
- if (n = e != null && e[oe])
482
+ function J(e, t = /* @__PURE__ */ new Set()) {
483
+ let n, l, i, o;
484
+ if (n = e != null && e[le])
485
485
  return n;
486
- if (!U(e) || t.has(e))
486
+ if (!W(e) || t.has(e))
487
487
  return e;
488
488
  if (Array.isArray(e)) {
489
489
  Object.isFrozen(e) ? e = e.slice(0) : t.add(e);
490
- for (let i = 0, r = e.length; i < r; i++)
491
- s = e[i], (l = W(s, t)) !== s && (e[i] = l);
490
+ for (let s = 0, r = e.length; s < r; s++)
491
+ i = e[s], (l = J(i, t)) !== i && (e[s] = l);
492
492
  } else {
493
493
  Object.isFrozen(e) ? e = Object.assign({}, e) : t.add(e);
494
- const i = Object.keys(e), r = Object.getOwnPropertyDescriptors(e);
495
- for (let a = 0, c = i.length; a < c; a++)
496
- o = i[a], !r[o].get && (s = e[o], (l = W(s, t)) !== s && (e[o] = l));
494
+ const s = Object.keys(e), r = Object.getOwnPropertyDescriptors(e);
495
+ for (let a = 0, c = s.length; a < c; a++)
496
+ o = s[a], !r[o].get && (i = e[o], (l = J(i, t)) !== i && (e[o] = l));
497
497
  }
498
498
  return e;
499
499
  }
500
- function Ce(e) {
500
+ function xe(e) {
501
501
  let t = e[q];
502
502
  return t || Object.defineProperty(e, q, {
503
503
  value: t = {}
504
504
  }), t;
505
505
  }
506
- function $e(e, t, n) {
507
- return e[t] || (e[t] = Xe(n));
506
+ function ye(e, t, n) {
507
+ return e[t] || (e[t] = Ge(n));
508
508
  }
509
509
  function Kt(e, t) {
510
510
  const n = Reflect.getOwnPropertyDescriptor(e, t);
511
- return !n || n.get || !n.configurable || t === I || t === q || t === Zt || (delete n.value, delete n.writable, n.get = () => e[I][t]), n;
511
+ return !n || n.get || !n.configurable || t === z || t === q || t === Zt || (delete n.value, delete n.writable, n.get = () => e[z][t]), n;
512
512
  }
513
- function Je(e) {
514
- if (Ze()) {
515
- const t = Ce(e);
516
- (t._ || (t._ = Xe()))();
513
+ function Xe(e) {
514
+ if (Ke()) {
515
+ const t = xe(e);
516
+ (t._ || (t._ = Ge()))();
517
517
  }
518
518
  }
519
519
  function Ut(e) {
520
- return Je(e), Reflect.ownKeys(e);
520
+ return Xe(e), Reflect.ownKeys(e);
521
521
  }
522
- function Xe(e) {
523
- const [t, n] = ne(e, {
522
+ function Ge(e) {
523
+ const [t, n] = re(e, {
524
524
  equals: !1,
525
525
  internal: !0
526
526
  });
@@ -528,24 +528,24 @@ function Xe(e) {
528
528
  }
529
529
  const Wt = {
530
530
  get(e, t, n) {
531
- if (t === oe)
531
+ if (t === le)
532
532
  return e;
533
- if (t === I)
533
+ if (t === z)
534
534
  return n;
535
- if (t === we)
536
- return Je(e), n;
537
- const l = Ce(e), s = l.hasOwnProperty(t);
538
- let o = s ? l[t]() : e[t];
535
+ if (t === _e)
536
+ return Xe(e), n;
537
+ const l = xe(e), i = l.hasOwnProperty(t);
538
+ let o = i ? l[t]() : e[t];
539
539
  if (t === q || t === "__proto__")
540
540
  return o;
541
- if (!s) {
542
- const i = Object.getOwnPropertyDescriptor(e, t);
543
- Ze() && (typeof o != "function" || e.hasOwnProperty(t)) && !(i && i.get) && (o = $e(l, t, o)());
541
+ if (!i) {
542
+ const s = Object.getOwnPropertyDescriptor(e, t);
543
+ Ke() && (typeof o != "function" || e.hasOwnProperty(t)) && !(s && s.get) && (o = ye(l, t, o)());
544
544
  }
545
- return U(o) ? We(o) : o;
545
+ return W(o) ? Je(o) : o;
546
546
  },
547
547
  has(e, t) {
548
- return t === oe || t === I || t === we || t === q || t === "__proto__" ? !0 : (this.get(e, t, e), t in e);
548
+ return t === le || t === z || t === _e || t === q || t === "__proto__" ? !0 : (this.get(e, t, e), t in e);
549
549
  },
550
550
  set() {
551
551
  return !0;
@@ -556,48 +556,48 @@ const Wt = {
556
556
  ownKeys: Ut,
557
557
  getOwnPropertyDescriptor: Kt
558
558
  };
559
- function J(e, t, n, l = !1) {
559
+ function X(e, t, n, l = !1) {
560
560
  if (!l && e[t] === n)
561
561
  return;
562
- const s = e[t], o = e.length;
562
+ const i = e[t], o = e.length;
563
563
  n === void 0 ? delete e[t] : e[t] = n;
564
- let i = Ce(e), r;
565
- (r = $e(i, t, s)) && r.$(() => n), Array.isArray(e) && e.length !== o && (r = $e(i, "length", o)) && r.$(e.length), (r = i._) && r.$();
564
+ let s = xe(e), r;
565
+ (r = ye(s, t, i)) && r.$(() => n), Array.isArray(e) && e.length !== o && (r = ye(s, "length", o)) && r.$(e.length), (r = s._) && r.$();
566
566
  }
567
- function Ge(e, t) {
567
+ function Ye(e, t) {
568
568
  const n = Object.keys(t);
569
569
  for (let l = 0; l < n.length; l += 1) {
570
- const s = n[l];
571
- J(e, s, t[s]);
570
+ const i = n[l];
571
+ X(e, i, t[i]);
572
572
  }
573
573
  }
574
574
  function Jt(e, t) {
575
- if (typeof t == "function" && (t = t(e)), t = W(t), Array.isArray(t)) {
575
+ if (typeof t == "function" && (t = t(e)), t = J(t), Array.isArray(t)) {
576
576
  if (e === t)
577
577
  return;
578
578
  let n = 0, l = t.length;
579
579
  for (; n < l; n++) {
580
- const s = t[n];
581
- e[n] !== s && J(e, n, s);
580
+ const i = t[n];
581
+ e[n] !== i && X(e, n, i);
582
582
  }
583
- J(e, "length", l);
583
+ X(e, "length", l);
584
584
  } else
585
- Ge(e, t);
585
+ Ye(e, t);
586
586
  }
587
587
  function Y(e, t, n = []) {
588
- let l, s = e;
588
+ let l, i = e;
589
589
  if (t.length > 1) {
590
590
  l = t.shift();
591
- const i = typeof l, r = Array.isArray(e);
591
+ const s = typeof l, r = Array.isArray(e);
592
592
  if (Array.isArray(l)) {
593
593
  for (let a = 0; a < l.length; a++)
594
594
  Y(e, [l[a]].concat(t), n);
595
595
  return;
596
- } else if (r && i === "function") {
596
+ } else if (r && s === "function") {
597
597
  for (let a = 0; a < e.length; a++)
598
598
  l(e[a], a) && Y(e, [a].concat(t), n);
599
599
  return;
600
- } else if (r && i === "object") {
600
+ } else if (r && s === "object") {
601
601
  const {
602
602
  from: a = 0,
603
603
  to: c = e.length - 1,
@@ -610,50 +610,50 @@ function Y(e, t, n = []) {
610
610
  Y(e[l], t, [l].concat(n));
611
611
  return;
612
612
  }
613
- s = e[l], n = [l].concat(n);
613
+ i = e[l], n = [l].concat(n);
614
614
  }
615
615
  let o = t[0];
616
- typeof o == "function" && (o = o(s, n), o === s) || l === void 0 && o == null || (o = W(o), l === void 0 || U(s) && U(o) && !Array.isArray(o) ? Ge(s, o) : J(e, l, o));
616
+ typeof o == "function" && (o = o(i, n), o === i) || l === void 0 && o == null || (o = J(o), l === void 0 || W(i) && W(o) && !Array.isArray(o) ? Ye(i, o) : X(e, l, o));
617
617
  }
618
- function Ye(...[e, t]) {
619
- const n = W(e || {}), l = Array.isArray(n), s = We(n);
620
- function o(...i) {
618
+ function Qe(...[e, t]) {
619
+ const n = J(e || {}), l = Array.isArray(n), i = Je(n);
620
+ function o(...s) {
621
621
  at(() => {
622
- l && i.length === 1 ? Jt(n, i[0]) : Y(n, i);
622
+ l && s.length === 1 ? Jt(n, s[0]) : Y(n, s);
623
623
  });
624
624
  }
625
- return [s, o];
625
+ return [i, o];
626
626
  }
627
- const le = /* @__PURE__ */ new WeakMap(), Qe = {
627
+ const ie = /* @__PURE__ */ new WeakMap(), qe = {
628
628
  get(e, t) {
629
- if (t === oe)
629
+ if (t === le)
630
630
  return e;
631
631
  const n = e[t];
632
632
  let l;
633
- return U(n) ? le.get(n) || (le.set(n, l = new Proxy(n, Qe)), l) : n;
633
+ return W(n) ? ie.get(n) || (ie.set(n, l = new Proxy(n, qe)), l) : n;
634
634
  },
635
635
  set(e, t, n) {
636
- return J(e, t, W(n)), !0;
636
+ return X(e, t, J(n)), !0;
637
637
  },
638
638
  deleteProperty(e, t) {
639
- return J(e, t, void 0, !0), !0;
639
+ return X(e, t, void 0, !0), !0;
640
640
  }
641
641
  };
642
642
  function Xt(e) {
643
643
  return (t) => {
644
- if (U(t)) {
644
+ if (W(t)) {
645
645
  let n;
646
- (n = le.get(t)) || le.set(t, n = new Proxy(t, Qe)), e(n);
646
+ (n = ie.get(t)) || ie.set(t, n = new Proxy(t, qe)), e(n);
647
647
  }
648
648
  return t;
649
649
  };
650
650
  }
651
- const [N, ie] = Ye({
651
+ const [N, se] = Qe({
652
652
  selectedCall: null,
653
653
  selectedRequest: null,
654
654
  selectedTab: null,
655
655
  selectedSubitem: null
656
- }), de = `
656
+ }), ue = `
657
657
  display: inline-block;
658
658
  overflow: hidden;
659
659
  text-overflow: ellipsis;
@@ -672,7 +672,7 @@ const [N, ie] = Ye({
672
672
  bottom: "flex-end",
673
673
  center: "center",
674
674
  stretch: "stretch"
675
- }, F = ({
675
+ }, B = ({
676
676
  justify: e = "left",
677
677
  align: t = "center",
678
678
  gap: n
@@ -710,22 +710,22 @@ function en(e) {
710
710
  throw new Error("Invalid hex value");
711
711
  return (e.replace(
712
712
  /^#?([a-f\d])([a-f\d])([a-f\d])$/i,
713
- (t, n, l, s) => `#${n}${n}${l}${l}${s}${s}`
713
+ (t, n, l, i) => `#${n}${n}${l}${l}${i}${i}`
714
714
  ).substring(1).match(/.{2}/g) || []).map((t) => parseInt(t, 16));
715
715
  }
716
716
  function tn(e) {
717
717
  return Object.entries(e);
718
718
  }
719
- const ee = document.documentElement.style;
720
- let Pe = 1;
719
+ const te = document.documentElement.style;
720
+ let Te = 1;
721
721
  function nn(e) {
722
722
  const t = {};
723
723
  for (const [n, l] of tn(e)) {
724
- const [s, o, i] = en(l), r = `c${Pe}`;
725
- Pe++, ee.setProperty(`--${r}-r`, String(s)), ee.setProperty(`--${r}-g`, String(o)), ee.setProperty(`--${r}-b`, String(i)), ee.setProperty(`--${r}`, l), t[n] = {
726
- red: s,
724
+ const [i, o, s] = en(l), r = `c${Te}`;
725
+ Te++, te.setProperty(`--${r}-r`, String(i)), te.setProperty(`--${r}-g`, String(o)), te.setProperty(`--${r}-b`, String(s)), te.setProperty(`--${r}`, l), t[n] = {
726
+ red: i,
727
727
  green: o,
728
- blue: i,
728
+ blue: s,
729
729
  var: `var(--${r})`,
730
730
  raw: l,
731
731
  alpha: (a) => `rgba(var(--${r}-r), var(--${r}-g), var(--${r}-b), ${a})`,
@@ -762,25 +762,25 @@ const h = nn({
762
762
  bg: "#EAEFFF",
763
763
  white: "#fff",
764
764
  black: "#000"
765
- }), E = {
765
+ }), L = {
766
766
  primary: "Work Sans, sans-serif",
767
767
  decorative: '"Fira Code", monospaced'
768
768
  };
769
769
  function rn(e, t, n) {
770
770
  if (!e)
771
771
  return t;
772
- const l = [], s = new Map(e.map((o) => [o[n], o]));
772
+ const l = [], i = new Map(e.map((o) => [o[n], o]));
773
773
  for (const o of t) {
774
- const i = s.get(o[n]);
775
- i && Ke(i, o) ? l.push(i) : l.push(o);
774
+ const s = i.get(o[n]);
775
+ s && Ue(s, o) ? l.push(s) : l.push(o);
776
776
  }
777
777
  return l;
778
778
  }
779
- function qe(e, t) {
779
+ function et(e, t) {
780
780
  return m((n) => rn(n, typeof e == "function" ? e() : e, t));
781
781
  }
782
- function xe(e) {
783
- const [t, n] = ne(e);
782
+ function we(e) {
783
+ const [t, n] = re(e);
784
784
  return {
785
785
  get value() {
786
786
  return t();
@@ -793,14 +793,14 @@ function xe(e) {
793
793
  }
794
794
  };
795
795
  }
796
- const on = /* @__PURE__ */ $('<div class="tag"></div>'), Te = /* @__PURE__ */ $("<span></span>"), ln = /* @__PURE__ */ $('<div><div class="call"></div></div>'), sn = _`
796
+ const on = /* @__PURE__ */ $('<div class="tag"></div>'), Ee = /* @__PURE__ */ $("<span></span>"), ln = /* @__PURE__ */ $('<div><div class="call"></div></div>'), sn = _`
797
797
  &&& {
798
798
  font-size: 14px;
799
799
  ${S()};
800
800
 
801
801
  > .call {
802
802
  padding: 4px 12px;
803
- ${F()};
803
+ ${B()};
804
804
  opacity: 0.8;
805
805
 
806
806
  &.selected {
@@ -810,17 +810,17 @@ const on = /* @__PURE__ */ $('<div class="tag"></div>'), Te = /* @__PURE__ */ $(
810
810
 
811
811
  > button {
812
812
  text-align: left;
813
- ${F({
813
+ ${B({
814
814
  gap: 8
815
815
  })};
816
816
 
817
817
  > .tag {
818
818
  font-weight: 600;
819
- font-family: ${E.decorative};
819
+ font-family: ${L.decorative};
820
820
  }
821
821
 
822
822
  > span {
823
- ${de};
823
+ ${ue};
824
824
  flex-shrink: 1;
825
825
  }
826
826
  }
@@ -869,12 +869,12 @@ const on = /* @__PURE__ */ $('<div class="tag"></div>'), Te = /* @__PURE__ */ $(
869
869
  `, an = (e) => {
870
870
  const t = () => e.item, n = () => e.currentCallId;
871
871
  ct(e, ["item", "currentCallId"])[1];
872
- const l = xe(e.item.subitemsWithAlias.length < 4), s = cn(t().type, t().subType);
872
+ const l = we(e.item.subitemsWithAlias.length < 4), i = cn(t().type, t().subType);
873
873
  return (() => {
874
- const o = ln.cloneNode(!0), i = o.firstChild;
875
- return b(o, sn), u(i, p(O, {
874
+ const o = ln.cloneNode(!0), s = o.firstChild;
875
+ return b(o, sn), u(s, p(M, {
876
876
  onClick: () => {
877
- ie({
877
+ se({
878
878
  selectedCall: t().id,
879
879
  selectedSubitem: null
880
880
  });
@@ -882,21 +882,21 @@ const on = /* @__PURE__ */ $('<div class="tag"></div>'), Te = /* @__PURE__ */ $(
882
882
  get children() {
883
883
  return [(() => {
884
884
  const r = on.cloneNode(!0);
885
- return u(r, () => s.icon), x((a) => {
886
- const c = `${t().type}${t().subType ? ` (${t().subType})` : ""}`, d = s.color;
887
- return c !== a._v$ && A(r, "title", a._v$ = c), d !== a._v$2 && r.style.setProperty("color", a._v$2 = d), a;
885
+ return u(r, () => i.icon), C((a) => {
886
+ const c = `${t().type}${t().subType ? ` (${t().subType})` : ""}`, d = i.color;
887
+ return c !== a._v$ && P(r, "title", a._v$ = c), d !== a._v$2 && r.style.setProperty("color", a._v$2 = d), a;
888
888
  }, {
889
889
  _v$: void 0,
890
890
  _v$2: void 0
891
891
  }), r;
892
892
  })(), (() => {
893
- const r = Te.cloneNode(!0);
894
- return u(r, () => t().name), x(() => A(r, "title", t().name)), r;
893
+ const r = Ee.cloneNode(!0);
894
+ return u(r, () => t().name), C(() => P(r, "title", t().name)), r;
895
895
  })()];
896
896
  }
897
- }), null), u(i, (() => {
897
+ }), null), u(s, (() => {
898
898
  const r = m(() => t().subitemsWithAlias.length > 0);
899
- return () => r() && p(O, {
899
+ return () => r() && p(M, {
900
900
  class: "expand-button",
901
901
  get classList() {
902
902
  return {
@@ -907,21 +907,21 @@ const on = /* @__PURE__ */ $('<div class="tag"></div>'), Te = /* @__PURE__ */ $(
907
907
  l.value = !l.value;
908
908
  },
909
909
  get children() {
910
- return p(ce, {
910
+ return p(de, {
911
911
  name: "caret-down"
912
912
  });
913
913
  }
914
914
  });
915
- })(), null), u(o, p(se, {
915
+ })(), null), u(o, p(ae, {
916
916
  get when() {
917
917
  return l.value;
918
918
  },
919
919
  get children() {
920
- return p(z, {
920
+ return p(F, {
921
921
  get each() {
922
922
  return t().subitemsWithAlias;
923
923
  },
924
- children: (r) => p(O, {
924
+ children: (r) => p(M, {
925
925
  class: "subitem",
926
926
  get classList() {
927
927
  return {
@@ -929,19 +929,19 @@ const on = /* @__PURE__ */ $('<div class="tag"></div>'), Te = /* @__PURE__ */ $(
929
929
  };
930
930
  },
931
931
  onClick: () => {
932
- ie({
932
+ se({
933
933
  selectedCall: t().id,
934
934
  selectedSubitem: r
935
935
  });
936
936
  },
937
937
  get children() {
938
- const a = Te.cloneNode(!0);
938
+ const a = Ee.cloneNode(!0);
939
939
  return u(a, r), a;
940
940
  }
941
941
  })
942
942
  });
943
943
  }
944
- }), null), x(() => i.classList.toggle("selected", n() ? n() === t().id : e.index === 0)), o;
944
+ }), null), C(() => s.classList.toggle("selected", n() ? n() === t().id : e.index === 0)), o;
945
945
  })();
946
946
  };
947
947
  function cn(e, t) {
@@ -951,11 +951,11 @@ function cn(e, t) {
951
951
  color: l
952
952
  };
953
953
  }
954
- function Ee(e) {
954
+ function Le(e) {
955
955
  if (e == null)
956
956
  throw new Error("Value is null or undefined");
957
957
  }
958
- function Le(e, t) {
958
+ function Oe(e, t) {
959
959
  try {
960
960
  return e();
961
961
  } catch (n) {
@@ -968,88 +968,94 @@ function dn(e, t) {
968
968
  }
969
969
  function un(e, t) {
970
970
  let n = 0;
971
- const l = {}, s = t.pattern.exec(e);
972
- if (!s)
971
+ const l = {}, i = t.pattern.exec(e);
972
+ if (!i)
973
973
  return null;
974
974
  for (; n < t.keys.length; )
975
- l[t.keys[n]] = s[++n] || null;
975
+ l[t.keys[n]] = i[++n] || null;
976
976
  return l;
977
977
  }
978
- const [B, fn] = Ye({
978
+ const [H, fn] = Qe({
979
979
  calls: {}
980
980
  });
981
- let ye = {
981
+ let ve = {
982
982
  callsProcessor: []
983
983
  };
984
984
  function pn(e) {
985
- ye = {
986
- ...ye,
985
+ ve = {
986
+ ...ve,
987
987
  ...e
988
988
  };
989
989
  }
990
990
  function Br(e) {
991
991
  const t = e.startTime || Date.now();
992
- return ({ isError: n, status: l }) => {
993
- const s = e.duration || Date.now() - t;
992
+ return ({
993
+ isError: n,
994
+ status: l,
995
+ response: i,
996
+ metadata: o,
997
+ tags: s
998
+ }) => {
999
+ const r = e.duration || Date.now() - t;
994
1000
  fn(
995
- Xt((o) => {
996
- const i = Le(
1001
+ Xt((a) => {
1002
+ const c = Oe(
997
1003
  () => new URL(e.path, "http://localhost")
998
1004
  );
999
- Ee(i);
1000
- const r = i.searchParams.toString() !== "" ? Object.fromEntries(i.searchParams.entries()) : null;
1001
- let a = null;
1002
- const c = ye.callsProcessor.find((P) => {
1003
- if (typeof P.match == "string") {
1004
- const k = dn(i.pathname, P.match);
1005
- return k ? (a = k, !0) : !1;
1005
+ Le(c);
1006
+ const d = c.searchParams.toString() !== "" ? Object.fromEntries(c.searchParams.entries()) : null;
1007
+ let g = null;
1008
+ const f = ve.callsProcessor.find((O) => {
1009
+ if (typeof O.match == "string") {
1010
+ const T = dn(c.pathname, O.match);
1011
+ return T ? (g = T, !0) : !1;
1006
1012
  } else
1007
- return P.match({
1008
- url: i,
1013
+ return O.match({
1014
+ url: c,
1009
1015
  type: e.type,
1010
1016
  subType: e.subType
1011
1017
  });
1012
- }), d = c?.callID?.({
1013
- url: i,
1018
+ }), y = f?.callID?.({
1019
+ url: c,
1014
1020
  type: e.type,
1015
1021
  subType: e.subType
1016
- }) || typeof c?.match == "string" && c.match, g = btoa(
1017
- d || `${i.pathname}|${e.type}${e.subType ? `|${e.subType}` : ""}`
1018
- ), f = c?.callName, y = typeof f == "function" ? f({
1019
- url: i,
1022
+ }) || typeof f?.match == "string" && f.match, v = btoa(
1023
+ y || `${c.pathname}|${e.type}${e.subType ? `|${e.subType}` : ""}`
1024
+ ), x = f?.callName, w = typeof x == "function" ? x({
1025
+ url: c,
1020
1026
  type: e.type,
1021
1027
  subType: e.subType
1022
- }) : f;
1023
- o.calls[g] || (o.calls[g] = {
1024
- name: y || typeof c?.match == "string" && c.match || i.pathname.replace(/^\//, ""),
1025
- path: i.pathname.replace(/^\//, ""),
1028
+ }) : x;
1029
+ a.calls[v] || (a.calls[v] = {
1030
+ name: w || typeof f?.match == "string" && f.match || c.pathname.replace(/^\//, ""),
1031
+ path: c.pathname.replace(/^\//, ""),
1026
1032
  lastRequestStartTime: t,
1027
1033
  requests: [],
1028
1034
  type: e.type,
1029
1035
  subType: e.subType
1030
1036
  });
1031
- const v = o.calls[g];
1032
- Ee(v), v.requests.length > 100 && v.requests.shift();
1033
- const C = {
1037
+ const A = a.calls[v];
1038
+ Le(A), A.requests.length > 100 && A.requests.shift();
1039
+ const k = {
1034
1040
  id: ut(),
1035
- duration: s,
1036
- pathParams: a,
1041
+ duration: r,
1042
+ pathParams: g,
1037
1043
  isError: n,
1038
- metadata: e.metadata,
1044
+ metadata: o,
1039
1045
  path: e.path.replace(/^\//, ""),
1040
1046
  payload: e.payload,
1041
- response: e.response,
1042
- searchParams: r,
1047
+ response: i,
1048
+ searchParams: d,
1043
1049
  startTime: t,
1044
1050
  type: e.type,
1045
1051
  method: e.method,
1046
1052
  subType: e.subType,
1047
1053
  code: l,
1048
- tags: e.tags || []
1049
- }, w = Le(
1050
- () => c?.payloadAlias?.(C.payload, C)
1054
+ tags: [...e.tags || [], ...s || []]
1055
+ }, ee = Oe(
1056
+ () => f?.payloadAlias?.(k.payload, k)
1051
1057
  );
1052
- w && (C.alias = w), v.requests.push(C);
1058
+ ee && (k.alias = ee), A.requests.push(k);
1053
1059
  })
1054
1060
  );
1055
1061
  };
@@ -1063,7 +1069,7 @@ const gn = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><label><input type="text
1063
1069
  font-size: 18px;
1064
1070
  padding-left: 12px;
1065
1071
  padding-top: 10px;
1066
- font-family: ${E.decorative};
1072
+ font-family: ${L.decorative};
1067
1073
  color: ${h.secondary.var};
1068
1074
  padding-bottom: 16px;
1069
1075
  }
@@ -1077,7 +1083,7 @@ const gn = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><label><input type="text
1077
1083
  }
1078
1084
  `, $n = _`
1079
1085
  &&& {
1080
- ${F({
1086
+ ${B({
1081
1087
  gap: 8
1082
1088
  })};
1083
1089
  margin: 0 10px;
@@ -1106,29 +1112,29 @@ const gn = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><label><input type="text
1106
1112
  }
1107
1113
  }
1108
1114
  `, yn = () => {
1109
- const e = xe(""), t = qe(() => {
1110
- const l = Object.entries(B.calls), s = [];
1111
- for (const [o, i] of l.reverse()) {
1112
- if (e.value.trim() && !i.name.includes(e.value.toLowerCase()))
1115
+ const e = we(""), t = et(() => {
1116
+ const l = Object.entries(H.calls), i = [];
1117
+ for (const [o, s] of l.reverse()) {
1118
+ if (e.value.trim() && !s.name.includes(e.value.toLowerCase()))
1113
1119
  continue;
1114
1120
  const r = /* @__PURE__ */ new Set();
1115
- for (const a of i.requests)
1121
+ for (const a of s.requests)
1116
1122
  a.alias && r.add(a.alias);
1117
- s.push({
1123
+ i.push({
1118
1124
  id: o,
1119
1125
  subitemsWithAlias: [...r],
1120
- ...i
1126
+ ...s
1121
1127
  });
1122
1128
  }
1123
- return s;
1129
+ return i;
1124
1130
  }, "id"), n = m(() => N.selectedCall);
1125
1131
  return (() => {
1126
- const l = gn.cloneNode(!0), s = l.firstChild, o = s.nextSibling, i = o.firstChild, r = o.nextSibling;
1127
- return b(l, hn), b(o, $n), u(o, p(ce, {
1132
+ const l = gn.cloneNode(!0), i = l.firstChild, o = i.nextSibling, s = o.firstChild, r = o.nextSibling;
1133
+ return b(l, hn), b(o, $n), u(o, p(de, {
1128
1134
  name: "search"
1129
- }), i), i.$$input = (a) => {
1135
+ }), s), s.$$input = (a) => {
1130
1136
  e.value = a.currentTarget.value;
1131
- }, b(r, mn), u(r, p(z, {
1137
+ }, b(r, mn), u(r, p(F, {
1132
1138
  get each() {
1133
1139
  return t();
1134
1140
  },
@@ -1141,22 +1147,22 @@ const gn = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><label><input type="text
1141
1147
  return n();
1142
1148
  }
1143
1149
  })
1144
- })), x(() => i.value = e.value), l;
1150
+ })), C(() => s.value = e.value), l;
1145
1151
  })();
1146
1152
  };
1147
- ae(["input"]);
1148
- function et(...e) {
1153
+ ce(["input"]);
1154
+ function tt(...e) {
1149
1155
  const t = [];
1150
1156
  for (let n = 0; n < e.length; n++) {
1151
1157
  const l = e[n];
1152
1158
  if (!l)
1153
1159
  continue;
1154
- const s = typeof l;
1155
- if (s === "string" || s === "number")
1160
+ const i = typeof l;
1161
+ if (i === "string" || i === "number")
1156
1162
  t.push(l);
1157
- else if (s === "object")
1158
- for (let o = 0, i = Object.keys(l); o < i.length; o++)
1159
- l[i[o]] && t.push(i[o]);
1163
+ else if (i === "object")
1164
+ for (let o = 0, s = Object.keys(l); o < s.length; o++)
1165
+ l[s[o]] && t.push(s[o]);
1160
1166
  }
1161
1167
  return t.join(" ");
1162
1168
  }
@@ -1168,7 +1174,7 @@ const vn = /* @__PURE__ */ $('<div><div class="content"></div></div>'), bn = /*
1168
1174
  font-size: 14px;
1169
1175
  color: ${h.secondary.var};
1170
1176
  letter-spacing: 0.08em;
1171
- font-family: ${E.decorative};
1177
+ font-family: ${L.decorative};
1172
1178
  font-weight: 300;
1173
1179
  background: ${h.bgPrimary.var};
1174
1180
  z-index: 1;
@@ -1194,15 +1200,15 @@ const vn = /* @__PURE__ */ $('<div><div class="content"></div></div>'), bn = /*
1194
1200
  margin-top: 20px;
1195
1201
  }
1196
1202
  }
1197
- `, T = (e) => (() => {
1203
+ `, E = (e) => (() => {
1198
1204
  const t = vn.cloneNode(!0), n = t.firstChild;
1199
1205
  return u(t, (() => {
1200
1206
  const l = m(() => !!e.title);
1201
1207
  return () => l() && (() => {
1202
- const s = bn.cloneNode(!0);
1203
- return u(s, () => e.title), s;
1208
+ const i = bn.cloneNode(!0);
1209
+ return u(i, () => e.title), i;
1204
1210
  })();
1205
- })(), n), u(n, () => e.children), x(() => b(t, et(Cn, e.class))), t;
1211
+ })(), n), u(n, () => e.children), C(() => b(t, tt(Cn, e.class))), t;
1206
1212
  })(), xn = `
1207
1213
  user-select: text;
1208
1214
 
@@ -1218,9 +1224,9 @@ function wn(e) {
1218
1224
  -webkit-box-orient: vertical;
1219
1225
  `;
1220
1226
  }
1221
- const _n = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Sn = /* @__PURE__ */ $('<div class="collapsed"></div>'), Nn = /* @__PURE__ */ $('<div class="delimiter">[]</div>'), kn = /* @__PURE__ */ $('<div class="delimiter">{}</div>'), Oe = /* @__PURE__ */ $('<div class="delimiter"></div>'), je = /* @__PURE__ */ $('<div class="childs"></div>'), An = /* @__PURE__ */ $('<div class="delimiter end">]</div>'), Me = /* @__PURE__ */ $('<div class="child"></div>'), Pn = /* @__PURE__ */ $('<div class="delimiter end">}</div>'), Tn = /* @__PURE__ */ $('<div class="value" title="Shift + Click to copy value"></div>'), Re = /* @__PURE__ */ $('<span class="string-quotes">"</span>'), En = /* @__PURE__ */ $("<div></div>"), Ln = _`
1227
+ const _n = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Sn = /* @__PURE__ */ $('<div class="collapsed"></div>'), Nn = /* @__PURE__ */ $('<div class="delimiter">[]</div>'), kn = /* @__PURE__ */ $('<div class="delimiter">{}</div>'), je = /* @__PURE__ */ $('<div class="delimiter"></div>'), Me = /* @__PURE__ */ $('<div class="childs"></div>'), An = /* @__PURE__ */ $('<div class="delimiter end">]</div>'), Re = /* @__PURE__ */ $('<div class="child"></div>'), Pn = /* @__PURE__ */ $('<div class="delimiter end">}</div>'), Tn = /* @__PURE__ */ $('<div class="value" title="Shift + Click to copy value"></div>'), De = /* @__PURE__ */ $('<span class="string-quotes">"</span>'), En = /* @__PURE__ */ $("<div></div>"), Ln = _`
1222
1228
  &&& {
1223
- font-family: ${E.decorative};
1229
+ font-family: ${L.decorative};
1224
1230
  font-size: 13px;
1225
1231
  ${xn};
1226
1232
  ${S({
@@ -1284,13 +1290,13 @@ const _n = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Sn = /* @_
1284
1290
  .key {
1285
1291
  color: #a5d6ff;
1286
1292
  margin-right: 5px;
1287
- ${F({
1293
+ ${B({
1288
1294
  align: "top"
1289
1295
  })};
1290
1296
 
1291
1297
  span {
1292
1298
  flex-shrink: 1;
1293
- ${de};
1299
+ ${ue};
1294
1300
  }
1295
1301
 
1296
1302
  &.index {
@@ -1330,10 +1336,10 @@ const _n = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Sn = /* @_
1330
1336
  color: ${h.white.alpha(0.5)};
1331
1337
  }
1332
1338
  }
1333
- `, On = new Intl.NumberFormat("en-US"), Z = 14, ve = (e) => {
1334
- let [t, n] = ne(!(e.indent > 0 && e.compact)), [l, s] = ne(!e.compact);
1339
+ `, On = new Intl.NumberFormat("en-US"), K = 14, be = (e) => {
1340
+ let [t, n] = re(!(e.indent > 0 && e.compact)), [l, i] = re(!e.compact);
1335
1341
  return m(() => {
1336
- const o = e.value, i = Array.isArray(o), r = !i && typeof o == "object" && o !== null, a = e.key !== void 0 || e.index !== void 0, c = i && o.length > 0 || r && Object.keys(o).length > 0, d = c && p(O, {
1342
+ const o = e.value, s = Array.isArray(o), r = !s && typeof o == "object" && o !== null, a = e.key !== void 0 || e.index !== void 0, c = s && o.length > 0 || r && Object.keys(o).length > 0, d = c && p(M, {
1337
1343
  onClick: () => {
1338
1344
  n(() => !t());
1339
1345
  },
@@ -1344,7 +1350,7 @@ const _n = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Sn = /* @_
1344
1350
  },
1345
1351
  class: "expand-button",
1346
1352
  get children() {
1347
- return p(ce, {
1353
+ return p(de, {
1348
1354
  name: "caret-down",
1349
1355
  size: 14
1350
1356
  });
@@ -1353,11 +1359,11 @@ const _n = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Sn = /* @_
1353
1359
  return [a && (() => {
1354
1360
  const g = _n.cloneNode(!0), f = g.firstChild;
1355
1361
  return g.$$click = (y) => {
1356
- y.shiftKey && te(JSON.stringify(o));
1357
- }, u(g, i || r ? d : null, f), u(f, () => e.key || e.index), x((y) => {
1362
+ y.shiftKey && ne(JSON.stringify(o));
1363
+ }, u(g, s || r ? d : null, f), u(f, () => e.key || e.index), C((y) => {
1358
1364
  const v = `${e.key ? `${e.key}
1359
- ` : ""}Shift + Click to copy value`, C = e.index !== void 0;
1360
- return v !== y._v$ && A(g, "title", y._v$ = v), C !== y._v$2 && g.classList.toggle("index", y._v$2 = C), y;
1365
+ ` : ""}Shift + Click to copy value`, x = e.index !== void 0;
1366
+ return v !== y._v$ && P(g, "title", y._v$ = v), x !== y._v$2 && g.classList.toggle("index", y._v$2 = x), y;
1361
1367
  }, {
1362
1368
  _v$: void 0,
1363
1369
  _v$2: void 0
@@ -1366,64 +1372,64 @@ const _n = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Sn = /* @_
1366
1372
  const g = m(() => !!(a && c && !t()));
1367
1373
  return () => g() ? (() => {
1368
1374
  const f = Sn.cloneNode(!0);
1369
- return u(f, () => i ? `[…] ${o.length} items` : `{…} ${Object.keys(o).length} properties`), f;
1370
- })() : (() => i && o.length === 0 ? Nn.cloneNode(!0) : r && Object.keys(o).length === 0 ? kn.cloneNode(!0) : i ? [(() => {
1371
- const f = Oe.cloneNode(!0);
1372
- return re(f, "click", a ? void 0 : (y) => {
1373
- y.shiftKey && te(JSON.stringify(o));
1374
- }, !0), A(f, "title", a ? void 0 : "Shift + Click to copy value"), u(f, !a && d, null), u(f, () => t() ? "[" : `[…] ${o.length} items`, null), f;
1375
+ return u(f, () => s ? `[…] ${o.length} items` : `{…} ${Object.keys(o).length} properties`), f;
1376
+ })() : (() => s && o.length === 0 ? Nn.cloneNode(!0) : r && Object.keys(o).length === 0 ? kn.cloneNode(!0) : s ? [(() => {
1377
+ const f = je.cloneNode(!0);
1378
+ return oe(f, "click", a ? void 0 : (y) => {
1379
+ y.shiftKey && ne(JSON.stringify(o));
1380
+ }, !0), P(f, "title", a ? void 0 : "Shift + Click to copy value"), u(f, !a && d, null), u(f, () => t() ? "[" : `[…] ${o.length} items`, null), f;
1375
1381
  })(), m((() => {
1376
1382
  const f = m(() => !!t());
1377
1383
  return () => f() && [(() => {
1378
- const y = je.cloneNode(!0);
1384
+ const y = Me.cloneNode(!0);
1379
1385
  return u(y, () => {
1380
1386
  let v = o;
1381
- const C = v.length;
1382
- return l() || (v = v.slice(0, Z)), [m(() => v.map((w, P) => (() => {
1383
- const k = Me.cloneNode(!0);
1384
- return u(k, p(ve, {
1387
+ const x = v.length;
1388
+ return l() || (v = v.slice(0, K)), [m(() => v.map((w, A) => (() => {
1389
+ const k = Re.cloneNode(!0);
1390
+ return u(k, p(be, {
1385
1391
  value: w,
1386
1392
  get indent() {
1387
1393
  return e.indent + 1;
1388
1394
  },
1389
- index: P,
1395
+ index: A,
1390
1396
  get compact() {
1391
1397
  return e.compact;
1392
1398
  }
1393
1399
  })), k;
1394
1400
  })())), m((() => {
1395
- const w = m(() => !l() && C > Z);
1396
- return () => w() && p(O, {
1401
+ const w = m(() => !l() && x > K);
1402
+ return () => w() && p(M, {
1397
1403
  onClick: () => {
1398
- s(() => !0);
1404
+ i(() => !0);
1399
1405
  },
1400
1406
  class: "show-all",
1401
1407
  get children() {
1402
- return ["…show all (+", C - Z, ")"];
1408
+ return ["…show all (+", x - K, ")"];
1403
1409
  }
1404
1410
  });
1405
1411
  })())];
1406
1412
  }), y;
1407
1413
  })(), An.cloneNode(!0)];
1408
1414
  })())] : r ? [(() => {
1409
- const f = Oe.cloneNode(!0);
1410
- return re(f, "click", a ? void 0 : (y) => {
1411
- y.shiftKey && te(JSON.stringify(o));
1412
- }, !0), A(f, "title", a ? void 0 : "Shift + Click to copy value"), u(f, !a && d, null), u(f, (() => {
1415
+ const f = je.cloneNode(!0);
1416
+ return oe(f, "click", a ? void 0 : (y) => {
1417
+ y.shiftKey && ne(JSON.stringify(o));
1418
+ }, !0), P(f, "title", a ? void 0 : "Shift + Click to copy value"), u(f, !a && d, null), u(f, (() => {
1413
1419
  const y = m(() => !!t());
1414
1420
  return () => y() ? "{" : `{…} ${Object.keys(o).length} properties`;
1415
1421
  })(), null), f;
1416
1422
  })(), m((() => {
1417
1423
  const f = m(() => !!t());
1418
1424
  return () => f() && [(() => {
1419
- const y = je.cloneNode(!0);
1425
+ const y = Me.cloneNode(!0);
1420
1426
  return u(y, () => {
1421
1427
  let v = Object.entries(o);
1422
- const C = v.length;
1423
- return l() || (v = v.slice(0, Z)), [m(() => v.map(([w, P]) => (() => {
1424
- const k = Me.cloneNode(!0);
1425
- return u(k, p(ve, {
1426
- value: P,
1428
+ const x = v.length;
1429
+ return l() || (v = v.slice(0, K)), [m(() => v.map(([w, A]) => (() => {
1430
+ const k = Re.cloneNode(!0);
1431
+ return u(k, p(be, {
1432
+ value: A,
1427
1433
  key: w,
1428
1434
  get indent() {
1429
1435
  return e.indent + 1;
@@ -1433,14 +1439,14 @@ const _n = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Sn = /* @_
1433
1439
  }
1434
1440
  })), k;
1435
1441
  })())), m((() => {
1436
- const w = m(() => !l() && C > Z);
1437
- return () => w() && p(O, {
1442
+ const w = m(() => !l() && x > K);
1443
+ return () => w() && p(M, {
1438
1444
  onClick: () => {
1439
- s(() => !0);
1445
+ i(() => !0);
1440
1446
  },
1441
1447
  class: "show-all",
1442
1448
  get children() {
1443
- return ["…show all (+", C - Z, ")"];
1449
+ return ["…show all (+", x - K, ")"];
1444
1450
  }
1445
1451
  });
1446
1452
  })())];
@@ -1449,14 +1455,14 @@ const _n = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Sn = /* @_
1449
1455
  })())] : (() => {
1450
1456
  const f = Tn.cloneNode(!0);
1451
1457
  return f.$$click = (y) => {
1452
- y.shiftKey && te(String(o));
1453
- }, A(f, "data-type", typeof o), u(f, typeof o == "string" && Re.cloneNode(!0), null), u(f, () => typeof o == "number" ? On.format(o) : String(o), null), u(f, typeof o == "string" && Re.cloneNode(!0), null), f;
1458
+ y.shiftKey && ne(String(o));
1459
+ }, P(f, "data-type", typeof o), u(f, typeof o == "string" && De.cloneNode(!0), null), u(f, () => typeof o == "number" ? On.format(o) : String(o), null), u(f, typeof o == "string" && De.cloneNode(!0), null), f;
1454
1460
  })())();
1455
1461
  })())];
1456
1462
  });
1457
- }, M = (e) => (() => {
1463
+ }, R = (e) => (() => {
1458
1464
  const t = En.cloneNode(!0);
1459
- return b(t, Ln), u(t, p(ve, {
1465
+ return b(t, Ln), u(t, p(be, {
1460
1466
  get value() {
1461
1467
  return e.value;
1462
1468
  },
@@ -1466,10 +1472,10 @@ const _n = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Sn = /* @_
1466
1472
  }
1467
1473
  })), t;
1468
1474
  })();
1469
- async function te(e) {
1475
+ async function ne(e) {
1470
1476
  await navigator.clipboard.writeText(e), alert("Copied to clipboard");
1471
1477
  }
1472
- ae(["click"]);
1478
+ ce(["click"]);
1473
1479
  let jn = 0;
1474
1480
  function Mn() {
1475
1481
  return jn++;
@@ -1532,40 +1538,40 @@ const Rn = /* @__PURE__ */ $("<label></label>"), Dn = /* @__PURE__ */ $('<div><d
1532
1538
  `, Bn = (e) => {
1533
1539
  const t = `input${Mn()}`;
1534
1540
  return (() => {
1535
- const n = Dn.cloneNode(!0), l = n.firstChild, s = l.firstChild;
1536
- return u(n, p(se, {
1541
+ const n = Dn.cloneNode(!0), l = n.firstChild, i = l.firstChild;
1542
+ return u(n, p(ae, {
1537
1543
  get when() {
1538
1544
  return e.label;
1539
1545
  },
1540
1546
  get children() {
1541
1547
  const o = Rn.cloneNode(!0);
1542
- return A(o, "for", t), u(o, () => e.label), o;
1548
+ return P(o, "for", t), u(o, () => e.label), o;
1543
1549
  }
1544
- }), l), s.addEventListener("change", (o) => {
1550
+ }), l), i.addEventListener("change", (o) => {
1545
1551
  o.currentTarget.value && e.onChange(o.currentTarget.value);
1546
- }), A(s, "id", t), u(s, (() => {
1552
+ }), P(i, "id", t), u(i, (() => {
1547
1553
  const o = m(() => !e.value);
1548
1554
  return () => o() && In.cloneNode(!0);
1549
- })(), null), u(s, p(z, {
1555
+ })(), null), u(i, p(F, {
1550
1556
  get each() {
1551
1557
  return e.options;
1552
1558
  },
1553
1559
  children: (o) => (() => {
1554
- const i = zn.cloneNode(!0);
1555
- return u(i, () => o.label), x(() => i.value = o.value), i;
1560
+ const s = zn.cloneNode(!0);
1561
+ return u(s, () => o.label), C(() => s.value = o.value), s;
1556
1562
  })()
1557
- }), null), x(() => b(n, et(Fn, e.class))), x(() => s.value = e.value ?? ""), n;
1563
+ }), null), C(() => b(n, tt(Fn, e.class))), C(() => i.value = e.value ?? ""), n;
1558
1564
  })();
1559
1565
  };
1560
- function tt(e) {
1566
+ function nt(e) {
1561
1567
  const t = e.alias || e.payload || e.searchParams;
1562
1568
  return !t || Object.keys(t).length === 0 ? "" : typeof t == "string" || typeof t == "number" ? String(t) : JSON.stringify(t);
1563
1569
  }
1564
- function nt(e) {
1570
+ function rt(e) {
1565
1571
  return e ? e.slice().reverse() : [];
1566
1572
  }
1567
- function De(e, t) {
1568
- return Ke(e, t) ? "no changes" : pt.diffJson(
1573
+ function Ie(e, t) {
1574
+ return Ue(e, t) ? "no changes" : pt.diffJson(
1569
1575
  typeof e == "object" && e !== null ? e : String(e),
1570
1576
  typeof t == "object" && t !== null ? t : String(t)
1571
1577
  );
@@ -1573,7 +1579,7 @@ function De(e, t) {
1573
1579
  function Hn(e, t) {
1574
1580
  return e.length > t ? `${e.slice(0, t)}...` : e;
1575
1581
  }
1576
- const Vn = /* @__PURE__ */ $('<div class="changes-count"><span class="additions">+ <b></b> lines</span> | <span class="removals">- <b></b> lines</span></div>'), ge = /* @__PURE__ */ $("<div></div>"), Ie = /* @__PURE__ */ $("<div>No changes</div>"), ze = /* @__PURE__ */ $('<div class="line"></div>'), Zn = _`
1582
+ const Vn = /* @__PURE__ */ $('<div class="changes-count"><span class="additions">+ <b></b> lines</span> | <span class="removals">- <b></b> lines</span></div>'), he = /* @__PURE__ */ $("<div></div>"), ze = /* @__PURE__ */ $("<div>No changes</div>"), Fe = /* @__PURE__ */ $('<div class="line"></div>'), Zn = _`
1577
1583
  &&& {
1578
1584
  ${S({
1579
1585
  gap: 14
@@ -1592,13 +1598,13 @@ const Vn = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
1592
1598
  }
1593
1599
  }
1594
1600
  }
1595
- `, Fe = _`
1601
+ `, Be = _`
1596
1602
  &&& {
1597
1603
  ${S({
1598
1604
  gap: 0
1599
1605
  })};
1600
1606
  font-size: 14px;
1601
- font-family: ${E.decorative};
1607
+ font-family: ${L.decorative};
1602
1608
  white-space: pre;
1603
1609
  overflow-x: auto;
1604
1610
 
@@ -1636,26 +1642,26 @@ const Vn = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
1636
1642
  const {
1637
1643
  selectedCall: r
1638
1644
  } = N;
1639
- return r ? B.calls[r] : Object.values(B.calls).at(-1);
1640
- }), t = qe(() => {
1645
+ return r ? H.calls[r] : Object.values(H.calls).at(-1);
1646
+ }), t = et(() => {
1641
1647
  const r = e();
1642
- return r ? nt(r.requests).map((a) => ({
1648
+ return r ? rt(r.requests).map((a) => ({
1643
1649
  value: a.id,
1644
- label: `${Q(a.startTime).format("HH:mm:ss")} | ${Hn(tt(a), 50)}`
1650
+ label: `${Q(a.startTime).format("HH:mm:ss")} | ${Hn(nt(a), 50)}`
1645
1651
  })).filter((a) => a.value !== N.selectedRequest) : [];
1646
- }, "value"), n = xe(null), l = m(() => N.selectedRequest ? e()?.requests.find((r) => r.id === N.selectedRequest) : null), s = m(() => n.value ? e()?.requests.find((r) => r.id === n.value) : null), o = m(() => {
1652
+ }, "value"), n = we(null), l = m(() => N.selectedRequest ? e()?.requests.find((r) => r.id === N.selectedRequest) : null), i = m(() => n.value ? e()?.requests.find((r) => r.id === n.value) : null), o = m(() => {
1647
1653
  if (!n.value || !N.selectedRequest)
1648
1654
  return [];
1649
- const r = l()?.response, a = s()?.response, c = De(a, r);
1655
+ const r = l()?.response, a = i()?.response, c = Ie(a, r);
1650
1656
  return c === "no changes" ? [] : c;
1651
- }), i = m(() => {
1657
+ }), s = m(() => {
1652
1658
  if (!n.value || !N.selectedRequest)
1653
1659
  return [];
1654
- const r = Be(l()), a = Be(s()), c = De(a, r);
1660
+ const r = He(l()), a = He(i()), c = Ie(a, r);
1655
1661
  return c === "no changes" ? [] : c;
1656
1662
  });
1657
1663
  return (() => {
1658
- const r = ge.cloneNode(!0);
1664
+ const r = he.cloneNode(!0);
1659
1665
  return b(r, Zn), u(r, p(Bn, {
1660
1666
  get value() {
1661
1667
  return n.value;
@@ -1667,30 +1673,30 @@ const Vn = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
1667
1673
  onChange: (a) => {
1668
1674
  n.value = a;
1669
1675
  }
1670
- }), null), u(r, p(se, {
1676
+ }), null), u(r, p(ae, {
1671
1677
  get when() {
1672
1678
  return n.value;
1673
1679
  },
1674
1680
  get children() {
1675
1681
  return [(() => {
1676
- const a = Vn.cloneNode(!0), c = a.firstChild, d = c.firstChild, g = d.nextSibling, f = c.nextSibling, y = f.nextSibling, v = y.firstChild, C = v.nextSibling;
1677
- return u(g, () => o().filter((w) => w.added).length), u(C, () => o().filter((w) => w.removed).length), a;
1678
- })(), p(T, {
1682
+ const a = Vn.cloneNode(!0), c = a.firstChild, d = c.firstChild, g = d.nextSibling, f = c.nextSibling, y = f.nextSibling, v = y.firstChild, x = v.nextSibling;
1683
+ return u(g, () => o().filter((w) => w.added).length), u(x, () => o().filter((w) => w.removed).length), a;
1684
+ })(), p(E, {
1679
1685
  get title() {
1680
1686
  return m(() => !!l()?.payload)() ? "Payload Diff" : l()?.searchParams ? "Search Params Diff" : "Path Params Diff";
1681
1687
  },
1682
1688
  get children() {
1683
- const a = ge.cloneNode(!0);
1684
- return b(a, Fe), u(a, p(z, {
1689
+ const a = he.cloneNode(!0);
1690
+ return b(a, Be), u(a, p(F, {
1685
1691
  get each() {
1686
- return i();
1692
+ return s();
1687
1693
  },
1688
1694
  get fallback() {
1689
- return Ie.cloneNode(!0);
1695
+ return ze.cloneNode(!0);
1690
1696
  },
1691
1697
  children: (c) => (() => {
1692
- const d = ze.cloneNode(!0);
1693
- return u(d, () => c.value), x((g) => {
1698
+ const d = Fe.cloneNode(!0);
1699
+ return u(d, () => c.value), C((g) => {
1694
1700
  const f = !!c.added, y = !!c.removed;
1695
1701
  return f !== g._v$ && d.classList.toggle("added", g._v$ = f), y !== g._v$2 && d.classList.toggle("removed", g._v$2 = y), g;
1696
1702
  }, {
@@ -1700,20 +1706,20 @@ const Vn = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
1700
1706
  })()
1701
1707
  })), a;
1702
1708
  }
1703
- }), p(T, {
1709
+ }), p(E, {
1704
1710
  title: "Response Diff",
1705
1711
  get children() {
1706
- const a = ge.cloneNode(!0);
1707
- return b(a, Fe), u(a, p(z, {
1712
+ const a = he.cloneNode(!0);
1713
+ return b(a, Be), u(a, p(F, {
1708
1714
  get each() {
1709
1715
  return o();
1710
1716
  },
1711
1717
  get fallback() {
1712
- return Ie.cloneNode(!0);
1718
+ return ze.cloneNode(!0);
1713
1719
  },
1714
1720
  children: (c) => (() => {
1715
- const d = ze.cloneNode(!0);
1716
- return u(d, () => c.value), x((g) => {
1721
+ const d = Fe.cloneNode(!0);
1722
+ return u(d, () => c.value), C((g) => {
1717
1723
  const f = !!c.added, y = !!c.removed;
1718
1724
  return f !== g._v$3 && d.classList.toggle("added", g._v$3 = f), y !== g._v$4 && d.classList.toggle("removed", g._v$4 = y), g;
1719
1725
  }, {
@@ -1728,29 +1734,29 @@ const Vn = /* @__PURE__ */ $('<div class="changes-count"><span class="additions"
1728
1734
  }), null), r;
1729
1735
  })();
1730
1736
  };
1731
- function Be(e) {
1737
+ function He(e) {
1732
1738
  return e ? e.payload || e.searchParams || e.pathParams : null;
1733
1739
  }
1734
- const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>"), Wn = /* @__PURE__ */ $('<div class="tags"></div>'), Jn = /* @__PURE__ */ $('<div class="details"></div>'), Xn = /* @__PURE__ */ $("<h2></h2>"), Gn = /* @__PURE__ */ $('<div class="method"></div>'), Yn = /* @__PURE__ */ $('<div class="code"></div>'), Qn = /* @__PURE__ */ $('<div class="tag error">Has Error</div>'), qn = /* @__PURE__ */ $('<div class="tag"></div>'), er = _`
1740
+ const Ve = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>"), Wn = /* @__PURE__ */ $('<div class="tags"></div>'), Jn = /* @__PURE__ */ $('<div class="details"></div>'), Xn = /* @__PURE__ */ $("<h2></h2>"), Gn = /* @__PURE__ */ $('<div class="method"></div>'), Yn = /* @__PURE__ */ $('<div class="code"></div>'), Qn = /* @__PURE__ */ $('<div class="tag error">Has Error</div>'), qn = /* @__PURE__ */ $('<div class="tag"></div>'), er = _`
1735
1741
  &&& {
1736
1742
  ${S()};
1737
1743
  padding-left: 10px;
1738
1744
 
1739
1745
  > h1 {
1740
1746
  margin-top: 12px;
1741
- font-family: ${E.decorative};
1742
- ${de};
1747
+ font-family: ${L.decorative};
1748
+ ${ue};
1743
1749
  }
1744
1750
 
1745
1751
  > h2 {
1746
1752
  margin-top: 4px;
1747
- font-family: ${E.decorative};
1753
+ font-family: ${L.decorative};
1748
1754
  font-size: 12px;
1749
1755
  opacity: 0.5;
1750
1756
  }
1751
1757
 
1752
1758
  .tags {
1753
- ${F({
1759
+ ${B({
1754
1760
  gap: 8
1755
1761
  })};
1756
1762
  margin-top: 8px;
@@ -1795,7 +1801,7 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
1795
1801
  }
1796
1802
  `, tr = _`
1797
1803
  &&& {
1798
- ${F({
1804
+ ${B({
1799
1805
  gap: 20
1800
1806
  })};
1801
1807
  color: ${h.secondary.var};
@@ -1818,63 +1824,63 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
1818
1824
  `, nr = () => {
1819
1825
  const e = m(() => N.selectedCall), t = m(() => N.selectedRequest), n = m(() => N.selectedTab || "summary"), l = m(() => {
1820
1826
  let o;
1821
- e() ? o = B.calls[e()] : o = Object.values(B.calls).at(-1);
1822
- const i = t() && o?.requests.find((r) => r.id === t()) || o?.requests.at(-1);
1823
- return i && o ? {
1824
- ...i,
1827
+ e() ? o = H.calls[e()] : o = Object.values(H.calls).at(-1);
1828
+ const s = t() && o?.requests.find((r) => r.id === t()) || o?.requests.at(-1);
1829
+ return s && o ? {
1830
+ ...s,
1825
1831
  callName: o.name,
1826
1832
  callPath: o.path
1827
1833
  } : null;
1828
1834
  });
1829
- function s(o, i) {
1830
- return p(O, {
1835
+ function i(o, s) {
1836
+ return p(M, {
1831
1837
  get classList() {
1832
1838
  return {
1833
1839
  selected: n() === o
1834
1840
  };
1835
1841
  },
1836
1842
  onClick: () => {
1837
- ie("selectedTab", o);
1843
+ se("selectedTab", o);
1838
1844
  },
1839
- children: i
1845
+ children: s
1840
1846
  });
1841
1847
  }
1842
1848
  return (() => {
1843
- const o = He.cloneNode(!0);
1844
- return b(o, er), u(o, p(se, {
1849
+ const o = Ve.cloneNode(!0);
1850
+ return b(o, er), u(o, p(ae, {
1845
1851
  get when() {
1846
1852
  return l();
1847
1853
  },
1848
1854
  keyed: !0,
1849
- children: (i) => [(() => {
1855
+ children: (s) => [(() => {
1850
1856
  const r = Un.cloneNode(!0);
1851
- return u(r, () => i.callName, null), u(r, () => i.alias && ` | ${i.alias}`, null), r;
1857
+ return u(r, () => s.callName, null), u(r, () => s.alias && ` | ${s.alias}`, null), r;
1852
1858
  })(), m((() => {
1853
- const r = m(() => i.callPath !== i.callName);
1859
+ const r = m(() => s.callPath !== s.callName);
1854
1860
  return () => r() && (() => {
1855
1861
  const a = Xn.cloneNode(!0);
1856
- return u(a, () => i.callPath), a;
1862
+ return u(a, () => s.callPath), a;
1857
1863
  })();
1858
1864
  })()), (() => {
1859
1865
  const r = Wn.cloneNode(!0);
1860
1866
  return u(r, (() => {
1861
- const a = m(() => !!i.method);
1867
+ const a = m(() => !!s.method);
1862
1868
  return () => a() && (() => {
1863
1869
  const c = Gn.cloneNode(!0);
1864
- return u(c, () => i.method), c;
1870
+ return u(c, () => s.method), c;
1865
1871
  })();
1866
1872
  })(), null), u(r, (() => {
1867
- const a = m(() => !!i.code);
1873
+ const a = m(() => !!s.code);
1868
1874
  return () => a() && (() => {
1869
1875
  const c = Yn.cloneNode(!0);
1870
- return u(c, () => i.code), x(() => c.classList.toggle("error", i.code >= 400)), c;
1876
+ return u(c, () => s.code), C(() => c.classList.toggle("error", s.code >= 400)), c;
1871
1877
  })();
1872
1878
  })(), null), u(r, (() => {
1873
- const a = m(() => !!i.isError);
1879
+ const a = m(() => !!s.isError);
1874
1880
  return () => a() && Qn.cloneNode(!0);
1875
- })(), null), u(r, p(z, {
1881
+ })(), null), u(r, p(F, {
1876
1882
  get each() {
1877
- return i.tags;
1883
+ return s.tags;
1878
1884
  },
1879
1885
  children: (a) => (() => {
1880
1886
  const c = qn.cloneNode(!0);
@@ -1882,14 +1888,14 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
1882
1888
  })()
1883
1889
  }), null), r;
1884
1890
  })(), (() => {
1885
- const r = He.cloneNode(!0);
1886
- return b(r, tr), u(r, () => s("summary", "Summary"), null), u(r, (() => {
1887
- const a = m(() => !!i.payload);
1888
- return () => a() && s("payload", "Payload");
1891
+ const r = Ve.cloneNode(!0);
1892
+ return b(r, tr), u(r, () => i("summary", "Summary"), null), u(r, (() => {
1893
+ const a = m(() => !!s.payload);
1894
+ return () => a() && i("payload", "Payload");
1889
1895
  })(), null), u(r, (() => {
1890
- const a = m(() => !!i.searchParams);
1891
- return () => a() && s("urlParams", "URL Params");
1892
- })(), null), u(r, () => s("response", "Response"), null), u(r, () => s("diff", "Diff"), null), r;
1896
+ const a = m(() => !!s.searchParams);
1897
+ return () => a() && i("urlParams", "URL Params");
1898
+ })(), null), u(r, () => i("response", "Response"), null), u(r, () => i("diff", "Diff"), null), r;
1893
1899
  })(), (() => {
1894
1900
  const r = Jn.cloneNode(!0);
1895
1901
  return u(r, p(dt, {
@@ -1899,54 +1905,54 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
1899
1905
  return n() === "summary";
1900
1906
  },
1901
1907
  get children() {
1902
- return [m(() => m(() => !!i.payload)() && p(T, {
1908
+ return [m(() => m(() => !!s.payload)() && p(E, {
1903
1909
  title: "Payload",
1904
1910
  get children() {
1905
- return p(M, {
1911
+ return p(R, {
1906
1912
  get value() {
1907
- return i.payload;
1913
+ return s.payload;
1908
1914
  },
1909
1915
  compact: !0
1910
1916
  });
1911
1917
  }
1912
- })), m(() => m(() => !!i.searchParams)() && p(T, {
1918
+ })), m(() => m(() => !!s.searchParams)() && p(E, {
1913
1919
  title: "URL Params",
1914
1920
  get children() {
1915
- return p(M, {
1921
+ return p(R, {
1916
1922
  get value() {
1917
- return i.searchParams;
1923
+ return s.searchParams;
1918
1924
  },
1919
1925
  compact: !0
1920
1926
  });
1921
1927
  }
1922
- })), m(() => m(() => !!i.response)() && p(T, {
1928
+ })), m(() => m(() => !!s.response)() && p(E, {
1923
1929
  title: "Response",
1924
1930
  get children() {
1925
- return p(M, {
1931
+ return p(R, {
1926
1932
  get value() {
1927
- return i.response;
1933
+ return s.response;
1928
1934
  },
1929
1935
  compact: !0
1930
1936
  });
1931
1937
  }
1932
- })), p(T, {
1938
+ })), p(E, {
1933
1939
  title: "Stats",
1934
1940
  get children() {
1935
- return p(M, {
1941
+ return p(R, {
1936
1942
  get value() {
1937
1943
  return {
1938
- "Duration (ms)": Math.round(i.duration),
1939
- "Start Time": `${Q(i.startTime).format("HH:mm:ss")} (${Q(i.startTime).fromNow()})`
1944
+ "Duration (ms)": Math.round(s.duration),
1945
+ "Start Time": `${Q(s.startTime).format("HH:mm:ss")} (${Q(s.startTime).fromNow()})`
1940
1946
  };
1941
1947
  }
1942
1948
  });
1943
1949
  }
1944
- }), p(T, {
1950
+ }), p(E, {
1945
1951
  title: "Metadata",
1946
1952
  get children() {
1947
- return p(M, {
1953
+ return p(R, {
1948
1954
  get value() {
1949
- return i.metadata;
1955
+ return s.metadata;
1950
1956
  }
1951
1957
  });
1952
1958
  }
@@ -1957,12 +1963,12 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
1957
1963
  return n() === "payload";
1958
1964
  },
1959
1965
  get children() {
1960
- return p(T, {
1966
+ return p(E, {
1961
1967
  title: null,
1962
1968
  get children() {
1963
- return p(M, {
1969
+ return p(R, {
1964
1970
  get value() {
1965
- return i.payload;
1971
+ return s.payload;
1966
1972
  }
1967
1973
  });
1968
1974
  }
@@ -1973,12 +1979,12 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
1973
1979
  return n() === "response";
1974
1980
  },
1975
1981
  get children() {
1976
- return p(T, {
1982
+ return p(E, {
1977
1983
  title: null,
1978
1984
  get children() {
1979
- return p(M, {
1985
+ return p(R, {
1980
1986
  get value() {
1981
- return i.response;
1987
+ return s.response;
1982
1988
  }
1983
1989
  });
1984
1990
  }
@@ -1989,12 +1995,12 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
1989
1995
  return n() === "urlParams";
1990
1996
  },
1991
1997
  get children() {
1992
- return p(T, {
1998
+ return p(E, {
1993
1999
  title: null,
1994
2000
  get children() {
1995
- return p(M, {
2001
+ return p(R, {
1996
2002
  get value() {
1997
- return i.searchParams;
2003
+ return s.searchParams;
1998
2004
  }
1999
2005
  });
2000
2006
  }
@@ -2022,7 +2028,7 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
2022
2028
  font-size: 16px;
2023
2029
  padding-left: 12px;
2024
2030
  padding-top: 10px;
2025
- font-family: ${E.decorative};
2031
+ font-family: ${L.decorative};
2026
2032
  color: ${h.secondary.var};
2027
2033
  padding-bottom: 16px;
2028
2034
  }
@@ -2045,7 +2051,7 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
2045
2051
 
2046
2052
  > button {
2047
2053
  padding: 4px 12px;
2048
- ${F({
2054
+ ${B({
2049
2055
  gap: 8
2050
2056
  })};
2051
2057
  opacity: 0.8;
@@ -2056,7 +2062,7 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
2056
2062
  }
2057
2063
 
2058
2064
  > .start-time {
2059
- font-family: ${E.decorative};
2065
+ font-family: ${L.decorative};
2060
2066
  }
2061
2067
 
2062
2068
  > .separator {
@@ -2064,7 +2070,7 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
2064
2070
  }
2065
2071
 
2066
2072
  > .payload {
2067
- ${de};
2073
+ ${ue};
2068
2074
  flex-shrink: 1;
2069
2075
  }
2070
2076
  }
@@ -2078,15 +2084,15 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
2078
2084
  }
2079
2085
  `, pr = () => {
2080
2086
  const e = m(() => {
2081
- const s = N.selectedCall;
2082
- return s ? s ? B.calls[s] : null : Object.values(B.calls).at(-1) || null;
2087
+ const i = N.selectedCall;
2088
+ return i ? i ? H.calls[i] : null : Object.values(H.calls).at(-1) || null;
2083
2089
  }), t = m(() => {
2084
- const s = nt(e()?.requests);
2085
- return s.length === 0 ? null : s;
2086
- }), n = m(() => N.selectedSubitem ? t()?.filter((s) => s.alias === N.selectedSubitem) : t()), l = m(() => N.selectedRequest || n()?.[0]?.id);
2090
+ const i = rt(e()?.requests);
2091
+ return i.length === 0 ? null : i;
2092
+ }), n = m(() => N.selectedSubitem ? t()?.filter((i) => i.alias === N.selectedSubitem) : t()), l = m(() => N.selectedRequest || n()?.[0]?.id);
2087
2093
  return (() => {
2088
- const s = rr.cloneNode(!0), o = s.firstChild, i = o.nextSibling;
2089
- return b(s, cr), b(i, dr), u(i, p(z, {
2094
+ const i = rr.cloneNode(!0), o = i.firstChild, s = o.nextSibling;
2095
+ return b(i, cr), b(s, dr), u(s, p(F, {
2090
2096
  get each() {
2091
2097
  return n();
2092
2098
  },
@@ -2097,12 +2103,12 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
2097
2103
  })();
2098
2104
  },
2099
2105
  children: (r) => {
2100
- const a = Q(r.startTime), c = a.format("HH:mm:ss"), d = a.fromNow(), g = tt(r);
2106
+ const a = Q(r.startTime), c = a.format("HH:mm:ss"), d = a.fromNow(), g = nt(r);
2101
2107
  return (() => {
2102
2108
  const f = ir.cloneNode(!0);
2103
- return b(f, ur), u(f, p(O, {
2109
+ return b(f, ur), u(f, p(M, {
2104
2110
  onClick: () => {
2105
- ie("selectedRequest", r.id);
2111
+ se("selectedRequest", r.id);
2106
2112
  },
2107
2113
  get classList() {
2108
2114
  return {
@@ -2112,16 +2118,16 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
2112
2118
  get children() {
2113
2119
  return [(() => {
2114
2120
  const y = lr.cloneNode(!0);
2115
- return A(y, "title", d), u(y, c), y;
2121
+ return P(y, "title", d), u(y, c), y;
2116
2122
  })(), m(() => !!g && [sr.cloneNode(!0), (() => {
2117
2123
  const y = ar.cloneNode(!0);
2118
- return A(y, "title", g), u(y, g), y;
2124
+ return P(y, "title", g), u(y, g), y;
2119
2125
  })()])];
2120
2126
  }
2121
- })), x(() => f.classList.toggle("error", !!r.isError)), f;
2127
+ })), C(() => f.classList.toggle("error", !!r.isError)), f;
2122
2128
  })();
2123
2129
  }
2124
- })), s;
2130
+ })), i;
2125
2131
  })();
2126
2132
  }, gr = /* @__PURE__ */ $("<div></div>"), hr = _`
2127
2133
  &&& {
@@ -2132,7 +2138,7 @@ const He = /* @__PURE__ */ $("<div></div>"), Un = /* @__PURE__ */ $("<h1></h1>")
2132
2138
  const e = gr.cloneNode(!0);
2133
2139
  return b(e, hr), u(e, p(yn, {}), null), u(e, p(pr, {}), null), u(e, p(nr, {}), null), e;
2134
2140
  })(), $r = `
2135
- font-family: ${E.primary};
2141
+ font-family: ${L.primary};
2136
2142
  color: ${h.textPrimary.var};
2137
2143
 
2138
2144
  * {
@@ -2261,56 +2267,56 @@ button {
2261
2267
  -webkit-appearance: none;
2262
2268
  }
2263
2269
  `;
2264
- let br = { data: "" }, Cr = (e) => typeof window == "object" ? ((e ? e.querySelector("#_goober") : window._goober) || Object.assign((e || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : e || br, xr = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, wr = /\/\*[^]*?\*\/| +/g, Ve = /\n+/g, D = (e, t) => {
2265
- let n = "", l = "", s = "";
2270
+ let br = { data: "" }, Cr = (e) => typeof window == "object" ? ((e ? e.querySelector("#_goober") : window._goober) || Object.assign((e || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : e || br, xr = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, wr = /\/\*[^]*?\*\/| +/g, Ze = /\n+/g, I = (e, t) => {
2271
+ let n = "", l = "", i = "";
2266
2272
  for (let o in e) {
2267
- let i = e[o];
2268
- o[0] == "@" ? o[1] == "i" ? n = o + " " + i + ";" : l += o[1] == "f" ? D(i, o) : o + "{" + D(i, o[1] == "k" ? "" : t) + "}" : typeof i == "object" ? l += D(i, t ? t.replace(/([^,])+/g, (r) => o.replace(/(^:.*)|([^,])+/g, (a) => /&/.test(a) ? a.replace(/&/g, r) : r ? r + " " + a : a)) : o) : i != null && (o = /^--/.test(o) ? o : o.replace(/[A-Z]/g, "-$&").toLowerCase(), s += D.p ? D.p(o, i) : o + ":" + i + ";");
2273
+ let s = e[o];
2274
+ o[0] == "@" ? o[1] == "i" ? n = o + " " + s + ";" : l += o[1] == "f" ? I(s, o) : o + "{" + I(s, o[1] == "k" ? "" : t) + "}" : typeof s == "object" ? l += I(s, t ? t.replace(/([^,])+/g, (r) => o.replace(/(^:.*)|([^,])+/g, (a) => /&/.test(a) ? a.replace(/&/g, r) : r ? r + " " + a : a)) : o) : s != null && (o = /^--/.test(o) ? o : o.replace(/[A-Z]/g, "-$&").toLowerCase(), i += I.p ? I.p(o, s) : o + ":" + s + ";");
2269
2275
  }
2270
- return n + (t && s ? t + "{" + s + "}" : s) + l;
2271
- }, L = {}, rt = (e) => {
2276
+ return n + (t && i ? t + "{" + i + "}" : i) + l;
2277
+ }, j = {}, ot = (e) => {
2272
2278
  if (typeof e == "object") {
2273
2279
  let t = "";
2274
2280
  for (let n in e)
2275
- t += n + rt(e[n]);
2281
+ t += n + ot(e[n]);
2276
2282
  return t;
2277
2283
  }
2278
2284
  return e;
2279
- }, _r = (e, t, n, l, s) => {
2280
- let o = rt(e), i = L[o] || (L[o] = ((a) => {
2285
+ }, _r = (e, t, n, l, i) => {
2286
+ let o = ot(e), s = j[o] || (j[o] = ((a) => {
2281
2287
  let c = 0, d = 11;
2282
2288
  for (; c < a.length; )
2283
2289
  d = 101 * d + a.charCodeAt(c++) >>> 0;
2284
2290
  return "go" + d;
2285
2291
  })(o));
2286
- if (!L[i]) {
2292
+ if (!j[s]) {
2287
2293
  let a = o !== e ? e : ((c) => {
2288
2294
  let d, g, f = [{}];
2289
2295
  for (; d = xr.exec(c.replace(wr, "")); )
2290
- d[4] ? f.shift() : d[3] ? (g = d[3].replace(Ve, " ").trim(), f.unshift(f[0][g] = f[0][g] || {})) : f[0][d[1]] = d[2].replace(Ve, " ").trim();
2296
+ d[4] ? f.shift() : d[3] ? (g = d[3].replace(Ze, " ").trim(), f.unshift(f[0][g] = f[0][g] || {})) : f[0][d[1]] = d[2].replace(Ze, " ").trim();
2291
2297
  return f[0];
2292
2298
  })(e);
2293
- L[i] = D(s ? { ["@keyframes " + i]: a } : a, n ? "" : "." + i);
2299
+ j[s] = I(i ? { ["@keyframes " + s]: a } : a, n ? "" : "." + s);
2294
2300
  }
2295
- let r = n && L.g ? L.g : null;
2296
- return n && (L.g = L[i]), ((a, c, d, g) => {
2301
+ let r = n && j.g ? j.g : null;
2302
+ return n && (j.g = j[s]), ((a, c, d, g) => {
2297
2303
  g ? c.data = c.data.replace(g, a) : c.data.indexOf(a) === -1 && (c.data = d ? a + c.data : c.data + a);
2298
- })(L[i], t, l, r), i;
2299
- }, Sr = (e, t, n) => e.reduce((l, s, o) => {
2300
- let i = t[o];
2301
- if (i && i.call) {
2302
- let r = i(n), a = r && r.props && r.props.className || /^go/.test(r) && r;
2303
- i = a ? "." + a : r && typeof r == "object" ? r.props ? "" : D(r, "") : r === !1 ? "" : r;
2304
+ })(j[s], t, l, r), s;
2305
+ }, Sr = (e, t, n) => e.reduce((l, i, o) => {
2306
+ let s = t[o];
2307
+ if (s && s.call) {
2308
+ let r = s(n), a = r && r.props && r.props.className || /^go/.test(r) && r;
2309
+ s = a ? "." + a : r && typeof r == "object" ? r.props ? "" : I(r, "") : r === !1 ? "" : r;
2304
2310
  }
2305
- return l + s + (i ?? "");
2311
+ return l + i + (s ?? "");
2306
2312
  }, "");
2307
- function ue(e) {
2313
+ function fe(e) {
2308
2314
  let t = this || {}, n = e.call ? e(t.p) : e;
2309
- return _r(n.unshift ? n.raw ? Sr(n, [].slice.call(arguments, 1), t.p) : n.reduce((l, s) => Object.assign(l, s && s.call ? s(t.p) : s), {}) : n, Cr(t.target), t.g, t.o, t.k);
2315
+ return _r(n.unshift ? n.raw ? Sr(n, [].slice.call(arguments, 1), t.p) : n.reduce((l, i) => Object.assign(l, i && i.call ? i(t.p) : i), {}) : n, Cr(t.target), t.g, t.o, t.k);
2310
2316
  }
2311
- ue.bind({ g: 1 });
2312
- ue.bind({ k: 1 });
2313
- const Nr = /* @__PURE__ */ $("<div></div>"), kr = /* @__PURE__ */ $('<div id="dev-tools-root-element"><nav></nav><main></main></div>'), Ar = ue`
2317
+ fe.bind({ g: 1 });
2318
+ fe.bind({ k: 1 });
2319
+ const Nr = /* @__PURE__ */ $("<div></div>"), kr = /* @__PURE__ */ $('<div id="dev-tools-root-element"><nav></nav><main></main></div>'), Ar = fe`
2314
2320
  ${vr};
2315
2321
  ${$r};
2316
2322
 
@@ -2343,37 +2349,37 @@ const Nr = /* @__PURE__ */ $("<div></div>"), kr = /* @__PURE__ */ $('<div id="de
2343
2349
  }
2344
2350
 
2345
2351
  > main > * {
2346
- ${be};
2352
+ ${Ce};
2347
2353
  }
2348
- `, Pr = ue`
2349
- ${be};
2354
+ `, Pr = fe`
2355
+ ${Ce};
2350
2356
  position: fixed;
2351
2357
  inset: 0;
2352
2358
  `, Tr = () => [(() => {
2353
2359
  const e = Nr.cloneNode(!0);
2354
- return re(e, "click", Or, !0), b(e, Pr), e;
2360
+ return oe(e, "click", Or, !0), b(e, Pr), e;
2355
2361
  })(), (() => {
2356
2362
  const e = kr.cloneNode(!0), t = e.firstChild, n = t.nextSibling;
2357
- return b(e, Ar), u(t, p(O, {
2363
+ return b(e, Ar), u(t, p(M, {
2358
2364
  title: "API Explorer",
2359
2365
  get children() {
2360
- return p(ce, {
2366
+ return p(de, {
2361
2367
  name: "network"
2362
2368
  });
2363
2369
  }
2364
2370
  })), u(n, p(mr, {})), e;
2365
2371
  })()];
2366
- ae(["click"]);
2372
+ ce(["click"]);
2367
2373
  const Er = () => p(Tr, {});
2368
- let ot = () => {
2374
+ let lt = () => {
2369
2375
  };
2370
2376
  function Lr() {
2371
2377
  Q.extend(Et), navigator.platform.indexOf("Win") > -1 && document.body.classList.add("windows");
2372
2378
  const e = document.getElementById("dev-tools-root") || document.createElement("div");
2373
- e.id = "dev-tools-root", document.body.appendChild(e), ot = xt(() => p(Er, {}), e);
2379
+ e.id = "dev-tools-root", document.body.appendChild(e), lt = xt(() => p(Er, {}), e);
2374
2380
  }
2375
2381
  function Or() {
2376
- ot();
2382
+ lt();
2377
2383
  }
2378
2384
  function Hr({
2379
2385
  callsProcessor: e,