@cssints/devtools 0.2.0 → 0.3.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 +77 -11
- package/dist/opencode.js +30 -0
- package/dist/overlay.js +715 -594
- package/package.json +5 -3
- package/src/core/cascade.ts +9 -1
- package/src/core/index.ts +3 -3
- package/src/core/prompt.ts +102 -8
- package/src/core/session.ts +18 -0
package/dist/overlay.js
CHANGED
|
@@ -20,42 +20,42 @@ var r = 1024, i = 2048, a = 4096, o = 1024, s = 4096, c = 16384, l = 1 << 17, u
|
|
|
20
20
|
function _(e) {
|
|
21
21
|
return e === g ? void 0 : e;
|
|
22
22
|
}
|
|
23
|
-
var
|
|
24
|
-
function
|
|
23
|
+
var ee = {}, v = Symbol("refresh"), te = /* @__PURE__ */ new Set();
|
|
24
|
+
function ne(e) {
|
|
25
25
|
for (; e.ei;) e = e.ei;
|
|
26
26
|
return e;
|
|
27
27
|
}
|
|
28
|
-
function
|
|
29
|
-
if (e =
|
|
28
|
+
function re(e, t) {
|
|
29
|
+
if (e = ne(e), t = ne(t), e === t) return e;
|
|
30
30
|
t.ei = e;
|
|
31
31
|
for (let n of t.Qe) e.Qe.add(n);
|
|
32
32
|
return t.Qe.clear(), e.dn[0].push(...t.dn[0]), e.dn[1].push(...t.dn[1]), t.dn[0].length = 0, t.dn[1].length = 0, e;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function ie(e) {
|
|
35
35
|
let t = e.o?.me;
|
|
36
36
|
if (!t) return;
|
|
37
|
-
let n =
|
|
38
|
-
if (
|
|
37
|
+
let n = ne(t);
|
|
38
|
+
if (te.has(n)) return n;
|
|
39
39
|
e.o !== null && (e.o.me = void 0);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
if (
|
|
43
|
-
let t =
|
|
41
|
+
function y(e) {
|
|
42
|
+
if (jn(e) && e.o?.Ln) {
|
|
43
|
+
let t = an(e).Ln = $e(e.o?.Ln);
|
|
44
44
|
if (t.Rn !== !0) return t;
|
|
45
45
|
e.o !== null && (e.o.Ln = null);
|
|
46
46
|
}
|
|
47
|
-
return
|
|
47
|
+
return ie(e)?.we ?? e.we;
|
|
48
48
|
}
|
|
49
49
|
function ae(e, t) {
|
|
50
|
-
let n =
|
|
50
|
+
let n = ne(t), r = e.o?.me;
|
|
51
51
|
if (r) {
|
|
52
|
-
let i =
|
|
53
|
-
if (
|
|
54
|
-
i !== n && (!
|
|
52
|
+
let i = ne(r);
|
|
53
|
+
if (te.has(i)) {
|
|
54
|
+
i !== n && (!jn(e) || e.C & 8388608) && (n.ii && ne(n.ii) === i ? (an(e).me = t, e.C |= o) : i.ii && ne(i.ii) === n || re(n, i));
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
an(e).me = t, e.C |= o;
|
|
59
59
|
}
|
|
60
60
|
//#endregion
|
|
61
61
|
//#region ../../node_modules/.bun/@solidjs+signals@2.0.0-rc.13/node_modules/@solidjs/signals/dist/prod/core/scheduler.js
|
|
@@ -82,7 +82,7 @@ function le(e) {
|
|
|
82
82
|
var x = 0, S = null, ue = !1, de = !1, fe = !1, pe = 0, me = !1, he = 0, ge = /* @__PURE__ */ new Set();
|
|
83
83
|
function _e(e) {
|
|
84
84
|
let t = e.m;
|
|
85
|
-
return oe.size === 0 &&
|
|
85
|
+
return oe.size === 0 && te.size === 0 && e.ft.length === 0 && t.cn.length === 0 && t.A.length === 0 && t.ti.size === 0 && ge.size === 0 && we.size === 0;
|
|
86
86
|
}
|
|
87
87
|
function ve() {
|
|
88
88
|
if (ge.size !== 0) for (let e of ge) {
|
|
@@ -90,7 +90,7 @@ function ve() {
|
|
|
90
90
|
ge.delete(e);
|
|
91
91
|
continue;
|
|
92
92
|
}
|
|
93
|
-
e._e === h && (e.o?.Fe === void 0 || e.o?.Fe === h) && (e.o?.t || (ge.delete(e), e.C & 262144 ?
|
|
93
|
+
e._e === h && (e.o?.Fe === void 0 || e.o?.Fe === h) && (e.o?.t || (ge.delete(e), e.C & 262144 ? pn(e) : e.o?.Hn?.()));
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
function ye() {
|
|
@@ -113,7 +113,7 @@ function ye() {
|
|
|
113
113
|
}
|
|
114
114
|
function be(e, t) {
|
|
115
115
|
t.Rn = e, e.pe.push(...t.pe), e.Te ||= t.Te;
|
|
116
|
-
for (let n of
|
|
116
|
+
for (let n of te) n.we === t && (n.we = e);
|
|
117
117
|
t.cn.length && (e.cn.push(...t.cn), t.cn.length = 0), t.A.length && (e.A.push(...t.A), t.A.length = 0);
|
|
118
118
|
for (let n of t.ti) e.ti.add(n);
|
|
119
119
|
for (let [n, r] of t.le) {
|
|
@@ -185,7 +185,7 @@ var Ae = 0, je = class {
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
enqueue(e, t) {
|
|
188
|
-
e && (
|
|
188
|
+
e && (en ? ne(en).dn[e - 1].push(t) : this.Tt[e - 1].push(t)), C();
|
|
189
189
|
}
|
|
190
190
|
stashQueues(e) {
|
|
191
191
|
e.Tt[0].push(...this.Tt[0]), e.Tt[1].push(...this.Tt[1]), this.Tt = [[], []];
|
|
@@ -254,20 +254,20 @@ var Ae = 0, je = class {
|
|
|
254
254
|
if (S === null && b.EE < b.ln && this.Tt[0].length === 0 && this.Tt[1].length === 0 && this.ft.length === 0 && !Se.length && !Ee.length && _e(this)) {
|
|
255
255
|
this.Jn = !0;
|
|
256
256
|
try {
|
|
257
|
-
|
|
257
|
+
Fn(), jt(), Ue();
|
|
258
258
|
} finally {
|
|
259
259
|
this.Jn = !1;
|
|
260
260
|
}
|
|
261
261
|
x++, ue = b.EE >= b.ln || this.Tt[0].length !== 0 || this.Tt[1].length !== 0 || this.m.Gn.length !== 0;
|
|
262
262
|
return;
|
|
263
263
|
}
|
|
264
|
-
this.Jn = !0,
|
|
264
|
+
this.Jn = !0, Fn();
|
|
265
265
|
try {
|
|
266
266
|
for (; Ee.length;) this.initTransition(Ee.pop());
|
|
267
267
|
if (jt(), dt(b, e.Ke), S && e.Ei?.(S) && dt(b, e.Ke), we.size && (Te(), dt(b, e.Ke)), S) {
|
|
268
268
|
if (this.ft.length && (Ge(this, !0), b.EE >= b.ln && dt(b, e.Ke)), !Qe(S)) {
|
|
269
269
|
let t = S;
|
|
270
|
-
He.length = 0, dt(se, this.m === t ? ce : e.Ke), this.m === t && (qe = this.m = ye()),
|
|
270
|
+
He.length = 0, dt(se, this.m === t ? ce : e.Ke), this.m === t && (qe = this.m = ye()), te.size && (e.si(1), e.si(2)), this.stashQueues(t.dt), x++, ue = b.EE >= b.ln || this.m.Gn.length > 0, Ke(t.Gn), S = null, We(null, !0);
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
273
273
|
let t = S, n = this.m;
|
|
@@ -276,7 +276,7 @@ var Ae = 0, je = class {
|
|
|
276
276
|
e.Gn = n.Gn, e.cn = n.cn, e.A = n.A, e.ti = n.ti, qe = this.m = e;
|
|
277
277
|
}
|
|
278
278
|
} else _e(this) ? (Ue(), b.EE >= b.ln && (dt(b, e.Ke), Ue())) : (oe.size && (Ue(), dt(se, e.Ke)), We());
|
|
279
|
-
x++, ue = b.EE >= b.ln || S !== null || this.m.Gn.length !== 0,
|
|
279
|
+
x++, ue = b.EE >= b.ln || S !== null || this.m.Gn.length !== 0, te.size && e.si(1), this.run(1), te.size && e.si(2), this.run(2);
|
|
280
280
|
} finally {
|
|
281
281
|
for (; !ue && !S && Se.length;) this.initTransition(Se.pop());
|
|
282
282
|
this.Jn = !1;
|
|
@@ -330,12 +330,12 @@ var Ae = 0, je = class {
|
|
|
330
330
|
}
|
|
331
331
|
qe = this.m = S;
|
|
332
332
|
}
|
|
333
|
-
for (let e of
|
|
333
|
+
for (let e of te) e.we ||= S;
|
|
334
334
|
C();
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
function Me(e) {
|
|
338
|
-
qe.Gn.push(e), T.Jn ||
|
|
338
|
+
qe.Gn.push(e), T.Jn || En();
|
|
339
339
|
}
|
|
340
340
|
var Ne = !1, Pe = 0;
|
|
341
341
|
function Fe() {
|
|
@@ -348,7 +348,7 @@ function Le(e) {
|
|
|
348
348
|
}
|
|
349
349
|
function Re(e, t = !1) {
|
|
350
350
|
e.vn = Pe;
|
|
351
|
-
let n = e.C, r = (n & 1024 ? e.o?.me : void 0) ||
|
|
351
|
+
let n = e.C, r = (n & 1024 ? e.o?.me : void 0) || en, o = !!(n & 512) && e.o?.sn !== void 0, s = Ne;
|
|
352
352
|
for (let n = e.u; n !== null; n = n.Ae) {
|
|
353
353
|
let e = n.ge;
|
|
354
354
|
if (s && (e.oe &= ~i), e.oe & 4 && n.Be === e.Ye && n !== e.Nn && (e.oe |= a), o && e.C & 8) {
|
|
@@ -399,7 +399,7 @@ function We(e = null, t = !1) {
|
|
|
399
399
|
for (; Ve.length;) Re(Ve.pop());
|
|
400
400
|
b.EE >= b.ln && (dt(b, w.Ke), Ue());
|
|
401
401
|
}
|
|
402
|
-
ve(),
|
|
402
|
+
ve(), te.size && w.li(e);
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
function Ge(e, t) {
|
|
@@ -438,7 +438,7 @@ function Xe(t, n, r) {
|
|
|
438
438
|
let e = t;
|
|
439
439
|
for (; e && e.oe & 32;) e = e._parent;
|
|
440
440
|
let n = e && (e.we || (e.C & 1048576 ? S : null));
|
|
441
|
-
if (!n && e && e.C & 67108864 && e.o?.me && (n =
|
|
441
|
+
if (!n && e && e.C & 67108864 && e.o?.me && (n = ne(e.o.me).we), !n || (n = $e(n)).Rn === !0 || n === r) return !1;
|
|
442
442
|
}
|
|
443
443
|
for (let e = t.T; e; e = e._parent) if (e.te & 1 && !e.q) return !1;
|
|
444
444
|
if (t.o?.ue?.has(n)) return !0;
|
|
@@ -646,7 +646,7 @@ function wt(e) {
|
|
|
646
646
|
gn: null,
|
|
647
647
|
qe: null,
|
|
648
648
|
T: t?.T ?? T,
|
|
649
|
-
Je: t?.Je ||
|
|
649
|
+
Je: t?.Je || ee,
|
|
650
650
|
En: 0,
|
|
651
651
|
o: null,
|
|
652
652
|
_parent: t,
|
|
@@ -656,7 +656,7 @@ function wt(e) {
|
|
|
656
656
|
}
|
|
657
657
|
function Tt(e, t) {
|
|
658
658
|
let n = wt(t);
|
|
659
|
-
return
|
|
659
|
+
return Gn(n, () => e(() => n.dispose()));
|
|
660
660
|
}
|
|
661
661
|
//#endregion
|
|
662
662
|
//#region ../../node_modules/.bun/@solidjs+signals@2.0.0-rc.13/node_modules/@solidjs/signals/dist/prod/core/graph.js
|
|
@@ -664,7 +664,7 @@ function Et(e) {
|
|
|
664
664
|
let t = e.Oe, n = e.Ne, r = e.Ae, i = e.el;
|
|
665
665
|
if (r === null ? t.mn = i : r.el = i, i !== null) i.Ae = r;
|
|
666
666
|
else if (t.u = r, r === null) {
|
|
667
|
-
t.C & 262144 ?
|
|
667
|
+
t.C & 262144 ? pn(t) : t.o?.Hn?.();
|
|
668
668
|
let e = t;
|
|
669
669
|
e.he && e.C & 32 && !(e.oe & 32) && !(e.h & 1) && kt(e);
|
|
670
670
|
}
|
|
@@ -728,7 +728,7 @@ function Mt(e, t, n = !1) {
|
|
|
728
728
|
//#endregion
|
|
729
729
|
//#region ../../node_modules/.bun/@solidjs+signals@2.0.0-rc.13/node_modules/@solidjs/signals/dist/prod/core/async.js
|
|
730
730
|
function Nt(e, t) {
|
|
731
|
-
return !e.o?.ue?.has(t) && ((
|
|
731
|
+
return !e.o?.ue?.has(t) && ((an(e).ue ??= /* @__PURE__ */ new Set()).add(t), !0);
|
|
732
732
|
}
|
|
733
733
|
function Pt(e, t) {
|
|
734
734
|
let n = e.o?.ue;
|
|
@@ -745,7 +745,7 @@ function It(e, t) {
|
|
|
745
745
|
return !1;
|
|
746
746
|
}
|
|
747
747
|
function Lt(e, t) {
|
|
748
|
-
|
|
748
|
+
an(e).Pe = !0, t.source && Nt(e, t.source), e.h & 2 || Rt(e, t.source, t);
|
|
749
749
|
}
|
|
750
750
|
function Rt(t, n, r) {
|
|
751
751
|
if (!n) {
|
|
@@ -753,11 +753,11 @@ function Rt(t, n, r) {
|
|
|
753
753
|
return;
|
|
754
754
|
}
|
|
755
755
|
if (r instanceof e && r.source === n) {
|
|
756
|
-
|
|
756
|
+
an(t)._ = r;
|
|
757
757
|
return;
|
|
758
758
|
}
|
|
759
759
|
let i = t.o?._;
|
|
760
|
-
(!(i instanceof e) || i.source !== n) && (
|
|
760
|
+
(!(i instanceof e) || i.source !== n) && (an(t)._ = new e(n));
|
|
761
761
|
}
|
|
762
762
|
function zt(e, t) {
|
|
763
763
|
for (let n = e.u; n !== null; n = n.Ae) t(n.ge, n);
|
|
@@ -798,12 +798,12 @@ function Gt(e) {
|
|
|
798
798
|
}
|
|
799
799
|
function Kt(t, n, r) {
|
|
800
800
|
let i = !1, a = !1;
|
|
801
|
-
if (typeof n == "object" && n &&
|
|
801
|
+
if (typeof n == "object" && n && gn(() => {
|
|
802
802
|
i = n[Symbol.asyncIterator], a = !i && Wt(n);
|
|
803
803
|
}), !a && !i) return t.o !== null && (t.o.Ce = null), t.ve = !1, n;
|
|
804
|
-
|
|
804
|
+
an(t).Ce = n, t.o.ue = void 0;
|
|
805
805
|
let o = Ie, s, c = () => {
|
|
806
|
-
let e =
|
|
806
|
+
let e = y(t);
|
|
807
807
|
if (t.o?.me && (e = et(t) ?? e), e && t.h & 4 && !$e(e).le.has(t)) {
|
|
808
808
|
t.we = null;
|
|
809
809
|
return;
|
|
@@ -822,7 +822,7 @@ function Kt(t, n, r) {
|
|
|
822
822
|
Le(o), c();
|
|
823
823
|
let a = !!(t.h & 4), s = t.o?.Le;
|
|
824
824
|
Jt(t), s && (t.o.Le = !0);
|
|
825
|
-
let u =
|
|
825
|
+
let u = ie(t);
|
|
826
826
|
if (u && u.Qe.delete(t), r) {
|
|
827
827
|
try {
|
|
828
828
|
r(e);
|
|
@@ -831,16 +831,16 @@ function Kt(t, n, r) {
|
|
|
831
831
|
return;
|
|
832
832
|
}
|
|
833
833
|
a && Jt(t, !0);
|
|
834
|
-
} else if (t.o?.Fe !== void 0 && !(u && t.C & 8388608)) t._e === h && Me(t), t._e = e, w.Ve?.(t, e),
|
|
834
|
+
} else if (t.o?.Fe !== void 0 && !(u && t.C & 8388608)) t._e === h && Me(t), t._e = e, w.Ve?.(t, e), jn(t) ? w.ke(t, e) : Re(t), t.be = x;
|
|
835
835
|
else if (u) {
|
|
836
|
-
let n = t.je, r =
|
|
836
|
+
let n = t.je, r = jn(t) ? _(t.o.Fe) : t.ce, i = t.xe;
|
|
837
837
|
try {
|
|
838
838
|
(!n && a || !i || !i(r, e)) && (n ? t.ce = e : w.Me(t, e, u), t.be = x, w.Ve?.(t, e), Re(t, !0));
|
|
839
839
|
} catch (e) {
|
|
840
840
|
Yt(t, 2, e);
|
|
841
841
|
}
|
|
842
842
|
} else try {
|
|
843
|
-
|
|
843
|
+
Bn(t, () => e);
|
|
844
844
|
} catch (e) {
|
|
845
845
|
Yt(t, 2, e);
|
|
846
846
|
}
|
|
@@ -855,7 +855,7 @@ function Kt(t, n, r) {
|
|
|
855
855
|
} catch {}
|
|
856
856
|
}
|
|
857
857
|
};
|
|
858
|
-
r ? r(f) : St(f),
|
|
858
|
+
r ? r(f) : St(f), an(t).ye = f;
|
|
859
859
|
let p = () => {
|
|
860
860
|
d() || m();
|
|
861
861
|
}, m = () => {
|
|
@@ -875,7 +875,7 @@ function Kt(t, n, r) {
|
|
|
875
875
|
return c = !1, a || h;
|
|
876
876
|
}, p = null, m = (e, t) => {
|
|
877
877
|
let n = !1;
|
|
878
|
-
if (typeof e == "object" && e &&
|
|
878
|
+
if (typeof e == "object" && e && gn(() => {
|
|
879
879
|
n = e[Symbol.asyncIterator];
|
|
880
880
|
}), !n) return !1;
|
|
881
881
|
let r = f(e, t);
|
|
@@ -893,13 +893,13 @@ function Kt(t, n, r) {
|
|
|
893
893
|
if (r) m(s) || (t.ve = !1);
|
|
894
894
|
else {
|
|
895
895
|
if (t.ve) return t.ce;
|
|
896
|
-
throw T.initTransition(
|
|
896
|
+
throw T.initTransition(y(t)), new e(E);
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
899
|
if (i && m(n), p !== null) {
|
|
900
900
|
if (!p) {
|
|
901
901
|
if (t.ve) return t.ce;
|
|
902
|
-
throw T.initTransition(
|
|
902
|
+
throw T.initTransition(y(t)), new e(E);
|
|
903
903
|
}
|
|
904
904
|
t.ve = !1;
|
|
905
905
|
}
|
|
@@ -907,7 +907,7 @@ function Kt(t, n, r) {
|
|
|
907
907
|
}
|
|
908
908
|
function qt(e, t = !1) {
|
|
909
909
|
e.o?.ue && Ft(e), e.o?.Pe && e.o !== null && (e.o.Pe = !1), e.o !== null && (e.o.Le = !1), e.h = t ? 0 : e.h & 4, e.o?._ && Rt(e), (e.o?.Ze || e.o?.He) && w.Ge(e), e.o?.i && e.C & 2048 && w.We !== null && w.We(e);
|
|
910
|
-
let n =
|
|
910
|
+
let n = ln(e);
|
|
911
911
|
n && n.call(e);
|
|
912
912
|
}
|
|
913
913
|
function Jt(e, t = !1) {
|
|
@@ -916,9 +916,9 @@ function Jt(e, t = !1) {
|
|
|
916
916
|
}
|
|
917
917
|
function Yt(n, r, i, a, o) {
|
|
918
918
|
r === 2 && !(i instanceof t) && !(i instanceof e) && (i = new t(n, i));
|
|
919
|
-
let s = r === 1 && i instanceof e ? i.source : void 0, c = s === n, l = r === 1 && n.o?.Fe !== void 0 && !(n.C & 8388608) && !c, u = l &&
|
|
920
|
-
a || (o && ae(n, o), r === 1 && s ? (Nt(n, s), n.h & 1 || (n.C &= ~f), n.h = 1 | n.h & 4, Rt(n, s, i)) : (Ft(n), n.h = r | (r === 2 ? 0 : n.h & 4),
|
|
921
|
-
let d = a || u, p = a || l ? void 0 : o, m =
|
|
919
|
+
let s = r === 1 && i instanceof e ? i.source : void 0, c = s === n, l = r === 1 && n.o?.Fe !== void 0 && !(n.C & 8388608) && !c, u = l && jn(n);
|
|
920
|
+
a || (o && ae(n, o), r === 1 && s ? (Nt(n, s), n.h & 1 || (n.C &= ~f), n.h = 1 | n.h & 4, Rt(n, s, i)) : (Ft(n), n.h = r | (r === 2 ? 0 : n.h & 4), an(n)._ = i), w.Ge?.(n), n.o?.i && n.C & 2048 && w.We !== null && w.We(n));
|
|
921
|
+
let d = a || u, p = a || l ? void 0 : o, m = ln(n);
|
|
922
922
|
if (m) {
|
|
923
923
|
if (a && r === 1) return;
|
|
924
924
|
d ? m.call(n, r, i) : m.call(n);
|
|
@@ -939,60 +939,60 @@ function Yt(n, r, i, a, o) {
|
|
|
939
939
|
});
|
|
940
940
|
}
|
|
941
941
|
w.Ke = (e) => {
|
|
942
|
-
e.je === 3 ? (ct(e, rt(e)), e.Xe = !0, e.T.enqueue(2, e.$e)) :
|
|
942
|
+
e.je === 3 ? (ct(e, rt(e)), e.Xe = !0, e.T.enqueue(2, e.$e)) : tn(e);
|
|
943
943
|
}, w.en = mt;
|
|
944
|
-
var Xt = !1, Zt = !1, Qt = !1, $t = !1, E = null,
|
|
945
|
-
function
|
|
944
|
+
var Xt = !1, Zt = !1, Qt = !1, $t = !1, E = null, en = null;
|
|
945
|
+
function tn(t, n = !1) {
|
|
946
946
|
Fe();
|
|
947
947
|
let r = t.je, o = !!(t.oe & 128), s = null;
|
|
948
948
|
if (o ? (s = w.an(t, !0), s === !1 && (o = !1)) : t.C & 8388608 ? (s = w.an(t, !0), s && (o = !0)) : S && !n && S.cn.length && (s = w.an(t, !1), s && (o = !0)), !n) {
|
|
949
949
|
if (t.we && !r && S !== t.we && T.initTransition(t.we), ct(t, rt(t)), t.o !== null && (t.o.Ce = null, Gt(t)), r === 3 || t.C & 68157440) mt(t);
|
|
950
950
|
else if (t.tn !== null || t.qe !== null) {
|
|
951
951
|
pt(t);
|
|
952
|
-
let e =
|
|
953
|
-
e.fn = t.qe, e._n = t.tn, t.qe = null, t.tn = null, t.En = 0, s && (t.C |= d,
|
|
952
|
+
let e = an(t);
|
|
953
|
+
e.fn = t.qe, e._n = t.tn, t.qe = null, t.tn = null, t.En = 0, s && (t.C |= d, ne(s).dn[0].push(() => {
|
|
954
954
|
t.C &= ~d, mt(t, !1, !0);
|
|
955
955
|
}));
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
|
-
let c = !!(t.C & 8388736) && t.o?.Fe !== h && t.o?.Fe !== void 0, l = !!(t.h & 4), f = t.h & 2 ? t.o?._ : void 0, p = !!(t.h & 1), m = p ? t.o?.ue : void 0, g = t.o?.ue?.has(t),
|
|
959
|
-
|
|
960
|
-
let
|
|
958
|
+
let c = !!(t.C & 8388736) && t.o?.Fe !== h && t.o?.Fe !== void 0, l = !!(t.h & 4), f = t.h & 2 ? t.o?._ : void 0, p = !!(t.h & 1), m = p ? t.o?.ue : void 0, g = t.o?.ue?.has(t), ee = (t.oe & i) !== 0, v = t.ve, te = xn;
|
|
959
|
+
xn = null;
|
|
960
|
+
let re = E;
|
|
961
961
|
E = t, t.Nn = null, t.Ye++, t.oe = 4 | t.oe & 32, t.be = x;
|
|
962
|
-
let
|
|
962
|
+
let ie = t._e === h ? t.ce : t._e, y = t.rn, ae = !1, oe = Xt, b = en;
|
|
963
963
|
Xt = !0;
|
|
964
964
|
let se = $t;
|
|
965
|
-
$t = !1, r || (
|
|
965
|
+
$t = !1, r || (en = null), s && (en = s);
|
|
966
966
|
let ce = r && r !== 2, le = Zt;
|
|
967
967
|
ce && (Zt = !0), r && S !== null && S.In.size && S.In.delete(t);
|
|
968
968
|
try {
|
|
969
|
-
if (t.C & 64)
|
|
969
|
+
if (t.C & 64) ie = t.he(ie), t.o !== null && (t.o.Ce = null), t.ve = !1;
|
|
970
970
|
else {
|
|
971
|
-
let e = t.o?.Ce, n = t.he(
|
|
972
|
-
|
|
971
|
+
let e = t.o?.Ce, n = t.he(ie), r = typeof n == "object" && !!n, i = t.o?.Ce !== e;
|
|
972
|
+
ie = i || !r ? n : Kt(t, n), !i && !r && (t.o !== null && (t.o.Ce = null), t.ve = !1);
|
|
973
973
|
}
|
|
974
|
-
(t.h !== 0 || t.o !== null) && qt(t, n &&
|
|
974
|
+
(t.h !== 0 || t.o !== null) && qt(t, n && xn === null), t.C & 1024 && t.o?.me && w.Tn(t);
|
|
975
975
|
} catch (n) {
|
|
976
976
|
let r = n instanceof e;
|
|
977
977
|
if (r && t.ve) Lt(t, n);
|
|
978
978
|
else {
|
|
979
|
-
r &&
|
|
979
|
+
r && en && w.Sn(t);
|
|
980
980
|
let e = !1;
|
|
981
|
-
if (r && (
|
|
981
|
+
if (r && (an(t).Pe = !0, w.On !== null && (e = w.On(t, ee))), Yt(t, r ? 1 : 2, n, void 0, r ? t.o?.me : void 0), r && g && !t.o?.Ce && Ut(t), r && m) for (let e of m) e !== t && !t.o?.ue?.has(e) && Ut(t, e);
|
|
982
982
|
e && w.k(t);
|
|
983
983
|
}
|
|
984
984
|
} finally {
|
|
985
|
-
Xt = oe, $t = se, ce && (Zt = le), ae = (t.oe & a) !== 0, t.oe = t.oe & 96 | (n ? t.oe & 256 : 0), E =
|
|
985
|
+
Xt = oe, $t = se, ce && (Zt = le), ae = (t.oe & a) !== 0, t.oe = t.oe & 96 | (n ? t.oe & 256 : 0), E = re;
|
|
986
986
|
}
|
|
987
|
-
let ue =
|
|
988
|
-
if (
|
|
989
|
-
Ot(t), t.o !== null && (t.o.Ce = null),
|
|
987
|
+
let ue = xn;
|
|
988
|
+
if (xn = te, t.oe & 64) {
|
|
989
|
+
Ot(t), t.o !== null && (t.o.Ce = null), en = b;
|
|
990
990
|
return;
|
|
991
991
|
}
|
|
992
992
|
if (!t.o?._) {
|
|
993
993
|
let i = c ? _(t.o?.Fe) : o || t._e === h ? t.ce : t._e, a = !1;
|
|
994
994
|
try {
|
|
995
|
-
a = !r && l || !t.xe || !t.xe(i,
|
|
995
|
+
a = !r && l || !t.xe || !t.xe(i, ie);
|
|
996
996
|
} catch (e) {
|
|
997
997
|
Yt(t, 2, e);
|
|
998
998
|
}
|
|
@@ -1004,39 +1004,39 @@ function en(t, n = !1) {
|
|
|
1004
1004
|
if (!t.o?._) {
|
|
1005
1005
|
if (a) {
|
|
1006
1006
|
let i = c ? t.o?.Fe : void 0;
|
|
1007
|
-
n && ue === null || r && ue === null && (S !== t.we || S === null || t.C & 32768) || o ? (o && !r &&
|
|
1008
|
-
} else if (c) t._e === h && Me(t), t._e =
|
|
1009
|
-
else if (t.rn !=
|
|
1007
|
+
n && ue === null || r && ue === null && (S !== t.we || S === null || t.C & 32768) || o ? (o && !r && en !== null ? w.Me(t, ie, en) : t.ce = ie, o && (t._e = h)) : (t._e = ie, ue !== null && (t.we !== ue && (t.we = ue, ue.Gn.push(t)), r && ue.In.add(t), Sn(t) && t.T.notify(t, 1, 1, new e(t))), v && (t.ve = !0), t.C & 256 && w.Ve !== null && w.Ve(t, ie)), t.u !== null && (!c || o || t.o?.Fe !== i) ? Re(t, o || c) : c && !o && t.o.hn !== x && w.ke(t, ie);
|
|
1008
|
+
} else if (c) t._e === h && Me(t), t._e = ie, v && (t.ve = !0), w.ke(t, ie);
|
|
1009
|
+
else if (t.rn != y) for (let e = t.u; e !== null; e = e.Ae) st(e.ge, rt(e.ge));
|
|
1010
1010
|
}
|
|
1011
1011
|
if (!a && !t.o?._ && (f !== void 0 && Ht(t, f), m)) for (let e of m) e !== t && Ut(t, e);
|
|
1012
1012
|
g && !(t.h & 5) && (Ut(t), Ce());
|
|
1013
1013
|
}
|
|
1014
1014
|
let de = t.Nn;
|
|
1015
|
-
r && (p && !(t.h & 1) || (de === null ? t.Ie !== null : de.Ne !== null)) && Ce(), !t.o?._ && t._e === h && !(r && t.Xe) && (n || o || r === 3 ? Dt(t) : (t.Nn?.Ne ?? t.Ie) && He.push(t)),
|
|
1015
|
+
r && (p && !(t.h & 1) || (de === null ? t.Ie !== null : de.Ne !== null)) && Ce(), !t.o?._ && t._e === h && !(r && t.Xe) && (n || o || r === 3 ? Dt(t) : (t.Nn?.Ne ?? t.Ie) && He.push(t)), en = b;
|
|
1016
1016
|
let fe = (t.C & d) !== 0, pe = (t._e !== h || !fe && t.o !== null && (t.o._n !== null || t.o.fn !== null) || !!(t.h & 5)) && (!n || ue !== null || !!(t.h & 1));
|
|
1017
1017
|
if (pe && (!t.we || c) ? Me(t) : pe && (S === null || o) && !(t.h & 5) && (pe = !1, fe || mt(t, !1, !0)), pe ? t.C |= u : t.C &= ~u, t.we && r && S !== t.we && ue === null) {
|
|
1018
1018
|
let e = t.pn;
|
|
1019
|
-
nt(t.we, () =>
|
|
1019
|
+
nt(t.we, () => tn(t)), t.pn = e;
|
|
1020
1020
|
}
|
|
1021
1021
|
ae && (it(t), C());
|
|
1022
1022
|
}
|
|
1023
|
-
function
|
|
1023
|
+
function nn(e) {
|
|
1024
1024
|
if (!(e.oe & 68)) {
|
|
1025
1025
|
if (e.oe & 1) for (let t = e.Ie; t; t = t.Ne) {
|
|
1026
1026
|
let n = t.Oe, r = n.De || n;
|
|
1027
|
-
if (r.he &&
|
|
1027
|
+
if (r.he && nn(r), e.oe & 2) break;
|
|
1028
1028
|
}
|
|
1029
|
-
(e.oe & 130 || e.o?._ && e.be < x && !e.o?.Ce) &&
|
|
1029
|
+
(e.oe & 130 || e.o?._ && e.be < x && !e.o?.Ce) && tn(e), e.oe &= 376 | r;
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1032
|
+
function rn(e, t) {
|
|
1033
1033
|
let n = t?.transparent ?? !1, r = typeof t == "object" && !!t && "loadingValue" in t, i = {
|
|
1034
1034
|
id: yt(t, n, E),
|
|
1035
1035
|
C: (n ? 4 : 0) | !!t?.ownedWrite | (!E || t?.lazy ? 32 : 0) | (t?.sync ? 64 : 0) | (t?.H ? 2 : 0) | 0,
|
|
1036
|
-
xe: t?.equals ??
|
|
1036
|
+
xe: t?.equals ?? hn,
|
|
1037
1037
|
qe: null,
|
|
1038
1038
|
T: E?.T ?? T,
|
|
1039
|
-
Je: E?.Je ??
|
|
1039
|
+
Je: E?.Je ?? ee,
|
|
1040
1040
|
En: 0,
|
|
1041
1041
|
he: e,
|
|
1042
1042
|
ce: r ? t.loadingValue : void 0,
|
|
@@ -1061,9 +1061,9 @@ function nn(e, t) {
|
|
|
1061
1061
|
ve: r,
|
|
1062
1062
|
o: null
|
|
1063
1063
|
};
|
|
1064
|
-
return t?.unobserved && (
|
|
1064
|
+
return t?.unobserved && (an(i).Hn = t.unobserved), dn(i, t), i;
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function an(e) {
|
|
1067
1067
|
return e.o ??= {
|
|
1068
1068
|
Fe: void 0,
|
|
1069
1069
|
Ln: void 0,
|
|
@@ -1090,14 +1090,14 @@ function rn(e) {
|
|
|
1090
1090
|
Un: void 0
|
|
1091
1091
|
};
|
|
1092
1092
|
}
|
|
1093
|
-
function
|
|
1093
|
+
function on(e, t, n, r, i) {
|
|
1094
1094
|
let a = i?.transparent ?? !1, o = {
|
|
1095
1095
|
id: yt(i, a, E),
|
|
1096
1096
|
C: (a ? 4 : 0) | !!i?.ownedWrite | (i?.sync ? 64 : 0) | (i?.yn ?? 0) | 0,
|
|
1097
1097
|
xe: !1,
|
|
1098
1098
|
qe: null,
|
|
1099
1099
|
T: E?.T ?? T,
|
|
1100
|
-
Je: E?.Je ??
|
|
1100
|
+
Je: E?.Je ?? ee,
|
|
1101
1101
|
En: 0,
|
|
1102
1102
|
he: e,
|
|
1103
1103
|
ce: void 0,
|
|
@@ -1129,25 +1129,25 @@ function an(e, t, n, r, i) {
|
|
|
1129
1129
|
pn: null,
|
|
1130
1130
|
o: null
|
|
1131
1131
|
};
|
|
1132
|
-
return i?.unobserved && (
|
|
1133
|
-
}
|
|
1134
|
-
var on = null;
|
|
1135
|
-
function sn(e) {
|
|
1136
|
-
on = e;
|
|
1132
|
+
return i?.unobserved && (an(o).Hn = i.unobserved), dn(o, un), o;
|
|
1137
1133
|
}
|
|
1134
|
+
var sn = null;
|
|
1138
1135
|
function cn(e) {
|
|
1136
|
+
sn = e;
|
|
1137
|
+
}
|
|
1138
|
+
function ln(e) {
|
|
1139
1139
|
let t = e.o?.S;
|
|
1140
|
-
return t === void 0 ? e.je ?
|
|
1140
|
+
return t === void 0 ? e.je ? sn ?? void 0 : void 0 : t;
|
|
1141
1141
|
}
|
|
1142
|
-
var
|
|
1143
|
-
function
|
|
1142
|
+
var un = { lazy: !0 };
|
|
1143
|
+
function dn(e, t) {
|
|
1144
1144
|
e.Fn = e;
|
|
1145
1145
|
let n = E?.Wn ? E.qn : E;
|
|
1146
|
-
E && ht(E, e), n && (e.rn = n.rn + 1), w.Zn !== null && w.Zn(e), !t?.lazy &&
|
|
1146
|
+
E && ht(E, e), n && (e.rn = n.rn + 1), w.Zn !== null && w.Zn(e), !t?.lazy && tn(e, !0);
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function fn(e, t, n = null) {
|
|
1149
1149
|
let r = {
|
|
1150
|
-
xe: t?.equals ??
|
|
1150
|
+
xe: t?.equals ?? hn,
|
|
1151
1151
|
C: +!!t?.ownedWrite | (t?.H ? 2 : 0),
|
|
1152
1152
|
ce: e,
|
|
1153
1153
|
u: null,
|
|
@@ -1161,17 +1161,17 @@ function dn(e, t, n = null) {
|
|
|
1161
1161
|
vn: -1,
|
|
1162
1162
|
o: null
|
|
1163
1163
|
};
|
|
1164
|
-
return t?.unobserved && (
|
|
1164
|
+
return t?.unobserved && (an(r).Hn = t.unobserved), n && mn(n, r), r;
|
|
1165
1165
|
}
|
|
1166
|
-
var
|
|
1167
|
-
function
|
|
1166
|
+
var pn;
|
|
1167
|
+
function mn(e, t) {
|
|
1168
1168
|
let n = t.Ue;
|
|
1169
|
-
n !== null && (n.Yn = t),
|
|
1169
|
+
n !== null && (n.Yn = t), an(e).i = t, e.C |= s;
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1171
|
+
function hn(e, t) {
|
|
1172
1172
|
return e === t;
|
|
1173
1173
|
}
|
|
1174
|
-
function
|
|
1174
|
+
function gn(e, t) {
|
|
1175
1175
|
if (w.jn === null && !Xt) return e();
|
|
1176
1176
|
let n = Xt;
|
|
1177
1177
|
Xt = !1;
|
|
@@ -1181,8 +1181,8 @@ function hn(e, t) {
|
|
|
1181
1181
|
Xt = n;
|
|
1182
1182
|
}
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1185
|
-
if (e.oe & 512) e.oe &= -513,
|
|
1184
|
+
function _n(e, t) {
|
|
1185
|
+
if (e.oe & 512) e.oe &= -513, tn(e, !0);
|
|
1186
1186
|
else if (e.oe & 64) {
|
|
1187
1187
|
if (e.C & 32) {
|
|
1188
1188
|
let t = e._parent;
|
|
@@ -1193,146 +1193,146 @@ function gn(e, t) {
|
|
|
1193
1193
|
}
|
|
1194
1194
|
e.oe & 32 || ht(t, e);
|
|
1195
1195
|
}
|
|
1196
|
-
|
|
1196
|
+
tn(e, !0);
|
|
1197
1197
|
}
|
|
1198
|
-
} else t &&
|
|
1198
|
+
} else t && nn(e);
|
|
1199
1199
|
}
|
|
1200
|
-
function
|
|
1200
|
+
function vn(e, t) {
|
|
1201
1201
|
let n = t.pn;
|
|
1202
1202
|
(n == null || $e(n) !== e) && e.In.add(t);
|
|
1203
1203
|
}
|
|
1204
|
-
function
|
|
1204
|
+
function yn(e) {
|
|
1205
1205
|
return S !== null && $e(e) === $e(S);
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1207
|
+
function bn(e, t) {
|
|
1208
1208
|
let n = e.we;
|
|
1209
|
-
if (n === null ||
|
|
1209
|
+
if (n === null || yn(n)) return !1;
|
|
1210
1210
|
let r = $e(n);
|
|
1211
|
-
|
|
1211
|
+
vn(r, t);
|
|
1212
1212
|
let i = r.le.get(e);
|
|
1213
1213
|
return i ? i.add(t) : e.h & 1 && nt(r, () => t.T.notify(t, 1, 1, e.o._)), !0;
|
|
1214
1214
|
}
|
|
1215
|
-
var
|
|
1216
|
-
function
|
|
1215
|
+
var xn = null;
|
|
1216
|
+
function Sn(e) {
|
|
1217
1217
|
for (let t = e.T; t !== null; t = t._parent) if (t.te & 1) return !t.q;
|
|
1218
1218
|
return !1;
|
|
1219
1219
|
}
|
|
1220
|
-
function
|
|
1220
|
+
function Cn(e, t = e.we) {
|
|
1221
1221
|
if (!t || t === S || e?.o?.kn || E?.o?.kn) return;
|
|
1222
1222
|
let n = E, r = S === null && !T.Jn;
|
|
1223
1223
|
if (!(r && w.Xn)) {
|
|
1224
|
-
if (n.oe & 4 && !(n.C & 128) && (
|
|
1225
|
-
|
|
1224
|
+
if (n.oe & 4 && !(n.C & 128) && (xn === null || xn === t) && (r || !w.Xn && Sn(n))) {
|
|
1225
|
+
xn = t;
|
|
1226
1226
|
return;
|
|
1227
1227
|
}
|
|
1228
1228
|
T.initTransition(t);
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return !!(!t ||
|
|
1231
|
+
function wn(e, t, n, r) {
|
|
1232
|
+
return !!(!t || en !== null && w.$n(e, n, t) || e._e === h || t.C & 16 || Zt && !r && bn(e, t) || e.C & 131072 && en !== null && !$t && !(t.C & 8192));
|
|
1233
1233
|
}
|
|
1234
|
-
var
|
|
1235
|
-
function
|
|
1236
|
-
|
|
1234
|
+
var Tn = !1;
|
|
1235
|
+
function En() {
|
|
1236
|
+
Tn = !0;
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function Dn(e, t = e.ce) {
|
|
1239
1239
|
return T.Jn || e._e === h || e.C & 4194304 || e.o?.kn ? h : e.we === null || e.C & 16777216 ? t : e.o === null ? h : e.o.bn;
|
|
1240
1240
|
}
|
|
1241
|
-
var
|
|
1242
|
-
function
|
|
1241
|
+
var On = [], kn = [];
|
|
1242
|
+
function An(e) {
|
|
1243
1243
|
return !T.Jn && e.o?.hn === x && !e.o?.kn;
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1245
|
+
function jn(e) {
|
|
1246
1246
|
let t = e.o;
|
|
1247
1247
|
return t !== null && t.Fe !== void 0 && t.Fe !== h;
|
|
1248
1248
|
}
|
|
1249
|
-
function jn(e) {
|
|
1250
|
-
return An(e) && !kn(e);
|
|
1251
|
-
}
|
|
1252
1249
|
function Mn(e) {
|
|
1250
|
+
return jn(e) && !An(e);
|
|
1251
|
+
}
|
|
1252
|
+
function Nn(e) {
|
|
1253
1253
|
return e.oe |= a, !0;
|
|
1254
1254
|
}
|
|
1255
|
-
var
|
|
1256
|
-
function
|
|
1257
|
-
if (
|
|
1258
|
-
for (let e of
|
|
1259
|
-
Dn.length = 0;
|
|
1260
|
-
}
|
|
1261
|
-
if (On.length !== 0) {
|
|
1262
|
-
for (let e of On) e.C &= ~p;
|
|
1255
|
+
var Pn = [];
|
|
1256
|
+
function Fn() {
|
|
1257
|
+
if (Tn = !1, On.length !== 0) {
|
|
1258
|
+
for (let e of On) e.o.bn = h;
|
|
1263
1259
|
On.length = 0;
|
|
1264
1260
|
}
|
|
1265
|
-
if (
|
|
1266
|
-
for (let e of
|
|
1267
|
-
|
|
1261
|
+
if (kn.length !== 0) {
|
|
1262
|
+
for (let e of kn) e.C &= ~p;
|
|
1263
|
+
kn.length = 0;
|
|
1264
|
+
}
|
|
1265
|
+
if (Pn.length !== 0) {
|
|
1266
|
+
for (let e of Pn) w.Ve(e, e._e === h ? e.ce : e._e);
|
|
1267
|
+
Pn.length = 0;
|
|
1268
1268
|
}
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function In(e) {
|
|
1271
1271
|
if ($t) return w.et(e);
|
|
1272
1272
|
let t = E;
|
|
1273
1273
|
t?.Wn && (t = t.qn);
|
|
1274
1274
|
let n = e, r = e.De || e;
|
|
1275
|
-
if (typeof n.he == "function" &&
|
|
1275
|
+
if (typeof n.he == "function" && _n(e, !1), !n.he && r === e && e.o?.Fe === void 0 && e.o?.sn === void 0 && S === null && en === null && (!Tn || e._e === h)) return t && Xt && Mt(e, t), !t || e._e === h || t.C & 16 || Zt && bn(e, t) ? e.ce : (Cn(e), e._e);
|
|
1276
1276
|
if (t && Xt && (Mt(e, t, Qt), r.he)) {
|
|
1277
1277
|
let n = rt(e);
|
|
1278
|
-
r.rn >= n.ln ? (ut(t), lt(n),
|
|
1278
|
+
r.rn >= n.ln ? (ut(t), lt(n), nn(r)) : t.C & 65536 && nn(r);
|
|
1279
1279
|
let i = r.rn;
|
|
1280
1280
|
i >= t.rn && e._parent !== t && (t.rn = i + 1);
|
|
1281
1281
|
}
|
|
1282
1282
|
if (r.h & 1) {
|
|
1283
|
-
if (t && (!Zt || r.h & 4 || r.C & 2097152 || r.C & 1024 && w.tt(r) || !
|
|
1284
|
-
if (
|
|
1285
|
-
} else if (!t && r.h & 4 && !(
|
|
1283
|
+
if (t && (!Zt || r.h & 4 || r.C & 2097152 || r.C & 1024 && w.tt(r) || !bn(r, t))) {
|
|
1284
|
+
if (en === null || w.it(r)) throw !Xt && e !== t && Mt(e, t), r.o?._;
|
|
1285
|
+
} else if (!t && r.h & 4 && !(jn(e) && e.C & 8388608)) throw r.o?._;
|
|
1286
1286
|
}
|
|
1287
1287
|
if (r.he && r.h & 2) {
|
|
1288
|
-
if (Xt && r.be < x) return
|
|
1288
|
+
if (Xt && r.be < x) return tn(r), In(e);
|
|
1289
1289
|
throw r.o?._;
|
|
1290
1290
|
}
|
|
1291
|
-
let i =
|
|
1292
|
-
return !t && r === e && typeof n.he == "function" && e.C & 32 && !(r.h & 1) && !e.u && !
|
|
1291
|
+
let i = Ln(e, t, r, e.ce);
|
|
1292
|
+
return !t && r === e && typeof n.he == "function" && e.C & 32 && !(r.h & 1) && !e.u && !Mn(e) && (At.add(e), C()), i;
|
|
1293
1293
|
}
|
|
1294
|
-
function
|
|
1295
|
-
if (
|
|
1296
|
-
if (!(n && n.C & 8192) && !
|
|
1294
|
+
function Ln(t, n, r, i) {
|
|
1295
|
+
if (jn(t)) {
|
|
1296
|
+
if (!(n && n.C & 8192) && !An(t)) return n && t.C & 525312 ? w.ut(t, n) : _(t.o?.Fe);
|
|
1297
1297
|
t.C |= c;
|
|
1298
1298
|
}
|
|
1299
|
-
if (
|
|
1299
|
+
if (en !== null && S !== null && n !== null && w.lt(t, r, n)) return i;
|
|
1300
1300
|
let a = t._e !== h && !!(t.h & 4);
|
|
1301
1301
|
if (a && !n) throw new e(null);
|
|
1302
|
-
let o = n &&
|
|
1303
|
-
return o === h ?
|
|
1302
|
+
let o = n && Tn ? Dn(t, i) : h;
|
|
1303
|
+
return o === h ? wn(t, n, r, a) ? i : (Cn(t), t._e) : (Nn(n), o);
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function Rn(e) {
|
|
1306
1306
|
if (T.Jn) return;
|
|
1307
|
-
let t =
|
|
1308
|
-
t.bn === h && (t.bn = e._e,
|
|
1307
|
+
let t = an(e);
|
|
1308
|
+
t.bn === h && (t.bn = e._e, On.push(e), Tn = !0);
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1311
|
-
T.Jn || e.C & 4194304 || (e.C |= p,
|
|
1310
|
+
function zn(e) {
|
|
1311
|
+
T.Jn || e.C & 4194304 || (e.C |= p, kn.push(e));
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function Bn(e, t) {
|
|
1314
1314
|
if (e.we && S !== e.we && (T.Jn ? T.initTransition(e.we) : (Ee.push(e.we), C())), e.C & 128) return w.ot(e, t);
|
|
1315
1315
|
let n = e._e === h ? e.ce : e._e;
|
|
1316
1316
|
if (typeof t == "function" && (t = t(n)), !(e.h & 4 || !e.xe || !e.xe(n, t))) return t;
|
|
1317
1317
|
let r = e._e !== h;
|
|
1318
|
-
return r ? e.we !== null &&
|
|
1318
|
+
return r ? e.we !== null && Rn(e) : Me(e), e._e = t, E !== null && zn(e), e.C & 256 && w.Ve !== null && (w.Ve(e, t), T.Jn || Pn.push(e)), e.he !== void 0 && (e.be = x), r && e.vn === Pe && en === null ? t : (Re(e), C(), t);
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function Vn(e) {
|
|
1321
1321
|
ct(e, rt(e)), !(e.oe & 1024) && e._e === h && (Me(e), C()), e.oe = e.oe & -4 | r, e.ct = x;
|
|
1322
1322
|
}
|
|
1323
|
-
function
|
|
1323
|
+
function Hn(e) {
|
|
1324
1324
|
return e.we !== null && S !== e.we && !((e.De || e).oe & 1024);
|
|
1325
1325
|
}
|
|
1326
|
-
function
|
|
1326
|
+
function Un(e) {
|
|
1327
1327
|
e.oe |= 2, it(e);
|
|
1328
1328
|
}
|
|
1329
|
-
function
|
|
1330
|
-
let n =
|
|
1329
|
+
function Wn(e, t) {
|
|
1330
|
+
let n = Hn(e);
|
|
1331
1331
|
n && typeof t == "function" && (t = t(e.ce));
|
|
1332
|
-
let r =
|
|
1333
|
-
return n ?
|
|
1332
|
+
let r = Bn(e, t);
|
|
1333
|
+
return n ? Un(e) : Vn(e), r;
|
|
1334
1334
|
}
|
|
1335
|
-
function
|
|
1335
|
+
function Gn(e, t) {
|
|
1336
1336
|
let n = E, r = Xt;
|
|
1337
1337
|
E = e, Xt = !1;
|
|
1338
1338
|
try {
|
|
@@ -1341,7 +1341,7 @@ function Wn(e, t) {
|
|
|
1341
1341
|
E = n, Xt = r;
|
|
1342
1342
|
}
|
|
1343
1343
|
}
|
|
1344
|
-
function
|
|
1344
|
+
function Kn(e, t = !0) {
|
|
1345
1345
|
let n = Zt;
|
|
1346
1346
|
Zt = t;
|
|
1347
1347
|
try {
|
|
@@ -1352,21 +1352,21 @@ function Gn(e, t = !0) {
|
|
|
1352
1352
|
}
|
|
1353
1353
|
//#endregion
|
|
1354
1354
|
//#region ../../node_modules/.bun/@solidjs+signals@2.0.0-rc.13/node_modules/@solidjs/signals/dist/prod/core/effect.js
|
|
1355
|
-
function
|
|
1356
|
-
let i =
|
|
1357
|
-
|
|
1355
|
+
function qn(e, t, n, r) {
|
|
1356
|
+
let i = on(e, t, n, r?.user ? 2 : 1, r);
|
|
1357
|
+
tn(i, !0), !r?.defer && i._e === h && (i.je === 2 || r?.schedule ? i.T.enqueue(i.je, Yn.bind(null, i)) : Yn(i, 4));
|
|
1358
1358
|
}
|
|
1359
|
-
function
|
|
1359
|
+
function Jn(e, t) {
|
|
1360
1360
|
let r = e === void 0 ? this.h : e, i = t === void 0 ? this.o?._ : t;
|
|
1361
1361
|
if (r & 2) {
|
|
1362
1362
|
if (this.T.notify(this, 1, 0), this.je === 2) {
|
|
1363
|
-
this.h & 2 && (this.Xe = !0, this.T.enqueue(this.je, this.An ??=
|
|
1363
|
+
this.h & 2 && (this.Xe = !0, this.T.enqueue(this.je, this.An ??= Yn.bind(null, this)));
|
|
1364
1364
|
return;
|
|
1365
1365
|
}
|
|
1366
1366
|
if (!this.T.notify(this, 2, 2)) throw Oe(n(i)), i;
|
|
1367
1367
|
} else this.je === 1 && this.T.notify(this, 3, r, i);
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function Yn(e, r) {
|
|
1370
1370
|
if (!e.Xe || e.oe & 64) return;
|
|
1371
1371
|
if (e.pn !== null && !$e(e.pn).Rn && (r & 4 ? !e.o?.me : S !== null)) {
|
|
1372
1372
|
e.T.enqueue(e.je, e.An);
|
|
@@ -1390,21 +1390,21 @@ function Jn(e, r) {
|
|
|
1390
1390
|
try {
|
|
1391
1391
|
a?.(), e.wn = e.Qn(e.ce, e.xn);
|
|
1392
1392
|
} catch (n) {
|
|
1393
|
-
if (
|
|
1393
|
+
if (an(e)._ = new t(e, n), e.h |= 2, !e.T.notify(e, 2, 2)) throw Oe(n), n;
|
|
1394
1394
|
} finally {
|
|
1395
1395
|
e.xn = e.ce, e.Xe = !1, i && Dt(e);
|
|
1396
1396
|
}
|
|
1397
1397
|
}
|
|
1398
|
-
w.Cn =
|
|
1399
|
-
function
|
|
1398
|
+
w.Cn = Yn;
|
|
1399
|
+
function Xn(e, t) {
|
|
1400
1400
|
let n = () => {
|
|
1401
1401
|
if (!(!r.Xe || r.oe & 64)) try {
|
|
1402
|
-
r.Xe = !1,
|
|
1402
|
+
r.Xe = !1, tn(r);
|
|
1403
1403
|
} finally {}
|
|
1404
|
-
}, r =
|
|
1404
|
+
}, r = rn(() => {
|
|
1405
1405
|
let t = r.wn;
|
|
1406
1406
|
r.wn = void 0, t?.();
|
|
1407
|
-
let n =
|
|
1407
|
+
let n = Kn(e);
|
|
1408
1408
|
r.wn = n;
|
|
1409
1409
|
}, {
|
|
1410
1410
|
...t,
|
|
@@ -1412,52 +1412,52 @@ function Yn(e, t) {
|
|
|
1412
1412
|
});
|
|
1413
1413
|
r.wn = void 0, r.C = r.C & -33 | 16, r.Xe = !0, r.je = 3, r.$e = n, it(r), C();
|
|
1414
1414
|
}
|
|
1415
|
-
|
|
1415
|
+
cn(Jn);
|
|
1416
1416
|
//#endregion
|
|
1417
1417
|
//#region ../../node_modules/.bun/@solidjs+signals@2.0.0-rc.13/node_modules/@solidjs/signals/dist/prod/signals.js
|
|
1418
|
-
function
|
|
1418
|
+
function Zn(e) {
|
|
1419
1419
|
return St(e);
|
|
1420
1420
|
}
|
|
1421
|
-
function
|
|
1422
|
-
let t =
|
|
1423
|
-
return t[
|
|
1421
|
+
function Qn(e) {
|
|
1422
|
+
let t = In.bind(null, e);
|
|
1423
|
+
return t[v] = e, t;
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1425
|
+
function $n(e, t) {
|
|
1426
1426
|
if (typeof e == "function") {
|
|
1427
|
-
let n =
|
|
1428
|
-
return n.C &= -33, [
|
|
1427
|
+
let n = rn(e, t);
|
|
1428
|
+
return n.C &= -33, [Qn(n), Wn.bind(null, n)];
|
|
1429
1429
|
}
|
|
1430
|
-
let n =
|
|
1431
|
-
return [
|
|
1430
|
+
let n = fn(e, t);
|
|
1431
|
+
return [Qn(n), Bn.bind(null, n)];
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1434
|
-
return
|
|
1433
|
+
function er(e, t) {
|
|
1434
|
+
return Qn(rn(e, t));
|
|
1435
1435
|
}
|
|
1436
|
-
function
|
|
1437
|
-
|
|
1436
|
+
function tr(e, t, n) {
|
|
1437
|
+
qn(e, t.effect || t, t.error, {
|
|
1438
1438
|
user: !0,
|
|
1439
1439
|
...n
|
|
1440
1440
|
});
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1443
|
-
|
|
1442
|
+
function nr(e, t, n) {
|
|
1443
|
+
qn(e, t, void 0, n);
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1445
|
+
function rr(e) {
|
|
1446
1446
|
let t = xt();
|
|
1447
|
-
t && !(t.C & 16) ?
|
|
1447
|
+
t && !(t.C & 16) ? Xn(() => gn(e), void 0) : T.enqueue(2, function t() {
|
|
1448
1448
|
if (b.EE >= b.ln) return T.enqueue(2, t);
|
|
1449
1449
|
e();
|
|
1450
1450
|
});
|
|
1451
1451
|
}
|
|
1452
1452
|
//#endregion
|
|
1453
1453
|
//#region ../../node_modules/.bun/@solidjs+signals@2.0.0-rc.13/node_modules/@solidjs/signals/dist/prod/store/store.js
|
|
1454
|
-
var
|
|
1455
|
-
function
|
|
1454
|
+
var ir = Symbol(0), ar = Symbol(0);
|
|
1455
|
+
function or(e) {
|
|
1456
1456
|
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
|
|
1457
1457
|
}
|
|
1458
1458
|
//#endregion
|
|
1459
1459
|
//#region ../../node_modules/.bun/@solidjs+signals@2.0.0-rc.13/node_modules/@solidjs/signals/dist/prod/map.js
|
|
1460
|
-
function
|
|
1460
|
+
function sr(e, t, n) {
|
|
1461
1461
|
let r = typeof n?.keyed == "function" ? n.keyed : void 0, i = t.length > 1, a = t, o = {
|
|
1462
1462
|
ie: wt(),
|
|
1463
1463
|
wt: 0,
|
|
@@ -1471,11 +1471,11 @@ function or(e, t, n) {
|
|
|
1471
1471
|
kt: i && n?.keyed !== !1 ? [] : void 0,
|
|
1472
1472
|
gt: n?.keyed === !1,
|
|
1473
1473
|
bt: n?.fallback
|
|
1474
|
-
}, s =
|
|
1475
|
-
return o.ie.qn = s, s.C &= -33,
|
|
1474
|
+
}, s = rn(dr.bind(o), void 0);
|
|
1475
|
+
return o.ie.qn = s, s.C &= -33, Qn(s);
|
|
1476
1476
|
}
|
|
1477
|
-
var
|
|
1478
|
-
function
|
|
1477
|
+
var cr = { ownedWrite: !0 };
|
|
1478
|
+
function lr(e, t, n, r) {
|
|
1479
1479
|
let i = e.yt, a = e.wt - 1, o = [], s = [], c = [], l = 256, u = r, d = r, f = !1;
|
|
1480
1480
|
for (; u <= a && d <= n - 1;) {
|
|
1481
1481
|
let e = i[u], r = t[d];
|
|
@@ -1515,9 +1515,9 @@ function cr(e, t, n, r) {
|
|
|
1515
1515
|
if (s.length === 32) return !1;
|
|
1516
1516
|
s.push(d);
|
|
1517
1517
|
}
|
|
1518
|
-
return
|
|
1518
|
+
return ur(e, t, n, o, s, c);
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1520
|
+
function ur(e, t, n, r, i, a) {
|
|
1521
1521
|
let o = e.yt, s, c, l;
|
|
1522
1522
|
if (i.length !== 0) for (l = Array(r.length), c = 0; c < i.length; c++) {
|
|
1523
1523
|
let e = -1;
|
|
@@ -1549,31 +1549,31 @@ function lr(e, t, n, r, i, a) {
|
|
|
1549
1549
|
for (e.Mt = f, e.St = p, e.wt = n, e.yt = t.slice(0), s = 0; s < r.length; s++) (l === void 0 || !l[s]) && d[r[s]].dispose();
|
|
1550
1550
|
return !0;
|
|
1551
1551
|
}
|
|
1552
|
-
function
|
|
1552
|
+
function dr() {
|
|
1553
1553
|
let e = this.Ot() || [], t = e.length;
|
|
1554
|
-
return e[
|
|
1555
|
-
let n, r, i, a, o = this.jt ? this.gt ? () => (i[r] =
|
|
1554
|
+
return e[ir], Gn(this.ie, () => {
|
|
1555
|
+
let n, r, i, a, o = this.jt ? this.gt ? () => (i[r] = fn(e[r], cr), this.At(Qn(i[r]), r)) : () => (i[r] = fn(e[r], cr), a && (a[r] = fn(r, cr)), this.At(Qn(i[r]), a ? Qn(a[r]) : void 0)) : this.kt ? () => {
|
|
1556
1556
|
let t = e[r];
|
|
1557
|
-
return a[r] =
|
|
1557
|
+
return a[r] = fn(r, cr), this.At(t, Qn(a[r]));
|
|
1558
1558
|
} : () => {
|
|
1559
1559
|
let t = e[r];
|
|
1560
1560
|
return this.At(t);
|
|
1561
1561
|
};
|
|
1562
|
-
if (t === 0) this.wt !== 0 && (this.ie.dispose(!1), this.St = [], this.yt = [], this.Mt = [], this.wt = 0, this.jt &&= [], this.kt &&= []), this.bt && !this.Mt[0] && (this.St[0]?.dispose(), this.Mt[0] =
|
|
1562
|
+
if (t === 0) this.wt !== 0 && (this.ie.dispose(!1), this.St = [], this.yt = [], this.Mt = [], this.wt = 0, this.jt &&= [], this.kt &&= []), this.bt && !this.Mt[0] && (this.St[0]?.dispose(), this.Mt[0] = Gn(this.St[0] = wt(), this.bt));
|
|
1563
1563
|
else if (this.wt === 0) {
|
|
1564
1564
|
let s = Array(t), c = Array(t);
|
|
1565
1565
|
i = this.jt && Array(t), a = this.kt && Array(t);
|
|
1566
1566
|
try {
|
|
1567
|
-
for (r = 0; r < t; r++) s[r] =
|
|
1567
|
+
for (r = 0; r < t; r++) s[r] = Gn(c[r] = wt(), o);
|
|
1568
1568
|
} catch (e) {
|
|
1569
1569
|
for (n = 0; n <= r; n++) c[n]?.dispose();
|
|
1570
1570
|
throw e;
|
|
1571
1571
|
}
|
|
1572
1572
|
this.St[0] && this.St[0].dispose(), this.Mt = s, this.St = c, i && (this.jt = i), a && (this.kt = a), this.yt = e.slice(0), this.wt = t;
|
|
1573
1573
|
} else {
|
|
1574
|
-
let s, c, l, u, d, f, p, m, h, g = (this.Wt =
|
|
1575
|
-
for (s = 0, c = Math.min(this.wt, t); s < c && (this.yt[s] === e[s] || this.jt &&
|
|
1576
|
-
for (c = this.wt - 1, l = t - 1; c >= s && l >= s && (this.yt[c] === e[l] || this.jt &&
|
|
1574
|
+
let s, c, l, u, d, f, p, m, h, g = (this.Wt = en !== null || this.Wt && te.size !== 0) ? w.st : Bn;
|
|
1575
|
+
for (s = 0, c = Math.min(this.wt, t); s < c && (this.yt[s] === e[s] || this.jt && fr(this.Kn, this.yt[s], e[s])); s++) this.jt && g(this.jt[s], e[s]);
|
|
1576
|
+
for (c = this.wt - 1, l = t - 1; c >= s && l >= s && (this.yt[c] === e[l] || this.jt && fr(this.Kn, this.yt[c], e[l])); c--, l--);
|
|
1577
1577
|
if (s === t && this.wt === t) {
|
|
1578
1578
|
this.yt = e.slice(0);
|
|
1579
1579
|
return;
|
|
@@ -1581,30 +1581,30 @@ function ur() {
|
|
|
1581
1581
|
if (t <= this.wt && c - s > 64 && this.jt === void 0 && this.kt === void 0) {
|
|
1582
1582
|
let n = s + (l - s >> 1), r = e[n], i = Math.min(c, n + 32), a = Math.max(s, n - 32);
|
|
1583
1583
|
for (; a <= i && this.yt[a] !== r;) a++;
|
|
1584
|
-
if (a <= i &&
|
|
1584
|
+
if (a <= i && lr(this, e, t, s)) return;
|
|
1585
1585
|
}
|
|
1586
|
-
let _ = t - this.wt,
|
|
1586
|
+
let _ = t - this.wt, ee = Array(t), v = Array(t);
|
|
1587
1587
|
for (i = this.jt ? Array(t) : void 0, a = this.kt ? Array(t) : void 0, f = /* @__PURE__ */ new Map(), p = Array(l + 1), r = l; r >= s; r--) u = e[r], d = this.Kn ? this.Kn(u) : u, n = f.get(d), p[r] = n === void 0 ? -1 : n, f.set(d, r);
|
|
1588
|
-
for (n = s; n <= c; n++) u = this.yt[n], d = this.Kn ? this.Kn(u) : u, r = f.get(d), r !== void 0 && r !== -1 ? (
|
|
1588
|
+
for (n = s; n <= c; n++) u = this.yt[n], d = this.Kn ? this.Kn(u) : u, r = f.get(d), r !== void 0 && r !== -1 ? (ee[r] = this.Mt[n], v[r] = this.St[n], i && (i[r] = this.jt[n]), a && (a[r] = this.kt[n]), r = p[r], f.set(d, r)) : (m ??= []).push(this.St[n]);
|
|
1589
1589
|
try {
|
|
1590
|
-
for (r = s; r <= l; r++)
|
|
1590
|
+
for (r = s; r <= l; r++) v[r] === void 0 && ((h ??= []).push(v[r] = wt()), ee[r] = Gn(v[r], o));
|
|
1591
1591
|
} catch (e) {
|
|
1592
1592
|
if (h) for (n = 0; n < h.length; n++) h[n].dispose();
|
|
1593
1593
|
throw e;
|
|
1594
1594
|
}
|
|
1595
|
-
for (n = 0; n < s; n++)
|
|
1595
|
+
for (n = 0; n < s; n++) ee[n] = this.Mt[n], v[n] = this.St[n], i && (i[n] = this.jt[n]), a && (a[n] = this.kt[n]);
|
|
1596
1596
|
for (r = s; r <= l; r++) i && g(i[r], e[r]), a && g(a[r], r);
|
|
1597
|
-
for (r = l + 1; r < t; r++)
|
|
1598
|
-
if (this.Mt =
|
|
1597
|
+
for (r = l + 1; r < t; r++) ee[r] = this.Mt[r - _], v[r] = this.St[r - _], i && (i[r] = this.jt[r - _], g(i[r], e[r])), a && (a[r] = this.kt[r - _], _ !== 0 && g(a[r], r));
|
|
1598
|
+
if (this.Mt = ee, this.St = v, i && (this.jt = i), a && (this.kt = a), this.wt = t, this.yt = e.slice(0), m) for (n = 0; n < m.length; n++) m[n].dispose();
|
|
1599
1599
|
}
|
|
1600
1600
|
}), this.Mt;
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1602
|
+
function fr(e, t, n) {
|
|
1603
1603
|
return !e || e(t) === e(n);
|
|
1604
1604
|
}
|
|
1605
1605
|
//#endregion
|
|
1606
1606
|
//#region ../../node_modules/.bun/@solidjs+signals@2.0.0-rc.13/node_modules/@solidjs/signals/dist/prod/boundaries.js
|
|
1607
|
-
function
|
|
1607
|
+
function pr(e, t) {
|
|
1608
1608
|
if (typeof e == "function" && !e.length) {
|
|
1609
1609
|
if (t?.doNotUnwrap) return e;
|
|
1610
1610
|
do
|
|
@@ -1614,9 +1614,9 @@ function fr(e, t) {
|
|
|
1614
1614
|
if (!t?.skipNonRendered || e != null && e !== !0 && e !== !1 && e !== "") {
|
|
1615
1615
|
if (Array.isArray(e)) {
|
|
1616
1616
|
let n = [];
|
|
1617
|
-
return
|
|
1617
|
+
return mr(e, n, t) ? () => {
|
|
1618
1618
|
let e = [];
|
|
1619
|
-
return
|
|
1619
|
+
return mr(n, e, {
|
|
1620
1620
|
...t,
|
|
1621
1621
|
doNotUnwrap: !1
|
|
1622
1622
|
}), e;
|
|
@@ -1625,7 +1625,7 @@ function fr(e, t) {
|
|
|
1625
1625
|
return e;
|
|
1626
1626
|
}
|
|
1627
1627
|
}
|
|
1628
|
-
function
|
|
1628
|
+
function mr(t, n = [], r) {
|
|
1629
1629
|
let i = null, a = !1;
|
|
1630
1630
|
for (let o = 0; o < t.length; o++) try {
|
|
1631
1631
|
let e = t[o];
|
|
@@ -1638,7 +1638,7 @@ function pr(t, n = [], r) {
|
|
|
1638
1638
|
e = e();
|
|
1639
1639
|
while (typeof e == "function" && !e.length);
|
|
1640
1640
|
}
|
|
1641
|
-
Array.isArray(e) ? a =
|
|
1641
|
+
Array.isArray(e) ? a = mr(e, n, r) || a : r?.skipNonRendered && (e == null || e === !0 || e === !1 || e === "") || n.push(e);
|
|
1642
1642
|
} catch (t) {
|
|
1643
1643
|
if (!(t instanceof e)) throw t;
|
|
1644
1644
|
i = t;
|
|
@@ -1646,112 +1646,112 @@ function pr(t, n = [], r) {
|
|
|
1646
1646
|
if (i) throw i;
|
|
1647
1647
|
return a;
|
|
1648
1648
|
}
|
|
1649
|
-
var
|
|
1650
|
-
function hr(e, t) {
|
|
1651
|
-
return t === 3 ? (e = e()) ?? mr : e;
|
|
1652
|
-
}
|
|
1649
|
+
var hr = Object.freeze({});
|
|
1653
1650
|
function gr(e, t) {
|
|
1651
|
+
return t === 3 ? (e = e()) ?? hr : e;
|
|
1652
|
+
}
|
|
1653
|
+
function _r(e, t) {
|
|
1654
1654
|
let n = e.hidden;
|
|
1655
1655
|
return typeof n == "function" ? n(t) : n.includes(t);
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1658
|
-
return
|
|
1659
|
-
}
|
|
1660
|
-
function vr(e, t) {
|
|
1661
|
-
return t === 0 ? Object.keys(e) : t === 2 || e[ir] === e ? Reflect.ownKeys(e) : Object.keys(e);
|
|
1657
|
+
function vr(e) {
|
|
1658
|
+
return gr(e.source, e.kind);
|
|
1662
1659
|
}
|
|
1663
1660
|
function yr(e, t) {
|
|
1661
|
+
return t === 0 ? Object.keys(e) : t === 2 || e[ar] === e ? Reflect.ownKeys(e) : Object.keys(e);
|
|
1662
|
+
}
|
|
1663
|
+
function br(e, t) {
|
|
1664
1664
|
if (t === 1) {
|
|
1665
|
-
if (e.kind === 4) return
|
|
1666
|
-
let t = vr(
|
|
1667
|
-
for (let r = 0; r < t.length; r++)
|
|
1665
|
+
if (e.kind === 4) return Sr(e.source, !1, e);
|
|
1666
|
+
let t = yr(vr(e), e.kind), n = [];
|
|
1667
|
+
for (let r = 0; r < t.length; r++) _r(e, t[r]) || n.push(t[r]);
|
|
1668
1668
|
return n;
|
|
1669
1669
|
}
|
|
1670
|
-
return
|
|
1670
|
+
return yr(gr(e, t), t);
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1672
|
+
function xr(e, t) {
|
|
1673
1673
|
if (e !== void 0) {
|
|
1674
|
-
for (let n = e.length - 1; n >= 0; n--) if (
|
|
1674
|
+
for (let n = e.length - 1; n >= 0; n--) if (_r(e[n], t)) return !0;
|
|
1675
1675
|
}
|
|
1676
1676
|
return !1;
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1678
|
+
function Sr(e, t, n) {
|
|
1679
1679
|
let r = [];
|
|
1680
|
-
return
|
|
1680
|
+
return Cr(e, n === void 0 ? void 0 : [n], t, r, null), r;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1682
|
+
function Cr(e, t, n, r, i) {
|
|
1683
1683
|
let a = e.sources, o = e.kinds;
|
|
1684
1684
|
for (let e = 0; e < a.length; e++) {
|
|
1685
1685
|
let s = a[e], c = o[e], l;
|
|
1686
1686
|
if (c === 1) {
|
|
1687
1687
|
if (s.kind === 4) {
|
|
1688
|
-
t === void 0 ? t = [s] : t.push(s),
|
|
1688
|
+
t === void 0 ? t = [s] : t.push(s), Cr(s.source, t, n, r, i), t.pop();
|
|
1689
1689
|
continue;
|
|
1690
1690
|
}
|
|
1691
1691
|
l = s, c = s.kind, s = s.source;
|
|
1692
1692
|
}
|
|
1693
|
-
s =
|
|
1694
|
-
let u = n ?
|
|
1693
|
+
s = gr(s, c);
|
|
1694
|
+
let u = n ? or(s) : yr(s, c);
|
|
1695
1695
|
for (let e = 0; e < u.length; e++) {
|
|
1696
1696
|
let n = u[e];
|
|
1697
|
-
l !== void 0 &&
|
|
1697
|
+
l !== void 0 && _r(l, n) || xr(t, n) || wr(r, i, n, s);
|
|
1698
1698
|
}
|
|
1699
1699
|
}
|
|
1700
1700
|
}
|
|
1701
|
-
function
|
|
1701
|
+
function wr(e, t, n, r) {
|
|
1702
1702
|
let i = e.indexOf(n);
|
|
1703
1703
|
i !== -1 && (e.splice(i, 1), t !== null && t.splice(i, 1)), e.push(n), t !== null && t.push(r);
|
|
1704
1704
|
}
|
|
1705
1705
|
//#endregion
|
|
1706
1706
|
//#region ../../node_modules/.bun/solid-js@2.0.0-rc.13/node_modules/solid-js/dist/solid.js
|
|
1707
|
-
var
|
|
1707
|
+
var Tr = !1, Er = {
|
|
1708
1708
|
hydrating: !1,
|
|
1709
1709
|
registry: void 0,
|
|
1710
1710
|
done: !1
|
|
1711
|
-
},
|
|
1712
|
-
function
|
|
1713
|
-
return
|
|
1711
|
+
}, Dr = (...e) => er(...e), Or = (...e) => $n(...e), kr = (...e) => Tt(...e), Ar = (...e) => nr(...e), jr = (...e) => tr(...e);
|
|
1712
|
+
function D(e, t, n) {
|
|
1713
|
+
return gn(() => e(t || {}));
|
|
1714
1714
|
}
|
|
1715
|
-
var
|
|
1716
|
-
function
|
|
1715
|
+
var Mr = (e) => `Stale read from <${e}>.`;
|
|
1716
|
+
function Nr(e) {
|
|
1717
1717
|
let t = "fallback" in e ? {
|
|
1718
1718
|
keyed: e.keyed,
|
|
1719
1719
|
fallback: () => e.fallback
|
|
1720
|
-
} : { keyed: e.keyed }, n = xt(), r, i = () =>
|
|
1721
|
-
return
|
|
1720
|
+
} : { keyed: e.keyed }, n = xt(), r, i = () => Gn(n, () => sr(() => e.each, e.children, t));
|
|
1721
|
+
return Er.hydrating && (r = i()), () => (r ??= i())();
|
|
1722
1722
|
}
|
|
1723
|
-
function
|
|
1724
|
-
let t = e.keyed, n =
|
|
1723
|
+
function O(e) {
|
|
1724
|
+
let t = e.keyed, n = er(() => e.when, void 0), r = t ? n : er(n, {
|
|
1725
1725
|
equals: (e, t) => !e == !t,
|
|
1726
1726
|
sync: !0
|
|
1727
1727
|
});
|
|
1728
|
-
return
|
|
1728
|
+
return er(() => {
|
|
1729
1729
|
let i = r();
|
|
1730
1730
|
if (i) {
|
|
1731
1731
|
let a = e.children;
|
|
1732
|
-
return typeof a == "function" && a.length > 0 ?
|
|
1733
|
-
if (!
|
|
1732
|
+
return typeof a == "function" && a.length > 0 ? gn(t ? () => a(i) : () => a(() => {
|
|
1733
|
+
if (!gn(r)) throw Mr("Show");
|
|
1734
1734
|
return n();
|
|
1735
|
-
}),
|
|
1735
|
+
}), Tr) : a;
|
|
1736
1736
|
}
|
|
1737
1737
|
return e.fallback;
|
|
1738
1738
|
}, { sync: !0 });
|
|
1739
1739
|
}
|
|
1740
1740
|
//#endregion
|
|
1741
1741
|
//#region ../../node_modules/.bun/solid-js@2.0.0-rc.13/node_modules/solid-js/dist/internal.js
|
|
1742
|
-
var Pr =
|
|
1742
|
+
var Pr = Er, Fr = /*#__PURE__*/ Symbol("slot"), Ir = /*#__PURE__*/ Symbol("host"), Lr = {
|
|
1743
1743
|
transparent: !0,
|
|
1744
1744
|
sync: !0
|
|
1745
1745
|
}, Rr = { sync: !0 };
|
|
1746
1746
|
function k(e, t, n) {
|
|
1747
|
-
|
|
1747
|
+
Ar(e, t, n ? {
|
|
1748
1748
|
sync: !0,
|
|
1749
1749
|
...n,
|
|
1750
1750
|
transparent: !n.scope
|
|
1751
1751
|
} : Lr);
|
|
1752
1752
|
}
|
|
1753
1753
|
function zr(e) {
|
|
1754
|
-
return
|
|
1754
|
+
return Dr(() => e(), Rr);
|
|
1755
1755
|
}
|
|
1756
1756
|
function Br(e, t, n, r) {
|
|
1757
1757
|
let i = n.length, a = t.length, o = i, s = 0, c = 0, l = t[a - 1], u = l[Fr], d = l.parentNode === e && (!u || u === r) ? l.nextSibling : r || null, f = null, p, m, h = (t) => {
|
|
@@ -1826,10 +1826,10 @@ function qr(e, t, n, r = {}) {
|
|
|
1826
1826
|
let i;
|
|
1827
1827
|
Xr(t);
|
|
1828
1828
|
try {
|
|
1829
|
-
|
|
1829
|
+
kr((a) => {
|
|
1830
1830
|
if (i = a, r.onError && (xt()[De] = r.onError), t === document) {
|
|
1831
1831
|
let t = e();
|
|
1832
|
-
k(() =>
|
|
1832
|
+
k(() => pr(t), () => {});
|
|
1833
1833
|
} else {
|
|
1834
1834
|
let i = e();
|
|
1835
1835
|
P(t, () => i, t.firstChild ? null : void 0, n, {
|
|
@@ -1961,8 +1961,8 @@ function ai(e, t, n) {
|
|
|
1961
1961
|
function N(e) {
|
|
1962
1962
|
if (typeof e != "object" || !e) return e;
|
|
1963
1963
|
if (Array.isArray(e)) return e.map(N);
|
|
1964
|
-
if (e[
|
|
1965
|
-
let t =
|
|
1964
|
+
if (e[ar] !== e) return e;
|
|
1965
|
+
let t = br(e, 2), n = {};
|
|
1966
1966
|
for (let r = 0; r < t.length; r++) {
|
|
1967
1967
|
let i = t[r];
|
|
1968
1968
|
typeof i == "string" && (n[i] = e[i]);
|
|
@@ -1976,8 +1976,8 @@ function si(e, t) {
|
|
|
1976
1976
|
Array.isArray(e) ? e.flat(Infinity).forEach((e) => e && e(t)) : e(t);
|
|
1977
1977
|
}
|
|
1978
1978
|
function ci(e, t) {
|
|
1979
|
-
let n =
|
|
1980
|
-
|
|
1979
|
+
let n = gn(e);
|
|
1980
|
+
Gn(null, () => si(n, t));
|
|
1981
1981
|
}
|
|
1982
1982
|
var li = { scope: !0 }, ui = null;
|
|
1983
1983
|
function P(e, t, n, r, i) {
|
|
@@ -2114,7 +2114,7 @@ function hi(e, t, n, r) {
|
|
|
2114
2114
|
return t;
|
|
2115
2115
|
}
|
|
2116
2116
|
function gi(e, t, n, r) {
|
|
2117
|
-
if (e =
|
|
2117
|
+
if (e = pr(e, {
|
|
2118
2118
|
skipNonRendered: !0,
|
|
2119
2119
|
doNotUnwrap: r
|
|
2120
2120
|
}), r && typeof e == "function") return e;
|
|
@@ -2171,21 +2171,21 @@ function xi(e, t, n, r) {
|
|
|
2171
2171
|
r && n && (r[Fr] = n);
|
|
2172
2172
|
}
|
|
2173
2173
|
function Si(e) {
|
|
2174
|
-
return
|
|
2174
|
+
return Gn(wt(), () => Ci(e));
|
|
2175
2175
|
}
|
|
2176
2176
|
function Ci(e) {
|
|
2177
|
-
let t = document.createTextNode(""), n = document.createTextNode(""), r = document.createTextNode(""), i = () => e.mount || document.body, a =
|
|
2177
|
+
let t = document.createTextNode(""), n = document.createTextNode(""), r = document.createTextNode(""), i = () => e.mount || document.body, a = Dr(() => [n, e.children], {
|
|
2178
2178
|
ssrSource: "client",
|
|
2179
2179
|
loadingValue: void 0
|
|
2180
2180
|
});
|
|
2181
|
-
return
|
|
2181
|
+
return Ar(() => [
|
|
2182
2182
|
i(),
|
|
2183
2183
|
a(),
|
|
2184
2184
|
xt()
|
|
2185
2185
|
], ([, e, a]) => {
|
|
2186
|
-
let o =
|
|
2186
|
+
let o = gn(i);
|
|
2187
2187
|
o.appendChild(r);
|
|
2188
|
-
let s =
|
|
2188
|
+
let s = Gn(a, () => kr((n) => (P(o, e, r, void 0, { host: () => t.parentNode }), n)));
|
|
2189
2189
|
return () => {
|
|
2190
2190
|
s();
|
|
2191
2191
|
let e = n;
|
|
@@ -2198,10 +2198,10 @@ function Ci(e) {
|
|
|
2198
2198
|
}, {
|
|
2199
2199
|
schedule: !0,
|
|
2200
2200
|
ssrSource: "client"
|
|
2201
|
-
}),
|
|
2202
|
-
let e =
|
|
2201
|
+
}), jr(i, () => {
|
|
2202
|
+
let e = gn(i), n = ti(t);
|
|
2203
2203
|
if (n && !n.contains(e)) return Qr(e, n), () => $r(e, n);
|
|
2204
|
-
}, { ssrSource: "client" }), Pr.hydrating ?
|
|
2204
|
+
}, { ssrSource: "client" }), Pr.hydrating ? Dr(() => t, {
|
|
2205
2205
|
ssrSource: "client",
|
|
2206
2206
|
loadingValue: void 0
|
|
2207
2207
|
}) : t;
|
|
@@ -5025,10 +5025,10 @@ var Vg = class {
|
|
|
5025
5025
|
out: p,
|
|
5026
5026
|
issues: void 0,
|
|
5027
5027
|
options: d
|
|
5028
|
-
}, h = d.errors === "all", g = d.onExcessProperty === "error", _ = d.concurrency === void 0 ? 1 : uf(d.concurrency),
|
|
5028
|
+
}, h = d.errors === "all", g = d.onExcessProperty === "error", _ = d.concurrency === void 0 ? 1 : uf(d.concurrency), ee = i && g ? n.indexSignatures.map((e) => Ig(f, e.parameter, d)) : void 0;
|
|
5029
5029
|
if (g) {
|
|
5030
|
-
let r =
|
|
5031
|
-
if (
|
|
5030
|
+
let r = ee ? new Set(e) : e;
|
|
5031
|
+
if (ee) for (let e of ee) for (let t of e) r.add(t);
|
|
5032
5032
|
let i = Reflect.ownKeys(f);
|
|
5033
5033
|
for (let e = 0; e < i.length; e++) {
|
|
5034
5034
|
let a = i[e];
|
|
@@ -5047,7 +5047,7 @@ var Vg = class {
|
|
|
5047
5047
|
e && (yield* e);
|
|
5048
5048
|
}
|
|
5049
5049
|
if (i && _ === 1) for (let e = 0; e < i; e++) {
|
|
5050
|
-
let t = o[e], n = t.is.parameter === Tg ? l : c, r =
|
|
5050
|
+
let t = o[e], n = t.is.parameter === Tg ? l : c, r = ee?.[e] ?? (t.is.parameter === Tg ? Object.keys(f) : Ig(f, t.is.parameter, d));
|
|
5051
5051
|
for (let e = 0; e < r.length; e++) {
|
|
5052
5052
|
let i = n(m, r[e], t);
|
|
5053
5053
|
if (!J(i)) yield* i;
|
|
@@ -5057,7 +5057,7 @@ var Vg = class {
|
|
|
5057
5057
|
else if (u) {
|
|
5058
5058
|
let e = yc();
|
|
5059
5059
|
for (let t = 0; t < i; t++) {
|
|
5060
|
-
let n = o[t], r =
|
|
5060
|
+
let n = o[t], r = ee?.[t] ?? (n.is.parameter === Tg ? Object.keys(f) : Ig(f, n.is.parameter, d));
|
|
5061
5061
|
for (let t = 0; t < r.length; t++) e.push([r[t], n]);
|
|
5062
5062
|
}
|
|
5063
5063
|
let t = u(m, e, { concurrency: _ });
|
|
@@ -7223,11 +7223,11 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7223
7223
|
base: /(^|[\s>+~])$/.test(n) ? `${n}*` : n,
|
|
7224
7224
|
states: r
|
|
7225
7225
|
};
|
|
7226
|
-
}, Wx = class extends Es()("@cssints/devtools/core/page") {}, Gx = (e) => Dx[e] ?? [e], Kx = (e) => /^@scope\b/i.test(e), qx = /\._[\w-]/, Jx = 1e9,
|
|
7226
|
+
}, Wx = class extends Es()("@cssints/devtools/core/page") {}, Gx = (e) => Dx[e] ?? [e], Kx = (e) => /^@scope\b/i.test(e), qx = /\._[\w-]/, Jx = /^cs-[\w-]+$/, Yx = 1e9, Xx = /^(width|height|inline-size|block-size|min-width|min-height|max-width|max-height|flex-basis|grid-template-columns|grid-template-rows)$/, Zx = (e, t) => t === "" ? Yx : e.rank.get(t) ?? e.rank.get(t.split(".")[0]) ?? -1, Qx = (e, t, n) => {
|
|
7227
7227
|
if (t.decl.important !== n.decl.important) return t.decl.important;
|
|
7228
|
-
let r =
|
|
7228
|
+
let r = Zx(e, t.layer), i = Zx(e, n.layer);
|
|
7229
7229
|
return ((t.decl.important ? i - r : r - i) || Lx(t.specificity, n.specificity) || t.rule - n.rule) > 0;
|
|
7230
|
-
},
|
|
7230
|
+
}, $x = zm(function* (e, t, n) {
|
|
7231
7231
|
let r = yield* Wx, i = e.sheet.rules.filter((e) => e.decls.length && (!n || e.decls.some((e) => e.prop === n))), a = (e) => jx(e.selector, ",").map((e) => ({
|
|
7232
7232
|
full: e,
|
|
7233
7233
|
...qx.test(e) ? Ux(e) : {
|
|
@@ -7289,7 +7289,7 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7289
7289
|
applies: o
|
|
7290
7290
|
}]);
|
|
7291
7291
|
});
|
|
7292
|
-
}),
|
|
7292
|
+
}), eS = (e, t, n) => {
|
|
7293
7293
|
let r = {
|
|
7294
7294
|
prop: e.prop,
|
|
7295
7295
|
computed: e.computed,
|
|
@@ -7313,7 +7313,7 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7313
7313
|
...r,
|
|
7314
7314
|
status: "mismatch",
|
|
7315
7315
|
reason: "an animation or a transition is running on the element"
|
|
7316
|
-
} :
|
|
7316
|
+
} : Xx.test(e.prop) ? {
|
|
7317
7317
|
...r,
|
|
7318
7318
|
status: "unverified",
|
|
7319
7319
|
reason: `${e.prop} depends on the element's content and layout, which the probe does not have`
|
|
@@ -7322,14 +7322,14 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7322
7322
|
status: "mismatch",
|
|
7323
7323
|
reason: `the browser computes ${e.computed}; ${t.selector} would give ${e.expected}`
|
|
7324
7324
|
};
|
|
7325
|
-
},
|
|
7325
|
+
}, tS = zm(function* (e, t, n) {
|
|
7326
7326
|
let r;
|
|
7327
|
-
for (let i of yield*
|
|
7327
|
+
for (let i of yield* $x(e, t, n)) i.applies && (!r || Qx(e, i, r)) && (r = i);
|
|
7328
7328
|
return r;
|
|
7329
|
-
}),
|
|
7329
|
+
}), nS = zm(function* (e, t, n) {
|
|
7330
7330
|
let r = yield* Wx, i = e.sheet.inherits.get(n) ?? !0, a = t;
|
|
7331
7331
|
for (let t = 0; a && t < 64; t++) {
|
|
7332
|
-
let t = yield*
|
|
7332
|
+
let t = yield* tS(e, a, n);
|
|
7333
7333
|
if (t) return {
|
|
7334
7334
|
selector: t.selector,
|
|
7335
7335
|
layer: t.layer,
|
|
@@ -7339,17 +7339,17 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7339
7339
|
if (!i) return;
|
|
7340
7340
|
a = yield* r.parent(a);
|
|
7341
7341
|
}
|
|
7342
|
-
}),
|
|
7343
|
-
let n = yield* Wx, { table: r } = e, i = yield*
|
|
7342
|
+
}), rS = /var\(\s*(--[\w-]+)/g, iS = Bm("devtools.inspect")(function* (e, t) {
|
|
7343
|
+
let n = yield* Wx, { table: r } = e, i = yield* $x(e, t), a = i.filter((e) => e.applies), o = i.filter((e) => !e.applies), s = /* @__PURE__ */ new Map();
|
|
7344
7344
|
for (let t of a) for (let n of Gx(t.decl.prop)) {
|
|
7345
7345
|
let r = s.get(n);
|
|
7346
|
-
(!r ||
|
|
7346
|
+
(!r || Qx(e, t, r)) && s.set(n, t);
|
|
7347
7347
|
}
|
|
7348
7348
|
let c = /* @__PURE__ */ new Map();
|
|
7349
7349
|
for (let [e, t] of s) (c.get(t) ?? c.set(t, []).get(t)).push(e);
|
|
7350
7350
|
let l = (e, t) => Gx(e.decl.prop).some((e) => t.includes(e)), u = [];
|
|
7351
7351
|
for (let [e, i] of c) {
|
|
7352
|
-
let c = (yield* n.verify(t, e.decl.prop, e.selector, e.decl.value, i)).map((t) =>
|
|
7352
|
+
let c = (yield* n.verify(t, e.decl.prop, e.selector, e.decl.value, i)).map((t) => eS(t, e, r.root));
|
|
7353
7353
|
u.push({
|
|
7354
7354
|
prop: e.decl.prop,
|
|
7355
7355
|
longhands: i,
|
|
@@ -7421,46 +7421,47 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7421
7421
|
classes: g.filter((e) => t.classes.includes(e)).map(m)
|
|
7422
7422
|
}), g = g.filter((e) => !t.classes.includes(e));
|
|
7423
7423
|
}
|
|
7424
|
-
let _ = f.filter((e) => !h.some((t) => t.classes.some((t) => t.cls === e)));
|
|
7425
|
-
|
|
7426
|
-
let v = [.../* @__PURE__ */ new Set([...i.flatMap((e) => [...e.decl.value.matchAll(
|
|
7424
|
+
let _ = f.filter((e) => !r.classes[e] && Jx.test(e)), ee = f.filter((e) => !_.includes(e) && !h.some((t) => t.classes.some((t) => t.cls === e)));
|
|
7425
|
+
ee.length && h.push({ classes: ee.map(m) });
|
|
7426
|
+
let v = [.../* @__PURE__ */ new Set([...i.flatMap((e) => [...e.decl.value.matchAll(rS)].map((e) => e[1])), ...f.flatMap((e) => r.classes[e]?.tokens ?? [])])].sort(), te = yield* n.custom(t, v), ne = [];
|
|
7427
7427
|
for (let [n, i] of v.entries()) {
|
|
7428
|
-
let a = r.tokens[i], o = yield*
|
|
7429
|
-
|
|
7428
|
+
let a = r.tokens[i], o = yield* nS(e, t, i);
|
|
7429
|
+
ne.push({
|
|
7430
7430
|
name: i,
|
|
7431
7431
|
...a ? {
|
|
7432
7432
|
path: a.path,
|
|
7433
7433
|
declared: a.value
|
|
7434
7434
|
} : {},
|
|
7435
|
-
computed:
|
|
7435
|
+
computed: te[n] ?? "",
|
|
7436
7436
|
registered: e.sheet.inherits.has(i),
|
|
7437
7437
|
...o ? { source: o } : {}
|
|
7438
7438
|
});
|
|
7439
7439
|
}
|
|
7440
7440
|
return {
|
|
7441
7441
|
element: yield* n.label(t),
|
|
7442
|
+
names: _,
|
|
7442
7443
|
root: r.root,
|
|
7443
7444
|
groups: h,
|
|
7444
7445
|
rows: u,
|
|
7445
|
-
tokens:
|
|
7446
|
+
tokens: ne
|
|
7446
7447
|
};
|
|
7447
|
-
}),
|
|
7448
|
-
let t = [...e.attributes].find((e) => e.name.startsWith("data-") && e.name !==
|
|
7448
|
+
}), aS = "data-cssints-probe", oS = (e) => e.ownerNode instanceof Element && (e.ownerNode.getAttribute("data-vite-dev-id") ?? "").endsWith("virtual:cssints.css"), sS = (e, t) => dc(lc(() => e.matches(t)), () => !1), cS = (e) => {
|
|
7449
|
+
let t = [...e.attributes].find((e) => e.name.startsWith("data-") && e.name !== aS);
|
|
7449
7450
|
return `${e.localName}${e.id ? `#${e.id}` : ""}${t ? `[${t.name}${t.value ? `="${t.value}"` : ""}]` : ""}`;
|
|
7450
|
-
},
|
|
7451
|
+
}, lS = (e, t) => {
|
|
7451
7452
|
if (!t.length) return [];
|
|
7452
7453
|
let n = e.ownerDocument.createElement("style");
|
|
7453
7454
|
n.textContent = t.map(({ wrap: e, selector: t }, n) => {
|
|
7454
|
-
let r = t ? `:is(${t}):where([${
|
|
7455
|
+
let r = t ? `:is(${t}):where([${aS}])` : `[${aS}]`;
|
|
7455
7456
|
return `${e.map((e) => `${e} {`).join(" ")} ${r} { --cssints-probe-${n}: 1 } ${"}".repeat(e.length)}`;
|
|
7456
|
-
}).join("\n"), e.ownerDocument.head.append(n), e.setAttribute(
|
|
7457
|
+
}).join("\n"), e.ownerDocument.head.append(n), e.setAttribute(aS, "");
|
|
7457
7458
|
let r = getComputedStyle(e), i = t.map((e, t) => r.getPropertyValue(`--cssints-probe-${t}`).trim() === "1");
|
|
7458
|
-
return e.removeAttribute(
|
|
7459
|
-
},
|
|
7459
|
+
return e.removeAttribute(aS), n.remove(), i;
|
|
7460
|
+
}, uS = (e, t) => {
|
|
7460
7461
|
let n = [], r = e.ownerDocument.defaultView, i = (a, o, s) => {
|
|
7461
7462
|
for (let c of a) if (c instanceof CSSStyleRule) {
|
|
7462
7463
|
let r = c.style.getPropertyValue(t);
|
|
7463
|
-
r &&
|
|
7464
|
+
r && sS(e, c.selectorText) && n.push({
|
|
7464
7465
|
selector: c.selectorText,
|
|
7465
7466
|
source: o,
|
|
7466
7467
|
layer: s,
|
|
@@ -7470,18 +7471,18 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7470
7471
|
} else c instanceof CSSLayerBlockRule ? i(c.cssRules, o, s ? `${s}.${c.name}` : c.name) : c instanceof CSSMediaRule ? r?.matchMedia(c.conditionText).matches && i(c.cssRules, o, s) : c instanceof CSSSupportsRule ? CSS.supports(c.conditionText) && i(c.cssRules, o, s) : c instanceof CSSGroupingRule && i(c.cssRules, o, s);
|
|
7471
7472
|
};
|
|
7472
7473
|
for (let t of e.ownerDocument.styleSheets) {
|
|
7473
|
-
if (
|
|
7474
|
+
if (oS(t)) continue;
|
|
7474
7475
|
let e = t.ownerNode instanceof Element ? t.ownerNode : void 0, n = t.href ?? e?.getAttribute("data-vite-dev-id") ?? `<${e?.localName ?? "style"}>`, r = fc(lc(() => t.cssRules));
|
|
7475
7476
|
r && i(r, n, "");
|
|
7476
7477
|
}
|
|
7477
7478
|
return n;
|
|
7478
|
-
},
|
|
7479
|
+
}, dS = (e) => fc(lc(() => {
|
|
7479
7480
|
let t = new CSSStyleSheet();
|
|
7480
7481
|
t.insertRule(`${e} {}`);
|
|
7481
7482
|
let n = t.cssRules[0];
|
|
7482
7483
|
return n instanceof CSSStyleRule ? n.selectorText : void 0;
|
|
7483
|
-
})),
|
|
7484
|
-
let r =
|
|
7484
|
+
})), fS = (e, t, n) => {
|
|
7485
|
+
let r = dS(t);
|
|
7485
7486
|
if (r === void 0) return;
|
|
7486
7487
|
let i = [], a = (e, t) => {
|
|
7487
7488
|
for (let o of e) if (o instanceof CSSStyleRule) {
|
|
@@ -7491,19 +7492,19 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7491
7492
|
value: e
|
|
7492
7493
|
});
|
|
7493
7494
|
} else o instanceof CSSMediaRule ? a(o.cssRules, [...t, `@media ${o.conditionText}`]) : o instanceof CSSSupportsRule ? a(o.cssRules, [...t, `@supports ${o.conditionText}`]) : o instanceof CSSContainerRule ? a(o.cssRules, [...t, `@container ${o.conditionText}`]) : globalThis.CSSScopeRule && o instanceof CSSScopeRule ? a(o.cssRules, [...t, `@scope${o.start ? ` (${o.start})` : ""}${o.end ? ` to (${o.end})` : ""}`]) : o instanceof CSSGroupingRule && a(o.cssRules, t);
|
|
7494
|
-
}, o = [...e.ownerDocument.styleSheets], s = o.filter(
|
|
7495
|
+
}, o = [...e.ownerDocument.styleSheets], s = o.filter(oS);
|
|
7495
7496
|
for (let e of s.length ? s : o) {
|
|
7496
7497
|
let t = fc(lc(() => e.cssRules));
|
|
7497
7498
|
t && a(t, []);
|
|
7498
7499
|
}
|
|
7499
7500
|
if (i.length < 2) return i[0]?.value;
|
|
7500
|
-
let c =
|
|
7501
|
+
let c = lS(e, i.map(({ wrap: e }) => ({ wrap: e })));
|
|
7501
7502
|
return i.findLast((e, t) => c[t])?.value ?? i.at(-1).value;
|
|
7502
|
-
},
|
|
7503
|
+
}, pS = /var\(\s*(--[\w-]+)/g, mS = (e, t, n, r, i) => {
|
|
7503
7504
|
let a = e.cloneNode(!1);
|
|
7504
7505
|
if (!(a instanceof Element) || !(a instanceof HTMLElement || a instanceof SVGElement)) return [];
|
|
7505
|
-
let o = t.startsWith("--") &&
|
|
7506
|
-
for (let [, e] of o.matchAll(
|
|
7506
|
+
let o = t.startsWith("--") && fS(e, n, t) || r, s = getComputedStyle(e);
|
|
7507
|
+
for (let [, e] of o.matchAll(pS)) a.style.setProperty(e, s.getPropertyValue(e));
|
|
7507
7508
|
a.style.setProperty(t, o, "important"), e.after(a);
|
|
7508
7509
|
let c = getComputedStyle(a), l = e instanceof HTMLElement || e instanceof SVGElement ? e.style : void 0, u = e.getAnimations().length > 0, d = i.map((t) => {
|
|
7509
7510
|
let n = s.getPropertyValue(t).trim(), r = c.getPropertyValue(t).trim();
|
|
@@ -7512,65 +7513,120 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7512
7513
|
computed: n,
|
|
7513
7514
|
expected: r,
|
|
7514
7515
|
inline: l?.getPropertyValue(t) ?? "",
|
|
7515
|
-
foreign: n === r ? [] :
|
|
7516
|
+
foreign: n === r ? [] : uS(e, t),
|
|
7516
7517
|
animated: u
|
|
7517
7518
|
};
|
|
7518
7519
|
});
|
|
7519
7520
|
return a.remove(), d;
|
|
7520
|
-
},
|
|
7521
|
+
}, hS = Pp(Wx, Wx.of({
|
|
7521
7522
|
classes: (e) => X(() => [...e.classList]),
|
|
7522
|
-
label: (e) => X(() =>
|
|
7523
|
+
label: (e) => X(() => cS(e)),
|
|
7523
7524
|
parent: (e) => X(() => e.parentElement ?? void 0),
|
|
7524
|
-
matches: (e, t) => X(() =>
|
|
7525
|
-
probe: (e, t) => X(() =>
|
|
7525
|
+
matches: (e, t) => X(() => sS(e, t)),
|
|
7526
|
+
probe: (e, t) => X(() => lS(e, t)),
|
|
7526
7527
|
custom: (e, t) => X(() => {
|
|
7527
7528
|
let n = getComputedStyle(e);
|
|
7528
7529
|
return t.map((e) => n.getPropertyValue(e).trim());
|
|
7529
7530
|
}),
|
|
7530
|
-
verify: (e, t, n, r, i) => X(() =>
|
|
7531
|
-
})),
|
|
7531
|
+
verify: (e, t, n, r, i) => X(() => mS(e, t, n, r, i))
|
|
7532
|
+
})), gS = 8, _S = 24, vS = 3, yS = 12, bS = 400, xS = 4e3, SS = 80, CS = 8, wS = 12, TS = /* @__PURE__ */ new Set([
|
|
7533
|
+
"id",
|
|
7534
|
+
"role",
|
|
7535
|
+
"aria-label",
|
|
7536
|
+
"href",
|
|
7537
|
+
"src",
|
|
7538
|
+
"alt",
|
|
7539
|
+
"type",
|
|
7540
|
+
"name",
|
|
7541
|
+
"placeholder",
|
|
7542
|
+
"title"
|
|
7543
|
+
]), ES = (e, t) => t.startsWith(`${e}/`) ? t.slice(e.length + 1) : t, DS = (e, t) => e.length > t ? `${e.slice(0, t)}…` : e, OS = (e) => (e ?? "").replace(/\s+/g, " ").trim(), kS = (e) => `${e.localName}${e.id ? `#${e.id}` : ""}`, AS = (e) => {
|
|
7532
7544
|
let t = e.parentElement, n = t?.parentElement;
|
|
7533
7545
|
return [
|
|
7534
7546
|
n?.parentElement,
|
|
7535
7547
|
n,
|
|
7536
7548
|
t,
|
|
7537
7549
|
e
|
|
7538
|
-
].flatMap((e) => e ? [
|
|
7539
|
-
},
|
|
7550
|
+
].flatMap((e) => e ? [kS(e)] : []).join(" > ");
|
|
7551
|
+
}, jS = (e) => `${e.selector} (${e.layer || "unlayered"})`, MS = (e, t, n) => [...e.attributes].flatMap((e) => t(e.name) ? [`${e.name}="${DS(OS(e.value), SS)}"`] : []).slice(0, n).join(" "), NS = (e) => {
|
|
7552
|
+
let t = e.parentElement, n = t?.parentElement;
|
|
7553
|
+
return [
|
|
7554
|
+
e,
|
|
7555
|
+
t,
|
|
7556
|
+
n,
|
|
7557
|
+
n?.parentElement
|
|
7558
|
+
].flatMap((t) => {
|
|
7559
|
+
let n = t && t !== e.ownerDocument.documentElement && MS(t, (e) => e.startsWith("data-"), CS);
|
|
7560
|
+
return t && n ? [`Data of ${kS(t)}: ${n}`] : [];
|
|
7561
|
+
});
|
|
7562
|
+
}, PS = (e, t) => {
|
|
7563
|
+
let { defaultView: n, location: r } = e;
|
|
7564
|
+
if (!n) return [];
|
|
7565
|
+
let { innerWidth: i, innerHeight: a, devicePixelRatio: o } = n, s = MS(e.documentElement, (e) => e === "class" || e.startsWith("data-"), wS), c = [
|
|
7566
|
+
`Page: ${DS(r.pathname + r.search + r.hash, 300)}`,
|
|
7567
|
+
`Title: ${DS(OS(e.title), 120) || "(none)"}`,
|
|
7568
|
+
"Display:",
|
|
7569
|
+
`- viewport: ${i}x${a}${o === 1 ? "" : `, devicePixelRatio ${o}`}`
|
|
7570
|
+
];
|
|
7571
|
+
s && c.push(`- <html> ${s}`);
|
|
7572
|
+
let l = n.matchMedia("(prefers-color-scheme: dark)").matches, u = n.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
7573
|
+
if (c.push(`- prefers-color-scheme: ${l ? "dark" : "light"}${u ? "; prefers-reduced-motion: reduce" : ""}`), t) {
|
|
7574
|
+
let n = t.getBoundingClientRect(), r = [
|
|
7575
|
+
t.matches(":hover") ? ["hovered"] : [],
|
|
7576
|
+
e.activeElement === t ? ["focused"] : [],
|
|
7577
|
+
t.matches(":disabled") || t.getAttribute("aria-disabled") === "true" ? ["disabled"] : []
|
|
7578
|
+
].flat();
|
|
7579
|
+
c.push(`- rect: ${Math.round(n.width)}x${Math.round(n.height)} at ${Math.round(n.x)},${Math.round(n.y)} in the viewport${r.length ? `; ${r.join(", ")}` : ""}`);
|
|
7580
|
+
}
|
|
7581
|
+
return c;
|
|
7582
|
+
}, FS = (e, t) => [
|
|
7583
|
+
"Change the UI of the running app as the instruction says.",
|
|
7584
|
+
"The styles are written with cssints (`css.*` calls): edit those calls, not the generated class names.",
|
|
7585
|
+
"Find the markup from the route (Page) and the app (App).",
|
|
7586
|
+
"",
|
|
7587
|
+
`Instruction: ${DS(e.trim(), xS)}`,
|
|
7588
|
+
"",
|
|
7589
|
+
...PS(t)
|
|
7590
|
+
].join("\n"), IS = (e, t, n) => {
|
|
7540
7591
|
let { root: r } = e, i = e.groups.flatMap((e) => e.site ? [e.site] : []), a = [
|
|
7541
7592
|
"Change the UI of the running app as the instruction says.",
|
|
7542
|
-
"The styles are written with cssints: each `css.*` call
|
|
7543
|
-
"so
|
|
7593
|
+
"The styles are written with cssints: each `css.*` call under `Styled by` produced the classes of the element,",
|
|
7594
|
+
"so start from those files and edit those calls, not the generated class names.",
|
|
7595
|
+
"For the markup, start from the route (Page) and the app (App).",
|
|
7596
|
+
"",
|
|
7597
|
+
`Instruction: ${DS(n.trim(), xS)}`,
|
|
7544
7598
|
"",
|
|
7545
|
-
|
|
7599
|
+
...PS(t.ownerDocument, t),
|
|
7546
7600
|
"",
|
|
7547
7601
|
`Element: <${e.element}>`,
|
|
7548
|
-
`DOM path: ${
|
|
7549
|
-
`Text: ${
|
|
7602
|
+
`DOM path: ${AS(t)}`,
|
|
7603
|
+
`Text: ${DS(OS(t.textContent), 120) || "(none)"}`,
|
|
7550
7604
|
`Classes: ${[...t.classList].slice(0, 12).join(" ") || "(none)"}`,
|
|
7605
|
+
`Attributes: ${MS(t, (e) => TS.has(e), TS.size) || "(none)"}`,
|
|
7606
|
+
...NS(t),
|
|
7551
7607
|
"",
|
|
7552
7608
|
"Styled by (file:line, the call as written):"
|
|
7553
7609
|
];
|
|
7554
7610
|
i.length || a.push("- no cssints call: the element is styled elsewhere");
|
|
7555
|
-
for (let e of i.slice(0,
|
|
7556
|
-
i.length >
|
|
7557
|
-
for (let t of e.rows.slice(0,
|
|
7611
|
+
for (let e of i.slice(0, gS)) a.push(`- ${ES(r, e.file)}:${e.line}`, ` ${DS(OS(e.text ?? ""), bS)}`);
|
|
7612
|
+
i.length > gS && a.push(`- … and ${i.length - gS} more`), a.push("", "Properties now (the winner, then what it beat):");
|
|
7613
|
+
for (let t of e.rows.slice(0, _S)) {
|
|
7558
7614
|
if (!t.winner) continue;
|
|
7559
|
-
let e = t.winner, n = t.overridden.slice(0,
|
|
7560
|
-
a.push(`- ${e.decl.prop}: ${e.decl.value}${e.decl.important ? " !important" : ""} from ${
|
|
7615
|
+
let e = t.winner, n = t.overridden.slice(0, vS).map((e) => `${e.decl.prop}: ${e.decl.value} ${jS(e)}`);
|
|
7616
|
+
a.push(`- ${e.decl.prop}: ${e.decl.value}${e.decl.important ? " !important" : ""} from ${jS(e)}` + (n.length ? `; overridden: ${n.join("; ")}` : ""));
|
|
7561
7617
|
}
|
|
7562
|
-
if (e.rows.length >
|
|
7618
|
+
if (e.rows.length > _S && a.push(`- … and ${e.rows.length - _S} more`), e.tokens.length) {
|
|
7563
7619
|
a.push("", "Tokens it reads:");
|
|
7564
|
-
for (let t of e.tokens.slice(0,
|
|
7620
|
+
for (let t of e.tokens.slice(0, yS)) a.push(`- ${t.name} = ${t.computed || "(not set)"}${t.path ? ` (${t.path})` : ""}`);
|
|
7565
7621
|
}
|
|
7566
7622
|
return a.join("\n");
|
|
7567
|
-
},
|
|
7623
|
+
}, LS = Zv({
|
|
7568
7624
|
file: Yv,
|
|
7569
7625
|
line: iy,
|
|
7570
7626
|
column: iy,
|
|
7571
7627
|
classes: $v(Yv),
|
|
7572
7628
|
text: qv(Yv)
|
|
7573
|
-
}),
|
|
7629
|
+
}), RS = Zv({
|
|
7574
7630
|
kind: ny([
|
|
7575
7631
|
"class",
|
|
7576
7632
|
"marker",
|
|
@@ -7583,18 +7639,18 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7583
7639
|
tokens: $v(Yv),
|
|
7584
7640
|
plugin: qv(Yv),
|
|
7585
7641
|
sites: $v(iy)
|
|
7586
|
-
}),
|
|
7642
|
+
}), zS = Zv({
|
|
7587
7643
|
root: Yv,
|
|
7588
7644
|
sheet: Yv,
|
|
7589
7645
|
layers: $v(Yv),
|
|
7590
|
-
classes: Qv(Yv,
|
|
7591
|
-
sites: $v(
|
|
7646
|
+
classes: Qv(Yv, RS),
|
|
7647
|
+
sites: $v(LS),
|
|
7592
7648
|
tokens: Qv(Yv, Zv({
|
|
7593
7649
|
path: Yv,
|
|
7594
7650
|
value: Yv
|
|
7595
7651
|
}))
|
|
7596
|
-
}),
|
|
7597
|
-
let t = yield* Gv(
|
|
7652
|
+
}), BS = class extends dl("TableError") {}, VS = Bm("devtools.toModel")(function* (e) {
|
|
7653
|
+
let t = yield* Gv(zS)(e).pipe(vm((e) => new BS({ message: `cssints devtools: a bad table: ${e.message}` }))), n = yield* Px(t.sheet), r = new Map(t.layers.map((e, t) => [e, t])), i = /* @__PURE__ */ new Map();
|
|
7598
7654
|
for (let e of n.rules) for (let [, t] of e.selector.matchAll(/\.(_[\w-]+)/g)) {
|
|
7599
7655
|
let n = i.get(t) ?? i.set(t, []).get(t);
|
|
7600
7656
|
n.at(-1) !== e.index && n.push(e.index);
|
|
@@ -7605,56 +7661,56 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7605
7661
|
rank: r,
|
|
7606
7662
|
rulesOf: i
|
|
7607
7663
|
};
|
|
7608
|
-
}),
|
|
7609
|
-
let e = yield*
|
|
7664
|
+
}), HS = "cssints:devtools", US = "cssints:devtools:stale", WS = "cssints:devtools:asked", GS = "cssints:devtools:linked", KS = class extends Es()("@cssints/devtools/core/session/Transport") {}, qS = (e, t) => sx((n) => X(() => e.on(t, (e) => rb(n, e)))), JS = Bm("devtools.session")(function* () {
|
|
7665
|
+
let e = yield* KS, t = yield* Cx(void 0), n = yield* vx(!1), r = yield* vx(!0), i = bx(r, !1).pipe(um(X(() => e.request()))), a = rm(function* () {
|
|
7610
7666
|
(yield* yx(n)) && (yield* yx(r)) && (yield* i);
|
|
7611
7667
|
});
|
|
7612
|
-
return yield* Pm(fx(
|
|
7668
|
+
return yield* Pm(fx(qS(e, HS), (e) => VS(e).pipe(Z((e) => Ex(t, e)), gm("TableError", (e) => hx(e.message))))), yield* Pm(fx(qS(e, US).pipe(ux(() => bx(r, !0)), dx("60 millis")), () => a)), {
|
|
7613
7669
|
model: t,
|
|
7614
7670
|
setActive: (e) => bx(n, e).pipe(um(a))
|
|
7615
7671
|
};
|
|
7616
|
-
}),
|
|
7672
|
+
}), YS = "#111827", XS = "_1hqog5g _df4eqw _1vbyxpb _120vnyk _1t8gqy5 _1nu71z9 _14o2sa1 _1a8gflu _fjx7jy _16hpt8q _6to0fc _1lwcmvy _s7rk0y _1gqyter", ZS = "_1hqog5g _120vnyj _z3zdsi _13tqlfe _1ecomh", QS = "_1f14wpf _rhyb7t _33i4pm _i1h5ry _1dh9zox _1h4s3ko _16hpt8q _6to0fc _184nt68", $S = "_1njigwa", eC = "_1g5d2ic", tC = "_4k81c2 _jveril _rv7stg _z6zrz5", nC = "_4k81c2 _33i4pm _rv7stg _e3rhh0", rC = "_4k81c2 _33i4pm _jveril _1fskg2z", iC = "_4k81c2 _33i4pm _jveril _rv7stg", aC = "_rv7stg _33i4pm _jveril _1pkekbt", oC = "_1hqog5g _120vnyk _1pan41p _4k81c2 _rv7stg _arb16l _2cr60o", sC = "_1hqog5g _120vnyk _1pan41p _33i4pm _jveril _1b2tqpi _v11v3x", cC = "_1s47490 _1njigwa _1wme27f _uysq8p _1egbj28", lC = "_1wme27f _uysq8p _r0xwy4", uC = "_1s47490 _1ob5z5m _g2iyum _baxxsq _1t8gqy5 _1a8gflu _1fskg2z", dC = "_1wme27f _16hpt8q _1i8j81t", fC = "_16hpt8q _1i8j8w2 _1k2b3pg _g9cs3h", pC = "_i1h7gg _1kazld4 _14o2sa1 _k0i4ku _v4t4nx _fjx7jy _n5igo9 _1lwcmvy _1gmfivd", mC = "_1t8gqy5 _1fskg2z", hC = "_1q2li77 _6to0fc _17lglqt _n5339z _1n07ta0", gC = "_1jvfuo0 _g9h8t5 _v4i8ee _m367sd _v4t4nx _1k2b3pg _16hpt8q _6to0fc _1lwcmvy _1gt2bai _hyivqx", _C = "_16hpt8q _6to0fc _g9cs3h _1jjinuh _lqk467 _1waot2e _r0xwy4 _1ajqzk5 _tnb0cg", vC = "_1jvfuo0 _g9h8t5 _1k2b3pg _16hpt8q _6to0fc", yC = "_1n07ta0", bC = "_1kazn1m _1p6y9cw", xC = "_1s47490 _138gorg _g2iyum _16hpt8q", SC = "_g9ymq9 _6to0fc", CC = "_1wme27f _6to0fc _g9cs3h", wC = "_k9k5db _1n07ta0", TC = "_u6js88 _16hpt8q _6to0fc", EC = "_1lh9g66", DC = "_h3m4ra", OC = "_h3od5l", kC = "_u6js88 _h3m4ra _6to0fc", AC = "_1t8gqy5 _1n07ta0", jC = "_1pkekbt", MC = "_1uu2qw5 _z6zrz5", NC = "_1s47490 _1ob5z5m _g2iyum", PC = "_1wme27f _6to0fc _1i8j81t _17lglqt _n5339z _1n07ta0", FC = "_1ew8c5n", IC = "_1gf6p9h", LC = /* @__PURE__ */ A("<span>"), RC = /* @__PURE__ */ A("<div class=\"_u6js88 _16hpt8q _6to0fc _1n07ta0\">except "), zC = /* @__PURE__ */ A("<div><div><span></span><!><!></div><!><!><!><!><!>"), BC = /* @__PURE__ */ A("<span class=\"_1wme27f _6to0fc _g9cs3h _1n07ta0\">nothing applies now"), VC = /* @__PURE__ */ A("<span><!><!>"), HC = /* @__PURE__ */ A("<div><span></span> "), UC = /* @__PURE__ */ A("<div><span>: <!></span> <span>"), WC = /* @__PURE__ */ A("<div class=\"_u6js88 _16hpt8q _6to0fc _1c7it6z\">: <!> <span></span> <!>"), GC = /* @__PURE__ */ A("<div>"), KC = /* @__PURE__ */ A("<div data-devtools=classes><h3>Classes by call"), qC = /* @__PURE__ */ A("<div data-devtools=properties><h3>Properties"), JC = /* @__PURE__ */ A("<div data-devtools=tokens><h3>Tokens"), YC = /* @__PURE__ */ A("<div><!><!>"), XC = /* @__PURE__ */ A("<div>no cssints call"), ZC = /* @__PURE__ */ A("<button>:<!> ↗"), QC = /* @__PURE__ */ A("<pre data-call>"), $C = /* @__PURE__ */ A("<div>:<!>"), ew = /* @__PURE__ */ A("<div><span>.</span><span><!> <!></span><span>"), tw = /* @__PURE__ */ A("<div><div><span></span><span></span><span>"), nw = /* @__PURE__ */ A("<div class=\"_u6js88 _16hpt8q _6to0fc _1n07ta0\">"), rw = /* @__PURE__ */ A("<div class=\"_u6js88 _16hpt8q _6to0fc _1n07ta0\">from <!> <!> <!> on <!>"), iw = /* @__PURE__ */ A("<span data-devtools=name title=\"readable class (dev only)\">"), aw = /* @__PURE__ */ A("<div data-devtools=blocked>The browser blocked the window. Allow pop-ups for this site and press ⧉ again."), ow = /* @__PURE__ */ A("<div data-devtools=ask><div><span data-devtools=ask-title>OpenCode</span><span class=\"_16hpt8q _6to0fc _g9cs3h _1n07ta0\"data-devtools=ask-link><span></span> </span></div><textarea data-devtools=ask-input rows=2></textarea><div class=\"_16hpt8q _6to0fc _g9cs3h _1n07ta0\"data-devtools=ask-status>"), sw = /* @__PURE__ */ A("<aside data-devtools=panel><div><div data-devtools=bar><span data-devtools=element></span><button data-devtools=pick title=\"pick an element\">pick</button><button data-devtools=detach>⧉</button><button title=\"parent (↑)\">↑</button><button data-devtools=close title=\"close (Esc)\">×</button></div><div data-devtools=body>"), cw = /* @__PURE__ */ A("<div data-devtools=grip>"), lw = /* @__PURE__ */ A("<button data-devtools=dock>"), uw = /* @__PURE__ */ A("<span data-devtools=ask-session>"), dw = /* @__PURE__ */ A("<span data-devtools=ask-state>"), fw = /* @__PURE__ */ A("<button data-devtools=toggle title=\"cssints devtools (Alt+Shift+C)\">cssints"), pw = /* @__PURE__ */ A("<div><span data-devtools=tag>"), mw = "@layer _.k{*{box-sizing:border-box}}@layer _.a{._n5igo9{font:inherit}._14o2sa1{border:1px solid #374151}._m367sd{border:none}._1jjinuh{margin:0 0 4px}._1nu71z9{border-radius:999px}._1t8gqy5{padding:.5rem}._99b8e4{border-color:#16a34a}._k0i3ql{border-radius:3px}._k0i4ku{border-radius:4px}._k9k5db{text-decoration:line-through}._lqk467{padding:.25rem}._v4i8ee{padding:0}._13tqlfe{outline:2px solid #60a5fa}._1fskg2z{border-bottom:1px solid #374151}._1p6y9cw{border-top:1px solid #1f2937}._1pkekbt{border-top:1px solid #374151}._e3rhh0{border-right:1px solid #374151}._z6zrz5{border-left:1px solid #374151}._184nt68{white-space:nowrap}._1kazkiv{padding-block:1px}._1kazld4{padding-block:2px}._1kazn1m{padding-block:4px}._1q2li77{margin-block:0 6px}._g2iyum{gap:.5rem}._i1h5ry{padding-inline:4px}._i1h7gg{padding-inline:6px}._r0xwy4{overflow:auto}._szl2in{overflow:hidden}._tnb0cg{white-space:pre}._x06mdc{gap:.25rem}._120vnyj{z-index:2147483646}._120vnyk{z-index:2147483647}._138gorg{align-items:baseline}._16hpt8q{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}._17lglqt{text-transform:uppercase}._1a8gflu{background-color:#111827}._1ajqzk5{background-color:#0b1220}._1b2tqpi{height:6px}._1b2tse0{height:8px}._1c7it6z{opacity:.5}._1cl1tpz{grid-template-columns:auto 1fr auto}._1dh9zox{background-color:#60a5fa}._1ecomh{background-color:#60a5fa1f}._1egbj28{min-width:0}._1ew8c5n{background-color:#86efac}._1f14wpf{position:absolute}._1g5d2ic{flex-direction:row}._1gf6p9h{background-color:#9ca3af}._1gt2bai{text-align:start}._1h4s3ko{color:#0b1220}._1hjgerl{resize:none}._1hqog5g{position:fixed}._1i8j81t{font-weight:600}._1i8j8w2{font-weight:700}._1jvfuo0{display:block}._1k2b3pg{color:#60a5fa}._1lh9g66{color:#86efac}._1lwcmvy{cursor:pointer}._1n07ta0{color:#9ca3af}._1njigwa{flex-direction:column}._1ob5z5m{align-items:center}._1pan41p{touch-action:none}._1s47490{display:flex}._1s4813v{display:grid}._1uu2qw5{width:20rem}._1vbyxpb{bottom:12px}._1waot2e{max-height:120px}._1wme27f{flex-grow:1}._1ywigwl{width:100%}._2cr60o{cursor:ew-resize}._33i4pm{left:0}._4k81c2{top:0}._5x4zpc{min-height:3rem}._6tnzl3{font-size:10px}._6to0fc{font-size:11px}._6to19l{font-size:12px}._arb16l{width:6px}._arb2v3{width:8px}._baxxsq{flex-shrink:0}._df4eqw{right:12px}._dnf785{line-height:1.45}._fjx7jy{color:#e5e7eb}._g9cs3h{overflow-wrap:anywhere}._g9h8t5{margin-bottom:2px}._g9ymq9{color:#f9a8d4}._h3m4ra{color:#fca5a5}._h3od5l{color:#fcd34d}._jveril{right:0}._n5339z{letter-spacing:.06em}._n7bsss{display:inline-block}._oir30p{margin-inline-end:4px}._omr8bg{font-family:system-ui,sans-serif}._rhyb7t{top:-20px}._rv7stg{bottom:0}._s7rk0y{opacity:.75}._u6js88{padding-inline-start:12px}._uysq8p{min-height:0}._v11v3x{cursor:ns-resize}._v4t4nx{background-color:#0000}._z3zdsi{pointer-events:none}}@layer _.b{._1gmfivd:hover{border-color:#60a5fa}._hyivqx:hover{text-decoration:underline}._1gqyter:hover{opacity:1}}@layer _.c,_.d,_.e;\n/*$vite$:1*/", hw = "cssints-devtools", gw = [
|
|
7617
7673
|
"left",
|
|
7618
7674
|
"top",
|
|
7619
7675
|
"bottom",
|
|
7620
7676
|
"right"
|
|
7621
|
-
],
|
|
7677
|
+
], _w = {
|
|
7622
7678
|
left: "◧",
|
|
7623
7679
|
top: "⬒",
|
|
7624
7680
|
bottom: "⬓",
|
|
7625
7681
|
right: "◨"
|
|
7626
|
-
},
|
|
7627
|
-
left:
|
|
7628
|
-
top:
|
|
7629
|
-
bottom:
|
|
7630
|
-
right:
|
|
7631
|
-
},
|
|
7682
|
+
}, vw = {
|
|
7683
|
+
left: nC,
|
|
7684
|
+
top: rC,
|
|
7685
|
+
bottom: aC,
|
|
7686
|
+
right: tC
|
|
7687
|
+
}, yw = "cssints-devtools:dock", bw = 200, xw = () => {
|
|
7632
7688
|
try {
|
|
7633
|
-
return JSON.parse(localStorage.getItem(
|
|
7689
|
+
return JSON.parse(localStorage.getItem(yw) ?? "null");
|
|
7634
7690
|
} catch {
|
|
7635
7691
|
return null;
|
|
7636
7692
|
}
|
|
7637
|
-
},
|
|
7638
|
-
let e =
|
|
7693
|
+
}, Sw = () => {
|
|
7694
|
+
let e = xw(), t = (e, t) => typeof e == "number" && e >= bw ? e : t;
|
|
7639
7695
|
return {
|
|
7640
|
-
dock:
|
|
7696
|
+
dock: gw.find((t) => t === e?.dock) ?? "right",
|
|
7641
7697
|
w: t(e?.w, 440),
|
|
7642
7698
|
h: t(e?.h, 320),
|
|
7643
7699
|
detached: e?.detached === !0
|
|
7644
7700
|
};
|
|
7645
|
-
},
|
|
7701
|
+
}, Cw = (e) => {
|
|
7646
7702
|
try {
|
|
7647
|
-
localStorage.setItem(
|
|
7703
|
+
localStorage.setItem(yw, JSON.stringify(e));
|
|
7648
7704
|
} catch {}
|
|
7649
|
-
},
|
|
7650
|
-
let n = Rm(
|
|
7705
|
+
}, ww = (e, t) => {
|
|
7706
|
+
let n = Rm(iS(e, t).pipe(Tm(hS)));
|
|
7651
7707
|
return ap(n) ? n.value : String(n.cause);
|
|
7652
|
-
},
|
|
7708
|
+
}, Tw = (e, t, n) => void fetch(`/__open-in-editor?file=${encodeURIComponent(`${e}:${t}:${n + 1}`)}`), Ew = (e) => D(Nr, {
|
|
7653
7709
|
get each() {
|
|
7654
7710
|
return e.of;
|
|
7655
7711
|
},
|
|
7656
7712
|
children: (e) => (() => {
|
|
7657
|
-
var t =
|
|
7713
|
+
var t = LC();
|
|
7658
7714
|
return P(t, () => e.text), k(() => ({
|
|
7659
7715
|
e: N(wi([], "_n7bsss _oir30p _i1h5ry _k0i3ql _14o2sa1 _16hpt8q _6tnzl3", e.holds && "_99b8e4 _1lh9g66")),
|
|
7660
7716
|
t: e.holds ? "holds now" : "does not hold now"
|
|
@@ -7662,181 +7718,181 @@ var nx = (e) => new tx(e), rx = "~effect/Stream", ix = (e) => L(e, rx), ax = nx,
|
|
|
7662
7718
|
M(t, e, r?.e), n !== r?.t && j(t, "title", n);
|
|
7663
7719
|
}), t;
|
|
7664
7720
|
})()
|
|
7665
|
-
}),
|
|
7666
|
-
function
|
|
7721
|
+
}), Dw = (e) => `${e.selector} ${e.layer || "unlayered"}`;
|
|
7722
|
+
function Ow(e) {
|
|
7667
7723
|
let t = () => {
|
|
7668
7724
|
let t = e.row.verdicts;
|
|
7669
7725
|
return t.find((e) => e.status === "mismatch") ?? t.find((e) => e.status === "unverified") ?? t[0];
|
|
7670
7726
|
};
|
|
7671
|
-
var n =
|
|
7672
|
-
return P(i, () => e.row.prop), P(r, O
|
|
7727
|
+
var n = zC(), r = n.firstChild, i = r.firstChild, a = i.nextSibling, o = a.nextSibling, s = r.nextSibling, c = s.nextSibling, l = c.nextSibling, u = l.nextSibling, d = u.nextSibling;
|
|
7728
|
+
return P(i, () => e.row.prop), P(r, D(O, {
|
|
7673
7729
|
get when() {
|
|
7674
7730
|
return e.row.winner;
|
|
7675
7731
|
},
|
|
7676
7732
|
get fallback() {
|
|
7677
|
-
return
|
|
7733
|
+
return BC();
|
|
7678
7734
|
},
|
|
7679
7735
|
children: (e) => (() => {
|
|
7680
|
-
var t =
|
|
7736
|
+
var t = VC(), n = t.firstChild, r = n.nextSibling;
|
|
7681
7737
|
return P(t, () => e().decl.value, n), P(t, () => e().decl.important ? " !important" : "", r), k(() => ({
|
|
7682
|
-
e: N(
|
|
7738
|
+
e: N(CC),
|
|
7683
7739
|
t: e().selector,
|
|
7684
7740
|
a: e().decl.value
|
|
7685
7741
|
}), ({ e, t: n, a: r }, i) => {
|
|
7686
7742
|
M(t, e, i?.e), n !== i?.t && j(t, "data-winner", n), r !== i?.a && j(t, "data-value", r);
|
|
7687
7743
|
}), t;
|
|
7688
7744
|
})()
|
|
7689
|
-
}), a), P(r, O
|
|
7745
|
+
}), a), P(r, D(O, {
|
|
7690
7746
|
get when() {
|
|
7691
7747
|
return t();
|
|
7692
7748
|
},
|
|
7693
7749
|
children: (e) => (() => {
|
|
7694
|
-
var t =
|
|
7750
|
+
var t = LC();
|
|
7695
7751
|
return P(t, (() => {
|
|
7696
7752
|
var t = zr(() => e().status === "ok");
|
|
7697
7753
|
return () => t() ? "✓" : e().status === "mismatch" ? "✗" : "?";
|
|
7698
7754
|
})()), k(() => ({
|
|
7699
|
-
e: N(e().status === "ok" ?
|
|
7755
|
+
e: N(e().status === "ok" ? EC : e().status === "mismatch" ? DC : OC),
|
|
7700
7756
|
t: e().reason ?? `computed ${e().computed}`,
|
|
7701
7757
|
a: e().computed
|
|
7702
7758
|
}), ({ e, t: n, a: r }, i) => {
|
|
7703
7759
|
M(t, e, i?.e), n !== i?.t && j(t, "title", n), r !== i?.a && j(t, "data-computed", r);
|
|
7704
7760
|
}), t;
|
|
7705
7761
|
})()
|
|
7706
|
-
}), o), P(n, O
|
|
7762
|
+
}), o), P(n, D(O, {
|
|
7707
7763
|
get when() {
|
|
7708
7764
|
return e.row.winner;
|
|
7709
7765
|
},
|
|
7710
7766
|
children: (e) => (() => {
|
|
7711
|
-
var t =
|
|
7712
|
-
return n.nextSibling, P(n, () =>
|
|
7767
|
+
var t = HC(), n = t.firstChild;
|
|
7768
|
+
return n.nextSibling, P(n, () => Dw(e())), P(t, D(Ew, { get of() {
|
|
7713
7769
|
return e().conditions;
|
|
7714
7770
|
} }), null), k(() => ({
|
|
7715
|
-
e: N(
|
|
7716
|
-
t: N(
|
|
7771
|
+
e: N(TC),
|
|
7772
|
+
t: N(yC)
|
|
7717
7773
|
}), ({ e, t: r }, i) => {
|
|
7718
7774
|
M(t, e, i?.e), M(n, r, i?.t);
|
|
7719
7775
|
}), t;
|
|
7720
7776
|
})()
|
|
7721
|
-
}), s), P(n, O
|
|
7777
|
+
}), s), P(n, D(O, {
|
|
7722
7778
|
get when() {
|
|
7723
7779
|
return e.row.lost.length;
|
|
7724
7780
|
},
|
|
7725
7781
|
get children() {
|
|
7726
|
-
var t =
|
|
7782
|
+
var t = RC();
|
|
7727
7783
|
return t.firstChild, P(t, () => e.row.lost.map((e) => `${e.prop} (${e.by.selector})`).join(", "), null), t;
|
|
7728
7784
|
}
|
|
7729
|
-
}), c), P(n,
|
|
7785
|
+
}), c), P(n, D(Nr, {
|
|
7730
7786
|
get each() {
|
|
7731
7787
|
return e.row.overridden;
|
|
7732
7788
|
},
|
|
7733
7789
|
children: (e) => (() => {
|
|
7734
|
-
var t =
|
|
7735
|
-
return P(n, () => e.decl.prop, r), P(n, () => e.decl.value, i), P(a, () =>
|
|
7736
|
-
e: N(
|
|
7790
|
+
var t = UC(), n = t.firstChild, r = n.firstChild, i = r.nextSibling, a = n.nextSibling.nextSibling;
|
|
7791
|
+
return P(n, () => e.decl.prop, r), P(n, () => e.decl.value, i), P(a, () => Dw(e)), k(() => ({
|
|
7792
|
+
e: N(TC),
|
|
7737
7793
|
t: e.selector,
|
|
7738
|
-
a: N(
|
|
7739
|
-
o: N(
|
|
7794
|
+
a: N(wC),
|
|
7795
|
+
o: N(yC)
|
|
7740
7796
|
}), ({ e, t: r, a: i, o }, s) => {
|
|
7741
7797
|
M(t, e, s?.e), r !== s?.t && j(t, "data-overridden", r), M(n, i, s?.a), M(a, o, s?.o);
|
|
7742
7798
|
}), t;
|
|
7743
7799
|
})()
|
|
7744
|
-
}), l), P(n,
|
|
7800
|
+
}), l), P(n, D(Nr, {
|
|
7745
7801
|
get each() {
|
|
7746
7802
|
return e.row.inactive;
|
|
7747
7803
|
},
|
|
7748
7804
|
children: (e) => (() => {
|
|
7749
|
-
var t =
|
|
7750
|
-
return P(t, () => e.decl.prop, n), P(t, () => e.decl.value, r), P(i, () =>
|
|
7805
|
+
var t = WC(), n = t.firstChild, r = n.nextSibling, i = r.nextSibling.nextSibling, a = i.nextSibling.nextSibling;
|
|
7806
|
+
return P(t, () => e.decl.prop, n), P(t, () => e.decl.value, r), P(i, () => Dw(e)), P(t, D(Ew, { get of() {
|
|
7751
7807
|
return e.conditions;
|
|
7752
7808
|
} }), a), k(() => ({
|
|
7753
7809
|
e: e.selector,
|
|
7754
|
-
t: N(
|
|
7810
|
+
t: N(yC)
|
|
7755
7811
|
}), ({ e, t: n }, r) => {
|
|
7756
7812
|
e !== r?.e && j(t, "data-inactive", e), M(i, n, r?.t);
|
|
7757
7813
|
}), t;
|
|
7758
7814
|
})()
|
|
7759
|
-
}), u), P(n,
|
|
7815
|
+
}), u), P(n, D(Nr, {
|
|
7760
7816
|
get each() {
|
|
7761
7817
|
return e.row.verdicts.filter((e) => e.reason);
|
|
7762
7818
|
},
|
|
7763
7819
|
children: (e) => (() => {
|
|
7764
|
-
var t =
|
|
7765
|
-
return P(t, () => e.reason), k(() => N(e.status === "mismatch" ?
|
|
7820
|
+
var t = GC();
|
|
7821
|
+
return P(t, () => e.reason), k(() => N(e.status === "mismatch" ? kC : "_u6js88 _16hpt8q _6to0fc _h3od5l"), (e, n) => {
|
|
7766
7822
|
M(t, e, n);
|
|
7767
7823
|
}), t;
|
|
7768
7824
|
})()
|
|
7769
7825
|
}), d), k(() => ({
|
|
7770
|
-
e: N(
|
|
7826
|
+
e: N(bC),
|
|
7771
7827
|
t: e.row.prop,
|
|
7772
7828
|
a: t()?.status ?? "none",
|
|
7773
|
-
o: N(
|
|
7774
|
-
i: N(
|
|
7829
|
+
o: N(xC),
|
|
7830
|
+
i: N(SC)
|
|
7775
7831
|
}), ({ e, t, a, o, i: s }, c) => {
|
|
7776
7832
|
M(n, e, c?.e), t !== c?.t && j(n, "data-prop", t), a !== c?.a && j(n, "data-status", a), M(r, o, c?.o), M(i, s, c?.i);
|
|
7777
7833
|
}), n;
|
|
7778
7834
|
}
|
|
7779
|
-
var
|
|
7780
|
-
function
|
|
7835
|
+
var kw = (e, t) => e === t || JSON.stringify(e) === JSON.stringify(t);
|
|
7836
|
+
function Aw(e) {
|
|
7781
7837
|
let t = () => e.inspection;
|
|
7782
7838
|
return [
|
|
7783
7839
|
(() => {
|
|
7784
|
-
var n =
|
|
7785
|
-
return P(n,
|
|
7840
|
+
var n = KC(), r = n.firstChild;
|
|
7841
|
+
return P(n, D(Nr, {
|
|
7786
7842
|
get each() {
|
|
7787
7843
|
return t().groups;
|
|
7788
7844
|
},
|
|
7789
7845
|
children: (n) => (() => {
|
|
7790
|
-
var r =
|
|
7791
|
-
return P(r, O
|
|
7846
|
+
var r = YC(), i = r.firstChild, a = i.nextSibling;
|
|
7847
|
+
return P(r, D(O, {
|
|
7792
7848
|
get when() {
|
|
7793
7849
|
return n.site;
|
|
7794
7850
|
},
|
|
7795
7851
|
get fallback() {
|
|
7796
|
-
var e =
|
|
7797
|
-
return k(() => N(
|
|
7852
|
+
var e = XC();
|
|
7853
|
+
return k(() => N(yC), (t, n) => {
|
|
7798
7854
|
M(e, t, n);
|
|
7799
7855
|
}), e;
|
|
7800
7856
|
},
|
|
7801
|
-
children: (n) => [O
|
|
7857
|
+
children: (n) => [D(O, {
|
|
7802
7858
|
get when() {
|
|
7803
7859
|
return !e.build;
|
|
7804
7860
|
},
|
|
7805
7861
|
get fallback() {
|
|
7806
|
-
var e =
|
|
7807
|
-
return P(e, () =>
|
|
7808
|
-
e: N(
|
|
7809
|
-
t: `${
|
|
7862
|
+
var e = $C(), r = e.firstChild, i = r.nextSibling;
|
|
7863
|
+
return P(e, () => ES(t().root, n().file), r), P(e, () => n().line, i), k(() => ({
|
|
7864
|
+
e: N(vC),
|
|
7865
|
+
t: `${ES(t().root, n().file)}:${n().line}`
|
|
7810
7866
|
}), ({ e: t, t: n }, r) => {
|
|
7811
7867
|
M(e, t, r?.e), n !== r?.t && j(e, "data-site", n);
|
|
7812
7868
|
}), e;
|
|
7813
7869
|
},
|
|
7814
7870
|
get children() {
|
|
7815
|
-
var e =
|
|
7816
|
-
return i.nextSibling, e._$$click = () =>
|
|
7817
|
-
e: N(
|
|
7818
|
-
t: `${
|
|
7871
|
+
var e = ZC(), r = e.firstChild, i = r.nextSibling;
|
|
7872
|
+
return i.nextSibling, e._$$click = () => Tw(n().file, n().line, n().column), P(e, () => ES(t().root, n().file), r), P(e, () => n().line, i), k(() => ({
|
|
7873
|
+
e: N(gC),
|
|
7874
|
+
t: `${ES(t().root, n().file)}:${n().line}`
|
|
7819
7875
|
}), ({ e: t, t: n }, r) => {
|
|
7820
7876
|
M(e, t, r?.e), n !== r?.t && j(e, "data-site", n);
|
|
7821
7877
|
}), e;
|
|
7822
7878
|
}
|
|
7823
|
-
}), O
|
|
7879
|
+
}), D(O, {
|
|
7824
7880
|
get when() {
|
|
7825
7881
|
return n().text;
|
|
7826
7882
|
},
|
|
7827
7883
|
get children() {
|
|
7828
|
-
var e =
|
|
7829
|
-
return P(e, () => n().text), k(() => N(
|
|
7884
|
+
var e = QC();
|
|
7885
|
+
return P(e, () => n().text), k(() => N(_C), (t, n) => {
|
|
7830
7886
|
M(e, t, n);
|
|
7831
7887
|
}), e;
|
|
7832
7888
|
}
|
|
7833
7889
|
})]
|
|
7834
|
-
}), i), P(r,
|
|
7890
|
+
}), i), P(r, D(Nr, {
|
|
7835
7891
|
get each() {
|
|
7836
7892
|
return n.classes;
|
|
7837
7893
|
},
|
|
7838
7894
|
children: (e) => (() => {
|
|
7839
|
-
var t =
|
|
7895
|
+
var t = ew(), n = t.firstChild;
|
|
7840
7896
|
n.firstChild;
|
|
7841
7897
|
var r = n.nextSibling, i = r.firstChild, a = i.nextSibling, o = a.nextSibling, s = r.nextSibling;
|
|
7842
7898
|
return P(n, () => e.cls, null), P(r, (() => {
|
|
@@ -7845,12 +7901,12 @@ function sw(e) {
|
|
|
7845
7901
|
})(), i), P(r, (() => {
|
|
7846
7902
|
var t = zr(() => !!(e.kind === "class" && e.plugin));
|
|
7847
7903
|
return () => t() ? ` (${e.plugin})` : "";
|
|
7848
|
-
})(), a), P(r,
|
|
7904
|
+
})(), a), P(r, D(Ew, { get of() {
|
|
7849
7905
|
return e.conditions;
|
|
7850
7906
|
} }), o), P(s, () => e.layer), k(() => ({
|
|
7851
7907
|
e: N(wi([], "_1s4813v _1cl1tpz _g2iyum _1kazkiv _16hpt8q _6to0fc", !e.active && "_1c7it6z")),
|
|
7852
7908
|
t: e.cls,
|
|
7853
|
-
a: N(
|
|
7909
|
+
a: N(yC)
|
|
7854
7910
|
}), ({ e, t: n, a: r }, i) => {
|
|
7855
7911
|
M(t, e, i?.e), n !== i?.t && j(t, "data-class", n), M(s, r, i?.a);
|
|
7856
7912
|
}), t;
|
|
@@ -7858,64 +7914,64 @@ function sw(e) {
|
|
|
7858
7914
|
}), a), r;
|
|
7859
7915
|
})()
|
|
7860
7916
|
}), null), k(() => ({
|
|
7861
|
-
e: N(
|
|
7862
|
-
t: N(
|
|
7917
|
+
e: N(mC),
|
|
7918
|
+
t: N(hC)
|
|
7863
7919
|
}), ({ e, t }, i) => {
|
|
7864
7920
|
M(n, e, i?.e), M(r, t, i?.t);
|
|
7865
7921
|
}), n;
|
|
7866
7922
|
})(),
|
|
7867
7923
|
(() => {
|
|
7868
|
-
var e =
|
|
7869
|
-
return P(e,
|
|
7924
|
+
var e = qC(), n = e.firstChild;
|
|
7925
|
+
return P(e, D(Nr, {
|
|
7870
7926
|
get each() {
|
|
7871
7927
|
return t().rows;
|
|
7872
7928
|
},
|
|
7873
|
-
children: (e) =>
|
|
7929
|
+
children: (e) => D(Ow, { row: e })
|
|
7874
7930
|
}), null), k(() => ({
|
|
7875
|
-
e: N(
|
|
7876
|
-
t: N(
|
|
7931
|
+
e: N(mC),
|
|
7932
|
+
t: N(hC)
|
|
7877
7933
|
}), ({ e: t, t: r }, i) => {
|
|
7878
7934
|
M(e, t, i?.e), M(n, r, i?.t);
|
|
7879
7935
|
}), e;
|
|
7880
7936
|
})(),
|
|
7881
|
-
O
|
|
7937
|
+
D(O, {
|
|
7882
7938
|
get when() {
|
|
7883
7939
|
return t().tokens.length;
|
|
7884
7940
|
},
|
|
7885
7941
|
get children() {
|
|
7886
|
-
var e =
|
|
7887
|
-
return P(e,
|
|
7942
|
+
var e = JC(), n = e.firstChild;
|
|
7943
|
+
return P(e, D(Nr, {
|
|
7888
7944
|
get each() {
|
|
7889
7945
|
return t().tokens;
|
|
7890
7946
|
},
|
|
7891
7947
|
children: (e) => (() => {
|
|
7892
|
-
var t =
|
|
7893
|
-
return P(r, () => e.name), P(i, () => e.computed || "(not set)"), P(a, () => e.path), P(t, O
|
|
7948
|
+
var t = tw(), n = t.firstChild, r = n.firstChild, i = r.nextSibling, a = i.nextSibling;
|
|
7949
|
+
return P(r, () => e.name), P(i, () => e.computed || "(not set)"), P(a, () => e.path), P(t, D(O, {
|
|
7894
7950
|
get when() {
|
|
7895
7951
|
return e.source;
|
|
7896
7952
|
},
|
|
7897
7953
|
get fallback() {
|
|
7898
|
-
var t =
|
|
7954
|
+
var t = nw();
|
|
7899
7955
|
return P(t, () => e.registered ? "the initial value of its @property" : "not set by cssints"), t;
|
|
7900
7956
|
},
|
|
7901
7957
|
children: (e) => (() => {
|
|
7902
|
-
var t =
|
|
7958
|
+
var t = rw(), n = t.firstChild.nextSibling, r = n.nextSibling.nextSibling, i = r.nextSibling.nextSibling, a = i.nextSibling.nextSibling;
|
|
7903
7959
|
return P(t, () => e().wrap.join(" "), n), P(t, () => e().selector, r), P(t, () => e().layer || "unlayered", i), P(t, () => e().on, a), t;
|
|
7904
7960
|
})()
|
|
7905
7961
|
}), null), k(() => ({
|
|
7906
|
-
e: N(
|
|
7962
|
+
e: N(bC),
|
|
7907
7963
|
t: e.name,
|
|
7908
|
-
a: N(
|
|
7909
|
-
o: N(
|
|
7910
|
-
i: N(
|
|
7911
|
-
n: N(
|
|
7964
|
+
a: N(xC),
|
|
7965
|
+
o: N(SC),
|
|
7966
|
+
i: N(CC),
|
|
7967
|
+
n: N(yC)
|
|
7912
7968
|
}), ({ e, t: o, a: s, o: c, i: l, n: u }, d) => {
|
|
7913
7969
|
M(t, e, d?.e), o !== d?.t && j(t, "data-token", o), M(n, s, d?.a), M(r, c, d?.o), M(i, l, d?.i), M(a, u, d?.n);
|
|
7914
7970
|
}), t;
|
|
7915
7971
|
})()
|
|
7916
7972
|
}), null), k(() => ({
|
|
7917
|
-
e: N(
|
|
7918
|
-
t: N(
|
|
7973
|
+
e: N(mC),
|
|
7974
|
+
t: N(hC)
|
|
7919
7975
|
}), ({ e: t, t: r }, i) => {
|
|
7920
7976
|
M(e, t, i?.e), M(n, r, i?.t);
|
|
7921
7977
|
}), e;
|
|
@@ -7923,41 +7979,44 @@ function sw(e) {
|
|
|
7923
7979
|
})
|
|
7924
7980
|
];
|
|
7925
7981
|
}
|
|
7926
|
-
var
|
|
7927
|
-
["ArrowUp",
|
|
7982
|
+
var jw = (e) => e.parentElement, Mw = /* @__PURE__ */ new Map([
|
|
7983
|
+
["ArrowUp", jw],
|
|
7928
7984
|
["ArrowDown", (e) => e.firstElementChild],
|
|
7929
7985
|
["ArrowLeft", (e) => e.previousElementSibling],
|
|
7930
7986
|
["ArrowRight", (e) => e.nextElementSibling]
|
|
7931
7987
|
]);
|
|
7932
|
-
function
|
|
7933
|
-
let [t, n] =
|
|
7934
|
-
|
|
7935
|
-
|
|
7988
|
+
function Nw(e) {
|
|
7989
|
+
let [t, n] = Or(!1), [r, i] = Or(!1), [a, o] = Or(), [s, c] = Or(), [l, u] = Or(0), [d, f] = Or(Sw()), p = () => d().dock === "left" || d().dock === "right", m = () => {
|
|
7990
|
+
let e = h();
|
|
7991
|
+
return e ? (l(), e.innerWidth > e.innerHeight) : d().dock === "top" || d().dock === "bottom";
|
|
7992
|
+
}, [h, g] = Or(), [_, ee] = Or(!1), v = () => {
|
|
7993
|
+
h()?.close(), g(void 0);
|
|
7994
|
+
}, te = (e) => {
|
|
7936
7995
|
let t = {
|
|
7937
7996
|
...d(),
|
|
7938
7997
|
...e
|
|
7939
7998
|
};
|
|
7940
|
-
f(t),
|
|
7941
|
-
},
|
|
7999
|
+
f(t), Cw(t);
|
|
8000
|
+
}, ne = () => {
|
|
7942
8001
|
let e = window.open("", "cssints-devtools", "popup,width=520,height=760");
|
|
7943
|
-
if (
|
|
8002
|
+
if (ee(!e), !e) return;
|
|
7944
8003
|
let t = e.document.createElement("style");
|
|
7945
|
-
t.textContent =
|
|
7946
|
-
},
|
|
7947
|
-
v(),
|
|
7948
|
-
},
|
|
7949
|
-
v(),
|
|
8004
|
+
t.textContent = mw, e.document.title = "cssints devtools", e.document.head.replaceChildren(t), e.document.body.replaceChildren(), e.document.body.style.cssText = `margin: 0; background: ${YS}`, g(e), te({ detached: !0 });
|
|
8005
|
+
}, re = () => {
|
|
8006
|
+
v(), te({ detached: !1 });
|
|
8007
|
+
}, ie = (e) => {
|
|
8008
|
+
v(), te({
|
|
7950
8009
|
dock: e,
|
|
7951
8010
|
detached: !1
|
|
7952
8011
|
});
|
|
7953
|
-
},
|
|
8012
|
+
}, y = (e) => {
|
|
7954
8013
|
if (!e.currentTarget.hasPointerCapture(e.pointerId)) return;
|
|
7955
8014
|
let { dock: t } = d(), n = {
|
|
7956
8015
|
left: e.clientX,
|
|
7957
8016
|
top: e.clientY,
|
|
7958
8017
|
right: innerWidth - e.clientX,
|
|
7959
8018
|
bottom: innerHeight - e.clientY
|
|
7960
|
-
}, r = Math.round(Math.max(
|
|
8019
|
+
}, r = Math.round(Math.max(bw, Math.min(n[t], (p() ? innerWidth : innerHeight) - 80)));
|
|
7961
8020
|
f((e) => p() ? {
|
|
7962
8021
|
...e,
|
|
7963
8022
|
w: r
|
|
@@ -7965,106 +8024,123 @@ function uw(e) {
|
|
|
7965
8024
|
...e,
|
|
7966
8025
|
h: r
|
|
7967
8026
|
});
|
|
7968
|
-
},
|
|
8027
|
+
}, ae = () => {
|
|
7969
8028
|
let { dock: e, w: t, h: n } = d(), r = p() ? `calc(min(${t}px, 100vw) - 3px)` : `calc(min(${n}px, 100vh) - 3px)`;
|
|
7970
|
-
return Object.fromEntries(
|
|
7971
|
-
},
|
|
7972
|
-
|
|
7973
|
-
let t =
|
|
8029
|
+
return Object.fromEntries(gw.map((t) => [t, t === e ? r : ""]));
|
|
8030
|
+
}, oe = () => r() ? a() ?? s() : s(), [b, se] = Or();
|
|
8031
|
+
jr(() => e.asked()?.status, (e) => {
|
|
8032
|
+
let t = b();
|
|
7974
8033
|
e === "running" && t && (t.value = "");
|
|
8034
|
+
}), jr(() => e.asked()?.status, (t) => {
|
|
8035
|
+
t === "unavailable" && e.link?.();
|
|
7975
8036
|
});
|
|
7976
|
-
let
|
|
7977
|
-
let t = e.model(), n = s(), r =
|
|
7978
|
-
|
|
7979
|
-
|
|
7980
|
-
n
|
|
7981
|
-
}, le = (
|
|
7982
|
-
let
|
|
8037
|
+
let ce = () => {
|
|
8038
|
+
let t = e.model(), n = s(), r = b()?.value.trim();
|
|
8039
|
+
if (!r) return;
|
|
8040
|
+
let i = t && n?.isConnected ? ww(t, n) : void 0;
|
|
8041
|
+
e.ask?.(n && typeof i == "object" ? IS(i, n, r) : FS(r, document));
|
|
8042
|
+
}, le = () => e.linked(), x = () => le() ? le()?.connected ? "connected" : "disconnected" : "unknown", S = () => e.linked()?.session, ue = () => {
|
|
8043
|
+
let e = S();
|
|
8044
|
+
return e ? `attached session ${e.length > 14 ? `${e.slice(0, 14)}…` : e}` : "no session attached: a prompt starts a new one";
|
|
8045
|
+
}, de = (r = !t()) => {
|
|
8046
|
+
n(r), i(r && !s()), e.setActive(r), r && e.link?.(), r ? d().detached && !h() && ne() : v();
|
|
8047
|
+
}, fe = (t) => {
|
|
8048
|
+
let n = oe(), r = n && t(n);
|
|
7983
8049
|
return !r || r === e.host ? !1 : (c(r), i(!1), !0);
|
|
7984
|
-
},
|
|
8050
|
+
}, pe = (e) => {
|
|
7985
8051
|
if (e.altKey && e.shiftKey && e.code === "KeyC") {
|
|
7986
|
-
e.preventDefault(),
|
|
8052
|
+
e.preventDefault(), de();
|
|
7987
8053
|
return;
|
|
7988
8054
|
}
|
|
7989
8055
|
if (!t()) return;
|
|
7990
8056
|
if (e.key === "Escape") {
|
|
7991
|
-
e.preventDefault(), r() && s() ? i(!1) :
|
|
8057
|
+
e.preventDefault(), r() && s() ? i(!1) : de(!1);
|
|
7992
8058
|
return;
|
|
7993
8059
|
}
|
|
7994
8060
|
if (e.composedPath()[0]?.localName === "textarea" || r() && e.view === window) return;
|
|
7995
|
-
let n =
|
|
7996
|
-
n &&
|
|
8061
|
+
let n = Mw.get(e.key);
|
|
8062
|
+
n && fe(n) && e.preventDefault();
|
|
7997
8063
|
};
|
|
7998
|
-
|
|
7999
|
-
let
|
|
8064
|
+
jr(h, (e) => (e?.addEventListener("keydown", pe, !0), () => e?.removeEventListener("keydown", pe, !0)));
|
|
8065
|
+
let me = Dr(() => {
|
|
8000
8066
|
l();
|
|
8001
|
-
let n = e.model(), r =
|
|
8002
|
-
return t() && n && r?.isConnected ?
|
|
8003
|
-
}, { equals:
|
|
8004
|
-
|
|
8067
|
+
let n = e.model(), r = oe();
|
|
8068
|
+
return t() && n && r?.isConnected ? ww(n, r) : void 0;
|
|
8069
|
+
}, { equals: kw }), he = Dr(() => (l(), t() ? oe()?.getBoundingClientRect() : void 0));
|
|
8070
|
+
rr(() => {
|
|
8005
8071
|
let n = (t) => t.composedPath().includes(e.host), s = (e) => {
|
|
8006
8072
|
r() && !n(e) && e.target instanceof Element && e.target !== a() && o(e.target);
|
|
8007
8073
|
}, l = (e) => {
|
|
8008
8074
|
r() && !n(e) && e.target instanceof Element && (e.preventDefault(), e.stopPropagation(), c(e.target), i(!1));
|
|
8009
8075
|
}, d = setInterval(() => {
|
|
8010
|
-
|
|
8076
|
+
h()?.closed && re(), t() && u((e) => e + 1);
|
|
8011
8077
|
}, 600);
|
|
8012
|
-
return document.addEventListener("pointermove", s, !0), document.addEventListener("click", l, !0), window.addEventListener("keydown",
|
|
8013
|
-
clearInterval(d), document.removeEventListener("pointermove", s, !0), document.removeEventListener("click", l, !0), window.removeEventListener("keydown",
|
|
8078
|
+
return document.addEventListener("pointermove", s, !0), document.addEventListener("click", l, !0), window.addEventListener("keydown", pe, !0), window.addEventListener("pagehide", v), () => {
|
|
8079
|
+
clearInterval(d), document.removeEventListener("pointermove", s, !0), document.removeEventListener("click", l, !0), window.removeEventListener("keydown", pe, !0), window.removeEventListener("pagehide", v);
|
|
8014
8080
|
};
|
|
8015
|
-
}),
|
|
8081
|
+
}), Zn(() => {
|
|
8016
8082
|
e.setActive(!1), v();
|
|
8017
|
-
}),
|
|
8018
|
-
e.build &&
|
|
8083
|
+
}), rr(() => {
|
|
8084
|
+
e.build && de(!0);
|
|
8019
8085
|
});
|
|
8020
|
-
let
|
|
8021
|
-
var t =
|
|
8022
|
-
return P(a, (
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8086
|
+
let ge = () => [(() => {
|
|
8087
|
+
var t = sw(), n = t.firstChild, a = n.firstChild, o = a.firstChild, c = o.nextSibling, l = c.nextSibling, u = l.nextSibling, f = u.nextSibling, g = a.nextSibling;
|
|
8088
|
+
return P(a, D(O, {
|
|
8089
|
+
get when() {
|
|
8090
|
+
return zr(() => typeof me() == "object")() && me().names[0];
|
|
8091
|
+
},
|
|
8092
|
+
get children() {
|
|
8093
|
+
var e = iw();
|
|
8094
|
+
return P(e, () => me().names.join(" ")), k(() => N(fC), (t, n) => {
|
|
8095
|
+
M(e, t, n);
|
|
8096
|
+
}), e;
|
|
8097
|
+
}
|
|
8098
|
+
}), o), P(o, (() => {
|
|
8099
|
+
var e = zr(() => typeof me() == "object");
|
|
8100
|
+
return () => e() ? me().element : "pick an element";
|
|
8101
|
+
})()), c._$$click = () => i(!r()), l._$$click = () => h() ? re() : ne(), P(a, D(Nr, {
|
|
8102
|
+
each: gw,
|
|
8027
8103
|
children: (e) => (() => {
|
|
8028
|
-
var t =
|
|
8029
|
-
return t._$$click = () =>
|
|
8104
|
+
var t = lw();
|
|
8105
|
+
return t._$$click = () => ie(e), j(t, "data-dock", e), j(t, "title", `dock ${e}`), P(t, () => _w[e]), k(() => N(wi([], "_i1h7gg _1kazld4 _14o2sa1 _k0i4ku _v4t4nx _fjx7jy _n5igo9 _1lwcmvy _1gmfivd", d().dock === e && "_1dh9zox _1h4s3ko")), (e, n) => {
|
|
8030
8106
|
M(t, e, n);
|
|
8031
8107
|
}), t;
|
|
8032
8108
|
})()
|
|
8033
|
-
}),
|
|
8109
|
+
}), u), u._$$click = () => fe(jw), f._$$click = () => de(!1), P(n, D(O, {
|
|
8034
8110
|
get when() {
|
|
8035
|
-
return zr(() => !!
|
|
8111
|
+
return zr(() => !!_())() ? !h() : _();
|
|
8036
8112
|
},
|
|
8037
8113
|
get children() {
|
|
8038
|
-
var e =
|
|
8039
|
-
return k(() => N(
|
|
8114
|
+
var e = aw();
|
|
8115
|
+
return k(() => N(kC), (t, n) => {
|
|
8040
8116
|
M(e, t, n);
|
|
8041
8117
|
}), e;
|
|
8042
8118
|
}
|
|
8043
|
-
}),
|
|
8119
|
+
}), g), P(g, D(O, {
|
|
8044
8120
|
get when() {
|
|
8045
8121
|
return e.model();
|
|
8046
8122
|
},
|
|
8047
8123
|
get fallback() {
|
|
8048
|
-
var t =
|
|
8049
|
-
return P(t, () => e.build ? "loading the table…" : "waiting for the dev server…"), k(() => N(
|
|
8124
|
+
var t = GC();
|
|
8125
|
+
return P(t, () => e.build ? "loading the table…" : "waiting for the dev server…"), k(() => N(AC), (e, n) => {
|
|
8050
8126
|
M(t, e, n);
|
|
8051
8127
|
}), t;
|
|
8052
8128
|
},
|
|
8053
8129
|
get children() {
|
|
8054
|
-
return O
|
|
8130
|
+
return D(O, {
|
|
8055
8131
|
get when() {
|
|
8056
|
-
return zr(() => typeof
|
|
8132
|
+
return zr(() => typeof me() == "object")() ? me() : void 0;
|
|
8057
8133
|
},
|
|
8058
8134
|
get fallback() {
|
|
8059
|
-
var e =
|
|
8135
|
+
var e = GC();
|
|
8060
8136
|
return P(e, (() => {
|
|
8061
|
-
var e = zr(() => typeof
|
|
8062
|
-
return () => e() ?
|
|
8063
|
-
})()), k(() => N(
|
|
8137
|
+
var e = zr(() => typeof me() == "string");
|
|
8138
|
+
return () => e() ? me() : "hover an element and click to pick it";
|
|
8139
|
+
})()), k(() => N(AC), (t, n) => {
|
|
8064
8140
|
M(e, t, n);
|
|
8065
8141
|
}), e;
|
|
8066
8142
|
},
|
|
8067
|
-
children: (t) =>
|
|
8143
|
+
children: (t) => D(Aw, {
|
|
8068
8144
|
get inspection() {
|
|
8069
8145
|
return t();
|
|
8070
8146
|
},
|
|
@@ -8074,40 +8150,74 @@ function uw(e) {
|
|
|
8074
8150
|
})
|
|
8075
8151
|
});
|
|
8076
8152
|
}
|
|
8077
|
-
})
|
|
8153
|
+
})), P(t, D(O, {
|
|
8078
8154
|
get when() {
|
|
8079
|
-
return
|
|
8155
|
+
return e.ask;
|
|
8080
8156
|
},
|
|
8081
8157
|
get children() {
|
|
8082
|
-
var t =
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8158
|
+
var t = ow(), n = t.firstChild, r = n.firstChild, i = r.nextSibling, a = i.firstChild;
|
|
8159
|
+
a.nextSibling;
|
|
8160
|
+
var o = n.nextSibling, c = o.nextSibling;
|
|
8161
|
+
return P(i, (() => {
|
|
8162
|
+
var e = zr(() => x() === "connected");
|
|
8163
|
+
return () => e() ? "connected" : x() === "unknown" ? "checking" : "not connected";
|
|
8164
|
+
})(), null), o._$$keydown = (e) => {
|
|
8165
|
+
e.key === "Enter" && !e.shiftKey && !e.isComposing && (e.preventDefault(), ce());
|
|
8166
|
+
}, o.addEventListener("focus", () => e.link?.()), ci(() => se, o), P(c, D(O, {
|
|
8086
8167
|
get when() {
|
|
8087
|
-
return
|
|
8168
|
+
return le();
|
|
8088
8169
|
},
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8098
|
-
|
|
8099
|
-
|
|
8100
|
-
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
|
|
8170
|
+
fallback: "Looking for an OpenCode service…",
|
|
8171
|
+
children: (t) => D(O, {
|
|
8172
|
+
get when() {
|
|
8173
|
+
return t().connected;
|
|
8174
|
+
},
|
|
8175
|
+
get fallback() {
|
|
8176
|
+
return `Not connected. Start OpenCode (or run \`opencode serve --service\`) and run /cssints-devtools in a session to attach it to this server; the server finds OpenCode by itself. Without a session a prompt opens a new one in ${t().directory}. @opencode/client must be in the devDependencies of the app.${t().message ? ` ${t().message}` : ""}`;
|
|
8177
|
+
},
|
|
8178
|
+
get children() {
|
|
8179
|
+
return [
|
|
8180
|
+
zr(() => `connected to ${t().url} · `),
|
|
8181
|
+
(() => {
|
|
8182
|
+
var e = uw();
|
|
8183
|
+
return P(e, ue), k(() => S(), (t) => {
|
|
8184
|
+
j(e, "title", t);
|
|
8185
|
+
}), e;
|
|
8186
|
+
})(),
|
|
8187
|
+
D(O, {
|
|
8188
|
+
get when() {
|
|
8189
|
+
return e.asked();
|
|
8190
|
+
},
|
|
8191
|
+
children: (e) => (() => {
|
|
8192
|
+
var t = dw();
|
|
8193
|
+
return P(t, () => ` · ${e().message ?? e().status}`), k(() => N(e().status === "completed" ? EC : e().status === "running" || e().status === "sending" ? yC : DC), (e, n) => {
|
|
8194
|
+
M(t, e, n);
|
|
8195
|
+
}), t;
|
|
8196
|
+
})()
|
|
8197
|
+
})
|
|
8198
|
+
];
|
|
8199
|
+
}
|
|
8200
|
+
})
|
|
8201
|
+
})), k(() => ({
|
|
8202
|
+
e: N(wi([], "_1s47490 _1njigwa _x06mdc _baxxsq _1t8gqy5 _1a8gflu _r0xwy4", m() ? MC : jC)),
|
|
8203
|
+
t: m() ? "side" : "bottom",
|
|
8204
|
+
a: N(NC),
|
|
8205
|
+
o: N(PC),
|
|
8206
|
+
i: x(),
|
|
8207
|
+
n: N(wi([], "_n7bsss _arb2v3 _1b2tse0 _1nu71z9", x() === "connected" ? FC : IC)),
|
|
8208
|
+
s: N(wi([], "_1jvfuo0 _1ywigwl _lqk467 _14o2sa1 _k0i4ku _1ajqzk5 _fjx7jy _n5igo9", m() && "_1wme27f _5x4zpc _1hjgerl")),
|
|
8209
|
+
h: s() ? "Ask OpenCode to change this element (Enter sends)" : "Ask OpenCode to change the page, or pick an element first (Enter sends)",
|
|
8210
|
+
r: x(),
|
|
8211
|
+
d: e.asked()?.status ?? "idle"
|
|
8212
|
+
}), ({ e, t: s, a: l, o: u, i: d, n: f, s: p, h: m, r: h, d: g }, _) => {
|
|
8213
|
+
M(t, e, _?.e), s !== _?.t && j(t, "data-layout", s), M(n, l, _?.a), M(r, u, _?.o), d !== _?.i && j(i, "data-link", d), M(a, f, _?.n), M(o, p, _?.s), m !== _?.h && j(o, "placeholder", m), h !== _?.r && j(c, "data-link", h), g !== _?.d && j(c, "data-status", g);
|
|
8104
8214
|
}), t;
|
|
8105
8215
|
}
|
|
8106
|
-
}),
|
|
8107
|
-
e: N(wi([], "_1hqog5g _120vnyk
|
|
8216
|
+
}), null), k(() => ({
|
|
8217
|
+
e: N(wi([], "_1hqog5g _120vnyk _1s47490 _szl2in _1a8gflu _fjx7jy _omr8bg _6to19l _dnf785", m() ? eC : $S, h() ? iC : vw[d().dock])),
|
|
8108
8218
|
t: d().dock,
|
|
8109
|
-
a:
|
|
8110
|
-
o: N(
|
|
8219
|
+
a: h() ? "yes" : "no",
|
|
8220
|
+
o: N(h() ? {
|
|
8111
8221
|
width: "",
|
|
8112
8222
|
height: ""
|
|
8113
8223
|
} : p() ? {
|
|
@@ -8117,29 +8227,31 @@ function uw(e) {
|
|
|
8117
8227
|
height: `min(${d().h}px, 100vh)`,
|
|
8118
8228
|
width: ""
|
|
8119
8229
|
}),
|
|
8120
|
-
i: N(
|
|
8121
|
-
n: N(
|
|
8122
|
-
s: N(
|
|
8123
|
-
h: r()
|
|
8124
|
-
r:
|
|
8125
|
-
d:
|
|
8126
|
-
l:
|
|
8127
|
-
u:
|
|
8128
|
-
c: N(
|
|
8129
|
-
|
|
8130
|
-
|
|
8230
|
+
i: N(cC),
|
|
8231
|
+
n: N(uC),
|
|
8232
|
+
s: N(dC),
|
|
8233
|
+
h: N(wi([], "_i1h7gg _1kazld4 _14o2sa1 _k0i4ku _v4t4nx _fjx7jy _n5igo9 _1lwcmvy _1gmfivd", r() && "_1dh9zox _1h4s3ko")),
|
|
8234
|
+
r: r() ? "yes" : "no",
|
|
8235
|
+
d: N(wi([], "_i1h7gg _1kazld4 _14o2sa1 _k0i4ku _v4t4nx _fjx7jy _n5igo9 _1lwcmvy _1gmfivd", h() && "_1dh9zox _1h4s3ko")),
|
|
8236
|
+
l: h() ? "yes" : "no",
|
|
8237
|
+
u: h() ? "dock back" : "detach into a window",
|
|
8238
|
+
c: N(pC),
|
|
8239
|
+
w: N(pC),
|
|
8240
|
+
m: N(lC)
|
|
8241
|
+
}), ({ e, t: r, a: i, o: s, i: d, n: p, s: m, h, r: _, d: ee, l: v, u: te, c: ne, w: re, m: ie }, y) => {
|
|
8242
|
+
M(t, e, y?.e), r !== y?.t && j(t, "data-dock", r), i !== y?.a && j(t, "data-detached", i), ai(t, s, y?.o), M(n, d, y?.i), M(a, p, y?.n), M(o, m, y?.s), M(c, h, y?.h), _ !== y?.r && j(c, "data-on", _), M(l, ee, y?.d), v !== y?.l && j(l, "data-on", v), te !== y?.u && j(l, "title", te), M(u, ne, y?.c), M(f, re, y?.w), M(g, ie, y?.m);
|
|
8131
8243
|
}), t;
|
|
8132
|
-
})(), O
|
|
8244
|
+
})(), D(O, {
|
|
8133
8245
|
get when() {
|
|
8134
|
-
return !
|
|
8246
|
+
return !h();
|
|
8135
8247
|
},
|
|
8136
8248
|
get children() {
|
|
8137
|
-
var e =
|
|
8138
|
-
return e._$$pointerup = () =>
|
|
8249
|
+
var e = cw();
|
|
8250
|
+
return e._$$pointerup = () => Cw(d()), e._$$pointermove = y, e._$$pointerdown = (e) => {
|
|
8139
8251
|
e.currentTarget.setPointerCapture(e.pointerId), e.preventDefault();
|
|
8140
8252
|
}, k(() => ({
|
|
8141
|
-
e: N(p() ?
|
|
8142
|
-
t: N(
|
|
8253
|
+
e: N(p() ? oC : sC),
|
|
8254
|
+
t: N(ae())
|
|
8143
8255
|
}), ({ e: t, t: n }, r) => {
|
|
8144
8256
|
M(e, t, r?.e), ai(e, n, r?.t);
|
|
8145
8257
|
}), e;
|
|
@@ -8147,50 +8259,50 @@ function uw(e) {
|
|
|
8147
8259
|
})];
|
|
8148
8260
|
return [
|
|
8149
8261
|
(() => {
|
|
8150
|
-
var e =
|
|
8151
|
-
return e._$$click = () =>
|
|
8262
|
+
var e = fw();
|
|
8263
|
+
return e._$$click = () => de(), k(() => N(XS), (t, n) => {
|
|
8152
8264
|
M(e, t, n);
|
|
8153
8265
|
}), e;
|
|
8154
8266
|
})(),
|
|
8155
|
-
O
|
|
8267
|
+
D(O, {
|
|
8156
8268
|
get when() {
|
|
8157
|
-
return
|
|
8269
|
+
return he();
|
|
8158
8270
|
},
|
|
8159
8271
|
children: (e) => (() => {
|
|
8160
|
-
var t =
|
|
8272
|
+
var t = pw(), n = t.firstChild;
|
|
8161
8273
|
return P(n, (() => {
|
|
8162
|
-
var e = zr(() => typeof
|
|
8163
|
-
return () => e() ?
|
|
8274
|
+
var e = zr(() => typeof me() == "object");
|
|
8275
|
+
return () => e() ? `${me().names.join(" ")} ${me().element}`.trim() : "";
|
|
8164
8276
|
})()), k(() => ({
|
|
8165
|
-
e: N(
|
|
8277
|
+
e: N(ZS),
|
|
8166
8278
|
t: `${e().top}px`,
|
|
8167
8279
|
a: `${e().left}px`,
|
|
8168
8280
|
o: `${e().width}px`,
|
|
8169
8281
|
i: `${e().height}px`,
|
|
8170
|
-
n: N(
|
|
8282
|
+
n: N(QS)
|
|
8171
8283
|
}), ({ e, t: r, a: i, o: a, i: o, n: s }, c) => {
|
|
8172
8284
|
M(t, e, c?.e), r !== c?.t && oi(t, "top", r), i !== c?.a && oi(t, "left", i), a !== c?.o && oi(t, "width", a), o !== c?.i && oi(t, "height", o), M(n, s, c?.n);
|
|
8173
8285
|
}), t;
|
|
8174
8286
|
})()
|
|
8175
8287
|
}),
|
|
8176
|
-
O
|
|
8288
|
+
D(O, {
|
|
8177
8289
|
get when() {
|
|
8178
8290
|
return t();
|
|
8179
8291
|
},
|
|
8180
8292
|
get children() {
|
|
8181
|
-
return O
|
|
8293
|
+
return D(O, {
|
|
8182
8294
|
get when() {
|
|
8183
|
-
return
|
|
8295
|
+
return h();
|
|
8184
8296
|
},
|
|
8185
8297
|
get fallback() {
|
|
8186
|
-
return
|
|
8298
|
+
return D(ge, {});
|
|
8187
8299
|
},
|
|
8188
|
-
children: (e) =>
|
|
8300
|
+
children: (e) => D(Si, {
|
|
8189
8301
|
get mount() {
|
|
8190
8302
|
return e().document.body;
|
|
8191
8303
|
},
|
|
8192
8304
|
get children() {
|
|
8193
|
-
return
|
|
8305
|
+
return D(ge, {});
|
|
8194
8306
|
}
|
|
8195
8307
|
})
|
|
8196
8308
|
});
|
|
@@ -8198,26 +8310,31 @@ function uw(e) {
|
|
|
8198
8310
|
})
|
|
8199
8311
|
];
|
|
8200
8312
|
}
|
|
8201
|
-
function
|
|
8202
|
-
if (document.querySelector(
|
|
8203
|
-
let t = document.createElement(
|
|
8313
|
+
function Pw(e) {
|
|
8314
|
+
if (document.querySelector(hw)) return;
|
|
8315
|
+
let t = document.createElement(hw);
|
|
8204
8316
|
t.setAttribute("style", "all: initial");
|
|
8205
8317
|
let n = t.attachShadow({ mode: "open" }), r = document.createElement("style");
|
|
8206
|
-
r.textContent =
|
|
8318
|
+
r.textContent = mw;
|
|
8207
8319
|
let i = document.createElement("div");
|
|
8208
8320
|
n.append(r, i), document.documentElement.append(t);
|
|
8209
|
-
let a = Lm(
|
|
8321
|
+
let a = Lm(JS().pipe(Em(KS, e))), [o, s] = Or();
|
|
8210
8322
|
Fm(fx(wx(a.model), (e) => X(() => s(() => e))));
|
|
8211
|
-
let [c, l] =
|
|
8212
|
-
l(
|
|
8323
|
+
let [c, l] = Or(), u = { ref: 0 }, d = e.ask && ((t) => {
|
|
8324
|
+
l((e) => ({
|
|
8325
|
+
status: "sending",
|
|
8326
|
+
id: e?.id
|
|
8327
|
+
})), u.ref += 1, e.ask?.(u.ref, t);
|
|
8213
8328
|
});
|
|
8214
|
-
d && e.on(
|
|
8329
|
+
d && e.on(WS, (e) => {
|
|
8215
8330
|
let t = e;
|
|
8216
8331
|
t.ref === u.ref && l((e) => ({
|
|
8217
8332
|
...e,
|
|
8218
8333
|
...t
|
|
8219
8334
|
}));
|
|
8220
|
-
})
|
|
8335
|
+
});
|
|
8336
|
+
let [f, p] = Or();
|
|
8337
|
+
e.link && e.on(GS, (e) => p(e)), qr(() => D(Nw, {
|
|
8221
8338
|
model: o,
|
|
8222
8339
|
setActive: (e) => Lm(a.setActive(e)),
|
|
8223
8340
|
host: t,
|
|
@@ -8225,7 +8342,11 @@ function dw(e) {
|
|
|
8225
8342
|
return e.build;
|
|
8226
8343
|
},
|
|
8227
8344
|
ask: d,
|
|
8228
|
-
asked: c
|
|
8345
|
+
asked: c,
|
|
8346
|
+
get link() {
|
|
8347
|
+
return e.link;
|
|
8348
|
+
},
|
|
8349
|
+
linked: f
|
|
8229
8350
|
}), i);
|
|
8230
8351
|
}
|
|
8231
8352
|
Yr([
|
|
@@ -8236,4 +8357,4 @@ Yr([
|
|
|
8236
8357
|
"pointerup"
|
|
8237
8358
|
]);
|
|
8238
8359
|
//#endregion
|
|
8239
|
-
export {
|
|
8360
|
+
export { Pw as mount };
|