@pie-players/pie-section-player-tools-shared 0.3.31 → 0.3.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +107 -107
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ if (typeof window < "u") {
|
|
|
2
2
|
var jn, qn;
|
|
3
3
|
((jn = (qn = window).__svelte ?? (qn.__svelte = {})).v ?? (jn.v = /* @__PURE__ */ new Set())).add("5");
|
|
4
4
|
}
|
|
5
|
-
var Wt = {}, K =
|
|
5
|
+
var Wt = {}, K = /* @__PURE__ */ Symbol();
|
|
6
6
|
var fi = Array.isArray, Ms = Array.prototype.indexOf, Lt = Array.prototype.includes, Rr = Array.from, zn = Object.keys, ui = Object.defineProperty, Ct = Object.getOwnPropertyDescriptor, Es = Object.getOwnPropertyDescriptors, Ts = Object.prototype, As = Array.prototype, ci = Object.getPrototypeOf, Dn = Object.isExtensible, wr = () => {
|
|
7
7
|
};
|
|
8
8
|
function Ps(e) {
|
|
@@ -48,7 +48,8 @@ function D(e, t, r) {
|
|
|
48
48
|
writable: !0
|
|
49
49
|
}) : e[t] = r, e;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Vo = 1 << 24, Se = 1024, Oe = 2048, St = 4096, pn = 8192, Os = 16384, gn = 32768, Fn = 1 << 25, Cr = 65536, Xo = 1 << 17, Uo = 1 << 18, Ht = 1 << 19, Is = 1 << 20, Zt = 1 << 25, ir = 65536, Hn = 1 << 21, Ns = 1 << 22, Sr = 1 << 23, br = /* @__PURE__ */ Symbol("$state"), vi = /* @__PURE__ */ Symbol("legacy props"), Ws = /* @__PURE__ */ Symbol(""), Ls = /* @__PURE__ */ Symbol("proxy path");
|
|
52
|
+
var Ue = new class extends Error {
|
|
52
53
|
constructor(...t) {
|
|
53
54
|
super(...t), D(this, "name", "StaleReactionError"), D(this, "message", "The reaction that called `getAbortSignal()` was re-run or destroyed");
|
|
54
55
|
}
|
|
@@ -213,14 +214,14 @@ function bi(e) {
|
|
|
213
214
|
var t = M;
|
|
214
215
|
if (t === null)
|
|
215
216
|
return A.f |= Sr, e;
|
|
216
|
-
if (
|
|
217
|
+
if ((t.f & 32768) === 0 && (t.f & 4) === 0)
|
|
217
218
|
throw e;
|
|
218
219
|
ot(e, t);
|
|
219
220
|
}
|
|
220
221
|
function ot(e, t) {
|
|
221
222
|
for (; t !== null; ) {
|
|
222
|
-
if (t.f & 128) {
|
|
223
|
-
if (
|
|
223
|
+
if ((t.f & 128) !== 0) {
|
|
224
|
+
if ((t.f & 32768) === 0) throw e;
|
|
224
225
|
try {
|
|
225
226
|
t.b.error(e);
|
|
226
227
|
return;
|
|
@@ -237,15 +238,15 @@ function H(e, t) {
|
|
|
237
238
|
e.f = e.f & ra | t;
|
|
238
239
|
}
|
|
239
240
|
function mn(e) {
|
|
240
|
-
e.f & 512 || e.deps === null ? H(e, Se) : H(e, St);
|
|
241
|
+
(e.f & 512) !== 0 || e.deps === null ? H(e, Se) : H(e, St);
|
|
241
242
|
}
|
|
242
243
|
function yi(e) {
|
|
243
244
|
if (e !== null)
|
|
244
245
|
for (const t of e)
|
|
245
|
-
|
|
246
|
+
(t.f & 2) === 0 || (t.f & 65536) === 0 || (t.f ^= ir, yi(t.deps));
|
|
246
247
|
}
|
|
247
248
|
function ki(e, t, r) {
|
|
248
|
-
e.f & 2048 ? t.add(e) : e.f & 4096 && r.add(e), yi(e.deps), H(e, Se);
|
|
249
|
+
(e.f & 2048) !== 0 ? t.add(e) : (e.f & 4096) !== 0 && r.add(e), yi(e.deps), H(e, Se);
|
|
249
250
|
}
|
|
250
251
|
var na = !1, cr = !1;
|
|
251
252
|
function ia(e) {
|
|
@@ -298,7 +299,7 @@ var sa = 1, Er = /* @__PURE__ */ new WeakMap(), dr = /* @__PURE__ */ new WeakMap
|
|
|
298
299
|
o(kr, this).add(t);
|
|
299
300
|
}
|
|
300
301
|
capture(t, r, n = !1) {
|
|
301
|
-
t.v !== K && !this.previous.has(t) && this.previous.set(t, t.v), t.f & 8388608
|
|
302
|
+
t.v !== K && !this.previous.has(t) && this.previous.set(t, t.v), (t.f & 8388608) === 0 && (this.current.set(t, [r, n]), ne?.set(t, r)), this.is_fork || (t.v = r);
|
|
302
303
|
}
|
|
303
304
|
activate() {
|
|
304
305
|
E = this;
|
|
@@ -385,17 +386,17 @@ var sa = 1, Er = /* @__PURE__ */ new WeakMap(), dr = /* @__PURE__ */ new WeakMap
|
|
|
385
386
|
}
|
|
386
387
|
}
|
|
387
388
|
schedule(t) {
|
|
388
|
-
if (rn = t, t.b?.is_pending && t.f & 16777228 &&
|
|
389
|
+
if (rn = t, t.b?.is_pending && (t.f & 16777228) !== 0 && (t.f & 32768) === 0) {
|
|
389
390
|
t.b.defer_effect(t);
|
|
390
391
|
return;
|
|
391
392
|
}
|
|
392
393
|
for (var r = t; r.parent !== null; ) {
|
|
393
394
|
r = r.parent;
|
|
394
395
|
var n = r.f;
|
|
395
|
-
if (qt !== null && r === M && (Ze || (A === null ||
|
|
396
|
+
if (qt !== null && r === M && (Ze || (A === null || (A.f & 2) === 0) && !na))
|
|
396
397
|
return;
|
|
397
|
-
if (n & 96) {
|
|
398
|
-
if (
|
|
398
|
+
if ((n & 96) !== 0) {
|
|
399
|
+
if ((n & 1024) === 0) return;
|
|
399
400
|
r.f ^= Se;
|
|
400
401
|
}
|
|
401
402
|
}
|
|
@@ -457,8 +458,8 @@ function Ei(e, t, r) {
|
|
|
457
458
|
e.f ^= Se;
|
|
458
459
|
for (var n = e.first; n !== null; ) {
|
|
459
460
|
var i = n.f, s = (i & 96) !== 0;
|
|
460
|
-
if (!(s && i & 1024 || i & 8192 || o(at, this).has(n)) && n.fn !== null) {
|
|
461
|
-
s ? n.f ^= Se : i & 4 ? t.push(n) : Ze && i & 16777224 ? r.push(n) : or(n) && (i & 16 && o(_t, this).add(n), Ft(n));
|
|
461
|
+
if (!(s && (i & 1024) !== 0 || (i & 8192) !== 0 || o(at, this).has(n)) && n.fn !== null) {
|
|
462
|
+
s ? n.f ^= Se : (i & 4) !== 0 ? t.push(n) : Ze && (i & 16777224) !== 0 ? r.push(n) : or(n) && ((i & 16) !== 0 && o(_t, this).add(n), Ft(n));
|
|
462
463
|
var a = n.first;
|
|
463
464
|
if (a !== null) {
|
|
464
465
|
n = a;
|
|
@@ -494,14 +495,14 @@ function oa() {
|
|
|
494
495
|
e && c.discard();
|
|
495
496
|
else if (t.length > 0) {
|
|
496
497
|
if (e) for (const _ of o(kr, this)) c.unskip_effect(_, (v) => {
|
|
497
|
-
v.f & 4194320 ? c.schedule(v) : N(fe, c, an).call(c, [v]);
|
|
498
|
+
(v.f & 4194320) !== 0 ? c.schedule(v) : N(fe, c, an).call(c, [v]);
|
|
498
499
|
});
|
|
499
500
|
c.activate();
|
|
500
501
|
var i = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Map();
|
|
501
502
|
for (var a of t) Ti(a, n, i, s);
|
|
502
503
|
s = /* @__PURE__ */ new Map();
|
|
503
504
|
var l = [...c.current.keys()].filter((_) => this.current.has(_) ? this.current.get(_)[0] !== _ : !0);
|
|
504
|
-
for (const _ of o(nn, this))
|
|
505
|
+
for (const _ of o(nn, this)) (_.f & 155648) === 0 && yn(_, l, s) && ((_.f & 4194320) !== 0 ? (H(_, Oe), c.schedule(_)) : o(zt, c).add(_));
|
|
505
506
|
if (o(Ae, c).length > 0) {
|
|
506
507
|
c.apply();
|
|
507
508
|
for (var f of o(Ae, c)) N(fe, c, Ei).call(c, f, [], []);
|
|
@@ -543,17 +544,17 @@ function Vn(e) {
|
|
|
543
544
|
if (t !== 0) {
|
|
544
545
|
for (var r = 0; r < t; ) {
|
|
545
546
|
var n = e[r++];
|
|
546
|
-
if (
|
|
547
|
+
if ((n.f & 24576) === 0 && or(n) && (Le = /* @__PURE__ */ new Set(), Ft(n), n.deps === null && n.first === null && n.nodes === null && n.teardown === null && n.ac === null && Xi(n), Le?.size > 0)) {
|
|
547
548
|
mt.clear();
|
|
548
549
|
for (const i of Le) {
|
|
549
|
-
if (i.f & 24576) continue;
|
|
550
|
+
if ((i.f & 24576) !== 0) continue;
|
|
550
551
|
const s = [i];
|
|
551
552
|
let a = i.parent;
|
|
552
553
|
for (; a !== null; )
|
|
553
554
|
Le.has(a) && (Le.delete(a), s.push(a)), a = a.parent;
|
|
554
555
|
for (let l = s.length - 1; l >= 0; l--) {
|
|
555
556
|
const f = s[l];
|
|
556
|
-
f.f & 24576
|
|
557
|
+
(f.f & 24576) === 0 && Ft(f);
|
|
557
558
|
}
|
|
558
559
|
}
|
|
559
560
|
Le.clear();
|
|
@@ -566,7 +567,7 @@ function Ti(e, t, r, n) {
|
|
|
566
567
|
if (!r.has(e) && (r.add(e), e.reactions !== null))
|
|
567
568
|
for (const i of e.reactions) {
|
|
568
569
|
const s = i.f;
|
|
569
|
-
s & 2 ? Ti(i, t, r, n) : s & 4194320 &&
|
|
570
|
+
(s & 2) !== 0 ? Ti(i, t, r, n) : (s & 4194320) !== 0 && (s & 2048) === 0 && yn(i, t, n) && (H(i, Oe), kn(i));
|
|
570
571
|
}
|
|
571
572
|
}
|
|
572
573
|
function yn(e, t, r) {
|
|
@@ -574,7 +575,7 @@ function yn(e, t, r) {
|
|
|
574
575
|
if (n !== void 0) return n;
|
|
575
576
|
if (e.deps !== null) for (const i of e.deps) {
|
|
576
577
|
if (Lt.call(t, i)) return !0;
|
|
577
|
-
if (i.f & 2 && yn(i, t, r))
|
|
578
|
+
if ((i.f & 2) !== 0 && yn(i, t, r))
|
|
578
579
|
return r.set(i, !0), !0;
|
|
579
580
|
}
|
|
580
581
|
return r.set(e, !1), !1;
|
|
@@ -583,8 +584,8 @@ function kn(e) {
|
|
|
583
584
|
E.schedule(e);
|
|
584
585
|
}
|
|
585
586
|
function Ai(e, t) {
|
|
586
|
-
if (!(e.f & 32 && e.f & 1024)) {
|
|
587
|
-
e.f & 2048 ? t.d.push(e) : e.f & 4096 && t.m.push(e), H(e, Se);
|
|
587
|
+
if (!((e.f & 32) !== 0 && (e.f & 1024) !== 0)) {
|
|
588
|
+
(e.f & 2048) !== 0 ? t.d.push(e) : (e.f & 4096) !== 0 && t.m.push(e), H(e, Se);
|
|
588
589
|
for (var r = e.first; r !== null; )
|
|
589
590
|
Ai(r, t), r = r.next;
|
|
590
591
|
}
|
|
@@ -770,7 +771,7 @@ function ga(e, t, r, n) {
|
|
|
770
771
|
try {
|
|
771
772
|
n(u);
|
|
772
773
|
} catch (h) {
|
|
773
|
-
a.f & 16384
|
|
774
|
+
(a.f & 16384) === 0 && ot(h, a);
|
|
774
775
|
}
|
|
775
776
|
Tr();
|
|
776
777
|
}
|
|
@@ -790,7 +791,7 @@ function ma() {
|
|
|
790
791
|
var e = M, t = A, r = F, n = E;
|
|
791
792
|
if (0) var i;
|
|
792
793
|
return function(a = !0) {
|
|
793
|
-
Fe(e), Me(t), jt(r), a &&
|
|
794
|
+
Fe(e), Me(t), jt(r), a && (e.f & 16384) === 0 && (n?.activate(), n?.apply());
|
|
794
795
|
};
|
|
795
796
|
}
|
|
796
797
|
function Tr(e = !0) {
|
|
@@ -835,7 +836,7 @@ function wa(e, t, r) {
|
|
|
835
836
|
}
|
|
836
837
|
var _ = E;
|
|
837
838
|
if (a) {
|
|
838
|
-
if (f.f & 32768) var v = Oi();
|
|
839
|
+
if ((f.f & 32768) !== 0) var v = Oi();
|
|
839
840
|
if (n.b.is_rendered())
|
|
840
841
|
l.get(_)?.reject(Ue), l.delete(_);
|
|
841
842
|
else {
|
|
@@ -845,11 +846,11 @@ function wa(e, t, r) {
|
|
|
845
846
|
l.set(_, c);
|
|
846
847
|
}
|
|
847
848
|
const u = (h, p = void 0) => {
|
|
848
|
-
if (v && v(p === Ue), !(p === Ue || f.f & 16384)) {
|
|
849
|
+
if (v && v(p === Ue), !(p === Ue || (f.f & 16384) !== 0)) {
|
|
849
850
|
if (_.activate(), p)
|
|
850
851
|
s.f |= Sr, Dt(s, p);
|
|
851
852
|
else {
|
|
852
|
-
s.f & 8388608 && (s.f ^= Sr), Dt(s, h);
|
|
853
|
+
(s.f & 8388608) !== 0 && (s.f ^= Sr), Dt(s, h);
|
|
853
854
|
for (const [w, d] of l) {
|
|
854
855
|
if (l.delete(w), w === _) break;
|
|
855
856
|
d.reject(Ue);
|
|
@@ -890,13 +891,10 @@ function ba(e) {
|
|
|
890
891
|
}
|
|
891
892
|
function $n(e) {
|
|
892
893
|
var t, r = M, n = e.parent;
|
|
893
|
-
if (!Qe && n !== null && n.f & 24576)
|
|
894
|
+
if (!Qe && n !== null && (n.f & 24576) !== 0)
|
|
894
895
|
return Ks(), e.v;
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
} finally {
|
|
898
|
-
}
|
|
899
|
-
else try {
|
|
896
|
+
Fe(n);
|
|
897
|
+
try {
|
|
900
898
|
e.f &= ~ir, ba(e), t = es(e);
|
|
901
899
|
} finally {
|
|
902
900
|
Fe(r);
|
|
@@ -947,7 +945,7 @@ function Li(e, t = !1, r = !0) {
|
|
|
947
945
|
return n;
|
|
948
946
|
}
|
|
949
947
|
function y(e, t, r = !1) {
|
|
950
|
-
A !== null && (!Pe || A.f & 131072) && ar() && A.f & 4325394 && (xe === null || !Lt.call(xe, e)) && Us();
|
|
948
|
+
A !== null && (!Pe || (A.f & 131072) !== 0) && ar() && (A.f & 4325394) !== 0 && (xe === null || !Lt.call(xe, e)) && Us();
|
|
951
949
|
let n = r ? ze(t) : t;
|
|
952
950
|
return Dt(e, n, Mr);
|
|
953
951
|
}
|
|
@@ -955,18 +953,18 @@ function Dt(e, t, r = null) {
|
|
|
955
953
|
if (!e.equals(t)) {
|
|
956
954
|
mt.set(e, Qe ? t : e.v);
|
|
957
955
|
var n = $t.ensure();
|
|
958
|
-
if (n.capture(e, t), e.f & 2) {
|
|
956
|
+
if (n.capture(e, t), (e.f & 2) !== 0) {
|
|
959
957
|
const i = e;
|
|
960
|
-
e.f & 2048 && $n(i), ne === null && mn(i);
|
|
958
|
+
(e.f & 2048) !== 0 && $n(i), ne === null && mn(i);
|
|
961
959
|
}
|
|
962
|
-
e.wv = Zi(), ji(e, Oe, r), ar() && M !== null && M.f & 1024 &&
|
|
960
|
+
e.wv = Zi(), ji(e, Oe, r), ar() && M !== null && (M.f & 1024) !== 0 && (M.f & 96) === 0 && (we === null ? Wa([e]) : we.push(e)), !n.is_fork && cn.size > 0 && !Wi && ka();
|
|
963
961
|
}
|
|
964
962
|
return t;
|
|
965
963
|
}
|
|
966
964
|
function ka() {
|
|
967
965
|
Wi = !1;
|
|
968
966
|
for (const e of cn)
|
|
969
|
-
e.f & 1024 && H(e, St), or(e) && Ft(e);
|
|
967
|
+
(e.f & 1024) !== 0 && H(e, St), or(e) && Ft(e);
|
|
970
968
|
cn.clear();
|
|
971
969
|
}
|
|
972
970
|
function er(e) {
|
|
@@ -979,12 +977,12 @@ function ji(e, t, r) {
|
|
|
979
977
|
var l = n[a], f = l.f;
|
|
980
978
|
if (!(!i && l === M)) {
|
|
981
979
|
var c = (f & Oe) === 0;
|
|
982
|
-
if (c && H(l, t), f & 2) {
|
|
980
|
+
if (c && H(l, t), (f & 2) !== 0) {
|
|
983
981
|
var _ = l;
|
|
984
|
-
ne?.delete(_), f & 65536
|
|
982
|
+
ne?.delete(_), (f & 65536) === 0 && (f & 512 && (l.f |= ir), ji(_, St, r));
|
|
985
983
|
} else if (c) {
|
|
986
984
|
var v = l;
|
|
987
|
-
f & 16 && Le !== null && Le.add(v), r !== null ? r.push(v) : kn(v);
|
|
985
|
+
(f & 16) !== 0 && Le !== null && Le.add(v), r !== null ? r.push(v) : kn(v);
|
|
988
986
|
}
|
|
989
987
|
}
|
|
990
988
|
}
|
|
@@ -1201,7 +1199,7 @@ function Ea(e, t) {
|
|
|
1201
1199
|
}
|
|
1202
1200
|
function Be(e, t) {
|
|
1203
1201
|
var r = M;
|
|
1204
|
-
r !== null && r.f & 8192 && (e |= pn);
|
|
1202
|
+
r !== null && (r.f & 8192) !== 0 && (e |= pn);
|
|
1205
1203
|
var n = {
|
|
1206
1204
|
ctx: F,
|
|
1207
1205
|
deps: null,
|
|
@@ -1220,16 +1218,16 @@ function Be(e, t) {
|
|
|
1220
1218
|
};
|
|
1221
1219
|
E?.register_created_effect(n);
|
|
1222
1220
|
var i = n;
|
|
1223
|
-
if (e & 4) qt !== null ? qt.push(n) : $t.ensure().schedule(n);
|
|
1221
|
+
if ((e & 4) !== 0) qt !== null ? qt.push(n) : $t.ensure().schedule(n);
|
|
1224
1222
|
else if (t !== null) {
|
|
1225
1223
|
try {
|
|
1226
1224
|
Ft(n);
|
|
1227
1225
|
} catch (a) {
|
|
1228
1226
|
throw ie(n), a;
|
|
1229
1227
|
}
|
|
1230
|
-
i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last &&
|
|
1228
|
+
i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last && (i.f & 524288) === 0 && (i = i.first, (e & 16) !== 0 && (e & 65536) !== 0 && i !== null && (i.f |= Cr));
|
|
1231
1229
|
}
|
|
1232
|
-
if (i !== null && (i.parent = r, r !== null && Ea(i, r), A !== null && A.f & 2 &&
|
|
1230
|
+
if (i !== null && (i.parent = r, r !== null && Ea(i, r), A !== null && (A.f & 2) !== 0 && (e & 64) === 0)) {
|
|
1233
1231
|
var s = A;
|
|
1234
1232
|
(s.effects ?? (s.effects = [])).push(i);
|
|
1235
1233
|
}
|
|
@@ -1245,7 +1243,7 @@ function Ta(e) {
|
|
|
1245
1243
|
function Ar(e) {
|
|
1246
1244
|
Ma("$effect");
|
|
1247
1245
|
var t = M.f;
|
|
1248
|
-
if (!A && t & 32 &&
|
|
1246
|
+
if (!A && (t & 32) !== 0 && (t & 32768) === 0) {
|
|
1249
1247
|
var r = F;
|
|
1250
1248
|
(r.e ?? (r.e = [])).push(e);
|
|
1251
1249
|
} else return Bi(e);
|
|
@@ -1310,18 +1308,18 @@ function Pn(e, t = !1) {
|
|
|
1310
1308
|
i.abort(Ue);
|
|
1311
1309
|
});
|
|
1312
1310
|
var n = r.next;
|
|
1313
|
-
r.f & 64 ? r.parent = null : ie(r, t), r = n;
|
|
1311
|
+
(r.f & 64) !== 0 ? r.parent = null : ie(r, t), r = n;
|
|
1314
1312
|
}
|
|
1315
1313
|
}
|
|
1316
1314
|
function Oa(e) {
|
|
1317
1315
|
for (var t = e.first; t !== null; ) {
|
|
1318
1316
|
var r = t.next;
|
|
1319
|
-
t.f & 32
|
|
1317
|
+
(t.f & 32) === 0 && ie(t), t = r;
|
|
1320
1318
|
}
|
|
1321
1319
|
}
|
|
1322
1320
|
function ie(e, t = !0) {
|
|
1323
1321
|
var r = !1;
|
|
1324
|
-
(t || e.f & 262144) && e.nodes !== null && e.nodes.end !== null && (Ia(e.nodes.start, e.nodes.end), r = !0), H(e, Fn), Pn(e, t && !r), nr(e, 0);
|
|
1322
|
+
(t || (e.f & 262144) !== 0) && e.nodes !== null && e.nodes.end !== null && (Ia(e.nodes.start, e.nodes.end), r = !0), H(e, Fn), Pn(e, t && !r), nr(e, 0);
|
|
1325
1323
|
var n = e.nodes && e.nodes.t;
|
|
1326
1324
|
if (n !== null) for (const s of n) s.stop();
|
|
1327
1325
|
Vi(e), e.f ^= Fn, e.f |= Os;
|
|
@@ -1350,14 +1348,14 @@ function Mt(e, t, r = !0) {
|
|
|
1350
1348
|
} else i();
|
|
1351
1349
|
}
|
|
1352
1350
|
function Ui(e, t, r) {
|
|
1353
|
-
if (
|
|
1351
|
+
if ((e.f & 8192) === 0) {
|
|
1354
1352
|
e.f ^= pn;
|
|
1355
1353
|
var n = e.nodes && e.nodes.t;
|
|
1356
1354
|
if (n !== null)
|
|
1357
1355
|
for (const l of n) (l.is_global || r) && t.push(l);
|
|
1358
1356
|
for (var i = e.first; i !== null; ) {
|
|
1359
1357
|
var s = i.next;
|
|
1360
|
-
if (
|
|
1358
|
+
if ((i.f & 64) === 0) {
|
|
1361
1359
|
var a = (i.f & 65536) !== 0 || (i.f & 32) !== 0 && (e.f & 16) !== 0;
|
|
1362
1360
|
Ui(i, t, a ? r : !1);
|
|
1363
1361
|
}
|
|
@@ -1369,8 +1367,8 @@ function Rn(e) {
|
|
|
1369
1367
|
Gi(e, !0);
|
|
1370
1368
|
}
|
|
1371
1369
|
function Gi(e, t) {
|
|
1372
|
-
if (e.f & 8192) {
|
|
1373
|
-
e.f ^= pn, e.f & 1024
|
|
1370
|
+
if ((e.f & 8192) !== 0) {
|
|
1371
|
+
e.f ^= pn, (e.f & 1024) === 0 && (H(e, Oe), $t.ensure().schedule(e));
|
|
1374
1372
|
for (var r = e.first; r !== null; ) {
|
|
1375
1373
|
var n = r.next, i = (r.f & 65536) !== 0 || (r.f & 32) !== 0;
|
|
1376
1374
|
Gi(r, i ? t : !1), r = n;
|
|
@@ -1401,7 +1399,7 @@ function Fe(e) {
|
|
|
1401
1399
|
}
|
|
1402
1400
|
var xe = null;
|
|
1403
1401
|
function Ki(e) {
|
|
1404
|
-
A !== null && (!Ze || A.f & 2) && (xe === null ? xe = [e] : xe.push(e));
|
|
1402
|
+
A !== null && (!Ze || (A.f & 2) !== 0) && (xe === null ? xe = [e] : xe.push(e));
|
|
1405
1403
|
}
|
|
1406
1404
|
var ue = null, he = 0, we = null;
|
|
1407
1405
|
function Wa(e) {
|
|
@@ -1416,13 +1414,13 @@ function Zi() {
|
|
|
1416
1414
|
}
|
|
1417
1415
|
function or(e) {
|
|
1418
1416
|
var t = e.f;
|
|
1419
|
-
if (t & 2048) return !0;
|
|
1420
|
-
if (t & 2 && (e.f &= ~ir), t & 4096) {
|
|
1417
|
+
if ((t & 2048) !== 0) return !0;
|
|
1418
|
+
if (t & 2 && (e.f &= ~ir), (t & 4096) !== 0) {
|
|
1421
1419
|
for (var r = e.deps, n = r.length, i = 0; i < n; i++) {
|
|
1422
1420
|
var s = r[i];
|
|
1423
1421
|
if (or(s) && Ii(s), s.wv > e.wv) return !0;
|
|
1424
1422
|
}
|
|
1425
|
-
t & 512 && ne === null && H(e, Se);
|
|
1423
|
+
(t & 512) !== 0 && ne === null && H(e, Se);
|
|
1426
1424
|
}
|
|
1427
1425
|
return !1;
|
|
1428
1426
|
}
|
|
@@ -1431,12 +1429,12 @@ function Qi(e, t, r = !0) {
|
|
|
1431
1429
|
if (n !== null && !(!Ze && xe !== null && Lt.call(xe, e)))
|
|
1432
1430
|
for (var i = 0; i < n.length; i++) {
|
|
1433
1431
|
var s = n[i];
|
|
1434
|
-
s.f & 2 ? Qi(s, t, !1) : t === s && (r ? H(s, Oe) : s.f & 1024 && H(s, St), kn(s));
|
|
1432
|
+
(s.f & 2) !== 0 ? Qi(s, t, !1) : t === s && (r ? H(s, Oe) : (s.f & 1024) !== 0 && H(s, St), kn(s));
|
|
1435
1433
|
}
|
|
1436
1434
|
}
|
|
1437
1435
|
function es(e) {
|
|
1438
1436
|
var t = ue, r = he, n = we, i = A, s = xe, a = F, l = Pe, f = wt, c = e.f;
|
|
1439
|
-
ue = null, he = 0, we = null, A = c & 96 ?
|
|
1437
|
+
ue = null, he = 0, we = null, A = (c & 96) === 0 ? e : null, xe = null, jt(e.ctx), Pe = !1, wt = ++ht, e.ac !== null && (Hi(() => {
|
|
1440
1438
|
e.ac.abort(Ue);
|
|
1441
1439
|
}), e.ac = null);
|
|
1442
1440
|
try {
|
|
@@ -1449,18 +1447,18 @@ function es(e) {
|
|
|
1449
1447
|
if (h || nr(e, he), u !== null && he > 0)
|
|
1450
1448
|
for (u.length = he + ue.length, p = 0; p < ue.length; p++) u[he + p] = ue[p];
|
|
1451
1449
|
else e.deps = u = ue;
|
|
1452
|
-
if (An() && e.f & 512) for (p = he; p < u.length; p++) {
|
|
1450
|
+
if (An() && (e.f & 512) !== 0) for (p = he; p < u.length; p++) {
|
|
1453
1451
|
var w;
|
|
1454
1452
|
((w = u[p]).reactions ?? (w.reactions = [])).push(e);
|
|
1455
1453
|
}
|
|
1456
1454
|
} else !h && u !== null && he < u.length && (nr(e, he), u.length = he);
|
|
1457
|
-
if (ar() && we !== null && !Pe && u !== null &&
|
|
1455
|
+
if (ar() && we !== null && !Pe && u !== null && (e.f & 6146) === 0) for (p = 0; p < we.length; p++) Qi(we[p], e);
|
|
1458
1456
|
if (i !== null && i !== e) {
|
|
1459
1457
|
if (ht++, i.deps !== null) for (let d = 0; d < r; d += 1) i.deps[d].rv = ht;
|
|
1460
1458
|
if (t !== null) for (const d of t) d.rv = ht;
|
|
1461
1459
|
we !== null && (n === null ? n = we : n.push(...we));
|
|
1462
1460
|
}
|
|
1463
|
-
return e.f & 8388608 && (e.f ^= Sr), v;
|
|
1461
|
+
return (e.f & 8388608) !== 0 && (e.f ^= Sr), v;
|
|
1464
1462
|
} catch (d) {
|
|
1465
1463
|
return bi(d);
|
|
1466
1464
|
} finally {
|
|
@@ -1476,9 +1474,9 @@ function La(e, t) {
|
|
|
1476
1474
|
i === 0 ? r = t.reactions = null : (r[n] = r[i], r.pop());
|
|
1477
1475
|
}
|
|
1478
1476
|
}
|
|
1479
|
-
if (r === null && t.f & 2 && (ue === null || !Lt.call(ue, t))) {
|
|
1477
|
+
if (r === null && (t.f & 2) !== 0 && (ue === null || !Lt.call(ue, t))) {
|
|
1480
1478
|
var s = t;
|
|
1481
|
-
s.f & 512 && (s.f ^= 512, s.f &= ~ir), s.v !== K && mn(s), ya(s), nr(s, 0);
|
|
1479
|
+
(s.f & 512) !== 0 && (s.f ^= 512, s.f &= ~ir), s.v !== K && mn(s), ya(s), nr(s, 0);
|
|
1482
1480
|
}
|
|
1483
1481
|
}
|
|
1484
1482
|
function nr(e, t) {
|
|
@@ -1488,13 +1486,13 @@ function nr(e, t) {
|
|
|
1488
1486
|
}
|
|
1489
1487
|
function Ft(e) {
|
|
1490
1488
|
var t = e.f;
|
|
1491
|
-
if (
|
|
1489
|
+
if ((t & 16384) === 0) {
|
|
1492
1490
|
H(e, Se);
|
|
1493
1491
|
var r = M, n = xr;
|
|
1494
1492
|
if (M = e, xr = !0, 0)
|
|
1495
1493
|
var i, s;
|
|
1496
1494
|
try {
|
|
1497
|
-
t & 16777232 ? Oa(e) : Pn(e), Vi(e);
|
|
1495
|
+
(t & 16777232) !== 0 ? Oa(e) : Pn(e), Vi(e);
|
|
1498
1496
|
var a = es(e);
|
|
1499
1497
|
if (e.teardown = typeof a == "function" ? a : null, e.wv = Ji, 0)
|
|
1500
1498
|
for (var l of e.deps) ;
|
|
@@ -1505,9 +1503,9 @@ function Ft(e) {
|
|
|
1505
1503
|
}
|
|
1506
1504
|
function m(e) {
|
|
1507
1505
|
var t = (e.f & 2) !== 0;
|
|
1508
|
-
if (Na?.add(e), A !== null && !Pe && !(M !== null && M.f & 16384) && (xe === null || !Lt.call(xe, e))) {
|
|
1506
|
+
if (Na?.add(e), A !== null && !Pe && !(M !== null && (M.f & 16384) !== 0) && (xe === null || !Lt.call(xe, e))) {
|
|
1509
1507
|
var r = A.deps;
|
|
1510
|
-
if (A.f & 2097152)
|
|
1508
|
+
if ((A.f & 2097152) !== 0)
|
|
1511
1509
|
e.rv < ht && (e.rv = ht, ue === null && r !== null && r[he] === e ? he++ : ue === null ? ue = [e] : ue.push(e));
|
|
1512
1510
|
else {
|
|
1513
1511
|
var n;
|
|
@@ -1517,7 +1515,7 @@ function m(e) {
|
|
|
1517
1515
|
}
|
|
1518
1516
|
}
|
|
1519
1517
|
if (0) {
|
|
1520
|
-
if (!Pe && reactivity_loss_tracker && !reactivity_loss_tracker.warned &&
|
|
1518
|
+
if (!Pe && reactivity_loss_tracker && !reactivity_loss_tracker.warned && (reactivity_loss_tracker.effect.f & 2097152) === 0 && !reactivity_loss_tracker.effect_deps.has(e))
|
|
1521
1519
|
var s;
|
|
1522
1520
|
if (tracing_mode_flag && !Pe && tracing_expressions !== null && A !== null && tracing_expressions.reaction === A && !e.trace) {
|
|
1523
1521
|
if (s)
|
|
@@ -1529,25 +1527,25 @@ function m(e) {
|
|
|
1529
1527
|
var f = e;
|
|
1530
1528
|
if (Qe) {
|
|
1531
1529
|
var c = f.v;
|
|
1532
|
-
return (
|
|
1530
|
+
return ((f.f & 1024) === 0 && f.reactions !== null || rs(f)) && (c = $n(f)), mt.set(f, c), c;
|
|
1533
1531
|
}
|
|
1534
1532
|
var _ = (f.f & 512) === 0 && !Pe && A !== null && (xr || (A.f & 512) !== 0), v = (f.f & gn) === 0;
|
|
1535
1533
|
or(f) && (_ && (f.f |= 512), Ii(f)), _ && !v && (Ni(f), ts(f));
|
|
1536
1534
|
}
|
|
1537
1535
|
if (ne?.has(e)) return ne.get(e);
|
|
1538
|
-
if (e.f & 8388608) throw e.v;
|
|
1536
|
+
if ((e.f & 8388608) !== 0) throw e.v;
|
|
1539
1537
|
return e.v;
|
|
1540
1538
|
}
|
|
1541
1539
|
function ts(e) {
|
|
1542
1540
|
if (e.f |= 512, e.deps !== null)
|
|
1543
1541
|
for (const t of e.deps)
|
|
1544
|
-
(t.reactions ?? (t.reactions = [])).push(e), t.f & 2 &&
|
|
1542
|
+
(t.reactions ?? (t.reactions = [])).push(e), (t.f & 2) !== 0 && (t.f & 512) === 0 && (Ni(t), ts(t));
|
|
1545
1543
|
}
|
|
1546
1544
|
function rs(e) {
|
|
1547
1545
|
if (e.v === K) return !0;
|
|
1548
1546
|
if (e.deps === null) return !1;
|
|
1549
1547
|
for (const t of e.deps)
|
|
1550
|
-
if (mt.has(t) || t.f & 2 && rs(t)) return !0;
|
|
1548
|
+
if (mt.has(t) || (t.f & 2) !== 0 && rs(t)) return !0;
|
|
1551
1549
|
return !1;
|
|
1552
1550
|
}
|
|
1553
1551
|
function bt(e) {
|
|
@@ -1558,7 +1556,7 @@ function bt(e) {
|
|
|
1558
1556
|
Pe = t;
|
|
1559
1557
|
}
|
|
1560
1558
|
}
|
|
1561
|
-
var Rt = Symbol("events"), ns = /* @__PURE__ */ new Set(), vn = /* @__PURE__ */ new Set();
|
|
1559
|
+
var Rt = /* @__PURE__ */ Symbol("events"), ns = /* @__PURE__ */ new Set(), vn = /* @__PURE__ */ new Set();
|
|
1562
1560
|
function ye(e, t, r) {
|
|
1563
1561
|
(t[Rt] ?? (t[Rt] = {}))[e] = r;
|
|
1564
1562
|
}
|
|
@@ -1678,7 +1676,7 @@ function Da() {
|
|
|
1678
1676
|
function z(e, t) {
|
|
1679
1677
|
if (C) {
|
|
1680
1678
|
var r = M;
|
|
1681
|
-
(
|
|
1679
|
+
((r.f & 32768) === 0 || r.nodes.end === null) && (r.nodes.end = P), Ir();
|
|
1682
1680
|
return;
|
|
1683
1681
|
}
|
|
1684
1682
|
e !== null && e.before(t);
|
|
@@ -1712,7 +1710,7 @@ var Fa = [
|
|
|
1712
1710
|
"defer",
|
|
1713
1711
|
"disablepictureinpicture",
|
|
1714
1712
|
"disableremoteplayback"
|
|
1715
|
-
],
|
|
1713
|
+
], Ko = [
|
|
1716
1714
|
...Fa,
|
|
1717
1715
|
"formNoValidate",
|
|
1718
1716
|
"isMap",
|
|
@@ -1737,7 +1735,7 @@ var Ya = [
|
|
|
1737
1735
|
"$state.raw",
|
|
1738
1736
|
"$derived",
|
|
1739
1737
|
"$derived.by"
|
|
1740
|
-
],
|
|
1738
|
+
], Jo = [
|
|
1741
1739
|
...Ya,
|
|
1742
1740
|
"$state.eager",
|
|
1743
1741
|
"$state.snapshot",
|
|
@@ -1966,7 +1964,7 @@ function _n(e, t, r = !0) {
|
|
|
1966
1964
|
var gr;
|
|
1967
1965
|
function mr(e, t, r, n, i, s = null) {
|
|
1968
1966
|
var a = e, l = /* @__PURE__ */ new Map();
|
|
1969
|
-
if (t & 4) {
|
|
1967
|
+
if ((t & 4) !== 0) {
|
|
1970
1968
|
var f = e;
|
|
1971
1969
|
a = C ? ce(/* @__PURE__ */ pe(f)) : f.appendChild(ke());
|
|
1972
1970
|
}
|
|
@@ -1976,7 +1974,7 @@ function mr(e, t, r, n, i, s = null) {
|
|
|
1976
1974
|
return fi(g) ? g : g == null ? [] : Rr(g);
|
|
1977
1975
|
}), v, u = /* @__PURE__ */ new Map(), h = !0;
|
|
1978
1976
|
function p(g) {
|
|
1979
|
-
d.effect.f & 16384
|
|
1977
|
+
(d.effect.f & 16384) === 0 && (d.pending.delete(g), d.fallback = c, Ja(d, v, a, t, n), c !== null && (v.length === 0 ? (c.f & 33554432) === 0 ? Rn(c) : (c.f ^= Zt, Jt(c, null, a)) : Mt(c, () => {
|
|
1980
1978
|
c = null;
|
|
1981
1979
|
})));
|
|
1982
1980
|
}
|
|
@@ -2013,17 +2011,17 @@ function mr(e, t, r, n, i, s = null) {
|
|
|
2013
2011
|
h = !1, C && (a = P);
|
|
2014
2012
|
}
|
|
2015
2013
|
function Kt(e) {
|
|
2016
|
-
for (; e !== null &&
|
|
2014
|
+
for (; e !== null && (e.f & 32) === 0; ) e = e.next;
|
|
2017
2015
|
return e;
|
|
2018
2016
|
}
|
|
2019
2017
|
function Ja(e, t, r, n, i) {
|
|
2020
2018
|
var s = (n & 8) !== 0, a = t.length, l = e.items, f = Kt(e.effect.first), c, _ = null, v, u = [], h = [], p, w, d, g;
|
|
2021
2019
|
if (s) for (g = 0; g < a; g += 1)
|
|
2022
|
-
p = t[g], w = i(p, g), d = l.get(w).e, d.f & 33554432
|
|
2020
|
+
p = t[g], w = i(p, g), d = l.get(w).e, (d.f & 33554432) === 0 && (d.nodes?.a?.measure(), (v ?? (v = /* @__PURE__ */ new Set())).add(d));
|
|
2023
2021
|
for (g = 0; g < a; g += 1) {
|
|
2024
2022
|
if (p = t[g], w = i(p, g), d = l.get(w).e, e.outrogroups !== null) for (const b of e.outrogroups)
|
|
2025
2023
|
b.pending.delete(d), b.done.delete(d);
|
|
2026
|
-
if (d.f & 8192 && (Rn(d), s && (d.nodes?.a?.unfix(), (v ?? (v = /* @__PURE__ */ new Set())).delete(d))), d.f & 33554432)
|
|
2024
|
+
if ((d.f & 8192) !== 0 && (Rn(d), s && (d.nodes?.a?.unfix(), (v ?? (v = /* @__PURE__ */ new Set())).delete(d))), (d.f & 33554432) !== 0)
|
|
2027
2025
|
if (d.f ^= Zt, d === f) Jt(d, null, r);
|
|
2028
2026
|
else {
|
|
2029
2027
|
var j = _ ? _.next : f;
|
|
@@ -2047,7 +2045,7 @@ function Ja(e, t, r, n, i) {
|
|
|
2047
2045
|
(c ?? (c = /* @__PURE__ */ new Set())).add(f), h.push(f), f = Kt(f.next);
|
|
2048
2046
|
if (f === null) continue;
|
|
2049
2047
|
}
|
|
2050
|
-
d.f & 33554432
|
|
2048
|
+
(d.f & 33554432) === 0 && u.push(d), _ = d, f = Kt(d.next);
|
|
2051
2049
|
}
|
|
2052
2050
|
if (e.outrogroups !== null) {
|
|
2053
2051
|
for (const b of e.outrogroups) b.pending.size === 0 && (_n(e, Rr(b.done)), e.outrogroups?.delete(b));
|
|
@@ -2056,12 +2054,12 @@ function Ja(e, t, r, n, i) {
|
|
|
2056
2054
|
if (f !== null || c !== void 0) {
|
|
2057
2055
|
var se = [];
|
|
2058
2056
|
if (c !== void 0)
|
|
2059
|
-
for (d of c) d.f & 8192
|
|
2057
|
+
for (d of c) (d.f & 8192) === 0 && se.push(d);
|
|
2060
2058
|
for (; f !== null; )
|
|
2061
|
-
|
|
2059
|
+
(f.f & 8192) === 0 && f !== e.fallback && se.push(f), f = Kt(f.next);
|
|
2062
2060
|
var de = se.length;
|
|
2063
2061
|
if (de > 0) {
|
|
2064
|
-
var lt = n & 4 && a === 0 ? r : null;
|
|
2062
|
+
var lt = (n & 4) !== 0 && a === 0 ? r : null;
|
|
2065
2063
|
if (s) {
|
|
2066
2064
|
for (g = 0; g < de; g += 1) se[g].nodes?.a?.measure();
|
|
2067
2065
|
for (g = 0; g < de; g += 1) se[g].nodes?.a?.fix();
|
|
@@ -2075,7 +2073,7 @@ function Ja(e, t, r, n, i) {
|
|
|
2075
2073
|
});
|
|
2076
2074
|
}
|
|
2077
2075
|
function Za(e, t, r, n, i, s, a, l) {
|
|
2078
|
-
var f = a & 1 ? a & 16
|
|
2076
|
+
var f = (a & 1) !== 0 ? (a & 16) === 0 ? /* @__PURE__ */ Li(r, !1, !1) : xt(r) : null, c = (a & 2) !== 0 ? xt(i) : null;
|
|
2079
2077
|
return {
|
|
2080
2078
|
v: f,
|
|
2081
2079
|
i: c,
|
|
@@ -2086,7 +2084,7 @@ function Za(e, t, r, n, i, s, a, l) {
|
|
|
2086
2084
|
}
|
|
2087
2085
|
function Jt(e, t, r) {
|
|
2088
2086
|
if (e.nodes)
|
|
2089
|
-
for (var n = e.nodes.start, i = e.nodes.end, s = t &&
|
|
2087
|
+
for (var n = e.nodes.start, i = e.nodes.end, s = t && (t.f & 33554432) === 0 ? t.nodes.start : r; n !== null; ) {
|
|
2090
2088
|
var a = /* @__PURE__ */ He(n);
|
|
2091
2089
|
if (s.before(n), n === i) return;
|
|
2092
2090
|
n = a;
|
|
@@ -2201,7 +2199,7 @@ function ro(e, t, r, n) {
|
|
|
2201
2199
|
} else n && (Array.isArray(n) ? (Zr(e, r?.[0], n[0]), Zr(e, r?.[1], n[1], "important")) : Zr(e, r, n));
|
|
2202
2200
|
return n;
|
|
2203
2201
|
}
|
|
2204
|
-
var no = Symbol("is custom element"), io = Symbol("is html"), so = hi ? "link" : "LINK", ao = hi ? "progress" : "PROGRESS";
|
|
2202
|
+
var no = /* @__PURE__ */ Symbol("is custom element"), io = /* @__PURE__ */ Symbol("is html"), so = hi ? "link" : "LINK", ao = hi ? "progress" : "PROGRESS";
|
|
2205
2203
|
function si(e, t) {
|
|
2206
2204
|
var r = us(e);
|
|
2207
2205
|
r.value === (r.value = t ?? void 0) || e.value === t && (t !== 0 || e.nodeName !== ao) || (e.value = t ?? "");
|
|
@@ -2270,23 +2268,23 @@ function J(e, t, r, n) {
|
|
|
2270
2268
|
} : p = () => {
|
|
2271
2269
|
var x = e[t];
|
|
2272
2270
|
return x !== void 0 && (l = void 0), x === void 0 ? l : x;
|
|
2273
|
-
}, i &&
|
|
2271
|
+
}, i && (r & 4) === 0) return p;
|
|
2274
2272
|
if (_) {
|
|
2275
2273
|
var w = e.$$legacy;
|
|
2276
|
-
return function(x, I) {
|
|
2274
|
+
return (function(x, I) {
|
|
2277
2275
|
return arguments.length > 0 ? ((!i || !I || w || h) && _(I ? p() : x), x) : p();
|
|
2278
|
-
};
|
|
2276
|
+
});
|
|
2279
2277
|
}
|
|
2280
|
-
var d = !1, g = (r & 1 ? Lr : Sn)(() => (d = !1, p()));
|
|
2278
|
+
var d = !1, g = ((r & 1) !== 0 ? Lr : Sn)(() => (d = !1, p()));
|
|
2281
2279
|
s && m(g);
|
|
2282
2280
|
var j = M;
|
|
2283
|
-
return function(x, I) {
|
|
2281
|
+
return (function(x, I) {
|
|
2284
2282
|
if (arguments.length > 0) {
|
|
2285
2283
|
const B = I ? m(g) : i && s ? ze(x) : x;
|
|
2286
2284
|
return y(g, B), d = !0, l !== void 0 && (l = B), x;
|
|
2287
2285
|
}
|
|
2288
|
-
return Qe && d || j.f & 16384 ? g.v : m(g);
|
|
2289
|
-
};
|
|
2286
|
+
return Qe && d || (j.f & 16384) !== 0 ? g.v : m(g);
|
|
2287
|
+
});
|
|
2290
2288
|
}
|
|
2291
2289
|
function fo(e) {
|
|
2292
2290
|
return new uo(e);
|
|
@@ -2675,7 +2673,7 @@ var Ao = /* @__PURE__ */ U('<div><strong>sectionId:</strong> <code class="svelte
|
|
|
2675
2673
|
.pie-demo-session-db-panel__table.svelte-1ye6lmg td:where(.svelte-1ye6lmg) {padding:0.25rem 0.35rem;border-bottom:1px solid color-mix(in srgb, var(--color-base-content) 14%, transparent);vertical-align:top;text-align:left;}.pie-demo-session-db-panel__table.svelte-1ye6lmg th:where(.svelte-1ye6lmg) {position:sticky;top:0;background:color-mix(in srgb, var(--color-base-200) 85%, white);font-weight:700;font-size:0.66rem;line-height:1.15;padding:0.18rem 0.3rem;white-space:nowrap;}.pie-demo-session-db-panel__table.svelte-1ye6lmg td:where(.svelte-1ye6lmg) {white-space:nowrap;}.pie-demo-session-db-panel__meta.svelte-1ye6lmg code:where(.svelte-1ye6lmg),
|
|
2676
2674
|
.pie-demo-session-db-panel__json.svelte-1ye6lmg {font-family:ui-monospace, SFMono-Regular, Menlo, monospace;}.pie-demo-session-db-panel__json.svelte-1ye6lmg {width:100%;flex:1;min-height:14rem;resize:none;font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:0.75rem;border:1px solid color-mix(in srgb, var(--color-base-content) 25%, transparent);border-radius:0.3rem;padding:0.45rem;background:color-mix(in srgb, var(--color-base-200) 65%, white);color:var(--color-base-content);box-sizing:border-box;}`
|
|
2677
2675
|
};
|
|
2678
|
-
function
|
|
2676
|
+
function Zo(e, t) {
|
|
2679
2677
|
Nr(t, !0), qr(e, Do);
|
|
2680
2678
|
let r = J(t, "mode", 3, "section"), n = J(t, "sectionId", 3, ""), i = J(t, "apiBasePath", 3, "/api/session-demo"), s = /* @__PURE__ */ q(null), a = /* @__PURE__ */ q("raw-tables"), l = /* @__PURE__ */ q(!1), f = /* @__PURE__ */ q("{}"), c = /* @__PURE__ */ q(null), _ = /* @__PURE__ */ q(!1);
|
|
2681
2679
|
const v = 4500;
|
|
@@ -2917,14 +2915,16 @@ function el(e, t) {
|
|
|
2917
2915
|
m(a) === "raw-tables" ? Z(ps) : m(a) === "reconstructed" ? Z(gs, 1) : Z(ms, -1);
|
|
2918
2916
|
}), T(S), Q(() => {
|
|
2919
2917
|
me(Et, t.assessmentId), me(zr, t.attemptId), me(X, r()), Ie.disabled = m(l), _e(Ie, "aria-busy", m(l)), me(Dr, m(l) ? "Resetting to baseline..." : "Reset DB to baseline"), _e(Bt, "aria-pressed", m(a) === "raw-tables"), _e(Fr, "aria-pressed", m(a) === "reconstructed"), _e(fr, "aria-pressed", m(a) === "request-view"), me(vs, m(d));
|
|
2920
|
-
}), ye("click", Ie, () =>
|
|
2918
|
+
}), ye("click", Ie, () => {
|
|
2919
|
+
se();
|
|
2920
|
+
}), ye("click", Bt, () => y(a, "raw-tables")), ye("click", Fr, () => y(a, "reconstructed")), ye("click", fr, () => y(a, "request-view")), z(b, S);
|
|
2921
2921
|
},
|
|
2922
2922
|
$$slots: { default: !0 }
|
|
2923
2923
|
}), Wr();
|
|
2924
2924
|
}
|
|
2925
2925
|
lr(["click"]);
|
|
2926
2926
|
var Fo = /* @__PURE__ */ U('<button type="button" title="Database state" aria-label="Toggle database state panel"><svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor"><ellipse cx="12" cy="5" rx="7" ry="3" stroke-width="2"></ellipse><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 5v7c0 1.66 3.13 3 7 3s7-1.34 7-3V5M5 12v7c0 1.66 3.13 3 7 3s7-1.34 7-3v-7"></path></svg></button>'), Ho = /* @__PURE__ */ U('<button type="button" title="Instrumentation" aria-label="Toggle instrumentation panel"><svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 13h4l2 6 4-14 2 8h4"></path></svg></button>'), Bo = /* @__PURE__ */ U('<button type="button" title="Session" aria-label="Toggle session panel"><svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg></button> <button type="button" title="Events" aria-label="Toggle event broadcast panel"><svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0l-3-3m3 3l-3 3M3 17h8m0 0l-3-3m3 3l-3 3M3 7h5m8 10h5"></path></svg></button> <!> <!>', 1);
|
|
2927
|
-
function
|
|
2927
|
+
function Qo(e, t) {
|
|
2928
2928
|
let r = J(t, "showDbPanel", 3, !1), n = J(t, "showInstrumentationPanel", 3, !1);
|
|
2929
2929
|
var i = Bo(), s = Nt(i);
|
|
2930
2930
|
let a;
|
|
@@ -2965,26 +2965,26 @@ lr(["click"]);
|
|
|
2965
2965
|
function Yo(e, t) {
|
|
2966
2966
|
return (e || void 0) === (t || void 0);
|
|
2967
2967
|
}
|
|
2968
|
-
function
|
|
2968
|
+
function el(e, t, r) {
|
|
2969
2969
|
const n = e?.key?.sectionId || "", i = e?.key?.attemptId || void 0;
|
|
2970
2970
|
return n !== t ? !1 : Yo(i, r);
|
|
2971
2971
|
}
|
|
2972
|
-
function
|
|
2972
|
+
function tl(e, t, r) {
|
|
2973
2973
|
return !e?.getSectionController || !t ? null : e.getSectionController({
|
|
2974
2974
|
sectionId: t,
|
|
2975
2975
|
attemptId: r
|
|
2976
2976
|
}) || null;
|
|
2977
2977
|
}
|
|
2978
2978
|
export {
|
|
2979
|
-
|
|
2979
|
+
Qo as DebugPanelToggles,
|
|
2980
2980
|
yo as PanelResizeHandle,
|
|
2981
2981
|
mo as PanelWindowControls,
|
|
2982
|
-
|
|
2982
|
+
Zo as SessionDbPanel,
|
|
2983
2983
|
To as SharedFloatingPanel,
|
|
2984
2984
|
tn as claimNextFloatingPanelZIndex,
|
|
2985
2985
|
xo as computePanelSizeFromViewport,
|
|
2986
2986
|
So as createFloatingPanelPointerController,
|
|
2987
|
-
|
|
2988
|
-
|
|
2987
|
+
tl as getSectionControllerFromCoordinator,
|
|
2988
|
+
el as isMatchingSectionControllerLifecycleEvent,
|
|
2989
2989
|
Yo as optionalIdsEqual
|
|
2990
2990
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-players/pie-section-player-tools-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.33",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shared UI and helpers for PIE section-player debug tools",
|
|
6
6
|
"repository": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
],
|
|
56
56
|
"license": "MIT",
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@pie-players/pie-theme": "0.3.
|
|
58
|
+
"@pie-players/pie-theme": "0.3.33"
|
|
59
59
|
},
|
|
60
60
|
"types": "./dist/index.d.ts",
|
|
61
61
|
"scripts": {
|