drizzle-cube 0.4.34 → 0.4.36

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.
Files changed (69) hide show
  1. package/README.md +1 -1
  2. package/dist/adapters/express/index.cjs +1 -1
  3. package/dist/adapters/express/index.d.ts +7 -1
  4. package/dist/adapters/express/index.js +5 -4
  5. package/dist/adapters/fastify/index.cjs +1 -1
  6. package/dist/adapters/fastify/index.d.ts +7 -1
  7. package/dist/adapters/fastify/index.js +5 -4
  8. package/dist/adapters/{handler-ClgB__a-.cjs → handler-DzUX7CBs.cjs} +1 -1
  9. package/dist/adapters/{handler-rPpxuopb.js → handler-J55KQKe5.js} +1 -1
  10. package/dist/adapters/hono/index.cjs +1 -1
  11. package/dist/adapters/hono/index.d.ts +7 -1
  12. package/dist/adapters/hono/index.js +5 -4
  13. package/dist/adapters/{mcp-transport-DPpei63d.cjs → mcp-transport-CjA5_6G_.cjs} +2 -2
  14. package/dist/adapters/{mcp-transport-DWSNkwUY.js → mcp-transport-x_A7Q5OL.js} +35 -20
  15. package/dist/adapters/nextjs/index.cjs +1 -1
  16. package/dist/adapters/nextjs/index.d.ts +7 -1
  17. package/dist/adapters/nextjs/index.js +9 -8
  18. package/dist/adapters/{utils-BLFzzCI9.cjs → utils-CDExg9uP.cjs} +1 -1
  19. package/dist/adapters/{utils-B7VkyzMv.js → utils-DkKcpkx5.js} +1 -5
  20. package/dist/adapters/utils.cjs +1 -1
  21. package/dist/adapters/utils.js +1 -1
  22. package/dist/client/charts.js +3 -3
  23. package/dist/client/chunks/{DashboardEditModal-DenRJiYr.js → DashboardEditModal-kWEk4KJC.js} +8 -8
  24. package/dist/client/chunks/{DashboardEditModal-DenRJiYr.js.map → DashboardEditModal-kWEk4KJC.js.map} +1 -1
  25. package/dist/client/chunks/{FieldSearchModal-BQS1v1up.js → FieldSearchModal-rB26lhBD.js} +3 -3
  26. package/dist/client/chunks/{FieldSearchModal-BQS1v1up.js.map → FieldSearchModal-rB26lhBD.js.map} +1 -1
  27. package/dist/client/chunks/{analysis-builder-DG38V1gO.js → analysis-builder-CdDPUAEU.js} +8 -8
  28. package/dist/client/chunks/{analysis-builder-DG38V1gO.js.map → analysis-builder-CdDPUAEU.js.map} +1 -1
  29. package/dist/client/chunks/{analysis-builder-shared-DaFu78dk.js → analysis-builder-shared-3V70XUNW.js} +15 -19
  30. package/dist/client/chunks/{analysis-builder-shared-DaFu78dk.js.map → analysis-builder-shared-3V70XUNW.js.map} +1 -1
  31. package/dist/client/chunks/{chart-data-table-B2m_6EZe.js → chart-data-table-BlkFWPhF.js} +602 -581
  32. package/dist/client/chunks/chart-data-table-BlkFWPhF.js.map +1 -0
  33. package/dist/client/chunks/{chart-kpi-delta-S6qDEoJO.js → chart-kpi-delta-CUIjCDS3.js} +2 -2
  34. package/dist/client/chunks/{chart-kpi-delta-S6qDEoJO.js.map → chart-kpi-delta-CUIjCDS3.js.map} +1 -1
  35. package/dist/client/chunks/{chart-kpi-number-CEUBsVW2.js → chart-kpi-number-CxlpSKYh.js} +3 -3
  36. package/dist/client/chunks/{chart-kpi-number-CEUBsVW2.js.map → chart-kpi-number-CxlpSKYh.js.map} +1 -1
  37. package/dist/client/chunks/{chart-kpi-text-DgRig_jQ.js → chart-kpi-text-C16fwohp.js} +2 -2
  38. package/dist/client/chunks/{chart-kpi-text-DgRig_jQ.js.map → chart-kpi-text-C16fwohp.js.map} +1 -1
  39. package/dist/client/chunks/{chart-markdown-DXxc43w1.js → chart-markdown-B2X4IwLO.js} +1132 -1119
  40. package/dist/client/chunks/chart-markdown-B2X4IwLO.js.map +1 -0
  41. package/dist/client/chunks/{charts-loader-BI07yxaQ.js → charts-loader-BFhQWB_d.js} +6 -6
  42. package/dist/client/chunks/{charts-loader-BI07yxaQ.js.map → charts-loader-BFhQWB_d.js.map} +1 -1
  43. package/dist/client/chunks/{core-D1TOj17W.js → core-DJrniqct.js} +2 -6
  44. package/dist/client/chunks/{core-D1TOj17W.js.map → core-DJrniqct.js.map} +1 -1
  45. package/dist/client/chunks/{schema-visualization-DPL5_Tkh.js → schema-visualization-qmLI8MGQ.js} +13 -14
  46. package/dist/client/chunks/{schema-visualization-DPL5_Tkh.js.map → schema-visualization-qmLI8MGQ.js.map} +1 -1
  47. package/dist/client/chunks/{syntaxHighlighting-87bOwTxj.js → syntaxHighlighting-BLl0ch4A.js} +2 -2
  48. package/dist/client/chunks/{syntaxHighlighting-87bOwTxj.js.map → syntaxHighlighting-BLl0ch4A.js.map} +1 -1
  49. package/dist/client/chunks/{useDebounce-DkuM7nQk.js → useDebounce-xfPFr2fi.js} +2 -2
  50. package/dist/client/chunks/{useDebounce-DkuM7nQk.js.map → useDebounce-xfPFr2fi.js.map} +1 -1
  51. package/dist/client/chunks/{useExplainAI-RflLTDVL.js → useExplainAI-6COjssus.js} +4 -4
  52. package/dist/client/chunks/{useExplainAI-RflLTDVL.js.map → useExplainAI-6COjssus.js.map} +1 -1
  53. package/dist/client/chunks/{utils--32ZtfbZ.js → utils-nCeVL-Hm.js} +2 -2
  54. package/dist/client/chunks/{utils--32ZtfbZ.js.map → utils-nCeVL-Hm.js.map} +1 -1
  55. package/dist/client/chunks/{vendor-CZX7UVzM.js → vendor-WzXX36hd.js} +3 -3
  56. package/dist/client/chunks/{vendor-CZX7UVzM.js.map → vendor-WzXX36hd.js.map} +1 -1
  57. package/dist/client/components.js +3 -3
  58. package/dist/client/hooks.js +3 -3
  59. package/dist/client/icons.js +1 -1
  60. package/dist/client/index.js +12 -12
  61. package/dist/client/providers.js +1 -1
  62. package/dist/client/utils.js +4 -4
  63. package/dist/client-bundle-stats.html +1 -1
  64. package/dist/server/index.cjs +2 -2
  65. package/dist/server/index.d.ts +47 -5
  66. package/dist/server/index.js +34 -19
  67. package/package.json +3 -3
  68. package/dist/client/chunks/chart-data-table-B2m_6EZe.js.map +0 -1
  69. package/dist/client/chunks/chart-markdown-DXxc43w1.js.map +0 -1
@@ -18,13 +18,50 @@ var _ = class {
18
18
  }
19
19
  onSubscribe() {}
20
20
  onUnsubscribe() {}
21
- }, v = {
21
+ }, v = new class extends _ {
22
+ #e;
23
+ #t;
24
+ #n;
25
+ constructor() {
26
+ super(), this.#n = (e) => {
27
+ if (typeof window < "u" && window.addEventListener) {
28
+ let t = () => e();
29
+ return window.addEventListener("visibilitychange", t, !1), () => {
30
+ window.removeEventListener("visibilitychange", t);
31
+ };
32
+ }
33
+ };
34
+ }
35
+ onSubscribe() {
36
+ this.#t || this.setEventListener(this.#n);
37
+ }
38
+ onUnsubscribe() {
39
+ this.hasListeners() || (this.#t?.(), this.#t = void 0);
40
+ }
41
+ setEventListener(e) {
42
+ this.#n = e, this.#t?.(), this.#t = e((e) => {
43
+ typeof e == "boolean" ? this.setFocused(e) : this.onFocus();
44
+ });
45
+ }
46
+ setFocused(e) {
47
+ this.#e !== e && (this.#e = e, this.onFocus());
48
+ }
49
+ onFocus() {
50
+ let e = this.isFocused();
51
+ this.listeners.forEach((t) => {
52
+ t(e);
53
+ });
54
+ }
55
+ isFocused() {
56
+ return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
57
+ }
58
+ }(), y = {
22
59
  setTimeout: (e, t) => setTimeout(e, t),
23
60
  clearTimeout: (e) => clearTimeout(e),
24
61
  setInterval: (e, t) => setInterval(e, t),
25
62
  clearInterval: (e) => clearInterval(e)
26
- }, y = new class {
27
- #e = v;
63
+ }, b = new class {
64
+ #e = y;
28
65
  #t = !1;
29
66
  setTimeoutProvider(e) {
30
67
  process.env.NODE_ENV !== "production" && this.#t && e !== this.#e && console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.", {
@@ -45,20 +82,20 @@ var _ = class {
45
82
  this.#e.clearInterval(e);
46
83
  }
47
84
  }();
48
- function b(e) {
85
+ function x(e) {
49
86
  setTimeout(e, 0);
50
87
  }
51
88
  //#endregion
52
89
  //#region node_modules/@tanstack/query-core/build/modern/utils.js
53
- var x = typeof window > "u" || "Deno" in globalThis;
90
+ var ee = typeof window > "u" || "Deno" in globalThis;
54
91
  function S() {}
55
- function ee(e, t) {
92
+ function te(e, t) {
56
93
  return typeof e == "function" ? e(t) : e;
57
94
  }
58
- function te(e) {
95
+ function ne(e) {
59
96
  return typeof e == "number" && e >= 0 && e !== Infinity;
60
97
  }
61
- function ne(e, t) {
98
+ function re(e, t) {
62
99
  return Math.max(e + (t || 0) - Date.now(), 0);
63
100
  }
64
101
  function C(e, t) {
@@ -67,11 +104,11 @@ function C(e, t) {
67
104
  function w(e, t) {
68
105
  return typeof e == "function" ? e(t) : e;
69
106
  }
70
- function re(e, t) {
107
+ function ie(e, t) {
71
108
  let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
72
109
  if (o) {
73
110
  if (r) {
74
- if (t.queryHash !== ae(o, t.options)) return !1;
111
+ if (t.queryHash !== oe(o, t.options)) return !1;
75
112
  } else if (!E(t.queryKey, o)) return !1;
76
113
  }
77
114
  if (n !== "all") {
@@ -80,7 +117,7 @@ function re(e, t) {
80
117
  }
81
118
  return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
82
119
  }
83
- function ie(e, t) {
120
+ function ae(e, t) {
84
121
  let { exact: n, status: r, predicate: i, mutationKey: a } = e;
85
122
  if (a) {
86
123
  if (!t.options.mutationKey) return !1;
@@ -90,26 +127,26 @@ function ie(e, t) {
90
127
  }
91
128
  return !(r && t.state.status !== r || i && !i(t));
92
129
  }
93
- function ae(e, t) {
130
+ function oe(e, t) {
94
131
  return (t?.queryKeyHashFn || T)(e);
95
132
  }
96
133
  function T(e) {
97
- return JSON.stringify(e, (e, t) => ce(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
134
+ return JSON.stringify(e, (e, t) => le(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
98
135
  }
99
136
  function E(e, t) {
100
137
  return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => E(e[n], t[n])) : !1;
101
138
  }
102
- var oe = Object.prototype.hasOwnProperty;
139
+ var se = Object.prototype.hasOwnProperty;
103
140
  function D(e, t, n = 0) {
104
141
  if (e === t) return e;
105
142
  if (n > 500) return t;
106
- let r = se(e) && se(t);
107
- if (!r && !(ce(e) && ce(t))) return t;
143
+ let r = ce(e) && ce(t);
144
+ if (!r && !(le(e) && le(t))) return t;
108
145
  let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
109
146
  for (let l = 0; l < o; l++) {
110
147
  let o = r ? l : a[l], u = e[o], d = t[o];
111
148
  if (u === d) {
112
- s[o] = u, (r ? l < i : oe.call(e, o)) && c++;
149
+ s[o] = u, (r ? l < i : se.call(e, o)) && c++;
113
150
  continue;
114
151
  }
115
152
  if (u === null || d === null || typeof u != "object" || typeof d != "object") {
@@ -126,25 +163,25 @@ function O(e, t) {
126
163
  for (let n in e) if (e[n] !== t[n]) return !1;
127
164
  return !0;
128
165
  }
129
- function se(e) {
166
+ function ce(e) {
130
167
  return Array.isArray(e) && e.length === Object.keys(e).length;
131
168
  }
132
- function ce(e) {
133
- if (!le(e)) return !1;
169
+ function le(e) {
170
+ if (!ue(e)) return !1;
134
171
  let t = e.constructor;
135
172
  if (t === void 0) return !0;
136
173
  let n = t.prototype;
137
- return !(!le(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
174
+ return !(!ue(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
138
175
  }
139
- function le(e) {
176
+ function ue(e) {
140
177
  return Object.prototype.toString.call(e) === "[object Object]";
141
178
  }
142
- function ue(e) {
179
+ function de(e) {
143
180
  return new Promise((t) => {
144
- y.setTimeout(t, e);
181
+ b.setTimeout(t, e);
145
182
  });
146
183
  }
147
- function de(e, t, n) {
184
+ function fe(e, t, n) {
148
185
  if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
149
186
  if (n.structuralSharing !== !1) {
150
187
  if (process.env.NODE_ENV !== "production") try {
@@ -156,66 +193,41 @@ function de(e, t, n) {
156
193
  }
157
194
  return t;
158
195
  }
159
- function fe(e, t, n = 0) {
196
+ function pe(e, t, n = 0) {
160
197
  let r = [...e, t];
161
198
  return n && r.length > n ? r.slice(1) : r;
162
199
  }
163
- function pe(e, t, n = 0) {
200
+ function me(e, t, n = 0) {
164
201
  let r = [t, ...e];
165
202
  return n && r.length > n ? r.slice(0, -1) : r;
166
203
  }
167
204
  var k = /* @__PURE__ */ Symbol();
168
- function me(e, t) {
205
+ function he(e, t) {
169
206
  return process.env.NODE_ENV !== "production" && e.queryFn === k && console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === k ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
170
207
  }
171
- function he(e, t) {
208
+ function ge(e, t) {
172
209
  return typeof e == "function" ? e(...t) : !!e;
173
210
  }
174
- function ge(e, t, n) {
211
+ function _e(e, t, n) {
175
212
  let r = !1, i;
176
213
  return Object.defineProperty(e, "signal", {
177
214
  enumerable: !0,
178
215
  get: () => (i ??= t(), r ? i : (r = !0, i.aborted ? n() : i.addEventListener("abort", n, { once: !0 }), i))
179
216
  }), e;
180
217
  }
181
- var _e = new class extends _ {
182
- #e;
183
- #t;
184
- #n;
185
- constructor() {
186
- super(), this.#n = (e) => {
187
- if (!x && window.addEventListener) {
188
- let t = () => e();
189
- return window.addEventListener("visibilitychange", t, !1), () => {
190
- window.removeEventListener("visibilitychange", t);
191
- };
192
- }
193
- };
194
- }
195
- onSubscribe() {
196
- this.#t || this.setEventListener(this.#n);
197
- }
198
- onUnsubscribe() {
199
- this.hasListeners() || (this.#t?.(), this.#t = void 0);
200
- }
201
- setEventListener(e) {
202
- this.#n = e, this.#t?.(), this.#t = e((e) => {
203
- typeof e == "boolean" ? this.setFocused(e) : this.onFocus();
204
- });
205
- }
206
- setFocused(e) {
207
- this.#e !== e && (this.#e = e, this.onFocus());
208
- }
209
- onFocus() {
210
- let e = this.isFocused();
211
- this.listeners.forEach((t) => {
212
- t(e);
213
- });
214
- }
215
- isFocused() {
216
- return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
217
- }
218
- }();
218
+ //#endregion
219
+ //#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
220
+ var A = /* @__PURE__ */ (() => {
221
+ let e = () => ee;
222
+ return {
223
+ isServer() {
224
+ return e();
225
+ },
226
+ setIsServer(t) {
227
+ e = t;
228
+ }
229
+ };
230
+ })();
219
231
  //#endregion
220
232
  //#region node_modules/@tanstack/query-core/build/modern/thenable.js
221
233
  function ve() {
@@ -240,7 +252,7 @@ function ve() {
240
252
  }
241
253
  //#endregion
242
254
  //#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
243
- var ye = b;
255
+ var ye = x;
244
256
  function be() {
245
257
  let e = [], t = 0, n = (e) => {
246
258
  e();
@@ -288,13 +300,13 @@ function be() {
288
300
  }
289
301
  };
290
302
  }
291
- var A = be(), j = new class extends _ {
303
+ var j = be(), M = new class extends _ {
292
304
  #e = !0;
293
305
  #t;
294
306
  #n;
295
307
  constructor() {
296
308
  super(), this.#n = (e) => {
297
- if (!x && window.addEventListener) {
309
+ if (typeof window < "u" && window.addEventListener) {
298
310
  let t = () => e(!0), n = () => e(!1);
299
311
  return window.addEventListener("online", t, !1), window.addEventListener("offline", n, !1), () => {
300
312
  window.removeEventListener("online", t), window.removeEventListener("offline", n);
@@ -326,9 +338,9 @@ function xe(e) {
326
338
  return Math.min(1e3 * 2 ** e, 3e4);
327
339
  }
328
340
  function Se(e) {
329
- return (e ?? "online") === "online" ? j.isOnline() : !0;
341
+ return (e ?? "online") === "online" ? M.isOnline() : !0;
330
342
  }
331
- var M = class extends Error {
343
+ var N = class extends Error {
332
344
  constructor(e) {
333
345
  super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
334
346
  }
@@ -336,14 +348,14 @@ var M = class extends Error {
336
348
  function Ce(e) {
337
349
  let t = !1, n = 0, r, i = ve(), a = () => i.status !== "pending", o = (t) => {
338
350
  if (!a()) {
339
- let n = new M(t);
351
+ let n = new N(t);
340
352
  f(n), e.onCancel?.(n);
341
353
  }
342
354
  }, s = () => {
343
355
  t = !0;
344
356
  }, c = () => {
345
357
  t = !1;
346
- }, l = () => _e.isFocused() && (e.networkMode === "always" || j.isOnline()) && e.canRun(), u = () => Se(e.networkMode) && e.canRun(), d = (e) => {
358
+ }, l = () => v.isFocused() && (e.networkMode === "always" || M.isOnline()) && e.canRun(), u = () => Se(e.networkMode) && e.canRun(), d = (e) => {
347
359
  a() || (r?.(), i.resolve(e));
348
360
  }, f = (e) => {
349
361
  a() || (r?.(), i.reject(e));
@@ -363,12 +375,12 @@ function Ce(e) {
363
375
  }
364
376
  Promise.resolve(r).then(d).catch((r) => {
365
377
  if (a()) return;
366
- let i = e.retry ?? (x ? 0 : 3), o = e.retryDelay ?? xe, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
378
+ let i = e.retry ?? (A.isServer() ? 0 : 3), o = e.retryDelay ?? xe, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
367
379
  if (t || !c) {
368
380
  f(r);
369
381
  return;
370
382
  }
371
- n++, e.onFail?.(n, r), ue(s).then(() => l() ? void 0 : p()).then(() => {
383
+ n++, e.onFail?.(n, r), de(s).then(() => l() ? void 0 : p()).then(() => {
372
384
  t ? f(r) : m();
373
385
  });
374
386
  });
@@ -392,15 +404,15 @@ var we = class {
392
404
  this.clearGcTimeout();
393
405
  }
394
406
  scheduleGc() {
395
- this.clearGcTimeout(), te(this.gcTime) && (this.#e = y.setTimeout(() => {
407
+ this.clearGcTimeout(), ne(this.gcTime) && (this.#e = b.setTimeout(() => {
396
408
  this.optionalRemove();
397
409
  }, this.gcTime));
398
410
  }
399
411
  updateGcTime(e) {
400
- this.gcTime = Math.max(this.gcTime || 0, e ?? (x ? Infinity : 300 * 1e3));
412
+ this.gcTime = Math.max(this.gcTime || 0, e ?? (A.isServer() ? Infinity : 300 * 1e3));
401
413
  }
402
414
  clearGcTimeout() {
403
- this.#e &&= (y.clearTimeout(this.#e), void 0);
415
+ this.#e &&= (b.clearTimeout(this.#e), void 0);
404
416
  }
405
417
  }, Te = class extends we {
406
418
  #e;
@@ -432,8 +444,8 @@ var we = class {
432
444
  !this.observers.length && this.state.fetchStatus === "idle" && this.#n.remove(this);
433
445
  }
434
446
  setData(e, t) {
435
- let n = de(this.state.data, e, this.options);
436
- return this.#s({
447
+ let n = fe(this.state.data, e, this.options);
448
+ return this.#c({
437
449
  data: n,
438
450
  type: "success",
439
451
  dataUpdatedAt: t?.updatedAt,
@@ -441,7 +453,7 @@ var we = class {
441
453
  }), n;
442
454
  }
443
455
  setState(e, t) {
444
- this.#s({
456
+ this.#c({
445
457
  type: "setState",
446
458
  state: e,
447
459
  setStateOptions: t
@@ -454,14 +466,20 @@ var we = class {
454
466
  destroy() {
455
467
  super.destroy(), this.cancel({ silent: !0 });
456
468
  }
469
+ get resetState() {
470
+ return this.#e;
471
+ }
457
472
  reset() {
458
- this.destroy(), this.setState(this.#e);
473
+ this.destroy(), this.setState(this.resetState);
459
474
  }
460
475
  isActive() {
461
476
  return this.observers.some((e) => w(e.options.enabled, this) !== !1);
462
477
  }
463
478
  isDisabled() {
464
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === k || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
479
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === k || !this.isFetched();
480
+ }
481
+ isFetched() {
482
+ return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
465
483
  }
466
484
  isStatic() {
467
485
  return this.getObserversCount() > 0 ? this.observers.some((e) => C(e.options.staleTime, this) === "static") : !1;
@@ -470,7 +488,7 @@ var we = class {
470
488
  return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
471
489
  }
472
490
  isStaleByTime(e = 0) {
473
- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !ne(this.state.dataUpdatedAt, e);
491
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !re(this.state.dataUpdatedAt, e);
474
492
  }
475
493
  onFocus() {
476
494
  this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#i?.continue();
@@ -486,7 +504,7 @@ var we = class {
486
504
  }));
487
505
  }
488
506
  removeObserver(e) {
489
- this.observers.includes(e) && (this.observers = this.observers.filter((t) => t !== e), this.observers.length || (this.#i && (this.#o ? this.#i.cancel({ revert: !0 }) : this.#i.cancelRetry()), this.scheduleGc()), this.#n.notify({
507
+ this.observers.includes(e) && (this.observers = this.observers.filter((t) => t !== e), this.observers.length || (this.#i && (this.#o || this.#s() ? this.#i.cancel({ revert: !0 }) : this.#i.cancelRetry()), this.scheduleGc()), this.#n.notify({
490
508
  type: "observerRemoved",
491
509
  query: this,
492
510
  observer: e
@@ -495,8 +513,11 @@ var we = class {
495
513
  getObserversCount() {
496
514
  return this.observers.length;
497
515
  }
516
+ #s() {
517
+ return this.state.fetchStatus === "paused" && this.state.status === "pending";
518
+ }
498
519
  invalidate() {
499
- this.state.isInvalidated || this.#s({ type: "invalidate" });
520
+ this.state.isInvalidated || this.#c({ type: "invalidate" });
500
521
  }
501
522
  async fetch(e, t) {
502
523
  if (this.state.fetchStatus !== "idle" && this.#i?.status() !== "rejected") {
@@ -514,7 +535,7 @@ var we = class {
514
535
  get: () => (this.#o = !0, n.signal)
515
536
  });
516
537
  }, i = () => {
517
- let e = me(this.options, t), n = (() => {
538
+ let e = he(this.options, t), n = (() => {
518
539
  let e = {
519
540
  client: this.#r,
520
541
  queryKey: this.queryKey,
@@ -534,30 +555,30 @@ var we = class {
534
555
  };
535
556
  return r(e), e;
536
557
  })();
537
- this.options.behavior?.onFetch(a, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#s({
558
+ this.options.behavior?.onFetch(a, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({
538
559
  type: "fetch",
539
560
  meta: a.fetchOptions?.meta
540
561
  }), this.#i = Ce({
541
562
  initialPromise: t?.initialPromise,
542
563
  fn: a.fetchFn,
543
564
  onCancel: (e) => {
544
- e instanceof M && e.revert && this.setState({
565
+ e instanceof N && e.revert && this.setState({
545
566
  ...this.#t,
546
567
  fetchStatus: "idle"
547
568
  }), n.abort();
548
569
  },
549
570
  onFail: (e, t) => {
550
- this.#s({
571
+ this.#c({
551
572
  type: "failed",
552
573
  failureCount: e,
553
574
  error: t
554
575
  });
555
576
  },
556
577
  onPause: () => {
557
- this.#s({ type: "pause" });
578
+ this.#c({ type: "pause" });
558
579
  },
559
580
  onContinue: () => {
560
- this.#s({ type: "continue" });
581
+ this.#c({ type: "continue" });
561
582
  },
562
583
  retry: a.options.retry,
563
584
  retryDelay: a.options.retryDelay,
@@ -569,14 +590,14 @@ var we = class {
569
590
  if (e === void 0) throw process.env.NODE_ENV !== "production" && console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`), Error(`${this.queryHash} data is undefined`);
570
591
  return this.setData(e), this.#n.config.onSuccess?.(e, this), this.#n.config.onSettled?.(e, this.state.error, this), e;
571
592
  } catch (e) {
572
- if (e instanceof M) {
593
+ if (e instanceof N) {
573
594
  if (e.silent) return this.#i.promise;
574
595
  if (e.revert) {
575
596
  if (this.state.data === void 0) throw e;
576
597
  return this.state.data;
577
598
  }
578
599
  }
579
- throw this.#s({
600
+ throw this.#c({
580
601
  type: "error",
581
602
  error: e
582
603
  }), this.#n.config.onError?.(e, this), this.#n.config.onSettled?.(this.state.data, e, this), e;
@@ -584,7 +605,7 @@ var we = class {
584
605
  this.scheduleGc();
585
606
  }
586
607
  }
587
- #s(e) {
608
+ #c(e) {
588
609
  this.state = ((t) => {
589
610
  switch (e.type) {
590
611
  case "failed": return {
@@ -639,7 +660,7 @@ var we = class {
639
660
  ...e.state
640
661
  };
641
662
  }
642
- })(this.state), A.batch(() => {
663
+ })(this.state), j.batch(() => {
643
664
  this.observers.forEach((e) => {
644
665
  e.onQueryUpdate();
645
666
  }), this.#n.notify({
@@ -718,10 +739,10 @@ var ke = class extends _ {
718
739
  this.hasListeners() || this.destroy();
719
740
  }
720
741
  shouldFetchOnReconnect() {
721
- return N(this.#t, this.options, this.options.refetchOnReconnect);
742
+ return P(this.#t, this.options, this.options.refetchOnReconnect);
722
743
  }
723
744
  shouldFetchOnWindowFocus() {
724
- return N(this.#t, this.options, this.options.refetchOnWindowFocus);
745
+ return P(this.#t, this.options, this.options.refetchOnWindowFocus);
725
746
  }
726
747
  destroy() {
727
748
  this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
@@ -776,9 +797,9 @@ var ke = class extends _ {
776
797
  #g() {
777
798
  this.#b();
778
799
  let e = C(this.options.staleTime, this.#t);
779
- if (x || this.#r.isStale || !te(e)) return;
780
- let t = ne(this.#r.dataUpdatedAt, e) + 1;
781
- this.#d = y.setTimeout(() => {
800
+ if (A.isServer() || this.#r.isStale || !ne(e)) return;
801
+ let t = re(this.#r.dataUpdatedAt, e) + 1;
802
+ this.#d = b.setTimeout(() => {
782
803
  this.#r.isStale || this.updateResult();
783
804
  }, t);
784
805
  }
@@ -786,18 +807,18 @@ var ke = class extends _ {
786
807
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
787
808
  }
788
809
  #v(e) {
789
- this.#x(), this.#p = e, !(x || w(this.options.enabled, this.#t) === !1 || !te(this.#p) || this.#p === 0) && (this.#f = y.setInterval(() => {
790
- (this.options.refetchIntervalInBackground || _e.isFocused()) && this.#h();
810
+ this.#x(), this.#p = e, !(A.isServer() || w(this.options.enabled, this.#t) === !1 || !ne(this.#p) || this.#p === 0) && (this.#f = b.setInterval(() => {
811
+ (this.options.refetchIntervalInBackground || v.isFocused()) && this.#h();
791
812
  }, this.#p));
792
813
  }
793
814
  #y() {
794
815
  this.#g(), this.#v(this.#_());
795
816
  }
796
817
  #b() {
797
- this.#d &&= (y.clearTimeout(this.#d), void 0);
818
+ this.#d &&= (b.clearTimeout(this.#d), void 0);
798
819
  }
799
820
  #x() {
800
- this.#f &&= (y.clearInterval(this.#f), void 0);
821
+ this.#f &&= (b.clearInterval(this.#f), void 0);
801
822
  }
802
823
  createResult(e, t) {
803
824
  let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
@@ -813,11 +834,11 @@ var ke = class extends _ {
813
834
  let h = !1;
814
835
  if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
815
836
  let e;
816
- i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d = de(i?.data, e, t), u = !0);
837
+ i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d = fe(i?.data, e, t), u = !0);
817
838
  }
818
839
  if (t.select && d !== void 0 && !h) if (i && d === a?.data && t.select === this.#c) d = this.#l;
819
840
  else try {
820
- this.#c = t.select, d = t.select(d), d = de(i?.data, d, t), this.#l = d, this.#s = null;
841
+ this.#c = t.select, d = t.select(d), d = fe(i?.data, d, t), this.#l = d, this.#s = null;
821
842
  } catch (e) {
822
843
  this.#s = e;
823
844
  }
@@ -837,7 +858,7 @@ var ke = class extends _ {
837
858
  failureCount: l.fetchFailureCount,
838
859
  failureReason: l.fetchFailureReason,
839
860
  errorUpdateCount: l.errorUpdateCount,
840
- isFetched: l.dataUpdateCount > 0 || l.errorUpdateCount > 0,
861
+ isFetched: e.isFetched(),
841
862
  isFetchedAfterMount: l.dataUpdateCount > s.dataUpdateCount || l.errorUpdateCount > s.errorUpdateCount,
842
863
  isFetching: g,
843
864
  isRefetching: g && !_,
@@ -845,7 +866,7 @@ var ke = class extends _ {
845
866
  isPaused: l.fetchStatus === "paused",
846
867
  isPlaceholderData: u,
847
868
  isRefetchError: v && b,
848
- isStale: P(e, t),
869
+ isStale: F(e, t),
849
870
  refetch: this.refetch,
850
871
  promise: this.#o,
851
872
  isEnabled: w(t.enabled, e) !== !1
@@ -893,7 +914,7 @@ var ke = class extends _ {
893
914
  this.updateResult(), this.hasListeners() && this.#y();
894
915
  }
895
916
  #C(e) {
896
- A.batch(() => {
917
+ j.batch(() => {
897
918
  e.listeners && this.listeners.forEach((e) => {
898
919
  e(this.#r);
899
920
  }), this.#e.getQueryCache().notify({
@@ -907,19 +928,19 @@ function Ae(e, t) {
907
928
  return w(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
908
929
  }
909
930
  function je(e, t) {
910
- return Ae(e, t) || e.state.data !== void 0 && N(e, t, t.refetchOnMount);
931
+ return Ae(e, t) || e.state.data !== void 0 && P(e, t, t.refetchOnMount);
911
932
  }
912
- function N(e, t, n) {
933
+ function P(e, t, n) {
913
934
  if (w(t.enabled, e) !== !1 && C(t.staleTime, e) !== "static") {
914
935
  let r = typeof n == "function" ? n(e) : n;
915
- return r === "always" || r !== !1 && P(e, t);
936
+ return r === "always" || r !== !1 && F(e, t);
916
937
  }
917
938
  return !1;
918
939
  }
919
940
  function Me(e, t, n, r) {
920
- return (e !== t || w(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && P(e, n);
941
+ return (e !== t || w(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && F(e, n);
921
942
  }
922
- function P(e, t) {
943
+ function F(e, t) {
923
944
  return w(t.enabled, e) !== !1 && e.isStaleByTime(C(t.staleTime, e));
924
945
  }
925
946
  function Ne(e, t) {
@@ -934,8 +955,8 @@ function Pe(e) {
934
955
  pageParams: []
935
956
  }, c = 0, l = async () => {
936
957
  let n = !1, l = (e) => {
937
- ge(e, () => t.signal, () => n = !0);
938
- }, u = me(t.options, t.fetchOptions), d = async (e, r, i) => {
958
+ _e(e, () => t.signal, () => n = !0);
959
+ }, u = he(t.options, t.fetchOptions), d = async (e, r, i) => {
939
960
  if (n) return Promise.reject();
940
961
  if (r == null && e.pages.length) return Promise.resolve(e);
941
962
  let a = await u((() => {
@@ -947,7 +968,7 @@ function Pe(e) {
947
968
  meta: t.options.meta
948
969
  };
949
970
  return l(e), e;
950
- })()), { maxPages: o } = t.options, s = i ? pe : fe;
971
+ })()), { maxPages: o } = t.options, s = i ? me : pe;
951
972
  return {
952
973
  pages: s(e.pages, a, o),
953
974
  pageParams: s(e.pageParams, r, o)
@@ -1144,7 +1165,7 @@ var Le = class extends we {
1144
1165
  status: "error"
1145
1166
  };
1146
1167
  }
1147
- })(this.state), A.batch(() => {
1168
+ })(this.state), j.batch(() => {
1148
1169
  this.#t.forEach((t) => {
1149
1170
  t.onMutationUpdate(e);
1150
1171
  }), this.#n.notify({
@@ -1189,7 +1210,7 @@ var ze = class extends _ {
1189
1210
  }
1190
1211
  add(e) {
1191
1212
  this.#e.add(e);
1192
- let t = F(e);
1213
+ let t = I(e);
1193
1214
  if (typeof t == "string") {
1194
1215
  let n = this.#t.get(t);
1195
1216
  n ? n.push(e) : this.#t.set(t, [e]);
@@ -1201,7 +1222,7 @@ var ze = class extends _ {
1201
1222
  }
1202
1223
  remove(e) {
1203
1224
  if (this.#e.delete(e)) {
1204
- let t = F(e);
1225
+ let t = I(e);
1205
1226
  if (typeof t == "string") {
1206
1227
  let n = this.#t.get(t);
1207
1228
  if (n) if (n.length > 1) {
@@ -1216,18 +1237,18 @@ var ze = class extends _ {
1216
1237
  });
1217
1238
  }
1218
1239
  canRun(e) {
1219
- let t = F(e);
1240
+ let t = I(e);
1220
1241
  if (typeof t == "string") {
1221
1242
  let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
1222
1243
  return !n || n === e;
1223
1244
  } else return !0;
1224
1245
  }
1225
1246
  runNext(e) {
1226
- let t = F(e);
1247
+ let t = I(e);
1227
1248
  return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
1228
1249
  }
1229
1250
  clear() {
1230
- A.batch(() => {
1251
+ j.batch(() => {
1231
1252
  this.#e.forEach((e) => {
1232
1253
  this.notify({
1233
1254
  type: "removed",
@@ -1244,13 +1265,13 @@ var ze = class extends _ {
1244
1265
  exact: !0,
1245
1266
  ...e
1246
1267
  };
1247
- return this.getAll().find((e) => ie(t, e));
1268
+ return this.getAll().find((e) => ae(t, e));
1248
1269
  }
1249
1270
  findAll(e = {}) {
1250
- return this.getAll().filter((t) => ie(e, t));
1271
+ return this.getAll().filter((t) => ae(e, t));
1251
1272
  }
1252
1273
  notify(e) {
1253
- A.batch(() => {
1274
+ j.batch(() => {
1254
1275
  this.listeners.forEach((t) => {
1255
1276
  t(e);
1256
1277
  });
@@ -1258,10 +1279,10 @@ var ze = class extends _ {
1258
1279
  }
1259
1280
  resumePausedMutations() {
1260
1281
  let e = this.getAll().filter((e) => e.state.isPaused);
1261
- return A.batch(() => Promise.all(e.map((e) => e.continue().catch(S))));
1282
+ return j.batch(() => Promise.all(e.map((e) => e.continue().catch(S))));
1262
1283
  }
1263
1284
  };
1264
- function F(e) {
1285
+ function I(e) {
1265
1286
  return e.options.scope?.id;
1266
1287
  }
1267
1288
  //#endregion
@@ -1272,7 +1293,7 @@ var Be = class extends _ {
1272
1293
  }
1273
1294
  #e;
1274
1295
  build(e, t, n) {
1275
- let r = t.queryKey, i = t.queryHash ?? ae(r, t), a = this.get(i);
1296
+ let r = t.queryKey, i = t.queryHash ?? oe(r, t), a = this.get(i);
1276
1297
  return a || (a = new Te({
1277
1298
  client: e,
1278
1299
  queryKey: r,
@@ -1296,7 +1317,7 @@ var Be = class extends _ {
1296
1317
  }));
1297
1318
  }
1298
1319
  clear() {
1299
- A.batch(() => {
1320
+ j.batch(() => {
1300
1321
  this.getAll().forEach((e) => {
1301
1322
  this.remove(e);
1302
1323
  });
@@ -1313,28 +1334,28 @@ var Be = class extends _ {
1313
1334
  exact: !0,
1314
1335
  ...e
1315
1336
  };
1316
- return this.getAll().find((e) => re(t, e));
1337
+ return this.getAll().find((e) => ie(t, e));
1317
1338
  }
1318
1339
  findAll(e = {}) {
1319
1340
  let t = this.getAll();
1320
- return Object.keys(e).length > 0 ? t.filter((t) => re(e, t)) : t;
1341
+ return Object.keys(e).length > 0 ? t.filter((t) => ie(e, t)) : t;
1321
1342
  }
1322
1343
  notify(e) {
1323
- A.batch(() => {
1344
+ j.batch(() => {
1324
1345
  this.listeners.forEach((t) => {
1325
1346
  t(e);
1326
1347
  });
1327
1348
  });
1328
1349
  }
1329
1350
  onFocus() {
1330
- A.batch(() => {
1351
+ j.batch(() => {
1331
1352
  this.getAll().forEach((e) => {
1332
1353
  e.onFocus();
1333
1354
  });
1334
1355
  });
1335
1356
  }
1336
1357
  onOnline() {
1337
- A.batch(() => {
1358
+ j.batch(() => {
1338
1359
  this.getAll().forEach((e) => {
1339
1360
  e.onOnline();
1340
1361
  });
@@ -1353,9 +1374,9 @@ var Be = class extends _ {
1353
1374
  this.#e = e.queryCache || new Be(), this.#t = e.mutationCache || new ze(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
1354
1375
  }
1355
1376
  mount() {
1356
- this.#a++, this.#a === 1 && (this.#o = _e.subscribe(async (e) => {
1377
+ this.#a++, this.#a === 1 && (this.#o = v.subscribe(async (e) => {
1357
1378
  e && (await this.resumePausedMutations(), this.#e.onFocus());
1358
- }), this.#s = j.subscribe(async (e) => {
1379
+ }), this.#s = M.subscribe(async (e) => {
1359
1380
  e && (await this.resumePausedMutations(), this.#e.onOnline());
1360
1381
  }));
1361
1382
  }
@@ -1386,14 +1407,14 @@ var Be = class extends _ {
1386
1407
  return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
1387
1408
  }
1388
1409
  setQueryData(e, t, n) {
1389
- let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = ee(t, i);
1410
+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = te(t, i);
1390
1411
  if (a !== void 0) return this.#e.build(this, r).setData(a, {
1391
1412
  ...n,
1392
1413
  manual: !0
1393
1414
  });
1394
1415
  }
1395
1416
  setQueriesData(e, t, n) {
1396
- return A.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
1417
+ return j.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
1397
1418
  }
1398
1419
  getQueryState(e) {
1399
1420
  let t = this.defaultQueryOptions({ queryKey: e });
@@ -1401,7 +1422,7 @@ var Be = class extends _ {
1401
1422
  }
1402
1423
  removeQueries(e) {
1403
1424
  let t = this.#e;
1404
- A.batch(() => {
1425
+ j.batch(() => {
1405
1426
  t.findAll(e).forEach((e) => {
1406
1427
  t.remove(e);
1407
1428
  });
@@ -1409,7 +1430,7 @@ var Be = class extends _ {
1409
1430
  }
1410
1431
  resetQueries(e, t) {
1411
1432
  let n = this.#e;
1412
- return A.batch(() => (n.findAll(e).forEach((e) => {
1433
+ return j.batch(() => (n.findAll(e).forEach((e) => {
1413
1434
  e.reset();
1414
1435
  }), this.refetchQueries({
1415
1436
  type: "active",
@@ -1420,11 +1441,11 @@ var Be = class extends _ {
1420
1441
  let n = {
1421
1442
  revert: !0,
1422
1443
  ...t
1423
- }, r = A.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
1444
+ }, r = j.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
1424
1445
  return Promise.all(r).then(S).catch(S);
1425
1446
  }
1426
1447
  invalidateQueries(e, t = {}) {
1427
- return A.batch(() => (this.#e.findAll(e).forEach((e) => {
1448
+ return j.batch(() => (this.#e.findAll(e).forEach((e) => {
1428
1449
  e.invalidate();
1429
1450
  }), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
1430
1451
  ...e,
@@ -1435,7 +1456,7 @@ var Be = class extends _ {
1435
1456
  let n = {
1436
1457
  ...t,
1437
1458
  cancelRefetch: t.cancelRefetch ?? !0
1438
- }, r = A.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
1459
+ }, r = j.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
1439
1460
  let t = e.fetch(void 0, n);
1440
1461
  return n.throwOnError || (t = t.catch(S)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
1441
1462
  }));
@@ -1460,7 +1481,7 @@ var Be = class extends _ {
1460
1481
  return e.behavior = Pe(e.pages), this.ensureQueryData(e);
1461
1482
  }
1462
1483
  resumePausedMutations() {
1463
- return j.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
1484
+ return M.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
1464
1485
  }
1465
1486
  getQueryCache() {
1466
1487
  return this.#e;
@@ -1506,7 +1527,7 @@ var Be = class extends _ {
1506
1527
  ...e,
1507
1528
  _defaulted: !0
1508
1529
  };
1509
- return t.queryHash ||= ae(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === k && (t.enabled = !1), t;
1530
+ return t.queryHash ||= oe(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === k && (t.enabled = !1), t;
1510
1531
  }
1511
1532
  defaultMutationOptions(e) {
1512
1533
  return e?._defaulted ? e : {
@@ -1519,7 +1540,7 @@ var Be = class extends _ {
1519
1540
  clear() {
1520
1541
  this.#e.clear(), this.#t.clear();
1521
1542
  }
1522
- }, He = a.createContext(void 0), I = (e) => {
1543
+ }, He = a.createContext(void 0), L = (e) => {
1523
1544
  let t = a.useContext(He);
1524
1545
  if (e) return e;
1525
1546
  if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
@@ -1545,35 +1566,35 @@ function Ke() {
1545
1566
  };
1546
1567
  }
1547
1568
  var qe = a.createContext(Ke()), Je = () => a.useContext(qe), Ye = (e, t, n) => {
1548
- let r = n?.state.error && typeof e.throwOnError == "function" ? he(e.throwOnError, [n.state.error, n]) : e.throwOnError;
1569
+ let r = n?.state.error && typeof e.throwOnError == "function" ? ge(e.throwOnError, [n.state.error, n]) : e.throwOnError;
1549
1570
  (e.suspense || e.experimental_prefetchInRender || r) && (t.isReset() || (e.retryOnMount = !1));
1550
1571
  }, Xe = (e) => {
1551
1572
  a.useEffect(() => {
1552
1573
  e.clearReset();
1553
1574
  }, [e]);
1554
- }, Ze = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || he(n, [e.error, r])), Qe = (e) => {
1575
+ }, Ze = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || ge(n, [e.error, r])), Qe = (e) => {
1555
1576
  if (e.suspense) {
1556
1577
  let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
1557
1578
  e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
1558
1579
  }
1559
- }, $e = (e, t) => e.isLoading && e.isFetching && !t, et = (e, t) => e?.suspense && t.isPending, L = (e, t, n) => t.fetchOptimistic(e).catch(() => {
1580
+ }, $e = (e, t) => e.isLoading && e.isFetching && !t, et = (e, t) => e?.suspense && t.isPending, R = (e, t, n) => t.fetchOptimistic(e).catch(() => {
1560
1581
  n.clearReset();
1561
1582
  });
1562
1583
  //#endregion
1563
1584
  //#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
1564
1585
  function tt(e, t, n) {
1565
1586
  if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e))) throw Error("Bad argument type. Starting with v5, only the \"Object\" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object");
1566
- let r = Ge(), i = Je(), o = I(n), s = o.defaultQueryOptions(e);
1587
+ let r = Ge(), i = Je(), o = L(n), s = o.defaultQueryOptions(e);
1567
1588
  o.getDefaultOptions().queries?._experimental_beforeQuery?.(s);
1568
1589
  let c = o.getQueryCache().get(s.queryHash);
1569
1590
  process.env.NODE_ENV !== "production" && (s.queryFn || console.error(`[${s.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)), s._optimisticResults = r ? "isRestoring" : "optimistic", Qe(s), Ye(s, i, c), Xe(i);
1570
1591
  let l = !o.getQueryCache().get(s.queryHash), [u] = a.useState(() => new t(o, s)), d = u.getOptimisticResult(s), f = !r && e.subscribed !== !1;
1571
1592
  if (a.useSyncExternalStore(a.useCallback((e) => {
1572
- let t = f ? u.subscribe(A.batchCalls(e)) : S;
1593
+ let t = f ? u.subscribe(j.batchCalls(e)) : S;
1573
1594
  return u.updateResult(), t;
1574
1595
  }, [u, f]), () => u.getCurrentResult(), () => u.getCurrentResult()), a.useEffect(() => {
1575
1596
  u.setOptions(s);
1576
- }, [s, u]), et(s, d)) throw L(s, u, i);
1597
+ }, [s, u]), et(s, d)) throw R(s, u, i);
1577
1598
  if (Ze({
1578
1599
  result: d,
1579
1600
  errorResetBoundary: i,
@@ -1581,7 +1602,7 @@ function tt(e, t, n) {
1581
1602
  query: c,
1582
1603
  suspense: s.suspense
1583
1604
  })) throw d.error;
1584
- return o.getDefaultOptions().queries?._experimental_afterQuery?.(s, d), s.experimental_prefetchInRender && !x && $e(d, r) && (l ? L(s, u, i) : c?.promise)?.catch(S).finally(() => {
1605
+ return o.getDefaultOptions().queries?._experimental_afterQuery?.(s, d), s.experimental_prefetchInRender && !A.isServer() && $e(d, r) && (l ? R(s, u, i) : c?.promise)?.catch(S).finally(() => {
1585
1606
  u.updateResult();
1586
1607
  }), s.notifyOnChangeProps ? d : u.trackResult(d);
1587
1608
  }
@@ -1623,7 +1644,7 @@ var rt = class {
1623
1644
  } catch {}
1624
1645
  throw Error(e);
1625
1646
  }
1626
- return new R(await a.json());
1647
+ return new z(await a.json());
1627
1648
  }
1628
1649
  async meta() {
1629
1650
  let e = `${this.apiUrl}/meta`, t = await fetch(e, {
@@ -1713,14 +1734,14 @@ var rt = class {
1713
1734
  throw Error(e);
1714
1735
  }
1715
1736
  return (await i.json()).results.map((e) => !e.success && e.error ? {
1716
- ...new R({
1737
+ ...new z({
1717
1738
  data: [],
1718
1739
  annotation: {}
1719
1740
  }),
1720
1741
  error: e.error
1721
- } : new R(e));
1742
+ } : new z(e));
1722
1743
  }
1723
- }, R = class {
1744
+ }, z = class {
1724
1745
  loadResponse;
1725
1746
  constructor(e) {
1726
1747
  this.loadResponse = e;
@@ -1825,7 +1846,7 @@ function st({ apiOptions: e, token: t, options: n = {}, enableBatching: r = !0,
1825
1846
  children: a
1826
1847
  });
1827
1848
  }
1828
- function z() {
1849
+ function B() {
1829
1850
  let e = d(ot);
1830
1851
  if (!e) throw Error("useCubeApi must be used within CubeApiProvider");
1831
1852
  return e;
@@ -1846,7 +1867,7 @@ function lt(e) {
1846
1867
  }), t;
1847
1868
  }
1848
1869
  function ut(e = {}) {
1849
- let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } = z(), i = I(), a = nt({
1870
+ let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } = B(), i = L(), a = nt({
1850
1871
  queryKey: ct,
1851
1872
  queryFn: async () => {
1852
1873
  let e = await r.meta();
@@ -1873,8 +1894,8 @@ function ut(e = {}) {
1873
1894
  }
1874
1895
  //#endregion
1875
1896
  //#region src/client/utils/thumbnail.ts
1876
- var B = null, V = !1;
1877
- function dt(e, t, n, r, i) {
1897
+ var V = null, dt = !1;
1898
+ function ft(e, t, n, r, i) {
1878
1899
  return new Promise((a, o) => {
1879
1900
  let s = new Image();
1880
1901
  s.onload = () => {
@@ -1892,25 +1913,25 @@ function dt(e, t, n, r, i) {
1892
1913
  });
1893
1914
  }
1894
1915
  async function H() {
1895
- if (V) return B;
1916
+ if (dt) return V;
1896
1917
  try {
1897
- return B = await import("./dist-DDBeV_JI.js"), V = !0, B;
1918
+ return V = await import("./dist-DDBeV_JI.js"), dt = !0, V;
1898
1919
  } catch {
1899
- return V = !0, B = null, null;
1920
+ return dt = !0, V = null, null;
1900
1921
  }
1901
1922
  }
1902
- function ft(e) {
1923
+ function pt(e) {
1903
1924
  typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ || H().then((e) => {
1904
- !e && process.env.NODE_ENV === "development" && (console.warn("[drizzle-cube] Thumbnail feature enabled but modern-screenshot not installed. Run: npm install modern-screenshot"), window.__drizzle_cube_thumbnail_warning__ = !0);
1925
+ !e && typeof process < "u" && process.env.NODE_ENV === "development" && (console.warn("[drizzle-cube] Thumbnail feature enabled but modern-screenshot not installed. Run: npm install modern-screenshot"), window.__drizzle_cube_thumbnail_warning__ = !0);
1905
1926
  }));
1906
1927
  }
1907
- async function pt(e, t) {
1928
+ async function mt(e, t) {
1908
1929
  if (typeof window > "u" || !e.current) return null;
1909
1930
  let n = await H();
1910
1931
  if (!n) return null;
1911
1932
  try {
1912
- let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = _t(s);
1913
- return await dt(await n.domToPng(s, {
1933
+ let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = vt(s);
1934
+ return await ft(await n.domToPng(s, {
1914
1935
  scale: 2,
1915
1936
  backgroundColor: c
1916
1937
  }), r, i, a, o);
@@ -1918,31 +1939,31 @@ async function pt(e, t) {
1918
1939
  return console.error("[drizzle-cube] Failed to capture thumbnail:", e), null;
1919
1940
  }
1920
1941
  }
1921
- async function mt(e) {
1942
+ async function ht(e) {
1922
1943
  return !e?.enabled || typeof window > "u" ? !1 : await H() !== null;
1923
1944
  }
1924
- async function ht() {
1945
+ async function gt() {
1925
1946
  return typeof window > "u" || !await H() ? !1 : typeof ClipboardItem < "u" && typeof navigator?.clipboard?.write == "function";
1926
1947
  }
1927
- function gt(e) {
1948
+ function _t(e) {
1928
1949
  if (!e || e === "transparent" || e === "rgba(0, 0, 0, 0)") return !0;
1929
1950
  let t = e.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*([\d.]+)\s*\)/);
1930
1951
  return !!(t && parseFloat(t[1]) === 0);
1931
1952
  }
1932
- function _t(e) {
1953
+ function vt(e) {
1933
1954
  let t = e;
1934
1955
  for (; t;) {
1935
1956
  let e = getComputedStyle(t).backgroundColor;
1936
- if (!gt(e)) return e;
1957
+ if (!_t(e)) return e;
1937
1958
  t = t.parentElement;
1938
1959
  }
1939
1960
  return getComputedStyle(document.documentElement).getPropertyValue("--dc-surface").trim() || "#ffffff";
1940
1961
  }
1941
- async function vt(e) {
1962
+ async function yt(e) {
1942
1963
  try {
1943
1964
  let t = await H();
1944
1965
  if (!t) return console.warn("[drizzle-cube] Cannot copy portlet: modern-screenshot not available"), !1;
1945
- let n = _t(e), r = await t.domToPng(e, {
1966
+ let n = vt(e), r = await t.domToPng(e, {
1946
1967
  scale: 2,
1947
1968
  backgroundColor: n
1948
1969
  }), i = await (await fetch(r)).blob();
@@ -1953,7 +1974,7 @@ async function vt(e) {
1953
1974
  }
1954
1975
  //#endregion
1955
1976
  //#region src/client/providers/CubeFeaturesProvider.tsx
1956
- var yt = s(null), bt = {
1977
+ var bt = s(null), xt = {
1957
1978
  enableAI: !0,
1958
1979
  aiEndpoint: "/api/ai/generate",
1959
1980
  showSchemaDiagram: !1,
@@ -1961,13 +1982,13 @@ var yt = s(null), bt = {
1961
1982
  editToolbar: "both",
1962
1983
  floatingToolbarPosition: "right"
1963
1984
  };
1964
- function xt({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
1985
+ function St({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
1965
1986
  let [r, i] = m(() => ({
1966
- ...bt,
1987
+ ...xt,
1967
1988
  ...e
1968
1989
  }));
1969
1990
  f(() => {
1970
- ft(r.thumbnail);
1991
+ pt(r.thumbnail);
1971
1992
  }, [r.thumbnail]);
1972
1993
  let a = u((e) => {
1973
1994
  i((t) => ({
@@ -1983,22 +2004,22 @@ function xt({ features: e, dashboardModes: t = ["rows", "grid"], children: n })
1983
2004
  t,
1984
2005
  a
1985
2006
  ]);
1986
- return /* @__PURE__ */ h(yt.Provider, {
2007
+ return /* @__PURE__ */ h(bt.Provider, {
1987
2008
  value: o,
1988
2009
  children: n
1989
2010
  });
1990
2011
  }
1991
- var St = {
1992
- features: bt,
2012
+ var Ct = {
2013
+ features: xt,
1993
2014
  dashboardModes: ["rows", "grid"],
1994
2015
  updateFeatures: () => {}
1995
2016
  };
1996
- function Ct() {
1997
- return d(yt) ?? St;
2017
+ function wt() {
2018
+ return d(bt) ?? Ct;
1998
2019
  }
1999
2020
  //#endregion
2000
2021
  //#region node_modules/@iconify/react/dist/iconify.js
2001
- function wt(e, t) {
2022
+ function Tt(e, t) {
2002
2023
  let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
2003
2024
  function a(e) {
2004
2025
  if (n[e]) return i[e] = [];
@@ -2011,7 +2032,7 @@ function wt(e, t) {
2011
2032
  }
2012
2033
  return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
2013
2034
  }
2014
- var Tt = Object.freeze({
2035
+ var Et = Object.freeze({
2015
2036
  left: 0,
2016
2037
  top: 0,
2017
2038
  width: 16,
@@ -2020,73 +2041,73 @@ var Tt = Object.freeze({
2020
2041
  rotate: 0,
2021
2042
  vFlip: !1,
2022
2043
  hFlip: !1
2023
- }), Et = Object.freeze({
2024
- ...Tt,
2025
- ...U
2026
2044
  }), Dt = Object.freeze({
2027
2045
  ...Et,
2046
+ ...U
2047
+ }), Ot = Object.freeze({
2048
+ ...Dt,
2028
2049
  body: "",
2029
2050
  hidden: !1
2030
2051
  });
2031
- function Ot(e, t) {
2052
+ function kt(e, t) {
2032
2053
  let n = {};
2033
2054
  !e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
2034
2055
  let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
2035
2056
  return r && (n.rotate = r), n;
2036
2057
  }
2037
- function kt(e, t) {
2038
- let n = Ot(e, t);
2039
- for (let r in Dt) r in U ? r in e && !(r in n) && (n[r] = U[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
2058
+ function At(e, t) {
2059
+ let n = kt(e, t);
2060
+ for (let r in Ot) r in U ? r in e && !(r in n) && (n[r] = U[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
2040
2061
  return n;
2041
2062
  }
2042
- function At(e, t, n) {
2063
+ function jt(e, t, n) {
2043
2064
  let r = e.icons, i = e.aliases || Object.create(null), a = {};
2044
2065
  function o(e) {
2045
- a = kt(r[e] || i[e], a);
2066
+ a = At(r[e] || i[e], a);
2046
2067
  }
2047
- return o(t), n.forEach(o), kt(e, a);
2068
+ return o(t), n.forEach(o), At(e, a);
2048
2069
  }
2049
- function jt(e, t) {
2070
+ function Mt(e, t) {
2050
2071
  let n = [];
2051
2072
  if (typeof e != "object" || typeof e.icons != "object") return n;
2052
2073
  e.not_found instanceof Array && e.not_found.forEach((e) => {
2053
2074
  t(e, null), n.push(e);
2054
2075
  });
2055
- let r = wt(e);
2076
+ let r = Tt(e);
2056
2077
  for (let i in r) {
2057
2078
  let a = r[i];
2058
- a && (t(i, At(e, i, a)), n.push(i));
2079
+ a && (t(i, jt(e, i, a)), n.push(i));
2059
2080
  }
2060
2081
  return n;
2061
2082
  }
2062
- var Mt = {
2083
+ var Nt = {
2063
2084
  provider: "",
2064
2085
  aliases: {},
2065
2086
  not_found: {},
2066
- ...Tt
2087
+ ...Et
2067
2088
  };
2068
- function Nt(e, t) {
2089
+ function Pt(e, t) {
2069
2090
  for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
2070
2091
  return !0;
2071
2092
  }
2072
- function Pt(e) {
2093
+ function Ft(e) {
2073
2094
  if (typeof e != "object" || !e) return null;
2074
2095
  let t = e;
2075
- if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Nt(e, Mt)) return null;
2096
+ if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Pt(e, Nt)) return null;
2076
2097
  let n = t.icons;
2077
2098
  for (let e in n) {
2078
2099
  let t = n[e];
2079
- if (!e || typeof t.body != "string" || !Nt(t, Dt)) return null;
2100
+ if (!e || typeof t.body != "string" || !Pt(t, Ot)) return null;
2080
2101
  }
2081
2102
  let r = t.aliases || Object.create(null);
2082
2103
  for (let e in r) {
2083
2104
  let t = r[e], i = t.parent;
2084
- if (!e || typeof i != "string" || !n[i] && !r[i] || !Nt(t, Dt)) return null;
2105
+ if (!e || typeof i != "string" || !n[i] && !r[i] || !Pt(t, Ot)) return null;
2085
2106
  }
2086
2107
  return t;
2087
2108
  }
2088
- var Ft = Object.create(null);
2089
- function It(e, t) {
2109
+ var It = Object.create(null);
2110
+ function Lt(e, t) {
2090
2111
  return {
2091
2112
  provider: e,
2092
2113
  prefix: t,
@@ -2095,21 +2116,21 @@ function It(e, t) {
2095
2116
  };
2096
2117
  }
2097
2118
  function W(e, t) {
2098
- let n = Ft[e] || (Ft[e] = Object.create(null));
2099
- return n[t] || (n[t] = It(e, t));
2119
+ let n = It[e] || (It[e] = Object.create(null));
2120
+ return n[t] || (n[t] = Lt(e, t));
2100
2121
  }
2101
- function Lt(e, t) {
2102
- return Pt(t) ? jt(t, (t, n) => {
2122
+ function Rt(e, t) {
2123
+ return Ft(t) ? Mt(t, (t, n) => {
2103
2124
  n ? e.icons[t] = n : e.missing.add(t);
2104
2125
  }) : [];
2105
2126
  }
2106
- function Rt(e, t, n) {
2127
+ function zt(e, t, n) {
2107
2128
  try {
2108
2129
  if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
2109
2130
  } catch {}
2110
2131
  return !1;
2111
2132
  }
2112
- var zt = /^[a-z0-9]+(-[a-z0-9]+)*$/, G = (e, t, n, r = "") => {
2133
+ var Bt = /^[a-z0-9]+(-[a-z0-9]+)*$/, G = (e, t, n, r = "") => {
2113
2134
  let i = e.split(":");
2114
2135
  if (e.slice(0, 1) === "@") {
2115
2136
  if (i.length < 2 || i.length > 3) return null;
@@ -2143,50 +2164,50 @@ var zt = /^[a-z0-9]+(-[a-z0-9]+)*$/, G = (e, t, n, r = "") => {
2143
2164
  }
2144
2165
  return null;
2145
2166
  }, K = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, q = !1;
2146
- function Bt(e) {
2167
+ function Vt(e) {
2147
2168
  return typeof e == "boolean" && (q = e), q;
2148
2169
  }
2149
- function Vt(e) {
2170
+ function Ht(e) {
2150
2171
  let t = typeof e == "string" ? G(e, !0, q) : e;
2151
2172
  if (t) {
2152
2173
  let e = W(t.provider, t.prefix), n = t.name;
2153
2174
  return e.icons[n] || (e.missing.has(n) ? null : void 0);
2154
2175
  }
2155
2176
  }
2156
- function Ht(e, t) {
2177
+ function Ut(e, t) {
2157
2178
  let n = G(e, !0, q);
2158
2179
  if (!n) return !1;
2159
2180
  let r = W(n.provider, n.prefix);
2160
- return t ? Rt(r, n.name, t) : (r.missing.add(n.name), !0);
2181
+ return t ? zt(r, n.name, t) : (r.missing.add(n.name), !0);
2161
2182
  }
2162
- function Ut(e, t) {
2183
+ function Wt(e, t) {
2163
2184
  if (typeof e != "object") return !1;
2164
2185
  if (typeof t != "string" && (t = e.provider || ""), q && !t && !e.prefix) {
2165
2186
  let t = !1;
2166
- return Pt(e) && (e.prefix = "", jt(e, (e, n) => {
2167
- Ht(e, n) && (t = !0);
2187
+ return Ft(e) && (e.prefix = "", Mt(e, (e, n) => {
2188
+ Ut(e, n) && (t = !0);
2168
2189
  })), t;
2169
2190
  }
2170
2191
  let n = e.prefix;
2171
2192
  return K({
2172
2193
  prefix: n,
2173
2194
  name: "a"
2174
- }) ? !!Lt(W(t, n), e) : !1;
2195
+ }) ? !!Rt(W(t, n), e) : !1;
2175
2196
  }
2176
- var Wt = Object.freeze({
2197
+ var Gt = Object.freeze({
2177
2198
  width: null,
2178
2199
  height: null
2179
- }), Gt = Object.freeze({
2180
- ...Wt,
2200
+ }), Kt = Object.freeze({
2201
+ ...Gt,
2181
2202
  ...U
2182
- }), Kt = /(-?[0-9.]*[0-9]+[0-9.]*)/g, qt = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2183
- function Jt(e, t, n) {
2203
+ }), qt = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Jt = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2204
+ function Yt(e, t, n) {
2184
2205
  if (t === 1) return e;
2185
2206
  if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
2186
2207
  if (typeof e != "string") return e;
2187
- let r = e.split(Kt);
2208
+ let r = e.split(qt);
2188
2209
  if (r === null || !r.length) return e;
2189
- let i = [], a = r.shift(), o = qt.test(a);
2210
+ let i = [], a = r.shift(), o = Jt.test(a);
2190
2211
  for (;;) {
2191
2212
  if (o) {
2192
2213
  let e = parseFloat(a);
@@ -2196,7 +2217,7 @@ function Jt(e, t, n) {
2196
2217
  o = !o;
2197
2218
  }
2198
2219
  }
2199
- function Yt(e, t = "defs") {
2220
+ function Xt(e, t = "defs") {
2200
2221
  let n = "", r = e.indexOf("<" + t);
2201
2222
  for (; r >= 0;) {
2202
2223
  let i = e.indexOf(">", r), a = e.indexOf("</" + t);
@@ -2210,20 +2231,20 @@ function Yt(e, t = "defs") {
2210
2231
  content: e
2211
2232
  };
2212
2233
  }
2213
- function Xt(e, t) {
2234
+ function Zt(e, t) {
2214
2235
  return e ? "<defs>" + e + "</defs>" + t : t;
2215
2236
  }
2216
- function Zt(e, t, n) {
2217
- let r = Yt(e);
2218
- return Xt(r.defs, t + r.content + n);
2237
+ function Qt(e, t, n) {
2238
+ let r = Xt(e);
2239
+ return Zt(r.defs, t + r.content + n);
2219
2240
  }
2220
- var Qt = (e) => e === "unset" || e === "undefined" || e === "none";
2221
- function $t(e, t) {
2241
+ var $t = (e) => e === "unset" || e === "undefined" || e === "none";
2242
+ function en(e, t) {
2222
2243
  let n = {
2223
- ...Et,
2244
+ ...Dt,
2224
2245
  ...e
2225
2246
  }, r = {
2226
- ...Gt,
2247
+ ...Kt,
2227
2248
  ...t
2228
2249
  }, i = {
2229
2250
  left: n.left,
@@ -2246,12 +2267,12 @@ function $t(e, t) {
2246
2267
  s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
2247
2268
  break;
2248
2269
  }
2249
- o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a = Zt(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
2270
+ o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a = Qt(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
2250
2271
  });
2251
2272
  let o = r.width, s = r.height, c = i.width, l = i.height, u, d;
2252
- o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = Jt(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? Jt(u, l / c) : s === "auto" ? l : s);
2273
+ o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = Yt(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? Yt(u, l / c) : s === "auto" ? l : s);
2253
2274
  let f = {}, p = (e, t) => {
2254
- Qt(t) || (f[e] = t.toString());
2275
+ $t(t) || (f[e] = t.toString());
2255
2276
  };
2256
2277
  p("width", u), p("height", d);
2257
2278
  let m = [
@@ -2266,25 +2287,25 @@ function $t(e, t) {
2266
2287
  body: a
2267
2288
  };
2268
2289
  }
2269
- var en = /\sid="(\S+)"/g, tn = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), nn = 0;
2270
- function rn(e, t = tn) {
2290
+ var tn = /\sid="(\S+)"/g, nn = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), rn = 0;
2291
+ function an(e, t = nn) {
2271
2292
  let n = [], r;
2272
- for (; r = en.exec(e);) n.push(r[1]);
2293
+ for (; r = tn.exec(e);) n.push(r[1]);
2273
2294
  if (!n.length) return e;
2274
2295
  let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
2275
2296
  return n.forEach((n) => {
2276
- let r = typeof t == "function" ? t(n) : t + (nn++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2297
+ let r = typeof t == "function" ? t(n) : t + (rn++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2277
2298
  e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
2278
2299
  }), e = e.replace(new RegExp(i, "g"), ""), e;
2279
2300
  }
2280
- var an = Object.create(null);
2281
- function on(e, t) {
2282
- an[e] = t;
2283
- }
2284
- function sn(e) {
2285
- return an[e] || an[""];
2301
+ var on = Object.create(null);
2302
+ function sn(e, t) {
2303
+ on[e] = t;
2286
2304
  }
2287
2305
  function cn(e) {
2306
+ return on[e] || on[""];
2307
+ }
2308
+ function ln(e) {
2288
2309
  let t;
2289
2310
  if (typeof e.resources == "string") t = [e.resources];
2290
2311
  else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
@@ -2299,23 +2320,23 @@ function cn(e) {
2299
2320
  dataAfterTimeout: e.dataAfterTimeout !== !1
2300
2321
  };
2301
2322
  }
2302
- for (var ln = Object.create(null), J = ["https://api.simplesvg.com", "https://api.unisvg.com"], un = []; J.length > 0;) un.push(J.length === 1 || Math.random() > .5 ? J.shift() : J.pop());
2303
- ln[""] = cn({ resources: ["https://api.iconify.design"].concat(un) });
2304
- function dn(e, t) {
2305
- let n = cn(t);
2306
- return n === null ? !1 : (ln[e] = n, !0);
2323
+ for (var un = Object.create(null), J = ["https://api.simplesvg.com", "https://api.unisvg.com"], dn = []; J.length > 0;) dn.push(J.length === 1 || Math.random() > .5 ? J.shift() : J.pop());
2324
+ un[""] = ln({ resources: ["https://api.iconify.design"].concat(dn) });
2325
+ function fn(e, t) {
2326
+ let n = ln(t);
2327
+ return n === null ? !1 : (un[e] = n, !0);
2307
2328
  }
2308
- function fn(e) {
2309
- return ln[e];
2329
+ function pn(e) {
2330
+ return un[e];
2310
2331
  }
2311
- var pn = (() => {
2332
+ var mn = (() => {
2312
2333
  let e;
2313
2334
  try {
2314
2335
  if (e = fetch, typeof e == "function") return e;
2315
2336
  } catch {}
2316
2337
  })();
2317
- function mn(e, t) {
2318
- let n = fn(e);
2338
+ function hn(e, t) {
2339
+ let n = pn(e);
2319
2340
  if (!n) return 0;
2320
2341
  let r;
2321
2342
  if (!n.maxURL) r = 0;
@@ -2329,11 +2350,11 @@ function mn(e, t) {
2329
2350
  }
2330
2351
  return r;
2331
2352
  }
2332
- function hn(e) {
2353
+ function gn(e) {
2333
2354
  return e === 404;
2334
2355
  }
2335
- var gn = (e, t, n) => {
2336
- let r = [], i = mn(e, t), a = "icons", o = {
2356
+ var _n = (e, t, n) => {
2357
+ let r = [], i = hn(e, t), a = "icons", o = {
2337
2358
  type: a,
2338
2359
  provider: e,
2339
2360
  prefix: t,
@@ -2348,21 +2369,21 @@ var gn = (e, t, n) => {
2348
2369
  }, s = n.length), o.icons.push(n);
2349
2370
  }), r.push(o), r;
2350
2371
  };
2351
- function _n(e) {
2372
+ function vn(e) {
2352
2373
  if (typeof e == "string") {
2353
- let t = fn(e);
2374
+ let t = pn(e);
2354
2375
  if (t) return t.path;
2355
2376
  }
2356
2377
  return "/";
2357
2378
  }
2358
- var vn = {
2359
- prepare: gn,
2379
+ var yn = {
2380
+ prepare: _n,
2360
2381
  send: (e, t, n) => {
2361
- if (!pn) {
2382
+ if (!mn) {
2362
2383
  n("abort", 424);
2363
2384
  return;
2364
2385
  }
2365
- let r = _n(t.provider);
2386
+ let r = vn(t.provider);
2366
2387
  switch (t.type) {
2367
2388
  case "icons": {
2368
2389
  let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
@@ -2379,11 +2400,11 @@ var vn = {
2379
2400
  return;
2380
2401
  }
2381
2402
  let i = 503;
2382
- pn(e + r).then((e) => {
2403
+ mn(e + r).then((e) => {
2383
2404
  let t = e.status;
2384
2405
  if (t !== 200) {
2385
2406
  setTimeout(() => {
2386
- n(hn(t) ? "abort" : "next", t);
2407
+ n(gn(t) ? "abort" : "next", t);
2387
2408
  });
2388
2409
  return;
2389
2410
  }
@@ -2403,13 +2424,13 @@ var vn = {
2403
2424
  });
2404
2425
  }
2405
2426
  };
2406
- function yn(e, t) {
2427
+ function bn(e, t) {
2407
2428
  e.forEach((e) => {
2408
2429
  let n = e.loaderCallbacks;
2409
2430
  n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
2410
2431
  });
2411
2432
  }
2412
- function bn(e) {
2433
+ function xn(e) {
2413
2434
  e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
2414
2435
  e.pendingCallbacksFlag = !1;
2415
2436
  let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
@@ -2432,13 +2453,13 @@ function bn(e) {
2432
2453
  });
2433
2454
  else return n = !0, !0;
2434
2455
  return !1;
2435
- }), a.pending.length !== o && (n || yn([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
2456
+ }), a.pending.length !== o && (n || bn([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
2436
2457
  });
2437
2458
  }));
2438
2459
  }
2439
- var xn = 0;
2440
- function Sn(e, t, n) {
2441
- let r = xn++, i = yn.bind(null, n, r);
2460
+ var Sn = 0;
2461
+ function Cn(e, t, n) {
2462
+ let r = Sn++, i = bn.bind(null, n, r);
2442
2463
  if (!t.pending.length) return i;
2443
2464
  let a = {
2444
2465
  id: r,
@@ -2450,7 +2471,7 @@ function Sn(e, t, n) {
2450
2471
  (e.loaderCallbacks ||= []).push(a);
2451
2472
  }), i;
2452
2473
  }
2453
- function Cn(e) {
2474
+ function wn(e) {
2454
2475
  let t = {
2455
2476
  loaded: [],
2456
2477
  missing: [],
@@ -2473,14 +2494,14 @@ function Cn(e) {
2473
2494
  });
2474
2495
  }), t;
2475
2496
  }
2476
- function wn(e, t = !0, n = !1) {
2497
+ function Tn(e, t = !0, n = !1) {
2477
2498
  let r = [];
2478
2499
  return e.forEach((e) => {
2479
2500
  let i = typeof e == "string" ? G(e, t, n) : e;
2480
2501
  i && r.push(i);
2481
2502
  }), r;
2482
2503
  }
2483
- var Tn = {
2504
+ var En = {
2484
2505
  resources: [],
2485
2506
  index: 0,
2486
2507
  timeout: 2e3,
@@ -2488,7 +2509,7 @@ var Tn = {
2488
2509
  random: !1,
2489
2510
  dataAfterTimeout: !1
2490
2511
  };
2491
- function En(e, t, n, r) {
2512
+ function Dn(e, t, n, r) {
2492
2513
  let i = e.random ? Math.floor(Math.random() * e.resources.length) : e.index, a;
2493
2514
  if (e.random) {
2494
2515
  let t = e.resources.slice(0);
@@ -2582,16 +2603,16 @@ function En(e, t, n, r) {
2582
2603
  }
2583
2604
  return setTimeout(b), g;
2584
2605
  }
2585
- function Dn(e) {
2606
+ function On(e) {
2586
2607
  let t = {
2587
- ...Tn,
2608
+ ...En,
2588
2609
  ...e
2589
2610
  }, n = [];
2590
2611
  function r() {
2591
2612
  n = n.filter((e) => e().status === "pending");
2592
2613
  }
2593
2614
  function i(e, i, a) {
2594
- let o = En(t, e, i, (e, t) => {
2615
+ let o = Dn(t, e, i, (e, t) => {
2595
2616
  r(), a && a(e, t);
2596
2617
  });
2597
2618
  return n.push(o), o;
@@ -2609,47 +2630,47 @@ function Dn(e) {
2609
2630
  cleanup: r
2610
2631
  };
2611
2632
  }
2612
- function On() {}
2613
- var kn = Object.create(null);
2614
- function An(e) {
2615
- if (!kn[e]) {
2616
- let t = fn(e);
2633
+ function kn() {}
2634
+ var An = Object.create(null);
2635
+ function jn(e) {
2636
+ if (!An[e]) {
2637
+ let t = pn(e);
2617
2638
  if (!t) return;
2618
- kn[e] = {
2639
+ An[e] = {
2619
2640
  config: t,
2620
- redundancy: Dn(t)
2641
+ redundancy: On(t)
2621
2642
  };
2622
2643
  }
2623
- return kn[e];
2644
+ return An[e];
2624
2645
  }
2625
- function jn(e, t, n) {
2646
+ function Mn(e, t, n) {
2626
2647
  let r, i;
2627
2648
  if (typeof e == "string") {
2628
- let t = sn(e);
2629
- if (!t) return n(void 0, 424), On;
2649
+ let t = cn(e);
2650
+ if (!t) return n(void 0, 424), kn;
2630
2651
  i = t.send;
2631
- let a = An(e);
2652
+ let a = jn(e);
2632
2653
  a && (r = a.redundancy);
2633
2654
  } else {
2634
- let t = cn(e);
2655
+ let t = ln(e);
2635
2656
  if (t) {
2636
- r = Dn(t);
2637
- let n = sn(e.resources ? e.resources[0] : "");
2657
+ r = On(t);
2658
+ let n = cn(e.resources ? e.resources[0] : "");
2638
2659
  n && (i = n.send);
2639
2660
  }
2640
2661
  }
2641
- return !r || !i ? (n(void 0, 424), On) : r.query(t, i, n)().abort;
2662
+ return !r || !i ? (n(void 0, 424), kn) : r.query(t, i, n)().abort;
2642
2663
  }
2643
- function Mn() {}
2644
- function Nn(e) {
2664
+ function Nn() {}
2665
+ function Pn(e) {
2645
2666
  e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
2646
- e.iconsLoaderFlag = !1, bn(e);
2667
+ e.iconsLoaderFlag = !1, xn(e);
2647
2668
  }));
2648
2669
  }
2649
- function Pn(e) {
2670
+ function Fn(e) {
2650
2671
  let t = [], n = [];
2651
2672
  return e.forEach((e) => {
2652
- (e.match(zt) ? t : n).push(e);
2673
+ (e.match(Bt) ? t : n).push(e);
2653
2674
  }), {
2654
2675
  valid: t,
2655
2676
  invalid: n
@@ -2663,37 +2684,37 @@ function Y(e, t, n) {
2663
2684
  });
2664
2685
  }
2665
2686
  if (n && typeof n == "object") try {
2666
- if (!Lt(e, n).length) {
2687
+ if (!Rt(e, n).length) {
2667
2688
  r();
2668
2689
  return;
2669
2690
  }
2670
2691
  } catch (e) {
2671
2692
  console.error(e);
2672
2693
  }
2673
- r(), Nn(e);
2694
+ r(), Pn(e);
2674
2695
  }
2675
- function Fn(e, t) {
2696
+ function In(e, t) {
2676
2697
  e instanceof Promise ? e.then((e) => {
2677
2698
  t(e);
2678
2699
  }).catch(() => {
2679
2700
  t(null);
2680
2701
  }) : t(e);
2681
2702
  }
2682
- function In(e, t) {
2703
+ function Ln(e, t) {
2683
2704
  e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
2684
2705
  e.iconsQueueFlag = !1;
2685
2706
  let { provider: t, prefix: n } = e, r = e.iconsToLoad;
2686
2707
  if (delete e.iconsToLoad, !r || !r.length) return;
2687
2708
  let i = e.loadIcon;
2688
2709
  if (e.loadIcons && (r.length > 1 || !i)) {
2689
- Fn(e.loadIcons(r, n, t), (t) => {
2710
+ In(e.loadIcons(r, n, t), (t) => {
2690
2711
  Y(e, r, t);
2691
2712
  });
2692
2713
  return;
2693
2714
  }
2694
2715
  if (i) {
2695
2716
  r.forEach((r) => {
2696
- Fn(i(r, n, t), (t) => {
2717
+ In(i(r, n, t), (t) => {
2697
2718
  Y(e, [r], t ? {
2698
2719
  prefix: n,
2699
2720
  icons: { [r]: t }
@@ -2702,26 +2723,26 @@ function In(e, t) {
2702
2723
  });
2703
2724
  return;
2704
2725
  }
2705
- let { valid: a, invalid: o } = Pn(r);
2726
+ let { valid: a, invalid: o } = Fn(r);
2706
2727
  if (o.length && Y(e, o, null), !a.length) return;
2707
- let s = n.match(zt) ? sn(t) : null;
2728
+ let s = n.match(Bt) ? cn(t) : null;
2708
2729
  if (!s) {
2709
2730
  Y(e, a, null);
2710
2731
  return;
2711
2732
  }
2712
2733
  s.prepare(t, n, a).forEach((n) => {
2713
- jn(t, n, (t) => {
2734
+ Mn(t, n, (t) => {
2714
2735
  Y(e, n.icons, t);
2715
2736
  });
2716
2737
  });
2717
2738
  }));
2718
2739
  }
2719
- var Ln = (e, t) => {
2720
- let n = Cn(wn(e, !0, Bt()));
2740
+ var Rn = (e, t) => {
2741
+ let n = wn(Tn(e, !0, Vt()));
2721
2742
  if (!n.pending.length) {
2722
2743
  let e = !0;
2723
2744
  return t && setTimeout(() => {
2724
- e && t(n.loaded, n.missing, n.pending, Mn);
2745
+ e && t(n.loaded, n.missing, n.pending, Nn);
2725
2746
  }), () => {
2726
2747
  e = !1;
2727
2748
  };
@@ -2738,20 +2759,20 @@ var Ln = (e, t) => {
2738
2759
  o.has(i) || (o.add(i), r[t][n].push(i));
2739
2760
  }), i.forEach((e) => {
2740
2761
  let t = r[e.provider][e.prefix];
2741
- t.length && In(e, t);
2742
- }), t ? Sn(t, n, i) : Mn;
2762
+ t.length && Ln(e, t);
2763
+ }), t ? Cn(t, n, i) : Nn;
2743
2764
  };
2744
- function Rn(e, t) {
2765
+ function zn(e, t) {
2745
2766
  let n = { ...e };
2746
2767
  for (let e in t) {
2747
2768
  let r = t[e], i = typeof r;
2748
- e in Wt ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
2769
+ e in Gt ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
2749
2770
  }
2750
2771
  return n;
2751
2772
  }
2752
- var zn = /[\s,]+/;
2753
- function Bn(e, t) {
2754
- t.split(zn).forEach((t) => {
2773
+ var Bn = /[\s,]+/;
2774
+ function Vn(e, t) {
2775
+ t.split(Bn).forEach((t) => {
2755
2776
  switch (t.trim()) {
2756
2777
  case "horizontal":
2757
2778
  e.hFlip = !0;
@@ -2762,7 +2783,7 @@ function Bn(e, t) {
2762
2783
  }
2763
2784
  });
2764
2785
  }
2765
- function Vn(e, t = 0) {
2786
+ function Hn(e, t = 0) {
2766
2787
  let n = e.replace(/^-?[0-9.]*/, "");
2767
2788
  function r(e) {
2768
2789
  for (; e < 0;) e += 4;
@@ -2786,61 +2807,61 @@ function Vn(e, t = 0) {
2786
2807
  }
2787
2808
  return t;
2788
2809
  }
2789
- function Hn(e, t) {
2810
+ function Un(e, t) {
2790
2811
  let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
2791
2812
  for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
2792
2813
  return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
2793
2814
  }
2794
- function Un(e) {
2795
- return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
2796
- }
2797
2815
  function Wn(e) {
2798
- return "data:image/svg+xml," + Un(e);
2816
+ return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
2799
2817
  }
2800
2818
  function Gn(e) {
2801
- return "url(\"" + Wn(e) + "\")";
2819
+ return "data:image/svg+xml," + Wn(e);
2820
+ }
2821
+ function Kn(e) {
2822
+ return "url(\"" + Gn(e) + "\")";
2802
2823
  }
2803
2824
  var X;
2804
- function Kn() {
2825
+ function qn() {
2805
2826
  try {
2806
2827
  X = window.trustedTypes.createPolicy("iconify", { createHTML: (e) => e });
2807
2828
  } catch {
2808
2829
  X = null;
2809
2830
  }
2810
2831
  }
2811
- function qn(e) {
2812
- return X === void 0 && Kn(), X ? X.createHTML(e) : e;
2832
+ function Jn(e) {
2833
+ return X === void 0 && qn(), X ? X.createHTML(e) : e;
2813
2834
  }
2814
- var Jn = {
2815
- ...Gt,
2835
+ var Yn = {
2836
+ ...Kt,
2816
2837
  inline: !1
2817
- }, Yn = {
2838
+ }, Xn = {
2818
2839
  xmlns: "http://www.w3.org/2000/svg",
2819
2840
  xmlnsXlink: "http://www.w3.org/1999/xlink",
2820
2841
  "aria-hidden": !0,
2821
2842
  role: "img"
2822
- }, Xn = { display: "inline-block" }, Zn = { backgroundColor: "currentColor" }, Qn = { backgroundColor: "transparent" }, $n = {
2843
+ }, Zn = { display: "inline-block" }, Qn = { backgroundColor: "currentColor" }, $n = { backgroundColor: "transparent" }, er = {
2823
2844
  Image: "var(--svg)",
2824
2845
  Repeat: "no-repeat",
2825
2846
  Size: "100% 100%"
2826
- }, er = {
2827
- WebkitMask: Zn,
2828
- mask: Zn,
2829
- background: Qn
2847
+ }, tr = {
2848
+ WebkitMask: Qn,
2849
+ mask: Qn,
2850
+ background: $n
2830
2851
  };
2831
- for (let e in er) {
2832
- let t = er[e];
2833
- for (let n in $n) t[e + n] = $n[n];
2852
+ for (let e in tr) {
2853
+ let t = tr[e];
2854
+ for (let n in er) t[e + n] = er[n];
2834
2855
  }
2835
- var tr = {
2836
- ...Jn,
2856
+ var nr = {
2857
+ ...Yn,
2837
2858
  inline: !0
2838
2859
  };
2839
- function nr(e) {
2860
+ function rr(e) {
2840
2861
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
2841
2862
  }
2842
- var rr = (e, t, n) => {
2843
- let r = t.inline ? tr : Jn, i = Rn(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, l = { ...a === "svg" ? Yn : {} };
2863
+ var ir = (e, t, n) => {
2864
+ let r = t.inline ? nr : Yn, i = zn(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, l = { ...a === "svg" ? Xn : {} };
2844
2865
  if (n) {
2845
2866
  let e = G(n, !1, !0);
2846
2867
  if (e) {
@@ -2871,13 +2892,13 @@ var rr = (e, t, n) => {
2871
2892
  i[e] = n === !0 || n === "true" || n === 1;
2872
2893
  break;
2873
2894
  case "flip":
2874
- typeof n == "string" && Bn(i, n);
2895
+ typeof n == "string" && Vn(i, n);
2875
2896
  break;
2876
2897
  case "color":
2877
2898
  o.color = n;
2878
2899
  break;
2879
2900
  case "rotate":
2880
- typeof n == "string" ? i[e] = Vn(n) : typeof n == "number" && (i[e] = n);
2901
+ typeof n == "string" ? i[e] = Hn(n) : typeof n == "number" && (i[e] = n);
2881
2902
  break;
2882
2903
  case "ariaHidden":
2883
2904
  case "aria-hidden":
@@ -2886,37 +2907,37 @@ var rr = (e, t, n) => {
2886
2907
  default: r[e] === void 0 && (l[e] = n);
2887
2908
  }
2888
2909
  }
2889
- let u = $t(e, i), d = u.attributes;
2910
+ let u = en(e, i), d = u.attributes;
2890
2911
  if (i.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
2891
2912
  l.style = {
2892
2913
  ...o,
2893
2914
  ...s
2894
2915
  }, Object.assign(l, d);
2895
2916
  let e = 0, n = t.id;
2896
- return typeof n == "string" && (n = n.replace(/-/g, "_")), l.dangerouslySetInnerHTML = { __html: qn(rn(u.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, c("svg", l);
2917
+ return typeof n == "string" && (n = n.replace(/-/g, "_")), l.dangerouslySetInnerHTML = { __html: Jn(an(u.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, c("svg", l);
2897
2918
  }
2898
- let { body: f, width: p, height: m } = e, h = a === "mask" || (a === "bg" ? !1 : f.indexOf("currentColor") !== -1), g = Hn(f, {
2919
+ let { body: f, width: p, height: m } = e, h = a === "mask" || (a === "bg" ? !1 : f.indexOf("currentColor") !== -1), g = Un(f, {
2899
2920
  ...d,
2900
2921
  width: p + "",
2901
2922
  height: m + ""
2902
2923
  });
2903
2924
  return l.style = {
2904
2925
  ...o,
2905
- "--svg": Gn(g),
2906
- width: nr(d.width),
2907
- height: nr(d.height),
2908
- ...Xn,
2909
- ...h ? Zn : Qn,
2926
+ "--svg": Kn(g),
2927
+ width: rr(d.width),
2928
+ height: rr(d.height),
2929
+ ...Zn,
2930
+ ...h ? Qn : $n,
2910
2931
  ...s
2911
2932
  }, c("span", l);
2912
2933
  };
2913
- if (Bt(!0), on("", vn), typeof document < "u" && typeof window < "u") {
2934
+ if (Vt(!0), sn("", yn), typeof document < "u" && typeof window < "u") {
2914
2935
  let e = window;
2915
2936
  if (e.IconifyPreload !== void 0) {
2916
2937
  let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
2917
2938
  typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
2918
2939
  try {
2919
- (typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !Ut(e)) && console.error(n);
2940
+ (typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !Wt(e)) && console.error(n);
2920
2941
  } catch {
2921
2942
  console.error(n);
2922
2943
  }
@@ -2929,14 +2950,14 @@ if (Bt(!0), on("", vn), typeof document < "u" && typeof window < "u") {
2929
2950
  try {
2930
2951
  let r = t[e];
2931
2952
  if (typeof r != "object" || !r || r.resources === void 0) continue;
2932
- dn(e, r) || console.error(n);
2953
+ fn(e, r) || console.error(n);
2933
2954
  } catch {
2934
2955
  console.error(n);
2935
2956
  }
2936
2957
  }
2937
2958
  }
2938
2959
  }
2939
- function ir(e) {
2960
+ function ar(e) {
2940
2961
  let [t, n] = m(!!e.ssr), [r, i] = m({});
2941
2962
  function a(t) {
2942
2963
  if (t) {
@@ -2945,7 +2966,7 @@ function ir(e) {
2945
2966
  name: "",
2946
2967
  data: t
2947
2968
  };
2948
- let n = Vt(t);
2969
+ let n = Ht(t);
2949
2970
  if (n) return {
2950
2971
  name: t,
2951
2972
  data: n
@@ -2971,473 +2992,473 @@ function ir(e) {
2971
2992
  });
2972
2993
  return;
2973
2994
  }
2974
- let r = Vt(n);
2995
+ let r = Ht(n);
2975
2996
  u({
2976
2997
  name: n,
2977
2998
  data: r
2978
- }) && (r === void 0 ? i({ callback: Ln([n], d) }) : r && ((t = e.onLoad) == null || t.call(e, n)));
2999
+ }) && (r === void 0 ? i({ callback: Rn([n], d) }) : r && ((t = e.onLoad) == null || t.call(e, n)));
2979
3000
  }
2980
3001
  f(() => (n(!0), l), []), f(() => {
2981
3002
  t && d();
2982
3003
  }, [e.icon, t]);
2983
3004
  let { name: p, data: h } = o;
2984
- return h ? rr({
2985
- ...Et,
3005
+ return h ? ir({
3006
+ ...Dt,
2986
3007
  ...h
2987
3008
  }, e, p) : e.children ? e.children : e.fallback ? e.fallback : c("span", {});
2988
3009
  }
2989
- var ar = l((e, t) => ir({
3010
+ var or = l((e, t) => ar({
2990
3011
  ...e,
2991
3012
  _ref: t
2992
3013
  }));
2993
- l((e, t) => ir({
3014
+ l((e, t) => ar({
2994
3015
  inline: !0,
2995
3016
  ...e,
2996
3017
  _ref: t
2997
3018
  }));
2998
3019
  //#endregion
2999
3020
  //#region node_modules/@iconify-icons/heroicons-outline/x-mark.js
3000
- var or = {
3021
+ var sr = {
3001
3022
  width: 24,
3002
3023
  height: 24,
3003
3024
  hidden: !0,
3004
3025
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m4.5 19.5l15-15m-15 0l15 15\"/>"
3005
- }, sr = {
3026
+ }, cr = {
3006
3027
  width: 24,
3007
3028
  height: 24,
3008
3029
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>"
3009
- }, cr = {
3030
+ }, lr = {
3010
3031
  width: 24,
3011
3032
  height: 24,
3012
3033
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 1 1 3.536 3.536L6.5 21.036H3v-3.572L16.732 3.732Z\"/>"
3013
- }, lr = {
3034
+ }, ur = {
3014
3035
  width: 24,
3015
3036
  height: 24,
3016
3037
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 7l-.867 12.142A2 2 0 0 1 16.138 21H7.862a2 2 0 0 1-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v3M4 7h16\"/>"
3017
- }, ur = {
3038
+ }, dr = {
3018
3039
  width: 24,
3019
3040
  height: 24,
3020
3041
  hidden: !0,
3021
3042
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.5 12c0-1.232.046-2.453.138-3.662a4.006 4.006 0 0 1 3.7-3.7a48.678 48.678 0 0 1 7.324 0a4.006 4.006 0 0 1 3.7 3.7c.017.22.032.441.046.662M4.5 12l-3-3m3 3l3-3m12 3c0 1.232-.046 2.453-.138 3.662a4.006 4.006 0 0 1-3.7 3.7a48.657 48.657 0 0 1-7.324 0a4.006 4.006 0 0 1-3.7-3.7c-.017-.22-.032-.441-.046-.662M19.5 12l-3 3m3-3l3 3\"/>"
3022
- }, dr = {
3043
+ }, fr = {
3023
3044
  width: 24,
3024
3045
  height: 24,
3025
3046
  hidden: !0,
3026
3047
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192c.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z\"/>"
3027
- }, fr = {
3048
+ }, pr = {
3028
3049
  width: 24,
3029
3050
  height: 24,
3030
3051
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 7v8a2 2 0 0 0 2 2h6M8 7V5a2 2 0 0 1 2-2h4.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V15a2 2 0 0 1-2 2h-2M8 7H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2\"/>"
3031
- }, pr = {
3052
+ }, mr = {
3032
3053
  width: 24,
3033
3054
  height: 24,
3034
3055
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37c.996.608 2.296.07 2.572-1.065Z\"/><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>"
3035
- }, mr = {
3056
+ }, hr = {
3036
3057
  width: 24,
3037
3058
  height: 24,
3038
3059
  hidden: !0,
3039
3060
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 3c2.755 0 5.455.232 8.083.678c.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z\"/>"
3040
- }, hr = {
3061
+ }, gr = {
3041
3062
  width: 24,
3042
3063
  height: 24,
3043
3064
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 1 1 0-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 1 0 5.367-2.684a3 3 0 0 0-5.367 2.684Zm0 9.316a3 3 0 1 0 5.368 2.684a3 3 0 0 0-5.368-2.684Z\"/>"
3044
- }, gr = {
3065
+ }, _r = {
3045
3066
  width: 24,
3046
3067
  height: 24,
3047
3068
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>"
3048
- }, _r = {
3069
+ }, vr = {
3049
3070
  width: 24,
3050
3071
  height: 24,
3051
3072
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>"
3052
- }, vr = {
3073
+ }, yr = {
3053
3074
  width: 24,
3054
3075
  height: 24,
3055
3076
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>"
3056
- }, yr = {
3077
+ }, br = {
3057
3078
  width: 24,
3058
3079
  height: 24,
3059
3080
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>"
3060
- }, br = {
3081
+ }, xr = {
3061
3082
  width: 24,
3062
3083
  height: 24,
3063
3084
  hidden: !0,
3064
3085
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m21 21l-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z\"/>"
3065
- }, xr = {
3086
+ }, Sr = {
3066
3087
  width: 24,
3067
3088
  height: 24,
3068
3089
  hidden: !0,
3069
3090
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\"/>"
3070
- }, Sr = {
3091
+ }, Cr = {
3071
3092
  width: 24,
3072
3093
  height: 24,
3073
3094
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 12l2 2l4-4m6 2a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>"
3074
- }, Cr = {
3095
+ }, wr = {
3075
3096
  width: 24,
3076
3097
  height: 24,
3077
3098
  hidden: !0,
3078
3099
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 10.5v3.75m-9.303 3.376C1.83 19.126 2.914 21 4.645 21h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 4.88c-.866-1.501-3.032-1.501-3.898 0L2.697 17.626ZM12 17.25h.007v.008H12v-.008Z\"/>"
3079
- }, wr = {
3100
+ }, Tr = {
3080
3101
  width: 24,
3081
3102
  height: 24,
3082
3103
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4m0 4h.01M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>"
3083
- }, Tr = {
3104
+ }, Er = {
3084
3105
  width: 24,
3085
3106
  height: 24,
3086
3107
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3Z\"/>"
3087
- }, Er = {
3108
+ }, Dr = {
3088
3109
  width: 24,
3089
3110
  height: 24,
3090
3111
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/><path d=\"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7c-4.477 0-8.268-2.943-9.542-7Z\"/></g>"
3091
- }, Dr = {
3112
+ }, Or = {
3092
3113
  width: 24,
3093
3114
  height: 24,
3094
3115
  hidden: !0,
3095
3116
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.98 8.223A10.477 10.477 0 0 0 1.934 12c1.292 4.338 5.31 7.5 10.066 7.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 0 1-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88\"/>"
3096
- }, Or = {
3117
+ }, kr = {
3097
3118
  width: 24,
3098
3119
  height: 24,
3099
3120
  hidden: !0,
3100
3121
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75\"/>"
3101
- }, kr = {
3122
+ }, Ar = {
3102
3123
  width: 24,
3103
3124
  height: 24,
3104
3125
  hidden: !0,
3105
3126
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25\"/>"
3106
- }, Ar = {
3127
+ }, jr = {
3107
3128
  width: 24,
3108
3129
  height: 24,
3109
3130
  hidden: !0,
3110
3131
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5\"/>"
3111
- }, jr = {
3132
+ }, Mr = {
3112
3133
  width: 24,
3113
3134
  height: 24,
3114
3135
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.828 10.172a4 4 0 0 0-5.656 0l-4 4a4 4 0 1 0 5.656 5.656l1.102-1.101m-.758-4.899a4 4 0 0 0 5.656 0l4-4a4 4 0 0 0-5.656-5.656l-1.1 1.1\"/>"
3115
- }, Mr = {
3136
+ }, Nr = {
3116
3137
  width: 24,
3117
3138
  height: 24,
3118
3139
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>"
3119
- }, Nr = {
3140
+ }, Pr = {
3120
3141
  width: 24,
3121
3142
  height: 24,
3122
3143
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 1 1-8 0a4 4 0 0 1 8 0Z\"/>"
3123
- }, Pr = {
3144
+ }, Fr = {
3124
3145
  width: 24,
3125
3146
  height: 24,
3126
3147
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.354 15.354A9 9 0 0 1 8.646 3.646A9.003 9.003 0 0 0 12 21a9.003 9.003 0 0 0 8.354-5.646Z\"/>"
3127
- }, Fr = {
3148
+ }, Ir = {
3128
3149
  width: 24,
3129
3150
  height: 24,
3130
3151
  hidden: !0,
3131
3152
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M6.75 12a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Z\"/>"
3132
- }, Ir = {
3153
+ }, Lr = {
3133
3154
  width: 24,
3134
3155
  height: 24,
3135
3156
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z\"/>"
3136
- }, Lr = {
3157
+ }, Rr = {
3137
3158
  width: 24,
3138
3159
  height: 24,
3139
3160
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253\"/>"
3140
- }, Rr = {
3161
+ }, zr = {
3141
3162
  width: 24,
3142
3163
  height: 24,
3143
3164
  hidden: !0,
3144
3165
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5\"/>"
3145
- }, zr = {
3166
+ }, Br = {
3146
3167
  width: 24,
3147
3168
  height: 24,
3148
3169
  hidden: !0,
3149
3170
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88a1.124 1.124 0 0 1 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z\"/>"
3150
- }, Br = {
3171
+ }, Vr = {
3151
3172
  width: 24,
3152
3173
  height: 24,
3153
3174
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 9a2 2 0 0 1 2-2h.93a2 2 0 0 0 1.664-.89l.812-1.22A2 2 0 0 1 10.07 4h3.86a2 2 0 0 1 1.664.89l.812 1.22A2 2 0 0 0 18.07 7H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z\"/><path d=\"M15 13a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>"
3154
- }, Vr = {
3175
+ }, Hr = {
3155
3176
  width: 20,
3156
3177
  height: 20,
3157
3178
  hidden: !0,
3158
3179
  body: "<path fill=\"currentColor\" d=\"M1 8.25a1.25 1.25 0 1 1 2.5 0v7.5a1.25 1.25 0 1 1-2.5 0v-7.5ZM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0 1 14 3c0 .995-.182 1.948-.514 2.826c-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 0 1-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 0 1-1.341-.317l-2.734-1.366A3 3 0 0 0 6.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 0 1 2.166-1.73c.432-.143.853-.386 1.011-.814c.16-.432.248-.9.248-1.388Z\"/>"
3159
- }, Hr = {
3180
+ }, Ur = {
3160
3181
  width: 20,
3161
3182
  height: 20,
3162
3183
  hidden: !0,
3163
3184
  body: "<path fill=\"currentColor\" d=\"M18.905 12.75a1.25 1.25 0 0 1-2.5 0v-7.5a1.25 1.25 0 1 1 2.5 0v7.5Zm-10 4.25v1.3c0 .268-.14.526-.395.607A2 2 0 0 1 5.905 17c0-.995.182-1.948.514-2.826c.204-.54-.166-1.174-.744-1.174h-2.52c-1.242 0-2.26-1.01-2.146-2.247c.193-2.08.652-4.082 1.341-5.974C2.752 3.678 3.833 3 5.005 3h3.192a3 3 0 0 1 1.342.317l2.733 1.366A3 3 0 0 0 13.613 5h1.292v7h-.963c-.684 0-1.258.482-1.612 1.068a4.012 4.012 0 0 1-2.165 1.73c-.433.143-.854.386-1.012.814c-.16.432-.248.9-.248 1.388Z\"/>"
3164
- }, Ur = {
3185
+ }, Wr = {
3165
3186
  width: 20,
3166
3187
  height: 20,
3167
3188
  body: "<path fill=\"currentColor\" d=\"M2 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-5Zm6-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7Zm6-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V4Z\"/>"
3168
- }, Wr = {
3189
+ }, Gr = {
3169
3190
  width: 20,
3170
3191
  height: 20,
3171
3192
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M17.707 9.293a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7A.997.997 0 0 1 2 10V5a3 3 0 0 1 3-3h5c.256 0 .512.098.707.293l7 7ZM5 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z\" clip-rule=\"evenodd\"/>"
3172
- }, Gr = {
3193
+ }, Kr = {
3173
3194
  width: 20,
3174
3195
  height: 20,
3175
3196
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6 2a1 1 0 0 0-1 1v1H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1V3a1 1 0 1 0-2 0v1H7V3a1 1 0 0 0-1-1Zm0 5a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2H6Z\" clip-rule=\"evenodd\"/>"
3176
- }, Kr = {
3197
+ }, qr = {
3177
3198
  width: 20,
3178
3199
  height: 20,
3179
3200
  hidden: !0,
3180
3201
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2.5 3A1.5 1.5 0 0 0 1 4.5v4A1.5 1.5 0 0 0 2.5 10h6A1.5 1.5 0 0 0 10 8.5v-4A1.5 1.5 0 0 0 8.5 3h-6Zm11 2A1.5 1.5 0 0 0 12 6.5v7a1.5 1.5 0 0 0 1.5 1.5h4a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 17.5 5h-4Zm-10 7A1.5 1.5 0 0 0 2 13.5v2A1.5 1.5 0 0 0 3.5 17h6a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 9.5 12h-6Z\" clip-rule=\"evenodd\"/>"
3181
- }, qr = {
3202
+ }, Jr = {
3182
3203
  width: 20,
3183
3204
  height: 20,
3184
3205
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16ZM9.555 7.168A1 1 0 0 0 8 8v4a1 1 0 0 0 1.555.832l3-2a1 1 0 0 0 0-1.664l-3-2Z\" clip-rule=\"evenodd\"/>"
3185
- }, Jr = {
3206
+ }, Yr = {
3186
3207
  width: 20,
3187
3208
  height: 20,
3188
3209
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0Z\" clip-rule=\"evenodd\"/>"
3189
- }, Yr = {
3210
+ }, Xr = {
3190
3211
  width: 20,
3191
3212
  height: 20,
3192
3213
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 2a1 1 0 0 1 1 1v1.323l3.954 1.582l1.599-.8a1 1 0 0 1 .894 1.79l-1.233.616l1.738 5.42a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 15 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.715-5.349L11 6.477V16h2a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2h2V6.477L6.237 7.582l1.715 5.349a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 5 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.738-5.42l-1.233-.617a1 1 0 0 1 .894-1.788l1.599.799L9 4.323V3a1 1 0 0 1 1-1Zm-5 8.274l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L5 10.274Zm10 0l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L15 10.274Z\" clip-rule=\"evenodd\"/>"
3193
- }, Xr = {
3214
+ }, Zr = {
3194
3215
  width: 20,
3195
3216
  height: 20,
3196
3217
  hidden: !0,
3197
3218
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm.75-11.25a.75.75 0 0 0-1.5 0v4.59L7.3 9.24a.75.75 0 0 0-1.1 1.02l3.25 3.5a.75.75 0 0 0 1.1 0l3.25-3.5a.75.75 0 1 0-1.1-1.02l-1.95 2.1V6.75Z\" clip-rule=\"evenodd\"/>"
3198
- }, Zr = {
3219
+ }, Qr = {
3199
3220
  width: 20,
3200
3221
  height: 20,
3201
3222
  hidden: !0,
3202
3223
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm-.75-4.75a.75.75 0 0 0 1.5 0V8.66l1.95 2.1a.75.75 0 1 0 1.1-1.02l-3.25-3.5a.75.75 0 0 0-1.1 0L6.2 9.74a.75.75 0 1 0 1.1 1.02l1.95-2.1v4.59Z\" clip-rule=\"evenodd\"/>"
3203
- }, Qr = {
3224
+ }, $r = {
3204
3225
  width: 20,
3205
3226
  height: 20,
3206
3227
  hidden: !0,
3207
3228
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M12.577 4.878a.75.75 0 0 1 .919-.53l4.78 1.281a.75.75 0 0 1 .531.919l-1.281 4.78a.75.75 0 0 1-1.449-.387l.81-3.022a19.407 19.407 0 0 0-5.594 5.203a.75.75 0 0 1-1.139.093L7 10.06l-4.72 4.72a.75.75 0 0 1-1.06-1.061l5.25-5.25a.75.75 0 0 1 1.06 0l3.074 3.073a20.923 20.923 0 0 1 5.545-4.931l-3.042-.815a.75.75 0 0 1-.53-.919Z\" clip-rule=\"evenodd\"/>"
3208
- }, $r = {
3229
+ }, ei = {
3209
3230
  width: 20,
3210
3231
  height: 20,
3211
3232
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M7 2a1 1 0 0 0-.707 1.707L7 4.414v3.758a1 1 0 0 1-.293.707l-4 4C.817 14.769 2.156 18 4.828 18h10.343c2.673 0 4.012-3.231 2.122-5.121l-4-4A1 1 0 0 1 13 8.172V4.414l.707-.707A1 1 0 0 0 13 2H7Zm2 6.172V4h2v4.172a3 3 0 0 0 .879 2.12l1.027 1.028a4 4 0 0 0-2.171.102l-.47.156a4 4 0 0 1-2.53 0l-.563-.187a1.993 1.993 0 0 0-.114-.035l1.063-1.063A3 3 0 0 0 9 8.172Z\" clip-rule=\"evenodd\"/>"
3212
- }, ei = {
3233
+ }, ti = {
3213
3234
  width: 20,
3214
3235
  height: 20,
3215
3236
  hidden: !0,
3216
3237
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 0 1 2.75 4h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75Zm0 10.5a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1-.75-.75ZM2 10a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 10Z\" clip-rule=\"evenodd\"/>"
3217
- }, ti = {
3238
+ }, ni = {
3218
3239
  width: 20,
3219
3240
  height: 20,
3220
3241
  body: "<g fill=\"currentColor\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6.625 2.655A9 9 0 0 1 19 11a1 1 0 1 1-2 0a7 7 0 0 0-9.625-6.492a1 1 0 1 1-.75-1.853ZM4.662 4.959A1 1 0 0 1 4.75 6.37A6.97 6.97 0 0 0 3 11a1 1 0 1 1-2 0a8.97 8.97 0 0 1 2.25-5.953a1 1 0 0 1 1.412-.088Z\"/><path d=\"M5 11a5 5 0 1 1 10 0a1 1 0 1 1-2 0a3 3 0 1 0-6 0c0 1.677-.345 3.276-.968 4.729a1 1 0 1 1-1.838-.789A9.964 9.964 0 0 0 5 11Zm8.921 2.012a1 1 0 0 1 .831 1.145a19.86 19.86 0 0 1-.545 2.436a1 1 0 1 1-1.92-.558c.207-.713.371-1.445.49-2.192a1 1 0 0 1 1.144-.83Z\"/><path d=\"M10 10a1 1 0 0 1 1 1c0 2.236-.46 4.368-1.29 6.304a1 1 0 0 1-1.838-.789A13.952 13.952 0 0 0 9 11a1 1 0 0 1 1-1Z\"/></g>"
3221
- }, ni = {
3242
+ }, ri = {
3222
3243
  width: 20,
3223
3244
  height: 20,
3224
3245
  hidden: !0,
3225
3246
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M4.25 2A2.25 2.25 0 0 0 2 4.25v11.5A2.25 2.25 0 0 0 4.25 18h11.5A2.25 2.25 0 0 0 18 15.75V4.25A2.25 2.25 0 0 0 15.75 2H4.25ZM15 5.75a.75.75 0 0 0-1.5 0v8.5a.75.75 0 0 0 1.5 0v-8.5Zm-8.5 6a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0v-2.5ZM8.584 9a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5a.75.75 0 0 1 .75-.75Zm3.58-1.25a.75.75 0 0 0-1.5 0v6.5a.75.75 0 0 0 1.5 0v-6.5Z\" clip-rule=\"evenodd\"/>"
3226
- }, ri = {
3247
+ }, ii = {
3227
3248
  width: 20,
3228
3249
  height: 20,
3229
3250
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm1-11a1 1 0 1 0-2 0v2H7a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2V7Z\" clip-rule=\"evenodd\"/>"
3230
- }, ii = {
3251
+ }, ai = {
3231
3252
  width: 20,
3232
3253
  height: 20,
3233
3254
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.243 3.03a1 1 0 0 1 .727 1.213L9.53 6h2.94l.56-2.243a1 1 0 1 1 1.94.486L14.53 6H17a1 1 0 1 1 0 2h-2.97l-1 4H15a1 1 0 1 1 0 2h-2.47l-.56 2.242a1 1 0 1 1-1.94-.485L10.47 14H7.53l-.56 2.242a1 1 0 1 1-1.94-.485L5.47 14H3a1 1 0 1 1 0-2h2.97l1-4H5a1 1 0 1 1 0-2h2.47l.56-2.243a1 1 0 0 1 1.213-.727ZM9.03 8l-1 4h2.938l1-4H9.031Z\" clip-rule=\"evenodd\"/>"
3234
- }, ai = {
3255
+ }, oi = {
3235
3256
  width: 24,
3236
3257
  height: 24,
3237
3258
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 13a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 20h14\"/>"
3238
- }, oi = {
3259
+ }, si = {
3239
3260
  width: 24,
3240
3261
  height: 24,
3241
3262
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>"
3242
- }, si = {
3263
+ }, ci = {
3243
3264
  width: 24,
3244
3265
  height: 24,
3245
3266
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 19l4-6l4 2l4-5l4 4v5H4m0-7l3-4l4 2l5-6l4 4\"/>"
3246
- }, ci = {
3267
+ }, li = {
3247
3268
  width: 24,
3248
3269
  height: 24,
3249
3270
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10 3.2A9 9 0 1 0 20.8 14a1 1 0 0 0-1-1H13a2 2 0 0 1-2-2V4a.9.9 0 0 0-1-.8\"/><path d=\"M15 3.5A9 9 0 0 1 20.5 9H16a1 1 0 0 1-1-1V3.5\"/></g>"
3250
- }, li = {
3271
+ }, ui = {
3251
3272
  width: 24,
3252
3273
  height: 24,
3253
3274
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 3v18h18\"/><path d=\"M7 15a2 2 0 1 0 4 0a2 2 0 1 0-4 0m4-10a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5-9l-6 1.5m-.887 2.15l2.771 3.695M16 12.5l-5 2\"/></g>"
3254
- }, ui = {
3275
+ }, di = {
3255
3276
  width: 24,
3256
3277
  height: 24,
3257
3278
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 16a3 3 0 1 0 6 0a3 3 0 1 0-6 0m11 3a2 2 0 1 0 4 0a2 2 0 1 0-4 0M10 7.5a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0-9 0\"/>"
3258
- }, di = {
3279
+ }, fi = {
3259
3280
  width: 24,
3260
3281
  height: 24,
3261
3282
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m12 3l9.5 7L18 21H6L2.5 10z\"/><path d=\"m12 7.5l5.5 4L15 17H8.5l-2-5.5z\"/><path d=\"m2.5 10l9.5 3l9.5-3\"/><path d=\"M12 3v10l6 8M6 21l6-8\"/></g>"
3262
- }, fi = {
3283
+ }, pi = {
3263
3284
  width: 24,
3264
3285
  height: 24,
3265
3286
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0\"/><path d=\"M15.51 15.56A5 5 0 1 0 12 17\"/><path d=\"M18.832 17.86A9 9 0 1 0 12 21m0-9v9\"/></g>"
3266
- }, pi = {
3287
+ }, mi = {
3267
3288
  width: 24,
3268
3289
  height: 24,
3269
3290
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm8-2v16m-8-5h8m0-3h8m-4 0v8m0-4h4\"/>"
3270
- }, mi = {
3291
+ }, hi = {
3271
3292
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"10.5\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"17\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <path d=\"M8 5.5 C11 5.5, 13 5.5, 16 5.5\"/>\n <path d=\"M8 5.5 C10 5.5, 11 7, 12 9 C13 11, 14 12, 16 12\"/>\n <path d=\"M8 5.5 C10 5.5, 11 10, 12 14 C13 17, 14 18.5, 16 18.5\"/>\n </g>",
3272
3293
  width: 24,
3273
3294
  height: 24
3274
- }, hi = {
3295
+ }, gi = {
3275
3296
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"2\" y=\"3\" width=\"20\" height=\"4\" rx=\"1\"/>\n <rect x=\"4\" y=\"10\" width=\"16\" height=\"4\" rx=\"1\"/>\n <rect x=\"6\" y=\"17\" width=\"12\" height=\"4\" rx=\"1\"/>\n </g>",
3276
3297
  width: 24,
3277
3298
  height: 24
3278
- }, gi = {
3299
+ }, _i = {
3279
3300
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <!-- Grid cells representing retention matrix -->\n <rect x=\"3\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n </g>",
3280
3301
  width: 24,
3281
3302
  height: 24
3282
- }, _i = {
3303
+ }, vi = {
3283
3304
  width: 24,
3284
3305
  height: 24,
3285
3306
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M8.848 14.667L5.5 17.5M12 3v5m4 4h5M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m11.219 3.328L17 19.5\"/><path d=\"M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0\"/></g>"
3286
- }, vi = {
3307
+ }, yi = {
3287
3308
  width: 24,
3288
3309
  height: 24,
3289
3310
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm0 5h18M10 3v18\"/>"
3290
- }, yi = {
3311
+ }, bi = {
3291
3312
  width: 24,
3292
3313
  height: 24,
3293
3314
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11.795 21H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4m-1 3v4h4\"/><path d=\"M14 18a4 4 0 1 0 8 0a4 4 0 1 0-8 0m1-15v4M7 3v4m-4 4h16\"/></g>"
3294
- }, bi = {
3315
+ }, xi = {
3295
3316
  width: 24,
3296
3317
  height: 24,
3297
3318
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 17V7l7 10V7m4 10h5m-5-7a2.5 3 0 1 0 5 0a2.5 3 0 1 0-5 0\"/>"
3298
- }, xi = {
3319
+ }, Si = {
3299
3320
  width: 24,
3300
3321
  height: 24,
3301
3322
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m3 17l6-6l4 4l8-8\"/><path d=\"M14 7h7v7\"/></g>"
3302
- }, Si = {
3323
+ }, Ci = {
3303
3324
  width: 24,
3304
3325
  height: 24,
3305
3326
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 20h3m7 0h7M6.9 15h6.9m-3.6-8.7L16 20M5 20l6-16h2l7 16\"/>"
3306
- }, Ci = {
3327
+ }, wi = {
3307
3328
  width: 24,
3308
3329
  height: 24,
3309
3330
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M14 3v4a1 1 0 0 0 1 1h4\"/><path d=\"M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2zM9 9h1m-1 4h6m-6 4h6\"/></g>"
3310
- }, wi = {
3331
+ }, Ti = {
3311
3332
  width: 24,
3312
3333
  height: 24,
3313
3334
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-3h.01\"/><path d=\"M11 12h1v4h1\"/></g>"
3314
- }, Ti = {
3335
+ }, Ei = {
3315
3336
  close: {
3316
- icon: or,
3337
+ icon: sr,
3317
3338
  category: "action"
3318
3339
  },
3319
3340
  add: {
3320
- icon: sr,
3341
+ icon: cr,
3321
3342
  category: "action"
3322
3343
  },
3323
3344
  edit: {
3324
- icon: cr,
3345
+ icon: lr,
3325
3346
  category: "action"
3326
3347
  },
3327
3348
  delete: {
3328
- icon: lr,
3349
+ icon: ur,
3329
3350
  category: "action"
3330
3351
  },
3331
3352
  refresh: {
3332
- icon: ur,
3353
+ icon: dr,
3333
3354
  category: "action"
3334
3355
  },
3335
3356
  copy: {
3336
- icon: dr,
3357
+ icon: fr,
3337
3358
  category: "action"
3338
3359
  },
3339
3360
  duplicate: {
3340
- icon: fr,
3361
+ icon: pr,
3341
3362
  category: "action"
3342
3363
  },
3343
3364
  settings: {
3344
- icon: pr,
3365
+ icon: mr,
3345
3366
  category: "action"
3346
3367
  },
3347
3368
  filter: {
3348
- icon: mr,
3369
+ icon: hr,
3349
3370
  category: "action"
3350
3371
  },
3351
3372
  share: {
3352
- icon: hr,
3373
+ icon: gr,
3353
3374
  category: "action"
3354
3375
  },
3355
3376
  expand: {
3356
- icon: _r,
3377
+ icon: vr,
3357
3378
  category: "action"
3358
3379
  },
3359
3380
  collapse: {
3360
- icon: gr,
3381
+ icon: _r,
3361
3382
  category: "action"
3362
3383
  },
3363
3384
  search: {
3364
- icon: br,
3385
+ icon: xr,
3365
3386
  category: "action"
3366
3387
  },
3367
3388
  menu: {
3368
- icon: xr,
3389
+ icon: Sr,
3369
3390
  category: "action"
3370
3391
  },
3371
3392
  run: {
3372
- icon: qr,
3393
+ icon: Jr,
3373
3394
  category: "action"
3374
3395
  },
3375
3396
  check: {
3376
- icon: Jr,
3397
+ icon: Yr,
3377
3398
  category: "action"
3378
3399
  },
3379
3400
  link: {
3380
- icon: jr,
3401
+ icon: Mr,
3381
3402
  category: "action"
3382
3403
  },
3383
3404
  eye: {
3384
- icon: Er,
3405
+ icon: Dr,
3385
3406
  category: "action"
3386
3407
  },
3387
3408
  eyeOff: {
3388
- icon: Dr,
3409
+ icon: Or,
3389
3410
  category: "action"
3390
3411
  },
3391
3412
  adjustments: {
3392
- icon: Or,
3413
+ icon: kr,
3393
3414
  category: "action"
3394
3415
  },
3395
3416
  desktop: {
3396
- icon: kr,
3417
+ icon: Ar,
3397
3418
  category: "action"
3398
3419
  },
3399
3420
  table: {
3400
- icon: Ar,
3421
+ icon: jr,
3401
3422
  category: "action"
3402
3423
  },
3403
3424
  sun: {
3404
- icon: Nr,
3425
+ icon: Pr,
3405
3426
  category: "action"
3406
3427
  },
3407
3428
  moon: {
3408
- icon: Pr,
3429
+ icon: Fr,
3409
3430
  category: "action"
3410
3431
  },
3411
3432
  ellipsisHorizontal: {
3412
- icon: Fr,
3433
+ icon: Ir,
3413
3434
  category: "action"
3414
3435
  },
3415
3436
  documentText: {
3416
- icon: Ir,
3437
+ icon: Lr,
3417
3438
  category: "action"
3418
3439
  },
3419
3440
  bookOpen: {
3420
- icon: Lr,
3441
+ icon: Rr,
3421
3442
  category: "action"
3422
3443
  },
3423
3444
  codeBracket: {
3424
- icon: Rr,
3445
+ icon: zr,
3425
3446
  category: "action"
3426
3447
  },
3427
3448
  swatch: {
3428
- icon: zr,
3449
+ icon: Br,
3429
3450
  category: "action"
3430
3451
  },
3431
3452
  camera: {
3432
- icon: Br,
3453
+ icon: Vr,
3433
3454
  category: "action"
3434
3455
  },
3435
3456
  thumbUp: {
3436
- icon: Vr,
3457
+ icon: Hr,
3437
3458
  category: "action"
3438
3459
  },
3439
3460
  thumbDown: {
3440
- icon: Hr,
3461
+ icon: Ur,
3441
3462
  category: "action"
3442
3463
  },
3443
3464
  schemaGraph: {
@@ -3449,91 +3470,91 @@ var or = {
3449
3470
  category: "action"
3450
3471
  },
3451
3472
  measure: {
3452
- icon: Ur,
3473
+ icon: Wr,
3453
3474
  category: "field"
3454
3475
  },
3455
3476
  dimension: {
3456
- icon: Wr,
3477
+ icon: Gr,
3457
3478
  category: "field"
3458
3479
  },
3459
3480
  timeDimension: {
3460
- icon: Gr,
3481
+ icon: Kr,
3461
3482
  category: "field"
3462
3483
  },
3463
3484
  segment: {
3464
- icon: Kr,
3485
+ icon: qr,
3465
3486
  category: "field"
3466
3487
  },
3467
3488
  chartBar: {
3468
- icon: ai,
3489
+ icon: oi,
3469
3490
  category: "chart"
3470
3491
  },
3471
3492
  chartLine: {
3472
- icon: oi,
3493
+ icon: si,
3473
3494
  category: "chart"
3474
3495
  },
3475
3496
  chartArea: {
3476
- icon: si,
3497
+ icon: ci,
3477
3498
  category: "chart"
3478
3499
  },
3479
3500
  chartPie: {
3480
- icon: ci,
3501
+ icon: li,
3481
3502
  category: "chart"
3482
3503
  },
3483
3504
  chartScatter: {
3484
- icon: li,
3505
+ icon: ui,
3485
3506
  category: "chart"
3486
3507
  },
3487
3508
  chartBubble: {
3488
- icon: ui,
3509
+ icon: di,
3489
3510
  category: "chart"
3490
3511
  },
3491
3512
  chartRadar: {
3492
- icon: di,
3513
+ icon: fi,
3493
3514
  category: "chart"
3494
3515
  },
3495
3516
  chartRadialBar: {
3496
- icon: fi,
3517
+ icon: pi,
3497
3518
  category: "chart"
3498
3519
  },
3499
3520
  chartTreemap: {
3500
- icon: pi,
3521
+ icon: mi,
3501
3522
  category: "chart"
3502
3523
  },
3503
3524
  chartTable: {
3504
- icon: vi,
3525
+ icon: yi,
3505
3526
  category: "chart"
3506
3527
  },
3507
3528
  chartActivityGrid: {
3508
- icon: yi,
3529
+ icon: bi,
3509
3530
  category: "chart"
3510
3531
  },
3511
3532
  chartKpiNumber: {
3512
- icon: bi,
3533
+ icon: xi,
3513
3534
  category: "chart"
3514
3535
  },
3515
3536
  chartKpiDelta: {
3516
- icon: xi,
3537
+ icon: Si,
3517
3538
  category: "chart"
3518
3539
  },
3519
3540
  chartKpiText: {
3520
- icon: Si,
3541
+ icon: Ci,
3521
3542
  category: "chart"
3522
3543
  },
3523
3544
  chartMarkdown: {
3524
- icon: Ci,
3545
+ icon: wi,
3525
3546
  category: "chart"
3526
3547
  },
3527
3548
  chartFunnel: {
3528
- icon: hi,
3549
+ icon: gi,
3529
3550
  category: "chart"
3530
3551
  },
3531
3552
  chartSankey: {
3532
- icon: mi,
3553
+ icon: hi,
3533
3554
  category: "chart"
3534
3555
  },
3535
3556
  chartSunburst: {
3536
- icon: _i,
3557
+ icon: vi,
3537
3558
  category: "chart"
3538
3559
  },
3539
3560
  chartHeatmap: {
@@ -3545,87 +3566,87 @@ var or = {
3545
3566
  category: "chart"
3546
3567
  },
3547
3568
  chartRetention: {
3548
- icon: gi,
3569
+ icon: _i,
3549
3570
  category: "chart"
3550
3571
  },
3551
3572
  measureCount: {
3552
- icon: ei,
3573
+ icon: ti,
3553
3574
  category: "measure"
3554
3575
  },
3555
3576
  measureCountDistinct: {
3556
- icon: ti,
3577
+ icon: ni,
3557
3578
  category: "measure"
3558
3579
  },
3559
3580
  measureCountDistinctApprox: {
3560
- icon: ni,
3581
+ icon: ri,
3561
3582
  category: "measure"
3562
3583
  },
3563
3584
  measureSum: {
3564
- icon: ri,
3585
+ icon: ii,
3565
3586
  category: "measure"
3566
3587
  },
3567
3588
  measureAvg: {
3568
- icon: Yr,
3589
+ icon: Xr,
3569
3590
  category: "measure"
3570
3591
  },
3571
3592
  measureMin: {
3572
- icon: Xr,
3593
+ icon: Zr,
3573
3594
  category: "measure"
3574
3595
  },
3575
3596
  measureMax: {
3576
- icon: Zr,
3597
+ icon: Qr,
3577
3598
  category: "measure"
3578
3599
  },
3579
3600
  measureRunningTotal: {
3580
- icon: Qr,
3601
+ icon: $r,
3581
3602
  category: "measure"
3582
3603
  },
3583
3604
  measureCalculated: {
3584
- icon: $r,
3605
+ icon: ei,
3585
3606
  category: "measure"
3586
3607
  },
3587
3608
  measureNumber: {
3588
- icon: ii,
3609
+ icon: ai,
3589
3610
  category: "measure"
3590
3611
  },
3591
3612
  success: {
3592
- icon: Sr,
3613
+ icon: Cr,
3593
3614
  category: "state"
3594
3615
  },
3595
3616
  warning: {
3596
- icon: Cr,
3617
+ icon: wr,
3597
3618
  category: "state"
3598
3619
  },
3599
3620
  error: {
3600
- icon: wr,
3621
+ icon: Tr,
3601
3622
  category: "state"
3602
3623
  },
3603
3624
  info: {
3604
- icon: wi,
3625
+ icon: Ti,
3605
3626
  category: "state"
3606
3627
  },
3607
3628
  loading: {
3608
- icon: ur,
3629
+ icon: dr,
3609
3630
  category: "state"
3610
3631
  },
3611
3632
  sparkles: {
3612
- icon: Tr,
3633
+ icon: Er,
3613
3634
  category: "state"
3614
3635
  },
3615
3636
  chevronUp: {
3616
- icon: gr,
3637
+ icon: _r,
3617
3638
  category: "navigation"
3618
3639
  },
3619
3640
  chevronDown: {
3620
- icon: _r,
3641
+ icon: vr,
3621
3642
  category: "navigation"
3622
3643
  },
3623
3644
  chevronLeft: {
3624
- icon: vr,
3645
+ icon: yr,
3625
3646
  category: "navigation"
3626
3647
  },
3627
3648
  chevronRight: {
3628
- icon: yr,
3649
+ icon: br,
3629
3650
  category: "navigation"
3630
3651
  },
3631
3652
  chevronUpDown: {
@@ -3637,51 +3658,51 @@ var or = {
3637
3658
  category: "navigation"
3638
3659
  },
3639
3660
  arrowUp: {
3640
- icon: Zr,
3661
+ icon: Qr,
3641
3662
  category: "navigation"
3642
3663
  },
3643
3664
  arrowDown: {
3644
- icon: Xr,
3665
+ icon: Zr,
3645
3666
  category: "navigation"
3646
3667
  },
3647
3668
  arrowRight: {
3648
- icon: Mr,
3669
+ icon: Nr,
3649
3670
  category: "navigation"
3650
3671
  },
3651
3672
  arrowPath: {
3652
- icon: ur,
3673
+ icon: dr,
3653
3674
  category: "navigation"
3654
3675
  }
3655
- }, Z = { ...Ti }, Q = /* @__PURE__ */ new Map();
3656
- function Ei() {
3676
+ }, Z = { ...Ei }, Q = /* @__PURE__ */ new Map();
3677
+ function Di() {
3657
3678
  return Z;
3658
3679
  }
3659
3680
  function $(e) {
3660
3681
  let t = Q.get(e);
3661
3682
  if (t) return t;
3662
3683
  let n = Z[e];
3663
- if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ h(ar, {
3684
+ if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ h(or, {
3664
3685
  icon: Z.info.icon,
3665
3686
  className: e,
3666
3687
  ...t
3667
3688
  });
3668
- let r = ({ className: e, ...t }) => /* @__PURE__ */ h(ar, {
3689
+ let r = ({ className: e, ...t }) => /* @__PURE__ */ h(or, {
3669
3690
  icon: n.icon,
3670
3691
  className: e,
3671
3692
  ...t
3672
3693
  });
3673
3694
  return Q.set(e, r), r;
3674
3695
  }
3675
- function Di(e) {
3696
+ function Oi(e) {
3676
3697
  return Z[e]?.icon ?? Z.info.icon;
3677
3698
  }
3678
- function Oi(e, t) {
3699
+ function ki(e, t) {
3679
3700
  Z[e] && (Z[e] = {
3680
3701
  ...Z[e],
3681
3702
  icon: t
3682
3703
  }, Q.delete(e));
3683
3704
  }
3684
- function ki(e) {
3705
+ function Ai(e) {
3685
3706
  for (let [t, n] of Object.entries(e)) if (n && t in Z) {
3686
3707
  let e = t;
3687
3708
  if ("body" in n) Z[e] = {
@@ -3699,15 +3720,15 @@ function ki(e) {
3699
3720
  Q.delete(e);
3700
3721
  }
3701
3722
  }
3702
- function Ai() {
3703
- Z = { ...Ti }, Q.clear();
3723
+ function ji() {
3724
+ Z = { ...Ei }, Q.clear();
3704
3725
  }
3705
- function ji(e) {
3726
+ function Mi(e) {
3706
3727
  let t = {};
3707
3728
  for (let [n, r] of Object.entries(Z)) r.category === e && (t[n] = $(n));
3708
3729
  return t;
3709
3730
  }
3710
- function Mi(e) {
3731
+ function Ni(e) {
3711
3732
  return $({
3712
3733
  count: "measureCount",
3713
3734
  countDistinct: "measureCountDistinct",
@@ -3721,7 +3742,7 @@ function Mi(e) {
3721
3742
  number: "measureNumber"
3722
3743
  }[e || ""] || "measureCount");
3723
3744
  }
3724
- function Ni(e) {
3745
+ function Pi(e) {
3725
3746
  return $({
3726
3747
  bar: "chartBar",
3727
3748
  line: "chartLine",
@@ -3744,7 +3765,7 @@ function Ni(e) {
3744
3765
  heatmap: "chartHeatmap"
3745
3766
  }[e] || "chartBar");
3746
3767
  }
3747
- function Pi(e) {
3768
+ function Fi(e) {
3748
3769
  return $({
3749
3770
  measure: "measure",
3750
3771
  dimension: "dimension",
@@ -3755,7 +3776,7 @@ function Pi(e) {
3755
3776
  }
3756
3777
  //#endregion
3757
3778
  //#region src/client/providers/CubeMetaProvider.tsx
3758
- function Fi({ children: e }) {
3779
+ function Ii({ children: e }) {
3759
3780
  let { meta: t, labelMap: r, isLoading: i, error: a, refetch: o, getFieldLabel: s } = ut(), c = a ? a instanceof Error ? a.message : String(a) : null, l = u(() => {
3760
3781
  o();
3761
3782
  }, [o]), d = u((e) => s(e), [s]), f = p(() => ({
@@ -3780,24 +3801,24 @@ function Fi({ children: e }) {
3780
3801
  }
3781
3802
  //#endregion
3782
3803
  //#region src/client/providers/CubeProvider.tsx
3783
- var Ii = { apiUrl: "/cubejs-api/v1" }, Li = () => new Ve({ defaultOptions: { queries: {
3804
+ var Li = { apiUrl: "/cubejs-api/v1" }, Ri = () => new Ve({ defaultOptions: { queries: {
3784
3805
  staleTime: 300 * 1e3,
3785
3806
  gcTime: 900 * 1e3,
3786
3807
  retry: 3,
3787
3808
  refetchOnWindowFocus: !1
3788
3809
  } } });
3789
- Li();
3790
- function Ri({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dashboardModes: a, enableBatching: o, batchDelayMs: s, queryClient: c, children: l }) {
3791
- let [u] = m(() => Li());
3810
+ Ri();
3811
+ function zi({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dashboardModes: a, enableBatching: o, batchDelayMs: s, queryClient: c, children: l }) {
3812
+ let [u] = m(() => Ri());
3792
3813
  return /* @__PURE__ */ h(Ue, {
3793
3814
  client: c ?? u,
3794
3815
  children: /* @__PURE__ */ h(st, {
3795
- apiOptions: t || Ii,
3816
+ apiOptions: t || Li,
3796
3817
  token: n,
3797
3818
  options: r,
3798
3819
  enableBatching: o,
3799
3820
  batchDelayMs: s,
3800
- children: /* @__PURE__ */ h(Fi, { children: /* @__PURE__ */ h(xt, {
3821
+ children: /* @__PURE__ */ h(Ii, { children: /* @__PURE__ */ h(St, {
3801
3822
  features: i,
3802
3823
  dashboardModes: a,
3803
3824
  children: l
@@ -3805,8 +3826,8 @@ function Ri({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dash
3805
3826
  })
3806
3827
  });
3807
3828
  }
3808
- function zi() {
3809
- let e = z(), n = t(), r = Ct();
3829
+ function Bi() {
3830
+ let e = B(), n = t(), r = wt();
3810
3831
  return p(() => ({
3811
3832
  ...e,
3812
3833
  ...n,
@@ -3820,14 +3841,14 @@ function zi() {
3820
3841
  }
3821
3842
  //#endregion
3822
3843
  //#region src/client/utils/pivotUtils.ts
3823
- function Bi(e) {
3844
+ function Vi(e) {
3824
3845
  if (!e) return [];
3825
3846
  let t = [];
3826
3847
  return e.dimensions && t.push(...e.dimensions), e.timeDimensions && e.timeDimensions.forEach((e) => {
3827
3848
  t.includes(e.dimension) || t.push(e.dimension);
3828
3849
  }), e.measures && t.push(...e.measures), t;
3829
3850
  }
3830
- function Vi(e, t) {
3851
+ function Hi(e, t) {
3831
3852
  if (!e?.timeDimensions?.length) return null;
3832
3853
  let n = e.timeDimensions.find((e) => e.granularity);
3833
3854
  if (!n?.granularity || !e.measures?.length) return null;
@@ -3844,7 +3865,7 @@ function Vi(e, t) {
3844
3865
  measures: i
3845
3866
  };
3846
3867
  }
3847
- function Hi(e, t, n) {
3868
+ function Ui(e, t, n) {
3848
3869
  let i = /* @__PURE__ */ new Set();
3849
3870
  return e.forEach((e) => {
3850
3871
  let a = e[t];
@@ -3854,7 +3875,7 @@ function Hi(e, t, n) {
3854
3875
  }
3855
3876
  }), Array.from(i).sort();
3856
3877
  }
3857
- function Ui(e, t, n) {
3878
+ function Wi(e, t, n) {
3858
3879
  let r = [];
3859
3880
  return e.measures.length > 1 && r.push({
3860
3881
  key: "__measure__",
@@ -3875,7 +3896,7 @@ function Ui(e, t, n) {
3875
3896
  });
3876
3897
  }), r;
3877
3898
  }
3878
- function Wi(e, t) {
3899
+ function Gi(e, t) {
3879
3900
  let n = /* @__PURE__ */ new Map();
3880
3901
  return e.forEach((e) => {
3881
3902
  let i = t.dimensions.length > 0 ? t.dimensions.map((t) => String(e[t] ?? "")).join("|") : "__all__";
@@ -3887,8 +3908,8 @@ function Wi(e, t) {
3887
3908
  }
3888
3909
  }), n;
3889
3910
  }
3890
- function Gi(e, t, n, r) {
3891
- let i = Wi(e, t), a = Array.from(i.keys()), o = [], s = t.measures.length, c = a.length;
3911
+ function Ki(e, t, n, r) {
3912
+ let i = Gi(e, t), a = Array.from(i.keys()), o = [], s = t.measures.length, c = a.length;
3892
3913
  return t.measures.forEach((e) => {
3893
3914
  a.forEach((a, l) => {
3894
3915
  let u = i.get(a), d = s > 1 ? `${e}|${a}` : a, f = {}, p = a === "__all__" ? [] : a.split("|");
@@ -3908,20 +3929,20 @@ function Gi(e, t, n, r) {
3908
3929
  });
3909
3930
  }), o;
3910
3931
  }
3911
- function Ki(e, t, n, r) {
3932
+ function qi(e, t, n, r) {
3912
3933
  if (!e || e.length === 0) return {
3913
3934
  isPivoted: !0,
3914
3935
  columns: [],
3915
3936
  rows: []
3916
3937
  };
3917
- let i = Hi(e, t.timeDimension, t.granularity);
3938
+ let i = Ui(e, t.timeDimension, t.granularity);
3918
3939
  return {
3919
3940
  isPivoted: !0,
3920
- columns: Ui(t, i, n),
3921
- rows: Gi(e, t, i, n)
3941
+ columns: Wi(t, i, n),
3942
+ rows: Ki(e, t, i, n)
3922
3943
  };
3923
3944
  }
3924
- function qi(e, t) {
3945
+ function Ji(e, t) {
3925
3946
  if (t?.cubes) for (let n of t.cubes) {
3926
3947
  let t = n.measures.find((t) => t.name === e);
3927
3948
  if (t) return t.type;
@@ -3929,8 +3950,8 @@ function qi(e, t) {
3929
3950
  }
3930
3951
  //#endregion
3931
3952
  //#region src/client/components/charts/DataTable.tsx
3932
- var Ji = /* @__PURE__ */ e({ default: () => Yi }), Yi = o.memo(function({ data: e, chartConfig: n, displayConfig: r = {}, queryObject: i, height: a = 300 }) {
3933
- let { getFieldLabel: o, meta: s } = t(), c = p(() => Vi(i, n?.xAxis), [i, n?.xAxis]), l = r?.pivotTimeDimension !== !1, u = p(() => !c || !l ? null : Ki(e, c, o, s), [
3953
+ var Yi = /* @__PURE__ */ e({ default: () => Xi }), Xi = o.memo(function({ data: e, chartConfig: n, displayConfig: r = {}, queryObject: i, height: a = 300 }) {
3954
+ let { getFieldLabel: o, meta: s } = t(), c = p(() => Hi(i, n?.xAxis), [i, n?.xAxis]), l = r?.pivotTimeDimension !== !1, u = p(() => !c || !l ? null : qi(e, c, o, s), [
3934
3955
  e,
3935
3956
  c,
3936
3957
  l,
@@ -3950,12 +3971,12 @@ var Ji = /* @__PURE__ */ e({ default: () => Yi }), Yi = o.memo(function({ data:
3950
3971
  children: "No data to display in table"
3951
3972
  })]
3952
3973
  })
3953
- }) : u?.isPivoted && u.columns.length > 0 ? /* @__PURE__ */ h(Xi, {
3974
+ }) : u?.isPivoted && u.columns.length > 0 ? /* @__PURE__ */ h(Zi, {
3954
3975
  pivotedData: u,
3955
3976
  height: a,
3956
3977
  meta: s,
3957
3978
  leftYAxisFormat: r?.leftYAxisFormat
3958
- }) : /* @__PURE__ */ h($i, {
3979
+ }) : /* @__PURE__ */ h(ea, {
3959
3980
  data: e,
3960
3981
  chartConfig: n,
3961
3982
  queryObject: i,
@@ -3964,7 +3985,7 @@ var Ji = /* @__PURE__ */ e({ default: () => Yi }), Yi = o.memo(function({ data:
3964
3985
  leftYAxisFormat: r?.leftYAxisFormat
3965
3986
  });
3966
3987
  });
3967
- function Xi({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
3988
+ function Zi({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
3968
3989
  let { columns: i, rows: a } = e;
3969
3990
  return i.length === 0 || a.length === 0 ? /* @__PURE__ */ h("div", {
3970
3991
  className: "dc:flex dc:items-center dc:justify-center dc:w-full",
@@ -3992,7 +4013,7 @@ function Xi({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
3992
4013
  }, e.key)) })
3993
4014
  }), /* @__PURE__ */ h("tbody", {
3994
4015
  className: "bg-dc-surface dc:divide-y border-dc-border",
3995
- children: a.map((e) => /* @__PURE__ */ h(Zi, {
4016
+ children: a.map((e) => /* @__PURE__ */ h(Qi, {
3996
4017
  row: e,
3997
4018
  columns: i,
3998
4019
  meta: n,
@@ -4002,8 +4023,8 @@ function Xi({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
4002
4023
  })
4003
4024
  });
4004
4025
  }
4005
- function Zi({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
4006
- let i = Mi(qi(e.measureField, n));
4026
+ function Qi({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
4027
+ let i = Ni(Ji(e.measureField, n));
4007
4028
  return /* @__PURE__ */ h("tr", {
4008
4029
  className: "hover:bg-dc-surface-secondary",
4009
4030
  children: t.map((t) => {
@@ -4017,21 +4038,21 @@ function Zi({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
4017
4038
  })
4018
4039
  }, t.key) : t.isTimeColumn ? /* @__PURE__ */ h("td", {
4019
4040
  className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text",
4020
- children: Qi(n, r)
4041
+ children: $i(n, r)
4021
4042
  }, t.key) : /* @__PURE__ */ h("td", {
4022
4043
  className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
4023
- children: Qi(n)
4044
+ children: $i(n)
4024
4045
  }, t.key);
4025
4046
  })
4026
4047
  });
4027
4048
  }
4028
- function Qi(e, t) {
4049
+ function $i(e, t) {
4029
4050
  return e == null ? "-" : typeof e == "number" ? t ? i(e, t) : Number.isInteger(e) ? e.toLocaleString() : parseFloat(e.toFixed(2)).toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
4030
4051
  }
4031
- function $i({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel: i, leftYAxisFormat: a }) {
4052
+ function ea({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel: i, leftYAxisFormat: a }) {
4032
4053
  let o = Object.keys(e[0] || {}), s = p(() => {
4033
4054
  if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) => o.includes(e));
4034
- let e = Bi(n);
4055
+ let e = Vi(n);
4035
4056
  if (e.length > 0) {
4036
4057
  let t = e.filter((e) => o.includes(e)), n = o.filter((e) => !t.includes(e));
4037
4058
  return [...t, ...n];
@@ -4072,17 +4093,17 @@ function $i({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel:
4072
4093
  className: "hover:bg-dc-surface-secondary",
4073
4094
  children: s.map((t) => /* @__PURE__ */ h("td", {
4074
4095
  className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
4075
- children: ea(e[t], a)
4096
+ children: ta(e[t], a)
4076
4097
  }, t))
4077
4098
  }, t))
4078
4099
  })]
4079
4100
  })
4080
4101
  });
4081
4102
  }
4082
- function ea(e, t) {
4103
+ function ta(e, t) {
4083
4104
  return e == null ? "" : typeof e == "number" ? t ? i(e, t) : e.toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
4084
4105
  }
4085
4106
  //#endregion
4086
- export { rt as A, Ge as B, pt as C, ft as D, mt as E, et as F, T as G, Re as H, Ye as I, O as J, S as K, Ze as L, nt as M, Qe as N, ut as O, L as P, Xe as R, Ct as S, ht as T, ke as U, I as V, A as W, _ as X, he as Y, Ai as _, Vi as a, wi as b, zi as c, $ as d, Di as f, ki as g, Mi as h, Bi as i, it as j, z as k, Ni as l, ji as m, Ji as n, Ki as o, Ei as p, D as q, qi as r, Ri as s, Yi as t, Pi as u, Oi as v, vt as w, ar as x, Ti as y, Je as z };
4107
+ export { rt as A, Ge as B, mt as C, pt as D, ht as E, et as F, T as G, Re as H, Ye as I, O as J, S as K, Ze as L, nt as M, Qe as N, ut as O, R as P, Xe as R, wt as S, gt as T, ke as U, L as V, j as W, _ as X, ge as Y, ji as _, Hi as a, Ti as b, Bi as c, $ as d, Oi as f, Ai as g, Ni as h, Vi as i, it as j, B as k, Pi as l, Mi as m, Yi as n, qi as o, Di as p, D as q, Ji as r, zi as s, Xi as t, Fi as u, ki as v, yt as w, or as x, Ei as y, Je as z };
4087
4108
 
4088
- //# sourceMappingURL=chart-data-table-B2m_6EZe.js.map
4109
+ //# sourceMappingURL=chart-data-table-BlkFWPhF.js.map