@queuedash/client 2.0.5 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/main.js +14 -14
- package/dist/main.mjs +289 -289
- package/package.json +2 -2
package/dist/main.mjs
CHANGED
|
@@ -3796,7 +3796,7 @@ function Gm(e) {
|
|
|
3796
3796
|
var t = e.stateNode;
|
|
3797
3797
|
t.pendingContext ? jh(e, t.pendingContext, t.pendingContext !== t.context) : t.context && jh(e, t.context, !1), $f(e, t.containerInfo);
|
|
3798
3798
|
}
|
|
3799
|
-
function
|
|
3799
|
+
function ep(e, t, n, r, o) {
|
|
3800
3800
|
return Oo(), Lf(o), t.flags |= 256, tt(e, t, n, r), t.child;
|
|
3801
3801
|
}
|
|
3802
3802
|
var td = { dehydrated: null, treeContext: null, retryLane: 0 };
|
|
@@ -3876,7 +3876,7 @@ function _9(e, t, n, r, o, a, i) {
|
|
|
3876
3876
|
}
|
|
3877
3877
|
return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = Q9.bind(null, e), o._reactRetry = t, null) : (e = a.treeContext, vt = Qn(o.nextSibling), bt = t, Ce = !0, It = null, e !== null && (kt[Rt++] = cn, kt[Rt++] = dn, kt[Rt++] = Tr, cn = e.id, dn = e.overflow, Tr = t), t = Qf(t, r.children), t.flags |= 4096, t);
|
|
3878
3878
|
}
|
|
3879
|
-
function
|
|
3879
|
+
function tp(e, t, n) {
|
|
3880
3880
|
e.lanes |= t;
|
|
3881
3881
|
var r = e.alternate;
|
|
3882
3882
|
r !== null && (r.lanes |= t), Kc(e.return, t, n);
|
|
@@ -3894,9 +3894,9 @@ function Zm(e, t, n) {
|
|
|
3894
3894
|
e:
|
|
3895
3895
|
for (e = t.child; e !== null; ) {
|
|
3896
3896
|
if (e.tag === 13)
|
|
3897
|
-
e.memoizedState !== null &&
|
|
3897
|
+
e.memoizedState !== null && tp(e, n, t);
|
|
3898
3898
|
else if (e.tag === 19)
|
|
3899
|
-
|
|
3899
|
+
tp(e, n, t);
|
|
3900
3900
|
else if (e.child !== null) {
|
|
3901
3901
|
e.child.return = e, e = e.child;
|
|
3902
3902
|
continue;
|
|
@@ -4413,7 +4413,7 @@ function od(e, t, n) {
|
|
|
4413
4413
|
Pe(e, t, r);
|
|
4414
4414
|
}
|
|
4415
4415
|
}
|
|
4416
|
-
var
|
|
4416
|
+
var np = !1;
|
|
4417
4417
|
function $9(e, t) {
|
|
4418
4418
|
if (Uc = Ol, e = rm(), Mf(e)) {
|
|
4419
4419
|
if ("selectionStart" in e)
|
|
@@ -4494,7 +4494,7 @@ function $9(e, t) {
|
|
|
4494
4494
|
}
|
|
4495
4495
|
z = t.return;
|
|
4496
4496
|
}
|
|
4497
|
-
return y =
|
|
4497
|
+
return y = np, np = !1, y;
|
|
4498
4498
|
}
|
|
4499
4499
|
function ya(e, t, n) {
|
|
4500
4500
|
var r = t.updateQueue;
|
|
@@ -4542,7 +4542,7 @@ function ev(e) {
|
|
|
4542
4542
|
function tv(e) {
|
|
4543
4543
|
return e.tag === 5 || e.tag === 3 || e.tag === 4;
|
|
4544
4544
|
}
|
|
4545
|
-
function
|
|
4545
|
+
function rp(e) {
|
|
4546
4546
|
e:
|
|
4547
4547
|
for (; ; ) {
|
|
4548
4548
|
for (; e.sibling === null; ) {
|
|
@@ -4631,7 +4631,7 @@ function nv(e, t, n) {
|
|
|
4631
4631
|
Dn(e, t, n);
|
|
4632
4632
|
}
|
|
4633
4633
|
}
|
|
4634
|
-
function
|
|
4634
|
+
function op(e) {
|
|
4635
4635
|
var t = e.updateQueue;
|
|
4636
4636
|
if (t !== null) {
|
|
4637
4637
|
e.updateQueue = null;
|
|
@@ -4767,7 +4767,7 @@ function rv(e, t) {
|
|
|
4767
4767
|
Ft(t, e), Qt(e);
|
|
4768
4768
|
break;
|
|
4769
4769
|
case 13:
|
|
4770
|
-
Ft(t, e), Qt(e), o = e.child, o.flags & 8192 && (a = o.memoizedState !== null, o.stateNode.isHidden = a, !a || o.alternate !== null && o.alternate.memoizedState !== null || (Kf = De())), r & 4 &&
|
|
4770
|
+
Ft(t, e), Qt(e), o = e.child, o.flags & 8192 && (a = o.memoizedState !== null, o.stateNode.isHidden = a, !a || o.alternate !== null && o.alternate.memoizedState !== null || (Kf = De())), r & 4 && op(e);
|
|
4771
4771
|
break;
|
|
4772
4772
|
case 22:
|
|
4773
4773
|
if (c = n !== null && n.memoizedState !== null, e.mode & 1 ? (Ke = (u = Ke) || c, Ft(t, e), Ke = u) : Ft(t, e), Qt(e), r & 8192) {
|
|
@@ -4798,11 +4798,11 @@ function rv(e, t) {
|
|
|
4798
4798
|
break;
|
|
4799
4799
|
case 22:
|
|
4800
4800
|
if (p.memoizedState !== null) {
|
|
4801
|
-
|
|
4801
|
+
ip(f);
|
|
4802
4802
|
continue;
|
|
4803
4803
|
}
|
|
4804
4804
|
}
|
|
4805
|
-
h !== null ? (h.return = p, z = h) :
|
|
4805
|
+
h !== null ? (h.return = p, z = h) : ip(f);
|
|
4806
4806
|
}
|
|
4807
4807
|
c = c.sibling;
|
|
4808
4808
|
}
|
|
@@ -4840,7 +4840,7 @@ function rv(e, t) {
|
|
|
4840
4840
|
}
|
|
4841
4841
|
break;
|
|
4842
4842
|
case 19:
|
|
4843
|
-
Ft(t, e), Qt(e), r & 4 &&
|
|
4843
|
+
Ft(t, e), Qt(e), r & 4 && op(e);
|
|
4844
4844
|
break;
|
|
4845
4845
|
case 21:
|
|
4846
4846
|
break;
|
|
@@ -4869,12 +4869,12 @@ function Qt(e) {
|
|
|
4869
4869
|
case 5:
|
|
4870
4870
|
var o = r.stateNode;
|
|
4871
4871
|
r.flags & 32 && (Oa(o, ""), r.flags &= -33);
|
|
4872
|
-
var a =
|
|
4872
|
+
var a = rp(e);
|
|
4873
4873
|
ld(e, a, o);
|
|
4874
4874
|
break;
|
|
4875
4875
|
case 3:
|
|
4876
4876
|
case 4:
|
|
4877
|
-
var i = r.stateNode.containerInfo, l =
|
|
4877
|
+
var i = r.stateNode.containerInfo, l = rp(e);
|
|
4878
4878
|
id(e, l, i);
|
|
4879
4879
|
break;
|
|
4880
4880
|
default:
|
|
@@ -4901,17 +4901,17 @@ function ov(e, t, n) {
|
|
|
4901
4901
|
var u = Ke;
|
|
4902
4902
|
if ($i = i, (Ke = s) && !u)
|
|
4903
4903
|
for (z = o; z !== null; )
|
|
4904
|
-
i = z, s = i.child, i.tag === 22 && i.memoizedState !== null ?
|
|
4904
|
+
i = z, s = i.child, i.tag === 22 && i.memoizedState !== null ? lp(o) : s !== null ? (s.return = i, z = s) : lp(o);
|
|
4905
4905
|
for (; a !== null; )
|
|
4906
4906
|
z = a, ov(a), a = a.sibling;
|
|
4907
4907
|
z = o, $i = l, Ke = u;
|
|
4908
4908
|
}
|
|
4909
|
-
|
|
4909
|
+
ap(e);
|
|
4910
4910
|
} else
|
|
4911
|
-
o.subtreeFlags & 8772 && a !== null ? (a.return = o, z = a) :
|
|
4911
|
+
o.subtreeFlags & 8772 && a !== null ? (a.return = o, z = a) : ap(e);
|
|
4912
4912
|
}
|
|
4913
4913
|
}
|
|
4914
|
-
function
|
|
4914
|
+
function ap(e) {
|
|
4915
4915
|
for (; z !== null; ) {
|
|
4916
4916
|
var t = z;
|
|
4917
4917
|
if (t.flags & 8772) {
|
|
@@ -5011,7 +5011,7 @@ function a1(e) {
|
|
|
5011
5011
|
z = t.return;
|
|
5012
5012
|
}
|
|
5013
5013
|
}
|
|
5014
|
-
function
|
|
5014
|
+
function ip(e) {
|
|
5015
5015
|
for (; z !== null; ) {
|
|
5016
5016
|
var t = z;
|
|
5017
5017
|
if (t === e) {
|
|
@@ -5026,7 +5026,7 @@ function i1(e) {
|
|
|
5026
5026
|
z = t.return;
|
|
5027
5027
|
}
|
|
5028
5028
|
}
|
|
5029
|
-
function
|
|
5029
|
+
function lp(e) {
|
|
5030
5030
|
for (; z !== null; ) {
|
|
5031
5031
|
var t = z;
|
|
5032
5032
|
try {
|
|
@@ -5101,7 +5101,7 @@ function ft(e, t) {
|
|
|
5101
5101
|
n !== null && mh(n), e.callbackNode = null, e.callbackPriority = 0;
|
|
5102
5102
|
else if (t = r & -r, e.callbackPriority !== t) {
|
|
5103
5103
|
if (n != null && mh(n), t === 1)
|
|
5104
|
-
e.tag === 0 ? x9(
|
|
5104
|
+
e.tag === 0 ? x9(sp.bind(null, e)) : hm(sp.bind(null, e)), y9(function() {
|
|
5105
5105
|
!(ie & 6) && ur();
|
|
5106
5106
|
}), n = null;
|
|
5107
5107
|
else {
|
|
@@ -5248,7 +5248,7 @@ function jn(e, t) {
|
|
|
5248
5248
|
e[n] = -1, t &= ~r;
|
|
5249
5249
|
}
|
|
5250
5250
|
}
|
|
5251
|
-
function
|
|
5251
|
+
function sp(e) {
|
|
5252
5252
|
if (ie & 6)
|
|
5253
5253
|
throw Error(N(327));
|
|
5254
5254
|
xo();
|
|
@@ -5642,16 +5642,16 @@ function xo() {
|
|
|
5642
5642
|
}
|
|
5643
5643
|
return !1;
|
|
5644
5644
|
}
|
|
5645
|
-
function
|
|
5645
|
+
function up(e, t, n) {
|
|
5646
5646
|
t = Do(n, t), t = Hm(e, t, 1), e = Wn(e, t, 1), t = nt(), e !== null && (ni(e, 1, t), ft(e, t));
|
|
5647
5647
|
}
|
|
5648
5648
|
function Pe(e, t, n) {
|
|
5649
5649
|
if (e.tag === 3)
|
|
5650
|
-
|
|
5650
|
+
up(e, e, n);
|
|
5651
5651
|
else
|
|
5652
5652
|
for (; t !== null; ) {
|
|
5653
5653
|
if (t.tag === 3) {
|
|
5654
|
-
|
|
5654
|
+
up(t, e, n);
|
|
5655
5655
|
break;
|
|
5656
5656
|
} else if (t.tag === 1) {
|
|
5657
5657
|
var r = t.stateNode;
|
|
@@ -5747,10 +5747,10 @@ dv = function(e, t, n) {
|
|
|
5747
5747
|
var i = t.memoizedState;
|
|
5748
5748
|
if (r = i.element, a.isDehydrated)
|
|
5749
5749
|
if (a = { element: r, isDehydrated: !1, cache: i.cache, pendingSuspenseBoundaries: i.pendingSuspenseBoundaries, transitions: i.transitions }, t.updateQueue.baseState = a, t.memoizedState = a, t.flags & 256) {
|
|
5750
|
-
o = Do(Error(N(423)), t), t =
|
|
5750
|
+
o = Do(Error(N(423)), t), t = ep(e, t, r, n, o);
|
|
5751
5751
|
break e;
|
|
5752
5752
|
} else if (r !== o) {
|
|
5753
|
-
o = Do(Error(N(424)), t), t =
|
|
5753
|
+
o = Do(Error(N(424)), t), t = ep(e, t, r, n, o);
|
|
5754
5754
|
break e;
|
|
5755
5755
|
} else
|
|
5756
5756
|
for (vt = Qn(t.stateNode.containerInfo.firstChild), bt = t, Ce = !0, It = null, n = xm(t, null, r, n), t.child = n; n; )
|
|
@@ -5997,14 +5997,14 @@ function ql(e) {
|
|
|
5997
5997
|
return e.child.stateNode;
|
|
5998
5998
|
}
|
|
5999
5999
|
}
|
|
6000
|
-
function
|
|
6000
|
+
function cp(e, t) {
|
|
6001
6001
|
if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
|
|
6002
6002
|
var n = e.retryLane;
|
|
6003
6003
|
e.retryLane = n !== 0 && n < t ? n : t;
|
|
6004
6004
|
}
|
|
6005
6005
|
}
|
|
6006
6006
|
function t0(e, t) {
|
|
6007
|
-
|
|
6007
|
+
cp(e, t), (e = e.alternate) && cp(e, t);
|
|
6008
6008
|
}
|
|
6009
6009
|
function X9() {
|
|
6010
6010
|
return null;
|
|
@@ -6049,7 +6049,7 @@ function r0(e) {
|
|
|
6049
6049
|
function Ds(e) {
|
|
6050
6050
|
return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11 && (e.nodeType !== 8 || e.nodeValue !== " react-mount-point-unstable "));
|
|
6051
6051
|
}
|
|
6052
|
-
function
|
|
6052
|
+
function dp() {
|
|
6053
6053
|
}
|
|
6054
6054
|
function J9(e, t, n, r, o) {
|
|
6055
6055
|
if (o) {
|
|
@@ -6060,7 +6060,7 @@ function J9(e, t, n, r, o) {
|
|
|
6060
6060
|
a.call(u);
|
|
6061
6061
|
};
|
|
6062
6062
|
}
|
|
6063
|
-
var i = pv(t, r, e, 0, null, !1, !1, "",
|
|
6063
|
+
var i = pv(t, r, e, 0, null, !1, !1, "", dp);
|
|
6064
6064
|
return e._reactRootContainer = i, e[yn] = i.current, Aa(e.nodeType === 8 ? e.parentNode : e), Ar(), i;
|
|
6065
6065
|
}
|
|
6066
6066
|
for (; o = e.lastChild; )
|
|
@@ -6072,7 +6072,7 @@ function J9(e, t, n, r, o) {
|
|
|
6072
6072
|
l.call(u);
|
|
6073
6073
|
};
|
|
6074
6074
|
}
|
|
6075
|
-
var s = e0(e, 0, !1, null, null, !1, !1, "",
|
|
6075
|
+
var s = e0(e, 0, !1, null, null, !1, !1, "", dp);
|
|
6076
6076
|
return e._reactRootContainer = s, e[yn] = s.current, Aa(e.nodeType === 8 ? e.parentNode : e), Ar(function() {
|
|
6077
6077
|
Ps(t, s, n, r);
|
|
6078
6078
|
}), s;
|
|
@@ -6258,8 +6258,8 @@ Ct.version = "18.2.0-next-9e3b772b8-20220608";
|
|
|
6258
6258
|
t(), e.exports = Ct;
|
|
6259
6259
|
})(X5);
|
|
6260
6260
|
const nw = /* @__PURE__ */ lg(tr);
|
|
6261
|
-
var mv,
|
|
6262
|
-
mv =
|
|
6261
|
+
var mv, fp = tr;
|
|
6262
|
+
mv = fp.createRoot, fp.hydrateRoot;
|
|
6263
6263
|
var Ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ha = {}, rw = {
|
|
6264
6264
|
get exports() {
|
|
6265
6265
|
return Ha;
|
|
@@ -6321,7 +6321,7 @@ function cw(e, t) {
|
|
|
6321
6321
|
function fd(e) {
|
|
6322
6322
|
return typeof e == "number" && e >= 0 && e !== 1 / 0;
|
|
6323
6323
|
}
|
|
6324
|
-
function
|
|
6324
|
+
function hp(e, t) {
|
|
6325
6325
|
return e.filter((n) => t.indexOf(n) === -1);
|
|
6326
6326
|
}
|
|
6327
6327
|
function dw(e, t, n) {
|
|
@@ -6362,7 +6362,7 @@ function Nn(e, t, n) {
|
|
|
6362
6362
|
queryKey: e
|
|
6363
6363
|
}, n] : [e || {}, t];
|
|
6364
6364
|
}
|
|
6365
|
-
function
|
|
6365
|
+
function pp(e, t) {
|
|
6366
6366
|
const {
|
|
6367
6367
|
type: n = "all",
|
|
6368
6368
|
exact: r,
|
|
@@ -6385,7 +6385,7 @@ function p1(e, t) {
|
|
|
6385
6385
|
}
|
|
6386
6386
|
return !(typeof l == "boolean" && t.isStale() !== l || typeof o < "u" && o !== t.state.fetchStatus || a && !a(t));
|
|
6387
6387
|
}
|
|
6388
|
-
function
|
|
6388
|
+
function gp(e, t) {
|
|
6389
6389
|
const {
|
|
6390
6390
|
exact: n,
|
|
6391
6391
|
fetching: r,
|
|
@@ -6418,7 +6418,7 @@ function bv(e, t) {
|
|
|
6418
6418
|
function wv(e, t) {
|
|
6419
6419
|
if (e === t)
|
|
6420
6420
|
return e;
|
|
6421
|
-
const n =
|
|
6421
|
+
const n = mp(e) && mp(t);
|
|
6422
6422
|
if (n || pd(e) && pd(t)) {
|
|
6423
6423
|
const r = n ? e.length : Object.keys(e).length, o = n ? t : Object.keys(t), a = o.length, i = n ? [] : {};
|
|
6424
6424
|
let l = 0;
|
|
@@ -6438,19 +6438,19 @@ function hd(e, t) {
|
|
|
6438
6438
|
return !1;
|
|
6439
6439
|
return !0;
|
|
6440
6440
|
}
|
|
6441
|
-
function
|
|
6441
|
+
function mp(e) {
|
|
6442
6442
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
6443
6443
|
}
|
|
6444
6444
|
function pd(e) {
|
|
6445
|
-
if (!
|
|
6445
|
+
if (!vp(e))
|
|
6446
6446
|
return !1;
|
|
6447
6447
|
const t = e.constructor;
|
|
6448
6448
|
if (typeof t > "u")
|
|
6449
6449
|
return !0;
|
|
6450
6450
|
const n = t.prototype;
|
|
6451
|
-
return !(!
|
|
6451
|
+
return !(!vp(n) || !n.hasOwnProperty("isPrototypeOf"));
|
|
6452
6452
|
}
|
|
6453
|
-
function
|
|
6453
|
+
function vp(e) {
|
|
6454
6454
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
6455
6455
|
}
|
|
6456
6456
|
function ii(e) {
|
|
@@ -6461,7 +6461,7 @@ function Cv(e) {
|
|
|
6461
6461
|
setTimeout(t, e);
|
|
6462
6462
|
});
|
|
6463
6463
|
}
|
|
6464
|
-
function
|
|
6464
|
+
function yp(e) {
|
|
6465
6465
|
Cv(0).then(e);
|
|
6466
6466
|
}
|
|
6467
6467
|
function hw() {
|
|
@@ -6635,7 +6635,7 @@ function vw() {
|
|
|
6635
6635
|
}
|
|
6636
6636
|
return u;
|
|
6637
6637
|
}, a = (s) => {
|
|
6638
|
-
t ? e.push(s) :
|
|
6638
|
+
t ? e.push(s) : yp(() => {
|
|
6639
6639
|
n(s);
|
|
6640
6640
|
});
|
|
6641
6641
|
}, i = (s) => (...u) => {
|
|
@@ -6644,7 +6644,7 @@ function vw() {
|
|
|
6644
6644
|
});
|
|
6645
6645
|
}, l = () => {
|
|
6646
6646
|
const s = e;
|
|
6647
|
-
e = [], s.length &&
|
|
6647
|
+
e = [], s.length && yp(() => {
|
|
6648
6648
|
r(() => {
|
|
6649
6649
|
s.forEach((u) => {
|
|
6650
6650
|
n(u);
|
|
@@ -7012,11 +7012,11 @@ class ww extends zr {
|
|
|
7012
7012
|
}
|
|
7013
7013
|
find(t, n) {
|
|
7014
7014
|
const [r] = Nn(t, n);
|
|
7015
|
-
return typeof r.exact > "u" && (r.exact = !0), this.queries.find((o) =>
|
|
7015
|
+
return typeof r.exact > "u" && (r.exact = !0), this.queries.find((o) => pp(r, o));
|
|
7016
7016
|
}
|
|
7017
7017
|
findAll(t, n) {
|
|
7018
7018
|
const [r] = Nn(t, n);
|
|
7019
|
-
return Object.keys(r).length > 0 ? this.queries.filter((o) =>
|
|
7019
|
+
return Object.keys(r).length > 0 ? this.queries.filter((o) => pp(r, o)) : this.queries;
|
|
7020
7020
|
}
|
|
7021
7021
|
notify(t) {
|
|
7022
7022
|
be.batch(() => {
|
|
@@ -7255,10 +7255,10 @@ class xw extends zr {
|
|
|
7255
7255
|
return this.mutations;
|
|
7256
7256
|
}
|
|
7257
7257
|
find(t) {
|
|
7258
|
-
return typeof t.exact > "u" && (t.exact = !0), this.mutations.find((n) =>
|
|
7258
|
+
return typeof t.exact > "u" && (t.exact = !0), this.mutations.find((n) => gp(t, n));
|
|
7259
7259
|
}
|
|
7260
7260
|
findAll(t) {
|
|
7261
|
-
return this.mutations.filter((n) =>
|
|
7261
|
+
return this.mutations.filter((n) => gp(t, n));
|
|
7262
7262
|
}
|
|
7263
7263
|
notify(t) {
|
|
7264
7264
|
be.batch(() => {
|
|
@@ -7566,7 +7566,7 @@ class i0 extends zr {
|
|
|
7566
7566
|
this.remove = this.remove.bind(this), this.refetch = this.refetch.bind(this);
|
|
7567
7567
|
}
|
|
7568
7568
|
onSubscribe() {
|
|
7569
|
-
this.listeners.length === 1 && (this.currentQuery.addObserver(this),
|
|
7569
|
+
this.listeners.length === 1 && (this.currentQuery.addObserver(this), bp(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers());
|
|
7570
7570
|
}
|
|
7571
7571
|
onUnsubscribe() {
|
|
7572
7572
|
this.listeners.length || this.destroy();
|
|
@@ -7590,7 +7590,7 @@ class i0 extends zr {
|
|
|
7590
7590
|
throw new Error("Expected enabled to be a boolean");
|
|
7591
7591
|
this.options.queryKey || (this.options.queryKey = r.queryKey), this.updateQuery();
|
|
7592
7592
|
const a = this.hasListeners();
|
|
7593
|
-
a &&
|
|
7593
|
+
a && wp(this.currentQuery, o, this.options, r) && this.executeFetch(), this.updateResult(n), a && (this.currentQuery !== o || this.options.enabled !== r.enabled || this.options.staleTime !== r.staleTime) && this.updateStaleTimeout();
|
|
7594
7594
|
const i = this.computeRefetchInterval();
|
|
7595
7595
|
a && (this.currentQuery !== o || this.options.enabled !== r.enabled || i !== this.currentRefetchInterval) && this.updateRefetchInterval(i);
|
|
7596
7596
|
}
|
|
@@ -7682,7 +7682,7 @@ class i0 extends zr {
|
|
|
7682
7682
|
status: b
|
|
7683
7683
|
} = f, m = !1, v = !1, w;
|
|
7684
7684
|
if (n._optimisticResults) {
|
|
7685
|
-
const E = this.hasListeners(), R = !E &&
|
|
7685
|
+
const E = this.hasListeners(), R = !E && bp(t, n), L = E && wp(t, r, n, o);
|
|
7686
7686
|
(R || L) && (g = _s(t.options.networkMode) ? "fetching" : "paused", p || (b = "loading")), n._optimisticResults === "isRestoring" && (g = "idle");
|
|
7687
7687
|
}
|
|
7688
7688
|
if (n.keepPreviousData && !f.dataUpdatedAt && c != null && c.isSuccess && b !== "error")
|
|
@@ -7798,7 +7798,7 @@ class i0 extends zr {
|
|
|
7798
7798
|
function Rw(e, t) {
|
|
7799
7799
|
return t.enabled !== !1 && !e.state.dataUpdatedAt && !(e.state.status === "error" && t.retryOnMount === !1);
|
|
7800
7800
|
}
|
|
7801
|
-
function
|
|
7801
|
+
function bp(e, t) {
|
|
7802
7802
|
return Rw(e, t) || e.state.dataUpdatedAt > 0 && yd(e, t, t.refetchOnMount);
|
|
7803
7803
|
}
|
|
7804
7804
|
function yd(e, t, n) {
|
|
@@ -7808,7 +7808,7 @@ function yd(e, t, n) {
|
|
|
7808
7808
|
}
|
|
7809
7809
|
return !1;
|
|
7810
7810
|
}
|
|
7811
|
-
function
|
|
7811
|
+
function wp(e, t, n, r) {
|
|
7812
7812
|
return n.enabled !== !1 && (e !== t || r.enabled === !1) && (!n.suspense || e.state.status !== "error") && l0(e, n);
|
|
7813
7813
|
}
|
|
7814
7814
|
function l0(e, t) {
|
|
@@ -7838,9 +7838,9 @@ class Ow extends zr {
|
|
|
7838
7838
|
const r = this.observers, o = this.findMatchingObservers(this.queries);
|
|
7839
7839
|
o.forEach((u) => u.observer.setOptions(u.defaultedQueryOptions, n));
|
|
7840
7840
|
const a = o.map((u) => u.observer), i = Object.fromEntries(a.map((u) => [u.options.queryHash, u])), l = a.map((u) => u.getCurrentResult()), s = a.some((u, c) => u !== r[c]);
|
|
7841
|
-
r.length === a.length && !s || (this.observers = a, this.observersMap = i, this.result = l, this.hasListeners() && (
|
|
7841
|
+
r.length === a.length && !s || (this.observers = a, this.observersMap = i, this.result = l, this.hasListeners() && (hp(r, a).forEach((u) => {
|
|
7842
7842
|
u.destroy();
|
|
7843
|
-
}),
|
|
7843
|
+
}), hp(a, r).forEach((u) => {
|
|
7844
7844
|
u.subscribe((c) => {
|
|
7845
7845
|
this.onUpdate(u, c);
|
|
7846
7846
|
});
|
|
@@ -8086,9 +8086,9 @@ Ov.useSyncExternalStore = Lo.useSyncExternalStore !== void 0 ? Lo.useSyncExterna
|
|
|
8086
8086
|
(function(e) {
|
|
8087
8087
|
e.exports = Ov;
|
|
8088
8088
|
})(Dw);
|
|
8089
|
-
const s0 = bd.useSyncExternalStore,
|
|
8089
|
+
const s0 = bd.useSyncExternalStore, Cp = /* @__PURE__ */ d.createContext(void 0), Pv = /* @__PURE__ */ d.createContext(!1);
|
|
8090
8090
|
function Mv(e, t) {
|
|
8091
|
-
return e || (t && typeof window < "u" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext =
|
|
8091
|
+
return e || (t && typeof window < "u" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = Cp), window.ReactQueryClientContext) : Cp);
|
|
8092
8092
|
}
|
|
8093
8093
|
const As = ({
|
|
8094
8094
|
context: e
|
|
@@ -8400,7 +8400,7 @@ function Xw(e, t) {
|
|
|
8400
8400
|
}
|
|
8401
8401
|
};
|
|
8402
8402
|
}
|
|
8403
|
-
function
|
|
8403
|
+
function xp(e) {
|
|
8404
8404
|
return !!e && !Array.isArray(e) && typeof e == "object";
|
|
8405
8405
|
}
|
|
8406
8406
|
function Jw(e, t) {
|
|
@@ -8410,9 +8410,9 @@ function Jw(e, t) {
|
|
|
8410
8410
|
} catch {
|
|
8411
8411
|
throw new Xt("Unable to transform response from server");
|
|
8412
8412
|
}
|
|
8413
|
-
if (!n.ok && (!
|
|
8413
|
+
if (!n.ok && (!xp(n.error.error) || typeof n.error.error.code != "number"))
|
|
8414
8414
|
throw new Xt("Badly formatted response from server");
|
|
8415
|
-
if (n.ok && !
|
|
8415
|
+
if (n.ok && !xp(n.result))
|
|
8416
8416
|
throw new Xt("Badly formatted response from server");
|
|
8417
8417
|
return n;
|
|
8418
8418
|
}
|
|
@@ -8457,16 +8457,16 @@ const Ns = (e) => Vv(e, []), c0 = (e) => new Proxy(Uv, {
|
|
|
8457
8457
|
return e(n);
|
|
8458
8458
|
}
|
|
8459
8459
|
}), xd = (e) => typeof e == "function";
|
|
8460
|
-
function
|
|
8460
|
+
function Ep(e, t) {
|
|
8461
8461
|
return xd(e.bind) ? e.bind(t) : e;
|
|
8462
8462
|
}
|
|
8463
8463
|
function t8(e) {
|
|
8464
8464
|
if (e)
|
|
8465
8465
|
return e;
|
|
8466
8466
|
if (typeof window < "u" && xd(window.fetch))
|
|
8467
|
-
return
|
|
8467
|
+
return Ep(window.fetch, window);
|
|
8468
8468
|
if (typeof globalThis < "u" && xd(globalThis.fetch))
|
|
8469
|
-
return
|
|
8469
|
+
return Ep(globalThis.fetch, globalThis);
|
|
8470
8470
|
throw new Error("No fetch implementation found");
|
|
8471
8471
|
}
|
|
8472
8472
|
function n8(e) {
|
|
@@ -9352,7 +9352,7 @@ var Le;
|
|
|
9352
9352
|
(function(e) {
|
|
9353
9353
|
e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
|
|
9354
9354
|
})(Le || (Le = {}));
|
|
9355
|
-
const
|
|
9355
|
+
const Sp = "popstate";
|
|
9356
9356
|
function k8(e) {
|
|
9357
9357
|
e === void 0 && (e = {});
|
|
9358
9358
|
function t(r, o) {
|
|
@@ -9385,7 +9385,7 @@ function X(e, t) {
|
|
|
9385
9385
|
function R8() {
|
|
9386
9386
|
return Math.random().toString(36).substr(2, 8);
|
|
9387
9387
|
}
|
|
9388
|
-
function
|
|
9388
|
+
function kp(e, t) {
|
|
9389
9389
|
return {
|
|
9390
9390
|
usr: e.state,
|
|
9391
9391
|
key: e.key,
|
|
@@ -9451,7 +9451,7 @@ function O8(e, t, n, r) {
|
|
|
9451
9451
|
l = Le.Push;
|
|
9452
9452
|
let v = Qa(g.location, b, m);
|
|
9453
9453
|
n && n(v, b), u = c() + 1;
|
|
9454
|
-
let w =
|
|
9454
|
+
let w = kp(v, u), C = g.createHref(v);
|
|
9455
9455
|
try {
|
|
9456
9456
|
i.pushState(w, "", C);
|
|
9457
9457
|
} catch {
|
|
@@ -9467,7 +9467,7 @@ function O8(e, t, n, r) {
|
|
|
9467
9467
|
l = Le.Replace;
|
|
9468
9468
|
let v = Qa(g.location, b, m);
|
|
9469
9469
|
n && n(v, b), u = c();
|
|
9470
|
-
let w =
|
|
9470
|
+
let w = kp(v, u), C = g.createHref(v);
|
|
9471
9471
|
i.replaceState(w, "", C), a && s && s({
|
|
9472
9472
|
action: l,
|
|
9473
9473
|
location: g.location,
|
|
@@ -9488,8 +9488,8 @@ function O8(e, t, n, r) {
|
|
|
9488
9488
|
listen(b) {
|
|
9489
9489
|
if (s)
|
|
9490
9490
|
throw new Error("A history only accepts one active listener");
|
|
9491
|
-
return o.addEventListener(
|
|
9492
|
-
o.removeEventListener(
|
|
9491
|
+
return o.addEventListener(Sp, f), s = b, () => {
|
|
9492
|
+
o.removeEventListener(Sp, f), s = null;
|
|
9493
9493
|
};
|
|
9494
9494
|
},
|
|
9495
9495
|
createHref(b) {
|
|
@@ -9595,10 +9595,10 @@ function Wv(e) {
|
|
|
9595
9595
|
function M8(e) {
|
|
9596
9596
|
e.sort((t, n) => t.score !== n.score ? n.score - t.score : j8(t.routesMeta.map((r) => r.childrenIndex), n.routesMeta.map((r) => r.childrenIndex)));
|
|
9597
9597
|
}
|
|
9598
|
-
const D8 = /^:\w+$/, T8 = 3, L8 = 2, _8 = 1, A8 = 10, N8 = -2,
|
|
9598
|
+
const D8 = /^:\w+$/, T8 = 3, L8 = 2, _8 = 1, A8 = 10, N8 = -2, Rp = (e) => e === "*";
|
|
9599
9599
|
function F8(e, t) {
|
|
9600
9600
|
let n = e.split("/"), r = n.length;
|
|
9601
|
-
return n.some(
|
|
9601
|
+
return n.some(Rp) && (r += N8), t && (r += L8), n.filter((o) => !Rp(o)).reduce((o, a) => o + (D8.test(a) ? T8 : a === "" ? _8 : A8), r);
|
|
9602
9602
|
}
|
|
9603
9603
|
function j8(e, t) {
|
|
9604
9604
|
return e.length === t.length && e.slice(0, -1).every((n, r) => n === t[r]) ? (
|
|
@@ -9742,14 +9742,14 @@ function d0(e, t, n, r) {
|
|
|
9742
9742
|
return !s.pathname.endsWith("/") && (u || c) && (s.pathname += "/"), s;
|
|
9743
9743
|
}
|
|
9744
9744
|
const pn = (e) => e.join("/").replace(/\/\/+/g, "/"), q8 = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Q8 = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, W8 = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
9745
|
-
class
|
|
9745
|
+
class Op extends Error {
|
|
9746
9746
|
}
|
|
9747
9747
|
class G8 {
|
|
9748
9748
|
constructor(t, n) {
|
|
9749
9749
|
this.pendingKeysSet = /* @__PURE__ */ new Set(), this.subscribers = /* @__PURE__ */ new Set(), this.deferredKeys = [], X(t && typeof t == "object" && !Array.isArray(t), "defer() only accepts plain objects");
|
|
9750
9750
|
let r;
|
|
9751
9751
|
this.abortPromise = new Promise((a, i) => r = i), this.controller = new AbortController();
|
|
9752
|
-
let o = () => r(new
|
|
9752
|
+
let o = () => r(new Op("Deferred data aborted"));
|
|
9753
9753
|
this.unlistenAbortSignal = () => this.controller.signal.removeEventListener("abort", o), this.controller.signal.addEventListener("abort", o), this.data = Object.entries(t).reduce((a, i) => {
|
|
9754
9754
|
let [l, s] = i;
|
|
9755
9755
|
return Object.assign(a, {
|
|
@@ -9768,7 +9768,7 @@ class G8 {
|
|
|
9768
9768
|
}), r;
|
|
9769
9769
|
}
|
|
9770
9770
|
onSettle(t, n, r, o) {
|
|
9771
|
-
return this.controller.signal.aborted && r instanceof
|
|
9771
|
+
return this.controller.signal.aborted && r instanceof Op ? (this.unlistenAbortSignal(), Object.defineProperty(t, "_error", {
|
|
9772
9772
|
get: () => r
|
|
9773
9773
|
}), Promise.reject(r)) : (this.pendingKeysSet.delete(n), this.done && this.unlistenAbortSignal(), r ? (Object.defineProperty(t, "_error", {
|
|
9774
9774
|
get: () => r
|
|
@@ -9844,7 +9844,7 @@ const Kv = ["post", "put", "patch", "delete"], Y8 = new Set(Kv), X8 = ["get", ..
|
|
|
9844
9844
|
formAction: void 0,
|
|
9845
9845
|
formEncType: void 0,
|
|
9846
9846
|
formData: void 0
|
|
9847
|
-
},
|
|
9847
|
+
}, Pp = {
|
|
9848
9848
|
state: "unblocked",
|
|
9849
9849
|
proceed: void 0,
|
|
9850
9850
|
reset: void 0,
|
|
@@ -9859,7 +9859,7 @@ function o3(e) {
|
|
|
9859
9859
|
}), {
|
|
9860
9860
|
matches: M,
|
|
9861
9861
|
route: _
|
|
9862
|
-
} =
|
|
9862
|
+
} = Ap(t);
|
|
9863
9863
|
u = M, c = {
|
|
9864
9864
|
[_.id]: P
|
|
9865
9865
|
};
|
|
@@ -9933,7 +9933,7 @@ function o3(e) {
|
|
|
9933
9933
|
var _, q;
|
|
9934
9934
|
let B = h.actionData != null && h.navigation.formMethod != null && sn(h.navigation.formMethod) && h.navigation.state === "loading" && ((_ = P.state) == null ? void 0 : _._isRedirect) !== !0, Z;
|
|
9935
9935
|
M.actionData ? Object.keys(M.actionData).length > 0 ? Z = M.actionData : Z = null : B ? Z = h.actionData : Z = null;
|
|
9936
|
-
let K = M.loaderData ?
|
|
9936
|
+
let K = M.loaderData ? _p(h.loaderData, M.loaderData, M.matches || [], M.errors) : h.loaderData;
|
|
9937
9937
|
for (let [Q] of J)
|
|
9938
9938
|
dr(Q);
|
|
9939
9939
|
let ne = g === !0 || h.navigation.formMethod != null && sn(h.navigation.formMethod) && ((q = P.state) == null ? void 0 : q._isRedirect) !== !0;
|
|
@@ -9959,7 +9959,7 @@ function o3(e) {
|
|
|
9959
9959
|
path: _,
|
|
9960
9960
|
submission: q,
|
|
9961
9961
|
error: B
|
|
9962
|
-
} =
|
|
9962
|
+
} = Mp(P, M), Z = h.location, K = Qa(h.location, _, M && M.state);
|
|
9963
9963
|
K = le({}, K, e.history.encodeLocation(K));
|
|
9964
9964
|
let ne = M && M.replace != null ? M.replace : void 0, Q = Le.Push;
|
|
9965
9965
|
ne === !0 ? Q = Le.Replace : ne === !1 || q != null && sn(q.formMethod) && q.formAction === h.location.pathname + h.location.search && (Q = Le.Replace);
|
|
@@ -10021,7 +10021,7 @@ function o3(e) {
|
|
|
10021
10021
|
}), {
|
|
10022
10022
|
matches: nn,
|
|
10023
10023
|
route: Nt
|
|
10024
|
-
} =
|
|
10024
|
+
} = Ap(q);
|
|
10025
10025
|
qr(), F(M, {
|
|
10026
10026
|
matches: nn,
|
|
10027
10027
|
loaderData: {},
|
|
@@ -10137,7 +10137,7 @@ function o3(e) {
|
|
|
10137
10137
|
formAction: Q.formAction,
|
|
10138
10138
|
formData: Q.formData,
|
|
10139
10139
|
formEncType: Q.formEncType
|
|
10140
|
-
} : void 0), se = n || t, [Je, Me] =
|
|
10140
|
+
} : void 0), se = n || t, [Je, Me] = Dp(e.history, h, _, Xe, M, v, w, C, D, se, e.basename, K, ne);
|
|
10141
10141
|
if (qr((et) => !(_ && _.some((qt) => qt.route.id === et)) || Je && Je.some((qt) => qt.route.id === et)), Je.length === 0 && Me.length === 0)
|
|
10142
10142
|
return F(M, le({
|
|
10143
10143
|
matches: _,
|
|
@@ -10184,7 +10184,7 @@ function o3(e) {
|
|
|
10184
10184
|
shortCircuited: !0
|
|
10185
10185
|
};
|
|
10186
10186
|
Me.forEach((et) => x.delete(et.key));
|
|
10187
|
-
let Ci =
|
|
10187
|
+
let Ci = Np(nn);
|
|
10188
10188
|
if (Ci)
|
|
10189
10189
|
return await Et(h, Ci, {
|
|
10190
10190
|
replace: Z
|
|
@@ -10194,7 +10194,7 @@ function o3(e) {
|
|
|
10194
10194
|
let {
|
|
10195
10195
|
loaderData: xi,
|
|
10196
10196
|
errors: Qr
|
|
10197
|
-
} =
|
|
10197
|
+
} = Lp(h, _, Je, Nt, ne, Me, Qo, W);
|
|
10198
10198
|
W.forEach((et, qt) => {
|
|
10199
10199
|
et.subscribe((fr) => {
|
|
10200
10200
|
(fr || et.done) && W.delete(qt);
|
|
@@ -10225,7 +10225,7 @@ function o3(e) {
|
|
|
10225
10225
|
let {
|
|
10226
10226
|
path: Z,
|
|
10227
10227
|
submission: K
|
|
10228
|
-
} =
|
|
10228
|
+
} = Mp(_, q, !0), ne = Ed(B, Z);
|
|
10229
10229
|
if (g = (q && q.preventScrollReset) === !0, K && sn(K.formMethod)) {
|
|
10230
10230
|
pt(P, M, Z, ne, B, K);
|
|
10231
10231
|
return;
|
|
@@ -10294,7 +10294,7 @@ function o3(e) {
|
|
|
10294
10294
|
" _hasFetcherDoneAnything ": !0
|
|
10295
10295
|
});
|
|
10296
10296
|
h.fetchers.set(P, Ci);
|
|
10297
|
-
let [xi, Qr] =
|
|
10297
|
+
let [xi, Qr] = Dp(
|
|
10298
10298
|
e.history,
|
|
10299
10299
|
h,
|
|
10300
10300
|
Nt,
|
|
@@ -10334,13 +10334,13 @@ function o3(e) {
|
|
|
10334
10334
|
if (Q.signal.aborted)
|
|
10335
10335
|
return;
|
|
10336
10336
|
R.delete(P), x.delete(P), Qr.forEach((rn) => x.delete(rn.key));
|
|
10337
|
-
let fr =
|
|
10337
|
+
let fr = Np(lu);
|
|
10338
10338
|
if (fr)
|
|
10339
10339
|
return Et(h, fr);
|
|
10340
10340
|
let {
|
|
10341
10341
|
loaderData: Ei,
|
|
10342
10342
|
errors: su
|
|
10343
|
-
} =
|
|
10343
|
+
} = Lp(h, h.matches, xi, et, void 0, Qr, qt, W), k5 = {
|
|
10344
10344
|
state: "idle",
|
|
10345
10345
|
data: se.data,
|
|
10346
10346
|
formMethod: void 0,
|
|
@@ -10358,7 +10358,7 @@ function o3(e) {
|
|
|
10358
10358
|
fetchers: new Map(h.fetchers)
|
|
10359
10359
|
})) : (te(le({
|
|
10360
10360
|
errors: su,
|
|
10361
|
-
loaderData:
|
|
10361
|
+
loaderData: _p(h.loaderData, Ei, Nt, su)
|
|
10362
10362
|
}, R5 ? {
|
|
10363
10363
|
fetchers: new Map(h.fetchers)
|
|
10364
10364
|
} : {})), v = !1);
|
|
@@ -10473,7 +10473,7 @@ function o3(e) {
|
|
|
10473
10473
|
pathname: Q.path
|
|
10474
10474
|
})
|
|
10475
10475
|
})]), K = Z.slice(0, _.length), ne = Z.slice(_.length);
|
|
10476
|
-
return await Promise.all([
|
|
10476
|
+
return await Promise.all([Fp(P, _, K, B.signal, !1, h.loaderData), Fp(P, q.map((Q) => Q.match), ne, B.signal, !0)]), {
|
|
10477
10477
|
results: Z,
|
|
10478
10478
|
loaderResults: K,
|
|
10479
10479
|
fetcherResults: ne
|
|
@@ -10532,14 +10532,14 @@ function o3(e) {
|
|
|
10532
10532
|
return yi(M), M.length > 0;
|
|
10533
10533
|
}
|
|
10534
10534
|
function au(P, M) {
|
|
10535
|
-
let _ = h.blockers.get(P) ||
|
|
10535
|
+
let _ = h.blockers.get(P) || Pp;
|
|
10536
10536
|
return J.get(P) !== M && J.set(P, M), _;
|
|
10537
10537
|
}
|
|
10538
10538
|
function dr(P) {
|
|
10539
10539
|
h.blockers.delete(P), J.delete(P);
|
|
10540
10540
|
}
|
|
10541
10541
|
function At(P, M) {
|
|
10542
|
-
let _ = h.blockers.get(P) ||
|
|
10542
|
+
let _ = h.blockers.get(P) || Pp;
|
|
10543
10543
|
X(_.state === "unblocked" && M.state === "blocked" || _.state === "blocked" && M.state === "blocked" || _.state === "blocked" && M.state === "proceeding" || _.state === "blocked" && M.state === "unblocked" || _.state === "proceeding" && M.state === "unblocked", "Invalid blocker state transition: " + _.state + " -> " + M.state), h.blockers.set(P, M), te({
|
|
10544
10544
|
blockers: new Map(h.blockers)
|
|
10545
10545
|
});
|
|
@@ -10581,13 +10581,13 @@ function o3(e) {
|
|
|
10581
10581
|
}
|
|
10582
10582
|
function iu(P, M) {
|
|
10583
10583
|
if (a && i && l) {
|
|
10584
|
-
let _ = M.map((B) =>
|
|
10584
|
+
let _ = M.map((B) => jp(B, h.loaderData)), q = i(P, _) || P.key;
|
|
10585
10585
|
a[q] = l();
|
|
10586
10586
|
}
|
|
10587
10587
|
}
|
|
10588
10588
|
function wi(P, M) {
|
|
10589
10589
|
if (a && i && l) {
|
|
10590
|
-
let _ = M.map((Z) =>
|
|
10590
|
+
let _ = M.map((Z) => jp(Z, h.loaderData)), q = i(P, _) || P.key, B = a[q];
|
|
10591
10591
|
if (typeof B == "number")
|
|
10592
10592
|
return B;
|
|
10593
10593
|
}
|
|
@@ -10631,7 +10631,7 @@ function o3(e) {
|
|
|
10631
10631
|
function a3(e) {
|
|
10632
10632
|
return e != null && "formData" in e;
|
|
10633
10633
|
}
|
|
10634
|
-
function
|
|
10634
|
+
function Mp(e, t, n) {
|
|
10635
10635
|
n === void 0 && (n = !1);
|
|
10636
10636
|
let r = typeof e == "string" ? e : Cn(e);
|
|
10637
10637
|
if (!t || !a3(t))
|
|
@@ -10670,7 +10670,7 @@ function i3(e, t) {
|
|
|
10670
10670
|
}
|
|
10671
10671
|
return n;
|
|
10672
10672
|
}
|
|
10673
|
-
function
|
|
10673
|
+
function Dp(e, t, n, r, o, a, i, l, s, u, c, f, p) {
|
|
10674
10674
|
let h = p ? Object.values(p)[0] : f ? Object.values(f)[0] : void 0, y = e.createURL(t.location), g = e.createURL(o), b = (
|
|
10675
10675
|
// Forced revalidation due to submission, useRevalidate, or X-Remix-Revalidate
|
|
10676
10676
|
a || // Clicked the same link, resubmitted a GET form
|
|
@@ -10682,7 +10682,7 @@ function D1(e, t, n, r, o, a, i, l, s, u, c, f, p) {
|
|
|
10682
10682
|
if (l3(t.loaderData, t.matches[x], C) || i.some((R) => R === C.route.id))
|
|
10683
10683
|
return !0;
|
|
10684
10684
|
let S = t.matches[x], E = C;
|
|
10685
|
-
return
|
|
10685
|
+
return Tp(C, le({
|
|
10686
10686
|
currentUrl: y,
|
|
10687
10687
|
currentParams: S.params,
|
|
10688
10688
|
nextUrl: g,
|
|
@@ -10714,7 +10714,7 @@ function D1(e, t, n, r, o, a, i, l, s, u, c, f, p) {
|
|
|
10714
10714
|
}, C));
|
|
10715
10715
|
return;
|
|
10716
10716
|
}
|
|
10717
|
-
|
|
10717
|
+
Tp(E, le({
|
|
10718
10718
|
currentUrl: y,
|
|
10719
10719
|
currentParams: t.matches[t.matches.length - 1].params,
|
|
10720
10720
|
nextUrl: g,
|
|
@@ -10746,7 +10746,7 @@ function Xv(e, t) {
|
|
|
10746
10746
|
n != null && n.endsWith("*") && e.params["*"] !== t.params["*"]
|
|
10747
10747
|
);
|
|
10748
10748
|
}
|
|
10749
|
-
function
|
|
10749
|
+
function Tp(e, t) {
|
|
10750
10750
|
if (e.route.shouldRevalidate) {
|
|
10751
10751
|
let n = e.route.shouldRevalidate(t);
|
|
10752
10752
|
if (typeof n == "boolean")
|
|
@@ -10868,7 +10868,7 @@ function s3(e, t, n, r, o) {
|
|
|
10868
10868
|
loaderHeaders: u
|
|
10869
10869
|
};
|
|
10870
10870
|
}
|
|
10871
|
-
function
|
|
10871
|
+
function Lp(e, t, n, r, o, a, i, l) {
|
|
10872
10872
|
let {
|
|
10873
10873
|
loaderData: s,
|
|
10874
10874
|
errors: u
|
|
@@ -10907,7 +10907,7 @@ function L1(e, t, n, r, o, a, i, l) {
|
|
|
10907
10907
|
errors: u
|
|
10908
10908
|
};
|
|
10909
10909
|
}
|
|
10910
|
-
function
|
|
10910
|
+
function _p(e, t, n, r) {
|
|
10911
10911
|
let o = le({}, t);
|
|
10912
10912
|
for (let a of n) {
|
|
10913
10913
|
let i = a.route.id;
|
|
@@ -10919,7 +10919,7 @@ function _1(e, t, n, r) {
|
|
|
10919
10919
|
function mo(e, t) {
|
|
10920
10920
|
return (t ? e.slice(0, e.findIndex((n) => n.route.id === t) + 1) : [...e]).reverse().find((n) => n.route.hasErrorBoundary === !0) || e[0];
|
|
10921
10921
|
}
|
|
10922
|
-
function
|
|
10922
|
+
function Ap(e) {
|
|
10923
10923
|
let t = e.find((n) => n.index || !n.path || n.path === "/") || {
|
|
10924
10924
|
id: "__shim-error-route__"
|
|
10925
10925
|
};
|
|
@@ -10942,7 +10942,7 @@ function an(e, t) {
|
|
|
10942
10942
|
} = t === void 0 ? {} : t, i = "Unknown Server Error", l = "Unknown @remix-run/router error";
|
|
10943
10943
|
return e === 400 ? (i = "Bad Request", o && n && r ? l = "You made a " + o + ' request to "' + n + '" but ' + ('did not provide a `loader` for route "' + r + '", ') + "so there is no way to handle the request." : a === "defer-action" && (l = "defer() is not supported in actions")) : e === 403 ? (i = "Forbidden", l = 'Route "' + r + '" does not match URL "' + n + '"') : e === 404 ? (i = "Not Found", l = 'No route matches URL "' + n + '"') : e === 405 && (i = "Method Not Allowed", o && n && r ? l = "You made a " + o.toUpperCase() + ' request to "' + n + '" but ' + ('did not provide an `action` for route "' + r + '", ') + "so there is no way to handle the request." : o && (l = 'Invalid request method "' + o.toUpperCase() + '"')), new f0(e || 500, i, new Error(l), !0);
|
|
10944
10944
|
}
|
|
10945
|
-
function
|
|
10945
|
+
function Np(e) {
|
|
10946
10946
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
10947
10947
|
let n = e[t];
|
|
10948
10948
|
if (Eo(n))
|
|
@@ -10976,7 +10976,7 @@ function d3(e) {
|
|
|
10976
10976
|
function sn(e) {
|
|
10977
10977
|
return Y8.has(e);
|
|
10978
10978
|
}
|
|
10979
|
-
async function
|
|
10979
|
+
async function Fp(e, t, n, r, o, a) {
|
|
10980
10980
|
for (let i = 0; i < n.length; i++) {
|
|
10981
10981
|
let l = n[i], s = t[i];
|
|
10982
10982
|
if (!s)
|
|
@@ -11010,7 +11010,7 @@ async function t2(e, t, n) {
|
|
|
11010
11010
|
function n2(e) {
|
|
11011
11011
|
return new URLSearchParams(e).getAll("index").some((t) => t === "");
|
|
11012
11012
|
}
|
|
11013
|
-
function
|
|
11013
|
+
function jp(e, t) {
|
|
11014
11014
|
let {
|
|
11015
11015
|
route: n,
|
|
11016
11016
|
pathname: r,
|
|
@@ -11295,10 +11295,10 @@ function D3(e, t, n) {
|
|
|
11295
11295
|
}) : f();
|
|
11296
11296
|
}, null);
|
|
11297
11297
|
}
|
|
11298
|
-
var $
|
|
11298
|
+
var $p;
|
|
11299
11299
|
(function(e) {
|
|
11300
11300
|
e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator";
|
|
11301
|
-
})($
|
|
11301
|
+
})($p || ($p = {}));
|
|
11302
11302
|
var Xl;
|
|
11303
11303
|
(function(e) {
|
|
11304
11304
|
e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator";
|
|
@@ -11414,10 +11414,10 @@ function $3(e) {
|
|
|
11414
11414
|
} = e, r = d.useContext(h0), o = r && !t ? r.router.routes : Sd(t);
|
|
11415
11415
|
return R3(o, n);
|
|
11416
11416
|
}
|
|
11417
|
-
var
|
|
11417
|
+
var Ip;
|
|
11418
11418
|
(function(e) {
|
|
11419
11419
|
e[e.pending = 0] = "pending", e[e.success = 1] = "success", e[e.error = 2] = "error";
|
|
11420
|
-
})(
|
|
11420
|
+
})(Ip || (Ip = {}));
|
|
11421
11421
|
new Promise(() => {
|
|
11422
11422
|
});
|
|
11423
11423
|
function Sd(e, t) {
|
|
@@ -11609,14 +11609,14 @@ const W3 = typeof window < "u" && typeof window.document < "u" && typeof window.
|
|
|
11609
11609
|
isPending: v
|
|
11610
11610
|
}) : s);
|
|
11611
11611
|
});
|
|
11612
|
-
var
|
|
11612
|
+
var zp;
|
|
11613
11613
|
(function(e) {
|
|
11614
11614
|
e.UseScrollRestoration = "useScrollRestoration", e.UseSubmitImpl = "useSubmitImpl", e.UseFetcher = "useFetcher";
|
|
11615
|
-
})(
|
|
11616
|
-
var
|
|
11615
|
+
})(zp || (zp = {}));
|
|
11616
|
+
var Up;
|
|
11617
11617
|
(function(e) {
|
|
11618
11618
|
e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
|
|
11619
|
-
})(
|
|
11619
|
+
})(Up || (Up = {}));
|
|
11620
11620
|
function Z3(e, t) {
|
|
11621
11621
|
let {
|
|
11622
11622
|
target: n,
|
|
@@ -11949,7 +11949,7 @@ function o4(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
11949
11949
|
]);
|
|
11950
11950
|
}
|
|
11951
11951
|
const Od = "dismissableLayer.update", a4 = "dismissableLayer.pointerDownOutside", i4 = "dismissableLayer.focusOutside";
|
|
11952
|
-
let
|
|
11952
|
+
let Vp;
|
|
11953
11953
|
const l2 = /* @__PURE__ */ d.createContext({
|
|
11954
11954
|
layers: /* @__PURE__ */ new Set(),
|
|
11955
11955
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
@@ -11980,8 +11980,8 @@ const l2 = /* @__PURE__ */ d.createContext({
|
|
|
11980
11980
|
w === c.layers.size - 1 && (o == null || o(R), !R.defaultPrevented && s && (R.preventDefault(), s()));
|
|
11981
11981
|
}, h), d.useEffect(() => {
|
|
11982
11982
|
if (f)
|
|
11983
|
-
return r && (c.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
11984
|
-
r && c.layersWithOutsidePointerEventsDisabled.size === 1 && (h.body.style.pointerEvents =
|
|
11983
|
+
return r && (c.layersWithOutsidePointerEventsDisabled.size === 0 && (Vp = h.body.style.pointerEvents, h.body.style.pointerEvents = "none"), c.layersWithOutsidePointerEventsDisabled.add(f)), c.layers.add(f), Hp(), () => {
|
|
11984
|
+
r && c.layersWithOutsidePointerEventsDisabled.size === 1 && (h.body.style.pointerEvents = Vp);
|
|
11985
11985
|
};
|
|
11986
11986
|
}, [
|
|
11987
11987
|
f,
|
|
@@ -11989,7 +11989,7 @@ const l2 = /* @__PURE__ */ d.createContext({
|
|
|
11989
11989
|
r,
|
|
11990
11990
|
c
|
|
11991
11991
|
]), d.useEffect(() => () => {
|
|
11992
|
-
f && (c.layers.delete(f), c.layersWithOutsidePointerEventsDisabled.delete(f),
|
|
11992
|
+
f && (c.layers.delete(f), c.layersWithOutsidePointerEventsDisabled.delete(f), Hp());
|
|
11993
11993
|
}, [
|
|
11994
11994
|
f,
|
|
11995
11995
|
c
|
|
@@ -12072,7 +12072,7 @@ function u4(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
12072
12072
|
onBlurCapture: () => r.current = !1
|
|
12073
12073
|
};
|
|
12074
12074
|
}
|
|
12075
|
-
function
|
|
12075
|
+
function Hp() {
|
|
12076
12076
|
const e = new CustomEvent(Od);
|
|
12077
12077
|
document.dispatchEvent(e);
|
|
12078
12078
|
}
|
|
@@ -12343,7 +12343,7 @@ const b4 = "ToastViewport", w4 = [
|
|
|
12343
12343
|
style: {
|
|
12344
12344
|
pointerEvents: y ? void 0 : "none"
|
|
12345
12345
|
}
|
|
12346
|
-
}, y && /* @__PURE__ */ d.createElement(
|
|
12346
|
+
}, y && /* @__PURE__ */ d.createElement(Bp, {
|
|
12347
12347
|
ref: u,
|
|
12348
12348
|
onFocusFromOutsideViewport: () => {
|
|
12349
12349
|
const b = g({
|
|
@@ -12357,7 +12357,7 @@ const b4 = "ToastViewport", w4 = [
|
|
|
12357
12357
|
tabIndex: -1
|
|
12358
12358
|
}, a, {
|
|
12359
12359
|
ref: p
|
|
12360
|
-
}))), y && /* @__PURE__ */ d.createElement(
|
|
12360
|
+
}))), y && /* @__PURE__ */ d.createElement(Bp, {
|
|
12361
12361
|
ref: c,
|
|
12362
12362
|
onFocusFromOutsideViewport: () => {
|
|
12363
12363
|
const b = g({
|
|
@@ -12366,7 +12366,7 @@ const b4 = "ToastViewport", w4 = [
|
|
|
12366
12366
|
Hu(b);
|
|
12367
12367
|
}
|
|
12368
12368
|
}));
|
|
12369
|
-
}), x4 = "ToastFocusProxy",
|
|
12369
|
+
}), x4 = "ToastFocusProxy", Bp = /* @__PURE__ */ d.forwardRef((e, t) => {
|
|
12370
12370
|
const { __scopeToast: n, onFocusFromOutsideViewport: r, ...o } = e, a = Us(x4, n);
|
|
12371
12371
|
return /* @__PURE__ */ d.createElement(w0, T({
|
|
12372
12372
|
"aria-hidden": !0,
|
|
@@ -12517,7 +12517,7 @@ const b4 = "ToastViewport", w4 = [
|
|
|
12517
12517
|
};
|
|
12518
12518
|
te ? (C.current = xe, Hi(S4, f, ve, {
|
|
12519
12519
|
discrete: !1
|
|
12520
|
-
})) :
|
|
12520
|
+
})) : qp(xe, g.swipeDirection, ee) ? (C.current = xe, Hi(E4, c, ve, {
|
|
12521
12521
|
discrete: !1
|
|
12522
12522
|
}), U.target.setPointerCapture(U.pointerId)) : (Math.abs(ae) > ee || Math.abs(de) > ee) && (w.current = null);
|
|
12523
12523
|
}),
|
|
@@ -12528,7 +12528,7 @@ const b4 = "ToastViewport", w4 = [
|
|
|
12528
12528
|
originalEvent: U,
|
|
12529
12529
|
delta: ae
|
|
12530
12530
|
};
|
|
12531
|
-
|
|
12531
|
+
qp(ae, g.swipeDirection, g.swipeThreshold) ? Hi(R4, h, F, {
|
|
12532
12532
|
discrete: !0
|
|
12533
12533
|
}) : Hi(k4, p, F, {
|
|
12534
12534
|
discrete: !0
|
|
@@ -12630,7 +12630,7 @@ function Hi(e, t, n, { discrete: r }) {
|
|
|
12630
12630
|
once: !0
|
|
12631
12631
|
}), r ? b0(o, a) : o.dispatchEvent(a);
|
|
12632
12632
|
}
|
|
12633
|
-
const
|
|
12633
|
+
const qp = (e, t, n = 0) => {
|
|
12634
12634
|
const r = Math.abs(e.x), o = Math.abs(e.y), a = r > o;
|
|
12635
12635
|
return t === "left" || t === "right" ? a && r > n : !a && o > n;
|
|
12636
12636
|
};
|
|
@@ -13475,12 +13475,12 @@ const b2 = U7, w2 = B7, K7 = /* @__PURE__ */ d.forwardRef((e, t) => {
|
|
|
13475
13475
|
focusable: !i,
|
|
13476
13476
|
active: a,
|
|
13477
13477
|
ref: s
|
|
13478
|
-
}), /* @__PURE__ */ $.createElement(
|
|
13478
|
+
}), /* @__PURE__ */ $.createElement(Qp, T({}, l, {
|
|
13479
13479
|
ref: t
|
|
13480
|
-
}))) : /* @__PURE__ */ $.createElement(
|
|
13480
|
+
}))) : /* @__PURE__ */ $.createElement(Qp, T({}, l, {
|
|
13481
13481
|
ref: t
|
|
13482
13482
|
}));
|
|
13483
|
-
}),
|
|
13483
|
+
}), Qp = /* @__PURE__ */ $.forwardRef((e, t) => {
|
|
13484
13484
|
const { __scopeToggleGroup: n, value: r, ...o } = e, a = S2(Ld, n), i = {
|
|
13485
13485
|
role: "radio",
|
|
13486
13486
|
"aria-checked": e.pressed,
|
|
@@ -13550,7 +13550,7 @@ var a6 = function() {
|
|
|
13550
13550
|
}, _d = function(e) {
|
|
13551
13551
|
var t = e.message;
|
|
13552
13552
|
return /* @__PURE__ */ k("div", { className: "flex items-center justify-center rounded-md bg-red-50 py-4", children: /* @__PURE__ */ k("div", { className: "flex flex-col justify-center", children: /* @__PURE__ */ k("p", { className: "text-sm text-red-900", children: t }) }) });
|
|
13553
|
-
},
|
|
13553
|
+
}, Wp = function(e) {
|
|
13554
13554
|
var t = e.to, n = e.label, r = e.icon;
|
|
13555
13555
|
return /* @__PURE__ */ I(K3, { to: t, className: function(o) {
|
|
13556
13556
|
var a = o.isActive;
|
|
@@ -13577,12 +13577,12 @@ var a6 = function() {
|
|
|
13577
13577
|
/* @__PURE__ */ k("p", { className: "text-lg font-semibold", children: "QueueDash" })
|
|
13578
13578
|
] }),
|
|
13579
13579
|
/* @__PURE__ */ I("div", { className: "w-full space-y-4", children: [
|
|
13580
|
-
/* @__PURE__ */ k(
|
|
13580
|
+
/* @__PURE__ */ k(Wp, { label: "Overview", icon: /* @__PURE__ */ k(X4, { className: "mb-0.5", height: 16, width: 16 }), to: "../" }),
|
|
13581
13581
|
/* @__PURE__ */ k("div", { className: "h-px w-full bg-slate-100 dark:bg-slate-700" }),
|
|
13582
13582
|
/* @__PURE__ */ k("div", { className: "w-full space-y-1", children: o ? kr([], new Array(10), !0).map(function(i, l) {
|
|
13583
13583
|
return /* @__PURE__ */ k(Jl, { className: "h-8 w-full" }, l);
|
|
13584
13584
|
}) : a ? /* @__PURE__ */ k(_d, { message: "Could not fetch queues" }) : r == null ? void 0 : r.map(function(i) {
|
|
13585
|
-
return /* @__PURE__ */ k(
|
|
13585
|
+
return /* @__PURE__ */ k(Wp, { to: "../".concat(i.name), label: i.displayName }, i.name);
|
|
13586
13586
|
}) })
|
|
13587
13587
|
] })
|
|
13588
13588
|
] }),
|
|
@@ -13704,7 +13704,7 @@ function l6(e, t, n, r) {
|
|
|
13704
13704
|
};
|
|
13705
13705
|
return c = e._features.reduce((f, p) => Object.assign(f, p.createColumn == null ? void 0 : p.createColumn(c, e)), c), c;
|
|
13706
13706
|
}
|
|
13707
|
-
function
|
|
13707
|
+
function Gp(e, t, n) {
|
|
13708
13708
|
var r;
|
|
13709
13709
|
let o = {
|
|
13710
13710
|
id: (r = n.id) != null ? r : t.id,
|
|
@@ -13900,7 +13900,7 @@ function Bi(e, t, n, r) {
|
|
|
13900
13900
|
if (v && b.column.parent ? w = b.column.parent : (w = b.column, C = !0), m && (m == null ? void 0 : m.column) === w)
|
|
13901
13901
|
m.subHeaders.push(b);
|
|
13902
13902
|
else {
|
|
13903
|
-
const x =
|
|
13903
|
+
const x = Gp(n, w, {
|
|
13904
13904
|
id: [r, h, w.id, b == null ? void 0 : b.id].filter(Boolean).join("_"),
|
|
13905
13905
|
isPlaceholder: C,
|
|
13906
13906
|
placeholderId: C ? `${g.filter((S) => S.column === w).length}` : void 0,
|
|
@@ -13911,7 +13911,7 @@ function Bi(e, t, n, r) {
|
|
|
13911
13911
|
}
|
|
13912
13912
|
y.headers.push(b), b.headerGroup = y;
|
|
13913
13913
|
}), s.push(y), h > 0 && u(g, h - 1);
|
|
13914
|
-
}, c = t.map((p, h) =>
|
|
13914
|
+
}, c = t.map((p, h) => Gp(n, p, {
|
|
13915
13915
|
depth: i,
|
|
13916
13916
|
index: h
|
|
13917
13917
|
}));
|
|
@@ -14325,7 +14325,7 @@ const f6 = {
|
|
|
14325
14325
|
setFilterValue: (n) => {
|
|
14326
14326
|
t.setColumnFilters((r) => {
|
|
14327
14327
|
const o = e.getFilterFn(), a = r == null ? void 0 : r.find((c) => c.id === e.id), i = Vn(n, a ? a.value : void 0);
|
|
14328
|
-
if (
|
|
14328
|
+
if (Kp(o, i, e)) {
|
|
14329
14329
|
var l;
|
|
14330
14330
|
return (l = r == null ? void 0 : r.filter((c) => c.id !== e.id)) != null ? l : [];
|
|
14331
14331
|
}
|
|
@@ -14372,7 +14372,7 @@ const f6 = {
|
|
|
14372
14372
|
const l = n.find((s) => s.id === i.id);
|
|
14373
14373
|
if (l) {
|
|
14374
14374
|
const s = l.getFilterFn();
|
|
14375
|
-
if (
|
|
14375
|
+
if (Kp(s, i.value, l))
|
|
14376
14376
|
return !1;
|
|
14377
14377
|
}
|
|
14378
14378
|
return !0;
|
|
@@ -14403,7 +14403,7 @@ const f6 = {
|
|
|
14403
14403
|
}
|
|
14404
14404
|
})
|
|
14405
14405
|
};
|
|
14406
|
-
function
|
|
14406
|
+
function Kp(e, t, n) {
|
|
14407
14407
|
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || typeof t > "u" || typeof t == "string" && !t;
|
|
14408
14408
|
}
|
|
14409
14409
|
const h6 = (e, t, n) => n.reduce((r, o) => {
|
|
@@ -14981,13 +14981,13 @@ const S6 = {
|
|
|
14981
14981
|
const {
|
|
14982
14982
|
rowSelection: n
|
|
14983
14983
|
} = t.getState();
|
|
14984
|
-
return
|
|
14984
|
+
return Zp(e, n) === "some";
|
|
14985
14985
|
},
|
|
14986
14986
|
getIsAllSubRowsSelected: () => {
|
|
14987
14987
|
const {
|
|
14988
14988
|
rowSelection: n
|
|
14989
14989
|
} = t.getState();
|
|
14990
|
-
return
|
|
14990
|
+
return Zp(e, n) === "all";
|
|
14991
14991
|
},
|
|
14992
14992
|
getCanSelect: () => {
|
|
14993
14993
|
var n;
|
|
@@ -15036,7 +15036,7 @@ function P0(e, t) {
|
|
|
15036
15036
|
var n;
|
|
15037
15037
|
return (n = t[e.id]) != null ? n : !1;
|
|
15038
15038
|
}
|
|
15039
|
-
function
|
|
15039
|
+
function Zp(e, t, n) {
|
|
15040
15040
|
if (e.subRows && e.subRows.length) {
|
|
15041
15041
|
let r = !0, o = !1;
|
|
15042
15042
|
return e.subRows.forEach((a) => {
|
|
@@ -15262,12 +15262,12 @@ const ra = {
|
|
|
15262
15262
|
}
|
|
15263
15263
|
};
|
|
15264
15264
|
}
|
|
15265
|
-
},
|
|
15265
|
+
}, Yp = [s6, N6, S6, R6, f6, A6, x6, d6, k6, O6, u6];
|
|
15266
15266
|
function F6(e) {
|
|
15267
15267
|
var t;
|
|
15268
15268
|
(e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
|
|
15269
15269
|
let n = {
|
|
15270
|
-
_features:
|
|
15270
|
+
_features: Yp
|
|
15271
15271
|
};
|
|
15272
15272
|
const r = n._features.reduce((u, c) => Object.assign(u, c.getDefaultOptions == null ? void 0 : c.getDefaultOptions(n)), {}), o = (u) => n.options.mergeOptions ? n.options.mergeOptions(r, u) : {
|
|
15273
15273
|
...r,
|
|
@@ -15283,7 +15283,7 @@ function F6(e) {
|
|
|
15283
15283
|
const i = [];
|
|
15284
15284
|
let l = !1;
|
|
15285
15285
|
const s = {
|
|
15286
|
-
_features:
|
|
15286
|
+
_features: Yp,
|
|
15287
15287
|
options: {
|
|
15288
15288
|
...r,
|
|
15289
15289
|
...e
|
|
@@ -15517,7 +15517,7 @@ function z6() {
|
|
|
15517
15517
|
*
|
|
15518
15518
|
* @license MIT
|
|
15519
15519
|
*/
|
|
15520
|
-
function
|
|
15520
|
+
function Xp(e, t) {
|
|
15521
15521
|
return e ? U6(e) ? /* @__PURE__ */ d.createElement(e, t) : e : null;
|
|
15522
15522
|
}
|
|
15523
15523
|
function U6(e) {
|
|
@@ -15622,7 +15622,7 @@ function K6(e, t) {
|
|
|
15622
15622
|
function Z6(e, t) {
|
|
15623
15623
|
return me(2, arguments), ce(e).getTime() - ce(t).getTime();
|
|
15624
15624
|
}
|
|
15625
|
-
var
|
|
15625
|
+
var Jp = {
|
|
15626
15626
|
ceil: Math.ceil,
|
|
15627
15627
|
round: Math.round,
|
|
15628
15628
|
floor: Math.floor,
|
|
@@ -15632,7 +15632,7 @@ var J1 = {
|
|
|
15632
15632
|
// Math.trunc is not supported by IE
|
|
15633
15633
|
}, Y6 = "trunc";
|
|
15634
15634
|
function X6(e) {
|
|
15635
|
-
return e ?
|
|
15635
|
+
return e ? Jp[e] : Jp[Y6];
|
|
15636
15636
|
}
|
|
15637
15637
|
function J6(e) {
|
|
15638
15638
|
me(1, arguments);
|
|
@@ -16284,7 +16284,7 @@ var Gr = {
|
|
|
16284
16284
|
return "Z";
|
|
16285
16285
|
switch (t) {
|
|
16286
16286
|
case "X":
|
|
16287
|
-
return
|
|
16287
|
+
return t1(a);
|
|
16288
16288
|
case "XXXX":
|
|
16289
16289
|
case "XX":
|
|
16290
16290
|
return mr(a);
|
|
@@ -16299,7 +16299,7 @@ var Gr = {
|
|
|
16299
16299
|
var o = r._originalDate || e, a = o.getTimezoneOffset();
|
|
16300
16300
|
switch (t) {
|
|
16301
16301
|
case "x":
|
|
16302
|
-
return
|
|
16302
|
+
return t1(a);
|
|
16303
16303
|
case "xxxx":
|
|
16304
16304
|
case "xx":
|
|
16305
16305
|
return mr(a);
|
|
@@ -16316,7 +16316,7 @@ var Gr = {
|
|
|
16316
16316
|
case "O":
|
|
16317
16317
|
case "OO":
|
|
16318
16318
|
case "OOO":
|
|
16319
|
-
return "GMT" +
|
|
16319
|
+
return "GMT" + e1(a, ":");
|
|
16320
16320
|
case "OOOO":
|
|
16321
16321
|
default:
|
|
16322
16322
|
return "GMT" + mr(a, ":");
|
|
@@ -16329,7 +16329,7 @@ var Gr = {
|
|
|
16329
16329
|
case "z":
|
|
16330
16330
|
case "zz":
|
|
16331
16331
|
case "zzz":
|
|
16332
|
-
return "GMT" +
|
|
16332
|
+
return "GMT" + e1(a, ":");
|
|
16333
16333
|
case "zzzz":
|
|
16334
16334
|
default:
|
|
16335
16335
|
return "GMT" + mr(a, ":");
|
|
@@ -16346,14 +16346,14 @@ var Gr = {
|
|
|
16346
16346
|
return fe(a, t.length);
|
|
16347
16347
|
}
|
|
16348
16348
|
};
|
|
16349
|
-
function
|
|
16349
|
+
function e1(e, t) {
|
|
16350
16350
|
var n = e > 0 ? "-" : "+", r = Math.abs(e), o = Math.floor(r / 60), a = r % 60;
|
|
16351
16351
|
if (a === 0)
|
|
16352
16352
|
return n + String(o);
|
|
16353
16353
|
var i = t || "";
|
|
16354
16354
|
return n + String(o) + i + fe(a, 2);
|
|
16355
16355
|
}
|
|
16356
|
-
function
|
|
16356
|
+
function t1(e, t) {
|
|
16357
16357
|
if (e % 60 === 0) {
|
|
16358
16358
|
var n = e > 0 ? "-" : "+";
|
|
16359
16359
|
return n + fe(Math.abs(e) / 60, 2);
|
|
@@ -16365,7 +16365,7 @@ function mr(e, t) {
|
|
|
16365
16365
|
return r + a + n + i;
|
|
16366
16366
|
}
|
|
16367
16367
|
const gC = pC;
|
|
16368
|
-
var
|
|
16368
|
+
var n1 = function(e, t) {
|
|
16369
16369
|
switch (e) {
|
|
16370
16370
|
case "P":
|
|
16371
16371
|
return t.date({
|
|
@@ -16408,7 +16408,7 @@ var np = function(e, t) {
|
|
|
16408
16408
|
}, mC = function(e, t) {
|
|
16409
16409
|
var n = e.match(/(P+)(p+)?/) || [], r = n[1], o = n[2];
|
|
16410
16410
|
if (!o)
|
|
16411
|
-
return
|
|
16411
|
+
return n1(e, t);
|
|
16412
16412
|
var a;
|
|
16413
16413
|
switch (r) {
|
|
16414
16414
|
case "P":
|
|
@@ -16433,7 +16433,7 @@ var np = function(e, t) {
|
|
|
16433
16433
|
});
|
|
16434
16434
|
break;
|
|
16435
16435
|
}
|
|
16436
|
-
return a.replace("{{date}}",
|
|
16436
|
+
return a.replace("{{date}}", n1(r, t)).replace("{{time}}", $2(o, t));
|
|
16437
16437
|
}, vC = {
|
|
16438
16438
|
p: $2,
|
|
16439
16439
|
P: mC
|
|
@@ -16446,7 +16446,7 @@ function CC(e) {
|
|
|
16446
16446
|
function xC(e) {
|
|
16447
16447
|
return wC.indexOf(e) !== -1;
|
|
16448
16448
|
}
|
|
16449
|
-
function
|
|
16449
|
+
function r1(e, t, n) {
|
|
16450
16450
|
if (e === "YYYY")
|
|
16451
16451
|
throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t, "`) for formatting years to the input `").concat(n, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
16452
16452
|
if (e === "YY")
|
|
@@ -16883,7 +16883,7 @@ function fx(e, t, n) {
|
|
|
16883
16883
|
return hx(ae);
|
|
16884
16884
|
var te = gC[de];
|
|
16885
16885
|
if (te)
|
|
16886
|
-
return !(n != null && n.useAdditionalWeekYearTokens) && xC(ae) &&
|
|
16886
|
+
return !(n != null && n.useAdditionalWeekYearTokens) && xC(ae) && r1(ae, t, String(e)), !(n != null && n.useAdditionalDayOfYearTokens) && CC(ae) && r1(ae, t, String(e)), te(J, ae, E.localize, oe);
|
|
16887
16887
|
if (de.match(dx))
|
|
16888
16888
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + de + "`");
|
|
16889
16889
|
return ae;
|
|
@@ -16904,7 +16904,7 @@ function T0(e, t) {
|
|
|
16904
16904
|
function I2(e) {
|
|
16905
16905
|
return T0({}, e);
|
|
16906
16906
|
}
|
|
16907
|
-
var
|
|
16907
|
+
var o1 = 1440, px = 2520, Xu = 43200, gx = 86400;
|
|
16908
16908
|
function mx(e, t, n) {
|
|
16909
16909
|
var r, o;
|
|
16910
16910
|
me(2, arguments);
|
|
@@ -16926,14 +16926,14 @@ function mx(e, t, n) {
|
|
|
16926
16926
|
return i.formatDistance("xMinutes", h, s);
|
|
16927
16927
|
if (h < 90)
|
|
16928
16928
|
return i.formatDistance("aboutXHours", 1, s);
|
|
16929
|
-
if (h <
|
|
16929
|
+
if (h < o1) {
|
|
16930
16930
|
var g = Math.round(h / 60);
|
|
16931
16931
|
return i.formatDistance("aboutXHours", g, s);
|
|
16932
16932
|
} else {
|
|
16933
16933
|
if (h < px)
|
|
16934
16934
|
return i.formatDistance("xDays", 1, s);
|
|
16935
16935
|
if (h < Xu) {
|
|
16936
|
-
var b = Math.round(h /
|
|
16936
|
+
var b = Math.round(h / o1);
|
|
16937
16937
|
return i.formatDistance("xDays", b, s);
|
|
16938
16938
|
} else if (h < gx)
|
|
16939
16939
|
return y = Math.round(h / Xu), i.formatDistance("aboutXMonths", y, s);
|
|
@@ -16946,7 +16946,7 @@ function mx(e, t, n) {
|
|
|
16946
16946
|
return v < 3 ? i.formatDistance("aboutXYears", w, s) : v < 9 ? i.formatDistance("overXYears", w, s) : i.formatDistance("almostXYears", w + 1, s);
|
|
16947
16947
|
}
|
|
16948
16948
|
}
|
|
16949
|
-
var
|
|
16949
|
+
var a1 = 1e3 * 60, rs = 60 * 24, i1 = rs * 30, l1 = rs * 365;
|
|
16950
16950
|
function vx(e, t, n) {
|
|
16951
16951
|
var r, o, a;
|
|
16952
16952
|
me(2, arguments);
|
|
@@ -16970,8 +16970,8 @@ function vx(e, t, n) {
|
|
|
16970
16970
|
h = Math.round;
|
|
16971
16971
|
else
|
|
16972
16972
|
throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");
|
|
16973
|
-
var y = f.getTime() - c.getTime(), g = y /
|
|
16974
|
-
if (v ? w = String(v) : g < 1 ? w = "second" : g < 60 ? w = "minute" : g < rs ? w = "hour" : m <
|
|
16973
|
+
var y = f.getTime() - c.getTime(), g = y / a1, b = Ka(f) - Ka(c), m = (y - b) / a1, v = n == null ? void 0 : n.unit, w;
|
|
16974
|
+
if (v ? w = String(v) : g < 1 ? w = "second" : g < 60 ? w = "minute" : g < rs ? w = "hour" : m < i1 ? w = "day" : m < l1 ? w = "month" : w = "year", w === "second") {
|
|
16975
16975
|
var C = h(y / 1e3);
|
|
16976
16976
|
return l.formatDistance("xSeconds", C, u);
|
|
16977
16977
|
} else if (w === "minute") {
|
|
@@ -16984,10 +16984,10 @@ function vx(e, t, n) {
|
|
|
16984
16984
|
var E = h(m / rs);
|
|
16985
16985
|
return l.formatDistance("xDays", E, u);
|
|
16986
16986
|
} else if (w === "month") {
|
|
16987
|
-
var R = h(m /
|
|
16987
|
+
var R = h(m / i1);
|
|
16988
16988
|
return R === 12 && v !== "month" ? l.formatDistance("xYears", 1, u) : l.formatDistance("xMonths", R, u);
|
|
16989
16989
|
} else if (w === "year") {
|
|
16990
|
-
var L = h(m /
|
|
16990
|
+
var L = h(m / l1);
|
|
16991
16991
|
return l.formatDistance("xYears", L, u);
|
|
16992
16992
|
}
|
|
16993
16993
|
throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'");
|
|
@@ -16996,9 +16996,9 @@ function yx(e, t) {
|
|
|
16996
16996
|
return me(1, arguments), mx(e, Date.now(), t);
|
|
16997
16997
|
}
|
|
16998
16998
|
const $d = /* @__PURE__ */ new Map(), Ju = /* @__PURE__ */ new WeakMap();
|
|
16999
|
-
let
|
|
16999
|
+
let s1 = 0, bx;
|
|
17000
17000
|
function wx(e) {
|
|
17001
|
-
return e ? (Ju.has(e) || (
|
|
17001
|
+
return e ? (Ju.has(e) || (s1 += 1, Ju.set(e, s1.toString())), Ju.get(e)) : "0";
|
|
17002
17002
|
}
|
|
17003
17003
|
function Cx(e) {
|
|
17004
17004
|
return Object.keys(e).sort().filter((t) => e[t] !== void 0).map((t) => `${t}_${t === "root" ? wx(e.root) : e[t]}`).toString();
|
|
@@ -17288,7 +17288,7 @@ function H2(e) {
|
|
|
17288
17288
|
return Or(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
17289
17289
|
}
|
|
17290
17290
|
const Nx = Tx, Fx = _x;
|
|
17291
|
-
var
|
|
17291
|
+
var u1 = function(e) {
|
|
17292
17292
|
var t = e.className, n = h8(e, ["className"]);
|
|
17293
17293
|
return /* @__PURE__ */ k(Nx, { className: No("flex h-4 w-4 cursor-pointer rounded-sm border shadow-sm", t, {
|
|
17294
17294
|
"border-slate-300 hover:border-slate-500 hover:bg-slate-100": !n.checked,
|
|
@@ -17386,7 +17386,7 @@ function Bo(e) {
|
|
|
17386
17386
|
function L0(e) {
|
|
17387
17387
|
return e === "y" ? "height" : "width";
|
|
17388
17388
|
}
|
|
17389
|
-
function
|
|
17389
|
+
function c1(e, t, n) {
|
|
17390
17390
|
let { reference: r, floating: o } = e;
|
|
17391
17391
|
const a = r.x + r.width / 2 - o.width / 2, i = r.y + r.height / 2 - o.height / 2, l = Bo(t), s = L0(l), u = r[s] / 2 - o[s] / 2, c = l === "x";
|
|
17392
17392
|
let f;
|
|
@@ -17417,10 +17417,10 @@ function cp(e, t, n) {
|
|
|
17417
17417
|
}
|
|
17418
17418
|
const Wx = async (e, t, n) => {
|
|
17419
17419
|
const { placement: r = "bottom", strategy: o = "absolute", middleware: a = [], platform: i } = n, l = await (i.isRTL == null ? void 0 : i.isRTL(t));
|
|
17420
|
-
let s = await i.getElementRects({ reference: e, floating: t, strategy: o }), { x: u, y: c } =
|
|
17420
|
+
let s = await i.getElementRects({ reference: e, floating: t, strategy: o }), { x: u, y: c } = c1(s, r, l), f = r, p = {}, h = 0;
|
|
17421
17421
|
for (let y = 0; y < a.length; y++) {
|
|
17422
17422
|
const { name: g, fn: b } = a[y], { x: m, y: v, data: w, reset: C } = await b({ x: u, y: c, initialPlacement: r, placement: f, strategy: o, middlewareData: p, rects: s, platform: i, elements: { reference: e, floating: t } });
|
|
17423
|
-
u = m ?? u, c = v ?? c, p = { ...p, [g]: { ...p[g], ...w } }, C && h <= 50 && (h++, typeof C == "object" && (C.placement && (f = C.placement), C.rects && (s = C.rects === !0 ? await i.getElementRects({ reference: e, floating: t, strategy: o }) : C.rects), { x: u, y: c } =
|
|
17423
|
+
u = m ?? u, c = v ?? c, p = { ...p, [g]: { ...p[g], ...w } }, C && h <= 50 && (h++, typeof C == "object" && (C.placement && (f = C.placement), C.rects && (s = C.rects === !0 ? await i.getElementRects({ reference: e, floating: t, strategy: o }) : C.rects), { x: u, y: c } = c1(s, f, l)), y = -1);
|
|
17424
17424
|
}
|
|
17425
17425
|
return { x: u, y: c, placement: f, strategy: o, middlewareData: p };
|
|
17426
17426
|
};
|
|
@@ -17442,7 +17442,7 @@ const Gx = Math.min, vr = Math.max;
|
|
|
17442
17442
|
function Hd(e, t, n) {
|
|
17443
17443
|
return vr(e, Gx(t, n));
|
|
17444
17444
|
}
|
|
17445
|
-
const
|
|
17445
|
+
const d1 = (e) => ({ name: "arrow", options: e, async fn(t) {
|
|
17446
17446
|
const { element: n, padding: r = 0 } = e ?? {}, { x: o, y: a, placement: i, rects: l, platform: s } = t;
|
|
17447
17447
|
if (n == null)
|
|
17448
17448
|
return {};
|
|
@@ -17462,7 +17462,7 @@ function Zx(e, t, n) {
|
|
|
17462
17462
|
return t.reference[a] > t.floating[a] && (i = is(i)), { main: i, cross: is(i) };
|
|
17463
17463
|
}
|
|
17464
17464
|
const Yx = { start: "end", end: "start" };
|
|
17465
|
-
function
|
|
17465
|
+
function f1(e) {
|
|
17466
17466
|
return e.replace(/start|end/g, (t) => Yx[t]);
|
|
17467
17467
|
}
|
|
17468
17468
|
const K2 = ["top", "right", "bottom", "left"];
|
|
@@ -17472,7 +17472,7 @@ const Xx = function(e) {
|
|
|
17472
17472
|
var n;
|
|
17473
17473
|
const { placement: r, middlewareData: o, rects: a, initialPlacement: i, platform: l, elements: s } = t, { mainAxis: u = !0, crossAxis: c = !0, fallbackPlacements: f, fallbackStrategy: p = "bestFit", flipAlignment: h = !0, ...y } = e, g = Vr(r), b = f || (g === i || !h ? [is(i)] : function(R) {
|
|
17474
17474
|
const L = is(R);
|
|
17475
|
-
return [
|
|
17475
|
+
return [f1(R), L, f1(L)];
|
|
17476
17476
|
}(i)), m = [i, ...b], v = await Za(t, y), w = [];
|
|
17477
17477
|
let C = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
17478
17478
|
if (u && w.push(v[g]), c) {
|
|
@@ -17501,10 +17501,10 @@ const Xx = function(e) {
|
|
|
17501
17501
|
return {};
|
|
17502
17502
|
} };
|
|
17503
17503
|
};
|
|
17504
|
-
function
|
|
17504
|
+
function h1(e, t) {
|
|
17505
17505
|
return { top: e.top - t.height, right: e.right - t.width, bottom: e.bottom - t.height, left: e.left - t.width };
|
|
17506
17506
|
}
|
|
17507
|
-
function
|
|
17507
|
+
function p1(e) {
|
|
17508
17508
|
return K2.some((t) => e[t] >= 0);
|
|
17509
17509
|
}
|
|
17510
17510
|
const Jx = function(e) {
|
|
@@ -17513,12 +17513,12 @@ const Jx = function(e) {
|
|
|
17513
17513
|
const { rects: o } = r;
|
|
17514
17514
|
switch (t) {
|
|
17515
17515
|
case "referenceHidden": {
|
|
17516
|
-
const a =
|
|
17517
|
-
return { data: { referenceHiddenOffsets: a, referenceHidden:
|
|
17516
|
+
const a = h1(await Za(r, { ...n, elementContext: "reference" }), o.reference);
|
|
17517
|
+
return { data: { referenceHiddenOffsets: a, referenceHidden: p1(a) } };
|
|
17518
17518
|
}
|
|
17519
17519
|
case "escaped": {
|
|
17520
|
-
const a =
|
|
17521
|
-
return { data: { escapedOffsets: a, escaped:
|
|
17520
|
+
const a = h1(await Za(r, { ...n, altBoundary: !0 }), o.floating);
|
|
17521
|
+
return { data: { escapedOffsets: a, escaped: p1(a) } };
|
|
17522
17522
|
}
|
|
17523
17523
|
default:
|
|
17524
17524
|
return {};
|
|
@@ -17620,14 +17620,14 @@ function Ws(e) {
|
|
|
17620
17620
|
function oE(e) {
|
|
17621
17621
|
return ["table", "td", "th"].includes(gn(e));
|
|
17622
17622
|
}
|
|
17623
|
-
function
|
|
17623
|
+
function g1(e) {
|
|
17624
17624
|
const t = /firefox/i.test(X2()), n = ci(e);
|
|
17625
17625
|
return n.transform !== "none" || n.perspective !== "none" || n.contain === "paint" || ["transform", "perspective"].includes(n.willChange) || t && n.willChange === "filter" || t && !!n.filter && n.filter !== "none";
|
|
17626
17626
|
}
|
|
17627
17627
|
function J2() {
|
|
17628
17628
|
return !/^((?!chrome|android).)*safari/i.test(X2());
|
|
17629
17629
|
}
|
|
17630
|
-
const
|
|
17630
|
+
const m1 = Math.min, Ea = Math.max, ls = Math.round;
|
|
17631
17631
|
function mn(e, t, n) {
|
|
17632
17632
|
var r, o, a, i;
|
|
17633
17633
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
@@ -17665,25 +17665,25 @@ function aE(e, t, n) {
|
|
|
17665
17665
|
function ty(e) {
|
|
17666
17666
|
return gn(e) === "html" ? e : e.assignedSlot || e.parentNode || (_0(e) ? e.host : null) || Yn(e);
|
|
17667
17667
|
}
|
|
17668
|
-
function
|
|
17668
|
+
function v1(e) {
|
|
17669
17669
|
return Jt(e) && getComputedStyle(e).position !== "fixed" ? e.offsetParent : null;
|
|
17670
17670
|
}
|
|
17671
17671
|
function Bd(e) {
|
|
17672
17672
|
const t = Rn(e);
|
|
17673
|
-
let n =
|
|
17673
|
+
let n = v1(e);
|
|
17674
17674
|
for (; n && oE(n) && getComputedStyle(n).position === "static"; )
|
|
17675
|
-
n =
|
|
17676
|
-
return n && (gn(n) === "html" || gn(n) === "body" && getComputedStyle(n).position === "static" && !
|
|
17675
|
+
n = v1(n);
|
|
17676
|
+
return n && (gn(n) === "html" || gn(n) === "body" && getComputedStyle(n).position === "static" && !g1(n)) ? t : n || function(r) {
|
|
17677
17677
|
let o = ty(r);
|
|
17678
17678
|
for (_0(o) && (o = o.host); Jt(o) && !["html", "body"].includes(gn(o)); ) {
|
|
17679
|
-
if (
|
|
17679
|
+
if (g1(o))
|
|
17680
17680
|
return o;
|
|
17681
17681
|
o = o.parentNode;
|
|
17682
17682
|
}
|
|
17683
17683
|
return null;
|
|
17684
17684
|
}(e) || t;
|
|
17685
17685
|
}
|
|
17686
|
-
function
|
|
17686
|
+
function y1(e) {
|
|
17687
17687
|
if (Jt(e))
|
|
17688
17688
|
return { width: e.offsetWidth, height: e.offsetHeight };
|
|
17689
17689
|
const t = mn(e);
|
|
@@ -17699,7 +17699,7 @@ function ss(e, t) {
|
|
|
17699
17699
|
const r = ny(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = Rn(r), i = o ? [a].concat(a.visualViewport || [], Ws(r) ? r : []) : r, l = t.concat(i);
|
|
17700
17700
|
return o ? l : l.concat(ss(i));
|
|
17701
17701
|
}
|
|
17702
|
-
function
|
|
17702
|
+
function b1(e, t, n) {
|
|
17703
17703
|
return t === "viewport" ? as(function(r, o) {
|
|
17704
17704
|
const a = Rn(r), i = Yn(r), l = a.visualViewport;
|
|
17705
17705
|
let s = i.clientWidth, u = i.clientHeight, c = 0, f = 0;
|
|
@@ -17740,9 +17740,9 @@ function iE(e) {
|
|
|
17740
17740
|
const lE = { getClippingRect: function(e) {
|
|
17741
17741
|
let { element: t, boundary: n, rootBoundary: r, strategy: o } = e;
|
|
17742
17742
|
const a = [...n === "clippingAncestors" ? iE(t) : [].concat(n), r], i = a[0], l = a.reduce((s, u) => {
|
|
17743
|
-
const c =
|
|
17744
|
-
return s.top = Ea(c.top, s.top), s.right =
|
|
17745
|
-
},
|
|
17743
|
+
const c = b1(t, u, o);
|
|
17744
|
+
return s.top = Ea(c.top, s.top), s.right = m1(c.right, s.right), s.bottom = m1(c.bottom, s.bottom), s.left = Ea(c.left, s.left), s;
|
|
17745
|
+
}, b1(t, i, o));
|
|
17746
17746
|
return { width: l.right - l.left, height: l.bottom - l.top, x: l.left, y: l.top };
|
|
17747
17747
|
}, convertOffsetParentRelativeRectToViewportRelativeRect: function(e) {
|
|
17748
17748
|
let { rect: t, offsetParent: n, strategy: r } = e;
|
|
@@ -17756,9 +17756,9 @@ const lE = { getClippingRect: function(e) {
|
|
|
17756
17756
|
l.x = s.x + n.clientLeft, l.y = s.y + n.clientTop;
|
|
17757
17757
|
}
|
|
17758
17758
|
return { ...t, x: t.x - i.scrollLeft + l.x, y: t.y - i.scrollTop + l.y };
|
|
17759
|
-
}, isElement: ar, getDimensions:
|
|
17759
|
+
}, isElement: ar, getDimensions: y1, getOffsetParent: Bd, getDocumentElement: Yn, getElementRects: (e) => {
|
|
17760
17760
|
let { reference: t, floating: n, strategy: r } = e;
|
|
17761
|
-
return { reference: aE(t, Bd(n), r), floating: { ...
|
|
17761
|
+
return { reference: aE(t, Bd(n), r), floating: { ...y1(n), x: 0, y: 0 } };
|
|
17762
17762
|
}, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => ci(e).direction === "rtl" };
|
|
17763
17763
|
function sE(e, t, n, r) {
|
|
17764
17764
|
r === void 0 && (r = {});
|
|
@@ -17903,10 +17903,10 @@ const fE = (e) => {
|
|
|
17903
17903
|
name: "arrow",
|
|
17904
17904
|
options: e,
|
|
17905
17905
|
fn(o) {
|
|
17906
|
-
return r(t) ? t.current != null ?
|
|
17906
|
+
return r(t) ? t.current != null ? d1({
|
|
17907
17907
|
element: t.current,
|
|
17908
17908
|
padding: n
|
|
17909
|
-
}).fn(o) : {} : t ?
|
|
17909
|
+
}).fn(o) : {} : t ? d1({
|
|
17910
17910
|
element: t,
|
|
17911
17911
|
padding: n
|
|
17912
17912
|
}).fn(o) : {};
|
|
@@ -18235,8 +18235,8 @@ const iy = mE, ly = yE, sy = EE, TE = RE, [Zs, lT] = Lt("Tooltip", [
|
|
|
18235
18235
|
onClose: x,
|
|
18236
18236
|
disableHoverableContent: y
|
|
18237
18237
|
}, n));
|
|
18238
|
-
},
|
|
18239
|
-
const { __scopeTooltip: n, ...r } = e, o = di(
|
|
18238
|
+
}, w1 = "TooltipTrigger", $E = /* @__PURE__ */ d.forwardRef((e, t) => {
|
|
18239
|
+
const { __scopeTooltip: n, ...r } = e, o = di(w1, n), a = N0(w1, n), i = Ys(n), l = d.useRef(null), s = Re(t, l, o.onTriggerChange), u = d.useRef(!1), c = d.useRef(!1), f = d.useCallback(
|
|
18240
18240
|
() => u.current = !1,
|
|
18241
18241
|
[]
|
|
18242
18242
|
);
|
|
@@ -18494,7 +18494,7 @@ var dy = function(e) {
|
|
|
18494
18494
|
] }) })
|
|
18495
18495
|
] }) });
|
|
18496
18496
|
};
|
|
18497
|
-
const ec = "focusScope.autoFocusOnMount", tc = "focusScope.autoFocusOnUnmount",
|
|
18497
|
+
const ec = "focusScope.autoFocusOnMount", tc = "focusScope.autoFocusOnUnmount", C1 = {
|
|
18498
18498
|
bubbles: !1,
|
|
18499
18499
|
cancelable: !0
|
|
18500
18500
|
}, fy = /* @__PURE__ */ d.forwardRef((e, t) => {
|
|
@@ -18534,20 +18534,20 @@ const ec = "focusScope.autoFocusOnMount", tc = "focusScope.autoFocusOnUnmount",
|
|
|
18534
18534
|
h.paused
|
|
18535
18535
|
]), d.useEffect(() => {
|
|
18536
18536
|
if (l) {
|
|
18537
|
-
|
|
18537
|
+
E1.add(h);
|
|
18538
18538
|
const g = document.activeElement;
|
|
18539
18539
|
if (!l.contains(g)) {
|
|
18540
|
-
const b = new CustomEvent(ec,
|
|
18540
|
+
const b = new CustomEvent(ec, C1);
|
|
18541
18541
|
l.addEventListener(ec, u), l.dispatchEvent(b), b.defaultPrevented || (aS(cS(hy(l)), {
|
|
18542
18542
|
select: !0
|
|
18543
18543
|
}), document.activeElement === g && yr(l));
|
|
18544
18544
|
}
|
|
18545
18545
|
return () => {
|
|
18546
18546
|
l.removeEventListener(ec, u), setTimeout(() => {
|
|
18547
|
-
const b = new CustomEvent(tc,
|
|
18547
|
+
const b = new CustomEvent(tc, C1);
|
|
18548
18548
|
l.addEventListener(tc, c), l.dispatchEvent(b), b.defaultPrevented || yr(g ?? document.body, {
|
|
18549
18549
|
select: !0
|
|
18550
|
-
}), l.removeEventListener(tc, c),
|
|
18550
|
+
}), l.removeEventListener(tc, c), E1.remove(h);
|
|
18551
18551
|
}, 0);
|
|
18552
18552
|
};
|
|
18553
18553
|
}
|
|
@@ -18590,7 +18590,7 @@ function aS(e, { select: t = !1 } = {}) {
|
|
|
18590
18590
|
return;
|
|
18591
18591
|
}
|
|
18592
18592
|
function iS(e) {
|
|
18593
|
-
const t = hy(e), n =
|
|
18593
|
+
const t = hy(e), n = x1(t, e), r = x1(t.reverse(), e);
|
|
18594
18594
|
return [
|
|
18595
18595
|
n,
|
|
18596
18596
|
r
|
|
@@ -18607,7 +18607,7 @@ function hy(e) {
|
|
|
18607
18607
|
t.push(n.currentNode);
|
|
18608
18608
|
return t;
|
|
18609
18609
|
}
|
|
18610
|
-
function
|
|
18610
|
+
function x1(e, t) {
|
|
18611
18611
|
for (const n of e)
|
|
18612
18612
|
if (!lS(n, {
|
|
18613
18613
|
upTo: t
|
|
@@ -18637,21 +18637,21 @@ function yr(e, { select: t = !1 } = {}) {
|
|
|
18637
18637
|
}), e !== n && sS(e) && t && e.select();
|
|
18638
18638
|
}
|
|
18639
18639
|
}
|
|
18640
|
-
const
|
|
18640
|
+
const E1 = uS();
|
|
18641
18641
|
function uS() {
|
|
18642
18642
|
let e = [];
|
|
18643
18643
|
return {
|
|
18644
18644
|
add(t) {
|
|
18645
18645
|
const n = e[0];
|
|
18646
|
-
t !== n && (n == null || n.pause()), e =
|
|
18646
|
+
t !== n && (n == null || n.pause()), e = S1(e, t), e.unshift(t);
|
|
18647
18647
|
},
|
|
18648
18648
|
remove(t) {
|
|
18649
18649
|
var n;
|
|
18650
|
-
e =
|
|
18650
|
+
e = S1(e, t), (n = e[0]) === null || n === void 0 || n.resume();
|
|
18651
18651
|
}
|
|
18652
18652
|
};
|
|
18653
18653
|
}
|
|
18654
|
-
function
|
|
18654
|
+
function S1(e, t) {
|
|
18655
18655
|
const n = [
|
|
18656
18656
|
...e
|
|
18657
18657
|
], r = n.indexOf(t);
|
|
@@ -18667,14 +18667,14 @@ function py() {
|
|
|
18667
18667
|
d.useEffect(() => {
|
|
18668
18668
|
var e, t;
|
|
18669
18669
|
const n = document.querySelectorAll("[data-radix-focus-guard]");
|
|
18670
|
-
return document.body.insertAdjacentElement("afterbegin", (e = n[0]) !== null && e !== void 0 ? e :
|
|
18670
|
+
return document.body.insertAdjacentElement("afterbegin", (e = n[0]) !== null && e !== void 0 ? e : k1()), document.body.insertAdjacentElement("beforeend", (t = n[1]) !== null && t !== void 0 ? t : k1()), nc++, () => {
|
|
18671
18671
|
nc === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach(
|
|
18672
18672
|
(r) => r.remove()
|
|
18673
18673
|
), nc--;
|
|
18674
18674
|
};
|
|
18675
18675
|
}, []);
|
|
18676
18676
|
}
|
|
18677
|
-
function
|
|
18677
|
+
function k1() {
|
|
18678
18678
|
const e = document.createElement("span");
|
|
18679
18679
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.cssText = "outline: none; opacity: 0; position: fixed; pointer-events: none", e;
|
|
18680
18680
|
}
|
|
@@ -18972,7 +18972,7 @@ var Kr = Gd ? { passive: !1 } : !1, _S = function(e) {
|
|
|
18972
18972
|
return by(e, "overflowY");
|
|
18973
18973
|
}, NS = function(e) {
|
|
18974
18974
|
return by(e, "overflowX");
|
|
18975
|
-
},
|
|
18975
|
+
}, R1 = function(e, t) {
|
|
18976
18976
|
var n = t;
|
|
18977
18977
|
do {
|
|
18978
18978
|
typeof ShadowRoot < "u" && n instanceof ShadowRoot && (n = n.host);
|
|
@@ -19018,9 +19018,9 @@ var Kr = Gd ? { passive: !1 } : !1, _S = function(e) {
|
|
|
19018
19018
|
return (c && (o && f === 0 || !o && i > f) || !c && (o && p === 0 || !o && -i > p)) && (u = !0), u;
|
|
19019
19019
|
}, Ki = function(e) {
|
|
19020
19020
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
19021
|
-
},
|
|
19021
|
+
}, O1 = function(e) {
|
|
19022
19022
|
return [e.deltaX, e.deltaY];
|
|
19023
|
-
},
|
|
19023
|
+
}, P1 = function(e) {
|
|
19024
19024
|
return e && "current" in e ? e.current : e;
|
|
19025
19025
|
}, zS = function(e, t) {
|
|
19026
19026
|
return e[0] === t[0] && e[1] === t[1];
|
|
@@ -19039,7 +19039,7 @@ function HS(e) {
|
|
|
19039
19039
|
}, [e]), d.useEffect(function() {
|
|
19040
19040
|
if (e.inert) {
|
|
19041
19041
|
document.body.classList.add("block-interactivity-".concat(o));
|
|
19042
|
-
var g = dS([e.lockRef.current], (e.shards || []).map(
|
|
19042
|
+
var g = dS([e.lockRef.current], (e.shards || []).map(P1), !0).filter(Boolean);
|
|
19043
19043
|
return g.forEach(function(b) {
|
|
19044
19044
|
return b.classList.add("allow-interactivity-".concat(o));
|
|
19045
19045
|
}), function() {
|
|
@@ -19055,10 +19055,10 @@ function HS(e) {
|
|
|
19055
19055
|
var m = Ki(g), v = n.current, w = "deltaX" in g ? g.deltaX : v[0] - m[0], C = "deltaY" in g ? g.deltaY : v[1] - m[1], x, S = g.target, E = Math.abs(w) > Math.abs(C) ? "h" : "v";
|
|
19056
19056
|
if ("touches" in g && E === "h" && S.type === "range")
|
|
19057
19057
|
return !1;
|
|
19058
|
-
var R =
|
|
19058
|
+
var R = R1(E, S);
|
|
19059
19059
|
if (!R)
|
|
19060
19060
|
return !0;
|
|
19061
|
-
if (R ? x = E : (x = E === "v" ? "h" : "v", R =
|
|
19061
|
+
if (R ? x = E : (x = E === "v" ? "h" : "v", R = R1(E, S)), !R)
|
|
19062
19062
|
return !1;
|
|
19063
19063
|
if (!r.current && "changedTouches" in g && (w || C) && (r.current = x), !x)
|
|
19064
19064
|
return !0;
|
|
@@ -19067,7 +19067,7 @@ function HS(e) {
|
|
|
19067
19067
|
}, []), s = d.useCallback(function(g) {
|
|
19068
19068
|
var b = g;
|
|
19069
19069
|
if (!(!Zr.length || Zr[Zr.length - 1] !== a)) {
|
|
19070
|
-
var m = "deltaY" in b ?
|
|
19070
|
+
var m = "deltaY" in b ? O1(b) : Ki(b), v = t.current.filter(function(x) {
|
|
19071
19071
|
return x.name === b.type && x.target === b.target && zS(x.delta, m);
|
|
19072
19072
|
})[0];
|
|
19073
19073
|
if (v && v.should) {
|
|
@@ -19075,7 +19075,7 @@ function HS(e) {
|
|
|
19075
19075
|
return;
|
|
19076
19076
|
}
|
|
19077
19077
|
if (!v) {
|
|
19078
|
-
var w = (i.current.shards || []).map(
|
|
19078
|
+
var w = (i.current.shards || []).map(P1).filter(Boolean).filter(function(x) {
|
|
19079
19079
|
return x.contains(b.target);
|
|
19080
19080
|
}), C = w.length > 0 ? l(b, w[0]) : !i.current.noIsolation;
|
|
19081
19081
|
C && b.cancelable && b.preventDefault();
|
|
@@ -19091,7 +19091,7 @@ function HS(e) {
|
|
|
19091
19091
|
}, []), c = d.useCallback(function(g) {
|
|
19092
19092
|
n.current = Ki(g), r.current = void 0;
|
|
19093
19093
|
}, []), f = d.useCallback(function(g) {
|
|
19094
|
-
u(g.type,
|
|
19094
|
+
u(g.type, O1(g), g.target, l(g, e.lockRef.current));
|
|
19095
19095
|
}, []), p = d.useCallback(function(g) {
|
|
19096
19096
|
u(g.type, Ki(g), g.target, l(g, e.lockRef.current));
|
|
19097
19097
|
}, []);
|
|
@@ -19398,14 +19398,14 @@ function _y(e) {
|
|
|
19398
19398
|
var t = gk(e, "string");
|
|
19399
19399
|
return xn(t) === "symbol" ? t : String(t);
|
|
19400
19400
|
}
|
|
19401
|
-
function
|
|
19401
|
+
function M1(e, t) {
|
|
19402
19402
|
for (var n = 0; n < t.length; n++) {
|
|
19403
19403
|
var r = t[n];
|
|
19404
19404
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, _y(r.key), r);
|
|
19405
19405
|
}
|
|
19406
19406
|
}
|
|
19407
19407
|
function B0(e, t, n) {
|
|
19408
|
-
return t &&
|
|
19408
|
+
return t && M1(e.prototype, t), n && M1(e, n), Object.defineProperty(e, "prototype", {
|
|
19409
19409
|
writable: !1
|
|
19410
19410
|
}), e;
|
|
19411
19411
|
}
|
|
@@ -19630,15 +19630,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
19630
19630
|
function Mk(e, t) {
|
|
19631
19631
|
if (e) {
|
|
19632
19632
|
if (typeof e == "string")
|
|
19633
|
-
return
|
|
19633
|
+
return D1(e, t);
|
|
19634
19634
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
19635
19635
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set")
|
|
19636
19636
|
return Array.from(e);
|
|
19637
19637
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
19638
|
-
return
|
|
19638
|
+
return D1(e, t);
|
|
19639
19639
|
}
|
|
19640
19640
|
}
|
|
19641
|
-
function
|
|
19641
|
+
function D1(e, t) {
|
|
19642
19642
|
(t == null || t > e.length) && (t = e.length);
|
|
19643
19643
|
for (var n = 0, r = new Array(t); n < t; n++)
|
|
19644
19644
|
r[n] = e[n];
|
|
@@ -19794,7 +19794,7 @@ _t($y, "propTypes", {
|
|
|
19794
19794
|
renderChildNodes: O.func.isRequired,
|
|
19795
19795
|
nodeType: O.string.isRequired
|
|
19796
19796
|
});
|
|
19797
|
-
function
|
|
19797
|
+
function T1(e, t) {
|
|
19798
19798
|
var n = Object.keys(e);
|
|
19799
19799
|
if (Object.getOwnPropertySymbols) {
|
|
19800
19800
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -19804,12 +19804,12 @@ function Tp(e, t) {
|
|
|
19804
19804
|
}
|
|
19805
19805
|
return n;
|
|
19806
19806
|
}
|
|
19807
|
-
function
|
|
19807
|
+
function L1(e) {
|
|
19808
19808
|
for (var t = 1; t < arguments.length; t++) {
|
|
19809
19809
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
19810
|
-
t % 2 ?
|
|
19810
|
+
t % 2 ? T1(Object(n), !0).forEach(function(r) {
|
|
19811
19811
|
_t(e, r, n[r]);
|
|
19812
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
19812
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T1(Object(n)).forEach(function(r) {
|
|
19813
19813
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
19814
19814
|
});
|
|
19815
19815
|
}
|
|
@@ -19901,7 +19901,7 @@ var fi = /* @__PURE__ */ function(e) {
|
|
|
19901
19901
|
}, {
|
|
19902
19902
|
key: "render",
|
|
19903
19903
|
value: function() {
|
|
19904
|
-
var r = this.props, o = r.getItemString, a = r.nodeTypeIndicator, i = r.nodeType, l = r.data, s = r.hideRoot, u = r.createItemString, c = r.styling, f = r.collectionLimit, p = r.keyPath, h = r.labelRenderer, y = r.expandable, g = this.state.expanded, b = g || s && this.props.level === 0 ? Iy(
|
|
19904
|
+
var r = this.props, o = r.getItemString, a = r.nodeTypeIndicator, i = r.nodeType, l = r.data, s = r.hideRoot, u = r.createItemString, c = r.styling, f = r.collectionLimit, p = r.keyPath, h = r.labelRenderer, y = r.expandable, g = this.state.expanded, b = g || s && this.props.level === 0 ? Iy(L1(L1({}, this.props), {}, {
|
|
19905
19905
|
level: this.props.level + 1
|
|
19906
19906
|
})) : null, m = /* @__PURE__ */ $.createElement("span", c("nestedNodeItemType", g), a), v = o(i, l, m, u(l, f), p), w = [p, i, g, y];
|
|
19907
19907
|
return s ? /* @__PURE__ */ $.createElement("li", c.apply(void 0, ["rootNode"].concat(w)), /* @__PURE__ */ $.createElement("ul", c.apply(void 0, ["rootNodeChildren"].concat(w)), b)) : /* @__PURE__ */ $.createElement("li", c.apply(void 0, ["nestedNode"].concat(w)), y && /* @__PURE__ */ $.createElement(jy, {
|
|
@@ -20014,15 +20014,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
20014
20014
|
function Qk(e, t) {
|
|
20015
20015
|
if (e) {
|
|
20016
20016
|
if (typeof e == "string")
|
|
20017
|
-
return
|
|
20017
|
+
return _1(e, t);
|
|
20018
20018
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
20019
20019
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set")
|
|
20020
20020
|
return Array.from(e);
|
|
20021
20021
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
20022
|
-
return
|
|
20022
|
+
return _1(e, t);
|
|
20023
20023
|
}
|
|
20024
20024
|
}
|
|
20025
|
-
function
|
|
20025
|
+
function _1(e, t) {
|
|
20026
20026
|
(t == null || t > e.length) && (t = e.length);
|
|
20027
20027
|
for (var n = 0, r = new Array(t); n < t; n++)
|
|
20028
20028
|
r[n] = e[n];
|
|
@@ -20077,7 +20077,7 @@ Vy.propTypes = {
|
|
|
20077
20077
|
};
|
|
20078
20078
|
const on = Vy;
|
|
20079
20079
|
var Zk = ["getItemString", "keyPath", "labelRenderer", "styling", "value", "valueRenderer", "isCustomNode"];
|
|
20080
|
-
function
|
|
20080
|
+
function A1(e, t) {
|
|
20081
20081
|
var n = Object.keys(e);
|
|
20082
20082
|
if (Object.getOwnPropertySymbols) {
|
|
20083
20083
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -20090,9 +20090,9 @@ function Ap(e, t) {
|
|
|
20090
20090
|
function sc(e) {
|
|
20091
20091
|
for (var t = 1; t < arguments.length; t++) {
|
|
20092
20092
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
20093
|
-
t % 2 ?
|
|
20093
|
+
t % 2 ? A1(Object(n), !0).forEach(function(r) {
|
|
20094
20094
|
_t(e, r, n[r]);
|
|
20095
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
20095
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A1(Object(n)).forEach(function(r) {
|
|
20096
20096
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
20097
20097
|
});
|
|
20098
20098
|
}
|
|
@@ -21090,16 +21090,16 @@ var Xd = {}, AR = {
|
|
|
21090
21090
|
}
|
|
21091
21091
|
}, jR = function(e) {
|
|
21092
21092
|
return !e || typeof e == "string" ? !1 : e instanceof Array || Array.isArray(e) || e.length >= 0 && (e.splice instanceof Function || Object.getOwnPropertyDescriptor(e, e.length - 1) && e.constructor.name !== "String");
|
|
21093
|
-
}, $R = jR, IR = Array.prototype.concat, zR = Array.prototype.slice,
|
|
21093
|
+
}, $R = jR, IR = Array.prototype.concat, zR = Array.prototype.slice, N1 = FR.exports = function(e) {
|
|
21094
21094
|
for (var t = [], n = 0, r = e.length; n < r; n++) {
|
|
21095
21095
|
var o = e[n];
|
|
21096
21096
|
$R(o) ? t = IR.call(t, zR.call(o)) : t.push(o);
|
|
21097
21097
|
}
|
|
21098
21098
|
return t;
|
|
21099
21099
|
};
|
|
21100
|
-
|
|
21100
|
+
N1.wrap = function(e) {
|
|
21101
21101
|
return function() {
|
|
21102
|
-
return e(
|
|
21102
|
+
return e(N1(arguments));
|
|
21103
21103
|
};
|
|
21104
21104
|
};
|
|
21105
21105
|
var Sa = NR, hi = Jd, Qy = Object.hasOwnProperty, Wy = /* @__PURE__ */ Object.create(null);
|
|
@@ -21979,7 +21979,7 @@ function nf(e, t) {
|
|
|
21979
21979
|
typeof e[n] != "number" && (e[n] = 0);
|
|
21980
21980
|
return e;
|
|
21981
21981
|
}
|
|
21982
|
-
var
|
|
21982
|
+
var F1 = He, aO = "Expected a function", j1 = "__lodash_placeholder__", Fr = 1, tu = 2, iO = 4, Mr = 8, ka = 16, So = 32, Xa = 64, Zy = 128, lO = 256, Yy = 512, $1 = 1 / 0, sO = 9007199254740991, uO = 17976931348623157e292, I1 = 0 / 0, cO = [
|
|
21983
21983
|
["ary", Zy],
|
|
21984
21984
|
["bind", Fr],
|
|
21985
21985
|
["bindKey", tu],
|
|
@@ -22049,17 +22049,17 @@ function AO(e) {
|
|
|
22049
22049
|
function Jy(e, t) {
|
|
22050
22050
|
for (var n = -1, r = e.length, o = 0, a = []; ++n < r; ) {
|
|
22051
22051
|
var i = e[n];
|
|
22052
|
-
(i === t || i ===
|
|
22052
|
+
(i === t || i === j1) && (e[n] = j1, a[o++] = n);
|
|
22053
22053
|
}
|
|
22054
22054
|
return a;
|
|
22055
22055
|
}
|
|
22056
|
-
var NO = Function.prototype, e5 = Object.prototype, dc = pi["__core-js_shared__"],
|
|
22056
|
+
var NO = Function.prototype, e5 = Object.prototype, dc = pi["__core-js_shared__"], z1 = function() {
|
|
22057
22057
|
var e = /[^.]+$/.exec(dc && dc.keys && dc.keys.IE_PROTO || "");
|
|
22058
22058
|
return e ? "Symbol(src)_1." + e : "";
|
|
22059
22059
|
}(), t5 = NO.toString, FO = e5.hasOwnProperty, n5 = e5.toString, jO = RegExp(
|
|
22060
22060
|
"^" + t5.call(FO).replace(pO, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
22061
|
-
), $O = Object.create, hs = Math.max, IO = Math.min,
|
|
22062
|
-
var e =
|
|
22061
|
+
), $O = Object.create, hs = Math.max, IO = Math.min, U1 = function() {
|
|
22062
|
+
var e = V1(Object, "defineProperty"), t = V1.name;
|
|
22063
22063
|
return t && t.length > 2 ? e : void 0;
|
|
22064
22064
|
}();
|
|
22065
22065
|
function zO(e) {
|
|
@@ -22201,7 +22201,7 @@ function GO(e, t, n, r, o, a, i, l) {
|
|
|
22201
22201
|
if (!s && typeof e != "function")
|
|
22202
22202
|
throw new TypeError(aO);
|
|
22203
22203
|
var u = r ? r.length : 0;
|
|
22204
|
-
if (u || (t &= ~(So | Xa), r = o = void 0), i = i === void 0 ? i : hs(
|
|
22204
|
+
if (u || (t &= ~(So | Xa), r = o = void 0), i = i === void 0 ? i : hs(H1(i), 0), l = l === void 0 ? l : H1(l), u -= o ? o.length : 0, t & Xa) {
|
|
22205
22205
|
var c = r, f = o;
|
|
22206
22206
|
r = o = void 0;
|
|
22207
22207
|
}
|
|
@@ -22227,7 +22227,7 @@ function o5(e) {
|
|
|
22227
22227
|
var t = e;
|
|
22228
22228
|
return t.placeholder;
|
|
22229
22229
|
}
|
|
22230
|
-
function
|
|
22230
|
+
function V1(e, t) {
|
|
22231
22231
|
var n = _O(e, t);
|
|
22232
22232
|
return UO(n) ? n : void 0;
|
|
22233
22233
|
}
|
|
@@ -22245,7 +22245,7 @@ function YO(e, t) {
|
|
|
22245
22245
|
return t = t ?? sO, !!t && (typeof e == "number" || EO.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
22246
22246
|
}
|
|
22247
22247
|
function XO(e) {
|
|
22248
|
-
return !!
|
|
22248
|
+
return !!z1 && z1 in e;
|
|
22249
22249
|
}
|
|
22250
22250
|
function JO(e, t) {
|
|
22251
22251
|
for (var n = e.length, r = IO(t.length, n), o = BO(e); r--; ) {
|
|
@@ -22254,9 +22254,9 @@ function JO(e, t) {
|
|
|
22254
22254
|
}
|
|
22255
22255
|
return e;
|
|
22256
22256
|
}
|
|
22257
|
-
var a5 =
|
|
22257
|
+
var a5 = U1 ? function(e, t, n) {
|
|
22258
22258
|
var r = t + "";
|
|
22259
|
-
return
|
|
22259
|
+
return U1(e, "toString", {
|
|
22260
22260
|
configurable: !0,
|
|
22261
22261
|
enumerable: !1,
|
|
22262
22262
|
value: lP(ZO(r, tP(KO(r), n)))
|
|
@@ -22303,13 +22303,13 @@ function oP(e) {
|
|
|
22303
22303
|
function aP(e) {
|
|
22304
22304
|
if (!e)
|
|
22305
22305
|
return e === 0 ? e : 0;
|
|
22306
|
-
if (e = iP(e), e === $
|
|
22306
|
+
if (e = iP(e), e === $1 || e === -$1) {
|
|
22307
22307
|
var t = e < 0 ? -1 : 1;
|
|
22308
22308
|
return t * uO;
|
|
22309
22309
|
}
|
|
22310
22310
|
return e === e ? e : 0;
|
|
22311
22311
|
}
|
|
22312
|
-
function
|
|
22312
|
+
function H1(e) {
|
|
22313
22313
|
var t = aP(e), n = t % 1;
|
|
22314
22314
|
return t === t ? n ? t - n : t : 0;
|
|
22315
22315
|
}
|
|
@@ -22317,7 +22317,7 @@ function iP(e) {
|
|
|
22317
22317
|
if (typeof e == "number")
|
|
22318
22318
|
return e;
|
|
22319
22319
|
if (oP(e))
|
|
22320
|
-
return
|
|
22320
|
+
return I1;
|
|
22321
22321
|
if (jo(e)) {
|
|
22322
22322
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
22323
22323
|
e = jo(t) ? t + "" : t;
|
|
@@ -22326,7 +22326,7 @@ function iP(e) {
|
|
|
22326
22326
|
return e === 0 ? e : +e;
|
|
22327
22327
|
e = e.replace(gO, "");
|
|
22328
22328
|
var n = wO.test(e);
|
|
22329
|
-
return n || xO.test(e) ? SO(e.slice(2), n ? 2 : 8) : bO.test(e) ?
|
|
22329
|
+
return n || xO.test(e) ? SO(e.slice(2), n ? 2 : 8) : bO.test(e) ? I1 : +e;
|
|
22330
22330
|
}
|
|
22331
22331
|
function lP(e) {
|
|
22332
22332
|
return function() {
|
|
@@ -22337,7 +22337,7 @@ function sP(e) {
|
|
|
22337
22337
|
return e;
|
|
22338
22338
|
}
|
|
22339
22339
|
X0.placeholder = {};
|
|
22340
|
-
var
|
|
22340
|
+
var B1 = X0;
|
|
22341
22341
|
function uP(e) {
|
|
22342
22342
|
var t = e[0], n = e[1], r = e[2], o, a, i;
|
|
22343
22343
|
return o = t * 1 + n * 0 + r * 1.13983, a = t * 1 + n * -0.39465 + r * -0.5806, i = t * 1 + n * 2.02311 + r * 0, o = Math.min(Math.max(0, o), 1), a = Math.min(Math.max(0, a), 1), i = Math.min(Math.max(0, i), 1), [o * 255, a * 255, i * 255];
|
|
@@ -22346,7 +22346,7 @@ function cP(e) {
|
|
|
22346
22346
|
var t = e[0] / 255, n = e[1] / 255, r = e[2] / 255, o = t * 0.299 + n * 0.587 + r * 0.114, a = t * -0.14713 + n * -0.28886 + r * 0.436, i = t * 0.615 + n * -0.51499 + r * -0.10001;
|
|
22347
22347
|
return [o, a, i];
|
|
22348
22348
|
}
|
|
22349
|
-
function
|
|
22349
|
+
function q1(e, t) {
|
|
22350
22350
|
var n = Object.keys(e);
|
|
22351
22351
|
if (Object.getOwnPropertySymbols) {
|
|
22352
22352
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -22359,19 +22359,19 @@ function qp(e, t) {
|
|
|
22359
22359
|
function ut(e) {
|
|
22360
22360
|
for (var t = 1; t < arguments.length; t++) {
|
|
22361
22361
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
22362
|
-
t % 2 ?
|
|
22362
|
+
t % 2 ? q1(Object(n), !0).forEach(function(r) {
|
|
22363
22363
|
_t(e, r, n[r]);
|
|
22364
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
22364
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q1(Object(n)).forEach(function(r) {
|
|
22365
22365
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
22366
22366
|
});
|
|
22367
22367
|
}
|
|
22368
22368
|
return e;
|
|
22369
22369
|
}
|
|
22370
|
-
var i5 = qy,
|
|
22370
|
+
var i5 = qy, Q1 = Object.keys(i5), dP = function(e) {
|
|
22371
22371
|
return e < 0.25 ? 1 : e < 0.5 ? 0.9 - e : 1.1 - e;
|
|
22372
22372
|
}, fP = function(e) {
|
|
22373
|
-
var t =
|
|
22374
|
-
return
|
|
22373
|
+
var t = F1(e), n = cP(t.array()), r = G0(n, 3), o = r[0], a = r[1], i = r[2], l = [dP(o), a, i], s = uP(l);
|
|
22374
|
+
return F1.rgb(s).hex();
|
|
22375
22375
|
}, Xr = function(e) {
|
|
22376
22376
|
return function(t) {
|
|
22377
22377
|
return {
|
|
@@ -22476,16 +22476,16 @@ var i5 = qy, Qp = Object.keys(i5), dP = function(e) {
|
|
|
22476
22476
|
return Object.keys(e).reduce(function(t, n) {
|
|
22477
22477
|
return t[n] = /^base/.test(n) ? fP(e[n]) : n === "scheme" ? e[n] + ":inverted" : e[n], t;
|
|
22478
22478
|
}, {});
|
|
22479
|
-
}, mP =
|
|
22479
|
+
}, mP = B1(function(e) {
|
|
22480
22480
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = t.defaultBase16, o = r === void 0 ? i5 : r, a = t.base16Themes, i = a === void 0 ? null : a, l = vP(n, i);
|
|
22481
22481
|
l && (n = ut(ut({}, l), n));
|
|
22482
|
-
for (var s =
|
|
22482
|
+
for (var s = Q1.reduce(function(g, b) {
|
|
22483
22483
|
return g[b] = n[b] || o[b], g;
|
|
22484
22484
|
}, {}), u = Object.keys(n).reduce(function(g, b) {
|
|
22485
|
-
return
|
|
22485
|
+
return Q1.indexOf(b) === -1 && (g[b] = n[b]), g;
|
|
22486
22486
|
}, {}), c = e(s), f = pP(u, c), p = arguments.length, h = new Array(p > 3 ? p - 3 : 0), y = 3; y < p; y++)
|
|
22487
22487
|
h[y - 3] = arguments[y];
|
|
22488
|
-
return
|
|
22488
|
+
return B1(gP, 2).apply(void 0, [f].concat(h));
|
|
22489
22489
|
}, 3), l5 = function(e) {
|
|
22490
22490
|
return !!e.extend;
|
|
22491
22491
|
}, vP = function(e, t) {
|
|
@@ -22521,7 +22521,7 @@ const bP = {
|
|
|
22521
22521
|
base0E: "#6c71c4",
|
|
22522
22522
|
base0F: "#d33682"
|
|
22523
22523
|
};
|
|
22524
|
-
function
|
|
22524
|
+
function W1(e, t) {
|
|
22525
22525
|
var n = Object.keys(e);
|
|
22526
22526
|
if (Object.getOwnPropertySymbols) {
|
|
22527
22527
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -22534,9 +22534,9 @@ function Wp(e, t) {
|
|
|
22534
22534
|
function Ge(e) {
|
|
22535
22535
|
for (var t = 1; t < arguments.length; t++) {
|
|
22536
22536
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
22537
|
-
t % 2 ?
|
|
22537
|
+
t % 2 ? W1(Object(n), !0).forEach(function(r) {
|
|
22538
22538
|
_t(e, r, n[r]);
|
|
22539
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
22539
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W1(Object(n)).forEach(function(r) {
|
|
22540
22540
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
22541
22541
|
});
|
|
22542
22542
|
}
|
|
@@ -22751,7 +22751,7 @@ function OP() {
|
|
|
22751
22751
|
return !1;
|
|
22752
22752
|
}
|
|
22753
22753
|
}
|
|
22754
|
-
function
|
|
22754
|
+
function G1(e, t) {
|
|
22755
22755
|
var n = Object.keys(e);
|
|
22756
22756
|
if (Object.getOwnPropertySymbols) {
|
|
22757
22757
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -22764,15 +22764,15 @@ function Gp(e, t) {
|
|
|
22764
22764
|
function wl(e) {
|
|
22765
22765
|
for (var t = 1; t < arguments.length; t++) {
|
|
22766
22766
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
22767
|
-
t % 2 ?
|
|
22767
|
+
t % 2 ? G1(Object(n), !0).forEach(function(r) {
|
|
22768
22768
|
_t(e, r, n[r]);
|
|
22769
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
22769
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G1(Object(n)).forEach(function(r) {
|
|
22770
22770
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
22771
22771
|
});
|
|
22772
22772
|
}
|
|
22773
22773
|
return e;
|
|
22774
22774
|
}
|
|
22775
|
-
var
|
|
22775
|
+
var K1 = function(e) {
|
|
22776
22776
|
return e;
|
|
22777
22777
|
}, PP = function(e, t, n) {
|
|
22778
22778
|
return n === 0;
|
|
@@ -22806,7 +22806,7 @@ function LP(e, t) {
|
|
|
22806
22806
|
};
|
|
22807
22807
|
})), e;
|
|
22808
22808
|
}
|
|
22809
|
-
function
|
|
22809
|
+
function Z1(e) {
|
|
22810
22810
|
var t = LP(e.theme, e);
|
|
22811
22811
|
return e.invertTheme && (t = yP(t)), {
|
|
22812
22812
|
styling: SP(t)
|
|
@@ -22817,7 +22817,7 @@ var ps = /* @__PURE__ */ function(e) {
|
|
|
22817
22817
|
var t = RP(n);
|
|
22818
22818
|
function n(r) {
|
|
22819
22819
|
var o;
|
|
22820
|
-
return H0(this, n), o = t.call(this, r), o.state =
|
|
22820
|
+
return H0(this, n), o = t.call(this, r), o.state = Z1(r), o;
|
|
22821
22821
|
}
|
|
22822
22822
|
return B0(n, [{
|
|
22823
22823
|
key: "UNSAFE_componentWillReceiveProps",
|
|
@@ -22825,7 +22825,7 @@ var ps = /* @__PURE__ */ function(e) {
|
|
|
22825
22825
|
var o = this;
|
|
22826
22826
|
["theme", "invertTheme"].find(function(a) {
|
|
22827
22827
|
return r[a] !== o.props[a];
|
|
22828
|
-
}) && this.setState(
|
|
22828
|
+
}) && this.setState(Z1(r));
|
|
22829
22829
|
}
|
|
22830
22830
|
}, {
|
|
22831
22831
|
key: "shouldComponentUpdate",
|
|
@@ -22867,8 +22867,8 @@ _t(ps, "defaultProps", {
|
|
|
22867
22867
|
keyPath: ["root"],
|
|
22868
22868
|
getItemString: MP,
|
|
22869
22869
|
labelRenderer: DP,
|
|
22870
|
-
valueRenderer:
|
|
22871
|
-
postprocessValue:
|
|
22870
|
+
valueRenderer: K1,
|
|
22871
|
+
postprocessValue: K1,
|
|
22872
22872
|
isCustomNode: TP,
|
|
22873
22873
|
collectionLimit: 50,
|
|
22874
22874
|
invertTheme: !0
|
|
@@ -23108,16 +23108,16 @@ const _P = [
|
|
|
23108
23108
|
}
|
|
23109
23109
|
}))
|
|
23110
23110
|
})))))));
|
|
23111
|
-
}), af = "MenuItem",
|
|
23111
|
+
}), af = "MenuItem", Y1 = "menu.itemSelect", KP = /* @__PURE__ */ d.forwardRef((e, t) => {
|
|
23112
23112
|
const { disabled: n = !1, onSelect: r, ...o } = e, a = d.useRef(null), i = eh(af, e.__scopeMenu), l = f5(af, e.__scopeMenu), s = Re(t, a), u = d.useRef(!1), c = () => {
|
|
23113
23113
|
const f = a.current;
|
|
23114
23114
|
if (!n && f) {
|
|
23115
|
-
const p = new CustomEvent(
|
|
23115
|
+
const p = new CustomEvent(Y1, {
|
|
23116
23116
|
bubbles: !0,
|
|
23117
23117
|
cancelable: !0
|
|
23118
23118
|
});
|
|
23119
23119
|
f.addEventListener(
|
|
23120
|
-
|
|
23120
|
+
Y1,
|
|
23121
23121
|
(h) => r == null ? void 0 : r(h),
|
|
23122
23122
|
{
|
|
23123
23123
|
once: !0
|
|
@@ -23456,20 +23456,20 @@ var m5 = function(e) {
|
|
|
23456
23456
|
id: "select",
|
|
23457
23457
|
header: function(e) {
|
|
23458
23458
|
var t = e.table;
|
|
23459
|
-
return /* @__PURE__ */ k(
|
|
23459
|
+
return /* @__PURE__ */ k(u1, { checked: t.getIsSomeRowsSelected() ? "indeterminate" : t.getIsAllRowsSelected(), onCheckedChange: function() {
|
|
23460
23460
|
t.toggleAllRowsSelected();
|
|
23461
23461
|
} });
|
|
23462
23462
|
},
|
|
23463
23463
|
cell: function(e) {
|
|
23464
23464
|
var t = e.row, n = e.table;
|
|
23465
|
-
return /* @__PURE__ */ k(
|
|
23465
|
+
return /* @__PURE__ */ k(u1, { className: n.getIsSomeRowsSelected() || n.getIsAllRowsSelected() ? "" : "opacity-0 transition group-hover:opacity-100", checked: t.getIsSomeSelected() ? "indeterminate" : t.getIsSelected(), onCheckedChange: t.getToggleSelectedHandler() });
|
|
23466
23466
|
}
|
|
23467
23467
|
}),
|
|
23468
23468
|
Ji.accessor("name", {
|
|
23469
23469
|
cell: function(e) {
|
|
23470
23470
|
return /* @__PURE__ */ I("div", { className: "flex w-full items-center space-x-2", children: [
|
|
23471
|
-
/* @__PURE__ */ k("span", { className: "max-w-fit
|
|
23472
|
-
/* @__PURE__ */ I("span", { className: "
|
|
23471
|
+
/* @__PURE__ */ k("span", { className: "max-w-fit grow basis-full truncate text-slate-900 dark:text-slate-200", children: e.cell.row.original.name }),
|
|
23472
|
+
/* @__PURE__ */ I("span", { className: "shrink truncate max-w-[20%] text-sm text-slate-500 dark:text-slate-400", children: [
|
|
23473
23473
|
"#",
|
|
23474
23474
|
e.cell.row.original.id
|
|
23475
23475
|
] })
|
|
@@ -23486,14 +23486,14 @@ var m5 = function(e) {
|
|
|
23486
23486
|
var t = e.row.original, n = t.createdAt, r = t.processedAt, o = t.finishedAt, a = t.status, i = t.retriedAt;
|
|
23487
23487
|
return /* @__PURE__ */ I("div", { className: "flex items-center space-x-3", children: [
|
|
23488
23488
|
/* @__PURE__ */ k(fc, { date: new Date(n), variant: "added" }),
|
|
23489
|
-
a === "waiting" ? /* @__PURE__ */ k(
|
|
23489
|
+
a === "waiting" ? /* @__PURE__ */ k(X1, {}) : null,
|
|
23490
23490
|
r ? /* @__PURE__ */ I(Ba, { children: [
|
|
23491
|
-
/* @__PURE__ */ k(
|
|
23491
|
+
/* @__PURE__ */ k(J1, { date: new Date(r), baseDate: new Date(n) }),
|
|
23492
23492
|
/* @__PURE__ */ k(fc, { date: new Date(r), variant: i ? "retried" : "processing" })
|
|
23493
23493
|
] }) : null,
|
|
23494
|
-
a === "active" ? /* @__PURE__ */ k(
|
|
23494
|
+
a === "active" ? /* @__PURE__ */ k(X1, {}) : null,
|
|
23495
23495
|
o && r ? /* @__PURE__ */ I(Ba, { children: [
|
|
23496
|
-
/* @__PURE__ */ k(
|
|
23496
|
+
/* @__PURE__ */ k(J1, { date: new Date(o), baseDate: new Date(r) }),
|
|
23497
23497
|
/* @__PURE__ */ k(fc, { date: new Date(o), variant: a === "failed" ? "failed" : "completed" })
|
|
23498
23498
|
] }) : null
|
|
23499
23499
|
] });
|
|
@@ -23536,14 +23536,14 @@ var m5 = function(e) {
|
|
|
23536
23536
|
/* @__PURE__ */ k("div", { className: "rounded-md border border-slate-200 shadow-sm dark:border-slate-700", children: o ? /* @__PURE__ */ k(Rx, {}) : /* @__PURE__ */ I("div", { children: [
|
|
23537
23537
|
p.getHeaderGroups().map(function(x, S) {
|
|
23538
23538
|
return /* @__PURE__ */ k("div", { className: "sticky top-0 grid grid-cols-[auto,350px,576px,1fr] rounded-t-md border-b border-slate-200 bg-slate-100/50 p-2 backdrop-blur-md dark:border-slate-700 dark:bg-slate-900/50", children: x.headers.map(function(E) {
|
|
23539
|
-
return /* @__PURE__ */ k("div", { className: "flex h-full items-center text-sm font-semibold text-slate-700 dark:text-slate-300 ".concat(S !== 0 ? "pr-10" : "pr-3"), children: E.isPlaceholder ? null :
|
|
23539
|
+
return /* @__PURE__ */ k("div", { className: "flex h-full items-center text-sm font-semibold text-slate-700 dark:text-slate-300 ".concat(S !== 0 ? "pr-10" : "pr-3"), children: E.isPlaceholder ? null : Xp(E.column.columnDef.header, E.getContext()) }, E.id);
|
|
23540
23540
|
}) }, x.id);
|
|
23541
23541
|
}),
|
|
23542
23542
|
p.getRowModel().rows.map(function(x, S) {
|
|
23543
23543
|
return /* @__PURE__ */ k(kx, { isLastRow: p.getRowModel().rows.length !== S + 1, isSelected: x.getIsSelected(), onClick: function() {
|
|
23544
23544
|
return m(x.original);
|
|
23545
23545
|
}, children: x.getVisibleCells().map(function(E, R) {
|
|
23546
|
-
return /* @__PURE__ */ k("div", { className: "flex h-full items-center ".concat(R !== 0 ? "pr-10" : "pr-3"), children:
|
|
23546
|
+
return /* @__PURE__ */ k("div", { className: "flex h-full items-center ".concat(R !== 0 ? "pr-10" : "pr-3"), children: Xp(E.column.columnDef.cell, E.getContext()) }, E.id);
|
|
23547
23547
|
}) }, x.id);
|
|
23548
23548
|
}),
|
|
23549
23549
|
!o && h ? /* @__PURE__ */ k("div", { className: "flex items-center justify-center py-10", children: /* @__PURE__ */ k("p", { className: "text-slate-500", children: "No jobs found" }) }) : null
|
|
@@ -23603,12 +23603,12 @@ var m5 = function(e) {
|
|
|
23603
23603
|
t === "failed" && /* @__PURE__ */ k(E0, { width: 14, height: 14, className: "rounded-full bg-red-50 text-red-900" }),
|
|
23604
23604
|
/* @__PURE__ */ k("p", { className: "text-slate-900 dark:text-slate-200", children: fx(n, "".concat(t === "added" ? "MM/dd " : "", "HH:mm:ss")) })
|
|
23605
23605
|
] }) });
|
|
23606
|
-
},
|
|
23606
|
+
}, X1 = function() {
|
|
23607
23607
|
return /* @__PURE__ */ I("div", { className: "flex items-center space-x-1.5", children: [
|
|
23608
23608
|
/* @__PURE__ */ k(Dd, { width: 14, height: 14, className: "text-slate-300" }),
|
|
23609
23609
|
/* @__PURE__ */ k(S0, { width: 14, height: 14, className: "animate-spin text-slate-300 dark:text-slate-600" })
|
|
23610
23610
|
] });
|
|
23611
|
-
},
|
|
23611
|
+
}, J1 = function(e) {
|
|
23612
23612
|
var t = e.date, n = e.baseDate;
|
|
23613
23613
|
return /* @__PURE__ */ I("div", { className: "flex items-center space-x-1.5", children: [
|
|
23614
23614
|
/* @__PURE__ */ k(Dd, { width: 14, height: 14, className: "text-slate-300" }),
|