@ahoo-wang/fetcher-react 3.9.1 → 3.9.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/index.es.js CHANGED
@@ -1,313 +1,313 @@
1
1
  var Z = Object.defineProperty;
2
- var s = (r, e) => Z(r, "name", { value: e, configurable: !0 });
2
+ var u = (r, e) => Z(r, "name", { value: e, configurable: !0 });
3
3
  import { c as S } from "react/compiler-runtime";
4
- import { useRef as I, useEffect as C, useState as M, useCallback as Q, useMemo as T, useReducer as ee, useSyncExternalStore as te, createContext as re, useContext as ne } from "react";
5
- import { jsx as p, Fragment as z } from "react/jsx-runtime";
6
- import { nameGenerator as se } from "@ahoo-wang/fetcher-eventbus";
7
- import { produce as ce } from "immer";
4
+ import { useRef as q, useEffect as C, useState as M, useCallback as Q, useMemo as U, useReducer as ee, useSyncExternalStore as te, createContext as re, useContext as ne } from "react";
5
+ import { jsx as I, Fragment as z } from "react/jsx-runtime";
6
+ import { nameGenerator as ce } from "@ahoo-wang/fetcher-eventbus";
7
+ import { produce as se } from "immer";
8
8
  import { fetcherRegistrar as ue, getFetcher as oe, JsonResultExtractor as le } from "@ahoo-wang/fetcher";
9
9
  import { JsonEventStreamResultExtractor as ie } from "@ahoo-wang/fetcher-eventstream";
10
- function $(r) {
11
- const e = I(r);
10
+ function L(r) {
11
+ const e = q(r);
12
12
  return e.current = r, e;
13
13
  }
14
- s($, "useLatest");
14
+ u(L, "useLatest");
15
15
  function k(r, e) {
16
16
  const t = S(19);
17
17
  if (e.leading === !1 && e.trailing === !1)
18
18
  throw new Error("useDebouncedCallback: at least one of leading or trailing must be true");
19
- const n = I(void 0), l = I(null), u = I(null), c = $(r), f = $(e);
20
- let o;
21
- t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ s(() => {
19
+ const n = q(void 0), s = q(null), o = q(null), c = L(r), i = L(e);
20
+ let l;
21
+ t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ u(() => {
22
22
  n.current !== void 0 && (clearTimeout(n.current), n.current = void 0);
23
- }, "t0"), t[0] = o) : o = t[0];
24
- const y = o;
25
- let a;
26
- t[1] !== f ? (a = /* @__PURE__ */ s((_) => u.current ? _ - u.current >= f.current.delay : !0, "t1"), t[1] = f, t[2] = a) : a = t[2];
27
- const i = a;
23
+ }, "t0"), t[0] = l) : l = t[0];
24
+ const m = l;
25
+ let f;
26
+ t[1] !== i ? (f = /* @__PURE__ */ u((p) => o.current ? p - o.current >= i.current.delay : !0, "t1"), t[1] = i, t[2] = f) : f = t[2];
27
+ const a = f;
28
28
  let d;
29
- t[3] !== c ? (d = /* @__PURE__ */ s((_, q) => {
30
- u.current = _, c.current(...q);
29
+ t[3] !== c ? (d = /* @__PURE__ */ u((p, _) => {
30
+ o.current = p, c.current(..._);
31
31
  }, "t2"), t[3] = c, t[4] = d) : d = t[4];
32
- const m = d;
33
- let h;
34
- t[5] !== m || t[6] !== f ? (h = /* @__PURE__ */ s(() => {
32
+ const h = d;
33
+ let y;
34
+ t[5] !== h || t[6] !== i ? (y = /* @__PURE__ */ u(() => {
35
35
  n.current = setTimeout(() => {
36
- if (l.current) {
37
- const _ = Date.now();
38
- m(_, l.current);
36
+ if (s.current) {
37
+ const p = Date.now();
38
+ h(p, s.current);
39
39
  }
40
40
  n.current = void 0;
41
- }, f.current.delay);
42
- }, "t3"), t[5] = m, t[6] = f, t[7] = h) : h = t[7];
43
- const g = h;
41
+ }, i.current.delay);
42
+ }, "t3"), t[5] = h, t[6] = i, t[7] = y) : y = t[7];
43
+ const b = y;
44
44
  let E;
45
- t[8] !== m || t[9] !== f || t[10] !== g || t[11] !== i ? (E = /* @__PURE__ */ s((..._) => {
46
- const q = _;
47
- y();
45
+ t[8] !== h || t[9] !== i || t[10] !== b || t[11] !== a ? (E = /* @__PURE__ */ u((...p) => {
46
+ const _ = p;
47
+ m();
48
48
  const {
49
49
  leading: N,
50
- trailing: G
51
- } = f.current, K = N === void 0 ? !1 : N, V = G === void 0 ? !0 : G;
52
- if (l.current = q, V && !K) {
53
- g();
50
+ trailing: j
51
+ } = i.current, G = N === void 0 ? !1 : N, K = j === void 0 ? !0 : j;
52
+ if (s.current = _, K && !G) {
53
+ b();
54
54
  return;
55
55
  }
56
- const W = Date.now();
57
- if (K && i(W)) {
58
- m(W, q);
56
+ const V = Date.now();
57
+ if (G && a(V)) {
58
+ h(V, _);
59
59
  return;
60
60
  }
61
- V && g();
62
- }, "t4"), t[8] = m, t[9] = f, t[10] = g, t[11] = i, t[12] = E) : E = t[12];
63
- const b = E;
61
+ K && b();
62
+ }, "t4"), t[8] = h, t[9] = i, t[10] = b, t[11] = a, t[12] = E) : E = t[12];
63
+ const g = E;
64
64
  let x;
65
- t[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ s(() => {
66
- y(), l.current = null;
65
+ t[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ u(() => {
66
+ m(), s.current = null;
67
67
  }, "t5"), t[13] = x) : x = t[13];
68
68
  const F = x;
69
- let v;
70
- t[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ s(() => n.current !== void 0, "t6"), t[14] = v) : v = t[14];
71
- const w = v;
72
- let R, L;
73
- t[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = /* @__PURE__ */ s(() => () => {
69
+ let w;
70
+ t[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ u(() => n.current !== void 0, "t6"), t[14] = w) : w = t[14];
71
+ const v = w;
72
+ let R, O;
73
+ t[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = /* @__PURE__ */ u(() => () => {
74
74
  F();
75
- }, "t7"), L = [F], t[15] = R, t[16] = L) : (R = t[15], L = t[16]), C(R, L);
76
- let O;
77
- return t[17] !== b ? (O = {
78
- run: b,
75
+ }, "t7"), O = [F], t[15] = R, t[16] = O) : (R = t[15], O = t[16]), C(R, O);
76
+ let $;
77
+ return t[17] !== g ? ($ = {
78
+ run: g,
79
79
  cancel: F,
80
- isPending: w
81
- }, t[17] = b, t[18] = O) : O = t[18], O;
80
+ isPending: v
81
+ }, t[17] = g, t[18] = $) : $ = t[18], $;
82
82
  }
83
- s(k, "useDebouncedCallback");
84
- function j() {
85
- const r = S(3), e = I(!1);
83
+ u(k, "useDebouncedCallback");
84
+ function W() {
85
+ const r = S(3), e = q(!1);
86
86
  let t;
87
- r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ s(() => e.current, "t0"), r[0] = t) : t = r[0];
87
+ r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ u(() => e.current, "t0"), r[0] = t) : t = r[0];
88
88
  const n = t;
89
- let l, u;
90
- return r[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ s(() => (e.current = !0, () => {
89
+ let s, o;
90
+ return r[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ u(() => (e.current = !0, () => {
91
91
  e.current = !1;
92
- }), "t1"), u = [], r[1] = l, r[2] = u) : (l = r[1], u = r[2]), C(l, u), n;
92
+ }), "t1"), o = [], r[1] = s, r[2] = o) : (s = r[1], o = r[2]), C(s, o), n;
93
93
  }
94
- s(j, "useMounted");
94
+ u(W, "useMounted");
95
95
  var ae = /* @__PURE__ */ ((r) => (r.IDLE = "idle", r.LOADING = "loading", r.SUCCESS = "success", r.ERROR = "error", r))(ae || {});
96
96
  function fe(r) {
97
97
  const [e, t] = M(
98
98
  r?.initialStatus ?? "idle"
99
99
  /* IDLE */
100
- ), [n, l] = M(void 0), [u, c] = M(void 0), f = j(), o = $(r), y = Q(() => {
101
- f() && (t(
100
+ ), [n, s] = M(void 0), [o, c] = M(void 0), i = W(), l = L(r), m = Q(() => {
101
+ i() && (t(
102
102
  "loading"
103
103
  /* LOADING */
104
104
  ), c(void 0));
105
- }, [f]), a = Q(async (m) => {
106
- if (f()) {
107
- l(m), t(
105
+ }, [i]), f = Q(async (h) => {
106
+ if (i()) {
107
+ s(h), t(
108
108
  "success"
109
109
  /* SUCCESS */
110
110
  ), c(void 0);
111
111
  try {
112
- await o.current?.onSuccess?.(m);
113
- } catch (h) {
114
- console.warn("PromiseState onSuccess callback error:", h);
112
+ await l.current?.onSuccess?.(h);
113
+ } catch (y) {
114
+ console.warn("PromiseState onSuccess callback error:", y);
115
115
  }
116
116
  }
117
- }, [f, o]), i = Q(async (m) => {
118
- if (f()) {
119
- c(m), t(
117
+ }, [i, l]), a = Q(async (h) => {
118
+ if (i()) {
119
+ c(h), t(
120
120
  "error"
121
121
  /* ERROR */
122
- ), l(void 0);
122
+ ), s(void 0);
123
123
  try {
124
- await o.current?.onError?.(m);
125
- } catch (h) {
126
- console.warn("PromiseState onError callback error:", h);
124
+ await l.current?.onError?.(h);
125
+ } catch (y) {
126
+ console.warn("PromiseState onError callback error:", y);
127
127
  }
128
128
  }
129
- }, [f, o]), d = Q(() => {
130
- f() && (t(
129
+ }, [i, l]), d = Q(() => {
130
+ i() && (t(
131
131
  "idle"
132
132
  /* IDLE */
133
- ), c(void 0), l(void 0));
134
- }, [f]);
135
- return T(() => ({
133
+ ), c(void 0), s(void 0));
134
+ }, [i]);
135
+ return U(() => ({
136
136
  status: e,
137
137
  loading: e === "loading",
138
138
  result: n,
139
- error: u,
140
- setLoading: y,
141
- setSuccess: a,
142
- setError: i,
139
+ error: o,
140
+ setLoading: m,
141
+ setSuccess: f,
142
+ setError: a,
143
143
  setIdle: d
144
- }), [e, n, u, y, a, i, d]);
144
+ }), [e, n, o, m, f, a, d]);
145
145
  }
146
- s(fe, "usePromiseState");
146
+ u(fe, "usePromiseState");
147
147
  function de() {
148
- const r = S(6), e = I(0);
148
+ const r = S(6), e = q(0);
149
149
  let t;
150
- r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ s(() => e.current = e.current + 1, "t0"), r[0] = t) : t = r[0];
150
+ r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ u(() => e.current = e.current + 1, "t0"), r[0] = t) : t = r[0];
151
151
  const n = t;
152
- let l;
153
- r[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ s(() => e.current, "t1"), r[1] = l) : l = r[1];
154
- const u = l;
152
+ let s;
153
+ r[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ u(() => e.current, "t1"), r[1] = s) : s = r[1];
154
+ const o = s;
155
155
  let c;
156
- r[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ s((m) => m === e.current, "t2"), r[2] = c) : c = r[2];
157
- const f = c;
158
- let o;
159
- r[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ s(() => {
156
+ r[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ u((h) => h === e.current, "t2"), r[2] = c) : c = r[2];
157
+ const i = c;
158
+ let l;
159
+ r[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ u(() => {
160
160
  e.current = e.current + 1;
161
- }, "t3"), r[3] = o) : o = r[3];
162
- const y = o;
163
- let a;
164
- r[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ s(() => {
161
+ }, "t3"), r[3] = l) : l = r[3];
162
+ const m = l;
163
+ let f;
164
+ r[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ u(() => {
165
165
  e.current = 0;
166
- }, "t4"), r[4] = a) : a = r[4];
167
- const i = a;
166
+ }, "t4"), r[4] = f) : f = r[4];
167
+ const a = f;
168
168
  let d;
169
169
  return r[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = {
170
170
  generate: n,
171
- current: u,
172
- isLatest: f,
173
- invalidate: y,
174
- reset: i
171
+ current: o,
172
+ isLatest: i,
173
+ invalidate: m,
174
+ reset: a
175
175
  }, r[5] = d) : d = r[5], d;
176
176
  }
177
- s(de, "useRequestId");
178
- function U(r) {
177
+ u(de, "useRequestId");
178
+ function T(r) {
179
179
  const {
180
180
  loading: e,
181
181
  result: t,
182
182
  error: n,
183
- status: l,
184
- setLoading: u,
183
+ status: s,
184
+ setLoading: o,
185
185
  setSuccess: c,
186
- setError: f,
187
- setIdle: o
188
- } = fe(r), y = j(), a = de(), i = I(void 0), d = r?.propagateError, m = $(r?.onAbort), h = Q(async () => {
186
+ setError: i,
187
+ setIdle: l
188
+ } = fe(r), m = W(), f = de(), a = q(void 0), d = r?.propagateError, h = L(r?.onAbort), y = Q(async () => {
189
189
  try {
190
- await m.current?.();
190
+ await h.current?.();
191
191
  } catch (x) {
192
192
  console.warn("useExecutePromise onAbort callback error:", x);
193
193
  }
194
- }, [m]), g = Q(async (x) => {
195
- i.current && (i.current.abort(), await h());
194
+ }, [h]), b = Q(async (x) => {
195
+ a.current && (a.current.abort(), await y());
196
196
  const F = new AbortController();
197
- i.current = F;
198
- const v = a.generate();
199
- u();
197
+ a.current = F;
198
+ const w = f.generate();
199
+ o();
200
200
  try {
201
- const w = await x(F);
202
- y() && a.isLatest(v) && await c(w);
203
- } catch (w) {
204
- if (w instanceof Error && w.name === "AbortError") {
205
- y() && o();
201
+ const v = await x(F);
202
+ m() && f.isLatest(w) && await c(v);
203
+ } catch (v) {
204
+ if (v instanceof Error && v.name === "AbortError") {
205
+ m() && l();
206
206
  return;
207
207
  }
208
- if (y() && a.isLatest(v) && await f(w), d)
209
- throw w;
208
+ if (m() && f.isLatest(w) && await i(v), d)
209
+ throw v;
210
210
  } finally {
211
- i.current === F && (i.current = void 0);
211
+ a.current === F && (a.current = void 0);
212
212
  }
213
- }, [u, c, f, o, y, a, d, h]), E = Q(() => {
214
- y() && o();
215
- }, [o, y]), b = Q(async () => {
216
- E(), i.current && (i.current.abort(), i.current = void 0, await h());
217
- }, [E, h]);
213
+ }, [o, c, i, l, m, f, d, y]), E = Q(() => {
214
+ m() && l();
215
+ }, [l, m]), g = Q(async () => {
216
+ E(), a.current && (a.current.abort(), a.current = void 0, await y());
217
+ }, [E, y]);
218
218
  return C(() => () => {
219
- b();
220
- }, [b]), T(() => ({
219
+ g();
220
+ }, [g]), U(() => ({
221
221
  loading: e,
222
222
  result: t,
223
223
  error: n,
224
- status: l,
225
- execute: g,
224
+ status: s,
225
+ execute: b,
226
226
  reset: E,
227
- abort: b
228
- }), [e, t, n, l, g, E, b]);
227
+ abort: g
228
+ }), [e, t, n, s, b, E, g]);
229
229
  }
230
- s(U, "useExecutePromise");
231
- function $e(r) {
230
+ u(T, "useExecutePromise");
231
+ function Ae(r) {
232
232
  const e = S(10), {
233
233
  loading: t,
234
234
  result: n,
235
- error: l,
236
- execute: u,
235
+ error: s,
236
+ execute: o,
237
237
  reset: c,
238
- abort: f,
239
- status: o
240
- } = U(r), {
241
- run: y,
242
- cancel: a,
243
- isPending: i
244
- } = k(u, r.debounce);
238
+ abort: i,
239
+ status: l
240
+ } = T(r), {
241
+ run: m,
242
+ cancel: f,
243
+ isPending: a
244
+ } = k(o, r.debounce);
245
245
  let d;
246
- return e[0] !== f || e[1] !== a || e[2] !== l || e[3] !== i || e[4] !== t || e[5] !== c || e[6] !== n || e[7] !== y || e[8] !== o ? (d = {
246
+ return e[0] !== i || e[1] !== f || e[2] !== s || e[3] !== a || e[4] !== t || e[5] !== c || e[6] !== n || e[7] !== m || e[8] !== l ? (d = {
247
247
  loading: t,
248
248
  result: n,
249
- error: l,
250
- status: o,
249
+ error: s,
250
+ status: l,
251
251
  reset: c,
252
- abort: f,
253
- run: y,
254
- cancel: a,
255
- isPending: i
256
- }, e[0] = f, e[1] = a, e[2] = l, e[3] = i, e[4] = t, e[5] = c, e[6] = n, e[7] = y, e[8] = o, e[9] = d) : d = e[9], d;
252
+ abort: i,
253
+ run: m,
254
+ cancel: f,
255
+ isPending: a
256
+ }, e[0] = i, e[1] = f, e[2] = s, e[3] = a, e[4] = t, e[5] = c, e[6] = n, e[7] = m, e[8] = l, e[9] = d) : d = e[9], d;
257
257
  }
258
- s($e, "useDebouncedExecutePromise");
259
- function Oe(r) {
258
+ u(Ae, "useDebouncedExecutePromise");
259
+ function Pe(r) {
260
260
  const e = S(22), t = r.autoExecute;
261
261
  let n;
262
262
  e[0] !== r ? (n = {
263
263
  ...r,
264
264
  autoExecute: !1
265
265
  }, e[0] = r, e[1] = n) : n = e[1];
266
- const l = n, {
267
- loading: u,
266
+ const s = n, {
267
+ loading: o,
268
268
  result: c,
269
- error: f,
270
- status: o,
271
- execute: y,
272
- reset: a,
273
- abort: i,
269
+ error: i,
270
+ status: l,
271
+ execute: m,
272
+ reset: f,
273
+ abort: a,
274
274
  getQuery: d,
275
- setQuery: m
276
- } = P(l), {
277
- run: h,
278
- cancel: g,
275
+ setQuery: h
276
+ } = A(s), {
277
+ run: y,
278
+ cancel: b,
279
279
  isPending: E
280
- } = k(y, r.debounce);
281
- let b;
282
- e[2] !== t || e[3] !== h || e[4] !== m ? (b = /* @__PURE__ */ s((R) => {
283
- m(R), t && h();
284
- }, "t1"), e[2] = t, e[3] = h, e[4] = m, e[5] = b) : b = e[5];
285
- const x = b;
286
- let F, v;
287
- e[6] !== t || e[7] !== h ? (F = /* @__PURE__ */ s(() => {
288
- t && h();
289
- }, "t2"), v = [h, t], e[6] = t, e[7] = h, e[8] = F, e[9] = v) : (F = e[8], v = e[9]), C(F, v);
290
- let w;
291
- return e[10] !== i || e[11] !== g || e[12] !== f || e[13] !== d || e[14] !== E || e[15] !== u || e[16] !== a || e[17] !== c || e[18] !== h || e[19] !== x || e[20] !== o ? (w = {
292
- loading: u,
280
+ } = k(m, r.debounce);
281
+ let g;
282
+ e[2] !== t || e[3] !== y || e[4] !== h ? (g = /* @__PURE__ */ u((R) => {
283
+ h(R), t && y();
284
+ }, "t1"), e[2] = t, e[3] = y, e[4] = h, e[5] = g) : g = e[5];
285
+ const x = g;
286
+ let F, w;
287
+ e[6] !== t || e[7] !== y ? (F = /* @__PURE__ */ u(() => {
288
+ t && y();
289
+ }, "t2"), w = [y, t], e[6] = t, e[7] = y, e[8] = F, e[9] = w) : (F = e[8], w = e[9]), C(F, w);
290
+ let v;
291
+ return e[10] !== a || e[11] !== b || e[12] !== i || e[13] !== d || e[14] !== E || e[15] !== o || e[16] !== f || e[17] !== c || e[18] !== y || e[19] !== x || e[20] !== l ? (v = {
292
+ loading: o,
293
293
  result: c,
294
- error: f,
295
- status: o,
296
- reset: a,
297
- abort: i,
294
+ error: i,
295
+ status: l,
296
+ reset: f,
297
+ abort: a,
298
298
  getQuery: d,
299
299
  setQuery: x,
300
- run: h,
301
- cancel: g,
300
+ run: y,
301
+ cancel: b,
302
302
  isPending: E
303
- }, e[10] = i, e[11] = g, e[12] = f, e[13] = d, e[14] = E, e[15] = u, e[16] = a, e[17] = c, e[18] = h, e[19] = x, e[20] = o, e[21] = w) : w = e[21], w;
303
+ }, e[10] = a, e[11] = b, e[12] = i, e[13] = d, e[14] = E, e[15] = o, e[16] = f, e[17] = c, e[18] = y, e[19] = x, e[20] = l, e[21] = v) : v = e[21], v;
304
304
  }
305
- s(Oe, "useDebouncedQuery");
305
+ u(Pe, "useDebouncedQuery");
306
306
  function me() {
307
307
  return document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement;
308
308
  }
309
- s(me, "getFullscreenElement");
310
- async function ye(r) {
309
+ u(me, "getFullscreenElement");
310
+ async function he(r) {
311
311
  try {
312
312
  if (r.requestFullscreen)
313
313
  await r.requestFullscreen();
@@ -323,8 +323,8 @@ async function ye(r) {
323
323
  throw console.error("Failed to enter fullscreen:", e), e;
324
324
  }
325
325
  }
326
- s(ye, "enterFullscreen");
327
- async function he() {
326
+ u(he, "enterFullscreen");
327
+ async function ye() {
328
328
  try {
329
329
  if (document.exitFullscreen)
330
330
  await document.exitFullscreen();
@@ -340,615 +340,670 @@ async function he() {
340
340
  throw console.error("Failed to exit fullscreen:", r), r;
341
341
  }
342
342
  }
343
- s(he, "exitFullscreen");
344
- function ge(r) {
343
+ u(ye, "exitFullscreen");
344
+ function be(r) {
345
345
  document.addEventListener("fullscreenchange", r), document.addEventListener("webkitfullscreenchange", r), document.addEventListener("mozfullscreenchange", r), document.addEventListener("MSFullscreenChange", r);
346
346
  }
347
- s(ge, "addFullscreenChangeListener");
348
- function be(r) {
347
+ u(be, "addFullscreenChangeListener");
348
+ function ge(r) {
349
349
  document.removeEventListener("fullscreenchange", r), document.removeEventListener("webkitfullscreenchange", r), document.removeEventListener("mozfullscreenchange", r), document.removeEventListener("MSFullscreenChange", r);
350
350
  }
351
- s(be, "removeFullscreenChangeListener");
352
- function pe(r) {
351
+ u(ge, "removeFullscreenChangeListener");
352
+ function Me(r) {
353
353
  const e = S(18);
354
354
  let t;
355
355
  e[0] !== r ? (t = r === void 0 ? {} : r, e[0] = r, e[1] = t) : t = e[1];
356
356
  const n = t, {
357
- target: l,
358
- onChange: u
359
- } = n, [c, f] = M(!1);
360
- let o;
361
- e[2] !== c || e[3] !== u || e[4] !== l ? (o = /* @__PURE__ */ s(() => {
362
- const F = me() === (l?.current || document.documentElement);
363
- F !== c && (f(F), u?.(F));
364
- }, "t2"), e[2] = c, e[3] = u, e[4] = l, e[5] = o) : o = e[5];
365
- const y = o;
366
- let a, i;
367
- e[6] !== y ? (a = /* @__PURE__ */ s(() => (ge(y), () => {
368
- be(y);
369
- }), "t3"), i = [y], e[6] = y, e[7] = a, e[8] = i) : (a = e[7], i = e[8]), C(a, i);
357
+ target: s,
358
+ onChange: o
359
+ } = n, [c, i] = M(!1);
360
+ let l;
361
+ e[2] !== c || e[3] !== o || e[4] !== s ? (l = /* @__PURE__ */ u(() => {
362
+ const F = me() === (s?.current || document.documentElement);
363
+ F !== c && (i(F), o?.(F));
364
+ }, "t2"), e[2] = c, e[3] = o, e[4] = s, e[5] = l) : l = e[5];
365
+ const m = l;
366
+ let f, a;
367
+ e[6] !== m ? (f = /* @__PURE__ */ u(() => (be(m), () => {
368
+ ge(m);
369
+ }), "t3"), a = [m], e[6] = m, e[7] = f, e[8] = a) : (f = e[7], a = e[8]), C(f, a);
370
370
  let d;
371
- e[9] !== l ? (d = /* @__PURE__ */ s(async () => {
372
- const x = l?.current || document.documentElement;
373
- await ye(x);
374
- }, "t5"), e[9] = l, e[10] = d) : d = e[10];
375
- const m = d, h = Ee;
376
- let g;
377
- e[11] !== m || e[12] !== c ? (g = /* @__PURE__ */ s(async () => {
378
- c ? await h() : await m();
379
- }, "t6"), e[11] = m, e[12] = c, e[13] = g) : g = e[13];
380
- const E = g;
371
+ e[9] !== s ? (d = /* @__PURE__ */ u(async () => {
372
+ const x = s?.current || document.documentElement;
373
+ await he(x);
374
+ }, "t5"), e[9] = s, e[10] = d) : d = e[10];
375
+ const h = d, y = Ee;
381
376
  let b;
382
- return e[14] !== m || e[15] !== c || e[16] !== E ? (b = {
377
+ e[11] !== h || e[12] !== c ? (b = /* @__PURE__ */ u(async () => {
378
+ c ? await y() : await h();
379
+ }, "t6"), e[11] = h, e[12] = c, e[13] = b) : b = e[13];
380
+ const E = b;
381
+ let g;
382
+ return e[14] !== h || e[15] !== c || e[16] !== E ? (g = {
383
383
  isFullscreen: c,
384
384
  toggle: E,
385
- enter: m,
386
- exit: h
387
- }, e[14] = m, e[15] = c, e[16] = E, e[17] = b) : b = e[17], b;
385
+ enter: h,
386
+ exit: y
387
+ }, e[14] = h, e[15] = c, e[16] = E, e[17] = g) : g = e[17], g;
388
388
  }
389
- s(pe, "useFullscreen");
389
+ u(Me, "useFullscreen");
390
390
  async function Ee() {
391
- await he();
391
+ await ye();
392
392
  }
393
- s(Ee, "_temp$1");
394
- function Pe() {
395
- const r = I(/* @__PURE__ */ new Map()), e = Q((i) => r.current.get(i), []), t = Q((i, d) => r.current.set(i, d), []), n = Q((i) => r.current.has(i), []), l = Q((i) => r.current.delete(i), []), u = Q(() => r.current.clear(), []), c = Q(() => r.current.keys(), []), f = Q(() => r.current.values(), []), o = Q(() => r.current.entries(), []), y = Q(() => r.current[Symbol.iterator](), []), a = Q((i) => (d) => {
396
- d ? r.current.set(i, d) : r.current.delete(i);
393
+ u(Ee, "_temp$1");
394
+ function ze() {
395
+ const r = q(/* @__PURE__ */ new Map()), e = Q((a) => r.current.get(a), []), t = Q((a, d) => r.current.set(a, d), []), n = Q((a) => r.current.has(a), []), s = Q((a) => r.current.delete(a), []), o = Q(() => r.current.clear(), []), c = Q(() => r.current.keys(), []), i = Q(() => r.current.values(), []), l = Q(() => r.current.entries(), []), m = Q(() => r.current[Symbol.iterator](), []), f = Q((a) => (d) => {
396
+ d ? r.current.set(a, d) : r.current.delete(a);
397
397
  }, []);
398
398
  return C(() => () => {
399
399
  r.current.clear();
400
- }, []), T(() => ({
401
- register: a,
400
+ }, []), U(() => ({
401
+ register: f,
402
402
  get: e,
403
403
  set: t,
404
404
  has: n,
405
- delete: l,
406
- clear: u,
405
+ delete: s,
406
+ clear: o,
407
407
  keys: c,
408
- values: f,
409
- entries: o,
408
+ values: i,
409
+ entries: l,
410
410
  get size() {
411
411
  return r.current.size;
412
412
  },
413
- [Symbol.iterator]: y
414
- }), [a, e, t, n, l, u, c, f, o, y]);
413
+ [Symbol.iterator]: m
414
+ }), [f, e, t, n, s, o, c, i, l, m]);
415
415
  }
416
- s(Pe, "useRefs");
417
- function Ae() {
416
+ u(ze, "useRefs");
417
+ function De() {
418
418
  const [, r] = ee(xe, 0);
419
419
  return r;
420
420
  }
421
- s(Ae, "useForceUpdate");
421
+ u(De, "useForceUpdate");
422
422
  function xe(r) {
423
423
  return r + 1;
424
424
  }
425
- s(xe, "_temp");
426
- function J(r) {
425
+ u(xe, "_temp");
426
+ function B(r) {
427
427
  const e = S(12), {
428
428
  initialQuery: t,
429
429
  query: n,
430
- autoExecute: l,
431
- execute: u
432
- } = r, c = l === void 0 ? !0 : l, o = I(n ?? t);
433
- let y;
434
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ s(() => o.current, "t1"), e[0] = y) : y = e[0];
435
- const a = y;
436
- let i;
437
- e[1] !== c || e[2] !== u ? (i = /* @__PURE__ */ s(() => {
438
- const x = a();
439
- c && D(x) && u(x);
440
- }, "t2"), e[1] = c, e[2] = u, e[3] = i) : i = e[3];
441
- const d = i;
430
+ autoExecute: s,
431
+ execute: o
432
+ } = r, c = s === void 0 ? !0 : s, l = q(n ?? t);
442
433
  let m;
443
- e[4] !== d ? (m = /* @__PURE__ */ s((x) => {
444
- o.current = x, d();
445
- }, "t3"), e[4] = d, e[5] = m) : m = e[5];
446
- const h = m;
447
- let g, E;
448
- e[6] !== d || e[7] !== n ? (g = /* @__PURE__ */ s(() => {
449
- D(n) && (o.current = n), d();
450
- }, "t4"), E = [d, n], e[6] = d, e[7] = n, e[8] = g, e[9] = E) : (g = e[8], E = e[9]), C(g, E);
451
- let b;
452
- return e[10] !== h ? (b = {
453
- getQuery: a,
454
- setQuery: h
455
- }, e[10] = h, e[11] = b) : b = e[11], b;
434
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ u(() => l.current, "t1"), e[0] = m) : m = e[0];
435
+ const f = m;
436
+ let a;
437
+ e[1] !== c || e[2] !== o ? (a = /* @__PURE__ */ u(() => {
438
+ const x = f();
439
+ c && D(x) && o(x);
440
+ }, "t2"), e[1] = c, e[2] = o, e[3] = a) : a = e[3];
441
+ const d = a;
442
+ let h;
443
+ e[4] !== d ? (h = /* @__PURE__ */ u((x) => {
444
+ l.current = x, d();
445
+ }, "t3"), e[4] = d, e[5] = h) : h = e[5];
446
+ const y = h;
447
+ let b, E;
448
+ e[6] !== d || e[7] !== n ? (b = /* @__PURE__ */ u(() => {
449
+ D(n) && (l.current = n), d();
450
+ }, "t4"), E = [d, n], e[6] = d, e[7] = n, e[8] = b, e[9] = E) : (b = e[8], E = e[9]), C(b, E);
451
+ let g;
452
+ return e[10] !== y ? (g = {
453
+ getQuery: f,
454
+ setQuery: y
455
+ }, e[10] = y, e[11] = g) : g = e[11], g;
456
456
  }
457
- s(J, "useQueryState");
457
+ u(B, "useQueryState");
458
458
  function D(r) {
459
459
  return r !== void 0;
460
460
  }
461
- s(D, "isValidateQuery");
462
- function P(r) {
463
- const e = S(21), t = $(r), {
461
+ u(D, "isValidateQuery");
462
+ function A(r) {
463
+ const e = S(21), t = L(r), {
464
464
  loading: n,
465
- result: l,
466
- error: u,
465
+ result: s,
466
+ error: o,
467
467
  status: c,
468
- execute: f,
469
- reset: o,
470
- abort: y
471
- } = U(r);
472
- let a;
473
- e[0] !== t || e[1] !== f ? (a = /* @__PURE__ */ s((x) => f(/* @__PURE__ */ s(async (v) => t.current.execute(x, t.current.attributes, v), "queryExecutor")), "t0"), e[0] = t, e[1] = f, e[2] = a) : a = e[2];
474
- const i = a;
468
+ execute: i,
469
+ reset: l,
470
+ abort: m
471
+ } = T(r);
472
+ let f;
473
+ e[0] !== t || e[1] !== i ? (f = /* @__PURE__ */ u((x) => i(/* @__PURE__ */ u(async (w) => t.current.execute(x, t.current.attributes, w), "queryExecutor")), "t0"), e[0] = t, e[1] = i, e[2] = f) : f = e[2];
474
+ const a = f;
475
475
  let d;
476
- e[3] !== i || e[4] !== r.autoExecute || e[5] !== r.initialQuery || e[6] !== r.query ? (d = {
476
+ e[3] !== a || e[4] !== r.autoExecute || e[5] !== r.initialQuery || e[6] !== r.query ? (d = {
477
477
  initialQuery: r.initialQuery,
478
478
  query: r.query,
479
479
  autoExecute: r.autoExecute,
480
- execute: i
481
- }, e[3] = i, e[4] = r.autoExecute, e[5] = r.initialQuery, e[6] = r.query, e[7] = d) : d = e[7];
480
+ execute: a
481
+ }, e[3] = a, e[4] = r.autoExecute, e[5] = r.initialQuery, e[6] = r.query, e[7] = d) : d = e[7];
482
482
  const {
483
- getQuery: m,
484
- setQuery: h
485
- } = J(d);
486
- let g;
487
- e[8] !== i || e[9] !== m ? (g = /* @__PURE__ */ s(async () => {
488
- const x = m();
489
- if (D(x))
490
- return await i(x);
491
- }, "t2"), e[8] = i, e[9] = m, e[10] = g) : g = e[10];
492
- const E = g;
483
+ getQuery: h,
484
+ setQuery: y
485
+ } = B(d);
493
486
  let b;
494
- return e[11] !== y || e[12] !== u || e[13] !== E || e[14] !== m || e[15] !== n || e[16] !== o || e[17] !== l || e[18] !== h || e[19] !== c ? (b = {
487
+ e[8] !== a || e[9] !== h ? (b = /* @__PURE__ */ u(async () => {
488
+ const x = h();
489
+ if (D(x))
490
+ return await a(x);
491
+ }, "t2"), e[8] = a, e[9] = h, e[10] = b) : b = e[10];
492
+ const E = b;
493
+ let g;
494
+ return e[11] !== m || e[12] !== o || e[13] !== E || e[14] !== h || e[15] !== n || e[16] !== l || e[17] !== s || e[18] !== y || e[19] !== c ? (g = {
495
495
  loading: n,
496
- result: l,
497
- error: u,
496
+ result: s,
497
+ error: o,
498
498
  status: c,
499
499
  execute: E,
500
- reset: o,
501
- abort: y,
502
- getQuery: m,
503
- setQuery: h
504
- }, e[11] = y, e[12] = u, e[13] = E, e[14] = m, e[15] = n, e[16] = o, e[17] = l, e[18] = h, e[19] = c, e[20] = b) : b = e[20], b;
505
- }
506
- s(P, "useQuery");
507
- function Y(r, e) {
500
+ reset: l,
501
+ abort: m,
502
+ getQuery: h,
503
+ setQuery: y
504
+ }, e[11] = m, e[12] = o, e[13] = E, e[14] = h, e[15] = n, e[16] = l, e[17] = s, e[18] = y, e[19] = c, e[20] = g) : g = e[20], g;
505
+ }
506
+ u(A, "useQuery");
507
+ function Fe(r, e) {
508
+ const t = S(10), n = T(e);
509
+ let s, o;
510
+ t[0] !== n ? ({
511
+ execute: s,
512
+ ...o
513
+ } = n, t[0] = n, t[1] = s, t[2] = o) : (s = t[1], o = t[2]);
514
+ const c = L(e?.onBeforeExecute);
515
+ let i;
516
+ t[3] !== r || t[4] !== c || t[5] !== s ? (i = /* @__PURE__ */ u((...f) => {
517
+ const a = f;
518
+ return s((d) => (c.current && c.current(d, a), r(...a)));
519
+ }, "t1"), t[3] = r, t[4] = c, t[5] = s, t[6] = i) : i = t[6];
520
+ const l = i;
521
+ let m;
522
+ return t[7] !== l || t[8] !== o ? (m = {
523
+ ...o,
524
+ execute: l
525
+ }, t[7] = l, t[8] = o, t[9] = m) : m = t[9], m;
526
+ }
527
+ u(Fe, "useApiMethodExecute");
528
+ function we(r) {
529
+ return /* @__PURE__ */ u(function(t) {
530
+ return Fe(r, t);
531
+ }, "useApiMethod");
532
+ }
533
+ u(we, "createHookForMethod");
534
+ function ve(r) {
535
+ const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ u((o) => {
536
+ Object.getOwnPropertyNames(o).forEach((c) => {
537
+ if (!t.has(c) && c !== "constructor") {
538
+ t.add(c);
539
+ const i = o[c];
540
+ typeof i == "function" && e.set(c, i.bind(r));
541
+ }
542
+ });
543
+ }, "processObject");
544
+ n(r);
545
+ let s = Object.getPrototypeOf(r);
546
+ for (; s && s !== Object.prototype; )
547
+ n(s), s = Object.getPrototypeOf(s);
548
+ return e;
549
+ }
550
+ u(ve, "collectMethods");
551
+ function ke(r) {
552
+ const {
553
+ api: e
554
+ } = r, t = {};
555
+ return ve(e).forEach((s, o) => {
556
+ const c = `use${o.charAt(0).toUpperCase() + o.slice(1)}`;
557
+ t[c] = we(s);
558
+ }), t;
559
+ }
560
+ u(ke, "createExecuteApiHooks");
561
+ function H(r, e) {
508
562
  const t = S(13);
509
563
  let n;
510
- t[0] !== r ? (n = /* @__PURE__ */ s((m) => r.addListener({
511
- name: se.generate("useKeyStorage"),
512
- handle: m
564
+ t[0] !== r ? (n = /* @__PURE__ */ u((h) => r.addListener({
565
+ name: ce.generate("useKeyStorage"),
566
+ handle: h
513
567
  }), "t0"), t[0] = r, t[1] = n) : n = t[1];
514
- const l = n;
515
- let u;
516
- t[2] !== e || t[3] !== r ? (u = /* @__PURE__ */ s(() => {
517
- const m = r.get();
518
- return m !== null ? m : e ?? null;
519
- }, "t1"), t[2] = e, t[3] = r, t[4] = u) : u = t[4];
520
- const c = u, f = te(l, c, c);
568
+ const s = n;
521
569
  let o;
522
- t[5] !== r ? (o = /* @__PURE__ */ s((m) => r.set(m), "t2"), t[5] = r, t[6] = o) : o = t[6];
523
- const y = o;
524
- let a;
525
- t[7] !== r ? (a = /* @__PURE__ */ s(() => r.remove(), "t3"), t[7] = r, t[8] = a) : a = t[8];
526
- const i = a;
570
+ t[2] !== e || t[3] !== r ? (o = /* @__PURE__ */ u(() => {
571
+ const h = r.get();
572
+ return h !== null ? h : e ?? null;
573
+ }, "t1"), t[2] = e, t[3] = r, t[4] = o) : o = t[4];
574
+ const c = o, i = te(s, c, c);
575
+ let l;
576
+ t[5] !== r ? (l = /* @__PURE__ */ u((h) => r.set(h), "t2"), t[5] = r, t[6] = l) : l = t[6];
577
+ const m = l;
578
+ let f;
579
+ t[7] !== r ? (f = /* @__PURE__ */ u(() => r.remove(), "t3"), t[7] = r, t[8] = f) : f = t[8];
580
+ const a = f;
527
581
  let d;
528
- return t[9] !== i || t[10] !== y || t[11] !== f ? (d = [f, y, i], t[9] = i, t[10] = y, t[11] = f, t[12] = d) : d = t[12], d;
582
+ return t[9] !== a || t[10] !== m || t[11] !== i ? (d = [i, m, a], t[9] = a, t[10] = m, t[11] = i, t[12] = d) : d = t[12], d;
529
583
  }
530
- s(Y, "useKeyStorage");
531
- function Me(r, e) {
532
- const t = S(8), [n, l, u] = Y(r, e);
584
+ u(H, "useKeyStorage");
585
+ function Te(r, e) {
586
+ const t = S(8), [n, s, o] = H(r, e);
533
587
  let c;
534
- t[0] !== u || t[1] !== l || t[2] !== n ? (c = /* @__PURE__ */ s((y) => {
535
- const a = ce(n, y);
536
- if (a === null) {
537
- u();
588
+ t[0] !== o || t[1] !== s || t[2] !== n ? (c = /* @__PURE__ */ u((m) => {
589
+ const f = se(n, m);
590
+ if (f === null) {
591
+ o();
538
592
  return;
539
593
  }
540
- return l(a);
541
- }, "t0"), t[0] = u, t[1] = l, t[2] = n, t[3] = c) : c = t[3];
542
- const f = c;
543
- let o;
544
- return t[4] !== u || t[5] !== f || t[6] !== n ? (o = [n, f, u], t[4] = u, t[5] = f, t[6] = n, t[7] = o) : o = t[7], o;
594
+ return s(f);
595
+ }, "t0"), t[0] = o, t[1] = s, t[2] = n, t[3] = c) : c = t[3];
596
+ const i = c;
597
+ let l;
598
+ return t[4] !== o || t[5] !== i || t[6] !== n ? (l = [n, i, o], t[4] = o, t[5] = i, t[6] = n, t[7] = l) : l = t[7], l;
545
599
  }
546
- s(Me, "useImmerKeyStorage");
547
- const Fe = {
600
+ u(Te, "useImmerKeyStorage");
601
+ const Se = {
548
602
  jti: "",
549
603
  sub: "anonymous",
550
604
  iat: 0,
551
605
  exp: 0
552
606
  };
553
- function ve(r, e) {
607
+ function Qe(r, e) {
554
608
  const t = S(13);
555
609
  let n;
556
610
  t[0] !== e ? (n = e === void 0 ? {} : e, t[0] = e, t[1] = n) : n = t[1];
557
- const l = n, [u, , c] = Y(r), f = $(l);
558
- let o;
559
- t[2] !== f || t[3] !== r ? (o = /* @__PURE__ */ s(async (g) => {
560
- const E = typeof g == "function" ? await g() : g;
561
- r.signIn(E), f.current.onSignIn?.();
562
- }, "t2"), t[2] = f, t[3] = r, t[4] = o) : o = t[4];
563
- const y = o;
564
- let a;
565
- t[5] !== f || t[6] !== c ? (a = /* @__PURE__ */ s(() => {
566
- c(), f.current.onSignOut?.();
567
- }, "t3"), t[5] = f, t[6] = c, t[7] = a) : a = t[7];
568
- const i = a, d = u?.access?.payload ?? Fe, m = u?.authenticated ?? !1;
569
- let h;
570
- return t[8] !== y || t[9] !== i || t[10] !== d || t[11] !== m ? (h = {
611
+ const s = n, [o, , c] = H(r), i = L(s);
612
+ let l;
613
+ t[2] !== i || t[3] !== r ? (l = /* @__PURE__ */ u(async (b) => {
614
+ const E = typeof b == "function" ? await b() : b;
615
+ r.signIn(E), i.current.onSignIn?.();
616
+ }, "t2"), t[2] = i, t[3] = r, t[4] = l) : l = t[4];
617
+ const m = l;
618
+ let f;
619
+ t[5] !== i || t[6] !== c ? (f = /* @__PURE__ */ u(() => {
620
+ c(), i.current.onSignOut?.();
621
+ }, "t3"), t[5] = i, t[6] = c, t[7] = f) : f = t[7];
622
+ const a = f, d = o?.access?.payload ?? Se, h = o?.authenticated ?? !1;
623
+ let y;
624
+ return t[8] !== m || t[9] !== a || t[10] !== d || t[11] !== h ? (y = {
571
625
  currentUser: d,
572
- authenticated: m,
573
- signIn: y,
574
- signOut: i
575
- }, t[8] = y, t[9] = i, t[10] = d, t[11] = m, t[12] = h) : h = t[12], h;
576
- }
577
- s(ve, "useSecurity");
578
- const B = re(void 0);
579
- function ze(r) {
626
+ authenticated: h,
627
+ signIn: m,
628
+ signOut: a
629
+ }, t[8] = m, t[9] = a, t[10] = d, t[11] = h, t[12] = y) : y = t[12], y;
630
+ }
631
+ u(Qe, "useSecurity");
632
+ const J = re(void 0);
633
+ function Ue(r) {
580
634
  const e = S(7);
581
- let t, n, l;
635
+ let t, n, s;
582
636
  e[0] !== r ? ({
583
637
  tokenStorage: n,
584
638
  children: t,
585
- ...l
586
- } = r, e[0] = r, e[1] = t, e[2] = n, e[3] = l) : (t = e[1], n = e[2], l = e[3]);
587
- const u = ve(n, l);
639
+ ...s
640
+ } = r, e[0] = r, e[1] = t, e[2] = n, e[3] = s) : (t = e[1], n = e[2], s = e[3]);
641
+ const o = Qe(n, s);
588
642
  let c;
589
- return e[4] !== t || e[5] !== u ? (c = /* @__PURE__ */ p(B.Provider, { value: u, children: t }), e[4] = t, e[5] = u, e[6] = c) : c = e[6], c;
643
+ return e[4] !== t || e[5] !== o ? (c = /* @__PURE__ */ I(J.Provider, { value: o, children: t }), e[4] = t, e[5] = o, e[6] = c) : c = e[6], c;
590
644
  }
591
- s(ze, "SecurityProvider");
592
- function H() {
593
- const r = ne(B);
645
+ u(Ue, "SecurityProvider");
646
+ function Y() {
647
+ const r = ne(J);
594
648
  if (!r)
595
649
  throw new Error("useSecurityContext must be used within a SecurityProvider");
596
650
  return r;
597
651
  }
598
- s(H, "useSecurityContext");
599
- function De(r) {
652
+ u(Y, "useSecurityContext");
653
+ function Ne(r) {
600
654
  const e = S(2), {
601
655
  children: t,
602
656
  fallback: n,
603
- onUnauthorized: l
657
+ onUnauthorized: s
604
658
  } = r, {
605
- authenticated: u
606
- } = H();
607
- if (u) {
659
+ authenticated: o
660
+ } = Y();
661
+ if (o) {
608
662
  let c;
609
- return e[0] !== t ? (c = /* @__PURE__ */ p(z, { children: t }), e[0] = t, e[1] = c) : c = e[1], c;
663
+ return e[0] !== t ? (c = /* @__PURE__ */ I(z, { children: t }), e[0] = t, e[1] = c) : c = e[1], c;
610
664
  }
611
- return l && l(), n;
665
+ return s && s(), n;
612
666
  }
613
- s(De, "RouteGuard");
614
- function ke(r) {
667
+ u(Ne, "RouteGuard");
668
+ function je(r) {
615
669
  const e = S(14), {
616
670
  children: t,
617
671
  fallback: n,
618
- refreshing: l,
619
- tokenManager: u
672
+ refreshing: s,
673
+ tokenManager: o
620
674
  } = r, {
621
675
  authenticated: c
622
- } = H(), f = u.isRefreshNeeded && u.isRefreshable;
623
- let o;
624
- e[0] !== f || e[1] !== u ? (o = /* @__PURE__ */ s(async () => {
625
- if (f)
676
+ } = Y(), i = o.isRefreshNeeded && o.isRefreshable;
677
+ let l;
678
+ e[0] !== i || e[1] !== o ? (l = /* @__PURE__ */ u(async () => {
679
+ if (i)
626
680
  try {
627
- await u.refresh();
628
- } catch (g) {
629
- console.error(g);
681
+ await o.refresh();
682
+ } catch (b) {
683
+ console.error(b);
630
684
  }
631
- }, "t1"), e[0] = f, e[1] = u, e[2] = o) : o = e[2];
632
- const y = o;
633
- let a, i;
634
- if (e[3] !== y ? (a = /* @__PURE__ */ s(() => {
635
- y();
636
- }, "t2"), i = [y], e[3] = y, e[4] = a, e[5] = i) : (a = e[4], i = e[5]), C(a, i), c) {
637
- let g;
638
- return e[6] !== t ? (g = /* @__PURE__ */ p(z, { children: t }), e[6] = t, e[7] = g) : g = e[7], g;
685
+ }, "t1"), e[0] = i, e[1] = o, e[2] = l) : l = e[2];
686
+ const m = l;
687
+ let f, a;
688
+ if (e[3] !== m ? (f = /* @__PURE__ */ u(() => {
689
+ m();
690
+ }, "t2"), a = [m], e[3] = m, e[4] = f, e[5] = a) : (f = e[4], a = e[5]), C(f, a), c) {
691
+ let b;
692
+ return e[6] !== t ? (b = /* @__PURE__ */ I(z, { children: t }), e[6] = t, e[7] = b) : b = e[7], b;
639
693
  }
640
- if (!f) {
641
- let g;
642
- return e[8] !== n ? (g = /* @__PURE__ */ p(z, { children: n }), e[8] = n, e[9] = g) : g = e[9], g;
694
+ if (!i) {
695
+ let b;
696
+ return e[8] !== n ? (b = /* @__PURE__ */ I(z, { children: n }), e[8] = n, e[9] = b) : b = e[9], b;
643
697
  }
644
698
  let d;
645
- e[10] !== l ? (d = l ?? /* @__PURE__ */ p("p", { children: "Refreshing..." }), e[10] = l, e[11] = d) : d = e[11];
646
- const m = d;
647
- let h;
648
- return e[12] !== m ? (h = /* @__PURE__ */ p(z, { children: m }), e[12] = m, e[13] = h) : h = e[13], h;
699
+ e[10] !== s ? (d = s ?? /* @__PURE__ */ I("p", { children: "Refreshing..." }), e[10] = s, e[11] = d) : d = e[11];
700
+ const h = d;
701
+ let y;
702
+ return e[12] !== h ? (y = /* @__PURE__ */ I(z, { children: h }), e[12] = h, e[13] = y) : y = e[13], y;
649
703
  }
650
- s(ke, "RefreshableRouteGuard");
704
+ u(je, "RefreshableRouteGuard");
651
705
  function X(r) {
652
706
  const e = S(21);
653
707
  let t;
654
708
  e[0] !== r ? (t = r || {}, e[0] = r, e[1] = t) : t = e[1];
655
709
  const {
656
710
  fetcher: n
657
- } = t, l = n === void 0 ? ue.default : n, {
658
- loading: u,
711
+ } = t, s = n === void 0 ? ue.default : n, {
712
+ loading: o,
659
713
  result: c,
660
- error: f,
661
- status: o,
662
- execute: y,
663
- reset: a,
664
- abort: i
665
- } = U(r), [d, m] = M(void 0), h = $(r);
666
- let g;
667
- e[2] !== l ? (g = oe(l), e[2] = l, e[3] = g) : g = e[3];
668
- const E = g;
714
+ error: i,
715
+ status: l,
716
+ execute: m,
717
+ reset: f,
718
+ abort: a
719
+ } = T(r), [d, h] = M(void 0), y = L(r);
669
720
  let b;
670
- e[4] !== E || e[5] !== h || e[6] !== y ? (b = /* @__PURE__ */ s(async (O) => {
721
+ e[2] !== s ? (b = oe(s), e[2] = s, e[3] = b) : b = e[3];
722
+ const E = b;
723
+ let g;
724
+ e[4] !== E || e[5] !== y || e[6] !== m ? (g = /* @__PURE__ */ u(async ($) => {
671
725
  try {
672
- await y(async (_) => {
673
- O.abortController = _;
674
- const q = await E.exchange(O, h.current);
675
- return m(q), await q.extractResult();
726
+ await m(async (p) => {
727
+ $.abortController = p;
728
+ const _ = await E.exchange($, y.current);
729
+ return h(_), await _.extractResult();
676
730
  });
677
- } catch (_) {
678
- const q = _;
679
- throw m(void 0), q;
731
+ } catch (p) {
732
+ const _ = p;
733
+ throw h(void 0), _;
680
734
  }
681
- }, "t3"), e[4] = E, e[5] = h, e[6] = y, e[7] = b) : b = e[7];
682
- const x = b;
735
+ }, "t3"), e[4] = E, e[5] = y, e[6] = m, e[7] = g) : g = e[7];
736
+ const x = g;
683
737
  let F;
684
- e[8] !== a ? (F = /* @__PURE__ */ s(() => {
685
- a(), m(void 0);
686
- }, "t4"), e[8] = a, e[9] = F) : F = e[9];
687
- const v = F;
688
- let w;
689
- e[10] !== i ? (w = /* @__PURE__ */ s(() => {
690
- i(), m(void 0);
691
- }, "t5"), e[10] = i, e[11] = w) : w = e[11];
692
- const R = w;
693
- let L;
694
- return e[12] !== R || e[13] !== f || e[14] !== d || e[15] !== x || e[16] !== u || e[17] !== v || e[18] !== c || e[19] !== o ? (L = {
695
- loading: u,
738
+ e[8] !== f ? (F = /* @__PURE__ */ u(() => {
739
+ f(), h(void 0);
740
+ }, "t4"), e[8] = f, e[9] = F) : F = e[9];
741
+ const w = F;
742
+ let v;
743
+ e[10] !== a ? (v = /* @__PURE__ */ u(() => {
744
+ a(), h(void 0);
745
+ }, "t5"), e[10] = a, e[11] = v) : v = e[11];
746
+ const R = v;
747
+ let O;
748
+ return e[12] !== R || e[13] !== i || e[14] !== d || e[15] !== x || e[16] !== o || e[17] !== w || e[18] !== c || e[19] !== l ? (O = {
749
+ loading: o,
696
750
  result: c,
697
- error: f,
698
- status: o,
751
+ error: i,
752
+ status: l,
699
753
  exchange: d,
700
754
  execute: x,
701
- reset: v,
755
+ reset: w,
702
756
  abort: R
703
- }, e[12] = R, e[13] = f, e[14] = d, e[15] = x, e[16] = u, e[17] = v, e[18] = c, e[19] = o, e[20] = L) : L = e[20], L;
757
+ }, e[12] = R, e[13] = i, e[14] = d, e[15] = x, e[16] = o, e[17] = w, e[18] = c, e[19] = l, e[20] = O) : O = e[20], O;
704
758
  }
705
- s(X, "useFetcher");
706
- function Te(r) {
759
+ u(X, "useFetcher");
760
+ function Ge(r) {
707
761
  const e = S(11), {
708
762
  loading: t,
709
763
  result: n,
710
- error: l,
711
- status: u,
764
+ error: s,
765
+ status: o,
712
766
  exchange: c,
713
- execute: f,
714
- reset: o,
715
- abort: y
767
+ execute: i,
768
+ reset: l,
769
+ abort: m
716
770
  } = X(r), {
717
- run: a,
718
- cancel: i,
771
+ run: f,
772
+ cancel: a,
719
773
  isPending: d
720
- } = k(f, r.debounce);
721
- let m;
722
- return e[0] !== y || e[1] !== i || e[2] !== l || e[3] !== c || e[4] !== d || e[5] !== t || e[6] !== o || e[7] !== n || e[8] !== a || e[9] !== u ? (m = {
774
+ } = k(i, r.debounce);
775
+ let h;
776
+ return e[0] !== m || e[1] !== a || e[2] !== s || e[3] !== c || e[4] !== d || e[5] !== t || e[6] !== l || e[7] !== n || e[8] !== f || e[9] !== o ? (h = {
723
777
  loading: t,
724
778
  result: n,
725
- error: l,
726
- status: u,
779
+ error: s,
780
+ status: o,
727
781
  exchange: c,
728
- reset: o,
729
- abort: y,
730
- run: a,
731
- cancel: i,
782
+ reset: l,
783
+ abort: m,
784
+ run: f,
785
+ cancel: a,
732
786
  isPending: d
733
- }, e[0] = y, e[1] = i, e[2] = l, e[3] = c, e[4] = d, e[5] = t, e[6] = o, e[7] = n, e[8] = a, e[9] = u, e[10] = m) : m = e[10], m;
787
+ }, e[0] = m, e[1] = a, e[2] = s, e[3] = c, e[4] = d, e[5] = t, e[6] = l, e[7] = n, e[8] = f, e[9] = o, e[10] = h) : h = e[10], h;
734
788
  }
735
- s(Te, "useDebouncedFetcher");
736
- function Ue(r) {
789
+ u(Ge, "useDebouncedFetcher");
790
+ function Ke(r) {
737
791
  const e = S(22), t = r.autoExecute;
738
792
  let n;
739
793
  e[0] !== r ? (n = {
740
794
  ...r,
741
795
  autoExecute: !1
742
796
  }, e[0] = r, e[1] = n) : n = e[1];
743
- const l = n, {
744
- loading: u,
797
+ const s = n, {
798
+ loading: o,
745
799
  result: c,
746
- error: f,
747
- status: o,
748
- execute: y,
749
- reset: a,
750
- abort: i,
800
+ error: i,
801
+ status: l,
802
+ execute: m,
803
+ reset: f,
804
+ abort: a,
751
805
  getQuery: d,
752
- setQuery: m
753
- } = A(l), {
754
- run: h,
755
- cancel: g,
806
+ setQuery: h
807
+ } = P(s), {
808
+ run: y,
809
+ cancel: b,
756
810
  isPending: E
757
- } = k(y, r.debounce);
758
- let b;
759
- e[2] !== t || e[3] !== h || e[4] !== m ? (b = /* @__PURE__ */ s((R) => {
760
- m(R), t && h();
761
- }, "t1"), e[2] = t, e[3] = h, e[4] = m, e[5] = b) : b = e[5];
762
- const x = b;
763
- let F, v;
764
- e[6] !== t || e[7] !== h ? (F = /* @__PURE__ */ s(() => {
765
- t && h();
766
- }, "t2"), v = [h, t], e[6] = t, e[7] = h, e[8] = F, e[9] = v) : (F = e[8], v = e[9]), C(F, v);
767
- let w;
768
- return e[10] !== i || e[11] !== g || e[12] !== f || e[13] !== d || e[14] !== E || e[15] !== u || e[16] !== a || e[17] !== c || e[18] !== h || e[19] !== x || e[20] !== o ? (w = {
769
- loading: u,
811
+ } = k(m, r.debounce);
812
+ let g;
813
+ e[2] !== t || e[3] !== y || e[4] !== h ? (g = /* @__PURE__ */ u((R) => {
814
+ h(R), t && y();
815
+ }, "t1"), e[2] = t, e[3] = y, e[4] = h, e[5] = g) : g = e[5];
816
+ const x = g;
817
+ let F, w;
818
+ e[6] !== t || e[7] !== y ? (F = /* @__PURE__ */ u(() => {
819
+ t && y();
820
+ }, "t2"), w = [y, t], e[6] = t, e[7] = y, e[8] = F, e[9] = w) : (F = e[8], w = e[9]), C(F, w);
821
+ let v;
822
+ return e[10] !== a || e[11] !== b || e[12] !== i || e[13] !== d || e[14] !== E || e[15] !== o || e[16] !== f || e[17] !== c || e[18] !== y || e[19] !== x || e[20] !== l ? (v = {
823
+ loading: o,
770
824
  result: c,
771
- error: f,
772
- status: o,
773
- reset: a,
774
- abort: i,
825
+ error: i,
826
+ status: l,
827
+ reset: f,
828
+ abort: a,
775
829
  getQuery: d,
776
830
  setQuery: x,
777
- run: h,
778
- cancel: g,
831
+ run: y,
832
+ cancel: b,
779
833
  isPending: E
780
- }, e[10] = i, e[11] = g, e[12] = f, e[13] = d, e[14] = E, e[15] = u, e[16] = a, e[17] = c, e[18] = h, e[19] = x, e[20] = o, e[21] = w) : w = e[21], w;
834
+ }, e[10] = a, e[11] = b, e[12] = i, e[13] = d, e[14] = E, e[15] = o, e[16] = f, e[17] = c, e[18] = y, e[19] = x, e[20] = l, e[21] = v) : v = e[21], v;
781
835
  }
782
- s(Ue, "useDebouncedFetcherQuery");
783
- function A(r) {
836
+ u(Ke, "useDebouncedFetcherQuery");
837
+ function P(r) {
784
838
  const e = S(23);
785
839
  let t;
786
840
  e[0] !== r ? (t = {
787
841
  resultExtractor: le,
788
842
  ...r
789
843
  }, e[0] = r, e[1] = t) : t = e[1];
790
- const n = t, l = $(n), {
791
- loading: u,
844
+ const n = t, s = L(n), {
845
+ loading: o,
792
846
  result: c,
793
- error: f,
794
- status: o,
795
- execute: y,
796
- reset: a,
797
- abort: i
847
+ error: i,
848
+ status: l,
849
+ execute: m,
850
+ reset: f,
851
+ abort: a
798
852
  } = X(n);
799
853
  let d;
800
- e[2] !== y || e[3] !== l ? (d = /* @__PURE__ */ s((v) => {
801
- const w = {
802
- url: l.current.url,
854
+ e[2] !== m || e[3] !== s ? (d = /* @__PURE__ */ u((w) => {
855
+ const v = {
856
+ url: s.current.url,
803
857
  method: "POST",
804
- body: v
858
+ body: w
805
859
  };
806
- return y(w);
807
- }, "t1"), e[2] = y, e[3] = l, e[4] = d) : d = e[4];
808
- const m = d;
809
- let h;
810
- e[5] !== m || e[6] !== n.autoExecute || e[7] !== n.initialQuery || e[8] !== n.query ? (h = {
860
+ return m(v);
861
+ }, "t1"), e[2] = m, e[3] = s, e[4] = d) : d = e[4];
862
+ const h = d;
863
+ let y;
864
+ e[5] !== h || e[6] !== n.autoExecute || e[7] !== n.initialQuery || e[8] !== n.query ? (y = {
811
865
  initialQuery: n.initialQuery,
812
866
  query: n.query,
813
867
  autoExecute: n.autoExecute,
814
- execute: m
815
- }, e[5] = m, e[6] = n.autoExecute, e[7] = n.initialQuery, e[8] = n.query, e[9] = h) : h = e[9];
868
+ execute: h
869
+ }, e[5] = h, e[6] = n.autoExecute, e[7] = n.initialQuery, e[8] = n.query, e[9] = y) : y = e[9];
816
870
  const {
817
- getQuery: g,
871
+ getQuery: b,
818
872
  setQuery: E
819
- } = J(h);
820
- let b;
821
- e[10] !== m || e[11] !== g ? (b = /* @__PURE__ */ s(async () => {
822
- const v = g();
823
- if (D(v))
824
- return await m(v);
825
- }, "t3"), e[10] = m, e[11] = g, e[12] = b) : b = e[12];
826
- const x = b;
873
+ } = B(y);
874
+ let g;
875
+ e[10] !== h || e[11] !== b ? (g = /* @__PURE__ */ u(async () => {
876
+ const w = b();
877
+ if (D(w))
878
+ return await h(w);
879
+ }, "t3"), e[10] = h, e[11] = b, e[12] = g) : g = e[12];
880
+ const x = g;
827
881
  let F;
828
- return e[13] !== i || e[14] !== f || e[15] !== x || e[16] !== g || e[17] !== u || e[18] !== a || e[19] !== c || e[20] !== E || e[21] !== o ? (F = {
829
- loading: u,
882
+ return e[13] !== a || e[14] !== i || e[15] !== x || e[16] !== b || e[17] !== o || e[18] !== f || e[19] !== c || e[20] !== E || e[21] !== l ? (F = {
883
+ loading: o,
830
884
  result: c,
831
- error: f,
832
- status: o,
885
+ error: i,
886
+ status: l,
833
887
  execute: x,
834
- reset: a,
835
- abort: i,
836
- getQuery: g,
888
+ reset: f,
889
+ abort: a,
890
+ getQuery: b,
837
891
  setQuery: E
838
- }, e[13] = i, e[14] = f, e[15] = x, e[16] = g, e[17] = u, e[18] = a, e[19] = c, e[20] = E, e[21] = o, e[22] = F) : F = e[22], F;
892
+ }, e[13] = a, e[14] = i, e[15] = x, e[16] = b, e[17] = o, e[18] = f, e[19] = c, e[20] = E, e[21] = l, e[22] = F) : F = e[22], F;
839
893
  }
840
- s(A, "useFetcherQuery");
841
- function Ne(r) {
842
- return A(r);
894
+ u(P, "useFetcherQuery");
895
+ function Ve(r) {
896
+ return P(r);
843
897
  }
844
- s(Ne, "useFetcherCountQuery");
845
- function Ge(r) {
846
- return A(r);
898
+ u(Ve, "useFetcherCountQuery");
899
+ function We(r) {
900
+ return P(r);
847
901
  }
848
- s(Ge, "useFetcherListQuery");
849
- function Ke(r) {
902
+ u(We, "useFetcherListQuery");
903
+ function Be(r) {
850
904
  const e = S(2);
851
905
  let t;
852
906
  return e[0] !== r ? (t = {
853
907
  ...r,
854
908
  resultExtractor: ie
855
- }, e[0] = r, e[1] = t) : t = e[1], A(t);
856
- }
857
- s(Ke, "useFetcherListStreamQuery");
858
- function Ve(r) {
859
- return A(r);
860
- }
861
- s(Ve, "useFetcherPagedQuery");
862
- function We(r) {
863
- return A(r);
909
+ }, e[0] = r, e[1] = t) : t = e[1], P(t);
864
910
  }
865
- s(We, "useFetcherSingleQuery");
866
- function je(r) {
911
+ u(Be, "useFetcherListStreamQuery");
912
+ function He(r) {
867
913
  return P(r);
868
914
  }
869
- s(je, "useCountQuery");
915
+ u(He, "useFetcherPagedQuery");
870
916
  function Je(r) {
871
917
  return P(r);
872
918
  }
873
- s(Je, "useListQuery");
919
+ u(Je, "useFetcherSingleQuery");
874
920
  function Ye(r) {
875
- return P(r);
921
+ return A(r);
876
922
  }
877
- s(Ye, "useListStreamQuery");
878
- function Be(r) {
879
- return P(r);
923
+ u(Ye, "useCountQuery");
924
+ function Xe(r) {
925
+ return A(r);
880
926
  }
881
- s(Be, "usePagedQuery");
882
- function He(r) {
883
- return P(r);
927
+ u(Xe, "useListQuery");
928
+ function Ze(r) {
929
+ return A(r);
884
930
  }
885
- s(He, "useSingleQuery");
886
- function Xe(r) {
931
+ u(Ze, "useListStreamQuery");
932
+ function et(r) {
933
+ return A(r);
934
+ }
935
+ u(et, "usePagedQuery");
936
+ function tt(r) {
937
+ return A(r);
938
+ }
939
+ u(tt, "useSingleQuery");
940
+ function rt(r) {
887
941
  const e = S(13), {
888
942
  bus: t,
889
943
  handler: n
890
944
  } = r;
891
- let l;
892
- e[0] !== t || e[1] !== n ? (l = /* @__PURE__ */ s(() => t.on(n), "t0"), e[0] = t, e[1] = n, e[2] = l) : l = e[2];
893
- const u = l;
945
+ let s;
946
+ e[0] !== t || e[1] !== n ? (s = /* @__PURE__ */ u(() => t.on(n), "t0"), e[0] = t, e[1] = n, e[2] = s) : s = e[2];
947
+ const o = s;
894
948
  let c;
895
- e[3] !== t || e[4] !== n.name ? (c = /* @__PURE__ */ s(() => t.off(n.name), "t1"), e[3] = t, e[4] = n.name, e[5] = c) : c = e[5];
896
- const f = c;
897
- let o, y;
898
- e[6] !== t || e[7] !== n ? (o = /* @__PURE__ */ s(() => (t.on(n) || console.warn(`Failed to subscribe to event bus with handler: ${n.name}`), () => {
949
+ e[3] !== t || e[4] !== n.name ? (c = /* @__PURE__ */ u(() => t.off(n.name), "t1"), e[3] = t, e[4] = n.name, e[5] = c) : c = e[5];
950
+ const i = c;
951
+ let l, m;
952
+ e[6] !== t || e[7] !== n ? (l = /* @__PURE__ */ u(() => (t.on(n) || console.warn(`Failed to subscribe to event bus with handler: ${n.name}`), () => {
899
953
  t.off(n.name);
900
- }), "t2"), y = [t, n], e[6] = t, e[7] = n, e[8] = o, e[9] = y) : (o = e[8], y = e[9]), C(o, y);
901
- let a;
902
- return e[10] !== u || e[11] !== f ? (a = {
903
- subscribe: u,
904
- unsubscribe: f
905
- }, e[10] = u, e[11] = f, e[12] = a) : a = e[12], a;
906
- }
907
- s(Xe, "useEventSubscription");
954
+ }), "t2"), m = [t, n], e[6] = t, e[7] = n, e[8] = l, e[9] = m) : (l = e[8], m = e[9]), C(l, m);
955
+ let f;
956
+ return e[10] !== o || e[11] !== i ? (f = {
957
+ subscribe: o,
958
+ unsubscribe: i
959
+ }, e[10] = o, e[11] = i, e[12] = f) : f = e[12], f;
960
+ }
961
+ u(rt, "useEventSubscription");
908
962
  export {
909
- Fe as ANONYMOUS_USER,
963
+ Se as ANONYMOUS_USER,
910
964
  ae as PromiseStatus,
911
- ke as RefreshableRouteGuard,
912
- De as RouteGuard,
913
- B as SecurityContext,
914
- ze as SecurityProvider,
915
- ge as addFullscreenChangeListener,
916
- ye as enterFullscreen,
917
- he as exitFullscreen,
965
+ je as RefreshableRouteGuard,
966
+ Ne as RouteGuard,
967
+ J as SecurityContext,
968
+ Ue as SecurityProvider,
969
+ be as addFullscreenChangeListener,
970
+ ke as createExecuteApiHooks,
971
+ he as enterFullscreen,
972
+ ye as exitFullscreen,
918
973
  me as getFullscreenElement,
919
974
  D as isValidateQuery,
920
- be as removeFullscreenChangeListener,
921
- je as useCountQuery,
975
+ ge as removeFullscreenChangeListener,
976
+ Ye as useCountQuery,
922
977
  k as useDebouncedCallback,
923
- $e as useDebouncedExecutePromise,
924
- Te as useDebouncedFetcher,
925
- Ue as useDebouncedFetcherQuery,
926
- Oe as useDebouncedQuery,
927
- Xe as useEventSubscription,
928
- U as useExecutePromise,
978
+ Ae as useDebouncedExecutePromise,
979
+ Ge as useDebouncedFetcher,
980
+ Ke as useDebouncedFetcherQuery,
981
+ Pe as useDebouncedQuery,
982
+ rt as useEventSubscription,
983
+ T as useExecutePromise,
929
984
  X as useFetcher,
930
- Ne as useFetcherCountQuery,
931
- Ge as useFetcherListQuery,
932
- Ke as useFetcherListStreamQuery,
933
- Ve as useFetcherPagedQuery,
934
- A as useFetcherQuery,
935
- We as useFetcherSingleQuery,
936
- Ae as useForceUpdate,
937
- pe as useFullscreen,
938
- Me as useImmerKeyStorage,
939
- Y as useKeyStorage,
940
- $ as useLatest,
941
- Je as useListQuery,
942
- Ye as useListStreamQuery,
943
- j as useMounted,
944
- Be as usePagedQuery,
985
+ Ve as useFetcherCountQuery,
986
+ We as useFetcherListQuery,
987
+ Be as useFetcherListStreamQuery,
988
+ He as useFetcherPagedQuery,
989
+ P as useFetcherQuery,
990
+ Je as useFetcherSingleQuery,
991
+ De as useForceUpdate,
992
+ Me as useFullscreen,
993
+ Te as useImmerKeyStorage,
994
+ H as useKeyStorage,
995
+ L as useLatest,
996
+ Xe as useListQuery,
997
+ Ze as useListStreamQuery,
998
+ W as useMounted,
999
+ et as usePagedQuery,
945
1000
  fe as usePromiseState,
946
- P as useQuery,
947
- J as useQueryState,
948
- Pe as useRefs,
1001
+ A as useQuery,
1002
+ B as useQueryState,
1003
+ ze as useRefs,
949
1004
  de as useRequestId,
950
- ve as useSecurity,
951
- H as useSecurityContext,
952
- He as useSingleQuery
1005
+ Qe as useSecurity,
1006
+ Y as useSecurityContext,
1007
+ tt as useSingleQuery
953
1008
  };
954
1009
  //# sourceMappingURL=index.es.js.map