@tanstack/vue-query-devtools 5.14.7 → 5.15.3
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/{2NWMMIDL-6ff16652.js → BSBCIQID-1QHEztpZ.js} +1 -1
- package/dist/{devtools.vue_vue_type_script_setup_true_lang-28f830f1.js → devtools.vue_vue_type_script_setup_true_lang-mYbjkCx9.js} +263 -257
- package/dist/index.js +1 -1
- package/dist/production.js +1 -1
- package/package.json +7 -6
- package/src/shims-vue.d.ts +0 -6
|
@@ -2,13 +2,13 @@ var tt = (e, t, n) => {
|
|
|
2
2
|
if (!t.has(e))
|
|
3
3
|
throw TypeError("Cannot " + n);
|
|
4
4
|
};
|
|
5
|
-
var v = (e, t, n) => (tt(e, t, "read from private field"), n ? n.call(e) : t.get(e)),
|
|
5
|
+
var v = (e, t, n) => (tt(e, t, "read from private field"), n ? n.call(e) : t.get(e)), N = (e, t, n) => {
|
|
6
6
|
if (t.has(e))
|
|
7
7
|
throw TypeError("Cannot add the same private member more than once");
|
|
8
8
|
t instanceof WeakSet ? t.add(e) : t.set(e, n);
|
|
9
|
-
},
|
|
10
|
-
import { hasInjectionContext as
|
|
11
|
-
var
|
|
9
|
+
}, A = (e, t, n, r) => (tt(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
|
|
10
|
+
import { hasInjectionContext as Ft, inject as Kt, defineComponent as zt, ref as Gt, watchEffect as Ht, onMounted as Qt, onScopeDispose as Xt, openBlock as Yt, createElementBlock as Wt } from "vue";
|
|
11
|
+
var Zt = class {
|
|
12
12
|
constructor() {
|
|
13
13
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
14
14
|
}
|
|
@@ -24,14 +24,14 @@ var Jt = class {
|
|
|
24
24
|
}
|
|
25
25
|
onUnsubscribe() {
|
|
26
26
|
}
|
|
27
|
-
},
|
|
27
|
+
}, Jt = typeof window > "u" || "Deno" in window, Y, j, W, dt, en = (dt = class extends Zt {
|
|
28
28
|
constructor() {
|
|
29
29
|
super();
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
if (!
|
|
30
|
+
N(this, Y, !0);
|
|
31
|
+
N(this, j, void 0);
|
|
32
|
+
N(this, W, void 0);
|
|
33
|
+
A(this, W, (t) => {
|
|
34
|
+
if (!Jt && window.addEventListener) {
|
|
35
35
|
const n = () => t(!0), r = () => t(!1);
|
|
36
36
|
return window.addEventListener("online", n, !1), window.addEventListener("offline", r, !1), () => {
|
|
37
37
|
window.removeEventListener("online", n), window.removeEventListener("offline", r);
|
|
@@ -44,31 +44,31 @@ var Jt = class {
|
|
|
44
44
|
}
|
|
45
45
|
onUnsubscribe() {
|
|
46
46
|
var t;
|
|
47
|
-
this.hasListeners() || ((t = v(this, j)) == null || t.call(this),
|
|
47
|
+
this.hasListeners() || ((t = v(this, j)) == null || t.call(this), A(this, j, void 0));
|
|
48
48
|
}
|
|
49
49
|
setEventListener(t) {
|
|
50
50
|
var n;
|
|
51
|
-
|
|
51
|
+
A(this, W, t), (n = v(this, j)) == null || n.call(this), A(this, j, t(this.setOnline.bind(this)));
|
|
52
52
|
}
|
|
53
53
|
setOnline(t) {
|
|
54
|
-
v(this, Y) !== t && (
|
|
54
|
+
v(this, Y) !== t && (A(this, Y, t), this.listeners.forEach((r) => {
|
|
55
55
|
r(t);
|
|
56
56
|
}));
|
|
57
57
|
}
|
|
58
58
|
isOnline() {
|
|
59
59
|
return v(this, Y);
|
|
60
60
|
}
|
|
61
|
-
}, Y = new WeakMap(), j = new WeakMap(), W = new WeakMap(),
|
|
62
|
-
function
|
|
61
|
+
}, Y = new WeakMap(), j = new WeakMap(), W = new WeakMap(), dt), tn = new en(), nn = "VUE_QUERY_CLIENT";
|
|
62
|
+
function rn(e) {
|
|
63
63
|
const t = e ? `:${e}` : "";
|
|
64
|
-
return `${
|
|
64
|
+
return `${nn}${t}`;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
if (!
|
|
66
|
+
function sn(e = "") {
|
|
67
|
+
if (!Ft())
|
|
68
68
|
throw new Error(
|
|
69
69
|
"vue-query hooks can only be used inside setup() function or functions that support injection context."
|
|
70
70
|
);
|
|
71
|
-
const t =
|
|
71
|
+
const t = rn(e), n = Kt(t);
|
|
72
72
|
if (!n)
|
|
73
73
|
throw new Error(
|
|
74
74
|
"No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library."
|
|
@@ -82,21 +82,21 @@ var h = {
|
|
|
82
82
|
function ae(e) {
|
|
83
83
|
h.context = e;
|
|
84
84
|
}
|
|
85
|
-
var
|
|
86
|
-
equals:
|
|
87
|
-
},
|
|
85
|
+
var on = (e, t) => e === t, xe = Symbol("solid-proxy"), yt = Symbol("solid-track"), Oe = {
|
|
86
|
+
equals: on
|
|
87
|
+
}, gt = St, B = 1, Ce = 2, vt = {
|
|
88
88
|
owned: null,
|
|
89
89
|
cleanups: null,
|
|
90
90
|
context: null,
|
|
91
91
|
owner: null
|
|
92
|
-
}, $e = {}, y = null, Be = null, g = null,
|
|
92
|
+
}, $e = {}, y = null, Be = null, g = null, P = null, $ = null, Ie = 0;
|
|
93
93
|
function z(e, t) {
|
|
94
|
-
const n = g, r = y, i = e.length === 0, s = t === void 0 ? r : t, o = i ?
|
|
94
|
+
const n = g, r = y, i = e.length === 0, s = t === void 0 ? r : t, o = i ? vt : {
|
|
95
95
|
owned: null,
|
|
96
96
|
cleanups: null,
|
|
97
97
|
context: s ? s.context : null,
|
|
98
98
|
owner: s
|
|
99
|
-
}, a = i ? e : () => e(() =>
|
|
99
|
+
}, a = i ? e : () => e(() => O(() => _e(o)));
|
|
100
100
|
y = o, g = null;
|
|
101
101
|
try {
|
|
102
102
|
return R(a, !0);
|
|
@@ -104,15 +104,15 @@ function z(e, t) {
|
|
|
104
104
|
g = n, y = r;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function I(e, t) {
|
|
108
108
|
t = t ? Object.assign({}, Oe, t) : Oe;
|
|
109
109
|
const n = {
|
|
110
110
|
value: e,
|
|
111
111
|
observers: null,
|
|
112
112
|
observerSlots: null,
|
|
113
113
|
comparator: t.equals || void 0
|
|
114
|
-
}, r = (i) => (typeof i == "function" && (i = i(n.value)),
|
|
115
|
-
return [
|
|
114
|
+
}, r = (i) => (typeof i == "function" && (i = i(n.value)), bt(n, i));
|
|
115
|
+
return [wt.bind(n), r];
|
|
116
116
|
}
|
|
117
117
|
function nt(e, t, n) {
|
|
118
118
|
const r = ke(e, t, !0, B);
|
|
@@ -122,82 +122,82 @@ function G(e, t, n) {
|
|
|
122
122
|
const r = ke(e, t, !1, B);
|
|
123
123
|
oe(r);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
125
|
+
function mt(e, t, n) {
|
|
126
|
+
gt = vn;
|
|
127
127
|
const r = ke(e, t, !1, B);
|
|
128
128
|
(!n || !n.render) && (r.user = !0), $ ? $.push(r) : oe(r);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function _(e, t, n) {
|
|
131
131
|
n = n ? Object.assign({}, Oe, n) : Oe;
|
|
132
132
|
const r = ke(e, t, !0, 0);
|
|
133
|
-
return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, oe(r),
|
|
133
|
+
return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, oe(r), wt.bind(r);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function an(e) {
|
|
136
136
|
return e && typeof e == "object" && "then" in e;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function un(e, t, n) {
|
|
139
139
|
let r, i, s;
|
|
140
140
|
arguments.length === 2 && typeof t == "object" || arguments.length === 1 ? (r = !0, i = e, s = t || {}) : (r = e, i = t, s = n || {});
|
|
141
|
-
let o = null, a = $e, u = null, f = !1, l = "initialValue" in s, c = typeof r == "function" &&
|
|
142
|
-
const d = /* @__PURE__ */ new Set(), [m, w] = (s.storage ||
|
|
141
|
+
let o = null, a = $e, u = null, f = !1, l = "initialValue" in s, c = typeof r == "function" && _(r);
|
|
142
|
+
const d = /* @__PURE__ */ new Set(), [m, w] = (s.storage || I)(s.initialValue), [E, M] = I(void 0), [U, C] = I(void 0, {
|
|
143
143
|
equals: !1
|
|
144
|
-
}), [b,
|
|
144
|
+
}), [b, k] = I(l ? "ready" : "unresolved");
|
|
145
145
|
if (h.context) {
|
|
146
146
|
u = `${h.context.id}${h.context.count++}`;
|
|
147
147
|
let p;
|
|
148
|
-
s.ssrLoadFrom === "initial" ? a = s.initialValue : h.load && (p = h.load(u)) && (a =
|
|
148
|
+
s.ssrLoadFrom === "initial" ? a = s.initialValue : h.load && (p = h.load(u)) && (a = p);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
return o === p && (o = null, H !== void 0 && (l = !0), (p === a ||
|
|
150
|
+
function T(p, S, x, H) {
|
|
151
|
+
return o === p && (o = null, H !== void 0 && (l = !0), (p === a || S === a) && s.onHydrated && queueMicrotask(
|
|
152
152
|
() => s.onHydrated(H, {
|
|
153
|
-
value:
|
|
153
|
+
value: S
|
|
154
154
|
})
|
|
155
|
-
), a = $e, Re(
|
|
155
|
+
), a = $e, Re(S, x)), S;
|
|
156
156
|
}
|
|
157
|
-
function Re(p,
|
|
157
|
+
function Re(p, S) {
|
|
158
158
|
R(() => {
|
|
159
|
-
|
|
160
|
-
for (const
|
|
161
|
-
|
|
159
|
+
S === void 0 && w(() => p), k(S !== void 0 ? "errored" : l ? "ready" : "unresolved"), M(S);
|
|
160
|
+
for (const x of d.keys())
|
|
161
|
+
x.decrement();
|
|
162
162
|
d.clear();
|
|
163
163
|
}, !1);
|
|
164
164
|
}
|
|
165
165
|
function Me() {
|
|
166
|
-
const p = hn,
|
|
167
|
-
if (
|
|
168
|
-
throw
|
|
166
|
+
const p = hn, S = m(), x = E();
|
|
167
|
+
if (x !== void 0 && !o)
|
|
168
|
+
throw x;
|
|
169
169
|
return g && !g.user && p && nt(() => {
|
|
170
170
|
U(), o && (p.resolved || d.has(p) || (p.increment(), d.add(p)));
|
|
171
|
-
}),
|
|
171
|
+
}), S;
|
|
172
172
|
}
|
|
173
173
|
function Ve(p = !0) {
|
|
174
174
|
if (p !== !1 && f)
|
|
175
175
|
return;
|
|
176
176
|
f = !1;
|
|
177
|
-
const
|
|
178
|
-
if (
|
|
179
|
-
|
|
177
|
+
const S = c ? c() : r;
|
|
178
|
+
if (S == null || S === !1) {
|
|
179
|
+
T(o, O(m));
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
|
-
const
|
|
183
|
-
() => i(
|
|
182
|
+
const x = a !== $e ? a : O(
|
|
183
|
+
() => i(S, {
|
|
184
184
|
value: m(),
|
|
185
185
|
refetching: p
|
|
186
186
|
})
|
|
187
187
|
);
|
|
188
|
-
return
|
|
189
|
-
|
|
190
|
-
}, !1),
|
|
191
|
-
(H) =>
|
|
192
|
-
(H) =>
|
|
193
|
-
)) : (
|
|
188
|
+
return an(x) ? (o = x, "value" in x ? (x.status === "success" ? T(o, x.value, void 0, S) : T(o, void 0, void 0, S), x) : (f = !0, queueMicrotask(() => f = !1), R(() => {
|
|
189
|
+
k(l ? "refreshing" : "pending"), C();
|
|
190
|
+
}, !1), x.then(
|
|
191
|
+
(H) => T(x, H, void 0, S),
|
|
192
|
+
(H) => T(x, void 0, Et(H), S)
|
|
193
|
+
))) : (T(o, x, void 0, S), x);
|
|
194
194
|
}
|
|
195
195
|
return Object.defineProperties(Me, {
|
|
196
196
|
state: {
|
|
197
197
|
get: () => b()
|
|
198
198
|
},
|
|
199
199
|
error: {
|
|
200
|
-
get: () =>
|
|
200
|
+
get: () => E()
|
|
201
201
|
},
|
|
202
202
|
loading: {
|
|
203
203
|
get() {
|
|
@@ -209,7 +209,7 @@ function ln(e, t, n) {
|
|
|
209
209
|
get() {
|
|
210
210
|
if (!l)
|
|
211
211
|
return Me();
|
|
212
|
-
const p =
|
|
212
|
+
const p = E();
|
|
213
213
|
if (p && !o)
|
|
214
214
|
throw p;
|
|
215
215
|
return m();
|
|
@@ -223,10 +223,10 @@ function ln(e, t, n) {
|
|
|
223
223
|
}
|
|
224
224
|
];
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function $r(e) {
|
|
227
227
|
return R(e, !1);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function O(e) {
|
|
230
230
|
if (g === null)
|
|
231
231
|
return e();
|
|
232
232
|
const t = g;
|
|
@@ -237,7 +237,7 @@ function E(e) {
|
|
|
237
237
|
g = t;
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Br(e, t, n) {
|
|
241
241
|
const r = Array.isArray(e);
|
|
242
242
|
let i, s = n && n.defer;
|
|
243
243
|
return (o) => {
|
|
@@ -252,23 +252,23 @@ function Ur(e, t, n) {
|
|
|
252
252
|
s = !1;
|
|
253
253
|
return;
|
|
254
254
|
}
|
|
255
|
-
const u =
|
|
255
|
+
const u = O(() => t(a, i, o));
|
|
256
256
|
return i = a, u;
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
|
-
function
|
|
260
|
-
|
|
259
|
+
function ln(e) {
|
|
260
|
+
mt(() => O(e));
|
|
261
261
|
}
|
|
262
262
|
function le(e) {
|
|
263
263
|
return y === null || (y.cleanups === null ? y.cleanups = [e] : y.cleanups.push(e)), e;
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function Ur() {
|
|
266
266
|
return g;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function rt() {
|
|
269
269
|
return y;
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function fn(e, t) {
|
|
272
272
|
const n = y, r = g;
|
|
273
273
|
y = e, g = null;
|
|
274
274
|
try {
|
|
@@ -279,7 +279,7 @@ function cn(e, t) {
|
|
|
279
279
|
y = n, g = r;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function cn(e) {
|
|
283
283
|
const t = g, n = y;
|
|
284
284
|
return Promise.resolve().then(() => {
|
|
285
285
|
g = t, y = n;
|
|
@@ -287,8 +287,9 @@ function dn(e) {
|
|
|
287
287
|
return R(e, !1), g = y = null, r ? r.done : void 0;
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
|
+
var [dn, jr] = /* @__PURE__ */ I(!1);
|
|
290
291
|
function Dr() {
|
|
291
|
-
return [
|
|
292
|
+
return [dn, cn];
|
|
292
293
|
}
|
|
293
294
|
function qr(e, t) {
|
|
294
295
|
const n = Symbol("context");
|
|
@@ -301,21 +302,21 @@ function qr(e, t) {
|
|
|
301
302
|
function Fr(e) {
|
|
302
303
|
return y && y.context && y.context[e.id] !== void 0 ? y.context[e.id] : e.defaultValue;
|
|
303
304
|
}
|
|
304
|
-
function
|
|
305
|
-
const t =
|
|
305
|
+
function pt(e) {
|
|
306
|
+
const t = _(e), n = _(() => De(t()));
|
|
306
307
|
return n.toArray = () => {
|
|
307
308
|
const r = n();
|
|
308
309
|
return Array.isArray(r) ? r : r != null ? [r] : [];
|
|
309
310
|
}, n;
|
|
310
311
|
}
|
|
311
312
|
var hn;
|
|
312
|
-
function
|
|
313
|
+
function wt() {
|
|
313
314
|
if (this.sources && this.state)
|
|
314
315
|
if (this.state === B)
|
|
315
316
|
oe(this);
|
|
316
317
|
else {
|
|
317
|
-
const e =
|
|
318
|
-
|
|
318
|
+
const e = P;
|
|
319
|
+
P = null, R(() => Pe(this), !1), P = e;
|
|
319
320
|
}
|
|
320
321
|
if (g) {
|
|
321
322
|
const e = this.observers ? this.observers.length : 0;
|
|
@@ -323,36 +324,40 @@ function bt() {
|
|
|
323
324
|
}
|
|
324
325
|
return this.value;
|
|
325
326
|
}
|
|
326
|
-
function
|
|
327
|
+
function bt(e, t, n) {
|
|
327
328
|
let r = e.value;
|
|
328
329
|
return (!e.comparator || !e.comparator(r, t)) && (e.value = t, e.observers && e.observers.length && R(() => {
|
|
329
330
|
for (let i = 0; i < e.observers.length; i += 1) {
|
|
330
331
|
const s = e.observers[i], o = Be && Be.running;
|
|
331
|
-
o && Be.disposed.has(s), (o ? !s.tState : !s.state) && (s.pure ?
|
|
332
|
+
o && Be.disposed.has(s), (o ? !s.tState : !s.state) && (s.pure ? P.push(s) : $.push(s), s.observers && At(s)), o || (s.state = B);
|
|
332
333
|
}
|
|
333
|
-
if (
|
|
334
|
-
throw
|
|
334
|
+
if (P.length > 1e6)
|
|
335
|
+
throw P = [], new Error();
|
|
335
336
|
}, !1)), t;
|
|
336
337
|
}
|
|
337
338
|
function oe(e) {
|
|
338
339
|
if (!e.fn)
|
|
339
340
|
return;
|
|
340
341
|
_e(e);
|
|
341
|
-
const t =
|
|
342
|
-
|
|
342
|
+
const t = Ie;
|
|
343
|
+
yn(
|
|
343
344
|
e,
|
|
344
345
|
e.value,
|
|
345
|
-
|
|
346
|
-
)
|
|
346
|
+
t
|
|
347
|
+
);
|
|
347
348
|
}
|
|
348
349
|
function yn(e, t, n) {
|
|
349
350
|
let r;
|
|
351
|
+
const i = y, s = g;
|
|
352
|
+
g = y = e;
|
|
350
353
|
try {
|
|
351
354
|
r = e.fn(t);
|
|
352
|
-
} catch (
|
|
353
|
-
return e.pure && (e.state = B, e.owned && e.owned.forEach(_e), e.owned = null), e.updatedAt = n + 1, et(
|
|
355
|
+
} catch (o) {
|
|
356
|
+
return e.pure && (e.state = B, e.owned && e.owned.forEach(_e), e.owned = null), e.updatedAt = n + 1, et(o);
|
|
357
|
+
} finally {
|
|
358
|
+
g = s, y = i;
|
|
354
359
|
}
|
|
355
|
-
(!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ?
|
|
360
|
+
(!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ? bt(e, r) : e.value = r, e.updatedAt = n);
|
|
356
361
|
}
|
|
357
362
|
function ke(e, t, n, r = B, i) {
|
|
358
363
|
const s = {
|
|
@@ -368,14 +373,14 @@ function ke(e, t, n, r = B, i) {
|
|
|
368
373
|
context: y ? y.context : null,
|
|
369
374
|
pure: n
|
|
370
375
|
};
|
|
371
|
-
return y === null || y !==
|
|
376
|
+
return y === null || y !== vt && (y.owned ? y.owned.push(s) : y.owned = [s]), s;
|
|
372
377
|
}
|
|
373
378
|
function Ne(e) {
|
|
374
379
|
if (e.state === 0)
|
|
375
380
|
return;
|
|
376
381
|
if (e.state === Ce)
|
|
377
382
|
return Pe(e);
|
|
378
|
-
if (e.suspense &&
|
|
383
|
+
if (e.suspense && O(e.suspense.inFallback))
|
|
379
384
|
return e.suspense.effects.push(e);
|
|
380
385
|
const t = [e];
|
|
381
386
|
for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < Ie); )
|
|
@@ -384,29 +389,29 @@ function Ne(e) {
|
|
|
384
389
|
if (e = t[n], e.state === B)
|
|
385
390
|
oe(e);
|
|
386
391
|
else if (e.state === Ce) {
|
|
387
|
-
const r =
|
|
388
|
-
|
|
392
|
+
const r = P;
|
|
393
|
+
P = null, R(() => Pe(e, t[0]), !1), P = r;
|
|
389
394
|
}
|
|
390
395
|
}
|
|
391
396
|
function R(e, t) {
|
|
392
|
-
if (
|
|
397
|
+
if (P)
|
|
393
398
|
return e();
|
|
394
399
|
let n = !1;
|
|
395
|
-
t || (
|
|
400
|
+
t || (P = []), $ ? n = !0 : $ = [], Ie++;
|
|
396
401
|
try {
|
|
397
402
|
const r = e();
|
|
398
403
|
return gn(n), r;
|
|
399
404
|
} catch (r) {
|
|
400
|
-
n || ($ = null),
|
|
405
|
+
n || ($ = null), P = null, et(r);
|
|
401
406
|
}
|
|
402
407
|
}
|
|
403
408
|
function gn(e) {
|
|
404
|
-
if (
|
|
409
|
+
if (P && (St(P), P = null), e)
|
|
405
410
|
return;
|
|
406
411
|
const t = $;
|
|
407
|
-
$ = null, t.length && R(() =>
|
|
412
|
+
$ = null, t.length && R(() => gt(t), !1);
|
|
408
413
|
}
|
|
409
|
-
function
|
|
414
|
+
function St(e) {
|
|
410
415
|
for (let t = 0; t < e.length; t++)
|
|
411
416
|
Ne(e[t]);
|
|
412
417
|
}
|
|
@@ -437,10 +442,10 @@ function Pe(e, t) {
|
|
|
437
442
|
}
|
|
438
443
|
}
|
|
439
444
|
}
|
|
440
|
-
function
|
|
445
|
+
function At(e) {
|
|
441
446
|
for (let t = 0; t < e.observers.length; t += 1) {
|
|
442
447
|
const n = e.observers[t];
|
|
443
|
-
n.state || (n.state = Ce, n.pure ?
|
|
448
|
+
n.state || (n.state = Ce, n.pure ? P.push(n) : $.push(n), n.observers && At(n));
|
|
444
449
|
}
|
|
445
450
|
}
|
|
446
451
|
function _e(e) {
|
|
@@ -465,13 +470,13 @@ function _e(e) {
|
|
|
465
470
|
}
|
|
466
471
|
e.state = 0;
|
|
467
472
|
}
|
|
468
|
-
function
|
|
473
|
+
function Et(e) {
|
|
469
474
|
return e instanceof Error ? e : new Error(typeof e == "string" ? e : "Unknown error", {
|
|
470
475
|
cause: e
|
|
471
476
|
});
|
|
472
477
|
}
|
|
473
478
|
function et(e, t = y) {
|
|
474
|
-
throw
|
|
479
|
+
throw Et(e);
|
|
475
480
|
}
|
|
476
481
|
function De(e) {
|
|
477
482
|
if (typeof e == "function" && !e.length)
|
|
@@ -490,10 +495,10 @@ function mn(e, t) {
|
|
|
490
495
|
return function(r) {
|
|
491
496
|
let i;
|
|
492
497
|
return G(
|
|
493
|
-
() => i =
|
|
498
|
+
() => i = O(() => (y.context = {
|
|
494
499
|
...y.context,
|
|
495
500
|
[e]: r.value
|
|
496
|
-
},
|
|
501
|
+
}, pt(() => r.children))),
|
|
497
502
|
void 0
|
|
498
503
|
), i;
|
|
499
504
|
};
|
|
@@ -507,8 +512,8 @@ function pn(e, t, n = {}) {
|
|
|
507
512
|
let r = [], i = [], s = [], o = 0, a = t.length > 1 ? [] : null;
|
|
508
513
|
return le(() => Te(s)), () => {
|
|
509
514
|
let u = e() || [], f, l;
|
|
510
|
-
return u[
|
|
511
|
-
let d = u.length, m, w,
|
|
515
|
+
return u[yt], O(() => {
|
|
516
|
+
let d = u.length, m, w, E, M, U, C, b, k, T;
|
|
512
517
|
if (d === 0)
|
|
513
518
|
o !== 0 && (Te(s), s = [], r = [], i = [], o = 0, a && (a = [])), n.fallback && (r = [qe], i[0] = z((Re) => (s[0] = Re, n.fallback())), o = 1);
|
|
514
519
|
else if (o === 0) {
|
|
@@ -516,23 +521,23 @@ function pn(e, t, n = {}) {
|
|
|
516
521
|
r[l] = u[l], i[l] = z(c);
|
|
517
522
|
o = d;
|
|
518
523
|
} else {
|
|
519
|
-
for (
|
|
524
|
+
for (E = new Array(d), M = new Array(d), a && (U = new Array(d)), C = 0, b = Math.min(o, d); C < b && r[C] === u[C]; C++)
|
|
520
525
|
;
|
|
521
|
-
for (b = o - 1,
|
|
522
|
-
|
|
523
|
-
for (m = /* @__PURE__ */ new Map(), w = new Array(
|
|
524
|
-
|
|
525
|
-
for (f =
|
|
526
|
-
|
|
527
|
-
for (l =
|
|
528
|
-
l in
|
|
526
|
+
for (b = o - 1, k = d - 1; b >= C && k >= C && r[b] === u[k]; b--, k--)
|
|
527
|
+
E[k] = i[b], M[k] = s[b], a && (U[k] = a[b]);
|
|
528
|
+
for (m = /* @__PURE__ */ new Map(), w = new Array(k + 1), l = k; l >= C; l--)
|
|
529
|
+
T = u[l], f = m.get(T), w[l] = f === void 0 ? -1 : f, m.set(T, l);
|
|
530
|
+
for (f = C; f <= b; f++)
|
|
531
|
+
T = r[f], l = m.get(T), l !== void 0 && l !== -1 ? (E[l] = i[f], M[l] = s[f], a && (U[l] = a[f]), l = w[l], m.set(T, l)) : s[f]();
|
|
532
|
+
for (l = C; l < d; l++)
|
|
533
|
+
l in E ? (i[l] = E[l], s[l] = M[l], a && (a[l] = U[l], a[l](l))) : i[l] = z(c);
|
|
529
534
|
i = i.slice(0, o = d), r = u.slice(0);
|
|
530
535
|
}
|
|
531
536
|
return i;
|
|
532
537
|
});
|
|
533
538
|
function c(d) {
|
|
534
539
|
if (s[l] = d, a) {
|
|
535
|
-
const [m, w] =
|
|
540
|
+
const [m, w] = I(l);
|
|
536
541
|
return a[l] = w, t(u[l], m);
|
|
537
542
|
}
|
|
538
543
|
return t(u[l]);
|
|
@@ -543,7 +548,7 @@ function wn(e, t, n = {}) {
|
|
|
543
548
|
let r = [], i = [], s = [], o = [], a = 0, u;
|
|
544
549
|
return le(() => Te(s)), () => {
|
|
545
550
|
const f = e() || [];
|
|
546
|
-
return f[
|
|
551
|
+
return f[yt], O(() => {
|
|
547
552
|
if (f.length === 0)
|
|
548
553
|
return a !== 0 && (Te(s), s = [], r = [], i = [], a = 0, o = []), n.fallback && (r = [qe], i[0] = z((c) => (s[0] = c, n.fallback())), a = 1), i;
|
|
549
554
|
for (r[0] === qe && (s[0](), s = [], r = [], i = [], a = 0), u = 0; u < f.length; u++)
|
|
@@ -554,13 +559,13 @@ function wn(e, t, n = {}) {
|
|
|
554
559
|
});
|
|
555
560
|
function l(c) {
|
|
556
561
|
s[u] = c;
|
|
557
|
-
const [d, m] =
|
|
562
|
+
const [d, m] = I(f[u]);
|
|
558
563
|
return o[u] = m, t(d, u);
|
|
559
564
|
}
|
|
560
565
|
};
|
|
561
566
|
}
|
|
562
567
|
function bn(e, t) {
|
|
563
|
-
return
|
|
568
|
+
return O(() => e(t || {}));
|
|
564
569
|
}
|
|
565
570
|
function pe() {
|
|
566
571
|
return !0;
|
|
@@ -603,7 +608,7 @@ function An(...e) {
|
|
|
603
608
|
let t = !1;
|
|
604
609
|
for (let s = 0; s < e.length; s++) {
|
|
605
610
|
const o = e[s];
|
|
606
|
-
t = t || !!o && xe in o, e[s] = typeof o == "function" ? (t = !0,
|
|
611
|
+
t = t || !!o && xe in o, e[s] = typeof o == "function" ? (t = !0, _(o)) : o;
|
|
607
612
|
}
|
|
608
613
|
if (t)
|
|
609
614
|
return new Proxy(
|
|
@@ -703,17 +708,17 @@ function xn(e) {
|
|
|
703
708
|
const r = (i) => {
|
|
704
709
|
const s = h.context;
|
|
705
710
|
if (s) {
|
|
706
|
-
const [a, u] =
|
|
711
|
+
const [a, u] = I();
|
|
707
712
|
h.count || (h.count = 0), h.count++, (n || (n = e())).then((f) => {
|
|
708
713
|
ae(s), h.count--, u(() => f.default), ae();
|
|
709
714
|
}), t = a;
|
|
710
715
|
} else if (!t) {
|
|
711
|
-
const [a] =
|
|
716
|
+
const [a] = un(() => (n || (n = e())).then((u) => u.default));
|
|
712
717
|
t = a;
|
|
713
718
|
}
|
|
714
719
|
let o;
|
|
715
|
-
return
|
|
716
|
-
() => (o = t()) &&
|
|
720
|
+
return _(
|
|
721
|
+
() => (o = t()) && O(() => {
|
|
717
722
|
if (!s)
|
|
718
723
|
return o(i);
|
|
719
724
|
const a = h.context;
|
|
@@ -730,33 +735,33 @@ function Kr() {
|
|
|
730
735
|
const e = h.context;
|
|
731
736
|
return e ? `${e.id}${e.count++}` : `cl-${On++}`;
|
|
732
737
|
}
|
|
733
|
-
var
|
|
738
|
+
var xt = (e) => `Stale read from <${e}>.`;
|
|
734
739
|
function zr(e) {
|
|
735
740
|
const t = "fallback" in e && {
|
|
736
741
|
fallback: () => e.fallback
|
|
737
742
|
};
|
|
738
|
-
return
|
|
743
|
+
return _(pn(() => e.each, e.children, t || void 0));
|
|
739
744
|
}
|
|
740
745
|
function Gr(e) {
|
|
741
746
|
const t = "fallback" in e && {
|
|
742
747
|
fallback: () => e.fallback
|
|
743
748
|
};
|
|
744
|
-
return
|
|
749
|
+
return _(wn(() => e.each, e.children, t || void 0));
|
|
745
750
|
}
|
|
746
751
|
function Hr(e) {
|
|
747
|
-
const t = e.keyed, n =
|
|
752
|
+
const t = e.keyed, n = _(() => e.when, void 0, {
|
|
748
753
|
equals: (r, i) => t ? r === i : !r == !i
|
|
749
754
|
});
|
|
750
|
-
return
|
|
755
|
+
return _(
|
|
751
756
|
() => {
|
|
752
757
|
const r = n();
|
|
753
758
|
if (r) {
|
|
754
759
|
const i = e.children;
|
|
755
|
-
return typeof i == "function" && i.length > 0 ?
|
|
760
|
+
return typeof i == "function" && i.length > 0 ? O(
|
|
756
761
|
() => i(
|
|
757
762
|
t ? r : () => {
|
|
758
|
-
if (!
|
|
759
|
-
throw
|
|
763
|
+
if (!O(n))
|
|
764
|
+
throw xt("Show");
|
|
760
765
|
return e.when;
|
|
761
766
|
}
|
|
762
767
|
)
|
|
@@ -770,7 +775,7 @@ function Hr(e) {
|
|
|
770
775
|
}
|
|
771
776
|
function Qr(e) {
|
|
772
777
|
let t = !1;
|
|
773
|
-
const n = (s, o) => s[0] === o[0] && (t ? s[1] === o[1] : !s[1] == !o[1]) && s[2] === o[2], r =
|
|
778
|
+
const n = (s, o) => s[0] === o[0] && (t ? s[1] === o[1] : !s[1] == !o[1]) && s[2] === o[2], r = pt(() => e.children), i = _(
|
|
774
779
|
() => {
|
|
775
780
|
let s = r();
|
|
776
781
|
Array.isArray(s) || (s = [s]);
|
|
@@ -786,17 +791,17 @@ function Qr(e) {
|
|
|
786
791
|
equals: n
|
|
787
792
|
}
|
|
788
793
|
);
|
|
789
|
-
return
|
|
794
|
+
return _(
|
|
790
795
|
() => {
|
|
791
796
|
const [s, o, a] = i();
|
|
792
797
|
if (s < 0)
|
|
793
798
|
return e.fallback;
|
|
794
799
|
const u = a.children;
|
|
795
|
-
return typeof u == "function" && u.length > 0 ?
|
|
800
|
+
return typeof u == "function" && u.length > 0 ? O(
|
|
796
801
|
() => u(
|
|
797
802
|
t ? o : () => {
|
|
798
|
-
if (
|
|
799
|
-
throw
|
|
803
|
+
if (O(i)[0] !== s)
|
|
804
|
+
throw xt("Match");
|
|
800
805
|
return a.when;
|
|
801
806
|
}
|
|
802
807
|
)
|
|
@@ -821,6 +826,7 @@ var Cn = [
|
|
|
821
826
|
"formnovalidate",
|
|
822
827
|
"hidden",
|
|
823
828
|
"indeterminate",
|
|
829
|
+
"inert",
|
|
824
830
|
"ismap",
|
|
825
831
|
"loop",
|
|
826
832
|
"multiple",
|
|
@@ -1029,7 +1035,7 @@ function Mn(e, t, n) {
|
|
|
1029
1035
|
}
|
|
1030
1036
|
}
|
|
1031
1037
|
}
|
|
1032
|
-
var
|
|
1038
|
+
var it = "_$DX_DELEGATE";
|
|
1033
1039
|
function Vn(e, t, n, r = {}) {
|
|
1034
1040
|
let i;
|
|
1035
1041
|
return z((s) => {
|
|
@@ -1043,11 +1049,11 @@ function Yr(e, t, n) {
|
|
|
1043
1049
|
const i = () => {
|
|
1044
1050
|
const o = document.createElement("template");
|
|
1045
1051
|
return o.innerHTML = e, n ? o.content.firstChild.firstChild : o.content.firstChild;
|
|
1046
|
-
}, s = t ? () =>
|
|
1052
|
+
}, s = t ? () => O(() => document.importNode(r || (r = i()), !0)) : () => (r || (r = i())).cloneNode(!0);
|
|
1047
1053
|
return s.cloneNode = s, s;
|
|
1048
1054
|
}
|
|
1049
1055
|
function $n(e, t = window.document) {
|
|
1050
|
-
const n = t[
|
|
1056
|
+
const n = t[it] || (t[it] = /* @__PURE__ */ new Set());
|
|
1051
1057
|
for (let r = 0, i = e.length; r < i; r++) {
|
|
1052
1058
|
const s = e[r];
|
|
1053
1059
|
n.has(s) || (n.add(s), t.addEventListener(s, Hn));
|
|
@@ -1076,11 +1082,11 @@ function Dn(e, t, n = {}) {
|
|
|
1076
1082
|
let s, o;
|
|
1077
1083
|
for (s = 0, o = i.length; s < o; s++) {
|
|
1078
1084
|
const a = i[s];
|
|
1079
|
-
!a || a === "undefined" || t[a] || (
|
|
1085
|
+
!a || a === "undefined" || t[a] || (st(e, a, !1), delete n[a]);
|
|
1080
1086
|
}
|
|
1081
1087
|
for (s = 0, o = r.length; s < o; s++) {
|
|
1082
1088
|
const a = r[s], u = !!t[a];
|
|
1083
|
-
!a || a === "undefined" || n[a] === u || !u || (
|
|
1089
|
+
!a || a === "undefined" || n[a] === u || !u || (st(e, a, !0), n[a] = u);
|
|
1084
1090
|
}
|
|
1085
1091
|
return n;
|
|
1086
1092
|
}
|
|
@@ -1105,7 +1111,7 @@ function Fn(e, t = {}, n, r) {
|
|
|
1105
1111
|
), G(() => t.ref && t.ref(e)), G(() => Kn(e, t, n, !0, i, !0)), i;
|
|
1106
1112
|
}
|
|
1107
1113
|
function Wr(e, t, n) {
|
|
1108
|
-
return
|
|
1114
|
+
return O(() => e(t, n));
|
|
1109
1115
|
}
|
|
1110
1116
|
function ze(e, t, n, r) {
|
|
1111
1117
|
if (n !== void 0 && !r && (r = []), typeof t != "function")
|
|
@@ -1118,7 +1124,7 @@ function Kn(e, t, n, r, i = {}, s = !1) {
|
|
|
1118
1124
|
if (!(o in t)) {
|
|
1119
1125
|
if (o === "children")
|
|
1120
1126
|
continue;
|
|
1121
|
-
i[o] =
|
|
1127
|
+
i[o] = ot(e, o, null, i[o], n, s);
|
|
1122
1128
|
}
|
|
1123
1129
|
for (const o in t) {
|
|
1124
1130
|
if (o === "children") {
|
|
@@ -1126,7 +1132,7 @@ function Kn(e, t, n, r, i = {}, s = !1) {
|
|
|
1126
1132
|
continue;
|
|
1127
1133
|
}
|
|
1128
1134
|
const a = t[o];
|
|
1129
|
-
i[o] =
|
|
1135
|
+
i[o] = ot(e, o, a, i[o], n, s);
|
|
1130
1136
|
}
|
|
1131
1137
|
}
|
|
1132
1138
|
function zn(e) {
|
|
@@ -1136,12 +1142,12 @@ function zn(e) {
|
|
|
1136
1142
|
function Gn(e) {
|
|
1137
1143
|
return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
|
|
1138
1144
|
}
|
|
1139
|
-
function
|
|
1145
|
+
function st(e, t, n) {
|
|
1140
1146
|
const r = t.trim().split(/\s+/);
|
|
1141
1147
|
for (let i = 0, s = r.length; i < s; i++)
|
|
1142
1148
|
e.classList.toggle(r[i], n);
|
|
1143
1149
|
}
|
|
1144
|
-
function
|
|
1150
|
+
function ot(e, t, n, r, i, s) {
|
|
1145
1151
|
let o, a, u, f, l;
|
|
1146
1152
|
if (t === "style")
|
|
1147
1153
|
return qn(e, n, r);
|
|
@@ -1252,7 +1258,7 @@ function ie(e, t, n, r, i) {
|
|
|
1252
1258
|
if (n = Q(e, n, r), o)
|
|
1253
1259
|
return n;
|
|
1254
1260
|
} else
|
|
1255
|
-
u ? n.length === 0 ?
|
|
1261
|
+
u ? n.length === 0 ? at(e, a, r) : Mn(e, n, a) : (n && Q(e), at(e, a));
|
|
1256
1262
|
n = a;
|
|
1257
1263
|
} else if (t.nodeType) {
|
|
1258
1264
|
if (h.context && t.parentNode)
|
|
@@ -1295,7 +1301,7 @@ function Ge(e, t, n, r) {
|
|
|
1295
1301
|
}
|
|
1296
1302
|
return i;
|
|
1297
1303
|
}
|
|
1298
|
-
function
|
|
1304
|
+
function at(e, t, n = null) {
|
|
1299
1305
|
for (let r = 0, i = t.length; r < i; r++)
|
|
1300
1306
|
e.insertBefore(t[r], n);
|
|
1301
1307
|
}
|
|
@@ -1322,21 +1328,21 @@ function Qn() {
|
|
|
1322
1328
|
return `${e.id}${e.count++}`;
|
|
1323
1329
|
}
|
|
1324
1330
|
var Xn = "http://www.w3.org/2000/svg";
|
|
1325
|
-
function
|
|
1331
|
+
function Ot(e, t = !1) {
|
|
1326
1332
|
return t ? document.createElementNS(Xn, e) : document.createElement(e);
|
|
1327
1333
|
}
|
|
1328
1334
|
function Zr(e) {
|
|
1329
|
-
const { useShadow: t } = e, n = document.createTextNode(""), r = () => e.mount || document.body, i =
|
|
1335
|
+
const { useShadow: t } = e, n = document.createTextNode(""), r = () => e.mount || document.body, i = rt();
|
|
1330
1336
|
let s, o = !!h.context;
|
|
1331
|
-
return
|
|
1337
|
+
return mt(
|
|
1332
1338
|
() => {
|
|
1333
|
-
o && (
|
|
1339
|
+
o && (rt().user = o = !1), s || (s = fn(i, () => _(() => e.children)));
|
|
1334
1340
|
const a = r();
|
|
1335
1341
|
if (a instanceof HTMLHeadElement) {
|
|
1336
|
-
const [u, f] =
|
|
1342
|
+
const [u, f] = I(!1), l = () => f(!0);
|
|
1337
1343
|
z((c) => ze(a, () => u() ? c() : s(), null)), le(l);
|
|
1338
1344
|
} else {
|
|
1339
|
-
const u =
|
|
1345
|
+
const u = Ot(e.isSVG ? "g" : "div", e.isSVG), f = t && u.attachShadow ? u.attachShadow({
|
|
1340
1346
|
mode: "open"
|
|
1341
1347
|
}) : u;
|
|
1342
1348
|
Object.defineProperty(u, "_$host", {
|
|
@@ -1354,14 +1360,14 @@ function Zr(e) {
|
|
|
1354
1360
|
), n;
|
|
1355
1361
|
}
|
|
1356
1362
|
function Jr(e) {
|
|
1357
|
-
const [t, n] = En(e, ["component"]), r =
|
|
1358
|
-
return
|
|
1363
|
+
const [t, n] = En(e, ["component"]), r = _(() => t.component);
|
|
1364
|
+
return _(() => {
|
|
1359
1365
|
const i = r();
|
|
1360
1366
|
switch (typeof i) {
|
|
1361
1367
|
case "function":
|
|
1362
|
-
return
|
|
1368
|
+
return O(() => i(n));
|
|
1363
1369
|
case "string":
|
|
1364
|
-
const s = Ln.has(i), o = h.context ? zn() :
|
|
1370
|
+
const s = Ln.has(i), o = h.context ? zn() : Ot(i, s);
|
|
1365
1371
|
return Fn(o, n, s), o;
|
|
1366
1372
|
}
|
|
1367
1373
|
});
|
|
@@ -1382,7 +1388,7 @@ var Yn = (
|
|
|
1382
1388
|
this.keyToValue.clear(), this.valueToKey.clear();
|
|
1383
1389
|
}, e;
|
|
1384
1390
|
}()
|
|
1385
|
-
),
|
|
1391
|
+
), Ct = (
|
|
1386
1392
|
/** @class */
|
|
1387
1393
|
function() {
|
|
1388
1394
|
function e(t) {
|
|
@@ -1431,7 +1437,7 @@ var Yn = (
|
|
|
1431
1437
|
}, t.prototype.getAllowedProps = function(n) {
|
|
1432
1438
|
return this.classToAllowedProps.get(n);
|
|
1433
1439
|
}, t;
|
|
1434
|
-
}(
|
|
1440
|
+
}(Ct)
|
|
1435
1441
|
), Jn = function(e, t) {
|
|
1436
1442
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
1437
1443
|
if (!n)
|
|
@@ -1479,7 +1485,7 @@ function se(e, t) {
|
|
|
1479
1485
|
function Ee(e, t) {
|
|
1480
1486
|
return e.indexOf(t) !== -1;
|
|
1481
1487
|
}
|
|
1482
|
-
function
|
|
1488
|
+
function ut(e, t) {
|
|
1483
1489
|
for (var n = 0; n < e.length; n++) {
|
|
1484
1490
|
var r = e[n];
|
|
1485
1491
|
if (t(r))
|
|
@@ -1504,7 +1510,7 @@ var nr = (
|
|
|
1504
1510
|
}()
|
|
1505
1511
|
), rr = function(e) {
|
|
1506
1512
|
return Object.prototype.toString.call(e).slice(8, -1);
|
|
1507
|
-
},
|
|
1513
|
+
}, Nt = function(e) {
|
|
1508
1514
|
return typeof e > "u";
|
|
1509
1515
|
}, ir = function(e) {
|
|
1510
1516
|
return e === null;
|
|
@@ -1526,16 +1532,16 @@ var nr = (
|
|
|
1526
1532
|
return e instanceof Map;
|
|
1527
1533
|
}, de = function(e) {
|
|
1528
1534
|
return e instanceof Set;
|
|
1529
|
-
},
|
|
1535
|
+
}, Pt = function(e) {
|
|
1530
1536
|
return rr(e) === "Symbol";
|
|
1531
1537
|
}, lr = function(e) {
|
|
1532
1538
|
return e instanceof Date && !isNaN(e.valueOf());
|
|
1533
1539
|
}, fr = function(e) {
|
|
1534
1540
|
return e instanceof Error;
|
|
1535
|
-
},
|
|
1541
|
+
}, lt = function(e) {
|
|
1536
1542
|
return typeof e == "number" && isNaN(e);
|
|
1537
1543
|
}, cr = function(e) {
|
|
1538
|
-
return ar(e) || ir(e) ||
|
|
1544
|
+
return ar(e) || ir(e) || Nt(e) || or(e) || sr(e) || Pt(e);
|
|
1539
1545
|
}, dr = function(e) {
|
|
1540
1546
|
return typeof e == "bigint";
|
|
1541
1547
|
}, hr = function(e) {
|
|
@@ -1544,10 +1550,10 @@ var nr = (
|
|
|
1544
1550
|
return ArrayBuffer.isView(e) && !(e instanceof DataView);
|
|
1545
1551
|
}, gr = function(e) {
|
|
1546
1552
|
return e instanceof URL;
|
|
1547
|
-
},
|
|
1553
|
+
}, Tt = function(e) {
|
|
1548
1554
|
return e.replace(/\./g, "\\.");
|
|
1549
1555
|
}, je = function(e) {
|
|
1550
|
-
return e.map(String).map(
|
|
1556
|
+
return e.map(String).map(Tt).join(".");
|
|
1551
1557
|
}, ue = function(e) {
|
|
1552
1558
|
for (var t = [], n = "", r = 0; r < e.length; r++) {
|
|
1553
1559
|
var i = e.charAt(r), s = i === "\\" && e.charAt(r + 1) === ".";
|
|
@@ -1605,8 +1611,8 @@ function L(e, t, n, r) {
|
|
|
1605
1611
|
untransform: r
|
|
1606
1612
|
};
|
|
1607
1613
|
}
|
|
1608
|
-
var
|
|
1609
|
-
L(
|
|
1614
|
+
var It = [
|
|
1615
|
+
L(Nt, "undefined", function() {
|
|
1610
1616
|
return null;
|
|
1611
1617
|
}, function() {
|
|
1612
1618
|
}),
|
|
@@ -1658,9 +1664,9 @@ var kt = [
|
|
|
1658
1664
|
return new Map(e);
|
|
1659
1665
|
}),
|
|
1660
1666
|
L(function(e) {
|
|
1661
|
-
return
|
|
1667
|
+
return lt(e) || hr(e);
|
|
1662
1668
|
}, "number", function(e) {
|
|
1663
|
-
return
|
|
1669
|
+
return lt(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity";
|
|
1664
1670
|
}, Number),
|
|
1665
1671
|
L(function(e) {
|
|
1666
1672
|
return e === 0 && 1 / e === -1 / 0;
|
|
@@ -1681,8 +1687,8 @@ function Le(e, t, n, r) {
|
|
|
1681
1687
|
untransform: r
|
|
1682
1688
|
};
|
|
1683
1689
|
}
|
|
1684
|
-
var
|
|
1685
|
-
if (
|
|
1690
|
+
var kt = Le(function(e, t) {
|
|
1691
|
+
if (Pt(e)) {
|
|
1686
1692
|
var n = !!t.symbolRegistry.getIdentifier(e);
|
|
1687
1693
|
return n;
|
|
1688
1694
|
}
|
|
@@ -1709,7 +1715,7 @@ var _t = Le(function(e, t) {
|
|
|
1709
1715
|
Uint8ClampedArray
|
|
1710
1716
|
].reduce(function(e, t) {
|
|
1711
1717
|
return e[t.name] = t, e;
|
|
1712
|
-
}, {}),
|
|
1718
|
+
}, {}), _t = Le(yr, function(e) {
|
|
1713
1719
|
return ["typed-array", e.constructor.name];
|
|
1714
1720
|
}, function(e) {
|
|
1715
1721
|
return Ye([], Xe(e));
|
|
@@ -1719,14 +1725,14 @@ var _t = Le(function(e, t) {
|
|
|
1719
1725
|
throw new Error("Trying to deserialize unknown typed array");
|
|
1720
1726
|
return new n(e);
|
|
1721
1727
|
});
|
|
1722
|
-
function
|
|
1728
|
+
function Lt(e, t) {
|
|
1723
1729
|
if (e != null && e.constructor) {
|
|
1724
1730
|
var n = !!t.classRegistry.getIdentifier(e.constructor);
|
|
1725
1731
|
return n;
|
|
1726
1732
|
}
|
|
1727
1733
|
return !1;
|
|
1728
1734
|
}
|
|
1729
|
-
var
|
|
1735
|
+
var Rt = Le(Lt, function(e, t) {
|
|
1730
1736
|
var n = t.classRegistry.getIdentifier(e.constructor);
|
|
1731
1737
|
return ["class", n];
|
|
1732
1738
|
}, function(e, t) {
|
|
@@ -1742,7 +1748,7 @@ var Mt = Le(Rt, function(e, t) {
|
|
|
1742
1748
|
if (!r)
|
|
1743
1749
|
throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");
|
|
1744
1750
|
return Object.assign(Object.create(r.prototype), e);
|
|
1745
|
-
}),
|
|
1751
|
+
}), Mt = Le(function(e, t) {
|
|
1746
1752
|
return !!t.customTransformerRegistry.findApplicable(e);
|
|
1747
1753
|
}, function(e, t) {
|
|
1748
1754
|
var n = t.customTransformerRegistry.findApplicable(e);
|
|
@@ -1755,8 +1761,8 @@ var Mt = Le(Rt, function(e, t) {
|
|
|
1755
1761
|
if (!r)
|
|
1756
1762
|
throw new Error("Trying to deserialize unknown custom value");
|
|
1757
1763
|
return r.deserialize(e);
|
|
1758
|
-
}), mr = [
|
|
1759
|
-
var n =
|
|
1764
|
+
}), mr = [Rt, kt, Mt, _t], ft = function(e, t) {
|
|
1765
|
+
var n = ut(mr, function(i) {
|
|
1760
1766
|
return i.isApplicable(e, t);
|
|
1761
1767
|
});
|
|
1762
1768
|
if (n)
|
|
@@ -1764,7 +1770,7 @@ var Mt = Le(Rt, function(e, t) {
|
|
|
1764
1770
|
value: n.transform(e, t),
|
|
1765
1771
|
type: n.annotation(e, t)
|
|
1766
1772
|
};
|
|
1767
|
-
var r =
|
|
1773
|
+
var r = ut(It, function(i) {
|
|
1768
1774
|
return i.isApplicable(e, t);
|
|
1769
1775
|
});
|
|
1770
1776
|
if (r)
|
|
@@ -1772,26 +1778,26 @@ var Mt = Le(Rt, function(e, t) {
|
|
|
1772
1778
|
value: r.transform(e, t),
|
|
1773
1779
|
type: r.annotation
|
|
1774
1780
|
};
|
|
1775
|
-
},
|
|
1776
|
-
|
|
1777
|
-
|
|
1781
|
+
}, Vt = {};
|
|
1782
|
+
It.forEach(function(e) {
|
|
1783
|
+
Vt[e.annotation] = e;
|
|
1778
1784
|
});
|
|
1779
1785
|
var pr = function(e, t, n) {
|
|
1780
1786
|
if (q(t))
|
|
1781
1787
|
switch (t[0]) {
|
|
1782
1788
|
case "symbol":
|
|
1783
|
-
return
|
|
1789
|
+
return kt.untransform(e, t, n);
|
|
1784
1790
|
case "class":
|
|
1785
|
-
return
|
|
1791
|
+
return Rt.untransform(e, t, n);
|
|
1786
1792
|
case "custom":
|
|
1787
|
-
return
|
|
1793
|
+
return Mt.untransform(e, t, n);
|
|
1788
1794
|
case "typed-array":
|
|
1789
|
-
return
|
|
1795
|
+
return _t.untransform(e, t, n);
|
|
1790
1796
|
default:
|
|
1791
1797
|
throw new Error("Unknown transformation: " + t);
|
|
1792
1798
|
}
|
|
1793
1799
|
else {
|
|
1794
|
-
var r =
|
|
1800
|
+
var r = Vt[t];
|
|
1795
1801
|
if (!r)
|
|
1796
1802
|
throw new Error("Unknown transformation: " + t);
|
|
1797
1803
|
return r.untransform(e, n);
|
|
@@ -1801,7 +1807,7 @@ var pr = function(e, t, n) {
|
|
|
1801
1807
|
n.next(), t--;
|
|
1802
1808
|
return n.next().value;
|
|
1803
1809
|
};
|
|
1804
|
-
function
|
|
1810
|
+
function $t(e) {
|
|
1805
1811
|
if (Ee(e, "__proto__"))
|
|
1806
1812
|
throw new Error("__proto__ is not allowed as a property");
|
|
1807
1813
|
if (Ee(e, "prototype"))
|
|
@@ -1810,7 +1816,7 @@ function Bt(e) {
|
|
|
1810
1816
|
throw new Error("constructor is not allowed as a property");
|
|
1811
1817
|
}
|
|
1812
1818
|
var wr = function(e, t) {
|
|
1813
|
-
|
|
1819
|
+
$t(t);
|
|
1814
1820
|
for (var n = 0; n < t.length; n++) {
|
|
1815
1821
|
var r = t[n];
|
|
1816
1822
|
if (de(e))
|
|
@@ -1830,7 +1836,7 @@ var wr = function(e, t) {
|
|
|
1830
1836
|
}
|
|
1831
1837
|
return e;
|
|
1832
1838
|
}, We = function(e, t, n) {
|
|
1833
|
-
if (
|
|
1839
|
+
if ($t(t), t.length === 0)
|
|
1834
1840
|
return n(e);
|
|
1835
1841
|
for (var r = e, i = 0; i < t.length - 1; i++) {
|
|
1836
1842
|
var s = t[i];
|
|
@@ -1866,8 +1872,8 @@ var wr = function(e, t) {
|
|
|
1866
1872
|
var a = +t[t.length - 2], w = X(r, a), f = +c == 0 ? "key" : "value";
|
|
1867
1873
|
switch (f) {
|
|
1868
1874
|
case "key": {
|
|
1869
|
-
var
|
|
1870
|
-
r.set(
|
|
1875
|
+
var E = n(w);
|
|
1876
|
+
r.set(E, r.get(w)), E !== w && r.delete(w);
|
|
1871
1877
|
break;
|
|
1872
1878
|
}
|
|
1873
1879
|
case "value": {
|
|
@@ -1943,7 +1949,7 @@ function Sr(e, t) {
|
|
|
1943
1949
|
return e;
|
|
1944
1950
|
}
|
|
1945
1951
|
var Ar = function(e, t) {
|
|
1946
|
-
return fe(e) || q(e) || ce(e) || de(e) ||
|
|
1952
|
+
return fe(e) || q(e) || ce(e) || de(e) || Lt(e, t);
|
|
1947
1953
|
};
|
|
1948
1954
|
function Er(e, t, n) {
|
|
1949
1955
|
var r = n.get(e);
|
|
@@ -1963,7 +1969,7 @@ function xr(e, t) {
|
|
|
1963
1969
|
}
|
|
1964
1970
|
}), r ? He(n) ? [r] : [r, n] : He(n) ? void 0 : n;
|
|
1965
1971
|
}
|
|
1966
|
-
var
|
|
1972
|
+
var Bt = function(e, t, n, r, i, s, o) {
|
|
1967
1973
|
var a;
|
|
1968
1974
|
i === void 0 && (i = []), s === void 0 && (s = []), o === void 0 && (o = /* @__PURE__ */ new Map());
|
|
1969
1975
|
var u = cr(e);
|
|
@@ -1976,7 +1982,7 @@ var Ut = function(e, t, n, r, i, s, o) {
|
|
|
1976
1982
|
} : f;
|
|
1977
1983
|
}
|
|
1978
1984
|
if (!Ar(e, n)) {
|
|
1979
|
-
var l =
|
|
1985
|
+
var l = ft(e, n), c = l ? {
|
|
1980
1986
|
transformedValue: l.value,
|
|
1981
1987
|
annotations: [l.type]
|
|
1982
1988
|
} : {
|
|
@@ -1988,33 +1994,33 @@ var Ut = function(e, t, n, r, i, s, o) {
|
|
|
1988
1994
|
return {
|
|
1989
1995
|
transformedValue: null
|
|
1990
1996
|
};
|
|
1991
|
-
var d =
|
|
1992
|
-
se(m, function(U,
|
|
1993
|
-
var b =
|
|
1994
|
-
w[
|
|
1995
|
-
|
|
1997
|
+
var d = ft(e, n), m = (a = d == null ? void 0 : d.value) !== null && a !== void 0 ? a : e, w = q(m) ? [] : {}, E = {};
|
|
1998
|
+
se(m, function(U, C) {
|
|
1999
|
+
var b = Bt(U, t, n, r, D(D([], V(i)), [C]), D(D([], V(s)), [e]), o);
|
|
2000
|
+
w[C] = b.transformedValue, q(b.annotations) ? E[C] = b.annotations : fe(b.annotations) && se(b.annotations, function(k, T) {
|
|
2001
|
+
E[Tt(C) + "." + T] = k;
|
|
1996
2002
|
});
|
|
1997
2003
|
});
|
|
1998
|
-
var M = He(
|
|
2004
|
+
var M = He(E) ? {
|
|
1999
2005
|
transformedValue: w,
|
|
2000
2006
|
annotations: d ? [d.type] : void 0
|
|
2001
2007
|
} : {
|
|
2002
2008
|
transformedValue: w,
|
|
2003
|
-
annotations: d ? [d.type,
|
|
2009
|
+
annotations: d ? [d.type, E] : E
|
|
2004
2010
|
};
|
|
2005
2011
|
return u || o.set(e, M), M;
|
|
2006
2012
|
};
|
|
2007
|
-
function
|
|
2013
|
+
function Ut(e) {
|
|
2008
2014
|
return Object.prototype.toString.call(e).slice(8, -1);
|
|
2009
2015
|
}
|
|
2010
2016
|
function Or(e) {
|
|
2011
|
-
if (
|
|
2017
|
+
if (Ut(e) !== "Object")
|
|
2012
2018
|
return !1;
|
|
2013
2019
|
const t = Object.getPrototypeOf(e);
|
|
2014
2020
|
return !!t && t.constructor === Object && t === Object.prototype;
|
|
2015
2021
|
}
|
|
2016
|
-
function
|
|
2017
|
-
return
|
|
2022
|
+
function ct(e) {
|
|
2023
|
+
return Ut(e) === "Array";
|
|
2018
2024
|
}
|
|
2019
2025
|
function Cr(e, t, n, r, i) {
|
|
2020
2026
|
const s = {}.propertyIsEnumerable.call(r, t) ? "enumerable" : "nonenumerable";
|
|
@@ -2026,13 +2032,13 @@ function Cr(e, t, n, r, i) {
|
|
|
2026
2032
|
});
|
|
2027
2033
|
}
|
|
2028
2034
|
function Je(e, t = {}) {
|
|
2029
|
-
if (
|
|
2035
|
+
if (ct(e))
|
|
2030
2036
|
return e.map((i) => Je(i, t));
|
|
2031
2037
|
if (!Or(e))
|
|
2032
2038
|
return e;
|
|
2033
2039
|
const n = Object.getOwnPropertyNames(e), r = Object.getOwnPropertySymbols(e);
|
|
2034
2040
|
return [...n, ...r].reduce((i, s) => {
|
|
2035
|
-
if (
|
|
2041
|
+
if (ct(t.props) && !t.props.includes(s))
|
|
2036
2042
|
return i;
|
|
2037
2043
|
const o = e[s], a = Je(o, t);
|
|
2038
2044
|
return Cr(i, s, a, e, t.nonenumerable), i;
|
|
@@ -2070,18 +2076,18 @@ var F = function() {
|
|
|
2070
2076
|
for (var n = 0, r = t.length, i = e.length; n < r; n++, i++)
|
|
2071
2077
|
e[i] = t[n];
|
|
2072
2078
|
return e;
|
|
2073
|
-
},
|
|
2079
|
+
}, jt = (
|
|
2074
2080
|
/** @class */
|
|
2075
2081
|
function() {
|
|
2076
2082
|
function e(t) {
|
|
2077
2083
|
var n = t === void 0 ? {} : t, r = n.dedupe, i = r === void 0 ? !1 : r;
|
|
2078
|
-
this.classRegistry = new Zn(), this.symbolRegistry = new
|
|
2084
|
+
this.classRegistry = new Zn(), this.symbolRegistry = new Ct(function(s) {
|
|
2079
2085
|
var o;
|
|
2080
2086
|
return (o = s.description) !== null && o !== void 0 ? o : "";
|
|
2081
2087
|
}), this.customTransformerRegistry = new nr(), this.allowedErrorProps = [], this.dedupe = i;
|
|
2082
2088
|
}
|
|
2083
2089
|
return e.prototype.serialize = function(t) {
|
|
2084
|
-
var n = /* @__PURE__ */ new Map(), r =
|
|
2090
|
+
var n = /* @__PURE__ */ new Map(), r = Bt(t, n, this, this.dedupe), i = {
|
|
2085
2091
|
json: r.transformedValue
|
|
2086
2092
|
};
|
|
2087
2093
|
r.annotations && (i.meta = F(F({}, i.meta), { values: r.annotations }));
|
|
@@ -2106,7 +2112,7 @@ var F = function() {
|
|
|
2106
2112
|
(t = this.allowedErrorProps).push.apply(t, Pr([], Nr(n)));
|
|
2107
2113
|
}, e.defaultInstance = new e(), e.serialize = e.defaultInstance.serialize.bind(e.defaultInstance), e.deserialize = e.defaultInstance.deserialize.bind(e.defaultInstance), e.stringify = e.defaultInstance.stringify.bind(e.defaultInstance), e.parse = e.defaultInstance.parse.bind(e.defaultInstance), e.registerClass = e.defaultInstance.registerClass.bind(e.defaultInstance), e.registerSymbol = e.defaultInstance.registerSymbol.bind(e.defaultInstance), e.registerCustom = e.defaultInstance.registerCustom.bind(e.defaultInstance), e.allowErrorProps = e.defaultInstance.allowErrorProps.bind(e.defaultInstance), e;
|
|
2108
2114
|
}()
|
|
2109
|
-
), Tr =
|
|
2115
|
+
), Tr = jt.serialize, ei = jt.stringify;
|
|
2110
2116
|
function ti(e) {
|
|
2111
2117
|
return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
|
|
2112
2118
|
}
|
|
@@ -2134,16 +2140,16 @@ var oi = (e, t = !1) => {
|
|
|
2134
2140
|
json: n
|
|
2135
2141
|
} = Tr(e);
|
|
2136
2142
|
return JSON.stringify(n, null, t ? 2 : void 0);
|
|
2137
|
-
}, we = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Ir = (e, t) => e.queryHash.localeCompare(t.queryHash),
|
|
2143
|
+
}, we = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Ir = (e, t) => e.queryHash.localeCompare(t.queryHash), Dt = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, kr = (e, t) => we(e) === we(t) ? Dt(e, t) : we(e) > we(t) ? 1 : -1, ai = {
|
|
2138
2144
|
status: kr,
|
|
2139
2145
|
"query hash": Ir,
|
|
2140
|
-
"last updated":
|
|
2141
|
-
}, be = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3,
|
|
2146
|
+
"last updated": Dt
|
|
2147
|
+
}, be = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, qt = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, _r = (e, t) => be(e) === be(t) ? qt(e, t) : be(e) > be(t) ? 1 : -1, ui = {
|
|
2142
2148
|
status: _r,
|
|
2143
|
-
"last updated":
|
|
2149
|
+
"last updated": qt
|
|
2144
2150
|
}, li = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), fi = () => {
|
|
2145
|
-
const [e, t] =
|
|
2146
|
-
return
|
|
2151
|
+
const [e, t] = I("dark");
|
|
2152
|
+
return ln(() => {
|
|
2147
2153
|
const n = window.matchMedia("(prefers-color-scheme: dark)");
|
|
2148
2154
|
t(n.matches ? "dark" : "light");
|
|
2149
2155
|
const r = (i) => {
|
|
@@ -2216,20 +2222,20 @@ var oi = (e, t = !1) => {
|
|
|
2216
2222
|
return;
|
|
2217
2223
|
const n = document.createElement("style"), r = document.createTextNode("");
|
|
2218
2224
|
n.appendChild(r), n.id = "_goober", n.setAttribute("nonce", e), document.head.appendChild(n);
|
|
2219
|
-
}, Z, he, ye, ge, K, ve, J, ee, te, ne, re, me,
|
|
2225
|
+
}, Z, he, ye, ge, K, ve, J, ee, te, ne, re, me, ht, Rr = (ht = class {
|
|
2220
2226
|
constructor(e) {
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2227
|
+
N(this, Z, void 0);
|
|
2228
|
+
N(this, he, void 0);
|
|
2229
|
+
N(this, ye, void 0);
|
|
2230
|
+
N(this, ge, void 0);
|
|
2231
|
+
N(this, K, !1);
|
|
2232
|
+
N(this, ve, void 0);
|
|
2233
|
+
N(this, J, void 0);
|
|
2234
|
+
N(this, ee, void 0);
|
|
2235
|
+
N(this, te, void 0);
|
|
2236
|
+
N(this, ne, void 0);
|
|
2237
|
+
N(this, re, void 0);
|
|
2238
|
+
N(this, me, void 0);
|
|
2233
2239
|
const {
|
|
2234
2240
|
client: t,
|
|
2235
2241
|
queryFlavor: n,
|
|
@@ -2241,7 +2247,7 @@ var oi = (e, t = !1) => {
|
|
|
2241
2247
|
errorTypes: u,
|
|
2242
2248
|
styleNonce: f
|
|
2243
2249
|
} = e;
|
|
2244
|
-
|
|
2250
|
+
A(this, Z, I(t)), A(this, ye, n), A(this, ge, r), A(this, he, i), A(this, ve, f), A(this, J, I(s)), A(this, ee, I(o)), A(this, te, I(a)), A(this, ne, I(u));
|
|
2245
2251
|
}
|
|
2246
2252
|
setButtonPosition(e) {
|
|
2247
2253
|
v(this, J)[1](e);
|
|
@@ -2264,7 +2270,7 @@ var oi = (e, t = !1) => {
|
|
|
2264
2270
|
const t = Vn(() => {
|
|
2265
2271
|
const [n] = v(this, J), [r] = v(this, ee), [i] = v(this, te), [s] = v(this, ne), [o] = v(this, Z);
|
|
2266
2272
|
let a;
|
|
2267
|
-
v(this, re) ? a = v(this, re) : (a = xn(() => import("./
|
|
2273
|
+
v(this, re) ? a = v(this, re) : (a = xn(() => import("./BSBCIQID-1QHEztpZ.js")), A(this, re, a)), Lr(v(this, ve));
|
|
2268
2274
|
const u = this;
|
|
2269
2275
|
return bn(a, An({
|
|
2270
2276
|
get queryFlavor() {
|
|
@@ -2294,16 +2300,16 @@ var oi = (e, t = !1) => {
|
|
|
2294
2300
|
}
|
|
2295
2301
|
}));
|
|
2296
2302
|
}, e);
|
|
2297
|
-
|
|
2303
|
+
A(this, K, !0), A(this, me, t);
|
|
2298
2304
|
}
|
|
2299
2305
|
unmount() {
|
|
2300
2306
|
var e;
|
|
2301
2307
|
if (!v(this, K))
|
|
2302
2308
|
throw new Error("Devtools is not mounted");
|
|
2303
|
-
(e = v(this, me)) == null || e.call(this),
|
|
2309
|
+
(e = v(this, me)) == null || e.call(this), A(this, K, !1);
|
|
2304
2310
|
}
|
|
2305
|
-
}, Z = new WeakMap(), he = new WeakMap(), ye = new WeakMap(), ge = new WeakMap(), K = new WeakMap(), ve = new WeakMap(), J = new WeakMap(), ee = new WeakMap(), te = new WeakMap(), ne = new WeakMap(), re = new WeakMap(), me = new WeakMap(),
|
|
2306
|
-
const ci = /* @__PURE__ */
|
|
2311
|
+
}, Z = new WeakMap(), he = new WeakMap(), ye = new WeakMap(), ge = new WeakMap(), K = new WeakMap(), ve = new WeakMap(), J = new WeakMap(), ee = new WeakMap(), te = new WeakMap(), ne = new WeakMap(), re = new WeakMap(), me = new WeakMap(), ht);
|
|
2312
|
+
const ci = /* @__PURE__ */ zt({
|
|
2307
2313
|
__name: "devtools",
|
|
2308
2314
|
props: {
|
|
2309
2315
|
initialIsOpen: { type: Boolean },
|
|
@@ -2314,24 +2320,24 @@ const ci = /* @__PURE__ */ Gt({
|
|
|
2314
2320
|
styleNonce: {}
|
|
2315
2321
|
},
|
|
2316
2322
|
setup(e) {
|
|
2317
|
-
const t = e, n =
|
|
2323
|
+
const t = e, n = Gt(), r = t.client || sn(), i = new Rr({
|
|
2318
2324
|
client: r,
|
|
2319
2325
|
queryFlavor: "Vue Query",
|
|
2320
2326
|
version: "5",
|
|
2321
|
-
onlineManager:
|
|
2327
|
+
onlineManager: tn,
|
|
2322
2328
|
buttonPosition: t.buttonPosition,
|
|
2323
2329
|
position: t.position,
|
|
2324
2330
|
initialIsOpen: t.initialIsOpen,
|
|
2325
2331
|
errorTypes: t.errorTypes,
|
|
2326
2332
|
styleNonce: t.styleNonce
|
|
2327
2333
|
});
|
|
2328
|
-
return
|
|
2334
|
+
return Ht(() => {
|
|
2329
2335
|
i.setButtonPosition(t.buttonPosition || "bottom-left"), i.setPosition(t.position || "bottom"), i.setInitialIsOpen(t.initialIsOpen), i.setErrorTypes(t.errorTypes || []);
|
|
2330
|
-
}),
|
|
2336
|
+
}), Qt(() => {
|
|
2331
2337
|
i.mount(n.value);
|
|
2332
|
-
}),
|
|
2338
|
+
}), Xt(() => {
|
|
2333
2339
|
i.unmount();
|
|
2334
|
-
}), (s, o) => (
|
|
2340
|
+
}), (s, o) => (Yt(), Wt("div", {
|
|
2335
2341
|
className: "tsqd-parent-container",
|
|
2336
2342
|
ref_key: "div",
|
|
2337
2343
|
ref: n
|
|
@@ -2349,7 +2355,7 @@ export {
|
|
|
2349
2355
|
ni as G,
|
|
2350
2356
|
ti as H,
|
|
2351
2357
|
Gr as I,
|
|
2352
|
-
|
|
2358
|
+
O as J,
|
|
2353
2359
|
z as K,
|
|
2354
2360
|
En as L,
|
|
2355
2361
|
jn as M,
|
|
@@ -2361,33 +2367,33 @@ export {
|
|
|
2361
2367
|
Hr as S,
|
|
2362
2368
|
Dr as T,
|
|
2363
2369
|
Jr as U,
|
|
2364
|
-
|
|
2370
|
+
pt as V,
|
|
2365
2371
|
nt as W,
|
|
2366
2372
|
ci as _,
|
|
2367
|
-
|
|
2373
|
+
_ as a,
|
|
2368
2374
|
bn as b,
|
|
2369
|
-
|
|
2375
|
+
I as c,
|
|
2370
2376
|
$n as d,
|
|
2371
|
-
|
|
2377
|
+
mt as e,
|
|
2372
2378
|
G as f,
|
|
2373
2379
|
fi as g,
|
|
2374
2380
|
Un as h,
|
|
2375
2381
|
ze as i,
|
|
2376
|
-
|
|
2382
|
+
Br as j,
|
|
2377
2383
|
Ke as k,
|
|
2378
2384
|
ri as l,
|
|
2379
2385
|
ui as m,
|
|
2380
2386
|
ii as n,
|
|
2381
|
-
|
|
2387
|
+
ln as o,
|
|
2382
2388
|
Fn as p,
|
|
2383
2389
|
An as q,
|
|
2384
2390
|
si as r,
|
|
2385
2391
|
ai as s,
|
|
2386
2392
|
oi as t,
|
|
2387
|
-
|
|
2393
|
+
$r as u,
|
|
2388
2394
|
le as v,
|
|
2389
|
-
|
|
2390
|
-
|
|
2395
|
+
yt as w,
|
|
2396
|
+
Ur as x,
|
|
2391
2397
|
Kr as y,
|
|
2392
2398
|
qr as z
|
|
2393
2399
|
};
|