@ahoo-wang/fetcher-react 3.4.0 → 3.4.2

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,615 +1,654 @@
1
1
  var z = Object.defineProperty;
2
- var f = (t, e) => z(t, "name", { value: e, configurable: !0 });
3
- import { useRef as F, useEffect as L, useState as P, useCallback as h, useMemo as A, useReducer as G, useSyncExternalStore as W } from "react";
4
- import { c as S } from "react/compiler-runtime";
5
- import { nameGenerator as J } from "@ahoo-wang/fetcher-eventbus";
2
+ var m = (r, e) => z(r, "name", { value: e, configurable: !0 });
3
+ import { useRef as F, useEffect as L, useState as P, useCallback as g, useMemo as D, useReducer as G, useSyncExternalStore as J } from "react";
4
+ import { c as _ } from "react/compiler-runtime";
5
+ import { nameGenerator as W } from "@ahoo-wang/fetcher-eventbus";
6
6
  import { produce as N } from "immer";
7
- import { fetcherRegistrar as j, getFetcher as k } from "@ahoo-wang/fetcher";
8
- import { JsonEventStreamResultExtractor as B } from "@ahoo-wang/fetcher-eventstream";
7
+ import { fetcherRegistrar as j, getFetcher as k, JsonResultExtractor as B } from "@ahoo-wang/fetcher";
8
+ import { JsonEventStreamResultExtractor as H } from "@ahoo-wang/fetcher-eventstream";
9
9
  function T() {
10
- const t = S(3), e = F(!1);
11
- let r;
12
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ f(() => e.current, "t0"), t[0] = r) : r = t[0];
13
- const n = r;
10
+ const r = _(3), e = F(!1);
11
+ let t;
12
+ r[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ m(() => e.current, "t0"), r[0] = t) : t = r[0];
13
+ const n = t;
14
14
  let c, s;
15
- return t[1] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ f(() => (e.current = !0, () => {
15
+ return r[1] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ m(() => (e.current = !0, () => {
16
16
  e.current = !1;
17
- }), "t1"), s = [], t[1] = c, t[2] = s) : (c = t[1], s = t[2]), L(c, s), n;
17
+ }), "t1"), s = [], r[1] = c, r[2] = s) : (c = r[1], s = r[2]), L(c, s), n;
18
18
  }
19
- f(T, "useMounted");
20
- function R(t) {
21
- const e = F(t);
22
- return e.current = t, e;
19
+ m(T, "useMounted");
20
+ function R(r) {
21
+ const e = F(r);
22
+ return e.current = r, e;
23
23
  }
24
- f(R, "useLatest");
25
- var H = /* @__PURE__ */ ((t) => (t.IDLE = "idle", t.LOADING = "loading", t.SUCCESS = "success", t.ERROR = "error", t))(H || {});
26
- function X(t) {
27
- const [e, r] = P(
28
- t?.initialStatus ?? "idle"
24
+ m(R, "useLatest");
25
+ var X = /* @__PURE__ */ ((r) => (r.IDLE = "idle", r.LOADING = "loading", r.SUCCESS = "success", r.ERROR = "error", r))(X || {});
26
+ function Y(r) {
27
+ const [e, t] = P(
28
+ r?.initialStatus ?? "idle"
29
29
  /* IDLE */
30
- ), [n, c] = P(void 0), [s, d] = P(void 0), l = T(), a = R(t), i = h(() => {
31
- l() && (r(
30
+ ), [n, c] = P(void 0), [s, f] = P(void 0), l = T(), i = R(r), a = g(() => {
31
+ l() && (t(
32
32
  "loading"
33
33
  /* LOADING */
34
- ), d(void 0));
35
- }, [l]), u = h(async (b) => {
34
+ ), f(void 0));
35
+ }, [l]), o = g(async (b) => {
36
36
  if (l()) {
37
- c(b), r(
37
+ c(b), t(
38
38
  "success"
39
39
  /* SUCCESS */
40
- ), d(void 0);
40
+ ), f(void 0);
41
41
  try {
42
- await a.current?.onSuccess?.(b);
42
+ await i.current?.onSuccess?.(b);
43
43
  } catch (y) {
44
44
  console.warn("PromiseState onSuccess callback error:", y);
45
45
  }
46
46
  }
47
- }, [l, a]), o = h(async (b) => {
47
+ }, [l, i]), u = g(async (b) => {
48
48
  if (l()) {
49
- d(b), r(
49
+ f(b), t(
50
50
  "error"
51
51
  /* ERROR */
52
52
  ), c(void 0);
53
53
  try {
54
- await a.current?.onError?.(b);
54
+ await i.current?.onError?.(b);
55
55
  } catch (y) {
56
56
  console.warn("PromiseState onError callback error:", y);
57
57
  }
58
58
  }
59
- }, [l, a]), m = h(() => {
60
- l() && (r(
59
+ }, [l, i]), d = g(() => {
60
+ l() && (t(
61
61
  "idle"
62
62
  /* IDLE */
63
- ), d(void 0), c(void 0));
63
+ ), f(void 0), c(void 0));
64
64
  }, [l]);
65
- return A(() => ({
65
+ return D(() => ({
66
66
  status: e,
67
67
  loading: e === "loading",
68
68
  result: n,
69
69
  error: s,
70
- setLoading: i,
71
- setSuccess: u,
72
- setError: o,
73
- setIdle: m
74
- }), [e, n, s, i, u, o, m]);
70
+ setLoading: a,
71
+ setSuccess: o,
72
+ setError: u,
73
+ setIdle: d
74
+ }), [e, n, s, a, o, u, d]);
75
75
  }
76
- f(X, "usePromiseState");
77
- function Y() {
78
- const t = S(6), e = F(0);
79
- let r;
80
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ f(() => e.current = e.current + 1, "t0"), t[0] = r) : r = t[0];
81
- const n = r;
76
+ m(Y, "usePromiseState");
77
+ function Z() {
78
+ const r = _(6), e = F(0);
79
+ let t;
80
+ r[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ m(() => e.current = e.current + 1, "t0"), r[0] = t) : t = r[0];
81
+ const n = t;
82
82
  let c;
83
- t[1] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ f(() => e.current, "t1"), t[1] = c) : c = t[1];
83
+ r[1] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ m(() => e.current, "t1"), r[1] = c) : c = r[1];
84
84
  const s = c;
85
- let d;
86
- t[2] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ f((b) => b === e.current, "t2"), t[2] = d) : d = t[2];
87
- const l = d;
88
- let a;
89
- t[3] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ f(() => {
85
+ let f;
86
+ r[2] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ m((b) => b === e.current, "t2"), r[2] = f) : f = r[2];
87
+ const l = f;
88
+ let i;
89
+ r[3] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ m(() => {
90
90
  e.current = e.current + 1;
91
- }, "t3"), t[3] = a) : a = t[3];
92
- const i = a;
93
- let u;
94
- t[4] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ f(() => {
91
+ }, "t3"), r[3] = i) : i = r[3];
92
+ const a = i;
93
+ let o;
94
+ r[4] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ m(() => {
95
95
  e.current = 0;
96
- }, "t4"), t[4] = u) : u = t[4];
97
- const o = u;
98
- let m;
99
- return t[5] === Symbol.for("react.memo_cache_sentinel") ? (m = {
96
+ }, "t4"), r[4] = o) : o = r[4];
97
+ const u = o;
98
+ let d;
99
+ return r[5] === Symbol.for("react.memo_cache_sentinel") ? (d = {
100
100
  generate: n,
101
101
  current: s,
102
102
  isLatest: l,
103
- invalidate: i,
104
- reset: o
105
- }, t[5] = m) : m = t[5], m;
103
+ invalidate: a,
104
+ reset: u
105
+ }, r[5] = d) : d = r[5], d;
106
106
  }
107
- f(Y, "useRequestId");
108
- function M(t) {
107
+ m(Z, "useRequestId");
108
+ function q(r) {
109
109
  const {
110
110
  loading: e,
111
- result: r,
111
+ result: t,
112
112
  error: n,
113
113
  status: c,
114
114
  setLoading: s,
115
- setSuccess: d,
115
+ setSuccess: f,
116
116
  setError: l,
117
- setIdle: a
118
- } = X(t), i = T(), u = Y(), o = F(void 0), m = t?.propagateError, b = t?.onAbort, y = h(async () => {
117
+ setIdle: i
118
+ } = Y(r), a = T(), o = Z(), u = F(void 0), d = r?.propagateError, b = r?.onAbort, y = g(async () => {
119
119
  try {
120
120
  await b?.();
121
- } catch (_) {
122
- console.warn("useExecutePromise onAbort callback error:", _);
121
+ } catch (S) {
122
+ console.warn("useExecutePromise onAbort callback error:", S);
123
123
  }
124
- }, [b]), g = h(async (_) => {
125
- o.current && (o.current.abort(), await y());
126
- const v = new AbortController();
127
- o.current = v;
128
- const w = u.generate();
124
+ }, [b]), h = g(async (S) => {
125
+ u.current && (u.current.abort(), await y());
126
+ const E = new AbortController();
127
+ u.current = E;
128
+ const w = o.generate();
129
129
  s();
130
130
  try {
131
- const Q = await _(v);
132
- i() && u.isLatest(w) && await d(Q);
133
- } catch (Q) {
134
- if (Q instanceof Error && Q.name === "AbortError") {
135
- i() && a();
131
+ const v = await S(E);
132
+ a() && o.isLatest(w) && await f(v);
133
+ } catch (v) {
134
+ if (v instanceof Error && v.name === "AbortError") {
135
+ a() && i();
136
136
  return;
137
137
  }
138
- if (i() && u.isLatest(w) && await l(Q), m)
139
- throw Q;
138
+ if (a() && o.isLatest(w) && await l(v), d)
139
+ throw v;
140
140
  } finally {
141
- o.current === v && (o.current = void 0);
141
+ u.current === E && (u.current = void 0);
142
142
  }
143
- }, [s, d, l, a, i, u, m, y]), E = h(() => {
144
- i() && a();
145
- }, [a, i]), x = h(async () => {
146
- E(), o.current && (o.current.abort(), o.current = void 0, await y());
147
- }, [E, y]);
143
+ }, [s, f, l, i, a, o, d, y]), Q = g(() => {
144
+ a() && i();
145
+ }, [i, a]), x = g(async () => {
146
+ Q(), u.current && (u.current.abort(), u.current = void 0, await y());
147
+ }, [Q, y]);
148
148
  return L(() => () => {
149
149
  x();
150
- }, [x]), A(() => ({
150
+ }, [x]), D(() => ({
151
151
  loading: e,
152
- result: r,
152
+ result: t,
153
153
  error: n,
154
154
  status: c,
155
- execute: g,
156
- reset: E,
155
+ execute: h,
156
+ reset: Q,
157
157
  abort: x
158
- }), [e, r, n, c, g, E, x]);
158
+ }), [e, t, n, c, h, Q, x]);
159
159
  }
160
- f(M, "useExecutePromise");
161
- function le() {
162
- const t = F(/* @__PURE__ */ new Map()), e = h((o) => t.current.get(o), []), r = h((o, m) => t.current.set(o, m), []), n = h((o) => t.current.has(o), []), c = h((o) => t.current.delete(o), []), s = h(() => t.current.clear(), []), d = h(() => t.current.keys(), []), l = h(() => t.current.values(), []), a = h(() => t.current.entries(), []), i = h(() => t.current[Symbol.iterator](), []), u = h((o) => (m) => {
163
- m ? t.current.set(o, m) : t.current.delete(o);
160
+ m(q, "useExecutePromise");
161
+ function ie() {
162
+ const r = F(/* @__PURE__ */ new Map()), e = g((u) => r.current.get(u), []), t = g((u, d) => r.current.set(u, d), []), n = g((u) => r.current.has(u), []), c = g((u) => r.current.delete(u), []), s = g(() => r.current.clear(), []), f = g(() => r.current.keys(), []), l = g(() => r.current.values(), []), i = g(() => r.current.entries(), []), a = g(() => r.current[Symbol.iterator](), []), o = g((u) => (d) => {
163
+ d ? r.current.set(u, d) : r.current.delete(u);
164
164
  }, []);
165
165
  return L(() => () => {
166
- t.current.clear();
167
- }, []), A(() => ({
168
- register: u,
166
+ r.current.clear();
167
+ }, []), D(() => ({
168
+ register: o,
169
169
  get: e,
170
- set: r,
170
+ set: t,
171
171
  has: n,
172
172
  delete: c,
173
173
  clear: s,
174
- keys: d,
174
+ keys: f,
175
175
  values: l,
176
- entries: a,
176
+ entries: i,
177
177
  get size() {
178
- return t.current.size;
178
+ return r.current.size;
179
179
  },
180
- [Symbol.iterator]: i
181
- }), [u, e, r, n, c, s, d, l, a, i]);
180
+ [Symbol.iterator]: a
181
+ }), [o, e, t, n, c, s, f, l, i, a]);
182
182
  }
183
- f(le, "useRefs");
184
- function q(t, e) {
185
- const r = S(9);
183
+ m(ie, "useRefs");
184
+ function A(r, e) {
185
+ const t = _(9);
186
186
  if (e.leading === !1 && e.trailing === !1)
187
187
  throw new Error("useDebouncedCallback: at least one of leading or trailing must be true");
188
- const n = F(void 0), c = F(!1), s = R(t), d = R(e);
188
+ const n = F(void 0), c = F(!1), s = R(r), f = R(e);
189
189
  let l;
190
- r[0] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ f(() => n.current !== void 0, "t0"), r[0] = l) : l = r[0];
191
- const a = l;
192
- let i;
193
- r[1] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ f(() => {
190
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ m(() => n.current !== void 0, "t0"), t[0] = l) : l = t[0];
191
+ const i = l;
192
+ let a;
193
+ t[1] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ m(() => {
194
194
  n.current !== void 0 && (clearTimeout(n.current), n.current = void 0);
195
- }, "t1"), r[1] = i) : i = r[1];
196
- const u = i;
197
- let o, m;
198
- r[2] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ f(() => () => {
199
- u();
200
- }, "t2"), m = [u], r[2] = o, r[3] = m) : (o = r[2], m = r[3]), L(o, m);
195
+ }, "t1"), t[1] = a) : a = t[1];
196
+ const o = a;
197
+ let u, d;
198
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ m(() => () => {
199
+ o();
200
+ }, "t2"), d = [o], t[2] = u, t[3] = d) : (u = t[2], d = t[3]), L(u, d);
201
201
  let b;
202
- r[4] !== s || r[5] !== d ? (b = /* @__PURE__ */ f((...E) => {
203
- const x = E, {
204
- leading: _,
205
- trailing: v,
202
+ t[4] !== s || t[5] !== f ? (b = /* @__PURE__ */ m((...Q) => {
203
+ const x = Q, {
204
+ leading: S,
205
+ trailing: E,
206
206
  delay: w
207
- } = d.current, Q = _ === void 0 ? !1 : _, $ = v === void 0 ? !0 : v;
208
- u(), Q && !c.current && (s.current(...x), c.current = !0), $ && (n.current = setTimeout(() => {
207
+ } = f.current, v = S === void 0 ? !1 : S, $ = E === void 0 ? !0 : E;
208
+ o(), v && !c.current && (s.current(...x), c.current = !0), $ && (n.current = setTimeout(() => {
209
209
  c.current || s.current(...x), c.current = !1, n.current = void 0;
210
210
  }, w));
211
- }, "t4"), r[4] = s, r[5] = d, r[6] = b) : b = r[6];
211
+ }, "t4"), t[4] = s, t[5] = f, t[6] = b) : b = t[6];
212
212
  const y = b;
213
- let g;
214
- return r[7] !== y ? (g = {
213
+ let h;
214
+ return t[7] !== y ? (h = {
215
215
  run: y,
216
- cancel: u,
217
- isPending: a
218
- }, r[7] = y, r[8] = g) : g = r[8], g;
216
+ cancel: o,
217
+ isPending: i
218
+ }, t[7] = y, t[8] = h) : h = t[8], h;
219
219
  }
220
- f(q, "useDebouncedCallback");
221
- function ae(t) {
222
- const e = S(10), {
223
- loading: r,
220
+ m(A, "useDebouncedCallback");
221
+ function ae(r) {
222
+ const e = _(10), {
223
+ loading: t,
224
224
  result: n,
225
225
  error: c,
226
226
  execute: s,
227
- reset: d,
227
+ reset: f,
228
228
  abort: l,
229
- status: a
230
- } = M(t), {
231
- run: i,
232
- cancel: u,
233
- isPending: o
234
- } = q(s, t.debounce);
235
- let m;
236
- return e[0] !== l || e[1] !== u || e[2] !== c || e[3] !== o || e[4] !== r || e[5] !== d || e[6] !== n || e[7] !== i || e[8] !== a ? (m = {
237
- loading: r,
229
+ status: i
230
+ } = q(r), {
231
+ run: a,
232
+ cancel: o,
233
+ isPending: u
234
+ } = A(s, r.debounce);
235
+ let d;
236
+ return e[0] !== l || e[1] !== o || e[2] !== c || e[3] !== u || e[4] !== t || e[5] !== f || e[6] !== n || e[7] !== a || e[8] !== i ? (d = {
237
+ loading: t,
238
238
  result: n,
239
239
  error: c,
240
- status: a,
241
- reset: d,
240
+ status: i,
241
+ reset: f,
242
242
  abort: l,
243
- run: i,
244
- cancel: u,
245
- isPending: o
246
- }, e[0] = l, e[1] = u, e[2] = c, e[3] = o, e[4] = r, e[5] = d, e[6] = n, e[7] = i, e[8] = a, e[9] = m) : m = e[9], m;
243
+ run: a,
244
+ cancel: o,
245
+ isPending: u
246
+ }, e[0] = l, e[1] = o, e[2] = c, e[3] = u, e[4] = t, e[5] = f, e[6] = n, e[7] = a, e[8] = i, e[9] = d) : d = e[9], d;
247
247
  }
248
- f(ae, "useDebouncedExecutePromise");
249
- function ie() {
250
- const [, t] = G(Z, 0);
251
- return t;
248
+ m(ae, "useDebouncedExecutePromise");
249
+ function fe() {
250
+ const [, r] = G(ee, 0);
251
+ return r;
252
252
  }
253
- f(ie, "useForceUpdate");
254
- function Z(t) {
255
- return t + 1;
253
+ m(fe, "useForceUpdate");
254
+ function ee(r) {
255
+ return r + 1;
256
256
  }
257
- f(Z, "_temp");
258
- function ee(t, e) {
259
- const r = S(13);
257
+ m(ee, "_temp");
258
+ function te(r, e) {
259
+ const t = _(13);
260
260
  let n;
261
- r[0] !== t ? (n = /* @__PURE__ */ f((b) => t.addListener({
262
- name: J.generate("useKeyStorage"),
261
+ t[0] !== r ? (n = /* @__PURE__ */ m((b) => r.addListener({
262
+ name: W.generate("useKeyStorage"),
263
263
  handle: b
264
- }), "t0"), r[0] = t, r[1] = n) : n = r[1];
264
+ }), "t0"), t[0] = r, t[1] = n) : n = t[1];
265
265
  const c = n;
266
266
  let s;
267
- r[2] !== e || r[3] !== t ? (s = /* @__PURE__ */ f(() => {
268
- const b = t.get();
267
+ t[2] !== e || t[3] !== r ? (s = /* @__PURE__ */ m(() => {
268
+ const b = r.get();
269
269
  return b !== null ? b : e ?? null;
270
- }, "t1"), r[2] = e, r[3] = t, r[4] = s) : s = r[4];
271
- const d = s, l = W(c, d, d);
272
- let a;
273
- r[5] !== t ? (a = /* @__PURE__ */ f((b) => t.set(b), "t2"), r[5] = t, r[6] = a) : a = r[6];
274
- const i = a;
275
- let u;
276
- r[7] !== t ? (u = /* @__PURE__ */ f(() => t.remove(), "t3"), r[7] = t, r[8] = u) : u = r[8];
277
- const o = u;
278
- let m;
279
- return r[9] !== o || r[10] !== i || r[11] !== l ? (m = [l, i, o], r[9] = o, r[10] = i, r[11] = l, r[12] = m) : m = r[12], m;
280
- }
281
- f(ee, "useKeyStorage");
282
- function fe(t, e) {
283
- const r = S(8), [n, c, s] = ee(t, e);
270
+ }, "t1"), t[2] = e, t[3] = r, t[4] = s) : s = t[4];
271
+ const f = s, l = J(c, f, f);
272
+ let i;
273
+ t[5] !== r ? (i = /* @__PURE__ */ m((b) => r.set(b), "t2"), t[5] = r, t[6] = i) : i = t[6];
274
+ const a = i;
275
+ let o;
276
+ t[7] !== r ? (o = /* @__PURE__ */ m(() => r.remove(), "t3"), t[7] = r, t[8] = o) : o = t[8];
277
+ const u = o;
284
278
  let d;
285
- r[0] !== s || r[1] !== c || r[2] !== n ? (d = /* @__PURE__ */ f((i) => {
286
- const u = N(n, i);
287
- if (u === null) {
279
+ return t[9] !== u || t[10] !== a || t[11] !== l ? (d = [l, a, u], t[9] = u, t[10] = a, t[11] = l, t[12] = d) : d = t[12], d;
280
+ }
281
+ m(te, "useKeyStorage");
282
+ function de(r, e) {
283
+ const t = _(8), [n, c, s] = te(r, e);
284
+ let f;
285
+ t[0] !== s || t[1] !== c || t[2] !== n ? (f = /* @__PURE__ */ m((a) => {
286
+ const o = N(n, a);
287
+ if (o === null) {
288
288
  s();
289
289
  return;
290
290
  }
291
- return c(u);
292
- }, "t0"), r[0] = s, r[1] = c, r[2] = n, r[3] = d) : d = r[3];
293
- const l = d;
294
- let a;
295
- return r[4] !== s || r[5] !== l || r[6] !== n ? (a = [n, l, s], r[4] = s, r[5] = l, r[6] = n, r[7] = a) : a = r[7], a;
291
+ return c(o);
292
+ }, "t0"), t[0] = s, t[1] = c, t[2] = n, t[3] = f) : f = t[3];
293
+ const l = f;
294
+ let i;
295
+ return t[4] !== s || t[5] !== l || t[6] !== n ? (i = [n, l, s], t[4] = s, t[5] = l, t[6] = n, t[7] = i) : i = t[7], i;
296
296
  }
297
- f(fe, "useImmerKeyStorage");
298
- function U(t) {
299
- const e = S(21);
300
- let r;
301
- e[0] !== t ? (r = t || {}, e[0] = t, e[1] = r) : r = e[1];
297
+ m(de, "useImmerKeyStorage");
298
+ function U(r) {
299
+ const e = _(21);
300
+ let t;
301
+ e[0] !== r ? (t = r || {}, e[0] = r, e[1] = t) : t = e[1];
302
302
  const {
303
303
  fetcher: n
304
- } = r, c = n === void 0 ? j.default : n, {
304
+ } = t, c = n === void 0 ? j.default : n, {
305
305
  loading: s,
306
- result: d,
306
+ result: f,
307
307
  error: l,
308
- status: a,
309
- execute: i,
310
- reset: u,
311
- abort: o
312
- } = M(t), [m, b] = P(void 0), y = R(t);
313
- let g;
314
- e[2] !== c ? (g = k(c), e[2] = c, e[3] = g) : g = e[3];
315
- const E = g;
308
+ status: i,
309
+ execute: a,
310
+ reset: o,
311
+ abort: u
312
+ } = q(r), [d, b] = P(void 0), y = R(r);
313
+ let h;
314
+ e[2] !== c ? (h = k(c), e[2] = c, e[3] = h) : h = e[3];
315
+ const Q = h;
316
316
  let x;
317
- e[4] !== E || e[5] !== y || e[6] !== i ? (x = /* @__PURE__ */ f(async (K) => {
317
+ e[4] !== Q || e[5] !== y || e[6] !== a ? (x = /* @__PURE__ */ m(async (K) => {
318
318
  try {
319
- await i(async (D) => {
320
- K.abortController = D;
321
- const O = await E.exchange(K, y.current);
322
- return b(O), await O.extractResult();
319
+ await a(async (M) => {
320
+ K.abortController = M;
321
+ const I = await Q.exchange(K, y.current);
322
+ return b(I), await I.extractResult();
323
323
  });
324
- } catch (D) {
325
- const O = D;
326
- throw b(void 0), O;
324
+ } catch (M) {
325
+ const I = M;
326
+ throw b(void 0), I;
327
327
  }
328
- }, "t3"), e[4] = E, e[5] = y, e[6] = i, e[7] = x) : x = e[7];
329
- const _ = x;
328
+ }, "t3"), e[4] = Q, e[5] = y, e[6] = a, e[7] = x) : x = e[7];
329
+ const S = x;
330
+ let E;
331
+ e[8] !== o ? (E = /* @__PURE__ */ m(() => {
332
+ o(), b(void 0);
333
+ }, "t4"), e[8] = o, e[9] = E) : E = e[9];
334
+ const w = E;
330
335
  let v;
331
- e[8] !== u ? (v = /* @__PURE__ */ f(() => {
336
+ e[10] !== u ? (v = /* @__PURE__ */ m(() => {
332
337
  u(), b(void 0);
333
- }, "t4"), e[8] = u, e[9] = v) : v = e[9];
334
- const w = v;
335
- let Q;
336
- e[10] !== o ? (Q = /* @__PURE__ */ f(() => {
337
- o(), b(void 0);
338
- }, "t5"), e[10] = o, e[11] = Q) : Q = e[11];
339
- const $ = Q;
340
- let p;
341
- return e[12] !== $ || e[13] !== l || e[14] !== m || e[15] !== _ || e[16] !== s || e[17] !== w || e[18] !== d || e[19] !== a ? (p = {
338
+ }, "t5"), e[10] = u, e[11] = v) : v = e[11];
339
+ const $ = v;
340
+ let O;
341
+ return e[12] !== $ || e[13] !== l || e[14] !== d || e[15] !== S || e[16] !== s || e[17] !== w || e[18] !== f || e[19] !== i ? (O = {
342
342
  loading: s,
343
- result: d,
343
+ result: f,
344
344
  error: l,
345
- status: a,
346
- exchange: m,
347
- execute: _,
345
+ status: i,
346
+ exchange: d,
347
+ execute: S,
348
348
  reset: w,
349
349
  abort: $
350
- }, e[12] = $, e[13] = l, e[14] = m, e[15] = _, e[16] = s, e[17] = w, e[18] = d, e[19] = a, e[20] = p) : p = e[20], p;
350
+ }, e[12] = $, e[13] = l, e[14] = d, e[15] = S, e[16] = s, e[17] = w, e[18] = f, e[19] = i, e[20] = O) : O = e[20], O;
351
351
  }
352
- f(U, "useFetcher");
353
- function de(t) {
354
- const e = S(11), {
355
- loading: r,
352
+ m(U, "useFetcher");
353
+ function me(r) {
354
+ const e = _(11), {
355
+ loading: t,
356
356
  result: n,
357
357
  error: c,
358
358
  status: s,
359
- exchange: d,
359
+ exchange: f,
360
360
  execute: l,
361
- reset: a,
362
- abort: i
363
- } = U(t), {
364
- run: u,
365
- cancel: o,
366
- isPending: m
367
- } = q(l, t.debounce);
361
+ reset: i,
362
+ abort: a
363
+ } = U(r), {
364
+ run: o,
365
+ cancel: u,
366
+ isPending: d
367
+ } = A(l, r.debounce);
368
368
  let b;
369
- return e[0] !== i || e[1] !== o || e[2] !== c || e[3] !== d || e[4] !== m || e[5] !== r || e[6] !== a || e[7] !== n || e[8] !== u || e[9] !== s ? (b = {
370
- loading: r,
369
+ return e[0] !== a || e[1] !== u || e[2] !== c || e[3] !== f || e[4] !== d || e[5] !== t || e[6] !== i || e[7] !== n || e[8] !== o || e[9] !== s ? (b = {
370
+ loading: t,
371
371
  result: n,
372
372
  error: c,
373
373
  status: s,
374
- exchange: d,
375
- reset: a,
376
- abort: i,
377
- run: u,
378
- cancel: o,
379
- isPending: m
380
- }, e[0] = i, e[1] = o, e[2] = c, e[3] = d, e[4] = m, e[5] = r, e[6] = a, e[7] = n, e[8] = u, e[9] = s, e[10] = b) : b = e[10], b;
374
+ exchange: f,
375
+ reset: i,
376
+ abort: a,
377
+ run: o,
378
+ cancel: u,
379
+ isPending: d
380
+ }, e[0] = a, e[1] = u, e[2] = c, e[3] = f, e[4] = d, e[5] = t, e[6] = i, e[7] = n, e[8] = o, e[9] = s, e[10] = b) : b = e[10], b;
381
381
  }
382
- f(de, "useDebouncedFetcher");
383
- function V(t) {
384
- const e = S(10), {
385
- initialQuery: r,
382
+ m(me, "useDebouncedFetcher");
383
+ function V(r) {
384
+ const e = _(10), {
385
+ initialQuery: t,
386
386
  autoExecute: n,
387
387
  execute: c
388
- } = t, s = n ?? !1, d = F(r);
388
+ } = r, s = n ?? !1, f = F(t);
389
389
  let l;
390
- e[0] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ f(() => d.current, "t0"), e[0] = l) : l = e[0];
391
- const a = l;
392
- let i;
393
- e[1] !== s || e[2] !== c ? (i = /* @__PURE__ */ f((y) => {
394
- d.current = y, s && c(y);
395
- }, "t1"), e[1] = s, e[2] = c, e[3] = i) : i = e[3];
396
- const u = i;
397
- let o, m;
398
- e[4] !== s || e[5] !== c ? (o = /* @__PURE__ */ f(() => {
399
- s && c(d.current);
400
- }, "t2"), m = [s, c], e[4] = s, e[5] = c, e[6] = o, e[7] = m) : (o = e[6], m = e[7]), L(o, m);
390
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ m(() => f.current, "t0"), e[0] = l) : l = e[0];
391
+ const i = l;
392
+ let a;
393
+ e[1] !== s || e[2] !== c ? (a = /* @__PURE__ */ m((y) => {
394
+ f.current = y, s && c(y);
395
+ }, "t1"), e[1] = s, e[2] = c, e[3] = a) : a = e[3];
396
+ const o = a;
397
+ let u, d;
398
+ e[4] !== s || e[5] !== c ? (u = /* @__PURE__ */ m(() => {
399
+ s && c(f.current);
400
+ }, "t2"), d = [s, c], e[4] = s, e[5] = c, e[6] = u, e[7] = d) : (u = e[6], d = e[7]), L(u, d);
401
401
  let b;
402
- return e[8] !== u ? (b = {
403
- getQuery: a,
404
- setQuery: u
405
- }, e[8] = u, e[9] = b) : b = e[9], b;
402
+ return e[8] !== o ? (b = {
403
+ getQuery: i,
404
+ setQuery: o
405
+ }, e[8] = o, e[9] = b) : b = e[9], b;
406
406
  }
407
- f(V, "useQueryState");
408
- function C(t) {
409
- const e = R(t), {
410
- loading: r,
407
+ m(V, "useQueryState");
408
+ function p(r) {
409
+ const e = R(r), {
410
+ loading: t,
411
411
  result: n,
412
412
  error: c,
413
413
  status: s,
414
- execute: d,
414
+ execute: f,
415
415
  reset: l,
416
- abort: a
417
- } = M(e.current), i = h((b) => d(/* @__PURE__ */ f(async (g) => e.current.execute(b, e.current.attributes, g), "queryExecutor")), [d, e]), {
418
- getQuery: u,
419
- setQuery: o
416
+ abort: i
417
+ } = q(e.current), a = g((b) => f(/* @__PURE__ */ m(async (h) => e.current.execute(b, e.current.attributes, h), "queryExecutor")), [f, e]), {
418
+ getQuery: o,
419
+ setQuery: u
420
420
  } = V({
421
- initialQuery: t.initialQuery,
421
+ initialQuery: r.initialQuery,
422
422
  autoExecute: e.current.autoExecute,
423
- execute: i
424
- }), m = h(() => i(u()), [i, u]);
425
- return A(() => ({
426
- loading: r,
423
+ execute: a
424
+ }), d = g(() => a(o()), [a, o]);
425
+ return D(() => ({
426
+ loading: t,
427
427
  result: n,
428
428
  error: c,
429
429
  status: s,
430
- execute: m,
430
+ execute: d,
431
431
  reset: l,
432
- abort: a,
433
- getQuery: u,
434
- setQuery: o
435
- }), [r, n, c, s, m, l, a, u, o]);
432
+ abort: i,
433
+ getQuery: o,
434
+ setQuery: u
435
+ }), [t, n, c, s, d, l, i, o, u]);
436
436
  }
437
- f(C, "useQuery");
438
- function me(t) {
439
- return C(t);
437
+ m(p, "useQuery");
438
+ function be(r) {
439
+ return p(r);
440
440
  }
441
- f(me, "useCountQuery");
442
- function I(t) {
443
- const e = S(20), r = R(t), {
444
- loading: n,
445
- result: c,
446
- error: s,
447
- status: d,
448
- execute: l,
449
- reset: a,
450
- abort: i
451
- } = U(r.current);
452
- let u;
453
- e[0] !== l || e[1] !== t.url ? (u = /* @__PURE__ */ f((_) => {
441
+ m(be, "useCountQuery");
442
+ function C(r) {
443
+ const e = _(22);
444
+ let t;
445
+ e[0] !== r ? (t = {
446
+ resultExtractor: B,
447
+ ...r
448
+ }, e[0] = r, e[1] = t) : t = e[1];
449
+ const n = t, c = R(n), {
450
+ loading: s,
451
+ result: f,
452
+ error: l,
453
+ status: i,
454
+ execute: a,
455
+ reset: o,
456
+ abort: u
457
+ } = U(n);
458
+ let d;
459
+ e[2] !== a || e[3] !== c ? (d = /* @__PURE__ */ m((w) => {
454
460
  const v = {
455
- url: t.url,
461
+ url: c.current.url,
456
462
  method: "POST",
457
- body: _
463
+ body: w
458
464
  };
459
- return l(v);
460
- }, "t0"), e[0] = l, e[1] = t.url, e[2] = u) : u = e[2];
461
- const o = u;
462
- let m;
463
- e[3] !== o || e[4] !== r.current.autoExecute || e[5] !== t.initialQuery ? (m = {
464
- initialQuery: t.initialQuery,
465
- autoExecute: r.current.autoExecute,
466
- execute: o
467
- }, e[3] = o, e[4] = r.current.autoExecute, e[5] = t.initialQuery, e[6] = m) : m = e[6];
465
+ return a(v);
466
+ }, "t1"), e[2] = a, e[3] = c, e[4] = d) : d = e[4];
467
+ const b = d;
468
+ let y;
469
+ e[5] !== b || e[6] !== n.autoExecute || e[7] !== n.initialQuery ? (y = {
470
+ initialQuery: n.initialQuery,
471
+ autoExecute: n.autoExecute,
472
+ execute: b
473
+ }, e[5] = b, e[6] = n.autoExecute, e[7] = n.initialQuery, e[8] = y) : y = e[8];
468
474
  const {
469
- getQuery: b,
470
- setQuery: y
471
- } = V(m);
472
- let g;
473
- e[7] !== o || e[8] !== b ? (g = /* @__PURE__ */ f(() => o(b()), "t2"), e[7] = o, e[8] = b, e[9] = g) : g = e[9];
474
- const E = g;
475
+ getQuery: h,
476
+ setQuery: Q
477
+ } = V(y);
475
478
  let x;
476
- return e[10] !== i || e[11] !== s || e[12] !== E || e[13] !== b || e[14] !== n || e[15] !== a || e[16] !== c || e[17] !== y || e[18] !== d ? (x = {
477
- loading: n,
478
- result: c,
479
- error: s,
480
- status: d,
481
- execute: E,
482
- reset: a,
483
- abort: i,
484
- getQuery: b,
485
- setQuery: y
486
- }, e[10] = i, e[11] = s, e[12] = E, e[13] = b, e[14] = n, e[15] = a, e[16] = c, e[17] = y, e[18] = d, e[19] = x) : x = e[19], x;
479
+ e[9] !== b || e[10] !== h ? (x = /* @__PURE__ */ m(() => b(h()), "t3"), e[9] = b, e[10] = h, e[11] = x) : x = e[11];
480
+ const S = x;
481
+ let E;
482
+ return e[12] !== u || e[13] !== l || e[14] !== S || e[15] !== h || e[16] !== s || e[17] !== o || e[18] !== f || e[19] !== Q || e[20] !== i ? (E = {
483
+ loading: s,
484
+ result: f,
485
+ error: l,
486
+ status: i,
487
+ execute: S,
488
+ reset: o,
489
+ abort: u,
490
+ getQuery: h,
491
+ setQuery: Q
492
+ }, e[12] = u, e[13] = l, e[14] = S, e[15] = h, e[16] = s, e[17] = o, e[18] = f, e[19] = Q, e[20] = i, e[21] = E) : E = e[21], E;
487
493
  }
488
- f(I, "useFetcherQuery");
489
- function be(t) {
490
- return I(t);
494
+ m(C, "useFetcherQuery");
495
+ function ye(r) {
496
+ return C(r);
491
497
  }
492
- f(be, "useFetcherCountQuery");
493
- function ye(t) {
494
- return I(t);
498
+ m(ye, "useFetcherCountQuery");
499
+ function he(r) {
500
+ return C(r);
495
501
  }
496
- f(ye, "useFetcherListQuery");
497
- function he(t) {
498
- const e = S(2);
499
- let r;
500
- return e[0] !== t ? (r = {
501
- ...t,
502
- resultExtractor: B
503
- }, e[0] = t, e[1] = r) : r = e[1], I(r);
502
+ m(he, "useFetcherListQuery");
503
+ function ge(r) {
504
+ const e = _(2);
505
+ let t;
506
+ return e[0] !== r ? (t = {
507
+ ...r,
508
+ resultExtractor: H
509
+ }, e[0] = r, e[1] = t) : t = e[1], C(t);
504
510
  }
505
- f(he, "useFetcherListStreamQuery");
506
- function ge(t) {
507
- return I(t);
511
+ m(ge, "useFetcherListStreamQuery");
512
+ function xe(r) {
513
+ return C(r);
508
514
  }
509
- f(ge, "useFetcherPagedQuery");
510
- function xe(t) {
511
- return I(t);
515
+ m(xe, "useFetcherPagedQuery");
516
+ function Ee(r) {
517
+ return C(r);
512
518
  }
513
- f(xe, "useFetcherSingleQuery");
514
- function Ee(t) {
515
- return C(t);
519
+ m(Ee, "useFetcherSingleQuery");
520
+ function ve(r) {
521
+ return p(r);
516
522
  }
517
- f(Ee, "useListQuery");
518
- function ve(t) {
519
- return C(t);
523
+ m(ve, "useListQuery");
524
+ function Qe(r) {
525
+ return p(r);
520
526
  }
521
- f(ve, "useListStreamQuery");
522
- function Qe(t) {
523
- return C(t);
527
+ m(Qe, "useListStreamQuery");
528
+ function Se(r) {
529
+ return p(r);
524
530
  }
525
- f(Qe, "usePagedQuery");
526
- function Se(t) {
527
- return C(t);
531
+ m(Se, "usePagedQuery");
532
+ function _e(r) {
533
+ return p(r);
528
534
  }
529
- f(Se, "useSingleQuery");
530
- function _e(t) {
531
- const e = S(12), {
532
- loading: r,
535
+ m(_e, "useSingleQuery");
536
+ function we(r) {
537
+ const e = _(12), {
538
+ loading: t,
533
539
  result: n,
534
540
  error: c,
535
541
  status: s,
536
- execute: d,
542
+ execute: f,
537
543
  reset: l,
538
- abort: a,
539
- getQuery: i,
540
- setQuery: u
541
- } = C(t), {
542
- run: o,
543
- cancel: m,
544
+ abort: i,
545
+ getQuery: a,
546
+ setQuery: o
547
+ } = C(r), {
548
+ run: u,
549
+ cancel: d,
544
550
  isPending: b
545
- } = q(d, t.debounce);
551
+ } = A(f, r.debounce);
546
552
  let y;
547
- return e[0] !== a || e[1] !== m || e[2] !== c || e[3] !== i || e[4] !== b || e[5] !== r || e[6] !== l || e[7] !== n || e[8] !== o || e[9] !== u || e[10] !== s ? (y = {
548
- loading: r,
553
+ return e[0] !== i || e[1] !== d || e[2] !== c || e[3] !== a || e[4] !== b || e[5] !== t || e[6] !== l || e[7] !== n || e[8] !== u || e[9] !== o || e[10] !== s ? (y = {
554
+ loading: t,
549
555
  result: n,
550
556
  error: c,
551
557
  status: s,
552
558
  reset: l,
553
- abort: a,
554
- getQuery: i,
555
- setQuery: u,
556
- run: o,
557
- cancel: m,
559
+ abort: i,
560
+ getQuery: a,
561
+ setQuery: o,
562
+ run: u,
563
+ cancel: d,
558
564
  isPending: b
559
- }, e[0] = a, e[1] = m, e[2] = c, e[3] = i, e[4] = b, e[5] = r, e[6] = l, e[7] = n, e[8] = o, e[9] = u, e[10] = s, e[11] = y) : y = e[11], y;
565
+ }, e[0] = i, e[1] = d, e[2] = c, e[3] = a, e[4] = b, e[5] = t, e[6] = l, e[7] = n, e[8] = u, e[9] = o, e[10] = s, e[11] = y) : y = e[11], y;
560
566
  }
561
- f(_e, "useDebouncedQuery");
562
- function we(t) {
563
- const e = S(13), {
564
- bus: r,
567
+ m(we, "useDebouncedFetcherQuery");
568
+ function Fe(r) {
569
+ const e = _(12), {
570
+ loading: t,
571
+ result: n,
572
+ error: c,
573
+ status: s,
574
+ execute: f,
575
+ reset: l,
576
+ abort: i,
577
+ getQuery: a,
578
+ setQuery: o
579
+ } = p(r), {
580
+ run: u,
581
+ cancel: d,
582
+ isPending: b
583
+ } = A(f, r.debounce);
584
+ let y;
585
+ return e[0] !== i || e[1] !== d || e[2] !== c || e[3] !== a || e[4] !== b || e[5] !== t || e[6] !== l || e[7] !== n || e[8] !== u || e[9] !== o || e[10] !== s ? (y = {
586
+ loading: t,
587
+ result: n,
588
+ error: c,
589
+ status: s,
590
+ reset: l,
591
+ abort: i,
592
+ getQuery: a,
593
+ setQuery: o,
594
+ run: u,
595
+ cancel: d,
596
+ isPending: b
597
+ }, e[0] = i, e[1] = d, e[2] = c, e[3] = a, e[4] = b, e[5] = t, e[6] = l, e[7] = n, e[8] = u, e[9] = o, e[10] = s, e[11] = y) : y = e[11], y;
598
+ }
599
+ m(Fe, "useDebouncedQuery");
600
+ function Re(r) {
601
+ const e = _(13), {
602
+ bus: t,
565
603
  handler: n
566
- } = t;
604
+ } = r;
567
605
  let c;
568
- e[0] !== r || e[1] !== n ? (c = /* @__PURE__ */ f(() => r.on(n), "t0"), e[0] = r, e[1] = n, e[2] = c) : c = e[2];
606
+ e[0] !== t || e[1] !== n ? (c = /* @__PURE__ */ m(() => t.on(n), "t0"), e[0] = t, e[1] = n, e[2] = c) : c = e[2];
569
607
  const s = c;
570
- let d;
571
- e[3] !== r || e[4] !== n.name ? (d = /* @__PURE__ */ f(() => r.off(n.name), "t1"), e[3] = r, e[4] = n.name, e[5] = d) : d = e[5];
572
- const l = d;
573
- let a, i;
574
- e[6] !== r || e[7] !== n ? (a = /* @__PURE__ */ f(() => (r.on(n) || console.warn(`Failed to subscribe to event bus with handler: ${n.name}`), () => {
575
- r.off(n.name);
576
- }), "t2"), i = [r, n], e[6] = r, e[7] = n, e[8] = a, e[9] = i) : (a = e[8], i = e[9]), L(a, i);
577
- let u;
578
- return e[10] !== s || e[11] !== l ? (u = {
608
+ let f;
609
+ e[3] !== t || e[4] !== n.name ? (f = /* @__PURE__ */ m(() => t.off(n.name), "t1"), e[3] = t, e[4] = n.name, e[5] = f) : f = e[5];
610
+ const l = f;
611
+ let i, a;
612
+ e[6] !== t || e[7] !== n ? (i = /* @__PURE__ */ m(() => (t.on(n) || console.warn(`Failed to subscribe to event bus with handler: ${n.name}`), () => {
613
+ t.off(n.name);
614
+ }), "t2"), a = [t, n], e[6] = t, e[7] = n, e[8] = i, e[9] = a) : (i = e[8], a = e[9]), L(i, a);
615
+ let o;
616
+ return e[10] !== s || e[11] !== l ? (o = {
579
617
  subscribe: s,
580
618
  unsubscribe: l
581
- }, e[10] = s, e[11] = l, e[12] = u) : u = e[12], u;
619
+ }, e[10] = s, e[11] = l, e[12] = o) : o = e[12], o;
582
620
  }
583
- f(we, "useEventSubscription");
621
+ m(Re, "useEventSubscription");
584
622
  export {
585
- H as PromiseStatus,
586
- me as useCountQuery,
587
- q as useDebouncedCallback,
623
+ X as PromiseStatus,
624
+ be as useCountQuery,
625
+ A as useDebouncedCallback,
588
626
  ae as useDebouncedExecutePromise,
589
- de as useDebouncedFetcher,
590
- _e as useDebouncedQuery,
591
- we as useEventSubscription,
592
- M as useExecutePromise,
627
+ me as useDebouncedFetcher,
628
+ we as useDebouncedFetcherQuery,
629
+ Fe as useDebouncedQuery,
630
+ Re as useEventSubscription,
631
+ q as useExecutePromise,
593
632
  U as useFetcher,
594
- be as useFetcherCountQuery,
595
- ye as useFetcherListQuery,
596
- he as useFetcherListStreamQuery,
597
- ge as useFetcherPagedQuery,
598
- I as useFetcherQuery,
599
- xe as useFetcherSingleQuery,
600
- ie as useForceUpdate,
601
- fe as useImmerKeyStorage,
602
- ee as useKeyStorage,
633
+ ye as useFetcherCountQuery,
634
+ he as useFetcherListQuery,
635
+ ge as useFetcherListStreamQuery,
636
+ xe as useFetcherPagedQuery,
637
+ C as useFetcherQuery,
638
+ Ee as useFetcherSingleQuery,
639
+ fe as useForceUpdate,
640
+ de as useImmerKeyStorage,
641
+ te as useKeyStorage,
603
642
  R as useLatest,
604
- Ee as useListQuery,
605
- ve as useListStreamQuery,
643
+ ve as useListQuery,
644
+ Qe as useListStreamQuery,
606
645
  T as useMounted,
607
- Qe as usePagedQuery,
608
- X as usePromiseState,
609
- C as useQuery,
646
+ Se as usePagedQuery,
647
+ Y as usePromiseState,
648
+ p as useQuery,
610
649
  V as useQueryState,
611
- le as useRefs,
612
- Y as useRequestId,
613
- Se as useSingleQuery
650
+ ie as useRefs,
651
+ Z as useRequestId,
652
+ _e as useSingleQuery
614
653
  };
615
654
  //# sourceMappingURL=index.es.js.map