Peach: Local-first video metadata scraper and media manager.
build(web): 合入竖屏带帧图与配置页骨架后重建前端产物
longmeidao0a70d681c52a
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 62b26aa44..359748bb9 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8ab42d12-2a1c-4a62-816c-896b583719ac", e._sentryDebugIdIdentifier = "sentry-dbid-8ab42d12-2a1c-4a62-816c-896b583719ac");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "003e0830-a951-4549-8fe0-edbab82a74ef", e._sentryDebugIdIdentifier = "sentry-dbid-003e0830-a951-4549-8fe0-edbab82a74ef");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {@@ -934,9 +934,9 @@ var _ = /* @__PURE__ */ o(((e) => {switch (xe(we, t), xe(Ce, e), xe(Se, null), t.nodeType) {case 9:case 11:- e = (e = t.documentElement) && (e = e.namespaceURI) ? yp(e) : 0;+ e = (e = t.documentElement) && (e = e.namespaceURI) ? vp(e) : 0;break;- default: if (e = t.tagName, t = t.namespaceURI) t = yp(t), e = bp(t, e);+ default: if (e = t.tagName, t = t.namespaceURI) t = vp(t), e = yp(t, e);else switch (e) {case "svg":e = 1;@@ -954,12 +954,12 @@ var _ = /* @__PURE__ */ o(((e) => {}function Oe(e) {var t = e.memoizedState;- t !== null && (gh._currentValue = t.memoizedState, xe(Te, e)), t = Se.current;- var n = bp(t, e.type);+ t !== null && (hh._currentValue = t.memoizedState, xe(Te, e)), t = Se.current;+ var n = yp(t, e.type);t !== n && (xe(Ce, e), xe(Se, n));}function ke(e) {- Ce.current === e && (be(Se), be(Ce)), Te.current === e && (be(Te), gh._currentValue = ge);+ Ce.current === e && (be(Se), be(Ce)), Te.current === e && (be(Te), hh._currentValue = ge);}var Ae, je;function Me(e) {@@ -1268,7 +1268,7 @@ var _ = /* @__PURE__ */ o(((e) => {}function xt() {var e = he.p;- return e === 0 ? (e = window.event, e === void 0 ? 32 : Mh(e.type)) : e;+ return e === 0 ? (e = window.event, e === void 0 ? 32 : jh(e.type)) : e;}function St(e, t) {var n = he.p;@@ -1287,9 +1287,9 @@ var _ = /* @__PURE__ */ o(((e) => {if (t = e[wt]) return t;for (var n = e.parentNode; n;) {if (t = n[Et] || n[wt]) {- if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = xm(e); e !== null;) {+ if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = bm(e); e !== null;) {if (n = e[wt]) return n;- e = xm(e);+ e = bm(e);}return t;}@@ -1654,7 +1654,7 @@ var _ = /* @__PURE__ */ o(((e) => {try {return e(t);} finally {- if (Cn = !1, (bn !== null || xn !== null) && (Gd(), bn && (t = bn, e = xn, xn = bn = null, Sn(t), e))) for (t = 0; t < e.length; t++) Sn(e[t]);+ if (Cn = !1, (bn !== null || xn !== null) && (Wd(), bn && (t = bn, e = xn, xn = bn = null, Sn(t), e))) for (t = 0; t < e.length; t++) Sn(e[t]);}}function Tn(e, t) {@@ -1963,14 +1963,14 @@ var _ = /* @__PURE__ */ o(((e) => {return t === "input" ? !!vr[e.type] : t === "textarea";}function br(e, t, n, r) {- bn ? xn ? xn.push(r) : xn = [r] : bn = r, t = np(t, "onChange"), 0 < t.length && (n = new In("onChange", "change", null, n, r), e.push({+ bn ? xn ? xn.push(r) : xn = [r] : bn = r, t = tp(t, "onChange"), 0 < t.length && (n = new In("onChange", "change", null, n, r), e.push({event: n,listeners: t}));}var xr = null, Sr = null;function Cr(e) {- Jf(e, 0);+ qf(e, 0);}function wr(e) {if (en(It(e))) return e;@@ -2095,7 +2095,7 @@ var _ = /* @__PURE__ */ o(((e) => {anchorOffset: r.anchorOffset,focusNode: r.focusNode,focusOffset: r.focusOffset- }), Jr && Rr(Jr, r) || (Jr = r, r = np(qr, "onSelect"), 0 < r.length && (t = new In("onSelect", "select", null, t, n), e.push({+ }), Jr && Rr(Jr, r) || (Jr = r, r = tp(qr, "onSelect"), 0 < r.length && (t = new In("onSelect", "select", null, t, n), e.push({event: t,listeners: r}), t.target = Kr)));@@ -2130,13 +2130,13 @@ var _ = /* @__PURE__ */ o(((e) => {function pi(e, t) {if (e.name != null && e.name !== "auto") return e.name;if (t.autoName !== null) return t.autoName;- e = Ed.identifierPrefix;+ e = Td.identifierPrefix;var n = fi++;return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;}function mi(e) {if (e == null || typeof e == "string") return e;- var t = null, n = Pd;+ var t = null, n = Nd;if (n !== null) for (var r = 0; r < n.length; r++) {var i = e[n[r]];if (i != null) {@@ -2197,7 +2197,7 @@ var _ = /* @__PURE__ */ o(((e) => {return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - et(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;}function Ti(e) {- if (50 < Fd) throw Fd = 0, Id = null, Error(i(185));+ if (50 < Pd) throw Pd = 0, Fd = null, Error(i(185));for (var t = e.return; t !== null;) e = t, t = e.return;return e.tag === 3 ? e.stateNode : null;}@@ -2229,7 +2229,7 @@ var _ = /* @__PURE__ */ o(((e) => {function Mi(e, t, n, r, a, o) {var s = 0;if (r = e, typeof r == "function") ki(r) && (s = 1);- else if (typeof r == "string") s = nh(e, n, Se.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;+ else if (typeof r == "string") s = th(e, n, Se.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;else a: switch (r) {case ie: return e = Oi(31, n, t, a), e.elementType = ie, e.lanes = o, e;case j: return Ni(n.children, a, o, t);@@ -2335,37 +2335,37 @@ var _ = /* @__PURE__ */ o(((e) => {var t = e.stateNode, n = e.type, r = e.memoizedProps;switch (t[wt] = e, t[Tt] = r, n) {case "dialog":- Yf("cancel", t), Yf("close", t);+ Jf("cancel", t), Jf("close", t);break;case "iframe":case "object":case "embed":- Yf("load", t);+ Jf("load", t);break;case "video":case "audio":- for (n = 0; n < Kf.length; n++) Yf(Kf[n], t);+ for (n = 0; n < Gf.length; n++) Jf(Gf[n], t);break;case "source":- Yf("error", t);+ Jf("error", t);break;case "img":case "image":case "link":- Yf("error", t), Yf("load", t);+ Jf("error", t), Jf("load", t);break;case "details":- Yf("toggle", t);+ Jf("toggle", t);break;case "input":- Yf("invalid", t), rn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);+ Jf("invalid", t), rn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);break;case "select":- Yf("invalid", t);+ Jf("invalid", t);break;- case "textarea": Yf("invalid", t), cn(t, r.value, r.defaultValue, r.children);+ case "textarea": Jf("invalid", t), cn(t, r.value, r.defaultValue, r.children);}- n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || cp(t.textContent, n) ? (r.popover != null && (Yf("beforetoggle", t), Yf("toggle", t)), r.onScroll != null && Yf("scroll", t), r.onScrollEnd != null && Yf("scrollend", t), r.onClick != null && (t.onclick = _n), t = !0) : t = !1, t || aa(e, !0);+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || sp(t.textContent, n) ? (r.popover != null && (Jf("beforetoggle", t), Jf("toggle", t)), r.onScroll != null && Jf("scroll", t), r.onScrollEnd != null && Jf("scrollend", t), r.onClick != null && (t.onclick = _n), t = !0) : t = !1, t || aa(e, !0);}function sa(e) {for ($i = e.return; $i;) switch ($i.tag) {@@ -2385,13 +2385,13 @@ var _ = /* @__PURE__ */ o(((e) => {if (e !== $i) return !1;if (!ta) return sa(e), ta = !0, !1;var t = e.tag, n;- if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Sp(e.type, e.memoizedProps)), n = !n), n && ea && aa(e), sa(e), t === 13) {+ if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || xp(e.type, e.memoizedProps)), n = !n), n && ea && aa(e), sa(e), t === 13) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- ea = bm(e);+ ea = ym(e);} else if (t === 31) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- ea = bm(e);- } else t === 27 ? (t = ea, jp(e.type) ? (e = ym, ym = null, ea = e) : ea = t) : ea = $i ? vm(e.stateNode.nextSibling) : null;+ ea = ym(e);+ } else t === 27 ? (t = ea, Ap(e.type) ? (e = vm, vm = null, ea = e) : ea = t) : ea = $i ? _m(e.stateNode.nextSibling) : null;return !0;}function la() {@@ -2399,7 +2399,7 @@ var _ = /* @__PURE__ */ o(((e) => {}function ua() {var e = na;- return e !== null && (vd === null ? vd = e : vd.push.apply(vd, e), na = null), e;+ return e !== null && (_d === null ? _d = e : _d.push.apply(_d, e), na = null), e;}function da(e) {na === null ? na = [e] : na.push(e);@@ -2469,7 +2469,7 @@ var _ = /* @__PURE__ */ o(((e) => {}} else if (a === Te.current) {if (s = a.alternate, s === null) throw Error(i(387));- s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [gh] : e.push(gh));+ s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [hh] : e.push(hh));}a = a.return;}@@ -2556,7 +2556,7 @@ var _ = /* @__PURE__ */ o(((e) => {function Ra(e, t) {if (Pa === null) {var n = Pa = [];- Fa = 0, Ia = Vf(), La = {+ Fa = 0, Ia = Bf(), La = {status: "pending",value: void 0,then: function(e) {@@ -2592,9 +2592,9 @@ var _ = /* @__PURE__ */ o(((e) => {}var Va = me.S;me.S = function(e, t) {- if (xd = He(), typeof t == "object" && t && typeof t.then == "function" && Ra(e, t), Ma !== null) for (var n = Df; n !== null;) ja(n, Ma), n = n.next;+ if (bd = He(), typeof t == "object" && t && typeof t.then == "function" && Ra(e, t), Ma !== null) for (var n = Ef; n !== null;) ja(n, Ma), n = n.next;if (n = e.types, n !== null) {- for (var r = Df; r !== null;) ja(r, n), r = r.next;+ for (var r = Ef; r !== null;) ja(r, n), r = r.next;if (Ia !== 0) {r = Ma, r === null && (r = Ma = []);for (var i = 0; i < n.length; i++) {@@ -3056,7 +3056,7 @@ var _ = /* @__PURE__ */ o(((e) => {for (var t = e; t !== null;) {if (t.tag === 13) {var n = t.memoizedState;- if (n !== null && (n = n.dehydrated, n === null || hm(n) || gm(n))) return t;+ if (n !== null && (n = n.dehydrated, n === null || mm(n) || hm(n))) return t;} else if (t.tag === 19 && t.memoizedProps.revealOrder !== "independent") {if (t.flags & 128) return t;} else if (t.child !== null) {@@ -3308,7 +3308,7 @@ var _ = /* @__PURE__ */ o(((e) => {}function bs(e) {var t = Ci(e, 2);- t !== null && Bd(t, e, 2);+ t !== null && zd(t, e, 2);}function xs(e) {var t = as();@@ -3408,14 +3408,14 @@ var _ = /* @__PURE__ */ o(((e) => {if (ta) {if (ea) {b: {- for (var i = ea, a = ra; i.nodeType !== 8;) if (!a || (i = vm(i.nextSibling), i === null)) {+ for (var i = ea, a = ra; i.nodeType !== 8;) if (!a || (i = _m(i.nextSibling), i === null)) {i = null;break b;}a = i.data, i = a === "F!" || a === "F" ? i : null;}if (i) {- ea = vm(i.nextSibling), r = i.data === "F!";+ ea = _m(i.nextSibling), r = i.data === "F!";break a;}}@@ -3566,10 +3566,10 @@ var _ = /* @__PURE__ */ o(((e) => {return n.memoizedState = [r, t], r;}function Xs(e, t, n) {- return n === void 0 || zo & 1073741824 && !(id & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Rd(), Bo.lanes |= e, fd |= e, n);+ return n === void 0 || zo & 1073741824 && !(id & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Ld(), Bo.lanes |= e, fd |= e, n);}function Zs(e, t, n, r) {- return Lr(n, t) ? n : Co.current === null ? !(zo & 106) || zo & 1073741824 && !(id & 261930) ? (Nc = !0, e.memoizedState = n) : (e = Rd(), Bo.lanes |= e, fd |= e, t) : (e = Xs(e, n, r), Lr(e, t) || (Nc = !0), e);+ return Lr(n, t) ? n : Co.current === null ? !(zo & 106) || zo & 1073741824 && !(id & 261930) ? (Nc = !0, e.memoizedState = n) : (e = Ld(), Bo.lanes |= e, fd |= e, t) : (e = Xs(e, n, r), Lr(e, t) || (Nc = !0), e);}function Qs(e, t, n, r, i) {var a = he.p;@@ -3578,13 +3578,13 @@ var _ = /* @__PURE__ */ o(((e) => {s.types = o === null ? null : o.types, me.T = s, uc(e, !1, t, n);try {var c = i(), l = me.S;- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? lc(e, t, Ba(c, r), Ld(e)) : lc(e, t, r, Ld(e));+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? lc(e, t, Ba(c, r), Id(e)) : lc(e, t, r, Id(e));} catch (n) {lc(e, t, {then: function() {},status: "rejected",reason: n- }, Ld());+ }, Id());} finally {he.p = a, o !== null && s.types !== null && (o.types = s.types), me.T = o;}@@ -3630,10 +3630,10 @@ var _ = /* @__PURE__ */ o(((e) => {}function nc(e) {var t = tc(e);- t.next === null && (t = e.alternate.memoizedState), lc(e, t.next.queue, {}, Ld());+ t.next === null && (t = e.alternate.memoizedState), lc(e, t.next.queue, {}, Id());}function rc() {- return Sa(gh);+ return Sa(hh);}function ic() {return os().memoizedState;@@ -3646,17 +3646,17 @@ var _ = /* @__PURE__ */ o(((e) => {switch (t.tag) {case 24:case 3:- var n = Ld();+ var n = Id();e = mo(n);var r = ho(t, e, n);- r !== null && (Bd(r, t, n), go(r, t, n)), t = { cache: ka() }, e.payload = t;+ r !== null && (zd(r, t, n), go(r, t, n)), t = { cache: ka() }, e.payload = t;return;}t = t.return;}}function sc(e, t, n) {- var r = Ld();+ var r = Id();n = {lane: r,revertLane: 0,@@ -3665,10 +3665,10 @@ var _ = /* @__PURE__ */ o(((e) => {hasEagerState: !1,eagerState: null,next: null- }, dc(e) ? fc(t, n) : (n = Si(e, t, n, r), n !== null && (Bd(n, e, r), pc(n, t, r)));+ }, dc(e) ? fc(t, n) : (n = Si(e, t, n, r), n !== null && (zd(n, e, r), pc(n, t, r)));}function cc(e, t, n) {- lc(e, t, n, Ld());+ lc(e, t, n, Id());}function lc(e, t, n, r) {var i = {@@ -3687,14 +3687,14 @@ var _ = /* @__PURE__ */ o(((e) => {var o = t.lastRenderedState, s = a(o, n);if (i.hasEagerState = !0, i.eagerState = s, Lr(s, o)) return xi(e, t, i, 0), nd === null && bi(), !1;} catch {}- if (n = Si(e, t, i, r), n !== null) return Bd(n, e, r), pc(n, t, r), !0;+ if (n = Si(e, t, i, r), n !== null) return zd(n, e, r), pc(n, t, r), !0;}return !1;}function uc(e, t, n, r) {if (r = {lane: 2,- revertLane: Vf(),+ revertLane: Bf(),gesture: null,action: r,hasEagerState: !1,@@ -3702,7 +3702,7 @@ var _ = /* @__PURE__ */ o(((e) => {next: null}, dc(e)) {if (t) throw Error(i(479));- } else t = Si(e, n, r, 2), t !== null && Bd(t, e, 2);+ } else t = Si(e, n, r, 2), t !== null && zd(t, e, 2);}function dc(e) {var t = e.alternate;@@ -3940,18 +3940,18 @@ var _ = /* @__PURE__ */ o(((e) => {var yc = {enqueueSetState: function(e, t, n) {e = e._reactInternals;- var r = Ld(), i = mo(r);- i.payload = t, n != null && (i.callback = n), t = ho(e, i, r), t !== null && (Bd(t, e, r), go(t, e, r));+ var r = Id(), i = mo(r);+ i.payload = t, n != null && (i.callback = n), t = ho(e, i, r), t !== null && (zd(t, e, r), go(t, e, r));},enqueueReplaceState: function(e, t, n) {e = e._reactInternals;- var r = Ld(), i = mo(r);- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = ho(e, i, r), t !== null && (Bd(t, e, r), go(t, e, r));+ var r = Id(), i = mo(r);+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = ho(e, i, r), t !== null && (zd(t, e, r), go(t, e, r));},enqueueForceUpdate: function(e, t) {e = e._reactInternals;- var n = Ld(), r = mo(n);- r.tag = 2, t != null && (r.callback = t), t = ho(e, r, n), t !== null && (Bd(t, e, n), go(t, e, n));+ var n = Id(), r = mo(n);+ r.tag = 2, t != null && (r.callback = t), t = ho(e, r, n), t !== null && (zd(t, e, n), go(t, e, n));}};function bc(e, t, n, r, i, a, o) {@@ -4018,7 +4018,7 @@ var _ = /* @__PURE__ */ o(((e) => {}var o = n.stateNode;o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {- Dc(t, n, r), typeof i != "function" && (wd === null ? wd = /* @__PURE__ */ new Set([this]) : wd.add(this));+ Dc(t, n, r), typeof i != "function" && (Cd === null ? Cd = /* @__PURE__ */ new Set([this]) : Cd.add(this));var e = r.stack;this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });});@@ -4029,26 +4029,26 @@ var _ = /* @__PURE__ */ o(((e) => {switch (n.tag) {case 31:case 13:- case 19: return ko === null ? Qd() : n.alternate === null && dd === 0 && (dd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ya ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), xf(e, r, a)), !1;+ case 19: return ko === null ? Zd() : n.alternate === null && dd === 0 && (dd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ya ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), bf(e, r, a)), !1;case 22: return n.flags |= 65536, r === Ya ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {transitions: null,markerInstances: null,retryQueue: /* @__PURE__ */ new Set([r])- }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), xf(e, r, a)), !1;+ }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), bf(e, r, a)), !1;}throw Error(i(435, n.tag));}- return xf(e, r, a), Qd(), !1;+ return bf(e, r, a), Zd(), !1;}if (ta) return t = Oo.current, t === null ? (r !== ia && (t = Error(i(423), { cause: r }), da(Ri(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Ri(r, n), a = Oc(e.stateNode, r, a), _o(e, a), dd !== 4 && (dd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== ia && (e = Error(i(422), { cause: r }), da(Ri(e, n)))), !1;var o = Error(i(520), { cause: r });- if (o = Ri(o, n), _d === null ? _d = [o] : _d.push(o), dd !== 4 && (dd = 2), t === null) return !0;+ if (o = Ri(o, n), gd === null ? gd = [o] : gd.push(o), dd !== 4 && (dd = 2), t === null) return !0;r = Ri(r, n), n = t;do {switch (n.tag) {case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Oc(n.stateNode, r, e), _o(n, e), !1;case 1:- if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (wd === null || !wd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = kc(a), Ac(a, e, n, r), _o(n, a), !1;+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (Cd === null || !Cd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = kc(a), Ac(a, e, n, r), _o(n, a), !1;break;case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;}@@ -4148,7 +4148,7 @@ var _ = /* @__PURE__ */ o(((e) => {baseLanes: 0,cachePool: null}, zc(null, e);- if (jo(t), (e = ea) ? (e = mm(e, ra), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {+ if (jo(t), (e = ea) ? (e = pm(e, ra), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,treeContext: Gi === null ? null : {id: Ki,@@ -4170,11 +4170,11 @@ var _ = /* @__PURE__ */ o(((e) => {else throw Error(i(558));} else if (Nc || ya(e, t, n, !1), a = (n & e.childLanes) !== 0, Nc || a) {if (Co.current === null) {- if (r = nd, r !== null && (s = vt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ci(e, s), Bd(r, e, s), Mc;- Qd();+ if (r = nd, r !== null && (s = vt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ci(e, s), zd(r, e, s), Mc;+ Zd();}t = Hc(e, t, n);- } else e = o.treeContext, ea = vm(s.nextSibling), $i = t, ta = !0, na = null, ra = !1, e !== null && Qi(t, e), t = Vc(t, r), t.flags |= 134221824;+ } else e = o.treeContext, ea = _m(s.nextSibling), $i = t, ta = !0, na = null, ra = !1, e !== null && Qi(t, e), t = Vc(t, r), t.flags |= 134221824;return t;}return e = Ai(e.child, {@@ -4233,13 +4233,13 @@ var _ = /* @__PURE__ */ o(((e) => {};}function Zc(e, t, n) {- return e = e === null ? 0 : e.childLanes & ~n, t && (e |= hd), e;+ return e = e === null ? 0 : e.childLanes & ~n, t && (e |= md), e;}function Qc(e, t, n) {var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Fo.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {if (ta) {- if (i ? Ao(t) : No(), (e = ea) ? (e = mm(e, ra), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {+ if (i ? Ao(t) : No(), (e = ea) ? (e = pm(e, ra), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,treeContext: Gi === null ? null : {id: Ki,@@ -4248,7 +4248,7 @@ var _ = /* @__PURE__ */ o(((e) => {retryLane: 536870912,hydrationErrors: null}, n = Fi(e), n.return = t, t.child = n, $i = t, ea = null)) : e = null, e === null) throw aa(t);- return t.lanes = gm(e) ? 32 : 536870912, null;+ return t.lanes = hm(e) ? 32 : 536870912, null;}return a = r.children, r = r.fallback, i ? (No(), i = t.mode, a = el({mode: "hidden",@@ -4291,7 +4291,7 @@ var _ = /* @__PURE__ */ o(((e) => {mode: "visible",children: a.children}, s), o = Ni(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, co(t, e.child, null, c), a = t.child, a.memoizedState = Xc(c), a.childLanes = Zc(e, r, c), t.memoizedState = Yc, zc(null, a)) : (No(), t.child = e.child, t.flags |= 128, null);- if (Ao(t), gm(o)) {+ if (Ao(t), hm(o)) {if (r = o.nextSibling && o.nextSibling.dataset, r) var l = r.dgst;return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, da({value: a,@@ -4301,10 +4301,10 @@ var _ = /* @__PURE__ */ o(((e) => {}if (Nc || ya(e, t, c, !1), r = (c & e.childLanes) !== 0, Nc || r) {if (Co.current !== null) return tl(e, t, c);- if (r = nd, r !== null && (a = vt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ci(e, a), Bd(r, e, a), Mc;- return hm(o) || Qd(), tl(e, t, c);+ if (r = nd, r !== null && (a = vt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ci(e, a), zd(r, e, a), Mc;+ return mm(o) || Zd(), tl(e, t, c);}- return hm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ea = vm(o.nextSibling), $i = t, ta = !0, na = null, ra = !1, e !== null && Qi(t, e), t = $c(t, a.children), t.flags |= 134221824, t);+ return mm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ea = _m(o.nextSibling), $i = t, ta = !0, na = null, ra = !1, e !== null && Qi(t, e), t = $c(t, a.children), t.flags |= 134221824, t);}function rl(e, t, n) {e.lanes |= t;@@ -4503,7 +4503,7 @@ var _ = /* @__PURE__ */ o(((e) => {break;default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;}- for (ea = vm(e.firstChild), $i = t, ta = !0, na = null, ra = !0, n = lo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;+ for (ea = _m(e.firstChild), $i = t, ta = !0, na = null, ra = !0, n = lo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;} else {if (la(), r === a) {t = ll(e, t, n);@@ -4514,10 +4514,10 @@ var _ = /* @__PURE__ */ o(((e) => {t = t.child;}return t;- case 26: return Wc(e, t), e === null ? (n = Hm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ta || (t.stateNode = xp(t.type, t.pendingProps, we.current, t)) : t.memoizedState = Hm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;- case 27: return Oe(t), e === null && ta && (r = t.stateNode = wm(t.type, t.pendingProps, we.current), $i = t, ra = !0, a = ea, jp(t.type) ? (ym = a, ea = vm(r.firstChild)) : ea = a), Pc(e, t, t.pendingProps.children, n), Wc(e, t), e === null && (t.flags |= 4194304), t.child;- case 5: return e === null && ta && ((a = r = ea) && (r = fm(r, t.type, t.pendingProps, ra), r === null ? a = !1 : (t.stateNode = r, $i = t, ea = vm(r.firstChild), ra = !1, a = !0)), a || aa(t)), Oe(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Sp(a, o) ? r = null : s !== null && Sp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Qo(e, t, ts, null, null, n), gh._currentValue = a), Wc(e, t), Pc(e, t, r, n), t.child;- case 6: return e === null && ta && ((e = n = ea) && (n = pm(n, t.pendingProps, ra), n === null ? e = !1 : (t.stateNode = n, $i = t, ea = null, e = !0)), e || aa(t)), null;+ case 26: return Wc(e, t), e === null ? (n = Vm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ta || (t.stateNode = bp(t.type, t.pendingProps, we.current, t)) : t.memoizedState = Vm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;+ case 27: return Oe(t), e === null && ta && (r = t.stateNode = Cm(t.type, t.pendingProps, we.current), $i = t, ra = !0, a = ea, Ap(t.type) ? (vm = a, ea = _m(r.firstChild)) : ea = a), Pc(e, t, t.pendingProps.children, n), Wc(e, t), e === null && (t.flags |= 4194304), t.child;+ case 5: return e === null && ta && ((a = r = ea) && (r = dm(r, t.type, t.pendingProps, ra), r === null ? a = !1 : (t.stateNode = r, $i = t, ea = _m(r.firstChild), ra = !1, a = !0)), a || aa(t)), Oe(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, xp(a, o) ? r = null : s !== null && xp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Qo(e, t, ts, null, null, n), hh._currentValue = a), Wc(e, t), Pc(e, t, r, n), t.child;+ case 6: return e === null && ta && ((e = n = ea) && (n = fm(n, t.pendingProps, ra), n === null ? e = !1 : (t.stateNode = n, $i = t, ea = null, e = !0)), e || aa(t)), null;case 13: return Qc(e, t, n);case 4: return Ee(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = co(t, null, r, n) : Pc(e, t, r, n), t.child;case 11: return Fc(e, t, t.type, t.pendingProps, n);@@ -4553,23 +4553,23 @@ var _ = /* @__PURE__ */ o(((e) => {}function ml(e, t, n, r, i) {var a;- if ((a = !!(e.mode & 32)) && (a = n === null ? rh(t, r) : rh(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {+ if ((a = !!(e.mode & 32)) && (a = n === null ? nh(t, r) : nh(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {if (e.flags |= 16777216, (i & 335544128) === i) {if (e.stateNode.complete) e.flags |= 8192;- else if (Yd()) e.flags |= 8192;+ else if (Jd()) e.flags |= 8192;else throw $a = Ya, qa;}} else e.flags &= -16777217;}function hl(e, t) {if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;- else if (e.flags |= 16777216, !ih(t)) {- if (Yd()) e.flags |= 8192;+ else if (e.flags |= 16777216, !rh(t)) {+ if (Jd()) e.flags |= 8192;else throw $a = Ya, qa;}}function gl(e, t) {- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ft(), e.lanes |= t, gd |= t);+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ft(), e.lanes |= t, hd |= t);}function _l(e, t) {if (!ta) switch (e.tailMode) {@@ -4613,7 +4613,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (t.stateNode === null) throw Error(i(166));return vl(t), t.subtreeFlags &= -33554433, null;}- e = Se.current, ca(t) ? oa(t, e) : (e = wm(a, r, n), t.stateNode = e, pl(t));+ e = Se.current, ca(t) ? oa(t, e) : (e = Cm(a, r, n), t.stateNode = e, pl(t));}return vl(t), t.subtreeFlags &= -33554433, null;case 5:@@ -4625,7 +4625,7 @@ var _ = /* @__PURE__ */ o(((e) => {}if (o = Se.current, ca(t)) oa(t, o);else {- var s = vp(we.current);+ var s = _p(we.current);switch (o) {case 1:o = s.createElementNS("http://www.w3.org/2000/svg", a);@@ -4664,7 +4664,7 @@ var _ = /* @__PURE__ */ o(((e) => {s.sibling.return = s.return, s = s.sibling;}t.stateNode = o;- a: switch (dp(o, a, r), a) {+ a: switch (up(o, a, r), a) {case "button":case "input":case "select":@@ -4689,8 +4689,8 @@ var _ = /* @__PURE__ */ o(((e) => {case 27:case 5: r = a.memoizedProps;}- e[wt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || cp(e.nodeValue, n)), e || aa(t, !0);- } else e = vp(e).createTextNode(r), e[wt] = t, t.stateNode = e;+ e[wt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || sp(e.nodeValue, n)), e || aa(t, !0);+ } else e = _p(e).createTextNode(r), e[wt] = t, t.stateNode = e;}return vl(t), null;case 31:@@ -4720,7 +4720,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (!a) return t.flags & 256 ? (Po(t), t) : (Po(t), null);}return Po(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), gl(t, t.updateQueue), vl(t), null);- case 4: return De(), e === null && Qf(t.stateNode.containerInfo), t.flags |= 67108864, vl(t), null;+ case 4: return De(), e === null && Zf(t.stateNode.containerInfo), t.flags |= 67108864, vl(t), null;case 10: return ga(t.type), vl(t), null;case 19:if (Lo(t), r = t.memoizedState, r === null) return vl(t), null;@@ -4734,13 +4734,13 @@ var _ = /* @__PURE__ */ o(((e) => {}e = e.sibling;}- r.tail !== null && He() > Sd && (t.flags |= 128, a = !0, _l(r, !1), t.lanes = 4194304);+ r.tail !== null && He() > xd && (t.flags |= 128, a = !0, _l(r, !1), t.lanes = 4194304);}} else {if (!a) {if (e = Ro(o), e !== null) {if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, gl(t, e), _l(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !ta) return vl(t), null;- } else 2 * He() - r.renderingStartTime > Sd && n !== 536870912 && (t.flags |= 128, a = !0, _l(r, !1), t.lanes = 4194304);+ } else 2 * He() - r.renderingStartTime > xd && n !== 536870912 && (t.flags |= 128, a = !0, _l(r, !1), t.lanes = 4194304);}r.isBackwards ? (o.sibling = t.child, t.child = o) : (e = r.last, e === null ? t.child = o : e.sibling = o, r.last = o);}@@ -4844,7 +4844,7 @@ var _ = /* @__PURE__ */ o(((e) => {} while (n !== i);}} catch (e) {- bf(t, t.return, e);+ yf(t, t.return, e);}}function W(e, t, n) {@@ -4862,7 +4862,7 @@ var _ = /* @__PURE__ */ o(((e) => {try {l();} catch (e) {- bf(i, c, e);+ yf(i, c, e);}}}@@ -4870,7 +4870,7 @@ var _ = /* @__PURE__ */ o(((e) => {} while (r !== a);}} catch (e) {- bf(t, t.return, e);+ yf(t, t.return, e);}}function Cl(e) {@@ -4880,7 +4880,7 @@ var _ = /* @__PURE__ */ o(((e) => {try {So(t, n);} catch (t) {- bf(e, e.return, t);+ yf(e, e.return, t);}}}@@ -4889,7 +4889,7 @@ var _ = /* @__PURE__ */ o(((e) => {try {n.componentWillUnmount();} catch (n) {- bf(e, t, n);+ yf(e, t, n);}}function Tl(e, t) {@@ -4904,12 +4904,12 @@ var _ = /* @__PURE__ */ o(((e) => {break;case 30:var i = e.stateNode, a = pi(e.memoizedProps, i);- (i.ref === null || i.ref.name !== a) && (i.ref = Up(a)), r = i.ref;+ (i.ref === null || i.ref.name !== a) && (i.ref = Hp(a)), r = i.ref;break;case 7:if (e.stateNode === null) {- var o = new Wp(e);- f(e.child, !1, sm, o, void 0, void 0), e.stateNode = o;+ var o = new Up(e);+ f(e.child, !1, om, o, void 0, void 0), e.stateNode = o;}r = e.stateNode;break;@@ -4918,7 +4918,7 @@ var _ = /* @__PURE__ */ o(((e) => {typeof n == "function" ? e.refCleanup = n(r) : n.current = r;}} catch (n) {- bf(e, t, n);+ yf(e, t, n);}}function El(e, t) {@@ -4927,26 +4927,26 @@ var _ = /* @__PURE__ */ o(((e) => {if (typeof r == "function") try {r();} catch (n) {- bf(e, t, n);+ yf(e, t, n);} finally {e.refCleanup = null, e = e.alternate, e != null && (e.refCleanup = null);}else if (typeof n == "function") try {n(null);} catch (n) {- bf(e, t, n);+ yf(e, t, n);}else n.current = null;}}function Dl(e, t) {- if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) lm(e.stateNode, t[n]);+ if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) cm(e.stateNode, t[n]);}function Ol(e) {- for (var t = e.return; t !== null && (jl(t) && lm(e.stateNode, t.stateNode), !Al(t));) t = t.return;+ for (var t = e.return; t !== null && (jl(t) && cm(e.stateNode, t.stateNode), !Al(t));) t = t.return;}function kl(e) {- for (var t = e.return; t !== null && (jl(t) && um(e.stateNode, t.stateNode), !Al(t));) t = t.return;+ for (var t = e.return; t !== null && (jl(t) && lm(e.stateNode, t.stateNode), !Al(t));) t = t.return;}function Al(e) {return e.tag === 5 || e.tag === 3 || e.tag === 27;@@ -4967,19 +4967,19 @@ var _ = /* @__PURE__ */ o(((e) => {case "img": n.src ? r.src = n.src : n.srcSet && (r.srcset = n.srcSet);}} catch (t) {- bf(e, e.return, t);+ yf(e, e.return, t);}}function Nl(e, t, n) {try {var r = e.stateNode;- pp(r, e.type, n, t), r[Tt] = t;+ fp(r, e.type, n, t), r[Tt] = t;} catch (t) {- bf(e, e.return, t);+ yf(e, e.return, t);}}function Pl(e) {- return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && jp(e.type) || e.tag === 4;+ return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Ap(e.type) || e.tag === 4;}function Fl(e) {a: for (;;) {@@ -4988,7 +4988,7 @@ var _ = /* @__PURE__ */ o(((e) => {e = e.return;}for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18;) {- if (e.tag === 27 && jp(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;+ if (e.tag === 27 && Ap(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;e.child.return = e, e = e.child;}if (!(e.flags & 2)) return e.stateNode;@@ -4997,20 +4997,20 @@ var _ = /* @__PURE__ */ o(((e) => {function Il(e, t, n, r) {var i = e.tag;if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = _n)), Dl(e, r), z = !0;- else if (i !== 4 && (i === 27 && (Dl(e, r), r = null, jp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Il(e, t, n, r), e = e.sibling; e !== null;) Il(e, t, n, r), e = e.sibling;+ else if (i !== 4 && (i === 27 && (Dl(e, r), r = null, Ap(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Il(e, t, n, r), e = e.sibling; e !== null;) Il(e, t, n, r), e = e.sibling;}function Ll(e, t, n, r) {var i = e.tag;if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Dl(e, r), z = !0;- else if (i !== 4 && (i === 27 && (Dl(e, r), r = null, jp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Ll(e, t, n, r), e = e.sibling; e !== null;) Ll(e, t, n, r), e = e.sibling;+ else if (i !== 4 && (i === 27 && (Dl(e, r), r = null, Ap(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Ll(e, t, n, r), e = e.sibling; e !== null;) Ll(e, t, n, r), e = e.sibling;}function Rl(e) {var t = e.stateNode, n = e.memoizedProps;try {for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);- dp(t, r, n), t[wt] = e, t[Tt] = n;+ up(t, r, n), t[wt] = e, t[Tt] = n;} catch (t) {- bf(e, e.return, t);+ yf(e, e.return, t);}}var zl = !1, Bl = null;@@ -5031,17 +5031,17 @@ var _ = /* @__PURE__ */ o(((e) => {if (e.tag === 5) {var o = e.stateNode;if (r !== null) {- var s = Lp(o);+ var s = Ip(o);r.push(s), s.view && (a = !0);- } else a || Lp(o).view && (a = !0);- zl = !0, Pp(o, Wl === 0 ? t : t + "_" + Wl, n), Wl++;+ } else a || Ip(o).view && (a = !0);+ zl = !0, Np(o, Wl === 0 ? t : t + "_" + Wl, n), Wl++;} else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Kl(e.child, t, n, r, i) && (a = !0));e = e.sibling;}return a;}function ql(e, t) {- for (; e !== null;) e.tag === 5 ? Fp(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || ql(e.child, t)), e = e.sibling;+ for (; e !== null;) e.tag === 5 ? Pp(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || ql(e.child, t)), e = e.sibling;}function Jl(e) {if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {@@ -5057,7 +5057,7 @@ var _ = /* @__PURE__ */ o(((e) => {function Yl(e, t) {if (e.tag === 30) {var n = e.stateNode, r = e.memoizedProps, i = pi(r, n), a = hi(r.default, n.paired ? r.share : r.enter);- a === "none" ? Jl(e) : Gl(e, i, a, null, !1) ? (Jl(e), n.paired || t || zd(e, r.onEnter)) : ql(e.child, !1);+ a === "none" ? Jl(e) : Gl(e, i, a, null, !1) ? (Jl(e), n.paired || t || Rd(e, r.onEnter)) : ql(e.child, !1);} else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Yl(e, t), e = e.sibling;else Jl(e);}@@ -5072,7 +5072,7 @@ var _ = /* @__PURE__ */ o(((e) => {var i = t.get(r);if (i !== void 0) {var a = hi(n.default, n.share);- if (a !== "none" && (Gl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, zd(e, n.onShare)) : ql(e.child, !1)), t.delete(r), t.size === 0) break;+ if (a !== "none" && (Gl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Rd(e, n.onShare)) : ql(e.child, !1)), t.delete(r), t.size === 0) break;}}}@@ -5085,7 +5085,7 @@ var _ = /* @__PURE__ */ o(((e) => {function Zl(e) {if (e.tag === 30) {var t = e.memoizedProps, n = pi(t, e.stateNode), r = Bl === null ? void 0 : Bl.get(n), i = hi(t.default, r === void 0 ? t.exit : t.share);- i !== "none" && (Gl(e, n, i, null, !1) ? r === void 0 ? zd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Bl.delete(n), zd(e, t.onShare)) : ql(e.child, !1)), Bl !== null && Xl(e);+ i !== "none" && (Gl(e, n, i, null, !1) ? r === void 0 ? Rd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Bl.delete(n), Rd(e, t.onShare)) : ql(e.child, !1)), Bl !== null && Xl(e);} else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Zl(e), e = e.sibling;else Bl !== null && Xl(e);}@@ -5123,7 +5123,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (t.tag === 5) {var c = t.stateNode;if (a !== null && Wl < a.length) {- var l = a[Wl], u = Lp(c);+ var l = a[Wl], u = Ip(c);(l.view || u.view) && (s = !0);var d;if (d = !(e.flags & 4)) {@@ -5136,7 +5136,7 @@ var _ = /* @__PURE__ */ o(((e) => {}d && (e.flags |= 4), u.abs ? u = !l.abs : (l = l.rect, u = u.rect, u = l.height !== u.height || l.width !== u.width), u && (e.flags |= 32);} else e.flags |= 32;- e.flags & 4 && Pp(c, Wl === 0 ? n : n + "_" + Wl, i), s && e.flags & 4 || (Hl === null && (Hl = []), Hl.push(c, Wl === 0 ? r : r + "_" + Wl, t.memoizedProps)), Wl++;+ e.flags & 4 && Np(c, Wl === 0 ? n : n + "_" + Wl, i), s && e.flags & 4 || (Hl === null && (Hl = []), Hl.push(c, Wl === 0 ? r : r + "_" + Wl, t.memoizedProps)), Wl++;} else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : nu(e, t.child, n, r, i, a, o) && (s = !0));t = t.sibling;}@@ -5148,18 +5148,18 @@ var _ = /* @__PURE__ */ o(((e) => {var n = e.memoizedProps, r = e.stateNode, i = pi(n, r), a = hi(n.default, n.update);if (t) {r = r.clones;- var o = r === null ? null : r.map(Rp);+ var o = r === null ? null : r.map(Lp);} else o = e.memoizedState, e.memoizedState = null;r = e;var s = e.child;- Wl = 0, i = nu(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || zd(e, n.onUpdate));+ Wl = 0, i = nu(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Rd(e, n.onUpdate));} else e.subtreeFlags & 33554432 && ru(e, t);e = e.sibling;}}var iu = !1, au = !1, ou = !1, su = !1, cu = typeof WeakSet == "function" ? WeakSet : Set, lu = null, uu = !1, du = !1, fu = !1, pu = !1;function mu(e, t, n) {- if (e = e.containerInfo, gp = Th, e = Ur(e), Wr(e)) {+ if (e = e.containerInfo, hp = wh, e = Ur(e), Wr(e)) {if ("selectionStart" in e) var r = {start: e.selectionStart,end: e.selectionEnd@@ -5198,10 +5198,10 @@ var _ = /* @__PURE__ */ o(((e) => {end: 0};} else r = null;- for (_p = {+ for (gp = {focusedElem: e,selectionRange: r- }, Th = !1, n = (n & 335544064) === n, lu = t, t = n ? 9270 : 1024; lu !== null;) {+ }, wh = !1, n = (n & 335544064) === n, lu = t, t = n ? 9270 : 1024; lu !== null;) {if (e = lu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Zl(r[a]);if (e.alternate === null && e.flags & 2) n && Vl(e), hu(n);else {@@ -5235,18 +5235,18 @@ var _ = /* @__PURE__ */ o(((e) => {var s = Sc(t.type, a);n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;} catch (e) {- bf(t, t.return, e);+ yf(t, t.return, e);}}break;case 3:if (a & 1024) {- if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) dm(r);+ if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) um(r);else if (n === 1) switch (r.nodeName) {case "HEAD":case "HTML":case "BODY":- dm(r);+ um(r);break;default: r.textContent = "";}@@ -5283,7 +5283,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (e = n.stateNode, t === null) try {e.componentDidMount();} catch (e) {- bf(n, n.return, e);+ yf(n, n.return, e);}else {var i = Sc(n.type, t.memoizedProps);@@ -5291,7 +5291,7 @@ var _ = /* @__PURE__ */ o(((e) => {try {e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);} catch (e) {- bf(n, n.return, e);+ yf(n, n.return, e);}}}@@ -5309,7 +5309,7 @@ var _ = /* @__PURE__ */ o(((e) => {try {So(e, t);} catch (e) {- bf(n, n.return, e);+ yf(n, n.return, e);}}break;@@ -5325,7 +5325,7 @@ var _ = /* @__PURE__ */ o(((e) => {Iu(e, n), r & 4 && Tu(e, n);break;case 13:- Iu(e, n), r & 4 && Eu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = wf.bind(null, n), _m(e, n))));+ Iu(e, n), r & 4 && Eu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Cf.bind(null, n), gm(e, n))));break;case 22:if (r = n.memoizedState !== null || iu, !r) {@@ -5357,7 +5357,7 @@ var _ = /* @__PURE__ */ o(((e) => {i.style.display = o == null || typeof o == "boolean" ? "" : ("" + o).trim();}} catch (t) {- bf(e, e.return, t);+ yf(e, e.return, t);}yu(e, t);break;@@ -5365,15 +5365,15 @@ var _ = /* @__PURE__ */ o(((e) => {try {e.stateNode.nodeValue = t ? "" : e.memoizedProps, z = !0;} catch (t) {- bf(e, e.return, t);+ yf(e, e.return, t);}break;case 18:try {var s = e.stateNode;- t ? Np(s, !0) : Np(e.stateNode, !1);+ t ? Mp(s, !0) : Mp(e.stateNode, !1);} catch (t) {- bf(e, e.return, t);+ yf(e, e.return, t);}break;case 22:@@ -5419,7 +5419,7 @@ var _ = /* @__PURE__ */ o(((e) => {case 27:au || El(n, t), kl(n);var r = xu, i = Su;- jp(n.type) && (xu = n.stateNode, Su = !1), Cu(e, t, n), Tm(n.stateNode, n.type, n.memoizedProps), xu = r, Su = i;+ Ap(n.type) && (xu = n.stateNode, Su = !1), Cu(e, t, n), wm(n.stateNode, n.type, n.memoizedProps), xu = r, Su = i;break;case 5: au || El(n, t), kl(n);case 6:@@ -5427,17 +5427,17 @@ var _ = /* @__PURE__ */ o(((e) => {if (Su) try {(xu.nodeType === 9 ? xu.body : xu.nodeName === "HTML" ? xu.ownerDocument.body : xu).removeChild(n.stateNode), z = !0;} catch (e) {- bf(n, t, e);+ yf(n, t, e);}else try {xu.removeChild(n.stateNode), z = !0;} catch (e) {- bf(n, t, e);+ yf(n, t, e);}}break;case 18:- xu !== null && (Su ? (e = xu, Mp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Zh(e)) : Mp(xu, n.stateNode));+ xu !== null && (Su ? (e = xu, jp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Xh(e)) : jp(xu, n.stateNode));break;case 4:r = xu, i = Su, xu = n.stateNode.containerInfo, Su = !0, Cu(e, t, n), xu = r, Su = i;@@ -5470,17 +5470,17 @@ var _ = /* @__PURE__ */ o(((e) => {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {e = e.dehydrated;try {- Zh(e);+ Xh(e);} catch (e) {- bf(t, t.return, e);+ yf(t, t.return, e);}}}function Eu(e, t) {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {- Zh(e);+ Xh(e);} catch (e) {- bf(t, t.return, e);+ yf(t, t.return, e);}}function Du(e) {@@ -5499,7 +5499,7 @@ var _ = /* @__PURE__ */ o(((e) => {t.forEach(function(t) {if (!n.has(t)) {n.add(t);- var r = Tf.bind(null, e, t);+ var r = wf.bind(null, e, t);t.then(r, r);}});@@ -5511,7 +5511,7 @@ var _ = /* @__PURE__ */ o(((e) => {a: for (; l !== null;) {switch (l.tag) {case 27:- if (jp(l.type)) {+ if (Ap(l.type)) {xu = l.stateNode, Su = !1;break a;}@@ -5553,31 +5553,31 @@ var _ = /* @__PURE__ */ o(((e) => {if (a = r === null ? null : r.memoizedState, n = e.memoizedState, r === null) {if (n === null) {if (e.stateNode === null) {- if (iu) e.stateNode = xp(e.type, e.memoizedProps, t.containerInfo, e);+ if (iu) e.stateNode = bp(e.type, e.memoizedProps, t.containerInfo, e);else {a: {t = e.type, n = e.memoizedProps, a = o.ownerDocument || o;b: switch (t) {case "title":- r = a.getElementsByTagName("title")[0], (!r || r[jt] || r[wt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), dp(r, t, n), r[wt] = e, Rt(r), t = r;+ r = a.getElementsByTagName("title")[0], (!r || r[jt] || r[wt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), up(r, t, n), r[wt] = e, Rt(r), t = r;break a;case "link":- if (o = eh("link", "href", a).get(t + (n.href || ""))) {+ if (o = $m("link", "href", a).get(t + (n.href || ""))) {for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("href") === (n.href == null || n.href === "" ? null : n.href) && r.getAttribute("rel") === (n.rel == null ? null : n.rel) && r.getAttribute("title") === (n.title == null ? null : n.title) && r.getAttribute("crossorigin") === (n.crossOrigin == null ? null : n.crossOrigin)) {o.splice(s, 1);break b;}}- r = a.createElement(t), dp(r, t, n), a.head.appendChild(r);+ r = a.createElement(t), up(r, t, n), a.head.appendChild(r);break;case "meta":- if (o = eh("meta", "content", a).get(t + (n.content || ""))) {+ if (o = $m("meta", "content", a).get(t + (n.content || ""))) {for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("content") === (n.content == null ? null : "" + n.content) && r.getAttribute("name") === (n.name == null ? null : n.name) && r.getAttribute("property") === (n.property == null ? null : n.property) && r.getAttribute("http-equiv") === (n.httpEquiv == null ? null : n.httpEquiv) && r.getAttribute("charset") === (n.charSet == null ? null : n.charSet)) {o.splice(s, 1);break b;}}- r = a.createElement(t), dp(r, t, n), a.head.appendChild(r);+ r = a.createElement(t), up(r, t, n), a.head.appendChild(r);break;default: throw Error(i(468, t));}@@ -5585,9 +5585,9 @@ var _ = /* @__PURE__ */ o(((e) => {}e.stateNode = t;}- } else iu || th(o, e.type, e.stateNode);- } else e.stateNode = Ym(o, n, e.memoizedProps);- } else a === n ? n === null && e.stateNode !== null && Nl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || au || t.parentNode.removeChild(t)) : a.count--, n === null ? iu || th(o, e.type, e.stateNode) : Ym(o, n, e.memoizedProps));+ } else iu || eh(o, e.type, e.stateNode);+ } else e.stateNode = Jm(o, n, e.memoizedProps);+ } else a === n ? n === null && e.stateNode !== null && Nl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || au || t.parentNode.removeChild(t)) : a.count--, n === null ? iu || eh(o, e.type, e.stateNode) : Jm(o, n, e.memoizedProps));}break;case 27:@@ -5599,7 +5599,7 @@ var _ = /* @__PURE__ */ o(((e) => {try {ln(t, ""), z = !0;} catch (t) {- bf(e, e.return, t);+ yf(e, e.return, t);}}a & 4 && e.stateNode != null && (t = e.memoizedProps, Nl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (su = !0);@@ -5611,20 +5611,20 @@ var _ = /* @__PURE__ */ o(((e) => {try {n.nodeValue = t, z = !0;} catch (t) {- bf(e, e.return, t);+ yf(e, e.return, t);}}break;case 3:- if (z = !1, $m = null, o = Au, Au = km(t.containerInfo), ku(t, e, n), Au = o, Mu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {- Zh(t.containerInfo);+ if (z = !1, Qm = null, o = Au, Au = Om(t.containerInfo), ku(t, e, n), Au = o, Mu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {+ Xh(t.containerInfo);} catch (t) {- bf(e, e.return, t);+ yf(e, e.return, t);}su && (su = !1, Nu(e)), z = !1;break;case 4:- a = ou, ou = iu, r = Kt(), o = Au, Au = km(e.stateNode.containerInfo), ku(t, e, n), Mu(e), Au = o, z && du && (fu = !0), z = r, ou = a;+ a = ou, ou = iu, r = Kt(), o = Au, Au = Om(e.stateNode.containerInfo), ku(t, e, n), Mu(e), Au = o, z && du && (fu = !0), z = r, ou = a;break;case 12:ku(t, e, n), Mu(e);@@ -5633,7 +5633,7 @@ var _ = /* @__PURE__ */ o(((e) => {ku(t, e, n), Mu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(e, t)));break;case 13:- ku(t, e, n), Mu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (bd = He()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(e, t)));+ ku(t, e, n), Mu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (yd = He()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(e, t)));break;case 22:o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;@@ -5690,7 +5690,7 @@ var _ = /* @__PURE__ */ o(((e) => {default: throw Error(i(161));}} catch (t) {- bf(e, e.return, t);+ yf(e, e.return, t);}e.flags &= -3;}@@ -5699,7 +5699,7 @@ var _ = /* @__PURE__ */ o(((e) => {function Nu(e) {if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {var t = e;- Nu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Th = !0, t.reset(), Th = !1), e = e.sibling;+ Nu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, wh = !0, t.reset(), wh = !1), e = e.sibling;}}function Pu(e, t) {@@ -5715,7 +5715,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (e = Hl, e !== null) for (var r = 0; r < e.length; r += 3) {n = e[r];var i = e[r + 1];- Fp(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({+ Pp(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({opacity: [0, 0],pointerEvents: ["none", "none"]}, {@@ -5756,7 +5756,7 @@ var _ = /* @__PURE__ */ o(((e) => {var a = e.memoizedProps, o = e.stateNode;t = pi(a, o), o = pi(n.memoizedProps, o);var s = hi(a.default, a.update);- s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Wl = 0, t = nu(e, n, t, o, s, a, !0), Wl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (zd(e, e.memoizedProps.onUpdate), Hl = i) : i !== null && (i.push.apply(i, Hl), Hl = i), uu = e.flags & 32 ? !0 : r;+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Wl = 0, t = nu(e, n, t, o, s, a, !0), Wl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Rd(e, e.memoizedProps.onUpdate), Hl = i) : i !== null && (i.push.apply(i, Hl), Hl = i), uu = e.flags & 32 ? !0 : r;break;default: Pu(t, e);}@@ -5779,7 +5779,7 @@ var _ = /* @__PURE__ */ o(((e) => {var i = n.stateNode;typeof i.componentWillUnmount == "function" && wl(n, n.return, i), Lu(n, r);break;- case 27: r & 2 && Tm(n.stateNode, n.type, n.memoizedProps);+ case 27: r & 2 && wm(n.stateNode, n.type, n.memoizedProps);case 5:El(n, n.return), n.tag !== 5 && n.tag !== 27 || kl(n), Lu(n, r);break;@@ -5814,7 +5814,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (Ru(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {i.componentDidMount();} catch (e) {- bf(r, r.return, e);+ yf(r, r.return, e);}if (r = a, i = r.updateQueue, i !== null) {var c = r.stateNode;@@ -5822,7 +5822,7 @@ var _ = /* @__PURE__ */ o(((e) => {var l = i.shared.hiddenCallbacks;if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) xo(l[i], c);} catch (e) {- bf(r, r.return, e);+ yf(r, r.return, e);}}s && o & 64 && Cl(a), Tl(a, a.return);@@ -5835,7 +5835,7 @@ var _ = /* @__PURE__ */ o(((e) => {Ol(a);break;case 26:- c = a.stateNode, a.memoizedState !== null || c === null || iu || th(km(c.ownerDocument), a.type, c), Ru(i, a, n), s && r === null && o & 4 && Ml(a), Tl(a, a.return);+ c = a.stateNode, a.memoizedState !== null || c === null || iu || eh(Om(c.ownerDocument), a.type, c), Ru(i, a, n), s && r === null && o & 4 && Ml(a), Tl(a, a.return);break;case 12:Ru(i, a, n);@@ -5893,7 +5893,7 @@ var _ = /* @__PURE__ */ o(((e) => {var o = t.memoizedProps, s = o.id, c = o.onPostCommit;typeof c == "function" && c(s, t.alternate === null ? "mount" : "update", a.passiveEffectDuration, -0);} catch (e) {- bf(t, t.return, e);+ yf(t, t.return, e);}} else Vu(e, t, n, r);break;@@ -5960,15 +5960,15 @@ var _ = /* @__PURE__ */ o(((e) => {function qu(e, t, n) {switch (e.tag) {case 26:- Ku(e, t, n), e.flags & Gu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && oh(n, e)) : sh(n, Au, e.memoizedState, e.memoizedProps));+ Ku(e, t, n), e.flags & Gu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && ah(n, e)) : oh(n, Au, e.memoizedState, e.memoizedProps));break;case 5:- Ku(e, t, n), e.flags & Gu && (e = e.stateNode, (t & 335544128) === t && oh(n, e));+ Ku(e, t, n), e.flags & Gu && (e = e.stateNode, (t & 335544128) === t && ah(n, e));break;case 3:case 4:var r = Au;- Au = km(e.stateNode.containerInfo), Ku(e, t, n), Au = r;+ Au = Om(e.stateNode.containerInfo), Ku(e, t, n), Au = r;break;case 22:e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Gu, Gu = 16777216, Ku(e, t, n), Gu = r) : Ku(e, t, n));@@ -6089,37 +6089,37 @@ var _ = /* @__PURE__ */ o(((e) => {cacheSignal: function() {return Sa(Oa).controller.signal;}- }, ed = typeof WeakMap == "function" ? WeakMap : Map, td = 0, nd = null, rd = null, id = 0, ad = 0, od = null, sd = !1, cd = !1, ld = !1, ud = 0, dd = 0, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = null, vd = null, yd = !1, bd = 0, xd = 0, Sd = Infinity, Cd = null, wd = null, Td = 0, Ed = null, Dd = null, Od = 0, kd = 0, Ad = null, jd = null, Md = null, Nd = null, Pd = null, Fd = 0, Id = null;- function Ld() {- return td & 2 && id !== 0 ? id & -id : me.T === null ? xt() : Vf();+ }, ed = typeof WeakMap == "function" ? WeakMap : Map, td = 0, nd = null, rd = null, id = 0, ad = 0, od = null, sd = !1, cd = !1, ld = !1, ud = 0, dd = 0, fd = 0, G = 0, pd = 0, md = 0, hd = 0, gd = null, _d = null, vd = !1, yd = 0, bd = 0, xd = Infinity, Sd = null, Cd = null, wd = 0, Td = null, Ed = null, Dd = 0, Od = 0, kd = null, Ad = null, jd = null, Md = null, Nd = null, Pd = 0, Fd = null;+ function Id() {+ return td & 2 && id !== 0 ? id & -id : me.T === null ? xt() : Bf();}- function Rd() {- if (hd === 0) {+ function Ld() {+ if (md === 0) {if (!(id & 536870912) || ta) {var e = at;- at <<= 1, !(at & 3932160) && (at = 262144), hd = e;- } else hd = 536870912;+ at <<= 1, !(at & 3932160) && (at = 262144), md = e;+ } else md = 536870912;}- return e = Oo.current, e !== null && (e.flags |= 32), hd;+ return e = Oo.current, e !== null && (e.flags |= 32), md;}- function zd(e, t) {+ function Rd(e, t) {if (t != null) {var n = e.stateNode, r = n.ref;- r === null && (r = n.ref = Up(pi(e.memoizedProps, n))), Nd === null && (Nd = []), Nd.push(t.bind(null, r));+ r === null && (r = n.ref = Hp(pi(e.memoizedProps, n))), Md === null && (Md = []), Md.push(t.bind(null, r));}}- function Bd(e, t, n) {- (e === nd && (ad === 2 || ad === 9) || e.cancelPendingCommit !== null) && (qd(e, 0), Wd(e, id, hd, !1)), mt(e, n), (!(td & 2) || e !== nd) && (e === nd && (!(td & 2) && (pd |= n), dd === 4 && Wd(e, id, hd, !1)), Nf(e));+ function zd(e, t, n) {+ (e === nd && (ad === 2 || ad === 9) || e.cancelPendingCommit !== null) && (Kd(e, 0), Ud(e, id, md, !1)), mt(e, n), (!(td & 2) || e !== nd) && (e === nd && (!(td & 2) && (G |= n), dd === 4 && Ud(e, id, md, !1)), Mf(e));}- function Vd(e, t, n) {+ function Bd(e, t, n) {if (td & 6) throw Error(i(327));- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || lt(e, t), a = r ? tf(e, t) : $d(e, t, !0), o = r;+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || lt(e, t), a = r ? ef(e, t) : Qd(e, t, !0), o = r;do {if (a === 0) {- cd && !r && Wd(e, t, 0, !1);+ cd && !r && Ud(e, t, 0, !1);break;}- if (n = e.current.alternate, o && !Ud(n)) a = $d(e, t, !1), o = !1;+ if (n = e.current.alternate, o && !Hd(n)) a = Qd(e, t, !1), o = !1;else {if (a === 2) {if (o = t, e.errorRecoveryDisabledLanes & o) var s = 0;@@ -6128,14 +6128,14 @@ var _ = /* @__PURE__ */ o(((e) => {t = s;a: {var c = e;- a = _d;+ a = gd;var l = c.current.memoizedState.isDehydrated;- if (l && (qd(c, s).flags |= 256), s = $d(c, s, !1), s !== 2 && s !== 6) {+ if (l && (Kd(c, s).flags |= 256), s = Qd(c, s, !1), s !== 2 && s !== 6) {if (ld && !l) {- c.errorRecoveryDisabledLanes |= o, pd |= o, a = 4;+ c.errorRecoveryDisabledLanes |= o, G |= o, a = 4;break a;}- o = vd, vd = a, o !== null && (vd === null ? vd = o : vd.push.apply(vd, o));+ o = _d, _d = a, o !== null && (_d === null ? _d = o : _d.push.apply(_d, o));}a = s;}@@ -6143,7 +6143,7 @@ var _ = /* @__PURE__ */ o(((e) => {}}if (a === 1) {- qd(e, 0), Wd(e, t, 0, !0);+ Kd(e, 0), Ud(e, t, 0, !0);break;}a: {@@ -6152,28 +6152,28 @@ var _ = /* @__PURE__ */ o(((e) => {case 1: throw Error(i(345));case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;case 6:- Wd(r, t, hd, !sd);+ Ud(r, t, md, !sd);break a;case 2:- vd = null;+ _d = null;break;case 3:case 5: break;default: throw Error(i(329));}- if ((t & 62914560) === t && (a = bd + 300 - He(), 10 < a)) {- if (Wd(r, t, hd, !sd), ct(r, 0, !0) !== 0) break a;- Od = t, r.timeoutHandle = Tp(Hd.bind(null, r, n, vd, Cd, yd, t, hd, pd, gd, sd, o, "Throttled", -0, 0), a);+ if ((t & 62914560) === t && (a = yd + 300 - He(), 10 < a)) {+ if (Ud(r, t, md, !sd), ct(r, 0, !0) !== 0) break a;+ Dd = t, r.timeoutHandle = wp(Vd.bind(null, r, n, _d, Sd, vd, t, md, G, hd, sd, o, "Throttled", -0, 0), a);break a;}- Hd(r, n, vd, Cd, yd, t, hd, pd, gd, sd, o, null, -0, 0);+ Vd(r, n, _d, Sd, vd, t, md, G, hd, sd, o, null, -0, 0);}break;}} while (1);- Nf(e);+ Mf(e);}- function Hd(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {+ function Vd(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {e.timeoutHandle = -1;var m = t.subtreeFlags, h = (a & 335544064) === a;d = null, (h || m & 8192 || (m & 16785408) == 16785408) && (d = {@@ -6185,9 +6185,9 @@ var _ = /* @__PURE__ */ o(((e) => {waitingForImages: !0,waitingForViewTransition: !1,unsuspend: _n- }, Bl = null, qu(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = dh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? bd - He() : (a & 4194048) === a ? xd - He() : 0, m = lh(d, m), m !== null) ? (Od = a, e.cancelPendingCommit = m(lf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Wd(e, a, o, !l)) : lf(e, t, a, n, r, i, o, s, c, l, u, d);+ }, Bl = null, qu(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = uh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? yd - He() : (a & 4194048) === a ? bd - He() : 0, m = ch(d, m), m !== null) ? (Dd = a, e.cancelPendingCommit = m(cf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Ud(e, a, o, !l)) : cf(e, t, a, n, r, i, o, s, c, l, u, d);}- function Ud(e) {+ function Hd(e) {for (var t = e;;) {var n = t.tag;if ((n === 0 || n === 11 || n === 15) && t.flags & 16384 && (n = t.updateQueue, n !== null && (n = n.stores, n !== null))) for (var r = 0; r < n.length; r++) {@@ -6211,18 +6211,18 @@ var _ = /* @__PURE__ */ o(((e) => {}return !0;}- function Wd(e, t, n, r) {- t = ut(e, t), t &= ~md, t &= ~pd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;+ function Ud(e, t, n, r) {+ t = ut(e, t), t &= ~pd, t &= ~G, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;for (var i = t; 0 < i;) {var a = 31 - et(i), o = 1 << a;r[a] = -1, i &= ~o;}n !== 0 && gt(e, n, t);}- function Gd() {- return td & 6 ? !0 : (Pf(0, !1), !1);+ function Wd() {+ return td & 6 ? !0 : (Nf(0, !1), !1);}- function Kd() {+ function Gd() {if (rd !== null) {if (ad === 0) var e = rd.return;else e = rd, ma = pa = null, is(e), no = null, ro = 0, e = rd;@@ -6230,33 +6230,33 @@ var _ = /* @__PURE__ */ o(((e) => {rd = null;}}- function qd(e, t) {+ function Kd(e, t) {var n = e.timeoutHandle;- return n !== -1 && (e.timeoutHandle = -1, Ep(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Od = 0, Kd(), nd = e, rd = n = Ai(e.current, null), id = t, ad = 0, od = null, sd = !1, cd = lt(e, t), ld = !1, gd = hd = md = pd = fd = dd = 0, vd = _d = null, yd = !1, ud = ut(e, t), bi(), n;+ return n !== -1 && (e.timeoutHandle = -1, Tp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Dd = 0, Gd(), nd = e, rd = n = Ai(e.current, null), id = t, ad = 0, od = null, sd = !1, cd = lt(e, t), ld = !1, hd = md = pd = G = fd = dd = 0, _d = gd = null, vd = !1, ud = ut(e, t), bi(), n;}- function Jd(e, t) {+ function qd(e, t) {Bo = null, me.H = mc, t === Ka || t === Ja ? (t = eo(), ad = 3) : t === qa ? (t = eo(), ad = 4) : ad = t === Mc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, od = t, rd === null && (dd = 1, Ec(e, Ri(t, e.current)));}- function Yd() {+ function Jd() {var e = Oo.current;return e === null ? !0 : (id & 4194048) === id ? ko === null : (id & 62914560) === id || id & 536870912 ? e === ko : !1;}- function Xd() {+ function Yd() {var e = me.H;return me.H = mc, e === null ? mc : e;}- function Zd() {+ function Xd() {var e = me.A;return me.A = $u, e;}- function Qd() {- dd = 4, sd || (id & 4194048) !== id && Oo.current !== null || (cd = !0), !(fd & 134217727) && !(pd & 134217727) || nd === null || Wd(nd, id, hd, !1);+ function Zd() {+ dd = 4, sd || (id & 4194048) !== id && Oo.current !== null || (cd = !0), !(fd & 134217727) && !(G & 134217727) || nd === null || Ud(nd, id, md, !1);}- function $d(e, t, n) {+ function Qd(e, t, n) {var r = td;td |= 2;- var i = Xd(), a = Zd();- (nd !== e || id !== t) && (Cd = null, qd(e, t)), t = !1;+ var i = Yd(), a = Xd();+ (nd !== e || id !== t) && (Sd = null, Kd(e, t)), t = !1;var o = dd;a: dotry {@@ -6264,7 +6264,7 @@ var _ = /* @__PURE__ */ o(((e) => {var s = rd, c = od;switch (ad) {case 8:- Kd(), o = 6;+ Gd(), o = 6;break a;case 3:case 2:@@ -6272,30 +6272,30 @@ var _ = /* @__PURE__ */ o(((e) => {case 6:Oo.current === null && (t = !0);var l = ad;- if (ad = 0, od = null, of(e, s, c, l), n && cd) {+ if (ad = 0, od = null, af(e, s, c, l), n && cd) {o = 0;break a;}break;- default: l = ad, ad = 0, od = null, of(e, s, c, l);+ default: l = ad, ad = 0, od = null, af(e, s, c, l);}}- ef(), o = dd;+ $d(), o = dd;break;} catch (t) {- Jd(e, t);+ qd(e, t);}while (1);return t && e.shellSuspendCounter++, ma = pa = null, td = r, me.H = i, me.A = a, rd === null && (nd = null, id = 0, bi()), o;}- function ef() {- for (; rd !== null;) rf(rd);+ function $d() {+ for (; rd !== null;) nf(rd);}- function tf(e, t) {+ function ef(e, t) {var n = td;td |= 2;- var r = Xd(), a = Zd();- nd !== e || id !== t ? (Cd = null, Sd = He() + 500, qd(e, t)) : cd = lt(e, t);+ var r = Yd(), a = Xd();+ nd !== e || id !== t ? (Sd = null, xd = He() + 500, Kd(e, t)) : cd = lt(e, t);a: dotry {if (ad !== 0 && rd !== null) {@@ -6303,16 +6303,16 @@ var _ = /* @__PURE__ */ o(((e) => {var o = od;b: switch (ad) {case 1:- ad = 0, od = null, of(e, t, o, 1);+ ad = 0, od = null, af(e, t, o, 1);break;case 2:case 9:if (Xa(o)) {- ad = 0, od = null, af(t);+ ad = 0, od = null, rf(t);break;}t = function() {- ad !== 2 && ad !== 9 || nd !== e || (ad = 7), Nf(e);+ ad !== 2 && ad !== 9 || nd !== e || (ad = 7), Mf(e);}, o.then(t, t);break a;case 3:@@ -6322,7 +6322,7 @@ var _ = /* @__PURE__ */ o(((e) => {ad = 5;break a;case 7:- Xa(o) ? (ad = 0, od = null, af(t)) : (ad = 0, od = null, of(e, t, o, 7));+ Xa(o) ? (ad = 0, od = null, rf(t)) : (ad = 0, od = null, af(e, t, o, 7));break;case 5:var s = null;@@ -6331,44 +6331,44 @@ var _ = /* @__PURE__ */ o(((e) => {case 5:case 27:var c = rd;- if (s ? ih(s) : c.stateNode.complete) {+ if (s ? rh(s) : c.stateNode.complete) {ad = 0, od = null;var l = c.sibling;if (l !== null) rd = l;else {var u = c.return;- u === null ? rd = null : (rd = u, sf(u));+ u === null ? rd = null : (rd = u, of(u));}break b;}}- ad = 0, od = null, of(e, t, o, 5);+ ad = 0, od = null, af(e, t, o, 5);break;case 6:- ad = 0, od = null, of(e, t, o, 6);+ ad = 0, od = null, af(e, t, o, 6);break;case 8:- Kd(), dd = 6;+ Gd(), dd = 6;break a;default: throw Error(i(462));}}- nf();+ tf();break;} catch (t) {- Jd(e, t);+ qd(e, t);}while (1);return ma = pa = null, me.H = r, me.A = a, td = n, rd === null ? (nd = null, id = 0, bi(), dd) : 0;}- function nf() {- for (; rd !== null && !Be();) rf(rd);+ function tf() {+ for (; rd !== null && !Be();) nf(rd);}- function rf(e) {+ function nf(e) {var t = fl(e.alternate, e, ud);- e.memoizedProps = e.pendingProps, t === null ? sf(e) : rd = t;+ e.memoizedProps = e.pendingProps, t === null ? of(e) : rd = t;}- function af(e) {+ function rf(e) {var t = e, n = t.alternate;switch (t.tag) {case 15:@@ -6384,9 +6384,9 @@ var _ = /* @__PURE__ */ o(((e) => {r === $i && (ta ? (sa(r), r.tag === 5 && r.stateNode != null && (ea = r.stateNode)) : (sa(r), ta = !0));default: xl(n, t), t = rd = ji(t, ud), t = fl(n, t, ud);}- e.memoizedProps = e.pendingProps, t === null ? sf(e) : rd = t;+ e.memoizedProps = e.pendingProps, t === null ? of(e) : rd = t;}- function of(e, t, n, r) {+ function af(e, t, n, r) {ma = pa = null, is(t), no = null, ro = 0;var i = t.return;try {@@ -6399,13 +6399,13 @@ var _ = /* @__PURE__ */ o(((e) => {dd = 1, Ec(e, Ri(n, e.current)), rd = null;return;}- t.flags & 32768 ? (ta || r === 1 ? e = !0 : cd || id & 536870912 ? e = !1 : (sd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Oo.current, r !== null && r.tag === 13 && (r.flags |= 16384))), cf(t, e)) : sf(t);+ t.flags & 32768 ? (ta || r === 1 ? e = !0 : cd || id & 536870912 ? e = !1 : (sd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Oo.current, r !== null && r.tag === 13 && (r.flags |= 16384))), sf(t, e)) : of(t);}- function sf(e) {+ function of(e) {var t = e;do {if (t.flags & 32768) {- cf(t, sd);+ sf(t, sd);return;}e = t.return;@@ -6422,7 +6422,7 @@ var _ = /* @__PURE__ */ o(((e) => {} while (t !== null);dd === 0 && (dd = 5);}- function cf(e, t) {+ function sf(e, t) {do {var n = bl(e.alternate, e);if (n !== null) {@@ -6437,21 +6437,21 @@ var _ = /* @__PURE__ */ o(((e) => {} while (e !== null);dd = 6, rd = null;}- function lf(e, t, n, r, a, o, s, c, l, u, d, f) {+ function cf(e, t, n, r, a, o, s, c, l, u, d, f) {e.cancelPendingCommit = null;do- _f();- while (Td !== 0);+ gf();+ while (wd !== 0);if (td & 6) throw Error(i(327));if (t !== null) {if (t === e.current) throw Error(i(177));- e === nd && (rd = nd = null, id = 0), Dd = t, Ed = e, Od = n, Ad = a, jd = r, uf(e, t, n, s, c, l, f);+ e === nd && (rd = nd = null, id = 0), Ed = t, Td = e, Dd = n, kd = a, Ad = r, lf(e, t, n, s, c, l, f);}}- function uf(e, t, n, r, i, a, o) {+ function lf(e, t, n, r, i, a, o) {var s = t.lanes | t.childLanes;- if (kd = s, s |= yi, ht(e, n, s, r, i, a), Nd = null, (n & 335544064) === n ? (Pd = Na(e), r = 10262) : (Pd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Ef(Ke, function() {- return vf(), null;+ if (Od = s, s |= yi, ht(e, n, s, r, i, a), Md = null, (n & 335544064) === n ? (Nd = Na(e), r = 10262) : (Nd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Tf(Ke, function() {+ return _f(), null;})) : (e.callbackNode = null, e.callbackPriority = 0), zl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {r = me.T, me.T = null, i = he.p, he.p = 2, a = td, td |= 4;try {@@ -6460,21 +6460,21 @@ var _ = /* @__PURE__ */ o(((e) => {td = a, he.p = i, me.T = r;}}- Td = 1, zl ? Md = Vp(o, e.containerInfo, Pd, pf, mf, ff, hf, vf, df, null, null) : (pf(), mf(), hf());+ wd = 1, zl ? jd = Bp(o, e.containerInfo, Nd, ff, pf, df, mf, _f, uf, null, null) : (ff(), pf(), mf());}- function df(e) {- if (Td !== 0) {- var t = Ed.onRecoverableError;+ function uf(e) {+ if (wd !== 0) {+ var t = Td.onRecoverableError;t(e, { componentStack: null });}}- function ff() {- Td === 3 && (Td = 0, Fu(Dd, Ed), Td = 4);+ function df() {+ wd === 3 && (wd = 0, Fu(Ed, Td), wd = 4);}- function pf() {- if (Td === 1) {- Td = 0;- var e = Ed, t = Dd, n = Od, r = !!(t.flags & 13878);+ function ff() {+ if (wd === 1) {+ wd = 0;+ var e = Td, t = Ed, n = Dd, r = !!(t.flags & 13878);if (t.subtreeFlags & 13878 || r) {r = me.T, me.T = null;var i = he.p;@@ -6482,7 +6482,7 @@ var _ = /* @__PURE__ */ o(((e) => {var a = td;td |= 4;try {- du = fu = !1, ju(t, e, n), n = _p;+ du = fu = !1, ju(t, e, n), n = gp;var o = Ur(e.containerInfo), s = n.focusedElem, c = n.selectionRange;if (o !== s && s && s.ownerDocument && Hr(s.ownerDocument.documentElement, s)) {if (c !== null && Wr(s)) {@@ -6511,18 +6511,18 @@ var _ = /* @__PURE__ */ o(((e) => {b.element.scrollLeft = b.left, b.element.scrollTop = b.top;}}- Th = !!gp, _p = gp = null;+ wh = !!hp, gp = hp = null;} finally {td = a, he.p = i, me.T = r;}}- e.current = t, Td = 2;+ e.current = t, wd = 2;}}- function mf() {- if (Td === 2) {- Td = 0;- var e = Ed, t = Dd, n = !!(t.flags & 8772);+ function pf() {+ if (wd === 2) {+ wd = 0;+ var e = Td, t = Ed, n = !!(t.flags & 8772);if (t.subtreeFlags & 8772 || n) {n = me.T, me.T = null;var r = he.p;@@ -6535,16 +6535,16 @@ var _ = /* @__PURE__ */ o(((e) => {td = i, he.p = r, me.T = n;}}- Td = 3;+ wd = 3;}}- function hf() {- if (Td === 4 || Td === 3) {- Td = 0;- var e = Md;- Md = null, Ve();- var t = Ed, n = Dd, r = Od, i = jd, a = (r & 335544064) === r ? 10262 : 10256;- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Td = 5 : (Td = 0, Dd = Ed = null, gf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (wd = null), bt(r), n = n.stateNode, Qe && typeof Qe.onCommitFiberRoot == "function") try {+ function mf() {+ if (wd === 4 || wd === 3) {+ wd = 0;+ var e = jd;+ jd = null, Ve();+ var t = Td, n = Ed, r = Dd, i = Ad, a = (r & 335544064) === r ? 10262 : 10256;+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? wd = 5 : (wd = 0, Ed = Td = null, hf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Cd = null), bt(r), n = n.stateNode, Qe && typeof Qe.onCommitFiberRoot == "function") try {Qe.onCommitFiberRoot(Ze, n, void 0, (n.current.flags & 128) == 128);} catch {}if (i !== null) {@@ -6558,75 +6558,75 @@ var _ = /* @__PURE__ */ o(((e) => {me.T = n, he.p = a;}}- if (i = Nd, o = Pd, Pd = null, i !== null && (Nd = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);- Od & 3 && _f(), Nf(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Id ? Fd++ : (Fd = 0, Id = t) : (Fd = 0, Id = null), Pf(0, !1);+ if (i = Md, o = Nd, Nd = null, i !== null && (Md = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);+ Dd & 3 && gf(), Mf(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Fd ? Pd++ : (Pd = 0, Fd = t) : (Pd = 0, Fd = null), Nf(0, !1);}}- function gf(e, t) {+ function hf(e, t) {(e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Aa(t)));}- function _f() {- return Md !== null && (Md.skipTransition(), Md = null), pf(), mf(), hf(), vf();+ function gf() {+ return jd !== null && (jd.skipTransition(), jd = null), ff(), pf(), mf(), _f();}- function vf() {- if (Td !== 5) return !1;- var e = Ed, t = kd;- kd = 0;- var n = bt(Od), r = me.T, a = he.p;+ function _f() {+ if (wd !== 5) return !1;+ var e = Td, t = Od;+ Od = 0;+ var n = bt(Dd), r = me.T, a = he.p;try {- he.p = 32 > n ? 32 : n, me.T = null, n = Ad, Ad = null;- var o = Ed, s = Od;- if (Td = 0, Dd = Ed = null, Od = 0, td & 6) throw Error(i(331));+ he.p = 32 > n ? 32 : n, me.T = null, n = kd, kd = null;+ var o = Td, s = Dd;+ if (wd = 0, Ed = Td = null, Dd = 0, td & 6) throw Error(i(331));var c = td;- if (td |= 4, Xu(o.current), Hu(o, o.current, s, n), td = c, Pf(0, !1), Qe && typeof Qe.onPostCommitFiberRoot == "function") try {+ if (td |= 4, Xu(o.current), Hu(o, o.current, s, n), td = c, Nf(0, !1), Qe && typeof Qe.onPostCommitFiberRoot == "function") try {Qe.onPostCommitFiberRoot(Ze, o);} catch {}return !0;} finally {- he.p = a, me.T = r, gf(e, t);+ he.p = a, me.T = r, hf(e, t);}}- function yf(e, t, n) {- t = Ri(n, t), t = Oc(e.stateNode, t, 2), e = ho(e, t, 2), e !== null && (mt(e, 2), Nf(e));+ function vf(e, t, n) {+ t = Ri(n, t), t = Oc(e.stateNode, t, 2), e = ho(e, t, 2), e !== null && (mt(e, 2), Mf(e));}- function bf(e, t, n) {- if (e.tag === 3) yf(e, e, n);+ function yf(e, t, n) {+ if (e.tag === 3) vf(e, e, n);else for (; t !== null;) {if (t.tag === 3) {- yf(t, e, n);+ vf(t, e, n);break;}if (t.tag === 1) {var r = t.stateNode;- if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (wd === null || !wd.has(r))) {- e = Ri(n, e), n = kc(2), r = ho(t, n, 2), r !== null && (Ac(n, r, t, e), mt(r, 2), Nf(r));+ if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (Cd === null || !Cd.has(r))) {+ e = Ri(n, e), n = kc(2), r = ho(t, n, 2), r !== null && (Ac(n, r, t, e), mt(r, 2), Mf(r));break;}}t = t.return;}}- function xf(e, t, n) {+ function bf(e, t, n) {var r = e.pingCache;if (r === null) {r = e.pingCache = new ed();var i = /* @__PURE__ */ new Set();r.set(t, i);} else i = r.get(t), i === void 0 && (i = /* @__PURE__ */ new Set(), r.set(t, i));- i.has(n) || (ld = !0, i.add(n), e = Sf.bind(null, e, t, n), t.then(e, e));+ i.has(n) || (ld = !0, i.add(n), e = xf.bind(null, e, t, n), t.then(e, e));}- function Sf(e, t, n) {+ function xf(e, t, n) {var r = e.pingCache;- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, nd === e && (id & n) === n && (dd === 4 || dd === 3 && (id & 62914560) === id && 300 > He() - bd ? td & 2 ? md |= n : qd(e, 0) : md |= n, gd === id && (gd = 0)), Nf(e);+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, nd === e && (id & n) === n && (dd === 4 || dd === 3 && (id & 62914560) === id && 300 > He() - yd ? td & 2 ? pd |= n : Kd(e, 0) : pd |= n, hd === id && (hd = 0)), Mf(e);}- function Cf(e, t) {- t === 0 && (t = ft()), e = Ci(e, t), e !== null && (mt(e, t), Nf(e));+ function Sf(e, t) {+ t === 0 && (t = ft()), e = Ci(e, t), e !== null && (mt(e, t), Mf(e));}- function wf(e) {+ function Cf(e) {var t = e.memoizedState, n = 0;- t !== null && (n = t.retryLane), Cf(e, n);+ t !== null && (n = t.retryLane), Sf(e, n);}- function Tf(e, t) {+ function wf(e, t) {var n = 0;switch (e.tag) {case 31:@@ -6642,20 +6642,20 @@ var _ = /* @__PURE__ */ o(((e) => {break;default: throw Error(i(314));}- r !== null && r.delete(t), Cf(e, n);+ r !== null && r.delete(t), Sf(e, n);}- function Ef(e, t) {+ function Tf(e, t) {return Re(e, t);}- var Df = null, Of = null, kf = !1, Af = !1, jf = !1, Mf = 0;- function Nf(e) {- e !== Of && e.next === null && (Of === null ? Df = Of = e : Of = Of.next = e), Af = !0, kf || (kf = !0, Bf());+ var Ef = null, Df = null, Of = !1, kf = !1, Af = !1, jf = 0;+ function Mf(e) {+ e !== Df && e.next === null && (Df === null ? Ef = Df = e : Df = Df.next = e), kf = !0, Of || (Of = !0, zf());}- function Pf(e, t) {- if (!jf && Af) {- jf = !0;+ function Nf(e, t) {+ if (!Af && kf) {+ Af = !0;do- for (var n = !1, r = Df; r !== null;) {+ for (var n = !1, r = Ef; r !== null;) {if (!t) {if (e !== 0) {var i = r.pendingLanes;@@ -6664,29 +6664,29 @@ var _ = /* @__PURE__ */ o(((e) => {var o = r.suspendedLanes, s = r.pingedLanes;a = (1 << 31 - et(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;}- a !== 0 && (n = !0, zf(r, a));- } else a = id, a = ct(r, r === nd ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || lt(r, a) || (n = !0, zf(r, a));+ a !== 0 && (n = !0, Rf(r, a));+ } else a = id, a = ct(r, r === nd ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || lt(r, a) || (n = !0, Rf(r, a));}r = r.next;}while (n);- jf = !1;+ Af = !1;}}- function Ff() {- If();+ function Pf() {+ Ff();}- function If() {- Af = kf = !1;+ function Ff() {+ kf = Of = !1;var e = 0;- Mf !== 0 && wp() && (e = Mf);- for (var t = He(), n = null, r = Df; r !== null;) {- var i = r.next, a = Lf(r, t);- a === 0 ? (r.next = null, n === null ? Df = i : n.next = i, i === null && (Of = n)) : (n = r, (e !== 0 || a & 3) && (Af = !0)), r = i;+ jf !== 0 && Cp() && (e = jf);+ for (var t = He(), n = null, r = Ef; r !== null;) {+ var i = r.next, a = If(r, t);+ a === 0 ? (r.next = null, n === null ? Ef = i : n.next = i, i === null && (Df = n)) : (n = r, (e !== 0 || a & 3) && (kf = !0)), r = i;}- Td !== 0 && Td !== 5 || Pf(e, !1), Mf !== 0 && (Mf = 0);+ wd !== 0 && wd !== 5 || Nf(e, !1), jf !== 0 && (jf = 0);}- function Lf(e, t) {+ function If(e, t) {for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {var o = 31 - et(a), s = 1 << o, c = i[o];c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = dt(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;@@ -6707,40 +6707,40 @@ var _ = /* @__PURE__ */ o(((e) => {break;default: n = Ke;}- return r = Rf.bind(null, e), n = Re(n, r), e.callbackPriority = t, e.callbackNode = n, t;+ return r = Lf.bind(null, e), n = Re(n, r), e.callbackPriority = t, e.callbackNode = n, t;}return r !== null && r !== null && ze(r), e.callbackPriority = 2, e.callbackNode = null, 2;}- function Rf(e, t) {- if (Td !== 0 && Td !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;+ function Lf(e, t) {+ if (wd !== 0 && wd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;var n = e.callbackNode;- if (_f() && e.callbackNode !== n) return null;+ if (gf() && e.callbackNode !== n) return null;var r = id;- return r = ct(e, e === nd ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Vd(e, r, t), Lf(e, He()), e.callbackNode != null && e.callbackNode === n ? Rf.bind(null, e) : null);+ return r = ct(e, e === nd ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Bd(e, r, t), If(e, He()), e.callbackNode != null && e.callbackNode === n ? Lf.bind(null, e) : null);}- function zf(e, t) {- if (_f()) return null;- Vd(e, t, !0);+ function Rf(e, t) {+ if (gf()) return null;+ Bd(e, t, !0);}- function Bf() {- kp(function() {- td & 6 ? Re(We, Ff) : If();+ function zf() {+ Op(function() {+ td & 6 ? Re(We, Pf) : Ff();});}- function Vf() {- if (Mf === 0) {+ function Bf() {+ if (jf === 0) {var e = Ia;- e === 0 && (e = it, it <<= 1, !(it & 261888) && (it = 256)), Mf = e;+ e === 0 && (e = it, it <<= 1, !(it & 261888) && (it = 256)), jf = e;}- return Mf;+ return jf;}- function Hf(e) {+ function Vf(e) {return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : gn(e);}- function Uf(e, t, n, r, i) {+ function Hf(e, t, n, r, i) {if (t === "submit" && n && n.stateNode === i) {- var a = Hf((i[Tt] || null).action), o = r.submitter;- o && (t = (t = o[Tt] || null) ? Hf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));+ var a = Vf((i[Tt] || null).action), o = r.submitter;+ o && (t = (t = o[Tt] || null) ? Vf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));var s = new In("action", "action", null, r, i);e.push({event: s,@@ -6748,7 +6748,7 @@ var _ = /* @__PURE__ */ o(((e) => {instance: null,listener: function() {if (r.defaultPrevented) {- if (Mf !== 0) {+ if (jf !== 0) {var e = new FormData(i, o);ec(n, {pending: !0,@@ -6769,9 +6769,9 @@ var _ = /* @__PURE__ */ o(((e) => {});}}- for (var Wf = 0; Wf < ui.length; Wf++) {- var Gf = ui[Wf];- di(Gf.toLowerCase(), "on" + (Gf[0].toUpperCase() + Gf.slice(1)));+ for (var Uf = 0; Uf < ui.length; Uf++) {+ var Wf = ui[Uf];+ di(Wf.toLowerCase(), "on" + (Wf[0].toUpperCase() + Wf.slice(1)));}di(ni, "onAnimationEnd"), di(ri, "onAnimationIteration"), di(ii, "onAnimationStart"), di("dblclick", "onDoubleClick"), di("focusin", "onFocus"), di("focusout", "onBlur"), di(ai, "onTransitionRun"), di(oi, "onTransitionStart"), di(si, "onTransitionCancel"), di(ci, "onTransitionEnd"), Ut("onMouseEnter", ["mouseout", "mouseover"]), Ut("onMouseLeave", ["mouseout", "mouseover"]), Ut("onPointerEnter", ["pointerout", "pointerover"]), Ut("onPointerLeave", ["pointerout", "pointerover"]), Ht("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Ht("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Ht("onBeforeInput", ["compositionend",@@ -6779,8 +6779,8 @@ var _ = /* @__PURE__ */ o(((e) => {"textInput","paste"]), Ht("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Ht("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Ht("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));- var Kf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), qf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Kf));- function Jf(e, t) {+ var Gf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Kf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Gf));+ function qf(e, t) {t = !!(t & 4);for (var n = 0; n < e.length; n++) {var r = e[n], i = r.event;@@ -6811,42 +6811,42 @@ var _ = /* @__PURE__ */ o(((e) => {}}}- function Yf(e, t) {+ function Jf(e, t) {var n = t[Dt];n === void 0 && (n = t[Dt] = /* @__PURE__ */ new Set());var r = e + "__bubble";- n.has(r) || ($f(t, e, 2, !1), n.add(r));+ n.has(r) || (Qf(t, e, 2, !1), n.add(r));}- function Xf(e, t, n) {+ function Yf(e, t, n) {var r = 0;- t && (r |= 4), $f(n, e, r, t);+ t && (r |= 4), Qf(n, e, r, t);}- var Zf = "_reactListening" + Math.random().toString(36).slice(2);- function Qf(e) {- if (!e[Zf]) {- e[Zf] = !0, Bt.forEach(function(t) {- t !== "selectionchange" && (qf.has(t) || Xf(t, !1, e), Xf(t, !0, e));+ var Xf = "_reactListening" + Math.random().toString(36).slice(2);+ function Zf(e) {+ if (!e[Xf]) {+ e[Xf] = !0, Bt.forEach(function(t) {+ t !== "selectionchange" && (Kf.has(t) || Yf(t, !1, e), Yf(t, !0, e));});var t = e.nodeType === 9 ? e : e.ownerDocument;- t === null || t[Zf] || (t[Zf] = !0, Xf("selectionchange", !1, t));+ t === null || t[Xf] || (t[Xf] = !0, Yf("selectionchange", !1, t));}}- function $f(e, t, n, r) {- switch (Mh(t)) {+ function Qf(e, t, n, r) {+ switch (jh(t)) {case 2:- var i = Eh;+ var i = Th;break;case 8:- i = Dh;+ i = Eh;break;- default: i = Oh;+ default: i = Dh;}n = i.bind(null, t, n, e), i = void 0, !Dn || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {capture: !0,passive: i}) : i === void 0 ? e.addEventListener(t, n, !1) : e.addEventListener(t, n, { passive: i });}- function ep(e, t, n, r, i) {+ function $f(e, t, n, r, i) {var a = r;if (!(t & 1) && !(t & 2) && r !== null) a: for (;;) {if (r === null) return;@@ -6959,7 +6959,7 @@ var _ = /* @__PURE__ */ o(((e) => {d = [];for (var m = r, h; m !== null;) {var g = m;- if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = Tn(m, p), g != null && d.push(tp(m, g, h))), f) break;+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = Tn(m, p), g != null && d.push(ep(m, g, h))), f) break;m = m.return;}0 < d.length && (c = new l(c, u, null, n, i), s.push({@@ -6971,7 +6971,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (!(t & 7)) {a: {if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== vn && (u = n.relatedTarget || n.fromElement) && (Pt(u) || u[Et])) break a;- (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? Pt(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Hn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = er, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : It(c), h = l == null ? u : It(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Pt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? E(c, l, rp) : null, c !== null && ip(s, u, c, d, !1), l !== null && f !== null && ip(s, f, l, d, !0)));+ (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? Pt(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Hn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = er, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : It(c), h = l == null ? u : It(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Pt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? E(c, l, np) : null, c !== null && rp(s, u, c, d, !1), l !== null && f !== null && rp(s, f, l, d, !0)));}a: {if (c = r ? It(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Tr;@@ -7023,58 +7023,58 @@ var _ = /* @__PURE__ */ o(((e) => {b = void 0;}else hr ? pr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");- b && (ur && n.locale !== "ko" && (hr || b !== "onCompositionStart" ? b === "onCompositionEnd" && hr && (y = H()) : (kn = i, An = "value" in kn ? kn.value : kn.textContent, hr = !0)), v = np(r, b), 0 < v.length && (b = new qn(b, e, null, n, i), s.push({+ b && (ur && n.locale !== "ko" && (hr || b !== "onCompositionStart" ? b === "onCompositionEnd" && hr && (y = H()) : (kn = i, An = "value" in kn ? kn.value : kn.textContent, hr = !0)), v = tp(r, b), 0 < v.length && (b = new qn(b, e, null, n, i), s.push({event: b,listeners: v- }), y ? b.data = y : (y = mr(n), y !== null && (b.data = y)))), (y = lr ? gr(e, n) : _r(e, n)) && (b = np(r, "onBeforeInput"), 0 < b.length && (v = new qn("onBeforeInput", "beforeinput", null, n, i), s.push({+ }), y ? b.data = y : (y = mr(n), y !== null && (b.data = y)))), (y = lr ? gr(e, n) : _r(e, n)) && (b = tp(r, "onBeforeInput"), 0 < b.length && (v = new qn("onBeforeInput", "beforeinput", null, n, i), s.push({event: v,listeners: b- }), v.data = y)), Uf(s, e, r, n, i);+ }), v.data = y)), Hf(s, e, r, n, i);}- Jf(s, t);+ qf(s, t);});}- function tp(e, t, n) {+ function ep(e, t, n) {return {instance: e,listener: t,currentTarget: n};}- function np(e, t) {+ function tp(e, t) {for (var n = t + "Capture", r = []; e !== null;) {var i = e, a = i.stateNode;- if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = Tn(e, n), i != null && r.unshift(tp(e, i, a)), i = Tn(e, t), i != null && r.push(tp(e, i, a))), e.tag === 3) return r;+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = Tn(e, n), i != null && r.unshift(ep(e, i, a)), i = Tn(e, t), i != null && r.push(ep(e, i, a))), e.tag === 3) return r;e = e.return;}return [];}- function rp(e) {+ function np(e) {if (e === null) return null;doe = e.return;while (e && e.tag !== 5 && e.tag !== 27);return e || null;}- function ip(e, t, n, r, i) {+ function rp(e, t, n, r, i) {for (var a = t._reactName, o = []; n !== null && n !== r;) {var s = n, c = s.alternate, l = s.stateNode;if (s = s.tag, c !== null && c === r) break;- s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = Tn(n, a), l != null && o.unshift(tp(n, l, c))) : i || (l = Tn(n, a), l != null && o.push(tp(n, l, c)))), n = n.return;+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = Tn(n, a), l != null && o.unshift(ep(n, l, c))) : i || (l = Tn(n, a), l != null && o.push(ep(n, l, c)))), n = n.return;}o.length !== 0 && e.push({event: t,listeners: o});}- var ap = /\r\n?/g, op = /\u0000|\uFFFD/g;- function sp(e) {- return (typeof e == "string" ? e : "" + e).replace(ap, "\n").replace(op, "");+ var ip = /\r\n?/g, ap = /\u0000|\uFFFD/g;+ function op(e) {+ return (typeof e == "string" ? e : "" + e).replace(ip, "\n").replace(ap, "");}- function cp(e, t) {- return t = sp(t), sp(e) === t;+ function sp(e, t) {+ return t = op(t), op(e) === t;}- function lp(e, t, n, r, a, o) {+ function cp(e, t, n, r, a, o) {switch (n) {case "children":if (typeof r == "string") t === "body" || t === "textarea" && r === "" || ln(e, r);@@ -7115,7 +7115,7 @@ var _ = /* @__PURE__ */ o(((e) => {e.setAttribute(n, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break;}- if (typeof o == "function" && (n === "formAction" ? (t !== "input" && lp(e, t, "name", a.name, a, null), lp(e, t, "formEncType", a.formEncType, a, null), lp(e, t, "formMethod", a.formMethod, a, null), lp(e, t, "formTarget", a.formTarget, a, null)) : (lp(e, t, "encType", a.encType, a, null), lp(e, t, "method", a.method, a, null), lp(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {+ if (typeof o == "function" && (n === "formAction" ? (t !== "input" && cp(e, t, "name", a.name, a, null), cp(e, t, "formEncType", a.formEncType, a, null), cp(e, t, "formMethod", a.formMethod, a, null), cp(e, t, "formTarget", a.formTarget, a, null)) : (cp(e, t, "encType", a.encType, a, null), cp(e, t, "method", a.method, a, null), cp(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {e.removeAttribute(n);break;}@@ -7125,10 +7125,10 @@ var _ = /* @__PURE__ */ o(((e) => {r != null && (e.onclick = _n);return;case "onScroll":- r != null && Yf("scroll", e);+ r != null && Jf("scroll", e);return;case "onScrollEnd":- r != null && Yf("scrollend", e);+ r != null && Jf("scrollend", e);return;case "dangerouslySetInnerHTML":if (r != null) {@@ -7210,7 +7210,7 @@ var _ = /* @__PURE__ */ o(((e) => {r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);break;case "popover":- Yf("beforetoggle", e), Yf("toggle", e), qt(e, "popover", r);+ Jf("beforetoggle", e), Jf("toggle", e), qt(e, "popover", r);break;case "xlinkActuate":Yt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);@@ -7249,7 +7249,7 @@ var _ = /* @__PURE__ */ o(((e) => {}z = !0;}- function up(e, t, n, r, a, o) {+ function lp(e, t, n, r, a, o) {switch (n) {case "style":fn(e, r, o);@@ -7269,10 +7269,10 @@ var _ = /* @__PURE__ */ o(((e) => {else return;break;case "onScroll":- r != null && Yf("scroll", e);+ r != null && Jf("scroll", e);return;case "onScrollEnd":- r != null && Yf("scrollend", e);+ r != null && Jf("scrollend", e);return;case "onClick":r != null && (e.onclick = _n);@@ -7295,7 +7295,7 @@ var _ = /* @__PURE__ */ o(((e) => {}z = !0;}- function dp(e, t, n) {+ function up(e, t, n) {switch (t) {case "div":case "span":@@ -7306,7 +7306,7 @@ var _ = /* @__PURE__ */ o(((e) => {case "p":case "li": break;case "img":- Yf("error", e), Yf("load", e);+ Jf("error", e), Jf("load", e);var r = !1, a = !1, o;for (o in n) if (n.hasOwnProperty(o)) {var s = n[o];@@ -7319,13 +7319,13 @@ var _ = /* @__PURE__ */ o(((e) => {break;case "children":case "dangerouslySetInnerHTML": throw Error(i(137, t));- default: lp(e, t, o, s, n, null);+ default: cp(e, t, o, s, n, null);}}- a && lp(e, t, "srcSet", n.srcSet, n, null), r && lp(e, t, "src", n.src, n, null);+ a && cp(e, t, "srcSet", n.srcSet, n, null), r && cp(e, t, "src", n.src, n, null);return;case "input":- Yf("invalid", e);+ Jf("invalid", e);var c = o = s = a = null, l = null, u = null;for (r in n) if (n.hasOwnProperty(r)) {var d = n[r];@@ -7352,13 +7352,13 @@ var _ = /* @__PURE__ */ o(((e) => {case "dangerouslySetInnerHTML":if (d != null) throw Error(i(137, t));break;- default: lp(e, t, r, d, n, null);+ default: cp(e, t, r, d, n, null);}}rn(e, o, c, l, u, s, a, !1);return;case "select":- for (a in Yf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {+ for (a in Jf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {case "value":o = c;break;@@ -7366,12 +7366,12 @@ var _ = /* @__PURE__ */ o(((e) => {s = c;break;case "multiple": r = c;- default: lp(e, t, a, c, n, null);+ default: cp(e, t, a, c, n, null);}t = o, n = s, e.multiple = !!r, t == null ? n != null && on(e, !!r, n, !0) : on(e, !!r, t, !1);return;case "textarea":- for (s in Yf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {+ for (s in Jf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {case "value":r = c;break;@@ -7384,7 +7384,7 @@ var _ = /* @__PURE__ */ o(((e) => {case "dangerouslySetInnerHTML":if (c != null) throw Error(i(91));break;- default: lp(e, t, s, c, n, null);+ default: cp(e, t, s, c, n, null);}cn(e, r, a, o);return;@@ -7393,29 +7393,29 @@ var _ = /* @__PURE__ */ o(((e) => {case "selected":e.selected = r && typeof r != "function" && typeof r != "symbol";break;- default: lp(e, t, l, r, n, null);+ default: cp(e, t, l, r, n, null);}return;case "dialog":- Yf("beforetoggle", e), Yf("toggle", e), Yf("cancel", e), Yf("close", e);+ Jf("beforetoggle", e), Jf("toggle", e), Jf("cancel", e), Jf("close", e);break;case "iframe":case "object":- Yf("load", e);+ Jf("load", e);break;case "video":case "audio":- for (r = 0; r < Kf.length; r++) Yf(Kf[r], e);+ for (r = 0; r < Gf.length; r++) Jf(Gf[r], e);break;case "image":- Yf("error", e), Yf("load", e);+ Jf("error", e), Jf("load", e);break;case "details":- Yf("toggle", e);+ Jf("toggle", e);break;case "embed":case "source":- case "link": Yf("error", e), Yf("load", e);+ case "link": Jf("error", e), Jf("load", e);case "area":case "base":case "br":@@ -7430,18 +7430,18 @@ var _ = /* @__PURE__ */ o(((e) => {for (u in n) if (n.hasOwnProperty(u) && (r = n[u], r != null)) switch (u) {case "children":case "dangerouslySetInnerHTML": throw Error(i(137, t));- default: lp(e, t, u, r, n, null);+ default: cp(e, t, u, r, n, null);}return;default: if (pn(t)) {- for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && up(e, t, d, r, n, void 0));+ for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && lp(e, t, d, r, n, void 0));return;}}- for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && lp(e, t, c, r, n, null));+ for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && cp(e, t, c, r, n, null));}- var fp = {};- function pp(e, t, n, r) {+ var dp = {};+ function fp(e, t, n, r) {switch (t) {case "div":case "span":@@ -7459,7 +7459,7 @@ var _ = /* @__PURE__ */ o(((e) => {case "checked": break;case "value": break;case "defaultValue": l = f;- default: r.hasOwnProperty(m) || lp(e, t, m, null, r, f);+ default: r.hasOwnProperty(m) || cp(e, t, m, null, r, f);}}for (var p in r) {@@ -7487,7 +7487,7 @@ var _ = /* @__PURE__ */ o(((e) => {case "dangerouslySetInnerHTML":if (m != null) throw Error(i(137, t));break;- default: m !== f && lp(e, t, p, m, r, f);+ default: m !== f && cp(e, t, p, m, r, f);}}nn(e, s, c, l, u, d, o, a);@@ -7496,7 +7496,7 @@ var _ = /* @__PURE__ */ o(((e) => {for (o in m = s = c = p = null, n) if (l = n[o], n.hasOwnProperty(o) && l != null) switch (o) {case "value": break;case "multiple": m = l;- default: r.hasOwnProperty(o) || lp(e, t, o, null, r, l);+ default: r.hasOwnProperty(o) || cp(e, t, o, null, r, l);}for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {case "value":@@ -7506,7 +7506,7 @@ var _ = /* @__PURE__ */ o(((e) => {o !== l && (z = !0), c = o;break;case "multiple": o !== l && (z = !0), s = o;- default: o !== l && lp(e, t, a, o, r, l);+ default: o !== l && cp(e, t, a, o, r, l);}t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? on(e, !!n, n ? [] : "", !1) : on(e, !!n, t, !0)) : on(e, !!n, p, !1);return;@@ -7514,7 +7514,7 @@ var _ = /* @__PURE__ */ o(((e) => {for (c in m = p = null, n) if (a = n[c], n.hasOwnProperty(c) && a != null && !r.hasOwnProperty(c)) switch (c) {case "value": break;case "children": break;- default: lp(e, t, c, null, r, a);+ default: cp(e, t, c, null, r, a);}for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {case "value":@@ -7527,7 +7527,7 @@ var _ = /* @__PURE__ */ o(((e) => {case "dangerouslySetInnerHTML":if (a != null) throw Error(i(91));break;- default: a !== o && lp(e, t, s, a, r, o);+ default: a !== o && cp(e, t, s, a, r, o);}sn(e, p, m);return;@@ -7536,13 +7536,13 @@ var _ = /* @__PURE__ */ o(((e) => {case "selected":e.selected = !1;break;- default: lp(e, t, h, null, r, p);+ default: cp(e, t, h, null, r, p);}for (l in r) if (p = r[l], m = n[l], r.hasOwnProperty(l) && p !== m && (p != null || m != null)) switch (l) {case "selected":p !== m && (z = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";break;- default: lp(e, t, l, p, r, m);+ default: cp(e, t, l, p, r, m);}return;case "img":@@ -7560,25 +7560,25 @@ var _ = /* @__PURE__ */ o(((e) => {case "track":case "wbr":case "menuitem":- for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && lp(e, t, g, null, r, p);+ for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && cp(e, t, g, null, r, p);for (u in r) if (p = r[u], m = n[u], r.hasOwnProperty(u) && p !== m && (p != null || m != null)) switch (u) {case "children":case "dangerouslySetInnerHTML":if (p != null) throw Error(i(137, t));break;- default: lp(e, t, u, p, r, m);+ default: cp(e, t, u, p, r, m);}return;default: if (pn(t)) {- for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && up(e, t, _, void 0, r, p);- for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || up(e, t, d, p, r, m);+ for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && lp(e, t, _, void 0, r, p);+ for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || lp(e, t, d, p, r, m);return;}}- for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && lp(e, t, v, null, r, p);- for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || lp(e, t, f, p, r, m);+ for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && cp(e, t, v, null, r, p);+ for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || cp(e, t, f, p, r, m);}- function mp(e) {+ function pp(e) {switch (e) {case "css":case "script":@@ -7590,16 +7590,16 @@ var _ = /* @__PURE__ */ o(((e) => {default: return !1;}}- function hp() {+ function mp() {if (typeof performance.getEntriesByType == "function") {for (var e = 0, t = 0, n = performance.getEntriesByType("resource"), r = 0; r < n.length; r++) {var i = n[r], a = i.transferSize, o = i.initiatorType, s = i.duration;- if (a && s && mp(o)) {+ if (a && s && pp(o)) {for (o = 0, s = i.responseEnd, r += 1; r < n.length; r++) {var c = n[r], l = c.startTime;if (l > s) break;var u = c.transferSize, d = c.initiatorType;- u && mp(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));+ u && pp(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));}if (--r, t += 8 * (a + o) / (i.duration / 1e3), e++, 10 < e) break;}@@ -7608,18 +7608,18 @@ var _ = /* @__PURE__ */ o(((e) => {}return navigator.connection && (e = navigator.connection.downlink, typeof e == "number") ? e : 5;}- var gp = null, _p = null;- function vp(e) {+ var hp = null, gp = null;+ function _p(e) {return e.nodeType === 9 ? e : e.ownerDocument;}- function yp(e) {+ function vp(e) {switch (e) {case "http://www.w3.org/2000/svg": return 1;case "http://www.w3.org/1998/Math/MathML": return 2;default: return 0;}}- function bp(e, t) {+ function yp(e, t) {if (e === 0) switch (t) {case "svg": return 1;case "math": return 2;@@ -7627,54 +7627,54 @@ var _ = /* @__PURE__ */ o(((e) => {}return e === 1 && t === "foreignObject" ? 0 : e;}- function xp(e, t, n, r) {- return n = vp(n).createElement(e), n[wt] = r, n[Tt] = t, dp(n, e, t), Rt(n), n;+ function bp(e, t, n, r) {+ return n = _p(n).createElement(e), n[wt] = r, n[Tt] = t, up(n, e, t), Rt(n), n;}- function Sp(e, t) {+ function xp(e, t) {return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.children == "bigint" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;}- var Cp = null;- function wp() {+ var Sp = null;+ function Cp() {var e = window.event;- return e && e.type === "popstate" ? e !== Cp && (Cp = e, !0) : (Cp = null, !1);+ return e && e.type === "popstate" ? e !== Sp && (Sp = e, !0) : (Sp = null, !1);}- var Tp = typeof setTimeout == "function" ? setTimeout : void 0, Ep = typeof clearTimeout == "function" ? clearTimeout : void 0, Dp = typeof Promise == "function" ? Promise : void 0, Op = typeof requestAnimationFrame == "function" ? requestAnimationFrame : Tp, kp = typeof queueMicrotask == "function" ? queueMicrotask : Dp === void 0 ? Tp : function(e) {- return Dp.resolve(null).then(e).catch(Ap);+ var wp = typeof setTimeout == "function" ? setTimeout : void 0, Tp = typeof clearTimeout == "function" ? clearTimeout : void 0, Ep = typeof Promise == "function" ? Promise : void 0, Dp = typeof requestAnimationFrame == "function" ? requestAnimationFrame : wp, Op = typeof queueMicrotask == "function" ? queueMicrotask : Ep === void 0 ? wp : function(e) {+ return Ep.resolve(null).then(e).catch(kp);};- function Ap(e) {+ function kp(e) {setTimeout(function() {throw e;});}- function jp(e) {+ function Ap(e) {return e === "head";}- function Mp(e, t) {+ function jp(e, t) {var n = t, r = 0;do {var i = n.nextSibling;if (e.removeChild(n), i && i.nodeType === 8) {if (n = i.data, n === "/$" || n === "/&") {if (r === 0) {- e.removeChild(i), Zh(t);+ e.removeChild(i), Xh(t);return;}r--;} else if (n === "$" || n === "$?" || n === "$~" || n === "$!" || n === "&") r++;- else if (n === "html") Em(e.ownerDocument.documentElement);+ else if (n === "html") Tm(e.ownerDocument.documentElement);else if (n === "head") {- n = e.ownerDocument.head, Em(n);+ n = e.ownerDocument.head, Tm(n);for (var a = n.firstChild; a;) {var o = a.nextSibling, s = a.nodeName;a[jt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;}- } else n === "body" && Em(e.ownerDocument.body);+ } else n === "body" && Tm(e.ownerDocument.body);}n = i;} while (n);- Zh(t);+ Xh(t);}- function Np(e, t) {+ function Mp(e, t) {var n = e;e = 0;do {@@ -7688,7 +7688,7 @@ var _ = /* @__PURE__ */ o(((e) => {n = r;} while (n);}- function Pp(e, t, n) {+ function Np(e, t, n) {if (t = CSS.escape(t) === t ? t : "r-" + btoa(t).replace(/=/g, ""), e.style.viewTransitionName = t, n != null && (e.style.viewTransitionClass = n), n = getComputedStyle(e), n.display === "inline") {if (t = e.getClientRects(), t.length === 1) var r = 1;else for (var i = r = 0; i < t.length; i++) {@@ -7698,12 +7698,12 @@ var _ = /* @__PURE__ */ o(((e) => {r === 1 && (e = e.style, e.display = t.length === 1 ? "inline-block" : "block", e.marginTop = "-" + n.paddingTop, e.marginBottom = "-" + n.paddingBottom);}}- function Fp(e, t) {+ function Pp(e, t) {e = e.style, t = t.style;var n = t == null ? null : t.hasOwnProperty("viewTransitionName") ? t.viewTransitionName : t.hasOwnProperty("view-transition-name") ? t["view-transition-name"] : null;e.viewTransitionName = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), n = t == null ? null : t.hasOwnProperty("viewTransitionClass") ? t.viewTransitionClass : t.hasOwnProperty("view-transition-class") ? t["view-transition-class"] : null, e.viewTransitionClass = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), e.display === "inline-block" && (t == null ? e.display = e.margin = "" : (n = t.display, e.display = n == null || typeof n == "boolean" ? "" : n, n = t.margin, n == null ? (n = t.hasOwnProperty("marginTop") ? t.marginTop : t["margin-top"], e.marginTop = n == null || typeof n == "boolean" ? "" : n, t = t.hasOwnProperty("marginBottom") ? t.marginBottom : t["margin-bottom"], e.marginBottom = t == null || typeof t == "boolean" ? "" : t) : e.margin = n));}- function Ip(e, t, n) {+ function Fp(e, t, n) {return n = n.ownerDocument.defaultView, {rect: e,abs: t.position === "absolute" || t.position === "fixed",@@ -7711,22 +7711,22 @@ var _ = /* @__PURE__ */ o(((e) => {view: 0 <= e.bottom && 0 <= e.right && e.top <= n.innerHeight && e.left <= n.innerWidth};}- function Lp(e) {- return Ip(e.getBoundingClientRect(), getComputedStyle(e), e);+ function Ip(e) {+ return Fp(e.getBoundingClientRect(), getComputedStyle(e), e);}- function Rp(e) {+ function Lp(e) {var t = e.getBoundingClientRect();t = new DOMRect(t.x + 2e4, t.y + 2e4, t.width, t.height);var n = getComputedStyle(e);- return Ip(t, n, e);+ return Fp(t, n, e);}- function zp(e) {+ function Rp(e) {return e.documentElement.clientHeight;}- function Bp(e) {+ function zp(e) {this.addEventListener("load", e), this.addEventListener("error", e);}- function Vp(e, t, n, r, i, a, o, s, c) {+ function Bp(e, t, n, r, i, a, o, s, c) {var l = t.nodeType === 9 ? t : t.ownerDocument;try {var u = l.startViewTransition({@@ -7734,16 +7734,16 @@ var _ = /* @__PURE__ */ o(((e) => {var t = l.defaultView, n = t.navigation && t.navigation.transition, o = l.fonts.status;r();var s = [];- if (o === "loaded" && (zp(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {+ if (o === "loaded" && (Rp(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {var f = c[d];if (!f.complete) {var p = f.getBoundingClientRect();if (0 < p.bottom && 0 < p.right && p.top < t.innerHeight && p.left < t.innerWidth) {- if (u += ah(f), u > ch) {+ if (u += ih(f), u > sh) {s.length = o;break;}- f = new Promise(Bp.bind(f)), s.push(f);+ f = new Promise(zp.bind(f)), s.push(f);}}}@@ -7798,86 +7798,86 @@ var _ = /* @__PURE__ */ o(((e) => {return r(), i(), o(), null;}}- function Hp(e, t) {+ function Vp(e, t) {this._scope = document.documentElement, this._selector = "::view-transition-" + e + "(" + t + ")";}- Hp.prototype.animate = function(e, t) {+ Vp.prototype.animate = function(e, t) {return t = typeof t == "number" ? { duration: t } : D({}, t), t.pseudoElement = this._selector, this._scope.animate(e, t);- }, Hp.prototype.getAnimations = function() {+ }, Vp.prototype.getAnimations = function() {for (var e = this._scope, t = this._selector, n = e.getAnimations({ subtree: !0 }), r = [], i = 0; i < n.length; i++) {var a = n[i].effect;a !== null && a.target === e && a.pseudoElement === t && r.push(n[i]);}return r;- }, Hp.prototype.getComputedStyle = function() {+ }, Vp.prototype.getComputedStyle = function() {return getComputedStyle(this._scope, this._selector);};- function Up(e) {+ function Hp(e) {return {name: e,- group: new Hp("group", e),- imagePair: new Hp("image-pair", e),- old: new Hp("old", e),- new: new Hp("new", e)+ group: new Vp("group", e),+ imagePair: new Vp("image-pair", e),+ old: new Vp("old", e),+ new: new Vp("new", e)};}- function Wp(e) {+ function Up(e) {this._fragmentFiber = e, this._observers = this._eventListeners = null;}- Wp.prototype.addEventListener = function(e, t, n) {+ Up.prototype.addEventListener = function(e, t, n) {var r = null, i = null;if (!(n != null && typeof n != "boolean" && (r = n.signal || null, r !== null && r.aborted))) {this._eventListeners === null && (this._eventListeners = []);var a = this._eventListeners;- if (Yp(a, e, t, n) === -1) {+ if (Jp(a, e, t, n) === -1) {var o = this, s = t;n != null && typeof n != "boolean" && !0 === n.once && (s = function(r) {o.removeEventListener(e, t, n), typeof t == "function" ? t.call(this, r) : t.handleEvent(r);- }), r !== null && (i = o.removeEventListener.bind(o, e, t, n), r.addEventListener("abort", i, { once: !0 }), i = r.removeEventListener.bind(r, "abort", i)), r = qp(n), a.push({+ }), r !== null && (i = o.removeEventListener.bind(o, e, t, n), r.addEventListener("abort", i, { once: !0 }), i = r.removeEventListener.bind(r, "abort", i)), r = Kp(n), a.push({type: e,listener: t,optionsOrUseCapture: n,attachedListener: s,cleanup: i- }), f(this._fragmentFiber.child, !1, Gp, e, s, r);+ }), f(this._fragmentFiber.child, !1, Wp, e, s, r);}this._eventListeners = a;}};- function Gp(e, t, n, r) {+ function Wp(e, t, n, r) {return _(e).addEventListener(t, n, r), !1;}- Wp.prototype.removeEventListener = function(e, t, n) {+ Up.prototype.removeEventListener = function(e, t, n) {var r = this._eventListeners;- if (r !== null && (t = Yp(r, e, t, n), t !== -1)) {+ if (r !== null && (t = Jp(r, e, t, n), t !== -1)) {var i = r[t];n = i.attachedListener;var a = i.cleanup;- i = qp(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, Kp, e, n, i), r.splice(t, 1), a !== null && a();+ i = Kp(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, Gp, e, n, i), r.splice(t, 1), a !== null && a();}};- function Kp(e, t, n, r) {+ function Gp(e, t, n, r) {return _(e).removeEventListener(t, n, r), !1;}- function qp(e) {+ function Kp(e) {return e != null && typeof e != "boolean" && (!0 === e.once || e.signal instanceof AbortSignal) ? {capture: e.capture,passive: e.passive} : e;}- function Jp(e) {+ function qp(e) {return e == null ? "c=0" : typeof e == "boolean" ? "c=" + (e ? "1" : "0") : "c=" + (e.capture ? "1" : "0");}- function Yp(e, t, n, r) {+ function Jp(e, t, n, r) {if (e.length === 0) return -1;- r = Jp(r);+ r = qp(r);for (var i = 0; i < e.length; i++) {var a = e[i];- if (a.type === t && a.listener === n && Jp(a.optionsOrUseCapture) === r) return i;+ if (a.type === t && a.listener === n && qp(a.optionsOrUseCapture) === r) return i;}return -1;}- Wp.prototype.dispatchEvent = function(e) {+ Up.prototype.dispatchEvent = function(e) {var t = p(this._fragmentFiber);if (t === null) return !0;t = _(t);@@ -7886,74 +7886,74 @@ var _ = /* @__PURE__ */ o(((e) => {var r = t.nodeType === 9 ? t.createComment("") : document.createTextNode("");if (n) for (var i = 0; i < n.length; i++) {var a = n[i];- r.addEventListener(a.type, a.attachedListener, qp(a.optionsOrUseCapture));+ r.addEventListener(a.type, a.attachedListener, Kp(a.optionsOrUseCapture));}- if (t.appendChild(r), e = r.dispatchEvent(e), n) for (i = 0; i < n.length; i++) a = n[i], r.removeEventListener(a.type, a.attachedListener, qp(a.optionsOrUseCapture));+ if (t.appendChild(r), e = r.dispatchEvent(e), n) for (i = 0; i < n.length; i++) a = n[i], r.removeEventListener(a.type, a.attachedListener, Kp(a.optionsOrUseCapture));return t.removeChild(r), e;}return t.dispatchEvent(e);- }, Wp.prototype.focus = function(e) {- f(this._fragmentFiber.child, !0, Xp, e, void 0, void 0);+ }, Up.prototype.focus = function(e) {+ f(this._fragmentFiber.child, !0, Yp, e, void 0, void 0);};- function Xp(e, t) {- return e.tag !== 6 && (e = _(e), Sm(e, t));+ function Yp(e, t) {+ return e.tag !== 6 && (e = _(e), xm(e, t));}- Wp.prototype.focusLast = function(e) {+ Up.prototype.focusLast = function(e) {var t = [];- f(this._fragmentFiber.child, !0, Zp, t, void 0, void 0);- for (var n = t.length - 1; 0 <= n && !Xp(t[n], e); n--);+ f(this._fragmentFiber.child, !0, Xp, t, void 0, void 0);+ for (var n = t.length - 1; 0 <= n && !Yp(t[n], e); n--);};- function Zp(e, t) {+ function Xp(e, t) {return t.push(e), !1;}- Wp.prototype.blur = function() {+ Up.prototype.blur = function() {var e = p(this._fragmentFiber);- e !== null && (e = _(e), e = vp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, Qp, e, void 0, void 0));+ e !== null && (e = _(e), e = _p(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, Zp, e, void 0, void 0));};- function Qp(e, t) {+ function Zp(e, t) {return e.tag !== 6 && (e = _(e), e === t || e.contains(t) ? (t.blur(), !0) : !1);}- Wp.prototype.observeUsing = function(e) {- this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), f(this._fragmentFiber.child, !1, $p, e, void 0, void 0);+ Up.prototype.observeUsing = function(e) {+ this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), f(this._fragmentFiber.child, !1, Qp, e, void 0, void 0);};- function $p(e, t) {+ function Qp(e, t) {return e.tag === 6 || (e = _(e), t.observe(e)), !1;}- Wp.prototype.unobserveUsing = function(e) {+ Up.prototype.unobserveUsing = function(e) {var t = this._observers;if (t !== null && t.has(e)) {- t.delete(e), f(this._fragmentFiber.child, !1, em, e, void 0, void 0);- for (var n = t = 0; n < tm.length; n++) {- var r = tm[n];- r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : tm[t++] = r;+ t.delete(e), f(this._fragmentFiber.child, !1, $p, e, void 0, void 0);+ for (var n = t = 0; n < em.length; n++) {+ var r = em[n];+ r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : em[t++] = r;}- tm.length = t;+ em.length = t;}};- function em(e, t) {+ function $p(e, t) {return e.tag === 6 || (e = _(e), t.unobserve(e)), !1;}- var tm = [], nm = !1;- function rm(e, t, n) {- tm.push({+ var em = [], tm = !1;+ function nm(e, t, n) {+ em.push({fragmentInstance: e,observer: t,instance: n- }), nm || (nm = !0, Cm(function() {- nm = !1;- var e = tm;- tm = [];+ }), tm || (tm = !0, Sm(function() {+ tm = !1;+ var e = em;+ em = [];for (var t = 0; t < e.length; t++) {var n = e[t];n.observer.unobserve(n.instance);}}));}- Wp.prototype.getClientRects = function() {+ Up.prototype.getClientRects = function() {var e = [];- return f(this._fragmentFiber.child, !1, im, e, void 0, void 0), e;+ return f(this._fragmentFiber.child, !1, rm, e, void 0, void 0), e;};- function im(e, t) {+ function rm(e, t) {if (e.tag === 6) {e = e.stateNode;var n = e.ownerDocument.createRange();@@ -7961,14 +7961,14 @@ var _ = /* @__PURE__ */ o(((e) => {} else e = _(e), t.push.apply(t, e.getClientRects());return !1;}- Wp.prototype.getRootNode = function(e) {+ Up.prototype.getRootNode = function(e) {var t = p(this._fragmentFiber);return t === null ? this : _(t).getRootNode(e);- }, Wp.prototype.compareDocumentPosition = function(e) {+ }, Up.prototype.compareDocumentPosition = function(e) {var t = p(this._fragmentFiber);if (t === null) return Node.DOCUMENT_POSITION_DISCONNECTED;var n = [];- f(this._fragmentFiber.child, !1, Zp, n, void 0, void 0);+ f(this._fragmentFiber.child, !1, Xp, n, void 0, void 0);var r = _(t);if (n.length === 0) {if (n = r, m(this._fragmentFiber)) {@@ -7994,9 +7994,9 @@ var _ = /* @__PURE__ */ o(((e) => {if (a == null) return Node.DOCUMENT_POSITION_DISCONNECTED;r = a.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_CONTAINED_BY, a = a.compareDocumentPosition(i) & Node.DOCUMENT_POSITION_CONTAINED_BY;var o = t.compareDocumentPosition(e), s = i.compareDocumentPosition(e), c = o & Node.DOCUMENT_POSITION_CONTAINED_BY || s & Node.DOCUMENT_POSITION_CONTAINED_BY;- return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || am(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;+ return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || im(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;};- function am(e, t, n, r, i) {+ function im(e, t, n, r, i) {var a = Pt(i);if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {if (n = !!a) a: {@@ -8027,20 +8027,20 @@ var _ = /* @__PURE__ */ o(((e) => {}return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = E(n, a, T), t === null ? t = !1 : (f(t, !0, C, a, n), a = y, y = null, t = a !== null)), t) : e & Node.DOCUMENT_POSITION_FOLLOWING ? ((t = !!a) && !(t = a === r) && (t = E(r, a, T), t === null ? t = !1 : (f(t, !0, w, a, r), a = y, x = y = null, t = a !== null)), t) : !1;}- function om(e, t) {+ function am(e, t) {var n = e.ownerDocument.createRange();n.selectNodeContents(e), e = n.getBoundingClientRect(), window.scrollTo(window.scrollX + e.left, t ? window.scrollY + e.top : window.scrollY + e.bottom - window.innerHeight);}- Wp.prototype.scrollIntoView = function(e) {+ Up.prototype.scrollIntoView = function(e) {if (typeof e == "object") throw Error(i(566));var t = [];- f(this._fragmentFiber.child, !1, Zp, t, void 0, void 0);+ f(this._fragmentFiber.child, !1, Xp, t, void 0, void 0);var n = !1 !== e;if (t.length === 0) {var r = h(this._fragmentFiber);if (r = n ? r[1] || r[0] || p(this._fragmentFiber) : r[0] || r[1], r === null) return;if (r.tag === 6) {- e = _(r), om(e, n);+ e = _(r), am(e, n);return;}if (r = _(r), r.nodeType !== 9) {@@ -8053,40 +8053,40 @@ var _ = /* @__PURE__ */ o(((e) => {}for (r = n ? t.length - 1 : 0; r !== (n ? -1 : t.length);) {var a = t[r];- a.tag === 6 ? (a = _(a), om(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;+ a.tag === 6 ? (a = _(a), am(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;}};- function sm(e, t) {- return e = _(e), cm(e, t), !1;+ function om(e, t) {+ return e = _(e), sm(e, t), !1;}- function cm(e, t) {+ function sm(e, t) {e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(t);}- function lm(e, t) {+ function cm(e, t) {var n = t._eventListeners;if (n !== null) for (var r = 0; r < n.length; r++) {var i = n[r];- e.addEventListener(i.type, i.attachedListener, qp(i.optionsOrUseCapture));+ e.addEventListener(i.type, i.attachedListener, Kp(i.optionsOrUseCapture));}e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {- for (var r = 0, i = 0; i < tm.length; i++) {- var a = tm[i];- (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (tm[r++] = a);+ for (var r = 0, i = 0; i < em.length; i++) {+ var a = em[i];+ (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (em[r++] = a);}- tm.length = r, n.observe(e);- }), cm(e, t));+ em.length = r, n.observe(e);+ }), sm(e, t));}- function um(e, t) {+ function lm(e, t) {var n = t._eventListeners;if (n !== null) for (var r = 0; r < n.length; r++) {var i = n[r];- e.removeEventListener(i.type, i.attachedListener, qp(i.optionsOrUseCapture));+ e.removeEventListener(i.type, i.attachedListener, Kp(i.optionsOrUseCapture));}e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {- typeof n.rootMargin == "string" ? rm(t, n, e) : n.unobserve(e);+ typeof n.rootMargin == "string" ? nm(t, n, e) : n.unobserve(e);}), e.reactFragments != null && e.reactFragments.delete(t));}- function dm(e) {+ function um(e) {var t = e.firstChild;for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {var n = t;@@ -8094,7 +8094,7 @@ var _ = /* @__PURE__ */ o(((e) => {case "HTML":case "HEAD":case "BODY":- dm(n), Nt(n);+ um(n), Nt(n);continue;case "SCRIPT":case "STYLE": continue;@@ -8103,7 +8103,7 @@ var _ = /* @__PURE__ */ o(((e) => {e.removeChild(n);}}- function fm(e, t, n, r) {+ function dm(e, t, n, r) {for (; e.nodeType === 1;) {var i = n;if (e.nodeName.toLowerCase() !== t.toLowerCase()) {@@ -8128,26 +8128,26 @@ var _ = /* @__PURE__ */ o(((e) => {return e;default: return e;}- if (e = vm(e.nextSibling), e === null) break;+ if (e = _m(e.nextSibling), e === null) break;}return null;}- function pm(e, t, n) {+ function fm(e, t, n) {if (t === "") return null;- for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = vm(e.nextSibling), e === null)) return null;+ for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = _m(e.nextSibling), e === null)) return null;return e;}- function mm(e, t) {- for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = vm(e.nextSibling), e === null)) return null;+ function pm(e, t) {+ for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = _m(e.nextSibling), e === null)) return null;return e;}- function hm(e) {+ function mm(e) {return e.data === "$?" || e.data === "$~";}- function gm(e) {+ function hm(e) {return e.data === "$!" || e.data === "$?" && e.ownerDocument.readyState !== "loading";}- function _m(e, t) {+ function gm(e, t) {var n = e.ownerDocument;if (e.data === "$~") e._reactRetry = t;else if (e.data !== "$?" || n.readyState !== "loading") t();@@ -8158,7 +8158,7 @@ var _ = /* @__PURE__ */ o(((e) => {n.addEventListener("DOMContentLoaded", r), e._reactRetry = r;}}- function vm(e) {+ function _m(e) {for (; e != null; e = e.nextSibling) {var t = e.nodeType;if (t === 1 || t === 3) break;@@ -8169,14 +8169,14 @@ var _ = /* @__PURE__ */ o(((e) => {}return e;}- var ym = null;- function bm(e) {+ var vm = null;+ function ym(e) {e = e.nextSibling;for (var t = 0; e;) {if (e.nodeType === 8) {var n = e.data;if (n === "/$" || n === "/&") {- if (t === 0) return vm(e.nextSibling);+ if (t === 0) return _m(e.nextSibling);t--;} else n !== "$" && n !== "$!" && n !== "$?" && n !== "$~" && n !== "&" || t++;}@@ -8184,7 +8184,7 @@ var _ = /* @__PURE__ */ o(((e) => {}return null;}- function xm(e) {+ function bm(e) {e = e.previousSibling;for (var t = 0; e;) {if (e.nodeType === 8) {@@ -8198,7 +8198,7 @@ var _ = /* @__PURE__ */ o(((e) => {}return null;}- function Sm(e, t) {+ function xm(e, t) {function n() {r = !0;}@@ -8211,15 +8211,15 @@ var _ = /* @__PURE__ */ o(((e) => {}return r;}- function Cm(e) {- Op(function() {- Op(function(t) {+ function Sm(e) {+ Dp(function() {+ Dp(function(t) {return e(t);});});}- function wm(e, t, n) {- switch (t = vp(n), e) {+ function Cm(e, t, n) {+ switch (t = _p(n), e) {case "html":if (e = t.documentElement, !e) throw Error(i(452));return e;@@ -8232,91 +8232,91 @@ var _ = /* @__PURE__ */ o(((e) => {default: throw Error(i(451));}}- function Tm(e, t, n) {+ function wm(e, t, n) {for (var r in n) {var i = n[r];- n.hasOwnProperty(r) && i != null && lp(e, t, r, null, fp, i);+ n.hasOwnProperty(r) && i != null && cp(e, t, r, null, dp, i);}n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === _n && (e.onclick = null), Nt(e);}- function Em(e) {+ function Tm(e) {for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);Nt(e);}- var Dm = /* @__PURE__ */ new Map(), Om = /* @__PURE__ */ new Set();- function km(e) {+ var Em = /* @__PURE__ */ new Map(), Dm = /* @__PURE__ */ new Set();+ function Om(e) {if (typeof e.getRootNode == "function") {var t = e.getRootNode();if (t.nodeType === 9 || t.nodeType === 11) return t;}return e.nodeType === 9 ? e : e.ownerDocument;}- var Am = he.d;+ var km = he.d;he.d = {- f: jm,- r: Mm,- D: Fm,- C: Im,- L: Lm,- m: Rm,- X: Bm,- S: zm,- M: Vm- };- function jm() {- var e = Am.f(), t = Gd();+ f: Am,+ r: jm,+ D: Pm,+ C: Fm,+ L: Im,+ m: Lm,+ X: zm,+ S: Rm,+ M: Bm+ };+ function Am() {+ var e = km.f(), t = Wd();return e || t;}- function Mm(e) {+ function jm(e) {var t = Ft(e);- t !== null && t.tag === 5 && t.type === "form" ? nc(t) : Am.r(e);+ t !== null && t.tag === 5 && t.type === "form" ? nc(t) : km.r(e);}- var Nm = typeof document > "u" ? null : document;- function Pm(e, t, n) {- var r = Nm;+ var Mm = typeof document > "u" ? null : document;+ function Nm(e, t, n) {+ var r = Mm;if (r && typeof t == "string" && t) {var i = tn(t);- i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Om.has(i) || (Om.add(i), e = {+ i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Dm.has(i) || (Dm.add(i), e = {rel: e,crossOrigin: n,href: t- }, r.querySelector(i) === null && (t = r.createElement("link"), dp(t, "link", e), Rt(t), r.head.appendChild(t)));+ }, r.querySelector(i) === null && (t = r.createElement("link"), up(t, "link", e), Rt(t), r.head.appendChild(t)));}}- function Fm(e) {- Am.D(e), Pm("dns-prefetch", e, null);+ function Pm(e) {+ km.D(e), Nm("dns-prefetch", e, null);}- function Im(e, t) {- Am.C(e, t), Pm("preconnect", e, t);+ function Fm(e, t) {+ km.C(e, t), Nm("preconnect", e, t);}- function Lm(e, t, n) {- Am.L(e, t, n);- var r = Nm;+ function Im(e, t, n) {+ km.L(e, t, n);+ var r = Mm;if (r && e && t) {var i = "link[rel=\"preload\"][as=\"" + tn(t) + "\"]";t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + tn(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + tn(n.imageSizes) + "\"]")) : i += "[href=\"" + tn(e) + "\"]";var a = i;switch (t) {case "style":- a = Um(e);+ a = Hm(e);break;- case "script": a = qm(e);+ case "script": a = Km(e);}- if (!(Dm.has(a) || (e = D({+ if (!(Em.has(a) || (e = D({rel: "preload",href: t === "image" && n && n.imageSrcSet ? void 0 : e,as: t- }, n), Dm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Wm(a)) || t === "script" && r.querySelector(Jm(a))))) {+ }, n), Em.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Um(a)) || t === "script" && r.querySelector(qm(a))))) {var o = r.createElement("link");- dp(o, "link", e), t === "style" && (o[Mt] = !0, o.onload = o.onerror = function() {+ up(o, "link", e), t === "style" && (o[Mt] = !0, o.onload = o.onerror = function() {zt(o);}), Rt(o), r.head.appendChild(o);}}}- function Rm(e, t) {- Am.m(e, t);- var n = Nm;+ function Lm(e, t) {+ km.m(e, t);+ var n = Mm;if (n && e) {var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + tn(r) + "\"][href=\"" + tn(e) + "\"]", a = i;switch (r) {@@ -8325,29 +8325,29 @@ var _ = /* @__PURE__ */ o(((e) => {case "serviceworker":case "sharedworker":case "worker":- case "script": a = qm(e);+ case "script": a = Km(e);}- if (!Dm.has(a) && (e = D({+ if (!Em.has(a) && (e = D({rel: "modulepreload",href: e- }, t), Dm.set(a, e), n.querySelector(i) === null)) {+ }, t), Em.set(a, e), n.querySelector(i) === null)) {switch (r) {case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":- case "script": if (n.querySelector(Jm(a))) return;+ case "script": if (n.querySelector(qm(a))) return;}- r = n.createElement("link"), dp(r, "link", e), Rt(r), n.head.appendChild(r);+ r = n.createElement("link"), up(r, "link", e), Rt(r), n.head.appendChild(r);}}}- function zm(e, t, n) {- Am.S(e, t, n);- var r = Nm;+ function Rm(e, t, n) {+ km.S(e, t, n);+ var r = Mm;if (r && e) {- var i = Lt(r).hoistableStyles, a = Um(e);+ var i = Lt(r).hoistableStyles, a = Hm(e);t ||= "default";var o = i.get(a);if (!o) {@@ -8355,21 +8355,21 @@ var _ = /* @__PURE__ */ o(((e) => {loading: 0,preload: null};- if (o = r.querySelector(Wm(a))) s.loading = 5;+ if (o = r.querySelector(Um(a))) s.loading = 5;else {e = D({rel: "stylesheet",href: e,"data-precedence": t- }, n), (n = Dm.get(a)) && Zm(e, n);+ }, n), (n = Em.get(a)) && Xm(e, n);var c = o = r.createElement("link");- Rt(c), dp(c, "link", e), c._p = new Promise(function(e, t) {+ Rt(c), up(c, "link", e), c._p = new Promise(function(e, t) {c.onload = e, c.onerror = t;}), c.addEventListener("load", function() {s.loading |= 1;}), c.addEventListener("error", function() {s.loading |= 2;- }), s.loading |= 4, Xm(o, t, r);+ }), s.loading |= 4, Ym(o, t, r);}o = {type: "stylesheet",@@ -8380,15 +8380,15 @@ var _ = /* @__PURE__ */ o(((e) => {}}}- function Bm(e, t) {- Am.X(e, t);- var n = Nm;+ function zm(e, t) {+ km.X(e, t);+ var n = Mm;if (n && e) {- var r = Lt(n).hoistableScripts, i = qm(e), a = r.get(i);- a || (a = n.querySelector(Jm(i)), a || (e = D({+ var r = Lt(n).hoistableScripts, i = Km(e), a = r.get(i);+ a || (a = n.querySelector(qm(i)), a || (e = D({src: e,async: !0- }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Rt(a), dp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Em.get(i)) && Zm(e, t), a = n.createElement("script"), Rt(a), up(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -8396,16 +8396,16 @@ var _ = /* @__PURE__ */ o(((e) => {}, r.set(i, a));}}- function Vm(e, t) {- Am.M(e, t);- var n = Nm;+ function Bm(e, t) {+ km.M(e, t);+ var n = Mm;if (n && e) {- var r = Lt(n).hoistableScripts, i = qm(e), a = r.get(i);- a || (a = n.querySelector(Jm(i)), a || (e = D({+ var r = Lt(n).hoistableScripts, i = Km(e), a = r.get(i);+ a || (a = n.querySelector(qm(i)), a || (e = D({src: e,async: !0,type: "module"- }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Rt(a), dp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Em.get(i)) && Zm(e, t), a = n.createElement("script"), Rt(a), up(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -8413,13 +8413,13 @@ var _ = /* @__PURE__ */ o(((e) => {}, r.set(i, a));}}- function Hm(e, t, n, r) {- var a = (a = we.current) ? km(a) : null;+ function Vm(e, t, n, r) {+ var a = (a = we.current) ? Om(a) : null;if (!a) throw Error(i(446));switch (e) {case "meta":case "title": return null;- case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Um(n.href), t = Lt(a).hoistableStyles, r = t.get(n), r || (r = {+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Hm(n.href), t = Lt(a).hoistableStyles, r = t.get(n), r || (r = {type: "style",instance: null,count: 0,@@ -8432,7 +8432,7 @@ var _ = /* @__PURE__ */ o(((e) => {};case "link":if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {- e = Um(n.href);+ e = Hm(n.href);var o = Lt(a).hoistableStyles, s = o.get(e);if (s || (a = a.ownerDocument || a, s = {type: "stylesheet",@@ -8442,7 +8442,7 @@ var _ = /* @__PURE__ */ o(((e) => {loading: 0,preload: null}- }, o.set(e, s), (o = a.querySelector(Wm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Dm.get(e), o || (o = {+ }, o.set(e, s), (o = a.querySelector(Um(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Em.get(e), o || (o = {rel: "preload",as: "style",href: n.href,@@ -8451,12 +8451,12 @@ var _ = /* @__PURE__ */ o(((e) => {media: n.media,hrefLang: n.hrefLang,referrerPolicy: n.referrerPolicy- }, Dm.set(e, o)), Km(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));+ }, Em.set(e, o)), Gm(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));return s;}if (t && r !== null) throw Error(i(529, ""));return null;- case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = qm(n), t = Lt(a).hoistableScripts, r = t.get(n), r || (r = {+ case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Km(n), t = Lt(a).hoistableScripts, r = t.get(n), r || (r = {type: "script",instance: null,count: 0,@@ -8470,38 +8470,38 @@ var _ = /* @__PURE__ */ o(((e) => {default: throw Error(i(444, e));}}- function Um(e) {+ function Hm(e) {return "href=\"" + tn(e) + "\"";}- function Wm(e) {+ function Um(e) {return "link[rel=\"stylesheet\"][" + e + "]";}- function Gm(e) {+ function Wm(e) {return D({}, e, {"data-precedence": e.precedence,precedence: null});}- function Km(e, t, n, r) {+ function Gm(e, t, n, r) {if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {if (!0 !== t[Mt]) {r.loading = 1;return;}- } else t = e.createElement("link"), t[Mt] = !0, t.onload = t.onerror = zt.bind(null, t), dp(t, "link", n), Rt(t), e.head.appendChild(t);+ } else t = e.createElement("link"), t[Mt] = !0, t.onload = t.onerror = zt.bind(null, t), up(t, "link", n), Rt(t), e.head.appendChild(t);r.preload = t, t.addEventListener("load", function() {return r.loading |= 1;}), t.addEventListener("error", function() {return r.loading |= 2;});}- function qm(e) {+ function Km(e) {return "[src=\"" + tn(e) + "\"]";}- function Jm(e) {+ function qm(e) {return "script[async]" + e;}- function Ym(e, t, n) {+ function Jm(e, t, n) {if (t.count++, t.instance === null) switch (t.type) {case "style":var r = e.querySelector("style[data-href~=\"" + tn(n.href) + "\"]");@@ -8512,24 +8512,24 @@ var _ = /* @__PURE__ */ o(((e) => {href: null,precedence: null});- return r = (e.ownerDocument || e).createElement("style"), Rt(r), dp(r, "style", a), Xm(r, n.precedence, e), t.instance = r;+ return r = (e.ownerDocument || e).createElement("style"), Rt(r), up(r, "style", a), Ym(r, n.precedence, e), t.instance = r;case "stylesheet":- a = Um(n.href);- var o = e.querySelector(Wm(a));+ a = Hm(n.href);+ var o = e.querySelector(Um(a));if (o) return t.state.loading |= 4, t.instance = o, Rt(o), o;- r = Gm(n), (a = Dm.get(a)) && Zm(r, a), o = (e.ownerDocument || e).createElement("link"), Rt(o);+ r = Wm(n), (a = Em.get(a)) && Xm(r, a), o = (e.ownerDocument || e).createElement("link"), Rt(o);var s = o;return s._p = new Promise(function(e, t) {s.onload = e, s.onerror = t;- }), dp(o, "link", r), t.state.loading |= 4, Xm(o, n.precedence, e), t.instance = o;- case "script": return o = qm(n.src), (a = e.querySelector(Jm(o))) ? (t.instance = a, Rt(a), a) : (r = n, (a = Dm.get(o)) && (r = D({}, n), Qm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Rt(a), dp(a, "link", r), e.head.appendChild(a), t.instance = a);+ }), up(o, "link", r), t.state.loading |= 4, Ym(o, n.precedence, e), t.instance = o;+ case "script": return o = Km(n.src), (a = e.querySelector(qm(o))) ? (t.instance = a, Rt(a), a) : (r = n, (a = Em.get(o)) && (r = D({}, n), Zm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Rt(a), up(a, "link", r), e.head.appendChild(a), t.instance = a);case "void": return null;default: throw Error(i(443, t.type));}- else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Xm(r, n.precedence, e));+ else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Ym(r, n.precedence, e));return t.instance;}- function Xm(e, t, n) {+ function Ym(e, t, n) {for (var r = n.querySelectorAll("link[rel=\"stylesheet\"][data-precedence],style[data-precedence]"), i = r.length ? r[r.length - 1] : null, a = i, o = 0; o < r.length; o++) {var s = r[o];if (s.dataset.precedence === t) a = s;@@ -8537,18 +8537,18 @@ var _ = /* @__PURE__ */ o(((e) => {}a ? a.parentNode.insertBefore(e, a.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));}- function Zm(e, t) {+ function Xm(e, t) {e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;}- function Qm(e, t) {+ function Zm(e, t) {e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;}- var $m = null;- function eh(e, t, n) {- if ($m === null) {- var r = /* @__PURE__ */ new Map(), i = $m = /* @__PURE__ */ new Map();+ var Qm = null;+ function $m(e, t, n) {+ if (Qm === null) {+ var r = /* @__PURE__ */ new Map(), i = Qm = /* @__PURE__ */ new Map();i.set(n, r);- } else i = $m, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));+ } else i = Qm, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));if (r.has(e)) return r;for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {var a = n[i];@@ -8561,10 +8561,10 @@ var _ = /* @__PURE__ */ o(((e) => {}return r;}- function th(e, t, n) {+ function eh(e, t, n) {e = e.ownerDocument || e, e.head.insertBefore(n, t === "title" ? e.querySelector("head > title") : null);}- function nh(e, t, n) {+ function th(e, t, n) {if (n === 1 || t.itemProp != null) return !1;switch (e) {case "meta":@@ -8582,91 +8582,91 @@ var _ = /* @__PURE__ */ o(((e) => {}return !1;}- function rh(e, t) {+ function nh(e, t) {return e === "img" && t.src != null && t.src !== "" && t.onLoad == null && t.loading !== "lazy";}- function ih(e) {+ function rh(e) {return !(e.type === "stylesheet" && !(e.state.loading & 3));}- function ah(e) {+ function ih(e) {return (e.width || 100) * (e.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * .25;}- function oh(e, t) {- typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += ah(t), e.suspenseyImages.push(t)), e = fh.bind(e), t.decode().then(e, e));+ function ah(e, t) {+ typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += ih(t), e.suspenseyImages.push(t)), e = dh.bind(e), t.decode().then(e, e));}- function sh(e, t, n, r) {+ function oh(e, t, n, r) {if (n.type === "stylesheet" && (typeof r.media != "string" || !1 !== matchMedia(r.media).matches) && !(n.state.loading & 4)) {if (n.instance === null) {- var i = Um(r.href), a = t.querySelector(Wm(i));+ var i = Hm(r.href), a = t.querySelector(Um(i));if (a) {- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = dh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Rt(a);+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = uh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Rt(a);return;}- a = t.ownerDocument || t, r = Gm(r), (i = Dm.get(i)) && Zm(r, i), a = a.createElement("link"), Rt(a);+ a = t.ownerDocument || t, r = Wm(r), (i = Em.get(i)) && Xm(r, i), a = a.createElement("link"), Rt(a);var o = a;o._p = new Promise(function(e, t) {o.onload = e, o.onerror = t;- }), dp(a, "link", r), n.instance = a;+ }), up(a, "link", r), n.instance = a;}- e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = dh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));+ e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = uh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));}}- var ch = 0;- function lh(e, t) {- return e.stylesheets && e.count === 0 && mh(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {+ var sh = 0;+ function ch(e, t) {+ return e.stylesheets && e.count === 0 && ph(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {var r = setTimeout(function() {- if (e.stylesheets && mh(e, e.stylesheets), e.unsuspend) {+ if (e.stylesheets && ph(e, e.stylesheets), e.unsuspend) {var t = e.unsuspend;e.unsuspend = null, t();}}, 6e4 + t);- 0 < e.imgBytes && ch === 0 && (ch = 62500 * hp());+ 0 < e.imgBytes && sh === 0 && (sh = 62500 * mp());var i = setTimeout(function() {- if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && mh(e, e.stylesheets), e.unsuspend)) {+ if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && ph(e, e.stylesheets), e.unsuspend)) {var t = e.unsuspend;e.unsuspend = null, t();}- }, (e.imgBytes > ch ? 50 : 800) + t);+ }, (e.imgBytes > sh ? 50 : 800) + t);return e.unsuspend = n, function() {e.unsuspend = null, clearTimeout(r), clearTimeout(i);};} : null;}- function uh(e) {+ function lh(e) {if (e.count === 0 && (e.imgCount === 0 || !e.waitingForImages)) {- if (e.stylesheets) mh(e, e.stylesheets);+ if (e.stylesheets) ph(e, e.stylesheets);else if (e.unsuspend) {var t = e.unsuspend;e.unsuspend = null, t();}}}+ function uh() {+ this.count--, lh(this);+ }function dh() {- this.count--, uh(this);+ this.imgCount--, lh(this);}- function fh() {- this.imgCount--, uh(this);+ var fh = null;+ function ph(e, t) {+ e.stylesheets = null, e.unsuspend !== null && (e.count++, fh = /* @__PURE__ */ new Map(), t.forEach(mh, e), fh = null, uh.call(e));}- var ph = null;function mh(e, t) {- e.stylesheets = null, e.unsuspend !== null && (e.count++, ph = /* @__PURE__ */ new Map(), t.forEach(hh, e), ph = null, dh.call(e));- }- function hh(e, t) {if (!(t.state.loading & 4)) {- var n = ph.get(e);+ var n = fh.get(e);if (n) var r = n.get(null);else {- n = /* @__PURE__ */ new Map(), ph.set(e, n);+ n = /* @__PURE__ */ new Map(), fh.set(e, n);for (var i = e.querySelectorAll("link[data-precedence],style[data-precedence]"), a = 0; a < i.length; a++) {var o = i[a];(o.nodeName === "LINK" || o.getAttribute("media") !== "not all") && (n.set(o.dataset.precedence, o), r = o);}r && n.set(null, r);}- i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = dh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;+ i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = uh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;}}- var gh = {+ var hh = {$$typeof: ee,Provider: null,Consumer: null,@@ -8674,72 +8674,72 @@ var _ = /* @__PURE__ */ o(((e) => {_currentValue2: ge,_threadCount: 0};- function _h(e, t, n, r, i, a, o, s, c) {+ function gh(e, t, n, r, i, a, o, s, c) {this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = pt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = pt(0), this.hiddenUpdates = pt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();}- function vh(e, t, n, r, i, a, o, s, c, l, u, d) {- return e = new _h(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Oi(3, null, null, t), e.current = a, a.stateNode = e, t = ka(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {+ function _h(e, t, n, r, i, a, o, s, c, l, u, d) {+ return e = new gh(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Oi(3, null, null, t), e.current = a, a.stateNode = e, t = ka(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {element: r,isDehydrated: n,cache: t}, fo(a), e;}- function yh(e) {+ function vh(e) {return e ? (e = Ei, e) : Ei;}- function bh(e, t, n, r, i, a) {- i = yh(i), r.context === null ? r.context = i : r.pendingContext = i, r = mo(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = ho(e, r, t), n !== null && (Bd(n, e, t), go(n, e, t));+ function yh(e, t, n, r, i, a) {+ i = vh(i), r.context === null ? r.context = i : r.pendingContext = i, r = mo(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = ho(e, r, t), n !== null && (zd(n, e, t), go(n, e, t));}- function xh(e, t) {+ function bh(e, t) {if (e = e.memoizedState, e !== null && e.dehydrated !== null) {var n = e.retryLane;e.retryLane = n !== 0 && n < t ? n : t;}}- function Sh(e, t) {- xh(e, t), (e = e.alternate) && xh(e, t);+ function xh(e, t) {+ bh(e, t), (e = e.alternate) && bh(e, t);}- function Ch(e) {+ function Sh(e) {if (e.tag === 13 || e.tag === 31) {var t = Ci(e, 67108864);- t !== null && Bd(t, e, 67108864), Sh(e, 67108864);+ t !== null && zd(t, e, 67108864), xh(e, 67108864);}}- function wh(e) {+ function Ch(e) {if (e.tag === 13 || e.tag === 31) {- var t = Ld();+ var t = Id();t = yt(t);var n = Ci(e, t);- n !== null && Bd(n, e, t), Sh(e, t);+ n !== null && zd(n, e, t), xh(e, t);}}- var Th = !0;- function Eh(e, t, n, r) {+ var wh = !0;+ function Th(e, t, n, r) {var i = me.T;me.T = null;var a = he.p;try {- he.p = 2, Oh(e, t, n, r);+ he.p = 2, Dh(e, t, n, r);} finally {he.p = a, me.T = i;}}- function Dh(e, t, n, r) {+ function Eh(e, t, n, r) {var i = me.T;me.T = null;var a = he.p;try {- he.p = 8, Oh(e, t, n, r);+ he.p = 8, Dh(e, t, n, r);} finally {he.p = a, me.T = i;}}- function Oh(e, t, n, r) {- if (Th) {- var i = kh(r);- if (i === null) ep(e, t, r, Ah, n), Vh(e, r);- else if (Uh(i, e, t, n, r)) r.stopPropagation();- else if (Vh(e, r), t & 4 && -1 < Bh.indexOf(e)) {+ function Dh(e, t, n, r) {+ if (wh) {+ var i = Oh(r);+ if (i === null) $f(e, t, r, kh, n), Bh(e, r);+ else if (Hh(i, e, t, n, r)) r.stopPropagation();+ else if (Bh(e, r), t & 4 && -1 < zh.indexOf(e)) {for (; i !== null;) {var a = Ft(i);if (a !== null) switch (a.tag) {@@ -8752,26 +8752,26 @@ var _ = /* @__PURE__ */ o(((e) => {var c = 1 << 31 - et(o);s.entanglements[1] |= c, o &= ~c;}- Nf(a), !(td & 6) && (Sd = He() + 500, Pf(0, !1));+ Mf(a), !(td & 6) && (xd = He() + 500, Nf(0, !1));}}break;case 31:- case 13: s = Ci(a, 2), s !== null && Bd(s, a, 2), Gd(), Sh(a, 2);+ case 13: s = Ci(a, 2), s !== null && zd(s, a, 2), Wd(), xh(a, 2);}- if (a = kh(r), a === null && ep(e, t, r, Ah, n), a === i) break;+ if (a = Oh(r), a === null && $f(e, t, r, kh, n), a === i) break;i = a;}i !== null && r.stopPropagation();- } else ep(e, t, r, null, n);+ } else $f(e, t, r, null, n);}}- function kh(e) {- return e = yn(e), jh(e);+ function Oh(e) {+ return e = yn(e), Ah(e);}- var Ah = null;- function jh(e) {- if (Ah = null, e = Pt(e), e !== null) {+ var kh = null;+ function Ah(e) {+ if (kh = null, e = Pt(e), e !== null) {var t = o(e);if (t === null) e = null;else {@@ -8788,9 +8788,9 @@ var _ = /* @__PURE__ */ o(((e) => {} else t !== e && (e = null);}}- return Ah = e, null;+ return kh = e, null;}- function Mh(e) {+ function jh(e) {switch (e) {case "beforetoggle":case "cancel":@@ -8875,51 +8875,51 @@ var _ = /* @__PURE__ */ o(((e) => {default: return 32;}}- var Nh = !1, Ph = null, Fh = null, Ih = null, Lh = /* @__PURE__ */ new Map(), Rh = /* @__PURE__ */ new Map(), zh = [], Bh = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");- function Vh(e, t) {+ var Mh = !1, Nh = null, Ph = null, Fh = null, Ih = /* @__PURE__ */ new Map(), Lh = /* @__PURE__ */ new Map(), Rh = [], zh = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");+ function Bh(e, t) {switch (e) {case "focusin":case "focusout":- Ph = null;+ Nh = null;break;case "dragenter":case "dragleave":- Fh = null;+ Ph = null;break;case "mouseover":case "mouseout":- Ih = null;+ Fh = null;break;case "pointerover":case "pointerout":- Lh.delete(t.pointerId);+ Ih.delete(t.pointerId);break;case "gotpointercapture":- case "lostpointercapture": Rh.delete(t.pointerId);+ case "lostpointercapture": Lh.delete(t.pointerId);}}- function Hh(e, t, n, r, i, a) {+ function Vh(e, t, n, r, i, a) {return e === null || e.nativeEvent !== a ? (e = {blockedOn: t,domEventName: n,eventSystemFlags: r,nativeEvent: a,targetContainers: [i]- }, t !== null && (t = Ft(t), t !== null && Ch(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);+ }, t !== null && (t = Ft(t), t !== null && Sh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);}- function Uh(e, t, n, r, i) {+ function Hh(e, t, n, r, i) {switch (t) {- case "focusin": return Ph = Hh(Ph, e, t, n, r, i), !0;- case "dragenter": return Fh = Hh(Fh, e, t, n, r, i), !0;- case "mouseover": return Ih = Hh(Ih, e, t, n, r, i), !0;+ case "focusin": return Nh = Vh(Nh, e, t, n, r, i), !0;+ case "dragenter": return Ph = Vh(Ph, e, t, n, r, i), !0;+ case "mouseover": return Fh = Vh(Fh, e, t, n, r, i), !0;case "pointerover":var a = i.pointerId;- return Lh.set(a, Hh(Lh.get(a) || null, e, t, n, r, i)), !0;- case "gotpointercapture": return a = i.pointerId, Rh.set(a, Hh(Rh.get(a) || null, e, t, n, r, i)), !0;+ return Ih.set(a, Vh(Ih.get(a) || null, e, t, n, r, i)), !0;+ case "gotpointercapture": return a = i.pointerId, Lh.set(a, Vh(Lh.get(a) || null, e, t, n, r, i)), !0;}return !1;}- function Wh(e) {+ function Uh(e) {var t = Pt(e.target);if (t !== null) {var n = o(t);@@ -8927,14 +8927,14 @@ var _ = /* @__PURE__ */ o(((e) => {if (t = n.tag, t === 13) {if (t = s(n), t !== null) {e.blockedOn = t, St(e.priority, function() {- wh(n);+ Ch(n);});return;}} else if (t === 31) {if (t = c(n), t !== null) {e.blockedOn = t, St(e.priority, function() {- wh(n);+ Ch(n);});return;}@@ -8946,36 +8946,36 @@ var _ = /* @__PURE__ */ o(((e) => {}e.blockedOn = null;}- function Gh(e) {+ function Wh(e) {if (e.blockedOn !== null) return !1;for (var t = e.targetContainers; 0 < t.length;) {- var n = kh(e.nativeEvent);+ var n = Oh(e.nativeEvent);if (n === null) {n = e.nativeEvent;var r = new n.constructor(n.type, n);vn = r, n.target.dispatchEvent(r), vn = null;- } else return t = Ft(n), t !== null && Ch(t), e.blockedOn = n, !1;+ } else return t = Ft(n), t !== null && Sh(t), e.blockedOn = n, !1;t.shift();}return !0;}- function Kh(e, t, n) {- Gh(e) && n.delete(t);+ function Gh(e, t, n) {+ Wh(e) && n.delete(t);}- function qh() {- Nh = !1, Ph !== null && Gh(Ph) && (Ph = null), Fh !== null && Gh(Fh) && (Fh = null), Ih !== null && Gh(Ih) && (Ih = null), Lh.forEach(Kh), Rh.forEach(Kh);+ function Kh() {+ Mh = !1, Nh !== null && Wh(Nh) && (Nh = null), Ph !== null && Wh(Ph) && (Ph = null), Fh !== null && Wh(Fh) && (Fh = null), Ih.forEach(Gh), Lh.forEach(Gh);}- function Jh(e, n) {- e.blockedOn === n && (e.blockedOn = null, Nh || (Nh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, qh)));+ function qh(e, n) {+ e.blockedOn === n && (e.blockedOn = null, Mh || (Mh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Kh)));}- var Yh = null;- function Xh(e) {- Yh !== e && (Yh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {- Yh === e && (Yh = null);+ var Jh = null;+ function Yh(e) {+ Jh !== e && (Jh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {+ Jh === e && (Jh = null);for (var t = 0; t < e.length; t += 3) {var n = e[t], r = e[t + 1], i = e[t + 2];if (typeof r != "function") {- if (jh(r || n) === null) continue;+ if (Ah(r || n) === null) continue;break;}var a = Ft(n);@@ -8988,30 +8988,30 @@ var _ = /* @__PURE__ */ o(((e) => {}}));}- function Zh(e) {+ function Xh(e) {function t(t) {- return Jh(t, e);+ return qh(t, e);}- Ph !== null && Jh(Ph, e), Fh !== null && Jh(Fh, e), Ih !== null && Jh(Ih, e), Lh.forEach(t), Rh.forEach(t);- for (var n = 0; n < zh.length; n++) {- var r = zh[n];+ Nh !== null && qh(Nh, e), Ph !== null && qh(Ph, e), Fh !== null && qh(Fh, e), Ih.forEach(t), Lh.forEach(t);+ for (var n = 0; n < Rh.length; n++) {+ var r = Rh[n];r.blockedOn === e && (r.blockedOn = null);}- for (; 0 < zh.length && (n = zh[0], n.blockedOn === null);) Wh(n), n.blockedOn === null && zh.shift();+ for (; 0 < Rh.length && (n = Rh[0], n.blockedOn === null);) Uh(n), n.blockedOn === null && Rh.shift();if (n = (e.ownerDocument || e).$$reactFormReplay, n != null) for (r = 0; r < n.length; r += 3) {var i = n[r], a = n[r + 1], o = i[Tt] || null;- if (typeof a == "function") o || Xh(n);+ if (typeof a == "function") o || Yh(n);else if (o) {var s = null;if (a && a.hasAttribute("formAction")) {if (i = a, o = a[Tt] || null) s = o.formAction;- else if (jh(i) !== null) continue;+ else if (Ah(i) !== null) continue;} else s = o.action;- typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Xh(n);+ typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Yh(n);}}}- function Qh() {+ function Zh() {function e(e) {e.canIntercept && e.info === "react-transition" && e.intercept({handler: function() {@@ -9043,26 +9043,26 @@ var _ = /* @__PURE__ */ o(((e) => {};}}- function $h(e) {+ function Qh(e) {this._internalRoot = e;}- eg.prototype.render = $h.prototype.render = function(e) {+ $h.prototype.render = Qh.prototype.render = function(e) {var t = this._internalRoot;if (t === null) throw Error(i(409));var n = t.current;- bh(n, Ld(), e, t, null, null);- }, eg.prototype.unmount = $h.prototype.unmount = function() {+ yh(n, Id(), e, t, null, null);+ }, $h.prototype.unmount = Qh.prototype.unmount = function() {var e = this._internalRoot;if (e !== null) {this._internalRoot = null;var t = e.containerInfo;- bh(e.current, 2, null, e, null, null), Gd(), t[Et] = null;+ yh(e.current, 2, null, e, null, null), Wd(), t[Et] = null;}};- function eg(e) {+ function $h(e) {this._internalRoot = e;}- eg.prototype.unstable_scheduleHydration = function(e) {+ $h.prototype.unstable_scheduleHydration = function(e) {if (e) {var t = xt();e = {@@ -9070,18 +9070,18 @@ var _ = /* @__PURE__ */ o(((e) => {target: e,priority: t};- for (var n = 0; n < zh.length && t !== 0 && t < zh[n].priority; n++);- zh.splice(n, 0, e), n === 0 && Wh(e);+ for (var n = 0; n < Rh.length && t !== 0 && t < Rh[n].priority; n++);+ Rh.splice(n, 0, e), n === 0 && Uh(e);}};- var tg = n.version;- if (tg !== "19.3.1") throw Error(i(527, tg, "19.3.1"));+ var eg = n.version;+ if (eg !== "19.3.1") throw Error(i(527, eg, "19.3.1"));he.findDOMNode = function(e) {var t = e._reactInternals;if (t === void 0) throw typeof e.render == "function" ? Error(i(188)) : (e = Object.keys(e).join(","), Error(i(268, e)));return e = u(t), e = e === null ? null : d(e), e = e === null ? null : e.stateNode, e;};- var ng = {+ var tg = {bundleType: 0,version: "19.3.1",rendererPackageName: "react-dom",@@ -9089,15 +9089,15 @@ var _ = /* @__PURE__ */ o(((e) => {reconcilerVersion: "19.3.1"};if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {- var rg = __REACT_DEVTOOLS_GLOBAL_HOOK__;- if (!rg.isDisabled && rg.supportsFiber) try {- Ze = rg.inject(ng), Qe = rg;+ var ng = __REACT_DEVTOOLS_GLOBAL_HOOK__;+ if (!ng.isDisabled && ng.supportsFiber) try {+ Ze = ng.inject(tg), Qe = ng;} catch {}}e.createRoot = function(e, t) {if (!a(e)) throw Error(i(299));var n = !1, r = "", o = Cc, s = wc, c = Tc;- return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = vh(e, 1, !1, null, null, n, r, null, o, s, c, Qh), e[Et] = t.current, Qf(e), new $h(t);+ return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = _h(e, 1, !1, null, null, n, r, null, o, s, c, Zh), e[Et] = t.current, Zf(e), new Qh(t);};})), w = /* @__PURE__ */ o(((e, t) => {function n() {@@ -14231,32 +14231,32 @@ var ld = {test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,parse: parseFloat,transform: (t) => `${t}${e}`-}), dd = /*@__PURE__*/ ud("deg"), fd = /*@__PURE__*/ ud("%"), pd = /*@__PURE__*/ ud("px"), md = /*@__PURE__*/ ud("vh"), hd = /*@__PURE__*/ ud("vw"), gd = {+}), dd = /*@__PURE__*/ ud("deg"), fd = /*@__PURE__*/ ud("%"), G = /*@__PURE__*/ ud("px"), pd = /*@__PURE__*/ ud("vh"), md = /*@__PURE__*/ ud("vw"), hd = {...fd,parse: (e) => fd.parse(e) / 100,transform: (e) => fd.transform(e * 100)-}, _d = {+}, gd = {test: /*@__PURE__*/ rd("hsl", "hue"),parse: /*@__PURE__*/ id("hue", "saturation", "lightness"),transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + fd.transform(Wu(t)) + ", " + fd.transform(Wu(n)) + ", " + Wu(Qu.transform(r)) + ")"-}, vd = {- test: (e) => sd.test(e) || ld.test(e) || _d.test(e),- parse: (e) => sd.test(e) ? sd.parse(e) : _d.test(e) ? _d.parse(e) : ld.parse(e),- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? sd.transform(e) : _d.transform(e),+}, _d = {+ test: (e) => sd.test(e) || ld.test(e) || gd.test(e),+ parse: (e) => sd.test(e) ? sd.parse(e) : gd.test(e) ? gd.parse(e) : ld.parse(e),+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? sd.transform(e) : gd.transform(e),getAnimatableNone: (e) => {- let t = vd.parse(e);- return t.alpha = 0, vd.transform(t);+ let t = _d.parse(e);+ return t.alpha = 0, _d.transform(t);}-}, yd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, bd = /*@__PURE__*/ new RegExp(ed.source), xd = /*@__PURE__*/ new RegExp(yd.source, "i");-function Sd(e) {- return isNaN(e) && typeof e == "string" && (bd.test(e) || xd.test(e));+}, vd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, yd = /*@__PURE__*/ new RegExp(ed.source), bd = /*@__PURE__*/ new RegExp(vd.source, "i");+function xd(e) {+ return isNaN(e) && typeof e == "string" && (yd.test(e) || bd.test(e));}-var Cd = "number", wd = "color", Td = "var", Ed = "var(", Dd = "${}", Od = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;-function kd(e) {+var Sd = "number", Cd = "color", wd = "var", Td = "var(", Ed = "${}", Dd = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;+function Od(e) {let t = e.toString();- return bd.test(t) || xd.test(t);+ return yd.test(t) || bd.test(t);}-function Ad(e) {+function kd(e) {let t = e.toString(), n = [], r = {color: [],number: [],@@ -14264,51 +14264,51 @@ function Ad(e) {}, i = [], a = 0;return {values: n,- split: t.replace(Od, (e) => (vd.test(e) ? (r.color.push(a), i.push(wd), n.push(vd.parse(e))) : e.startsWith(Ed) ? (r.var.push(a), i.push(Td), n.push(e)) : (r.number.push(a), i.push(Cd), n.push(parseFloat(e))), ++a, Dd)).split(Dd),+ split: t.replace(Dd, (e) => (_d.test(e) ? (r.color.push(a), i.push(Cd), n.push(_d.parse(e))) : e.startsWith(Td) ? (r.var.push(a), i.push(wd), n.push(e)) : (r.number.push(a), i.push(Sd), n.push(parseFloat(e))), ++a, Ed)).split(Ed),indexes: r,types: i};}-function jd(e) {- return Ad(e).values;+function Ad(e) {+ return kd(e).values;}-function Md({ split: e, types: t }) {+function jd({ split: e, types: t }) {let n = e.length;return (r) => {let i = "";for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {let e = t[a];- i += e === Cd ? Wu(r[a]) : e === wd ? vd.transform(r[a]) : r[a];+ i += e === Sd ? Wu(r[a]) : e === Cd ? _d.transform(r[a]) : r[a];}return i;};}-function Nd(e) {- return Md(Ad(e));+function Md(e) {+ return jd(kd(e));}-var Pd = (e) => typeof e == "number" ? 0 : vd.test(e) ? vd.getAnimatableNone(e) : e, Fd = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : Pd(e);-function Id(e) {- let t = Ad(e);- return Md(t)(t.values.map((e, n) => Fd(e, t.split[n])));+var Nd = (e) => typeof e == "number" ? 0 : _d.test(e) ? _d.getAnimatableNone(e) : e, Pd = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : Nd(e);+function Fd(e) {+ let t = kd(e);+ return jd(t)(t.values.map((e, n) => Pd(e, t.split[n])));}-var Ld = {- test: Sd,- parse: jd,- createTransformer: Nd,- getAnimatableNone: Id+var Id = {+ test: xd,+ parse: Ad,+ createTransformer: Md,+ getAnimatableNone: Fd};//#endregion//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs-function Rd(e, t, n) {+function Ld(e, t, n) {return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;}-function zd({ hue: e, saturation: t, lightness: n, alpha: r }) {+function Rd({ hue: e, saturation: t, lightness: n, alpha: r }) {e /= 360, t /= 100, n /= 100;let i = 0, a = 0, o = 0;if (!t) i = a = o = n;else {let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;- i = Rd(s, r, e + 1 / 3), a = Rd(s, r, e), o = Rd(s, r, e - 1 / 3);+ i = Ld(s, r, e + 1 / 3), a = Ld(s, r, e), o = Ld(s, r, e - 1 / 3);}return {red: Math.round(i * 255),@@ -14319,61 +14319,61 @@ function zd({ hue: e, saturation: t, lightness: n, alpha: r }) {}//#endregion//#region node_modules/motion-dom/dist/es/utils/mix/immediate.mjs-function Bd(e, t) {+function zd(e, t) {return (n) => n > 0 ? t : e;}//#endregion//#region node_modules/motion-dom/dist/es/utils/mix/number.mjs-var Vd = (e, t, n) => e + (t - e) * n, Hd = (e, t, n) => {+var Bd = (e, t, n) => e + (t - e) * n, Vd = (e, t, n) => {let r = e * e, i = n * (t * t - r) + r;return i < 0 ? 0 : Math.sqrt(i);-}, Ud = [+}, Hd = [ld,sd,- _d-], Wd = (e) => Ud.find((t) => t.test(e));-function Gd(e) {- let t = Wd(e);+ gd+], Ud = (e) => Hd.find((t) => t.test(e));+function Wd(e) {+ let t = Ud(e);if (!t) return `${e}`, !1;let n = t.parse(e);- return t === _d && (n = zd(n)), n;+ return t === gd && (n = Rd(n)), n;}-var Kd = (e, t) => {- let n = Gd(e), r = Gd(t);- if (!n || !r) return Bd(e, t);+var Gd = (e, t) => {+ let n = Wd(e), r = Wd(t);+ if (!n || !r) return zd(e, t);let i = { ...n };- return (e) => (i.red = Hd(n.red, r.red, e), i.green = Hd(n.green, r.green, e), i.blue = Hd(n.blue, r.blue, e), i.alpha = Vd(n.alpha, r.alpha, e), sd.transform(i));-}, qd = /* @__PURE__ */ new Set(["none", "hidden"]);-function Jd(e, t) {- return qd.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;+ return (e) => (i.red = Vd(n.red, r.red, e), i.green = Vd(n.green, r.green, e), i.blue = Vd(n.blue, r.blue, e), i.alpha = Bd(n.alpha, r.alpha, e), sd.transform(i));+}, Kd = /* @__PURE__ */ new Set(["none", "hidden"]);+function qd(e, t) {+ return Kd.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;}//#endregion//#region node_modules/motion-dom/dist/es/utils/mix/complex.mjs-function Yd(e, t) {- return (n) => Vd(e, t, n);+function Jd(e, t) {+ return (n) => Bd(e, t, n);}-function Xd(e) {- return typeof e == "number" ? Yd : typeof e == "string" ? Ju(e) ? Bd : vd.test(e) ? Kd : ef : Array.isArray(e) ? Zd : typeof e == "object" ? vd.test(e) ? Kd : Qd : Bd;+function Yd(e) {+ return typeof e == "number" ? Jd : typeof e == "string" ? Ju(e) ? zd : _d.test(e) ? Gd : $d : Array.isArray(e) ? Xd : typeof e == "object" ? _d.test(e) ? Gd : Zd : zd;}-function Zd(e, t) {- let n = [...e], r = n.length, i = e.map((e, n) => Xd(e)(e, t[n]));+function Xd(e, t) {+ let n = [...e], r = n.length, i = e.map((e, n) => Yd(e)(e, t[n]));return (e) => {for (let t = 0; t < r; t++) n[t] = i[t](e);return n;};}-function Qd(e, t) {+function Zd(e, t) {let n = {...e,...t}, r = {};- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = Xd(e[i])(e[i], t[i]));+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = Yd(e[i])(e[i], t[i]));return (e) => {for (let t in r) n[t] = r[t](e);return n;};}-function $d(e, t) {+function Qd(e, t) {let n = [], r = {color: 0,var: 0,@@ -14385,29 +14385,29 @@ function $d(e, t) {}return n;}-var ef = (e, t) => {- let n = Ld.createTransformer(t), r = Ad(e), i = Ad(t);- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? qd.has(e) && !i.values.length || qd.has(t) && !r.values.length ? Jd(e, t) : pu(Zd($d(r, i), i.values), n) : (`${e}${t}`, Bd(e, t));-}, tf = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;-function nf(e, t) {- let n = tf.exec(e);+var $d = (e, t) => {+ let n = Id.createTransformer(t), r = kd(e), i = kd(t);+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Kd.has(e) && !i.values.length || Kd.has(t) && !r.values.length ? qd(e, t) : pu(Xd(Qd(r, i), i.values), n) : (`${e}${t}`, zd(e, t));+}, ef = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;+function tf(e, t) {+ let n = ef.exec(e);if (!n) return;- let r = tf.exec(t);+ let r = ef.exec(t);if (!r || n[2] !== r[2]) return;let i = n[2], a = parseFloat(n[1]), o = parseFloat(r[1]);- return (e) => Wu(Vd(a, o, e)) + i;+ return (e) => Wu(Bd(a, o, e)) + i;}-function rf(e, t, n) {- if (typeof e == "number" && typeof t == "number" && typeof n == "number") return Vd(e, t, n);+function nf(e, t, n) {+ if (typeof e == "number" && typeof t == "number" && typeof n == "number") return Bd(e, t, n);if (typeof e == "string" && typeof t == "string") {- let n = nf(e, t);+ let n = tf(e, t);if (n) return n;}- return Xd(e)(e, t);+ return Yd(e)(e, t);}//#endregion//#region node_modules/motion-dom/dist/es/frameloop/order.mjs-var af = [+var rf = ["setup","read","resolveKeyframes",@@ -14419,7 +14419,7 @@ var af = [];//#endregion//#region node_modules/motion-dom/dist/es/frameloop/render-step.mjs-function of(e) {+function af(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new Set(), o = {delta: 0,timestamp: 0,@@ -14450,25 +14450,25 @@ function of(e) {}//#endregion//#region node_modules/motion-dom/dist/es/frameloop/batcher.mjs-var sf = 40;-function cf(e, t, n = {+var of = 40;+function sf(e, t, n = {delta: 0,timestamp: 0,isProcessing: !1}) {- let r = !1, i = !0, a = () => r = !0, o = af.reduce((e, t) => (e[t] = of(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {+ let r = !1, i = !0, a = () => r = !0, o = rf.reduce((e, t) => (e[t] = af(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {let a = su.useManualTiming, o = a ? n.timestamp : performance.now();- r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, sf), 1)), n.timestamp = o, n.isProcessing = !0, s.process(n), c.process(n), l.process(n), u.process(n), d.process(n), f.process(n), p.process(n), m.process(n), n.isProcessing = !1, r && t && (i = !1, e(h));+ r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, of), 1)), n.timestamp = o, n.isProcessing = !0, s.process(n), c.process(n), l.process(n), u.process(n), d.process(n), f.process(n), p.process(n), m.process(n), n.isProcessing = !1, r && t && (i = !1, e(h));}, g = () => {r = !0, i = !0, n.isProcessing || e(h);};return {- schedule: af.reduce((e, t) => {+ schedule: rf.reduce((e, t) => {let n = o[t];return e[t] = (e, t = !1, i = !1) => (r || g(), n.schedule(e, t, i)), e;}, {}),cancel: (e) => {- for (let t = 0; t < af.length; t++) o[af[t]].cancel(e);+ for (let t = 0; t < rf.length; t++) o[rf[t]].cancel(e);},state: n,steps: o@@ -14476,31 +14476,31 @@ function cf(e, t, n = {}//#endregion//#region node_modules/motion-dom/dist/es/frameloop/frame.mjs-var { schedule: lf, cancel: uf, steps: df } = /* @__PURE__ */ cf(typeof requestAnimationFrame < "u" ? requestAnimationFrame : fu, !0, Bu), ff = (e) => {+var { schedule: cf, cancel: lf, steps: uf } = /* @__PURE__ */ sf(typeof requestAnimationFrame < "u" ? requestAnimationFrame : fu, !0, Bu), df = (e) => {let t = ({ timestamp: t }) => e(t);return {- start: (e = !0) => lf.update(t, e),- stop: () => uf(t),+ start: (e = !0) => cf.update(t, e),+ stop: () => lf(t),now: () => Bu.isProcessing ? Bu.timestamp : Uu.now()};-}, pf = (e, t, n = 10) => {+}, ff = (e, t, n = 10) => {let r = "", i = Math.max(Math.round(t / n), 2);for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";return `linear(${r.substring(0, r.length - 2)})`;-}, mf = 2e4;-function hf(e, t = 50, n = mf, r) {+}, pf = 2e4;+function mf(e, t = 50, n = pf, r) {let i = 0, a = e.next(i);for (r?.push(a.value); !a.done && i < n;) i += t, a = e.next(i), r?.push(a.value);return i >= n ? Infinity : i;}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs-function gf(e, t = 100, n) {+function hf(e, t = 100, n) {let { keyframes: r, velocity: i } = e, a = r && r[r.length - 1] - r[0], o = n({...e,velocity: i && a ? i * t / a : i,keyframes: [0, t]- }), s = Math.min(hf(o), mf);+ }), s = Math.min(mf(o), pf);return {type: "keyframes",ease: (e) => o.next(s * e).value / t,@@ -14509,7 +14509,7 @@ function gf(e, t = 100, n) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var _f = {+var gf = {stiffness: 100,damping: 10,mass: 1,@@ -14527,63 +14527,63 @@ var _f = {minDuration: .01,maxDuration: 10,minDamping: .05-}, vf = (e) => e < 0 ? 1 / Math.max(1 + e, _f.minDamping) : Math.max(1 - e, _f.minDamping);-function yf(e, t) {+}, _f = (e) => e < 0 ? 1 / Math.max(1 + e, gf.minDamping) : Math.max(1 - e, gf.minDamping);+function vf(e, t) {if (!(e > 1)) return 1;let n = Math.sqrt(e * e - 1), r = e - n, i = e + n, a = 2 * n * Math.exp(-t) * (1 + t);- return Sf((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return xf((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function bf(e, t) {+function yf(e, t) {return e * Math.sqrt(1 - t * t);}-var xf = 12;-function Sf(e, t, n) {+var bf = 12;+function xf(e, t, n) {let r = n;- for (let n = 1; n < xf; n++) r -= e(r) / t(r);+ for (let n = 1; n < bf; n++) r -= e(r) / t(r);return r;}-var Cf = .001;-function wf({ duration: e = _f.duration, bounce: t = _f.bounce }) {+var Sf = .001;+function Cf({ duration: e = gf.duration, bounce: t = gf.bounce }) {let n, r;- _f.maxDuration;- let i = vf(t);- e = ou(_f.minDuration, _f.maxDuration, /* @__PURE__ */ _u(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = bf(t, i), o = Math.exp(-r);- return Cf - n / a * o;+ gf.maxDuration;+ let i = _f(t);+ e = ou(gf.minDuration, gf.maxDuration, /* @__PURE__ */ _u(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = yf(t, i), o = Math.exp(-r);+ return Sf - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = bf(t * t, i);- return (-n(t) + Cf > 0 ? -1 : 1) * -a * o / s;+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = yf(t * t, i);+ return (-n(t) + Sf > 0 ? -1 : 1) * -a * o / s;}) : (n = (t) => -.001 + Math.exp(-t * e) * (t * e + 1), r = (t) => Math.exp(-t * e) * (-t * (e * e)));- let a = 5 / e, o = Sf(n, r, a), s = o * yf(i, o * e), c = s * s;+ let a = 5 / e, o = xf(n, r, a), s = o * vf(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),duration: /* @__PURE__ */ gu(e)};}-var Tf = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function Ef(e, t) {- if (Tf(e, t)) return e;+var wf = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function Tf(e, t) {+ if (wf(e, t)) return e;}-function Df(e) {- let t = Ef(e.stiffness), n = Ef(e.damping, !0), r = Ef(e.mass), i = {+function Ef(e) {+ let t = Tf(e.stiffness), n = Tf(e.damping, !0), r = Tf(e.mass), i = {...e,- stiffness: t ?? _f.stiffness,- damping: n ?? _f.damping,- mass: r ?? _f.mass,+ stiffness: t ?? gf.stiffness,+ damping: n ?? gf.damping,+ mass: r ?? gf.mass,isResolvedFromDuration: !1,isTimeDefined: (t ?? n ?? r) === void 0 && (e.duration !== void 0 || e.bounce !== void 0)};if (i.isTimeDefined) {if (e.visualDuration) {- let t = vf(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * yf(t, 2 * Math.PI / 1.2);+ let t = _f(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * vf(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);- } else Object.assign(i, wf(i)), i.isResolvedFromDuration = !0;- (!Tf(i.stiffness) || !Tf(i.damping, !0)) && (i.stiffness = _f.stiffness, i.damping = _f.damping);+ } else Object.assign(i, Cf(i)), i.isResolvedFromDuration = !0;+ (!wf(i.stiffness) || !wf(i.damping, !0)) && (i.stiffness = gf.stiffness, i.damping = gf.damping);}return i;}-function Of(e = _f.visualDuration, t = _f.bounce) {+function Df(e = gf.visualDuration, t = gf.bounce) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -14591,7 +14591,7 @@ function Of(e = _f.visualDuration, t = _f.bounce) {}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {done: !1,value: r- }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = Df({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ _u(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ _u(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = Ef({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ _u(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ _u(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -14599,12 +14599,12 @@ function Of(e = _f.visualDuration, t = _f.bounce) {restDelta: 0}, _ = () => {let e = Math.abs(g.delta) < 5;- g.restSpeed = n.restSpeed || (e ? _f.restSpeed.granular : _f.restSpeed.default), g.restDelta = n.restDelta || (e ? _f.restDelta.granular : _f.restDelta.default);+ g.restSpeed = n.restSpeed || (e ? gf.restSpeed.granular : gf.restSpeed.default), g.restDelta = n.restDelta || (e ? gf.restDelta.granular : gf.restDelta.default);};_();let v, y, b;if (p < 1) {- let e = bf(m, p), t = {+ let e = yf(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -14653,20 +14653,20 @@ function Of(e = _f.visualDuration, t = _f.bounce) {return a.value = a.done ? g.target : t, a;},toString: () => {- let e = Math.min(hf(S), mf), t = pf((t) => S.next(e * t).value, e, 30);+ let e = Math.min(mf(S), pf), t = ff((t) => S.next(e * t).value, e, 30);return e + "ms " + t;},toTransition: () => {}};return S;}-Of.applyToOptions = (e) => {- let t = gf(e, 100, Of);+Df.applyToOptions = (e) => {+ let t = hf(e, 100, Df);return e.ease = t.ease, e.duration = /* @__PURE__ */ gu(t.duration), e.type = "keyframes", e;};//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/inertia.mjs-function kf({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {+function Of({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {let d = e[0], f = {done: !1,value: d@@ -14676,7 +14676,7 @@ function kf({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32let t = v(e);f.done = Math.abs(t) <= l, f.value = f.done ? _ : _ + t;}, b, x, S = (e) => {- p(f.value) && (b = e, x = Of({+ p(f.value) && (b = e, x = Df({keyframes: [f.value, m(f.value)],velocity: -v(e) / r * 1e3,damping: i,@@ -14695,21 +14695,21 @@ function kf({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32}//#endregion//#region node_modules/motion-dom/dist/es/utils/interpolate.mjs-function Af(e, t, n) {- let r = [], i = n || su.mix || rf, a = e.length - 1;+function kf(e, t, n) {+ let r = [], i = n || su.mix || nf, a = e.length - 1;for (let n = 0; n < a; n++) {let a = i(e[n], e[n + 1]);t && (a = pu(Array.isArray(t) ? t[n] || fu : t, a)), r.push(a);}return r;}-function jf(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {+function Af(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {let a = e.length;if (t.length, a === 1) return () => t[0];if (a === 2 && t[0] === t[1]) return () => t[1];let o = e[0] === e[1];e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());- let s = Af(t, r, i), c = s.length, l = (n) => {+ let s = kf(t, r, i), c = s.length, l = (n) => {if (o && n < e[0]) return t[0];let r = 0;if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);@@ -14720,42 +14720,42 @@ function jf(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs-function Mf(e, t) {+function jf(e, t) {let n = e[e.length - 1];for (let r = 1; r <= t; r++) {let i = /* @__PURE__ */ mu(0, t, r);- e.push(Vd(n, 1, i));+ e.push(Bd(n, 1, i));}}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs-function Nf(e) {+function Mf(e) {let t = [0];- return Mf(t, e.length - 1), t;+ return jf(t, e.length - 1), t;}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs-function Pf(e, t) {+function Nf(e, t) {return e.map((e) => e * t);}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs-function Ff(e, t) {+function Pf(e, t) {return e.map(() => t || Nu).splice(0, e.length - 1);}-function If({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {+function Ff({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {let i = /* @__PURE__ */ Pu(r) ? r.map(zu) : zu(r) || Nu, a = {done: !1,value: t[0]};if (t.length === 2 && !Array.isArray(i) && (!n || n.length !== 2 || n[0] === 0 && n[1] === 1)) {- let [n, r] = t, o = n === r ? void 0 : (su.mix || rf)(n, r);+ let [n, r] = t, o = n === r ? void 0 : (su.mix || nf)(n, r);return {calculatedDuration: e,next: (t) => (a.value = o ? o(i(e > 0 ? ou(0, 1, t / e) : 1)) : r, a.done = t >= e, a)};}- let o = jf(Pf(n && n.length === t.length ? n : Nf(t), e), t, { ease: Array.isArray(i) ? i : Ff(t, i) });+ let o = Af(Nf(n && n.length === t.length ? n : Mf(t), e), t, { ease: Array.isArray(i) ? i : Pf(t, i) });return {calculatedDuration: e,next: (t) => (a.value = o(t), a.done = t >= e, a)@@ -14763,39 +14763,39 @@ function If({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs-var Lf = 5;-function Rf(e, t, n) {- let r = Math.max(t - Lf, 0);+var If = 5;+function Lf(e, t, n) {+ let r = Math.max(t - If, 0);return /* @__PURE__ */ vu(n - e(r), t - r);}-function zf(e, t, n = 0) {- return t <= 0 ? n : e.velocity ? e.velocity(t) : Rf((t) => e.next(t).value, t, e.next(t).value);+function Rf(e, t, n = 0) {+ return t <= 0 ? n : e.velocity ? e.velocity(t) : Lf((t) => e.next(t).value, t, e.next(t).value);}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs-var Bf = (e) => e !== null;-function Vf(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {- let a = e.filter(Bf), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;+var zf = (e) => e !== null;+function Bf(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(zf), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;return !o || r === void 0 ? a[o] : r;}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs-var Hf = {- decay: kf,- inertia: kf,- tween: If,- keyframes: If,- spring: Of+var Vf = {+ decay: Of,+ inertia: Of,+ tween: Ff,+ keyframes: Ff,+ spring: Df};-function Uf(e) {- typeof e.type == "string" && (e.type = Hf[e.type]);+function Hf(e) {+ typeof e.type == "string" && (e.type = Vf[e.type]);}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/resolve-start-time.mjs-var Wf = 40, Gf = (e, t) => t - e > Wf && !su.useManualTiming ? t : e;+var Uf = 40, Wf = (e, t) => t - e > Uf && !su.useManualTiming ? t : e;//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function Kf(e, t) {+function Gf(e, t) {return {kind: e,animation: t,@@ -14804,11 +14804,11 @@ function Kf(e, t) {frameIsProcessing: Bu.isProcessing};}-function qf(e, t, n) {+function Kf(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...Kf("animation-start", e),+ ...Gf("animation-start", e),options: n ? {...t,...n@@ -14816,18 +14816,18 @@ function qf(e, t, n) {});} catch {}}-function Jf(e, t) {+function qf(e, t) {let n = globalThis.__MOTION_INSPECT__;if (n) try {n({- ...Kf("layout-animation-start", e),+ ...Gf("layout-animation-start", e),node: t});} catch {}}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var Yf = class {+var Jf = class {constructor() {this.isResolved = !1;}@@ -14845,7 +14845,7 @@ var Yf = class {then(e, t) {return this.finished.then(e, t);}-}, Xf = (e) => e / 100, Zf = (e) => Math.round(e * 1e4) / 1e4, Qf = class extends Yf {+}, Yf = (e) => e / 100, Xf = (e) => Math.round(e * 1e4) / 1e4, Zf = class extends Jf {constructor(e) {super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {done: !1,@@ -14853,13 +14853,13 @@ var Yf = class {}, this.stop = () => {let { motionValue: e } = this.options;e && e.updatedAt !== Uu.now() && this.tick(Uu.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), qf(this, this.options);+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Kf(this, this.options);}initAnimation() {let { options: e } = this;- Uf(e);- let { type: t = If, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || If;- s !== If && typeof o[0] != "number" && (this.mixKeyframes = pu(Xf, rf(o[0], o[1])), o = [0, 100]);+ Hf(e);+ let { type: t = Ff, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Ff;+ s !== Ff && typeof o[0] != "number" && (this.mixKeyframes = pu(Yf, nf(o[0], o[1])), o = [0, 100]);let c = s(o === e.keyframes ? e : {...e,keyframes: o@@ -14868,7 +14868,7 @@ var Yf = class {...e,keyframes: [...o].reverse(),velocity: -a- })), c.calculatedDuration === null && (c.calculatedDuration = hf(c));+ })), c.calculatedDuration === null && (c.calculatedDuration = mf(c));let { calculatedDuration: l } = c;this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;}@@ -14880,20 +14880,20 @@ var Yf = class {let { generator: n, totalDuration: r, calculatedDuration: i } = this;if (this.startTime === null) return n.next(0);let { delay: a = 0, keyframes: o, type: s, onUpdate: c, finalKeyframe: l } = this.options;- this.startTime === this.pendingStartTime && (this.startTime = Gf(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);+ this.startTime === this.pendingStartTime && (this.startTime = Wf(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);let u = this.currentTime - a * (this.playbackSpeed >= 0 ? 1 : -1), d = this.playbackSpeed >= 0 ? u < 0 : u > r;this.currentTime = Math.max(u, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);let f = this.generate(this.currentTime, d), { done: p } = f;!d && i !== null && (p = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);let m = this.holdTime === null && (this.state === "finished" || this.state === "running" && p);- return m && s !== kf && (f.value = Vf(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;+ return m && s !== Of && (f.value = Bf(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;}at(e) {- return this.holdTime ?? Zf((e - this.startTime) * this.playbackSpeed);+ return this.holdTime ?? Xf((e - this.startTime) * this.playbackSpeed);}sampleAt(e, t) {let { options: n, totalDuration: r } = this, i = this.at(e) - (n.delay || 0);- return i >= r && n.type !== kf ? Vf(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;+ return i >= r && n.type !== Of ? Bf(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;}generate(e, t) {let { generator: n, totalDuration: r, mixKeyframes: i, mirroredGenerator: a, resolvedDuration: o } = this, { keyframes: s, repeat: c, repeatType: l, repeatDelay: u } = this.options, d = e, f = n;@@ -14921,7 +14921,7 @@ var Yf = class {e = /* @__PURE__ */ gu(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));}getGeneratorVelocity() {- return zf(this.generator, this.currentTime, this.options.velocity);+ return Rf(this.generator, this.currentTime, this.options.velocity);}get speed() {return this.playbackSpeed;@@ -14932,7 +14932,7 @@ var Yf = class {}play() {if (this.isStopped) return;- let { driver: e = ff, startTime: t } = this.options;+ let { driver: e = df, startTime: t } = this.options;this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();let n = this.driver.now();this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? (this.pendingStartTime = n) : this.startTime = n - this.holdTime / (this.playbackSpeed || 1), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();@@ -14961,39 +14961,39 @@ var Yf = class {attachTimeline(e) {return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);}-}, $f = /* @__PURE__ */ new Set([+}, Qf = /* @__PURE__ */ new Set(["brightness","contrast","saturate","opacity"]);-function ep(e) {+function $f(e) {let [t, n] = e.slice(0, -1).split("(");if (t === "drop-shadow") return e;let [r] = n.match(ed) || [];if (!r) return e;- let i = n.replace(r, ""), a = +!!$f.has(t);+ let i = n.replace(r, ""), a = +!!Qf.has(t);return r !== n && (a *= 100), t + "(" + a + i + ")";}-var tp = /\b([a-z-]*)\(.*?\)/gu, np = {- ...Ld,+var ep = /\b([a-z-]*)\(.*?\)/gu, tp = {+ ...Id,getAnimatableNone: (e) => {- let t = e.match(tp);- return t ? t.map(ep).join(" ") : e;+ let t = e.match(ep);+ return t ? t.map($f).join(" ") : e;}-}, rp = {- ...Ld,+}, np = {+ ...Id,getAnimatableNone: (e) => {- let t = Ld.parse(e);- return Ld.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {+ let t = Id.parse(e);+ return Id.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {...e,alpha: 1} : e));}-}, ip = {+}, rp = {...Zu,transform: Math.round-}, ap = {+}, ip = {rotate: dd,pathRotation: dd,rotateX: dd,@@ -15006,104 +15006,104 @@ var tp = /\b([a-z-]*)\(.*?\)/gu, np = {skew: dd,skewX: dd,skewY: dd,- distance: pd,- translateX: pd,- translateY: pd,- translateZ: pd,- x: pd,- y: pd,- z: pd,- perspective: pd,- transformPerspective: pd,+ distance: G,+ translateX: G,+ translateY: G,+ translateZ: G,+ x: G,+ y: G,+ z: G,+ perspective: G,+ transformPerspective: G,opacity: Qu,- originX: gd,- originY: gd,- originZ: pd-}, op = {- borderWidth: pd,- borderTopWidth: pd,- borderRightWidth: pd,- borderBottomWidth: pd,- borderLeftWidth: pd,- borderRadius: pd,- borderTopLeftRadius: pd,- borderTopRightRadius: pd,- borderBottomRightRadius: pd,- borderBottomLeftRadius: pd,- width: pd,- maxWidth: pd,- height: pd,- maxHeight: pd,- top: pd,- right: pd,- bottom: pd,- left: pd,- inset: pd,- insetBlock: pd,- insetBlockStart: pd,- insetBlockEnd: pd,- insetInline: pd,- insetInlineStart: pd,- insetInlineEnd: pd,- padding: pd,- paddingTop: pd,- paddingRight: pd,- paddingBottom: pd,- paddingLeft: pd,- paddingBlock: pd,- paddingBlockStart: pd,- paddingBlockEnd: pd,- paddingInline: pd,- paddingInlineStart: pd,- paddingInlineEnd: pd,- margin: pd,- marginTop: pd,- marginRight: pd,- marginBottom: pd,- marginLeft: pd,- marginBlock: pd,- marginBlockStart: pd,- marginBlockEnd: pd,- marginInline: pd,- marginInlineStart: pd,- marginInlineEnd: pd,- fontSize: pd,- backgroundPositionX: pd,- backgroundPositionY: pd,- ...ap,- zIndex: ip,+ originX: hd,+ originY: hd,+ originZ: G+}, ap = {+ borderWidth: G,+ borderTopWidth: G,+ borderRightWidth: G,+ borderBottomWidth: G,+ borderLeftWidth: G,+ borderRadius: G,+ borderTopLeftRadius: G,+ borderTopRightRadius: G,+ borderBottomRightRadius: G,+ borderBottomLeftRadius: G,+ width: G,+ maxWidth: G,+ height: G,+ maxHeight: G,+ top: G,+ right: G,+ bottom: G,+ left: G,+ inset: G,+ insetBlock: G,+ insetBlockStart: G,+ insetBlockEnd: G,+ insetInline: G,+ insetInlineStart: G,+ insetInlineEnd: G,+ padding: G,+ paddingTop: G,+ paddingRight: G,+ paddingBottom: G,+ paddingLeft: G,+ paddingBlock: G,+ paddingBlockStart: G,+ paddingBlockEnd: G,+ paddingInline: G,+ paddingInlineStart: G,+ paddingInlineEnd: G,+ margin: G,+ marginTop: G,+ marginRight: G,+ marginBottom: G,+ marginLeft: G,+ marginBlock: G,+ marginBlockStart: G,+ marginBlockEnd: G,+ marginInline: G,+ marginInlineStart: G,+ marginInlineEnd: G,+ fontSize: G,+ backgroundPositionX: G,+ backgroundPositionY: G,+ ...ip,+ zIndex: rp,fillOpacity: Qu,strokeOpacity: Qu,- numOctaves: ip-}, sp = {- ...op,- color: vd,- backgroundColor: vd,- outlineColor: vd,- fill: vd,- stroke: vd,- borderColor: vd,- borderTopColor: vd,- borderRightColor: vd,- borderBottomColor: vd,- borderLeftColor: vd,- filter: np,- WebkitFilter: np,- mask: rp,- WebkitMask: rp-}, cp = (e) => sp[e], lp = /*@__PURE__*/ new Set([np, rp]);-function up(e, t) {- let n = cp(e);- return lp.has(n) || (n = Ld), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;+ numOctaves: rp+}, op = {+ ...ap,+ color: _d,+ backgroundColor: _d,+ outlineColor: _d,+ fill: _d,+ stroke: _d,+ borderColor: _d,+ borderTopColor: _d,+ borderRightColor: _d,+ borderBottomColor: _d,+ borderLeftColor: _d,+ filter: tp,+ WebkitFilter: tp,+ mask: np,+ WebkitMask: np+}, sp = (e) => op[e], cp = /*@__PURE__*/ new Set([tp, np]);+function lp(e, t) {+ let n = sp(e);+ return cp.has(n) || (n = Id), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function dp(e) {+function up(e) {for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);}//#endregion//#region node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs-var fp = (e) => e * 180 / Math.PI, pp = (e) => hp(fp(Math.atan2(e[1], e[0]))), mp = {+var dp = (e) => e * 180 / Math.PI, fp = (e) => mp(dp(Math.atan2(e[1], e[0]))), pp = {x: 4,y: 5,translateX: 4,@@ -15112,55 +15112,55 @@ var fp = (e) => e * 180 / Math.PI, pp = (e) => hp(fp(Math.atan2(e[1], e[0]))), mscaleY: 3,scaleZ: () => 1,scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,- rotate: pp,- rotateZ: pp,- skewX: (e) => fp(Math.atan(e[1])),- skewY: (e) => fp(Math.atan(e[2])),+ rotate: fp,+ rotateZ: fp,+ skewX: (e) => dp(Math.atan(e[1])),+ skewY: (e) => dp(Math.atan(e[2])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2-}, hp = (e) => (e %= 360, e < 0 && (e += 360), e), gp = pp, _p = (e) => Math.hypot(e[0], e[1]), vp = (e) => Math.hypot(e[4], e[5]), yp = {+}, mp = (e) => (e %= 360, e < 0 && (e += 360), e), hp = fp, gp = (e) => Math.hypot(e[0], e[1]), _p = (e) => Math.hypot(e[4], e[5]), vp = {x: 12,y: 13,z: 14,translateX: 12,translateY: 13,translateZ: 14,- scaleX: _p,- scaleY: vp,+ scaleX: gp,+ scaleY: _p,scaleZ: (e) => Math.hypot(e[8], e[9], e[10]),- scale: (e) => (_p(e) + vp(e)) / 2,- rotateX: (e) => hp(fp(Math.atan2(e[6], e[5]))),- rotateY: (e) => hp(fp(Math.atan2(-e[2], e[0]))),- rotateZ: gp,- rotate: gp,- skewX: (e) => fp(Math.atan(e[4])),- skewY: (e) => fp(Math.atan(e[1])),+ scale: (e) => (gp(e) + _p(e)) / 2,+ rotateX: (e) => mp(dp(Math.atan2(e[6], e[5]))),+ rotateY: (e) => mp(dp(Math.atan2(-e[2], e[0]))),+ rotateZ: hp,+ rotate: hp,+ skewX: (e) => dp(Math.atan(e[4])),+ skewY: (e) => dp(Math.atan(e[1])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2};-function bp(e) {+function yp(e) {return +!!e.includes("scale");}-function xp(e, t) {- if (!e || e === "none") return bp(t);+function bp(e, t) {+ if (!e || e === "none") return yp(t);let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;- if (n) r = yp, i = n;+ if (n) r = vp, i = n;else {let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);- r = mp, i = t;+ r = pp, i = t;}- if (!i) return bp(t);- let a = r[t], o = i[1].split(",").map(Cp);+ if (!i) return yp(t);+ let a = r[t], o = i[1].split(",").map(Sp);return typeof a == "function" ? a(o) : o[a];}-var Sp = (e, t) => {+var xp = (e, t) => {let { transform: n = "none" } = getComputedStyle(e);- return xp(n, t);+ return bp(n, t);};-function Cp(e) {+function Sp(e) {return parseFloat(e.trim());}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs-var wp = [+var Cp = ["transformPerspective","x","y",@@ -15179,14 +15179,14 @@ var wp = ["skew","skewX","skewY"-], Tp = /* @__PURE__ */ new Set([...wp, "pathRotation"]), Ep = (e) => e === Zu || e === pd, Dp = /* @__PURE__ */ new Set([+], wp = /* @__PURE__ */ new Set([...Cp, "pathRotation"]), Tp = (e) => e === Zu || e === G, Ep = /* @__PURE__ */ new Set(["x","y","z"-]), Op = wp.filter((e) => !Dp.has(e));-function kp(e) {+]), Dp = Cp.filter((e) => !Ep.has(e));+function Op(e) {let t = [];- return Op.forEach((n) => {+ return Dp.forEach((n) => {let r = e.getValue(n);if (r !== void 0) {let e = r.get(), i = +!!n.startsWith("scale");@@ -15195,16 +15195,16 @@ function kp(e) {}}), t;}-var Ap = /* @__PURE__ */ new Set(["bottom", "right"]);-function jp(e, t, n, r, i, a) {+var kp = /* @__PURE__ */ new Set(["bottom", "right"]);+function Ap(e, t, n, r, i, a) {let o = parseFloat(e);if (!isNaN(o)) return o;let { min: s, max: c } = t()[n], l = c - s;return a === "border-box" ? l : l - parseFloat(r) - parseFloat(i);}-var Mp = {- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => jp(e, i, "x", t, n, r),- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => jp(e, i, "y", t, n, r),+var jp = {+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => Ap(e, i, "x", t, n, r),+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => Ap(e, i, "y", t, n, r),top: ({ top: e }) => parseFloat(e),left: ({ left: e }) => parseFloat(e),bottom: ({ top: e }, t) => {@@ -15215,22 +15215,22 @@ var Mp = {let { x: n } = t();return parseFloat(e) + (n.max - n.min);},- x: ({ transform: e }) => xp(e, "x"),- y: ({ transform: e }) => xp(e, "y")+ x: ({ transform: e }) => bp(e, "x"),+ y: ({ transform: e }) => bp(e, "y")};-Mp.translateX = Mp.x, Mp.translateY = Mp.y;+jp.translateX = jp.x, jp.translateY = jp.y;//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs-var Np = /* @__PURE__ */ new Set(), Pp = !1, Fp = !1, Ip = !1;-function Lp() {- if (Fp) {+var Mp = /* @__PURE__ */ new Set(), Np = !1, Pp = !1, Fp = !1;+function Ip() {+ if (Pp) {let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();- Np.forEach((r) => {- r.needsMeasurement && (e.push(r), t.add(r.element), Ap.has(r.name) && n.add(r.element));+ Mp.forEach((r) => {+ r.needsMeasurement && (e.push(r), t.add(r.element), kp.has(r.name) && n.add(r.element));});let r = /* @__PURE__ */ new Map();n.forEach((e) => {- let t = kp(e);+ let t = Op(e);t.length && (r.set(e, t), e.render());}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {e.render();@@ -15242,29 +15242,29 @@ function Lp() {e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);});}- Fp = !1, Pp = !1, Np.forEach((e) => e.complete(Ip)), Np.clear();+ Pp = !1, Np = !1, Mp.forEach((e) => e.complete(Fp)), Mp.clear();}-function Rp() {- Np.forEach((e) => {- e.readKeyframes(), e.needsMeasurement && (Fp = !0);+function Lp() {+ Mp.forEach((e) => {+ e.readKeyframes(), e.needsMeasurement && (Pp = !0);});}-function zp() {- Ip = !0, Rp(), Lp(), Ip = !1;+function Rp() {+ Fp = !0, Lp(), Ip(), Fp = !1;}-function Bp(e, t, n) {+function zp(e, t, n) {if (typeof e == "string") {if (cu(e) || uu(e)) return parseFloat(e);- if (!Ld.test(e) && Ld.test(n)) return up(t, n);+ if (!Id.test(e) && Id.test(n)) return lp(t, n);}return e ?? void 0;}-var Vp = class {+var Bp = class {constructor(e, t, n, r, i, a = !1) {this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;}scheduleResolve() {- this.state = "scheduled", this.isAsync ? (Np.add(this), Pp || (Pp = !0, lf.read(Rp), lf.resolveKeyframes(Lp))) : (this.readKeyframes(), this.complete());+ this.state = "scheduled", this.isAsync ? (Mp.add(this), Np || (Np = !0, cf.read(Lp), cf.resolveKeyframes(Ip))) : (this.readKeyframes(), this.complete());}readKeyframes() {let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;@@ -15272,75 +15272,75 @@ var Vp = class {let i = r?.get(), a = e[e.length - 1];if (i !== void 0) e[0] = i;else if (n && t) {- let r = Bp(n.readValue(t, a), t, a);+ let r = zp(n.readValue(t, a), t, a);r !== void 0 && (e[0] = r);}e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);}- dp(e);+ up(e);}setFinalKeyframe() {}measureInitialState() {}renderEndStyles() {}measureEndState() {}complete(e = !1) {- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Np.delete(this);+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Mp.delete(this);}cancel() {- this.state === "scheduled" && (Np.delete(this), this.state = "pending");+ this.state === "scheduled" && (Mp.delete(this), this.state = "pending");}resume() {this.state === "pending" && this.scheduleResolve();}-}, Hp = (e) => e.startsWith("--");+}, Vp = (e) => e.startsWith("--");//#endregion//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function Up(e, t, n) {- Hp(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function Hp(e, t, n) {+ Vp(t) ? e.style.setProperty(t, n) : e.style[t] = n;}//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs-var Wp = {};+var Up = {};//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function Gp(e, t) {+function Wp(e, t) {let n = /* @__PURE__ */ du(e);- return () => Wp[t] ?? n();+ return () => Up[t] ?? n();}//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var Kp = /* @__PURE__ */ Gp(() => window.ScrollTimeline !== void 0, "scrollTimeline"), qp = /*@__PURE__*/ Gp(() => {+var Gp = /* @__PURE__ */ Wp(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Kp = /*@__PURE__*/ Wp(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), Jp = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Yp = {+}, "linearEasing"), qp = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Jp = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ Jp([+ circIn: /*@__PURE__*/ qp([0,.65,.55,1]),- circOut: /*@__PURE__*/ Jp([+ circOut: /*@__PURE__*/ qp([.55,0,1,.45]),- backIn: /*@__PURE__*/ Jp([+ backIn: /*@__PURE__*/ qp([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ Jp([+ backOut: /*@__PURE__*/ qp([.33,1.53,.69,@@ -15349,15 +15349,15 @@ var Kp = /* @__PURE__ */ Gp(() => window.ScrollTimeline !== void 0, "scrollTimel};//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function Xp(e, t) {- if (e) return typeof e == "function" ? qp() ? pf(e, t) : "ease-out" : /* @__PURE__ */ Iu(e) ? Jp(e) : Array.isArray(e) ? e.map((e) => Xp(e, t) || Yp.easeOut) : Yp[e];+function Yp(e, t) {+ if (e) return typeof e == "function" ? Kp() ? ff(e, t) : "ease-out" : /* @__PURE__ */ Iu(e) ? qp(e) : Array.isArray(e) ? e.map((e) => Yp(e, t) || Jp.easeOut) : Jp[e];}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs-function Zp(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {+function Xp(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {let u = { [t]: n };c && (u.offset = c);- let d = Xp(s, i);+ let d = Yp(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -15371,29 +15371,29 @@ function Zp(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyp}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function Qp(e) {+function Zp(e) {return typeof e == "function" && "applyToOptions" in e;}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs-function $p({ type: e, ...t }) {- return Qp(e) && qp() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+function Qp({ type: e, ...t }) {+ return Zp(e) && Kp() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}//#endregion//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var em = class extends Yf {+var $p = class extends Jf {constructor(e) {if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;- let c = $p(e);- this.animation = Zp(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ let c = Qp(e);+ this.animation = Xp(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {if (this.finishedTime = this.time, !i) {- let e = Vf(r, this.options, o, this.speed);- this.updateMotionValue && this.updateMotionValue(e), Up(t, n, e), this.animation.cancel();+ let e = Bf(r, this.options, o, this.speed);+ this.updateMotionValue && this.updateMotionValue(e), Hp(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, qf(this, e, c);+ }, Kf(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -15450,22 +15450,22 @@ var em = class extends Yf {this.manualStartTime = this.animation.startTime = e;}attachTimeline({ timeline: e, onAttach: t, observe: n }) {- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Kp() ? (this.animation.timeline = e, t?.(this.animation), fu) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Gp() ? (this.animation.timeline = e, t?.(this.animation), fu) : n(this);}-}, tm = {+}, em = {anticipate: Du,backInOut: Eu,circInOut: Au};-function nm(e) {- return e in tm;+function tm(e) {+ return e in em;}-function rm(e) {- typeof e.ease == "string" && nm(e.ease) && (e.ease = tm[e.ease]);+function nm(e) {+ typeof e.ease == "string" && tm(e.ease) && (e.ease = em[e.ease]);}-var im = class extends em {+var rm = class extends $p {constructor(e) {- rm(e), Uf(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;+ nm(e), Hf(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;}elapsed() {return this.state === "running" ? (Uu.now() - this.startTime) * this.speed : this.time * 1e3;@@ -15473,7 +15473,7 @@ var im = class extends em {sample(e) {if (!this.sampler) {let { motionValue: e, onUpdate: t, onComplete: n, onPlay: r, onStop: i, element: a, ...o } = this.options;- this.sampler = new Qf({+ this.sampler = new Zf({...o,autoplay: !1}), this.sampler.stop();@@ -15492,44 +15492,44 @@ var im = class extends em {return;}let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? ou(0, 10, a) : 0, s = this.sample(a);- n && r && Up(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));+ n && r && Hp(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));}-}, am = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Ld.test(e) || e === "0") && !e.startsWith("url("));+}, im = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Id.test(e) || e === "0") && !e.startsWith("url("));//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs-function om(e) {+function am(e) {let t = e[0];if (e.length === 1) return !0;for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;}-function sm(e, t, n, r) {+function om(e, t, n, r) {let i = e[0];if (i === null) return !1;if (t === "display" || t === "visibility") return !0;- let a = e[e.length - 1], o = am(i, t), s = am(a, t);- return !o || !s ? (o !== s && `${t}${i}${a}${o ? a : i}`, !1) : om(e) || (n === "spring" || Qp(n)) && r;+ let a = e[e.length - 1], o = im(i, t), s = im(a, t);+ return !o || !s ? (o !== s && `${t}${i}${a}${o ? a : i}`, !1) : am(e) || (n === "spring" || Zp(n)) && r;}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs-function cm(e) {+function sm(e) {e.duration = 0, e.type = "keyframes";}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs-var lm = /* @__PURE__ */ new Set([+var cm = /* @__PURE__ */ new Set(["opacity","clipPath","filter","transform","backgroundColor"-]), um = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;-function dm(e) {- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && um.test(e[t])) return !0;+]), lm = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;+function um(e) {+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && lm.test(e[t])) return !0;return !1;}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs-var fm = /* @__PURE__ */ new Set([+var dm = /* @__PURE__ */ new Set(["color","backgroundColor","outlineColor",@@ -15540,27 +15540,27 @@ var fm = /* @__PURE__ */ new Set(["borderRightColor","borderBottomColor","borderLeftColor"-]), pm = /*@__PURE__*/ du(() => Object.hasOwnProperty.call(Element.prototype, "animate"));-function mm(e) {+]), fm = /*@__PURE__*/ du(() => Object.hasOwnProperty.call(Element.prototype, "animate"));+function pm(e) {let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;- if (!n || !(lm.has(n) || fm.has(n))) return !1;+ if (!n || !(cm.has(n) || dm.has(n))) return !1;let c = t?.owner?.current;if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;let { onUpdate: l, transformTemplate: u } = t.owner.getProps();- return pm() && (lm.has(n) || fm.has(n) && dm(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";+ return fm() && (cm.has(n) || dm.has(n) && um(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";}//#endregion//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs-var hm = (e, t) => t && typeof e == "number" ? t.transform(e) : e, gm = {+var mm = (e, t) => t && typeof e == "number" ? t.transform(e) : e, hm = {x: "translateX",y: "translateY",z: "translateZ",transformPerspective: "perspective"-}, _m = wp.length;-function vm(e, t, n) {+}, gm = Cp.length;+function _m(e, t, n) {let r = "", i = !0;- for (let a = 0; a < _m; a++) {- let o = wp[a], s = e[o];+ for (let a = 0; a < gm; a++) {+ let o = Cp[a], s = e[o];if (s === void 0) continue;let c = !0;if (typeof s == "number") c = s === +!!o.startsWith("scale");@@ -15569,44 +15569,44 @@ function vm(e, t, n) {c = o.startsWith("scale") ? e === 1 : e === 0;}if (!c || n) {- let e = hm(s, op[o]);+ let e = mm(s, ap[o]);if (!c) {i = !1;- let t = gm[o] || o;+ let t = hm[o] || o;r += `${t}(${e}) `;}n && (t[o] = e);}}let a = e.pathRotation;- return a && (i = !1, r += `rotate(${hm(a, op.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;+ return a && (i = !1, r += `rotate(${mm(a, ap.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs-var ym = /* @__PURE__ */ new WeakMap(), bm = 200, xm = .001, Sm = .1, Cm = .001, wm = 100, Tm = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Em = (e, t) => e - t, Dm = (e, t, n) => {+var vm = /* @__PURE__ */ new WeakMap(), ym = 200, bm = .001, xm = .1, Sm = .001, Cm = 100, wm = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Tm = (e, t) => e - t, Em = (e, t, n) => {let r = [];- for (let i = 0; i <= n; i++) r.push(Vd(e, t, i / n));+ for (let i = 0; i <= n; i++) r.push(Bd(e, t, i / n));return r;-}, Om = (e) => e.motionValue.owner, km = (e) => ym.get(e), Am = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), jm = ({ name: e, motionValue: t }) => e && wp.includes(e) && t?.owner?.current instanceof HTMLElement && pm() && qp();-function Mm(e) {- let t = Om(e), { onUpdate: n, transformTemplate: r } = t.getProps();- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (Am(t, "transform") || "none") === "none" && !Am(t, "pathRotation") && !t.projection?.isProjecting();+}, Dm = (e) => e.motionValue.owner, Om = (e) => vm.get(e), km = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), Am = ({ name: e, motionValue: t }) => e && Cp.includes(e) && t?.owner?.current instanceof HTMLElement && fm() && Kp();+function jm(e) {+ let t = Dm(e), { onUpdate: n, transformTemplate: r } = t.getProps();+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (km(t, "transform") || "none") === "none" && !km(t, "pathRotation") && !t.projection?.isProjecting();}-var Nm = class extends Qf {+var Mm = class extends Zf {constructor(e) {- let t = Om(e).current, { driver: n = ff } = e, r = Mm(e);+ let t = Dm(e).current, { driver: n = df } = e, r = jm(e);e.driver = (e) => {let r = n(e);return {js: r,now: r.now,start: (e = !0) => {- let n = km(t);+ let n = Om(t);!n || n.isJS ? r.start(e) : n.schedule(!1, !e);},stop: () => {r.stop();- let e = km(t);+ let e = Om(t);e?.schedule(!e.isFinishing);}};@@ -15617,7 +15617,7 @@ var Nm = class extends Qf {};}get group() {- return km(Om(this.options).current);+ return Om(Dm(this.options).current);}get js() {return this.driver?.js;@@ -15637,8 +15637,8 @@ var Nm = class extends Qf {return this.isAccelerated() ? this.sampleAt(Uu.now()) : void 0;}tween() {- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Iu(n) ? Jp(n) : Tm(n) && Yp[n];- if (o && !i && !r && e.length === 2 && t === If && this.holdTime === null) {+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Iu(n) ? qp(n) : wm(n) && Jp[n];+ if (o && !i && !r && e.length === 2 && t === Ff && this.holdTime === null) {let e = this.startTime + a / this.speed;return [e,@@ -15648,7 +15648,7 @@ var Nm = class extends Qf {}}boundaries(e, t) {- let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || If) === If ? u || Nf(d) : [0, 1], m = n + o / r, h = [];+ let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || Ff) === Ff ? u || Mf(d) : [0, 1], m = n + o / r, h = [];if (this.holdTime !== null || !(i > 0)) return h;for (let n = Math.max(0, Math.floor((e - m) * r / i)); n <= s; n++) {let a = m + n * i / r;@@ -15668,7 +15668,7 @@ var Nm = class extends Qf {this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);}play() {- this.isStopped || ((this.group || Pm(Om(this.options))).tracks.add(this), super.play());+ this.isStopped || ((this.group || Nm(Dm(this.options))).tracks.add(this), super.play());}pause() {super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));@@ -15688,22 +15688,22 @@ var Nm = class extends Qf {return this.canAccelerate = !1, this.group?.demote(!0), super.attachTimeline(e);}};-function Pm(e) {+function Nm(e) {let t = e.current, n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = {}, a = [], o = /* @__PURE__ */ new Map(), s = [], c = !1, l = !1, u = !1, d = -Infinity, f = (e) => {for (let t of n) if (t.name === e) return !0;}, p = (t, n) => {let o = {};- for (let s of t === void 0 ? wp : a) {- let a = r.get(s), c = t === void 0 ? Am(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];+ for (let s of t === void 0 ? Cp : a) {+ let a = r.get(s), c = t === void 0 ? km(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];c !== void 0 && (o[s] = c);}return o;}, m = (e, t) => {let n = "", r = p(e, t);- for (let e in r) n += (gm[e] || e) + "(" + hm(r[e], op[e]) + ") ";+ for (let e in r) n += (hm[e] || e) + "(" + mm(r[e], ap[e]) + ") ";return n || "none";}, h = (e = p()) => {- t.style.transform = vm(e, {});+ t.style.transform = _m(e, {});}, g = (e = !0) => {e && h(), s.forEach(({ animation: e }) => e.cancel()), s = [];}, _ = (e, t, n = Infinity) => {@@ -15723,34 +15723,34 @@ function Pm(e) {}return r(t, n) > i / 2 ? [t, n] : [];}, y = (e, t, n, r) => {- let i = Math.min(bm, Math.max(2, Math.ceil((n - t) / 10)));+ let i = Math.min(ym, Math.max(2, Math.ceil((n - t) / 10)));if (r.length * 4 > i) return;- let a = Dm(t, n, i).concat(r).sort(Em), o = (e) => /* @__PURE__ */ mu(t, n, e), s, c;+ let a = Em(t, n, i).concat(r).sort(Tm), o = (e) => /* @__PURE__ */ mu(t, n, e), s, c;for (let t of e) {let e = a.map((e) => t.numberAt(e)), [n] = e, r = e[e.length - 1] - n, i = e.map((e) => r ? (e - n) / r : e - n);if (!r) {- if (i.some((e) => !(Math.abs(e) <= xm))) return;+ if (i.some((e) => !(Math.abs(e) <= bm))) return;} else if (!s) s = i, c = (e) => (t.numberAt(e) - n) / r;- else if (i.some((e, t) => !(Math.abs(e - s[t]) <= xm))) return;+ else if (i.some((e, t) => !(Math.abs(e - s[t]) <= bm))) return;}- if (!s || s.every((e, t) => Math.abs(e - o(a[t])) <= xm)) return "linear";- let l = [], u = (e, t = c(e)) => l.push(Zf(t) + " " + Zf(o(e) * 100) + "%");+ if (!s || s.every((e, t) => Math.abs(e - o(a[t])) <= bm)) return "linear";+ let l = [], u = (e, t = c(e)) => l.push(Xf(t) + " " + Xf(o(e) * 100) + "%");return s.forEach((e, t) => {t && Math.abs(e - s[t - 1]) > .2 && v(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);}), "linear(" + l + ")";}, b = (e, t, n, r) => {- let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? Cm : Sm))), o = (t, n, r) => {+ let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? Sm : xm))), o = (t, n, r) => {if (n - t < 1 || a(t, n)) i.push(n);else if (r < 4) o(t, (t + n) / 2, r + 1), o((t + n) / 2, n, r + 1);else {for (let r of e) i.push(...v((e) => r.numberAt(e), t, n));i.push(n);}- }, s = Dm(t, n, Math.ceil((n - t) / 100));+ }, s = Em(t, n, Math.ceil((n - t) / 100));for (let e of r) s.push(e, Math.min(e + .01, n));let c = t;- for (let e of s.sort(Em)) e > c && o(c, e, 0), c = e;- return i.sort(Em);+ for (let e of s.sort(Tm)) e > c && o(c, e, 0), c = e;+ return i.sort(Tm);}, x = (e) => {let t;for (let n of e) {@@ -15789,9 +15789,9 @@ function Pm(e) {f.push(e), l = Math.max(l, t);}}- i = {}, a = wp.filter((t) => {+ i = {}, a = Cp.filter((t) => {if (r.has(t)) return !0;- let n = i[t] = Am(e, t);+ let n = i[t] = km(e, t);return n !== void 0 && parseFloat(n) !== +!!t.startsWith("scale");}), g(!1);let h = !u && x(f);@@ -15842,11 +15842,11 @@ function Pm(e) {let r = Uu.now();if (E.isJS || (E.isFinishing = !0, n.forEach((t) => {let [n, a] = t.timing();- t.state === "running" && t.speed > 0 && !a && n <= r + 1 && (t.complete(), i[t.name] = Am(e, t.name), o.has(t) || (c = !0));+ t.state === "running" && t.speed > 0 && !a && n <= r + 1 && (t.complete(), i[t.name] = km(e, t.name), o.has(t) || (c = !0));}), E.isFinishing = !1), l = !1, n.forEach(({ state: e }, t) => {(e === "idle" || e === "finished") && n.delete(t);}), !n.size) {- ym.delete(t), E.isJS || g();+ vm.delete(t), E.isJS || g();return;}for (let e of n) if (!e.canAccelerate) return E.demote(!0);@@ -15854,7 +15854,7 @@ function Pm(e) {let a = c, s = u;if (c = u = !1, a || !w(r)) {if (s) {- if (r - d < wm) return E.demote();+ if (r - d < Cm) return E.demote();d = r;}if (!C(r)) return E.demote();@@ -15864,11 +15864,11 @@ function Pm(e) {isJS: !1,isFinishing: !1,schedule(e, t) {- c ||= e, u ||= !!t, l || (l = !0, Bu.isProcessing ? lf.render(T, !1, !0) : queueMicrotask(T));+ c ||= e, u ||= !!t, l || (l = !0, Bu.isProcessing ? cf.render(T, !1, !0) : queueMicrotask(T));},check() {if (!E.isJS) {- for (let t in i) if (Am(e, t) !== i[t] && !f(t)) return E.schedule(!0, !0);+ for (let t in i) if (km(e, t) !== i[t] && !f(t)) return E.schedule(!0, !0);}},demote(e) {@@ -15877,18 +15877,18 @@ function Pm(e) {}), E.isJS = !0, o = /* @__PURE__ */ new Map(), g(), n.forEach((e) => e.state === "running" && e.js?.start()));}};- return ym.set(t, E), E;+ return vm.set(t, E), E;}//#endregion//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs-var Fm = class extends Yf {+var Pm = class extends Jf {constructor(e) {super(), this.stop = () => {this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();}, this.createdAt = Uu.now();let { keyframes: t, name: n, motionValue: r, element: i } = e, a = e;a.autoplay ??= !0, a.delay ??= 0, a.type ??= "keyframes", a.repeat ??= 0, a.repeatDelay ??= 0, a.repeatType ??= "loop";- let o = i?.KeyframeResolver || Vp;+ let o = i?.KeyframeResolver || Bp;this.keyframeResolver = new o(t, (e, t, n) => this.onKeyframesResolved(e, t, a, !n), n, r, i), this.keyframeResolver?.scheduleResolve();}onKeyframesResolved(e, t, n, r) {@@ -15896,22 +15896,22 @@ var Fm = class extends Yf {let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;this.resolvedAt = Uu.now();let u = !0;- sm(e, i, a, o) || (u = !1, (su.instantAnimations || !s) && l?.(Vf(e, n, t)), e[0] = e[e.length - 1], cm(n), n.repeat = 0);+ om(e, i, a, o) || (u = !1, (su.instantAnimations || !s) && l?.(Bf(e, n, t)), e[0] = e[e.length - 1], sm(n), n.repeat = 0);let { onComplete: d } = n;n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {d?.(), this.notifyFinished();};- let f = u && !c && mm(n), p = !f && jm(n);- r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Gf(this.createdAt, this.resolvedAt));+ let f = u && !c && pm(n), p = !f && Am(n);+ r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Wf(this.createdAt, this.resolvedAt));let m;if (f) {n.element = n.motionValue?.owner?.current;try {- m = new im(n);+ m = new rm(n);} catch {- m = new Qf(n);+ m = new Zf(n);}- } else m = p ? new Nm(n) : new Qf(n);+ } else m = p ? new Mm(n) : new Zf(n);this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;}get finished() {@@ -15924,7 +15924,7 @@ var Fm = class extends Yf {return this._animation?.liveValue?.();}get animation() {- return this._animation || (this.keyframeResolver?.resume(), zp()), this._animation;+ return this._animation || (this.keyframeResolver?.resume(), Rp()), this._animation;}get duration() {return this.animation.duration;@@ -15965,7 +15965,7 @@ var Fm = class extends Yf {cancel() {this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();}-}, Im = class {+}, Fm = class {constructor(e) {this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);}@@ -16005,10 +16005,10 @@ var Fm = class extends Yf {return this.getAll("startTime");}get duration() {- return Lm(this.animations, "duration");+ return Im(this.animations, "duration");}get iterationDuration() {- return Lm(this.animations, "iterationDuration");+ return Im(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -16026,7 +16026,7 @@ var Fm = class extends Yf {this.runAll("complete");}};-function Lm(e, t) {+function Im(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -16036,24 +16036,24 @@ function Lm(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var Rm = class extends Im {+var Lm = class extends Fm {then(e, t) {return this.finished.finally(e).then(() => {});}-}, zm = /* @__PURE__ */ new WeakMap(), Bm = (e, t = "") => `${e}:${t}`;-function Vm(e) {- let t = zm.get(e);- return t || (t = /* @__PURE__ */ new Map(), zm.set(e, t)), t;+}, Rm = /* @__PURE__ */ new WeakMap(), zm = (e, t = "") => `${e}:${t}`;+function Bm(e) {+ let t = Rm.get(e);+ return t || (t = /* @__PURE__ */ new Map(), Rm.set(e, t)), t;}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs-function Hm(e, t, n, r = 0, i = 1) {+function Vm(e, t, n, r = 0, i = 1) {let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;}//#endregion//#region node_modules/motion-dom/dist/es/value/index.mjs-var Um = 30, Wm = (e) => !isNaN(parseFloat(e)), Gm = { current: void 0 }, Km = class {+var Hm = 30, Um = (e) => !isNaN(parseFloat(e)), Wm = { current: void 0 }, Gm = class {constructor(e, t = {}) {this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {let t = Uu.now();@@ -16061,7 +16061,7 @@ var Um = 30, Wm = (e) => !isNaN(parseFloat(e)), Gm = { current: void 0 }, Km = c}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;}setCurrent(e) {- this.current = e, this.updatedAt = Uu.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Wm(this.current));+ this.current = e, this.updatedAt = Uu.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Um(this.current));}setPrevFrameValue(e = this.current) {this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;@@ -16080,7 +16080,7 @@ var Um = 30, Wm = (e) => !isNaN(parseFloat(e)), Gm = { current: void 0 }, Km = c};}stopIfUnobserved() {- lf.read(() => {+ cf.read(() => {!this.changeSubscriber && !this.events.change?.getSize() && this.stop();});}@@ -16114,7 +16114,7 @@ var Um = 30, Wm = (e) => !isNaN(parseFloat(e)), Gm = { current: void 0 }, Km = cthis.dependents && this.dependents.delete(e);}get() {- Gm.current && Gm.current.push(this);+ Wm.current && Wm.current.push(this);let e = this.animation?.liveValue?.();return e === void 0 ? this.current : e;}@@ -16126,8 +16126,8 @@ var Um = 30, Wm = (e) => !isNaN(parseFloat(e)), Gm = { current: void 0 }, Km = c}getVelocity() {let e = Uu.now();- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Um) return 0;- let t = Math.min(this.updatedAt - this.prevUpdatedAt, Um);+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Hm) return 0;+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, Hm);return /* @__PURE__ */ vu(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);}start(e) {@@ -16152,12 +16152,12 @@ var Um = 30, Wm = (e) => !isNaN(parseFloat(e)), Gm = { current: void 0 }, Km = cthis.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();}};-function qm(e, t) {- return new Km(e, t);+function Km(e, t) {+ return new Gm(e, t);}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function Jm(e, t) {+function qm(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -16169,26 +16169,26 @@ function Jm(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function Ym(e, t) {+function Jm(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : Jm(n, e);+ return n === e ? n : qm(n, e);}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs-var Xm = {+var Ym = {type: "spring",stiffness: 500,damping: 25,restSpeed: 10-}, Zm = (e) => ({+}, Xm = (e) => ({type: "spring",stiffness: 550,damping: e === 0 ? 2 * Math.sqrt(550) : 30,restSpeed: 10-}), Qm = {+}), Zm = {type: "keyframes",duration: .8-}, $m = {+}, Qm = {type: "keyframes",ease: [.25,@@ -16197,7 +16197,7 @@ var Xm = {1],duration: .3-}, eh = (e, { keyframes: t }) => t.length > 2 ? Qm : Tp.has(e) ? e.startsWith("scale") ? Zm(t[1]) : Xm : $m, th = /* @__PURE__ */ new Set([+}, $m = (e, { keyframes: t }) => t.length > 2 ? Zm : wp.has(e) ? e.startsWith("scale") ? Xm(t[1]) : Ym : Qm, eh = /* @__PURE__ */ new Set(["when","delay","delayChildren",@@ -16209,14 +16209,14 @@ var Xm = {"from","elapsed"]);-function nh(e) {- for (let t in e) if (!th.has(t)) return !0;+function th(e) {+ for (let t in e) if (!eh.has(t)) return !0;return !1;}//#endregion//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs-var rh = (e, t, n, r = {}, i, a) => (o) => {- let s = Ym(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;+var nh = (e, t, n, r = {}, i, a) => (o) => {+ let s = Jm(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;l -= /* @__PURE__ */ gu(c);let u = {keyframes: Array.isArray(n) ? n : [null, n],@@ -16235,91 +16235,91 @@ var rh = (e, t, n, r = {}, i, a) => (o) => {element: a ? void 0 : i,hasOnUpdate: !!s.onUpdate};- nh(s) || Object.assign(u, eh(e, u)), u.duration &&= /* @__PURE__ */ gu(u.duration), u.repeatDelay &&= /* @__PURE__ */ gu(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);+ th(s) || Object.assign(u, $m(e, u)), u.duration &&= /* @__PURE__ */ gu(u.duration), u.repeatDelay &&= /* @__PURE__ */ gu(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);let d = !1;- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (cm(u), u.delay === 0 && (d = !0)), (su.instantAnimations || su.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, cm(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {- let e = Vf(u.keyframes, s);+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (sm(u), u.delay === 0 && (d = !0)), (su.instantAnimations || su.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, sm(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {+ let e = Bf(u.keyframes, s);if (e !== void 0) {- lf.update(() => {+ cf.update(() => {u.onUpdate(e), u.onComplete();});return;}}- return s.isSync ? new Qf(u) : new Fm(u);-}, ih = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;-function ah(e) {- let t = ih.exec(e);+ return s.isSync ? new Zf(u) : new Pm(u);+}, rh = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;+function ih(e) {+ let t = rh.exec(e);if (!t) return [,];let [, n, r, i] = t;return [`--${n ?? r}`, i];}-function oh(e, t, n = 1) {+function ah(e, t, n = 1) {`${e}`;- let [r, i] = ah(e);+ let [r, i] = ih(e);if (!r) return;let a = window.getComputedStyle(t).getPropertyValue(r);if (a) {let e = a.trim();return cu(e) ? parseFloat(e) : e;}- return Ju(i) ? oh(i, t, n + 1) : i;+ return Ju(i) ? ah(i, t, n + 1) : i;}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs-function sh(e) {+function oh(e) {let t = [{}, {}];return e?.values.forEach((e, n) => {t[0][n] = e.get(), t[1][n] = e.getVelocity();}), t;}-function ch(e, t, n, r) {- let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...sh(r)) : t;+function sh(e, t, n, r) {+ let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...oh(r)) : t;return t = i(t), typeof t == "string" && (t = e.variants && e.variants[t]), i(t);}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs-function lh(e, t, n) {- return ch(e.getProps(), t, n, e);+function ch(e, t, n) {+ return sh(e.getProps(), t, n, e);}-var uh = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, dh = /* @__PURE__ */ new Set([+var lh = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, uh = /* @__PURE__ */ new Set(["width","height","top","left","right","bottom",- ...wp-]), fh = (e) => Array.isArray(e);+ ...Cp+]), dh = (e) => Array.isArray(e);//#endregion//#region node_modules/motion-dom/dist/es/render/utils/setters.mjs-function ph(e, t, n) {- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, qm(n));+function fh(e, t, n) {+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Km(n));}-function mh(e) {- return fh(e) ? e[e.length - 1] || 0 : e;+function ph(e) {+ return dh(e) ? e[e.length - 1] || 0 : e;}-function hh(e, t) {- let { transitionEnd: n = {}, transition: r = {}, ...i } = lh(e, t) || {};+function mh(e, t) {+ let { transitionEnd: n = {}, transition: r = {}, ...i } = ch(e, t) || {};i = {...i,...n};- for (let t in i) ph(e, t, mh(i[t]));+ for (let t in i) fh(e, t, ph(i[t]));}//#endregion//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs-var gh = (e) => !!(e && e.getVelocity);+var hh = (e) => !!(e && e.getVelocity);//#endregion//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs-function _h(e) {- return !!(gh(e) && e.add);+function gh(e) {+ return !!(hh(e) && e.add);}//#endregion//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs-function vh(e, t) {+function _h(e, t) {let n = e.getValue("willChange");- if (_h(n)) return n.add(t);+ if (gh(n)) return n.add(t);if (!n && su.WillChange) {let n = new su.WillChange("auto");e.addValue("willChange", n), n.add(t);@@ -16327,59 +16327,59 @@ function vh(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs-function yh(e) {+function vh(e) {return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);}-var bh = "data-" + yh("framerAppearId");+var yh = "data-" + vh("framerAppearId");//#endregion//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs-function xh(e) {- return e.props[bh];+function bh(e) {+ return e.props[yh];}//#endregion//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs-var Sh = typeof window < "u";-function Ch({ protectedKeys: e, needsAnimating: t }, n) {+var xh = typeof window < "u";+function Sh({ protectedKeys: e, needsAnimating: t }, n) {let r = n in e && !t[n];return t[n] = !1, r;}-function wh(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {+function Ch(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();- a = a ? Jm(a, c) : c;+ a = a ? qm(a, c) : c;let l = a?.reduceMotion, u = a?.skipAnimations;r && (a = r);let d = [], f = i && e.animationState?.getState()[i], p = a?.path;p && p.animateVisualElement(e, s, a, n, d);for (let t in s) {let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];- if (i === void 0 || f && Ch(f, t)) continue;+ if (i === void 0 || f && Sh(f, t)) continue;let o = {delay: n,- ...Ym(a || {}, t)+ ...Jm(a || {}, t)};u && (o.skipAnimations = !0);let c = r.get();if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {- lf.update(() => r.set(i));+ cf.update(() => r.set(i));continue;}let p = !1;- if (Sh && window.MotionHandoffAnimation) {- let n = xh(e);+ if (xh && window.MotionHandoffAnimation) {+ let n = bh(e);if (n) {- let e = window.MotionHandoffAnimation(n, t, lf);+ let e = window.MotionHandoffAnimation(n, t, cf);e !== null && (o.startTime = e, p = !0);}}- vh(e, t);+ _h(e, t);let m = l ?? e.shouldReduceMotion;- r.start(rh(t, r, i, m && dh.has(t) ? { type: !1 } : o, e, p));+ r.start(nh(t, r, i, m && uh.has(t) ? { type: !1 } : o, e, p));let h = r.animation;h && d.push(h);}if (o) {- let t = () => lf.update(() => {- o && hh(e, o);+ let t = () => cf.update(() => {+ o && mh(e, o);});d.length ? Promise.all(d).then(t) : t();}@@ -16387,13 +16387,13 @@ function wh(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs-function Th(e, t, n = {}) {- let r = lh(e, t, uh(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? wh(e, r, n) : []), o = (r = 0) => {+function wh(e, t, n = {}) {+ let r = ch(e, t, lh(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Ch(e, r, n) : []), o = (r = 0) => {let { variantChildren: a } = e, { delayChildren: o = 0, staggerChildren: s, staggerDirection: c } = i, l = [];return a?.forEach((e) => {- e.notify("AnimationStart", t), l.push(Th(e, t, {+ e.notify("AnimationStart", t), l.push(wh(e, t, {...n,- delay: r + (typeof o == "function" ? 0 : o) + Hm(a, e, o, s, c)+ delay: r + (typeof o == "function" ? 0 : o) + Vm(a, e, o, s, c)}).then(() => e.notify("AnimationComplete", t)));}), Promise.all(l);}, { when: s } = i;@@ -16401,48 +16401,48 @@ function Th(e, t, n = {}) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs-function Eh(e, t, n = {}) {- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Th(e, t, n))) : typeof t == "string" ? Th(e, t, n) : Promise.all(wh(e, lh(e, t, n.custom), n))).then(() => {+function Th(e, t, n = {}) {+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => wh(e, t, n))) : typeof t == "string" ? wh(e, t, n) : Promise.all(Ch(e, ch(e, t, n.custom), n))).then(() => {e.notify("AnimationComplete", t);});}//#endregion//#region node_modules/motion-dom/dist/es/value/types/auto.mjs-var Dh = {+var Eh = {test: (e) => e === "auto",parse: (e) => e-}, Oh = (e) => (t) => t.test(e), kh = [+}, Dh = (e) => (t) => t.test(e), Oh = [Zu,- pd,+ G,fd,dd,- hd,md,- Dh-], Ah = (e) => kh.find(Oh(e));+ pd,+ Eh+], kh = (e) => Oh.find(Dh(e));//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs-function jh(e) {+function Ah(e) {return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || uu(e);}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs-var Mh = /* @__PURE__ */ new Set([+var jh = /* @__PURE__ */ new Set(["auto","none","0"]);-function Nh(e, t, n) {+function Mh(e, t, n) {let r = 0, i;for (; r < e.length && !i;) {let t = e[r];- typeof t == "string" && !Mh.has(t) && kd(t) && (i = e[r]), r++;+ typeof t == "string" && !jh.has(t) && Od(t) && (i = e[r]), r++;}- if (i && n) for (let r of t) e[r] !== i && (e[r] = up(n, i));+ if (i && n) for (let r of t) e[r] !== i && (e[r] = lp(n, i));}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs-var Ph = class extends Vp {+var Nh = class extends Bp {constructor(e, t, n, r, i) {super(e, t, n, r, i, !0);}@@ -16463,31 +16463,31 @@ var Ph = class extends Vp {for (let n = 0; n < e.length; n++) {let r = e[n];if (typeof r == "string" && (r = r.trim(), Ju(r))) {- let i = oh(r, t.current);+ let i = ah(r, t.current);i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);}}- if (this.resolveNoneKeyframes(), !dh.has(n) || e.length !== 2) return;+ if (this.resolveNoneKeyframes(), !uh.has(n) || e.length !== 2) return;let [r, i] = e;if (typeof r == "number" && typeof i == "number") return;- let a = Ah(r), o = Ah(i);- if (Xu(r) !== Xu(i) && Mp[n]) this.needsMeasurement = !0;+ let a = kh(r), o = kh(i);+ if (Xu(r) !== Xu(i) && jp[n]) this.needsMeasurement = !0;else if (a !== o) {- if (Ep(a) && Ep(o)) for (let t = 0; t < e.length; t++) {+ if (Tp(a) && Tp(o)) for (let t = 0; t < e.length; t++) {let n = e[t];typeof n == "string" && (e[t] = parseFloat(n));}- else Mp[n] && (this.needsMeasurement = !0);+ else jp[n] && (this.needsMeasurement = !0);}}resolveNoneKeyframes() {let { unresolvedKeyframes: e, name: t } = this, n = [];- for (let t = 0; t < e.length; t++) (e[t] === null || jh(e[t])) && n.push(t);- n.length && Nh(e, n, t);+ for (let t = 0; t < e.length; t++) (e[t] === null || Ah(e[t])) && n.push(t);+ n.length && Mh(e, n, t);}measure() {let { element: e, name: t } = this;- return Mp[t](window.getComputedStyle(e.current), () => e.measureViewportBox());+ return jp[t](window.getComputedStyle(e.current), () => e.measureViewportBox());}measureInitialState() {let { element: e, unresolvedKeyframes: t, name: n } = this;@@ -16505,19 +16505,19 @@ var Ph = class extends Vp {e.getValue(t).set(n);}), this.resolveNoneKeyframes();}-}, Fh = [+}, Ph = ["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"-], Ih = /* @__PURE__ */ new Set([+], Fh = /* @__PURE__ */ new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius",- ...Fh,+ ...Ph,"width","maxWidth","height",@@ -16561,70 +16561,70 @@ var Ph = class extends Vp {]);//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs-function Lh(e, t) {- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Ih.has(t) && (e[n] = e[n] + "px");+function Ih(e, t) {+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Fh.has(t) && (e[n] = e[n] + "px");}//#endregion//#region node_modules/motion-dom/dist/es/animation/animate/effects.mjs-var Rh = [];+var Lh = [];+function Rh(e) {+ typeof e.test == "function" && e.read, zh(e), Lh.unshift(e);+}function zh(e) {- typeof e.test == "function" && e.read, Bh(e), Rh.unshift(e);+ au(Lh, e);}function Bh(e) {- au(Rh, e);+ return Lh.find((t) => t.test(e));}-function Vh(e) {- return Rh.find((t) => t.test(e));-}-function Hh(e, t, n = {}, r) {+function Vh(e, t, n = {}, r) {let i = [], { velocity: a } = n, o = n.reduceMotion ?? r?.shouldReduceMotion;for (let s in t) {if (s === "transition" || s === "transitionEnd") continue;let c = t[s];if (c === void 0) continue;let l = e(s), u = l.get();- u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? lf.update(() => l.set(c)) : (l.start(rh(s, l, c, o && dh.has(s) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? cf.update(() => l.set(c)) : (l.start(nh(s, l, c, o && uh.has(s) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));}let { transitionEnd: s } = t;if (s) {- let t = () => lf.update(() => {+ let t = () => cf.update(() => {for (let t in s) e(t).set(s[t]);});i.length ? Promise.all(i).then(t) : t();}return i;}-function Uh(e, t, n, r, i) {- return Hh((r) => {+function Hh(e, t, n, r, i) {+ return Vh((r) => {let a = e.get(t, r);if (!a) {let o;if (!i) {let i = n[r];- o = Wh(i) ?? e.read(t, r, i), `${r}`;+ o = Uh(i) ?? e.read(t, r, i), `${r}`;}- a = qm(o, { owner: i }), e(t, { [r]: a });+ a = Km(o, { owner: i }), e(t, { [r]: a });}return a;}, n, r, i);}-function Wh(e) {+function Uh(e) {let t = Array.isArray(e) ? e[0] : void 0;return t === null ? void 0 : t;}//#endregion//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs-function Gh(e) {+function Wh(e) {return lu(e) && "offsetHeight" in e && !("ownerSVGElement" in e);}//#endregion//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs-function Kh(e) {+function Gh(e) {return lu(e) && "ownerSVGElement" in e;}//#endregion//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs-function qh(e, t, n) {+function Kh(e, t, n) {if (e == null) return [];if (e instanceof EventTarget) return [e];if (typeof e == "string") {@@ -16637,8 +16637,8 @@ function qh(e, t, n) {}//#endregion//#region node_modules/motion-dom/dist/es/effects/MotionValueState.mjs-var Jh = class {- constructor(e = lf.render) {+var qh = class {+ constructor(e = cf.render) {this.step = e, this.values = /* @__PURE__ */ new Map(), this.pending = [], this.numPending = 0, this.flush = () => {let { pending: e, numPending: t } = this;this.numPending = 0;@@ -16682,10 +16682,10 @@ var Jh = class {};//#endregion//#region node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs-function Yh(e, { step: t, ...n } = {}) {+function Jh(e, { step: t, ...n } = {}) {let r = /* @__PURE__ */ new WeakMap();return Object.assign((n, i) => {- let a = r.get(n) ?? new Jh(t);+ let a = r.get(n) ?? new qh(t);r.set(n, a);let o = [];for (let t in i) {@@ -16703,63 +16703,63 @@ function Yh(e, { step: t, ...n } = {}) {}//#endregion//#region node_modules/motion-dom/dist/es/effects/style/transform.mjs-var Xh = {};-function Zh(e) {+var Yh = {};+function Xh(e) {let t = "", { transformKeys: n = [], transformValues: r = {} } = e;for (let e = 0; e < n.length; e++) {let i = n[e], a = r[i].getCurrent();- a !== void 0 && (typeof a == "number" ? a : parseFloat(a)) !== +!!i.startsWith("scale") && (t += (t && " ") + (Xh[i] || (Xh[i] = (gm[i] || i) + "(")) + hm(a, ap[i]) + ")");+ a !== void 0 && (typeof a == "number" ? a : parseFloat(a)) !== +!!i.startsWith("scale") && (t += (t && " ") + (Yh[i] || (Yh[i] = (hm[i] || i) + "(")) + mm(a, ip[i]) + ")");}let i = e.get("pathRotation")?.get();- return i && (t += (t && " ") + "rotate(" + hm(i, ap.pathRotation) + ")"), t || "none";+ return i && (t += (t && " ") + "rotate(" + mm(i, ip.pathRotation) + ")"), t || "none";}//#endregion//#region node_modules/motion-dom/dist/es/effects/style/index.mjs-var Qh = /* @__PURE__ */ new Set([+var Zh = /* @__PURE__ */ new Set(["originX","originY","originZ"-]), $h = (e, t) => hm(e.get(t)?.get(), op[t]), eg = (e, t, n, r) => {+]), Qh = (e, t) => mm(e.get(t)?.get(), ap[t]), $h = (e, t, n, r) => {let i, a;- if (Tp.has(n)) {+ if (wp.has(n)) {if (n !== "pathRotation") {let e = t.transformKeys ??= [];- (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => wp.indexOf(e) - wp.indexOf(t)));+ (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => Cp.indexOf(e) - Cp.indexOf(t)));}- t.get("transform") || (!Gh(e) && !t.get("transformBox") && eg(e, t, "transformBox", new Km("fill-box")), t.set("transform", new Km("none"), () => {- ym.get(e)?.check(), e.style.transform = Zh(t);+ t.get("transform") || (!Wh(e) && !t.get("transformBox") && $h(e, t, "transformBox", new Gm("fill-box")), t.set("transform", new Gm("none"), () => {+ vm.get(e)?.check(), e.style.transform = Xh(t);})), a = t.get("transform");- } else Qh.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new Km(""), () => {- let n = $h(t, "originX") ?? "50%", r = $h(t, "originY") ?? "50%", i = $h(t, "originZ") ?? 0;+ } else Zh.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new Gm(""), () => {+ let n = Qh(t, "originX") ?? "50%", r = Qh(t, "originY") ?? "50%", i = Qh(t, "originZ") ?? 0;e.style.transformOrigin = `${n} ${r} ${i}`;- }), a = t.get("transformOrigin")) : i = Hp(n) ? () => {+ }), a = t.get("transformOrigin")) : i = Vp(n) ? () => {e.style.setProperty(n, r.getCurrent());} : () => {- e.style[n] = hm(r.getCurrent(), op[n]);+ e.style[n] = mm(r.getCurrent(), ap[n]);};return t.set(n, r, i, a);-}, tg = (e) => Gh(e) || Kh(e), ng = (e, t) => {- if (Tp.has(t)) return Sp(e, t);- let n = getComputedStyle(e), r = Hp(t) ? n.getPropertyValue(t) : n[t];+}, eg = (e) => Wh(e) || Gh(e), tg = (e, t) => {+ if (wp.has(t)) return xp(e, t);+ let n = getComputedStyle(e), r = Vp(t) ? n.getPropertyValue(t) : n[t];return typeof r == "string" && r.trim() || 0;-}, rg = /*@__PURE__*/ Yh(eg, {- test: tg,- read: ng+}, ng = /*@__PURE__*/ Jh($h, {+ test: eg,+ read: tg});//#endregion//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs-function ig(e, t, n) {+function rg(e, t, n) {let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;for (let e in t) {let n = t[e];- if (Tp.has(e)) o = !0;+ if (wp.has(e)) o = !0;else if (Ku(e)) i[e] = n;else {- let t = hm(n, op[e]);+ let t = mm(n, ap[e]);e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;}}- if (t.transform || (o || n ? r.transform = vm(t, e.transform, n) : r.transform &&= "none"), s) {+ if (t.transform || (o || n ? r.transform = _m(t, e.transform, n) : r.transform &&= "none"), s) {let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;r.transformOrigin = `${e} ${t} ${n}`;}@@ -16780,7 +16780,7 @@ function nee(e, t, n = 1, r = 0, i = !0) {}//#endregion//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs-var ag = [+var ig = ["transform","opacity","clipPath",@@ -16790,14 +16790,14 @@ var ag = ["offsetRotate","offsetAnchor"];-function og(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {- if (ig(e, s, l), c) {+function ag(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {+ if (rg(e, s, l), c) {e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);return;}e.attrs = e.style, e.style = {};let { attrs: d, style: f } = e;- for (let e of ag) d[e] !== void 0 && (f[e] = d[e], delete d[e]);+ for (let e of ig) d[e] !== void 0 && (f[e] = d[e], delete d[e]);(f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && nee(d, i, a, o, !1);}//#endregion@@ -16807,13 +16807,13 @@ function ree(e, t) {let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);return n && typeof n.set == "function";}-var sg = (e, t, n, r, i = n) => {+var og = (e, t, n, r, i = n) => {let a = ree(e, i);- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = yh(i));- let o = op[n] || op[i], s = a ? () => {- e[i] = hm(r.get(), op[n]);+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = vh(i));+ let o = ap[n] || ap[i], s = a ? () => {+ e[i] = mm(r.get(), ap[n]);} : () => {- let t = hm(r.get(), o);+ let t = mm(r.get(), o);t == null ? e.removeAttribute(i) : e.setAttribute(i, String(t));};return t.set(n, r, s);@@ -16821,24 +16821,24 @@ var sg = (e, t, n, r, i = n) => {//#endregion//#region node_modules/motion-dom/dist/es/effects/svg/index.mjsfunction iee(e, t, n, r) {- return lf.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {+ return cf.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {let t = r.get();e.setAttribute("stroke-dashoffset", `${-t}`);- }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new Km("1 1"), () => {+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new Gm("1 1"), () => {let n = t.get("pathLength")?.get() ?? 1, r = t.get("pathSpacing")?.get();e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);}), t.set(n, r, void 0, t.get("stroke-dasharray")));}-var aee = /*@__PURE__*/ Yh((e, t, n, r) => n.startsWith("path") ? iee(e, t, n, r) : n.startsWith("attr") ? sg(e, t, n, r, cg(n)) : (Tp.has(n) || Qh.has(n) || Hp(n) || n in e.style ? eg : sg)(e, t, n, r), {- test: Kh,- read: (e, t) => Tp.has(t) ? op[t]?.default || 0 : Hp(t) || ag.includes(t) ? ng(e, t) || e.getAttribute(yh(t)) || 0 : (t = cg(t), e.getAttribute(yh(t)) ?? e.getAttribute(t) ?? void 0)+var aee = /*@__PURE__*/ Jh((e, t, n, r) => n.startsWith("path") ? iee(e, t, n, r) : n.startsWith("attr") ? og(e, t, n, r, sg(n)) : (wp.has(n) || Zh.has(n) || Vp(n) || n in e.style ? $h : og)(e, t, n, r), {+ test: Gh,+ read: (e, t) => wp.has(t) ? ap[t]?.default || 0 : Vp(t) || ig.includes(t) ? tg(e, t) || e.getAttribute(vh(t)) || 0 : (t = sg(t), e.getAttribute(vh(t)) ?? e.getAttribute(t) ?? void 0)});-function cg(e) {+function sg(e) {return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs-function lg({ top: e, left: t, right: n, bottom: r }) {+function cg({ top: e, left: t, right: n, bottom: r }) {return {x: {min: t,@@ -16876,37 +16876,37 @@ function see(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs-function ug(e) {+function lg(e) {return e === void 0 || e === 1;}-function dg({ scale: e, scaleX: t, scaleY: n }) {- return !ug(e) || !ug(t) || !ug(n);+function ug({ scale: e, scaleX: t, scaleY: n }) {+ return !lg(e) || !lg(t) || !lg(n);+}+function dg(e) {+ return ug(e) || fg(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;}function fg(e) {- return dg(e) || pg(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;+ return pg(e.x) || pg(e.y);}function pg(e) {- return mg(e.x) || mg(e.y);-}-function mg(e) {return e && e !== "0%";}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs-function hg(e, t, n) {+function mg(e, t, n) {return n + t * (e - n);}-function gg(e, t, n, r, i) {- return i !== void 0 && (e = hg(e, i, r)), hg(e, n, r) + t;+function hg(e, t, n, r, i) {+ return i !== void 0 && (e = mg(e, i, r)), mg(e, n, r) + t;}-function _g(e, t = 0, n = 1, r, i) {- e.min = gg(e.min, t, n, r, i), e.max = gg(e.max, t, n, r, i);+function gg(e, t = 0, n = 1, r, i) {+ e.min = hg(e.min, t, n, r, i), e.max = hg(e.max, t, n, r, i);}-function vg(e, { x: t, y: n }) {- _g(e.x, t.translate, t.scale, t.originPoint), _g(e.y, n.translate, n.scale, n.originPoint);+function _g(e, { x: t, y: n }) {+ gg(e.x, t.translate, t.scale, t.originPoint), gg(e.y, n.translate, n.scale, n.originPoint);}-var yg = .999999999999, bg = 1.0000000000001;-function cee(e, t, n, r = !1) {+var vg = .999999999999, yg = 1.0000000000001;+function bg(e, t, n, r = !1) {let i = n.length;if (!i) return;t.x = t.y = 1;@@ -16914,15 +16914,15 @@ function cee(e, t, n, r = !1) {for (let s = 0; s < i; s++) {a = n[s], o = a.projectionDelta;let { visualElement: i } = a.options;- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (xg(e.x, -a.scroll.offset.x), xg(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, vg(e, o)), r && fg(a.latestValues) && wg(e, a.latestValues, a.layout?.layoutBox));+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (xg(e.x, -a.scroll.offset.x), xg(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, _g(e, o)), r && dg(a.latestValues) && wg(e, a.latestValues, a.layout?.layoutBox));}- t.x < bg && t.x > yg && (t.x = 1), t.y < bg && t.y > yg && (t.y = 1);+ t.x < yg && t.x > vg && (t.x = 1), t.y < yg && t.y > vg && (t.y = 1);}function xg(e, t) {e.min += t, e.max += t;}function Sg(e, t, n, r, i = .5) {- _g(e, t, n, Vd(e.min, e.max, i), r);+ gg(e, t, n, Bd(e.min, e.max, i), r);}function Cg(e, t) {return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;@@ -16934,17 +16934,17 @@ function wg(e, t, n) {//#endregion//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjsfunction Tg(e, t) {- return lg(see(e.getBoundingClientRect(), t));+ return cg(see(e.getBoundingClientRect(), t));}-function lee(e, t, n) {+function Eg(e, t, n) {let r = Tg(e, n), { scroll: i } = t;return i && (xg(r.x, i.offset.x), xg(r.y, i.offset.y)), r;}//#endregion//#region node_modules/motion-dom/dist/es/animation/animate/element.mjs-var uee = {}, dee = (e) => Kh(e) ? aee : rg, Eg = class {+var Dg = {}, Og = (e) => Gh(e) ? aee : ng, kg = class {constructor(e, t) {- this.effect = e, this.current = t, this.KeyframeResolver = Ph;+ this.effect = e, this.current = t, this.KeyframeResolver = Nh;}getValue(e) {return this.effect.get(this.current, e);@@ -16959,17 +16959,17 @@ var uee = {}, dee = (e) => Kh(e) ? aee : rg, Eg = class {return Tg(this.current);}getProps() {- return uee;+ return Dg;}};-function Dg(e, t, n, r) {- if (r) return Hh((e) => r.getValue(e, null), t, n, r);- let i = dee(e);- return Uh(i, e, t, n, new Eg(i, e));+function Ag(e, t, n, r) {+ if (r) return Vh((e) => r.getValue(e, null), t, n, r);+ let i = Og(e);+ return Hh(i, e, t, n, new kg(i, e));}//#endregion//#region node_modules/motion-dom/dist/es/effects/prop/index.mjs-var Og = /*@__PURE__*/ Yh((e, t, n, r) => t.set(n, r, () => {+var jg = /*@__PURE__*/ Jh((e, t, n, r) => t.set(n, r, () => {e[n] = r.get();}), {test: (e) => lu(e),@@ -16977,26 +16977,26 @@ var Og = /*@__PURE__*/ Yh((e, t, n, r) => t.set(n, r, () => {let n = e[t];return typeof n == "string" || typeof n == "number" ? n : void 0;}-}), { schedule: kg, cancel: fee } = /* @__PURE__ */ cf(queueMicrotask, !1), Ag = {+}), { schedule: Mg, cancel: cee } = /* @__PURE__ */ sf(queueMicrotask, !1), Ng = {x: !1,y: !1};-function jg() {- return Ag.x || Ag.y;+function Pg() {+ return Ng.x || Ng.y;}//#endregion//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs-function pee(e) {- return e === "x" || e === "y" ? Ag[e] ? null : (Ag[e] = !0, () => {- Ag[e] = !1;- }) : Ag.x || Ag.y ? null : (Ag.x = Ag.y = !0, () => {- Ag.x = Ag.y = !1;+function lee(e) {+ return e === "x" || e === "y" ? Ng[e] ? null : (Ng[e] = !0, () => {+ Ng[e] = !1;+ }) : Ng.x || Ng.y ? null : (Ng.x = Ng.y = !0, () => {+ Ng.x = Ng.y = !1;});}//#endregion//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs-function Mg(e, t) {- let n = qh(e), r = new AbortController();+function Fg(e, t) {+ let n = Kh(e), r = new AbortController();return [n,{@@ -17009,11 +17009,11 @@ function Mg(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/gestures/hover.mjs-function mee(e) {- return !(e.pointerType === "touch" || jg());+function uee(e) {+ return !(e.pointerType === "touch" || Pg());}-function hee(e, t, n = {}) {- let [r, i, a] = Mg(e, n);+function dee(e, t, n = {}) {+ let [r, i, a] = Fg(e, n);return r.forEach((e) => {let n = !1, r = !1, a, o = () => {e.removeEventListener("pointerleave", u);@@ -17027,7 +17027,7 @@ function hee(e, t, n = {}) {e.pointerType !== "touch" && (n ? r = !0 : s(e));};e.addEventListener("pointerenter", (n) => {- if (!mee(n)) return;+ if (!uee(n)) return;r = !1;let o = t(e, n);typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));@@ -17036,125 +17036,125 @@ function hee(e, t, n = {}) {}//#endregion//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs-var Ng = (e, t) => t ? e === t || Ng(e, t.parentElement) : !1, Pg = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, gee = /* @__PURE__ */ new Set([+var Ig = (e, t) => t ? e === t || Ig(e, t.parentElement) : !1, Lg = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, fee = /* @__PURE__ */ new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);-function _ee(e) {- return gee.has(e.tagName) || e.isContentEditable === !0;+function pee(e) {+ return fee.has(e.tagName) || e.isContentEditable === !0;}-var vee = /* @__PURE__ */ new Set([+var mee = /* @__PURE__ */ new Set(["INPUT","SELECT","TEXTAREA"]);-function yee(e) {- return vee.has(e.tagName) || e.isContentEditable === !0;+function hee(e) {+ return mee.has(e.tagName) || e.isContentEditable === !0;}//#endregion//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs-var Fg = /* @__PURE__ */ new WeakSet();+var Rg = /* @__PURE__ */ new WeakSet();//#endregion//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs-function Ig(e) {+function zg(e) {return (t) => {t.key === "Enter" && e(t);};}-function Lg(e, t) {+function Bg(e, t) {e.dispatchEvent(new PointerEvent("pointer" + t, {isPrimary: !0,bubbles: !0}));}-var bee = (e, t) => {+var gee = (e, t) => {let n = e.currentTarget;if (!n) return;- let r = Ig(() => {- if (Fg.has(n)) return;- Lg(n, "down");- let e = Ig(() => {- Lg(n, "up");+ let r = zg(() => {+ if (Rg.has(n)) return;+ Bg(n, "down");+ let e = zg(() => {+ Bg(n, "up");});- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Lg(n, "cancel"), t);+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Bg(n, "cancel"), t);});n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);};//#endregion//#region node_modules/motion-dom/dist/es/gestures/press/index.mjs-function Rg(e) {- return Pg(e) && !jg();+function Vg(e) {+ return Lg(e) && !Pg();}-var zg = /* @__PURE__ */ new WeakSet();-function xee(e, t, n = {}) {- let [r, i, a] = Mg(e, n), o = (e) => {+var Hg = /* @__PURE__ */ new WeakSet();+function _ee(e, t, n = {}) {+ let [r, i, a] = Fg(e, n), o = (e) => {let r = e.currentTarget;- if (!Rg(e) || zg.has(e)) return;- Fg.add(r), n.stopPropagation && zg.add(e);+ if (!Vg(e) || Hg.has(e)) return;+ Rg.add(r), n.stopPropagation && Hg.add(e);let a = t(r, e), o = {...i,capture: !0}, s = (e, t) => {- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Fg.has(r) && Fg.delete(r), Rg(e) && typeof a == "function" && a(e, { success: t });+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Rg.has(r) && Rg.delete(r), Vg(e) && typeof a == "function" && a(e, { success: t });}, c = (e) => {- s(e, r === window || r === document || n.useGlobalTarget || Ng(r, e.target));+ s(e, r === window || r === document || n.useGlobalTarget || Ig(r, e.target));}, l = (e) => {s(e, !1);};window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);};return r.forEach((e) => {- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Gh(e) && (e.addEventListener("focus", (e) => bee(e, i)), !_ee(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Wh(e) && (e.addEventListener("focus", (e) => gee(e, i)), !pee(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));}), a;}//#endregion//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function Bg(e, t) {+function Ug(e, t) {let n = window.getComputedStyle(e);- return Hp(t) ? n.getPropertyValue(t) : n[t];+ return Vp(t) ? n.getPropertyValue(t) : n[t];}//#endregion//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs-var Vg = /* @__PURE__ */ new WeakMap(), Hg, Ug = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Kh(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Wg = /*@__PURE__*/ Ug("inline", "width", "offsetWidth"), See = /*@__PURE__*/ Ug("block", "height", "offsetHeight");-function Cee({ target: e, borderBoxSize: t }) {- Vg.get(e)?.forEach((n) => {+var Wg = /* @__PURE__ */ new WeakMap(), Gg, Kg = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Gh(r) && "getBBox" in r ? r.getBBox()[t] : r[n], vee = /*@__PURE__*/ Kg("inline", "width", "offsetWidth"), yee = /*@__PURE__*/ Kg("block", "height", "offsetHeight");+function bee({ target: e, borderBoxSize: t }) {+ Wg.get(e)?.forEach((n) => {n(e, {get width() {- return Wg(e, t);+ return vee(e, t);},get height() {- return See(e, t);+ return yee(e, t);}});});}-function wee(e) {- e.forEach(Cee);+function xee(e) {+ e.forEach(bee);}-function Tee() {- typeof ResizeObserver < "u" && (Hg = new ResizeObserver(wee));+function See() {+ typeof ResizeObserver < "u" && (Gg = new ResizeObserver(xee));}-function Eee(e, t) {- Hg || Tee();- let n = qh(e);+function Cee(e, t) {+ Gg || See();+ let n = Kh(e);return n.forEach((e) => {- let n = Vg.get(e);- n || (n = /* @__PURE__ */ new Set(), Vg.set(e, n)), n.add(t), Hg?.observe(e);+ let n = Wg.get(e);+ n || (n = /* @__PURE__ */ new Set(), Wg.set(e, n)), n.add(t), Gg?.observe(e);}), () => {n.forEach((e) => {- let n = Vg.get(e);- n?.delete(t), n?.size || Hg?.unobserve(e);+ let n = Wg.get(e);+ n?.delete(t), n?.size || Gg?.unobserve(e);});};}//#endregion//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs-var Gg = /* @__PURE__ */ new Set(), Kg;-function Dee() {- Kg = () => {+var qg = /* @__PURE__ */ new Set(), Jg;+function wee() {+ Jg = () => {let e = {get width() {return window.innerWidth;@@ -17163,60 +17163,60 @@ function Dee() {return window.innerHeight;}};- Gg.forEach((t) => t(e));- }, window.addEventListener("resize", Kg);+ qg.forEach((t) => t(e));+ }, window.addEventListener("resize", Jg);}-function Oee(e) {- return Gg.add(e), Kg || Dee(), () => {- Gg.delete(e), !Gg.size && typeof Kg == "function" && (window.removeEventListener("resize", Kg), Kg = void 0);+function Tee(e) {+ return qg.add(e), Jg || wee(), () => {+ qg.delete(e), !qg.size && typeof Jg == "function" && (window.removeEventListener("resize", Jg), Jg = void 0);};}//#endregion//#region node_modules/motion-dom/dist/es/resize/index.mjs-function qg(e, t) {- return typeof e == "function" ? Oee(e) : Eee(e, t);+function Yg(e, t) {+ return typeof e == "function" ? Tee(e) : Cee(e, t);}//#endregion//#region node_modules/motion-dom/dist/es/stats/buffer.mjs-var Jg = {+var Xg = {value: null,addProjectionMetrics: null};//#endregion//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs-function kee(e) {- return Kh(e) && e.tagName === "svg";+function Eee(e) {+ return Gh(e) && e.tagName === "svg";}//#endregion//#region node_modules/motion-dom/dist/es/value/utils/as-number.mjs-var Yg = (e) => typeof e == "number" ? e : parseFloat(e), Xg = () => ({+var Zg = (e) => typeof e == "number" ? e : parseFloat(e), Qg = () => ({translate: 0,scale: 1,origin: 0,originPoint: 0-}), Zg = () => ({- x: Xg(),- y: Xg()-}), Qg = () => ({- min: 0,- max: 0}), $g = () => ({x: Qg(),y: Qg()-}), e_ = /* @__PURE__ */ new WeakMap();+}), e_ = () => ({+ min: 0,+ max: 0+}), t_ = () => ({+ x: e_(),+ y: e_()+}), n_ = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs-function t_(e) {+function r_(e) {return typeof e == "object" && !!e && typeof e.start == "function";}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs-function n_(e) {+function i_(e) {return typeof e == "string" || Array.isArray(e);}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs-var r_ = [+var a_ = ["animate","whileInView","whileFocus",@@ -17224,31 +17224,31 @@ var r_ = ["whileTap","whileDrag","exit"-], i_ = ["initial", ...r_];+], o_ = ["initial", ...a_];//#endregion//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs-function a_(e) {- if (t_(e.animate)) return !0;- for (let t = 0; t < i_.length; t++) if (n_(e[i_[t]])) return !0;+function s_(e) {+ if (r_(e.animate)) return !0;+ for (let t = 0; t < o_.length; t++) if (i_(e[o_[t]])) return !0;return !1;}-function o_(e) {- return !!(a_(e) || e.variants);+function c_(e) {+ return !!(s_(e) || e.variants);}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs-function Aee(e, t, n) {+function Dee(e, t, n) {for (let r in t) {let i = t[r], a = n[r];- if (gh(i)) e.addValue(r, i);- else if (gh(a)) e.addValue(r, qm(i, { owner: e }));+ if (hh(i)) e.addValue(r, i);+ else if (hh(a)) e.addValue(r, Km(i, { owner: e }));else if (a !== i) {if (e.hasValue(r)) {let t = e.getValue(r);t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);} else {let t = e.getStaticValue(r);- e.addValue(r, qm(t === void 0 ? i : t, { owner: e }));+ e.addValue(r, Km(t === void 0 ? i : t, { owner: e }));}}}@@ -17257,18 +17257,18 @@ function Aee(e, t, n) {}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs-var s_ = { current: null }, c_ = { current: !1 }, jee = typeof window < "u";-function l_() {- if (c_.current = !0, jee) {+var l_ = { current: null }, u_ = { current: !1 }, Oee = typeof window < "u";+function d_() {+ if (u_.current = !0, Oee) {if (window.matchMedia) {- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => s_.current = e.matches;+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => l_.current = e.matches;e.addEventListener("change", t), t();- } else s_.current = !1;+ } else l_.current = !1;}}//#endregion//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs-var u_ = [+var f_ = ["AnimationStart","AnimationComplete","Update",@@ -17276,35 +17276,35 @@ var u_ = ["LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"-], d_ = {};-function f_(e) {- d_ = e;+], p_ = {};+function m_(e) {+ p_ = e;}-function Mee() {- return d_;+function kee() {+ return p_;}-var Nee = class {+var Aee = class {scrapeMotionValuesFromProps(e, t, n) {return {};}constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Vp, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Bp, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));}, this.renderScheduledAt = 0, this.scheduleRender = () => {let e = Uu.now();- this.renderScheduledAt < e && (this.renderScheduledAt = e, lf.render(this.render, !1, !0));+ this.renderScheduledAt < e && (this.renderScheduledAt = e, cf.render(this.render, !1, !0));};let { latestValues: c, renderState: l } = o;- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = a_(t), this.isVariantNode = o_(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = s_(t), this.isVariantNode = c_(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);for (let e in d) {let t = d[e];- c[e] !== void 0 && gh(t) && t.set(c[e]);+ c[e] !== void 0 && hh(t) && t.set(c[e]);}}mount(e) {if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];- if (this.current = e, e_.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.isVariantNode && !this.isControllingVariants) {+ if (this.current = e, n_.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.isVariantNode && !this.isControllingVariants) {let e = this;doe = e.props.inherit !== !1 && e.parent;@@ -17314,10 +17314,10 @@ var Nee = class {t.add(this), this.removeFromVariantTree = () => t.delete(this);}}- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (c_.current || l_(), this.shouldReduceMotion = s_.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (u_.current || d_(), this.shouldReduceMotion = l_.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;}unmount() {- this.projection && this.projection.unmount(), uf(this.notifyUpdate), uf(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);+ this.projection && this.projection.unmount(), lf(this.notifyUpdate), lf(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);for (let e in this.events) this.events[e].clear();for (let e in this.features) {let t = this.features[e];@@ -17332,8 +17332,8 @@ var Nee = class {this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);}bindToMotionValue(e, t) {- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && lm.has(e) && this.current instanceof HTMLElement) {- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new em({+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && cm.has(e) && this.current instanceof HTMLElement) {+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new $p({element: this.current,name: e,keyframes: r,@@ -17346,10 +17346,10 @@ var Nee = class {});return;}- let n = Tp.has(e);+ let n = wp.has(e);n && this.onBindTransform && this.onBindTransform();let r = t.on("change", (t) => {- this.latestValues[e] = t, this.props.onUpdate && lf.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), ym.get(this.current)?.check()), this.scheduleRender();+ this.latestValues[e] = t, this.props.onUpdate && cf.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), vm.get(this.current)?.check()), this.scheduleRender();}), i;typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {r(), i && i();@@ -17360,8 +17360,8 @@ var Nee = class {}updateFeatures() {let e = "animation";- for (e in d_) {- let t = d_[e];+ for (e in p_) {+ let t = p_[e];if (!t) continue;let { isEnabled: n, Feature: r } = t;if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {@@ -17374,7 +17374,7 @@ var Nee = class {this.build(this.renderState, this.latestValues, this.props);}measureViewportBox() {- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : $g();+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : t_();}getStaticValue(e) {return this.latestValues[e];@@ -17384,14 +17384,14 @@ var Nee = class {}update(e, t) {let { transformTemplate: n, onUpdate: r } = this.props;- (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && ym.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;- for (let t = 0; t < u_.length; t++) {- let n = u_[t];+ (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && vm.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;+ for (let t = 0; t < f_.length; t++) {+ let n = f_[t];this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);let r = e["on" + n];r && (this.propEventSubscriptions[n] = this.on(n, r));}- this.prevMotionValues = Aee(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();+ this.prevMotionValues = Dee(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();}getProps() {return this.props;@@ -17424,11 +17424,11 @@ var Nee = class {getValue(e, t) {if (this.props.values && this.props.values[e]) return this.props.values[e];let n = this.values.get(e);- return n === void 0 && t !== void 0 && (n = qm(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n;+ return n === void 0 && t !== void 0 && (n = Km(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n;}readValue(e, t) {let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);- return n != null && (typeof n == "string" && (cu(n) || uu(n)) ? n = parseFloat(n) : typeof n != "number" && !Ld.test(n) && Ld.test(t) && (n = up(e, t)), this.setBaseTarget(e, gh(n) ? n.get() : n)), gh(n) ? n.get() : n;+ return n != null && (typeof n == "string" && (cu(n) || uu(n)) ? n = parseFloat(n) : typeof n != "number" && !Id.test(n) && Id.test(t) && (n = lp(e, t)), this.setBaseTarget(e, hh(n) ? n.get() : n)), hh(n) ? n.get() : n;}setBaseTarget(e, t) {this.baseTarget[e] = t;@@ -17440,11 +17440,11 @@ var Nee = class {this.events[e] && this.events[e].notify(...t);}scheduleRenderMicrotask() {- kg.render(this.render);+ Mg.render(this.render);}-}, p_ = class extends Nee {+}, h_ = class extends Aee {constructor() {- super(...arguments), this.KeyframeResolver = Ph;+ super(...arguments), this.KeyframeResolver = Nh;}sortInstanceNodePosition(e, t) {return e.compareDocumentPosition(t) & 2 ? 1 : -1;@@ -17459,11 +17459,11 @@ var Nee = class {handleChildMotionValue() {this.childSubscription && (this.childSubscription(), delete this.childSubscription);let { children: e } = this.props;- gh(e) && (this.childSubscription = e.on("change", (e) => {+ hh(e) && (this.childSubscription = e.on("change", (e) => {this.current && (this.current.textContent = `${e}`);}));}-}, m_ = class {+}, g_ = class {constructor(e) {this.isMounted = !1, this.node = e;}@@ -17471,43 +17471,43 @@ var Nee = class {};//#endregion//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs-function h_(e, { style: t, vars: n }, r, i) {+function __(e, { style: t, vars: n }, r, i) {let a = e.style, o;for (o in t) a[o] = t[o];for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);}//#endregion//#region node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs-var g_ = {};+var v_ = {};//#endregion//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs-function __(e, { layout: t, layoutId: n }) {- return Tp.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!g_[e] || e === "opacity");+function y_(e, { layout: t, layoutId: n }) {+ return wp.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!v_[e] || e === "opacity");}//#endregion//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs-function v_(e, t, n) {+function b_(e, t, n) {let r = e.style, i = t?.style, a = {};if (!r) return a;- for (let t in r) (gh(r[t]) || i && gh(i[t]) || __(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);+ for (let t in r) (hh(r[t]) || i && hh(i[t]) || y_(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);return a;}//#endregion//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs-function Pee(e) {+function jee(e) {return window.getComputedStyle(e);}-var Fee = class extends p_ {+var Mee = class extends h_ {constructor() {- super(...arguments), this.type = "html", this.renderInstance = h_;+ super(...arguments), this.type = "html", this.renderInstance = __;}mount(e) {e.style, super.mount(e);}readValueFromInstance(e, t) {- if (Tp.has(t)) return this.projection?.isProjecting ? bp(t) : Sp(e, t);+ if (wp.has(t)) return this.projection?.isProjecting ? yp(t) : xp(e, t);{- let n = Pee(e), r = (Ku(t) ? n.getPropertyValue(t) : n[t]) || 0;+ let n = jee(e), r = (Ku(t) ? n.getPropertyValue(t) : n[t]) || 0;return typeof r == "string" ? r.trim() : r;}}@@ -17515,12 +17515,12 @@ var Fee = class extends p_ {return Tg(e, t);}build(e, t, n) {- ig(e, t, n.transformTemplate);+ rg(e, t, n.transformTemplate);}scrapeMotionValuesFromProps(e, t, n) {- return v_(e, t, n);+ return b_(e, t, n);}-}, y_ = /* @__PURE__ */ new Set([+}, x_ = /* @__PURE__ */ new Set(["baseFrequency","diffuseConstant","kernelMatrix",@@ -17544,62 +17544,62 @@ var Fee = class extends p_ {"startOffset","textLength","lengthAdjust"-]), b_ = (e) => typeof e == "string" && e.toLowerCase() === "svg";+]), S_ = (e) => typeof e == "string" && e.toLowerCase() === "svg";//#endregion//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs-function Iee(e, t, n, r) {- h_(e, t, void 0, r);- for (let n in t.attrs) e.setAttribute(y_.has(n) ? n : yh(n), t.attrs[n]);+function Nee(e, t, n, r) {+ __(e, t, void 0, r);+ for (let n in t.attrs) e.setAttribute(x_.has(n) ? n : vh(n), t.attrs[n]);}//#endregion//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs-function x_(e, t, n) {- let r = v_(e, t, n);- for (let n in e) if (n !== "children" && (gh(e[n]) || gh(t[n]))) {- let t = wp.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);+function C_(e, t, n) {+ let r = b_(e, t, n);+ for (let n in e) if (n !== "children" && (hh(e[n]) || hh(t[n]))) {+ let t = Cp.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);r[t] = e[n];}return r;}//#endregion//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs-var Lee = class extends p_ {+var Pee = class extends h_ {constructor() {- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = $g;+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = t_;}getBaseTargetFromProps(e, t) {- return Tp.has(t) ? super.getBaseTargetFromProps(e, t) ?? bp(t) : e[t];+ return wp.has(t) ? super.getBaseTargetFromProps(e, t) ?? yp(t) : e[t];}getDefaultValue(e) {- return Tp.has(e) ? this.latestValues[e] ?? bp(e) : void 0;+ return wp.has(e) ? this.latestValues[e] ?? yp(e) : void 0;}readValueFromInstance(e, t) {- if (Tp.has(t)) {- let e = cp(t);+ if (wp.has(t)) {+ let e = sp(t);return e && e.default || 0;}- if (ag.includes(t)) {+ if (ig.includes(t)) {let n = getComputedStyle(e)[t];if (typeof n == "string" && n) return n.trim();}- return t = y_.has(t) ? t : yh(t), e.getAttribute(t);+ return t = x_.has(t) ? t : vh(t), e.getAttribute(t);}scrapeMotionValuesFromProps(e, t, n) {- return x_(e, t, n);+ return C_(e, t, n);}build(e, t, n) {- og(e, t, this.isSVGTag, n.transformTemplate, n.style);+ ag(e, t, this.isSVGTag, n.transformTemplate, n.style);}renderInstance(e, t, n, r) {- Iee(e, t, n, r);+ Nee(e, t, n, r);}mount(e) {- this.isSVGTag = b_(e.tagName), super.mount(e);+ this.isSVGTag = S_(e.tagName), super.mount(e);}};//#endregion//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs-function S_(e, t) {+function w_(e, t) {if (!Array.isArray(t)) return !1;let n = t.length;if (n !== e.length) return !1;@@ -17608,19 +17608,19 @@ function S_(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs-var Ree = [...r_].reverse();-function zee(e) {- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Eh(e, t, n))), n = C_(), r = !0, i = !1;+var Fee = [...a_].reverse();+function Iee(e) {+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Th(e, t, n))), n = T_(), r = !0, i = !1;function a(a) {let { props: o, parent: s, manuallyAnimateOnMount: c } = e, l = r || i, u = [], d = /* @__PURE__ */ new Set(), f = {}, p = Infinity, m = e;dom = m.props.inherit !== !1 && m.parent;while (m && !m.isControllingVariants);- if (Ree.forEach((t, r) => {- let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? n_(g) || g === !1 ? g : void 0 : h, v = n_(_), y = t === a ? i.isActive : null;+ if (Fee.forEach((t, r) => {+ let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? i_(g) || g === !1 ? g : void 0 : h, v = i_(_), y = t === a ? i.isActive : null;y === !1 && (p = r);let b = v && h === void 0 && !(l && c);- if (i.protectedKeys = { ...f }, !i.isActive && y === null || !_ && !i.prevProp || t_(_) || typeof _ == "boolean") return;+ if (i.protectedKeys = { ...f }, !i.isActive && y === null || !_ && !i.prevProp || r_(_) || typeof _ == "boolean") return;if (t === "exit" && i.isActive && y !== !0) {f = {...f,@@ -17628,9 +17628,9 @@ function zee(e) {};return;}- let x = Bee(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};+ let x = Lee(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};if (y !== !1) for (let n of w) {- let { transition: r, transitionEnd: i, ...a } = lh(e, n, uh(e, t)) || {};+ let { transition: r, transitionEnd: i, ...a } = ch(e, n, lh(e, t)) || {};T = {...T,...a,@@ -17643,7 +17643,7 @@ function zee(e) {...T}) {if (t in f) continue;- let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !S_(n, r) || x : n !== r;+ let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !w_(n, r) || x : n !== r;if (a && n == null) d.add(t);else if (a || n !== void 0 && d.has(t)) {S = !0, d.delete(t) && (C = !0), i.needsAnimating[t] = !0;@@ -17657,8 +17657,8 @@ function zee(e) {}), S && (!(b && x) || C)) for (let n of w) {let r = { type: t };if (typeof n == "string" && l && c && s?.enteringChildren) {- let t = lh(s, n)?.transition?.delayChildren;- r.delay = Hm(s.enteringChildren, e, t);+ let t = ch(s, n)?.transition?.delayChildren;+ r.delay = Vm(s.enteringChildren, e, t);}u.push({animation: n,@@ -17666,12 +17666,12 @@ function zee(e) {});}}), d.size) {- let { initial: t } = o, n = {}, r = typeof t != "boolean" && lh(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom);+ let { initial: t } = o, n = {}, r = typeof t != "boolean" && ch(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom);r && r.transition && (n.transition = r.transition), d.forEach((i) => {let a = e.getValue(i);a && (a.liveStyle = !0);let s = r && !Array.isArray(t) ? r[i] : void 0, c = e.getBaseTargetFromProps(o, i);- n[i] = (s === void 0 ? c !== void 0 && !gh(c) ? c : e.initialValues[i] === void 0 ? e.baseTarget[i] : void 0 : s) ?? null;+ n[i] = (s === void 0 ? c !== void 0 && !hh(c) ? c : e.initialValues[i] === void 0 ? e.baseTarget[i] : void 0 : s) ?? null;}), u.push({ animation: n });}let h = l && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);@@ -17692,16 +17692,16 @@ function zee(e) {},getState: () => n,reset: () => {- n = C_(), i = !0;+ n = T_(), i = !0;}};}-function Bee(e, t) {- return typeof t == "string" ? t !== e : Array.isArray(t) ? !S_(t, e) : !1;+function Lee(e, t) {+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !w_(t, e) : !1;}-function C_() {+function T_() {let e = {};- for (let t of r_) e[t] = {+ for (let t of a_) e[t] = {isActive: t === "animate",protectedKeys: {},needsAnimating: {},@@ -17711,122 +17711,122 @@ function C_() {}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs-function w_(e, t) {+function E_(e, t) {e.min = t.min, e.max = t.max;}-function T_(e, t) {- w_(e.x, t.x), w_(e.y, t.y);+function D_(e, t) {+ E_(e.x, t.x), E_(e.y, t.y);}-function E_(e, t) {+function O_(e, t) {e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs-var Vee = .9999, Hee = 1.0001, Uee = -.01, Wee = .01;-function D_(e) {+var Ree = .9999, zee = 1.0001, k_ = -.01, A_ = .01;+function j_(e) {return e.max - e.min;}-function Gee(e, t, n) {+function M_(e, t, n) {return Math.abs(e - t) <= n;}-function O_(e, t, n, r = .5) {- e.origin = r, e.originPoint = Vd(t.min, t.max, e.origin), e.scale = D_(n) / D_(t), e.translate = Vd(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Vee && e.scale <= Hee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Uee && e.translate <= Wee || isNaN(e.translate)) && (e.translate = 0);+function N_(e, t, n, r = .5) {+ e.origin = r, e.originPoint = Bd(t.min, t.max, e.origin), e.scale = j_(n) / j_(t), e.translate = Bd(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Ree && e.scale <= zee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= k_ && e.translate <= A_ || isNaN(e.translate)) && (e.translate = 0);}-function k_(e, t, n, r) {- O_(e.x, t.x, n.x, r ? r.originX : void 0), O_(e.y, t.y, n.y, r ? r.originY : void 0);+function P_(e, t, n, r) {+ N_(e.x, t.x, n.x, r ? r.originX : void 0), N_(e.y, t.y, n.y, r ? r.originY : void 0);}-function A_(e, t, n, r = 0) {- e.min = (r ? Vd(n.min, n.max, r) : n.min) + t.min, e.max = e.min + D_(t);+function F_(e, t, n, r = 0) {+ e.min = (r ? Bd(n.min, n.max, r) : n.min) + t.min, e.max = e.min + j_(t);}-function Kee(e, t, n, r) {- A_(e.x, t.x, n.x, r?.x), A_(e.y, t.y, n.y, r?.y);+function I_(e, t, n, r) {+ F_(e.x, t.x, n.x, r?.x), F_(e.y, t.y, n.y, r?.y);}-function j_(e, t, n, r = 0) {- let i = r ? Vd(n.min, n.max, r) : n.min;- e.min = t.min - i, e.max = e.min + D_(t);+function L_(e, t, n, r = 0) {+ let i = r ? Bd(n.min, n.max, r) : n.min;+ e.min = t.min - i, e.max = e.min + j_(t);}-function M_(e, t, n, r) {- j_(e.x, t.x, n.x, r?.x), j_(e.y, t.y, n.y, r?.y);+function R_(e, t, n, r) {+ L_(e.x, t.x, n.x, r?.x), L_(e.y, t.y, n.y, r?.y);}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs-function N_(e, t, n, r, i) {- return e -= t, e = hg(e, 1 / n, r), i !== void 0 && (e = hg(e, 1 / i, r)), e;+function z_(e, t, n, r, i) {+ return e -= t, e = mg(e, 1 / n, r), i !== void 0 && (e = mg(e, 1 / i, r)), e;}-function qee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {- if (fd.test(t) && (t = parseFloat(t), t = Vd(o.min, o.max, t / 100) - o.min), typeof t != "number") return;- let s = Vd(a.min, a.max, r);- e === a && (s -= t), e.min = N_(e.min, t, n, s, i), e.max = N_(e.max, t, n, s, i);+function B_(e, t = 0, n = 1, r = .5, i, a = e, o = e) {+ if (fd.test(t) && (t = parseFloat(t), t = Bd(o.min, o.max, t / 100) - o.min), typeof t != "number") return;+ let s = Bd(a.min, a.max, r);+ e === a && (s -= t), e.min = z_(e.min, t, n, s, i), e.max = z_(e.max, t, n, s, i);}-function P_(e, t, [n, r, i], a, o) {- qee(e, t[n], t[r], t[i], t.scale, a, o);+function V_(e, t, [n, r, i], a, o) {+ B_(e, t[n], t[r], t[i], t.scale, a, o);}-var Jee = [+var H_ = ["x","scaleX","originX"-], Yee = [+], U_ = ["y","scaleY","originY"];-function F_(e, t, n, r) {- P_(e.x, t, Jee, n ? n.x : void 0, r ? r.x : void 0), P_(e.y, t, Yee, n ? n.y : void 0, r ? r.y : void 0);+function W_(e, t, n, r) {+ V_(e.x, t, H_, n ? n.x : void 0, r ? r.x : void 0), V_(e.y, t, U_, n ? n.y : void 0, r ? r.y : void 0);}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs-function I_(e) {+function G_(e) {return e.translate === 0 && e.scale === 1;}-function L_(e) {- return I_(e.x) && I_(e.y);+function K_(e) {+ return G_(e.x) && G_(e.y);}-function R_(e, t) {+function q_(e, t) {return e.min === t.min && e.max === t.max;}-function Xee(e, t) {- return R_(e.x, t.x) && R_(e.y, t.y);+function J_(e, t) {+ return q_(e.x, t.x) && q_(e.y, t.y);}-function z_(e, t) {+function Y_(e, t) {return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);}-function B_(e, t) {- return z_(e.x, t.x) && z_(e.y, t.y);+function X_(e, t) {+ return Y_(e.x, t.x) && Y_(e.y, t.y);}-function V_(e) {- return D_(e.x) / D_(e.y);+function Z_(e) {+ return j_(e.x) / j_(e.y);}-function H_(e, t) {+function Q_(e, t) {return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;}//#endregion//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs-function U_(e) {+function $_(e) {return [e("x"), e("y")];}//#endregion//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs-function W_(e, t) {+function ev(e, t) {return t.max === t.min ? 0 : e / (t.max - t.min) * 100;}-var G_ = { correct: (e, t) => {+var tv = { correct: (e, t) => {if (!t.target) return e;if (typeof e == "string") {- if (pd.test(e)) e = parseFloat(e);+ if (G.test(e)) e = parseFloat(e);else return e;}- return `${W_(e, t.target.x)}% ${W_(e, t.target.y)}%`;-} }, Zee = { correct: (e, { treeScale: t, projectionDelta: n }) => {- let r = e, i = Ld.parse(e);+ return `${ev(e, t.target.x)}% ${ev(e, t.target.y)}%`;+} }, Bee = { correct: (e, { treeScale: t, projectionDelta: n }) => {+ let r = e, i = Id.parse(e);if (i.length > 5) return r;- let a = Ld.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;+ let a = Id.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;i[0 + o] /= s, i[1 + o] /= c;- let l = Vd(s, c, .5);+ let l = Bd(s, c, .5);return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);} };//#endregion//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs-function Qee(e, t, n) {+function Vee(e, t, n) {let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;@@ -17837,36 +17837,36 @@ function Qee(e, t, n) {}//#endregion//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs-var $ee = Fh.length, K_ = (e) => typeof e == "number" || pd.test(e);-function ete(e, t, n, r, i, a) {- i ? (e.opacity = Vd(0, n.opacity ?? 1, tte(r)), e.opacityExit = Vd(t.opacity ?? 1, 0, nte(r))) : a && (e.opacity = Vd(t.opacity ?? 1, n.opacity ?? 1, r));- for (let i = 0; i < $ee; i++) {- let a = Fh[i], o = q_(t, a), s = q_(n, a);- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || K_(o) === K_(s) ? (e[a] = Math.max(Vd(Yg(o), Yg(s), r), 0), (fd.test(s) || fd.test(o)) && (e[a] += "%")) : e[a] = s);+var Hee = Ph.length, nv = (e) => typeof e == "number" || G.test(e);+function Uee(e, t, n, r, i, a) {+ i ? (e.opacity = Bd(0, n.opacity ?? 1, Wee(r)), e.opacityExit = Bd(t.opacity ?? 1, 0, Gee(r))) : a && (e.opacity = Bd(t.opacity ?? 1, n.opacity ?? 1, r));+ for (let i = 0; i < Hee; i++) {+ let a = Ph[i], o = rv(t, a), s = rv(n, a);+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || nv(o) === nv(s) ? (e[a] = Math.max(Bd(Zg(o), Zg(s), r), 0), (fd.test(s) || fd.test(o)) && (e[a] += "%")) : e[a] = s);}- (t.rotate || n.rotate) && (e.rotate = Vd(t.rotate || 0, n.rotate || 0, r));+ (t.rotate || n.rotate) && (e.rotate = Bd(t.rotate || 0, n.rotate || 0, r));}-function q_(e, t) {+function rv(e, t) {return e[t] === void 0 ? e.borderRadius : e[t];}-var tte = /*@__PURE__*/ J_(0, .5, ku), nte = /*@__PURE__*/ J_(.5, .95, fu);-function J_(e, t, n) {+var Wee = /*@__PURE__*/ iv(0, .5, ku), Gee = /*@__PURE__*/ iv(.5, .95, fu);+function iv(e, t, n) {return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ mu(e, t, r));}//#endregion//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs-function Y_(e, t, n) {- let r = gh(e) ? e : qm(e);- return r.start(rh("", r, t, n)), r.animation;+function av(e, t, n) {+ let r = hh(e) ? e : Km(e);+ return r.start(nh("", r, t, n)), r.animation;}//#endregion//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs-function X_(e, t, n, r = { passive: !0 }) {+function ov(e, t, n, r = { passive: !0 }) {return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);}//#endregion//#region node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs-var rte = (e, t) => e.depth - t.depth, ite = class {+var Kee = (e, t) => e.depth - t.depth, qee = class {constructor() {this.children = [], this.isDirty = !1;}@@ -17877,26 +17877,26 @@ var rte = (e, t) => e.depth - t.depth, ite = class {au(this.children, e), this.isDirty = !0;}forEach(e) {- this.isDirty && this.children.sort(rte), this.isDirty = !1, this.children.forEach(e);+ this.isDirty && this.children.sort(Kee), this.isDirty = !1, this.children.forEach(e);}};//#endregion//#region node_modules/motion-dom/dist/es/utils/delay.mjs-function ate(e, t) {+function Jee(e, t) {let n = Uu.now(), r = ({ timestamp: i }) => {let a = i - n;- a >= t && (uf(r), e(a - t));+ a >= t && (lf(r), e(a - t));};- return lf.setup(r, !0), () => uf(r);+ return cf.setup(r, !0), () => lf(r);}//#endregion//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs-function Z_(e) {- return gh(e) ? e.get() : e;+function sv(e) {+ return hh(e) ? e.get() : e;}//#endregion//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs-var Q_ = class {+var Yee = class {constructor() {this.members = [];}@@ -17942,66 +17942,66 @@ var Q_ = class {removeLeadSnapshot() {this.lead?.snapshot && (this.lead.snapshot = void 0);}-}, $_ = {+}, Xee = {borderRadius: {- ...G_,- applyTo: [...Fh]+ ...tv,+ applyTo: [...Ph]},- borderTopLeftRadius: G_,- borderTopRightRadius: G_,- borderBottomLeftRadius: G_,- borderBottomRightRadius: G_,- boxShadow: Zee-}, ev = {+ borderTopLeftRadius: tv,+ borderTopRightRadius: tv,+ borderBottomLeftRadius: tv,+ borderBottomRightRadius: tv,+ boxShadow: Bee+}, cv = {hasAnimatedSinceResize: !0,hasEverUpdated: !1};//#endregion//#region node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs-Object.assign(g_, {- ...$_,- ...g_+Object.assign(v_, {+ ...Xee,+ ...v_});-var tv = {+var lv = {nodes: 0,calculatedTargetDeltas: 0,calculatedProjections: 0-}, nv = [+}, uv = ["","X","Y","Z"-], ote = 1e3, ste = 0;-function rv(e, t, n, r) {+], Zee = 1e3, Qee = 0;+function dv(e, t, n, r) {let { latestValues: i } = t;i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));}-var iv = ({ instance: e }) => e && ym.get(e)?.demote();-function av(e) {+var fv = ({ instance: e }) => e && vm.get(e)?.demote();+function pv(e) {if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;let { visualElement: t } = e.options;if (!t) return;- let n = xh(t);+ let n = bh(t);if (window.MotionHasOptimisedAnimation(n, "transform")) {let { layout: t, layoutId: r } = e.options;- window.MotionCancelOptimisedAnimation(n, "transform", lf, !(t || r));+ window.MotionCancelOptimisedAnimation(n, "transform", cf, !(t || r));}let { parent: r } = e;- r && !r.hasCheckedOptimisedAppear && av(r);+ r && !r.hasCheckedOptimisedAppear && pv(r);}-function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {+function mv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {return class {constructor(e = {}, n = t?.()) {- this.id = ste++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {+ this.id = Qee++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {x: 1,y: 1}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());}, this.updateProjection = () => {- this.projectionUpdateScheduled = !1, Jg.value && (tv.nodes = tv.calculatedTargetDeltas = tv.calculatedProjections = 0), this.nodes.forEach(ute), this.nodes.forEach(vte), this.nodes.forEach(yte), this.nodes.forEach(dte), Jg.addProjectionMetrics && Jg.addProjectionMetrics(tv);+ this.projectionUpdateScheduled = !1, Xg.value && (lv.nodes = lv.calculatedTargetDeltas = lv.calculatedProjections = 0), this.nodes.forEach(tte), this.nodes.forEach(lte), this.nodes.forEach(ute), this.nodes.forEach(nte), Xg.addProjectionMetrics && Xg.addProjectionMetrics(lv);}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;- this.root === this && (this.nodes = new ite());+ this.root === this && (this.nodes = new qee());}addEventListener(e, t) {return this.eventHandlers.has(e) || this.eventHandlers.set(e, new hu()), this.eventHandlers.get(e).add(t);@@ -18015,15 +18015,15 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}mount(t) {if (this.instance) return;- this.isSVG = Kh(t) && !kee(t), this.instance = t;+ this.isSVG = Gh(t) && !Eee(t), this.instance = t;let { layoutId: n, layout: r, visualElement: i } = this.options;if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {let n, r = 0, i = () => this.root.updateBlockedByResize = !1;- lf.read(() => {+ cf.read(() => {r = window.innerWidth;}), e(t, () => {let e = window.innerWidth;- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = ate(i, 250), ev.hasAnimatedSinceResize && (ev.hasAnimatedSinceResize = !1, this.nodes.forEach(lv)));+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Jee(i, 250), cv.hasAnimatedSinceResize && (cv.hasAnimatedSinceResize = !1, this.nodes.forEach(_v)));});}n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {@@ -18031,23 +18031,23 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.target = void 0, this.relativeTarget = void 0;return;}- let a = this.options.transition || i.getDefaultTransition() || wte, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !B_(this.targetLayout, r), l = !t && n;+ let a = this.options.transition || i.getDefaultTransition() || hte, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !X_(this.targetLayout, r), l = !t && n;if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);let t = {- ...Ym(a, "layout"),+ ...Jm(a, "layout"),onPlay: o,onComplete: s};(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);- } else t || lv(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();+ } else t || _v(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();this.targetLayout = r;});}unmount() {this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);let e = this.getStack();- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), uf(this.updateProjection);+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), lf(this.updateProjection);}blockUpdate() {this.updateManuallyBlocked = !0;@@ -18059,7 +18059,7 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn this.updateManuallyBlocked || this.updateBlockedByResize;}startUpdate() {- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(bte), this.animationId++);+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(dte), this.animationId++);}getTransformTemplate() {let { visualElement: e } = this.options;@@ -18070,11 +18070,11 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.onExitComplete && this.options.onExitComplete();return;}- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && av(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;- iv(this), this.isLayoutDirty = !0;+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && pv(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;+ fv(this), this.isLayoutDirty = !0;for (let e = 0; e < this.path.length; e++) {let t = this.path[e];- t.shouldResetTransform = !0, iv(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);+ t.shouldResetTransform = !0, fv(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);}let { layoutId: t, layout: n } = this.options;if (t === void 0 && !n) return;@@ -18084,39 +18084,39 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkupdate() {if (this.updateScheduled = !1, this.isUpdateBlocked()) {let e = this.updateBlockedByResize;- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(pte), this.nodes.forEach(sv);+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(ite), this.nodes.forEach(hv);return;}if (this.animationId <= this.animationCommitId) {- this.nodes.forEach(cv);+ this.nodes.forEach(gv);return;}- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(hte), this.nodes.forEach(gte), this.nodes.forEach(_te), this.nodes.forEach(cte), this.nodes.forEach(lte)) : this.nodes.forEach(cv), this.clearAllSnapshots();+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(ote), this.nodes.forEach(ste), this.nodes.forEach(cte), this.nodes.forEach($ee), this.nodes.forEach(ete)) : this.nodes.forEach(gv), this.clearAllSnapshots();let e = Uu.now();- Bu.delta = ou(0, 1e3 / 60, e - Bu.timestamp), Bu.timestamp = e, Bu.isProcessing = !0, df.update.process(Bu), df.preRender.process(Bu), df.render.process(Bu), Bu.isProcessing = !1;+ Bu.delta = ou(0, 1e3 / 60, e - Bu.timestamp), Bu.timestamp = e, Bu.isProcessing = !0, uf.update.process(Bu), uf.preRender.process(Bu), uf.render.process(Bu), Bu.isProcessing = !1;}didUpdate() {- this.updateScheduled || (this.updateScheduled = !0, kg.read(this.scheduleUpdate));+ this.updateScheduled || (this.updateScheduled = !0, Mg.read(this.scheduleUpdate));}clearAllSnapshots() {- this.nodes.forEach(fte), this.sharedNodes.forEach(xte);+ this.nodes.forEach(rte), this.sharedNodes.forEach(fte);}scheduleUpdateProjection() {- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, lf.preRender(this.updateProjection, !1, !0));+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, cf.preRender(this.updateProjection, !1, !0));}scheduleCheckAfterUnmount() {- lf.postRender(() => {+ cf.postRender(() => {this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();});}updateSnapshot() {- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !D_(this.snapshot.measuredBox.x) && !D_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !j_(this.snapshot.measuredBox.x) && !j_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));}updateLayout() {if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();let e = this.layout;- this.layout = this.measure(!1), this.layoutCorrected ||= $g(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);+ this.layout = this.measure(!1), this.layoutCorrected ||= t_(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);let { visualElement: t } = this.options;t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);}@@ -18136,13 +18136,13 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkresetTransform() {if (!i) return;let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;- e && iv(this);- let t = this.projectionDelta && !L_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;- e && this.instance && (t || fg(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());+ e && fv(this);+ let t = this.projectionDelta && !K_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;+ e && this.instance && (t || dg(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());}measure(e = !0) {let t = this.measurePageBox(), n = this.removeElementScroll(t);- return e && (n = this.removeTransform(n)), Tte(n), {+ return e && (n = this.removeTransform(n)), gte(n), {animationId: this.root.animationId,measuredBox: t,layoutBox: n,@@ -18152,42 +18152,42 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}measurePageBox() {let { visualElement: e } = this.options;- if (!e) return $g();+ if (!e) return t_();let t = e.measureViewportBox();- if (!(this.scroll?.wasRoot || this.path.some(Ete))) {+ if (!(this.scroll?.wasRoot || this.path.some(_te))) {let { scroll: e } = this.root;e && (xg(t.x, e.offset.x), xg(t.y, e.offset.y));}return t;}removeElementScroll(e) {- let t = $g();- if (T_(t, e), this.scroll?.wasRoot) return t;+ let t = t_();+ if (D_(t, e), this.scroll?.wasRoot) return t;for (let n = 0; n < this.path.length; n++) {let r = this.path[n], { scroll: i, options: a } = r;- r !== this.root && i && a.layoutScroll && (i.wasRoot && T_(t, e), xg(t.x, i.offset.x), xg(t.y, i.offset.y));+ r !== this.root && i && a.layoutScroll && (i.wasRoot && D_(t, e), xg(t.x, i.offset.x), xg(t.y, i.offset.y));}return t;}applyTransform(e, t = !1, n) {- let r = n || $g();- T_(r, e);+ let r = n || t_();+ D_(r, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];- !t && n.options.layoutScroll && n.scroll && n !== n.root && (xg(r.x, -n.scroll.offset.x), xg(r.y, -n.scroll.offset.y)), fg(n.latestValues) && wg(r, n.latestValues, n.layout?.layoutBox);+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (xg(r.x, -n.scroll.offset.x), xg(r.y, -n.scroll.offset.y)), dg(n.latestValues) && wg(r, n.latestValues, n.layout?.layoutBox);}- return fg(this.latestValues) && wg(r, this.latestValues, this.layout?.layoutBox), r;+ return dg(this.latestValues) && wg(r, this.latestValues, this.layout?.layoutBox), r;}removeTransform(e) {- let t = $g();- T_(t, e);+ let t = t_();+ D_(t, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];- if (!fg(n.latestValues)) continue;+ if (!dg(n.latestValues)) continue;let r;- n.instance && (dg(n.latestValues) && n.updateSnapshot(), r = $g(), T_(r, n.measurePageBox())), F_(t, n.latestValues, n.snapshot?.layoutBox, r);+ n.instance && (ug(n.latestValues) && n.updateSnapshot(), r = t_(), D_(r, n.measurePageBox())), W_(t, n.latestValues, n.snapshot?.layoutBox, r);}- return fg(this.latestValues) && F_(t, this.latestValues), t;+ return dg(this.latestValues) && W_(t, this.latestValues), t;}setTargetDelta(e) {this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;@@ -18214,16 +18214,16 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!this.layout || !(r || i)) return;this.resolvedRelativeTargetAt = Bu.timestamp;let a = this.getClosestProjectingParent();- !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = $g(), this.targetWithTransforms = $g()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Kee(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : T_(this.target, this.layout.layoutBox), vg(this.target, this.targetDelta)) : T_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Jg.value && tv.calculatedTargetDeltas++);+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = t_(), this.targetWithTransforms = t_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), I_(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : D_(this.target, this.layout.layoutBox), _g(this.target, this.targetDelta)) : D_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Xg.value && lv.calculatedTargetDeltas++);}getClosestProjectingParent() {- if (!(!this.parent || dg(this.parent.latestValues) || pg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();+ if (!(!this.parent || ug(this.parent.latestValues) || fg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();}isProjecting() {return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);}createRelativeTarget(e, t, n) {- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = $g(), this.relativeTargetOrigin = $g(), M_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), T_(this.relativeTarget, this.relativeTargetOrigin);+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = t_(), this.relativeTargetOrigin = t_(), R_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), D_(this.relativeTarget, this.relativeTargetOrigin);}removeRelativeTarget() {this.relativeParent = this.relativeTarget = void 0;@@ -18233,11 +18233,11 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === Bu.timestamp && (n = !1), n) return;let { layout: r, layoutId: i } = this.options;if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;- T_(this.layoutCorrected, this.layout.layoutBox);+ D_(this.layoutCorrected, this.layout.layoutBox);let a = this.treeScale.x, o = this.treeScale.y;- cee(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = $g());+ bg(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = t_());let { target: s } = e;- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (E_(this.prevProjectionDelta.x, this.projectionDelta.x), E_(this.prevProjectionDelta.y, this.projectionDelta.y)), k_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !H_(this.projectionDelta.x, this.prevProjectionDelta.x) || !H_(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Jg.value && tv.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (O_(this.prevProjectionDelta.x, this.projectionDelta.x), O_(this.prevProjectionDelta.y, this.projectionDelta.y)), P_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !Q_(this.projectionDelta.x, this.prevProjectionDelta.x) || !Q_(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Xg.value && lv.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}hide() {this.isVisible = !1;@@ -18253,22 +18253,22 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);}createProjectionDeltas() {- this.prevProjectionDelta = Zg(), this.projectionDelta = Zg(), this.projectionDeltaWithTransform = Zg();+ this.prevProjectionDelta = $g(), this.projectionDelta = $g(), this.projectionDeltaWithTransform = $g();}setAnimationOrigin(e, t = !1, n) {- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Zg();+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = $g();(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;- let s = $g(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(Cte));+ let s = t_(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(mte));this.animationProgress = 0;let f, p = n?.interpolateProjection(e);this.mixTargetDelta = (t) => {let n = t / 1e3, r = p?.(n);- r ? (o.x.translate = r.x, o.x.scale = Vd(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = Vd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (uv(o.x, e.x, n), uv(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (M_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Ste(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Xee(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= $g(), T_(f, this.relativeTarget)), c && (this.animationValues = a, ete(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;+ r ? (o.x.translate = r.x, o.x.scale = Bd(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = Bd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (vv(o.x, e.x, n), vv(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (R_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), pte(this.relativeTarget, this.relativeTargetOrigin, s, n), f && J_(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= t_(), D_(f, this.relativeTarget)), c && (this.animationValues = a, Uee(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);}startAnimation(e) {- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (uf(this.pendingAnimation), void 0), this.pendingAnimation = lf.update(() => {- ev.hasAnimatedSinceResize = !0, this.motionValue ||= qm(0), this.motionValue.jump(0, !1), this.currentAnimation = Y_(this.motionValue, [0, 1e3], {+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (lf(this.pendingAnimation), void 0), this.pendingAnimation = cf.update(() => {+ cv.hasAnimatedSinceResize = !0, this.motionValue ||= Km(0), this.motionValue.jump(0, !1), this.currentAnimation = av(this.motionValue, [0, 1e3], {...e,velocity: 0,isSync: !0,@@ -18278,7 +18278,7 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkonComplete: () => {e.onComplete && e.onComplete(), this.completeAnimation();}- }), Jf(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;+ }), qf(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;});}completeAnimation() {@@ -18287,23 +18287,23 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checke && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");}finishAnimation() {- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(ote), this.currentAnimation.stop()), this.completeAnimation();+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Zee), this.currentAnimation.stop()), this.completeAnimation();}applyTransformsToTarget() {let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;if (t && i && n) {- if (this !== e && this.layout && n && hv(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {- i = this.target || $g();- let t = D_(this.layout.layoutBox.x);+ if (this !== e && this.layout && n && Cv(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {+ i = this.target || t_();+ let t = j_(this.layout.layoutBox.x);i.x.min = e.target.x.min, i.x.max = i.x.min + t;- let n = D_(this.layout.layoutBox.y);+ let n = j_(this.layout.layoutBox.y);i.y.min = e.target.y.min, i.y.max = i.y.min + n;}- T_(t, i), wg(t, r), k_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);+ D_(t, i), wg(t, r), P_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);}}registerSharedNode(e, t) {- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Q_()), this.sharedNodes.get(e).add(t);+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Yee()), this.sharedNodes.get(e).add(t);let n = t.options.initialPromotionConfig;t.promote({transition: n ? n.transition : void 0,@@ -18340,8 +18340,8 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet t = !1, { latestValues: n } = e;if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;let r = {};- n.z && rv("z", e, r, this.animationValues);- for (let t = 0; t < nv.length; t++) rv(`rotate${nv[t]}`, e, r, this.animationValues), rv(`skew${nv[t]}`, e, r, this.animationValues);+ n.z && dv("z", e, r, this.animationValues);+ for (let t = 0; t < uv.length; t++) dv(`rotate${uv[t]}`, e, r, this.animationValues), dv(`skew${uv[t]}`, e, r, this.animationValues);e.render();for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);e.scheduleRender();@@ -18354,71 +18354,71 @@ function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}let n = this.getTransformTemplate();if (this.needsReset) {- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = Z_(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = sv(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";return;}let r = this.getLead();if (!this.projectionDelta || !this.layout || !r.target) {- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = Z_(t?.pointerEvents) || ""), this.hasProjected && !fg(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = sv(t?.pointerEvents) || ""), this.hasProjected && !dg(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);return;}e.visibility = "";let i = r.animationValues || r.latestValues;this.applyTransformsToTarget();- let a = Qee(this.projectionDeltaWithTransform, this.treeScale, i);+ let a = Vee(this.projectionDeltaWithTransform, this.treeScale, i);n && (a = n(i, a)), e.transform = a;let { x: o, y: s } = this.projectionDelta;e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;- for (let t in g_) {+ for (let t in v_) {if (i[t] === void 0) continue;- let { correct: n, applyTo: o, isCSSVariable: s } = g_[t], c = a === "none" ? i[t] : n(i[t], r);+ let { correct: n, applyTo: o, isCSSVariable: s } = v_[t], c = a === "none" ? i[t] : n(i[t], r);if (o) {let t = o.length;for (let n = 0; n < t; n++) e[o[n]] = c;} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;}- this.options.layoutId && (e.pointerEvents = r === this ? Z_(t?.pointerEvents) || "" : "none");+ this.options.layoutId && (e.pointerEvents = r === this ? sv(t?.pointerEvents) || "" : "none");}clearSnapshot() {this.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;}resetTree() {- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(sv), this.root.sharedNodes.clear();+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(hv), this.root.sharedNodes.clear();}};}-function cte(e) {- e.updateLayout(), mte(e);+function $ee(e) {+ e.updateLayout(), ate(e);}-function lte(e) {+function ete(e) {let t = e.resumeFrom?.snapshot || e.snapshot;if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;- if (i === "size") U_((e) => {- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = D_(r);+ if (i === "size") $_((e) => {+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = j_(r);r.min = n[e].min, r.max = r.min + i;});else if (i === "x" || i === "y") {let e = i === "x" ? "y" : "x";- w_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);- } else hv(i, t.layoutBox, n) && U_((r) => {- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = D_(n[r]);+ E_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);+ } else Cv(i, t.layoutBox, n) && $_((r) => {+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = j_(n[r]);i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);});- let o = Zg();- k_(o, n, t.layoutBox);- let s = Zg();- a ? k_(s, e.applyTransform(r, !0), t.measuredBox) : k_(s, n, t.layoutBox);- let c = !L_(o), l = !1;+ let o = $g();+ P_(o, n, t.layoutBox);+ let s = $g();+ a ? P_(s, e.applyTransform(r, !0), t.measuredBox) : P_(s, n, t.layoutBox);+ let c = !K_(o), l = !1;if (!e.resumeFrom) {let r = e.getClosestProjectingParent();if (r && !r.resumeFrom) {let { snapshot: i, layout: a } = r;if (i && a) {- let o = e.options.layoutAnchor || void 0, s = $g();- M_(s, t.layoutBox, i.layoutBox, o);- let c = $g();- M_(c, n, a.layoutBox, o), B_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);+ let o = e.options.layoutAnchor || void 0, s = t_();+ R_(s, t.layoutBox, i.layoutBox, o);+ let c = t_();+ R_(c, n, a.layoutBox, o), X_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);}}}@@ -18436,68 +18436,68 @@ function lte(e) {}e.options.transition = void 0;}-function ute(e) {- Jg.value && tv.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);+function tte(e) {+ Xg.value && lv.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);}-function dte(e) {+function nte(e) {e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;}-function fte(e) {+function rte(e) {e.clearSnapshot();}-function sv(e) {+function hv(e) {e.clearMeasurements();}-function pte(e) {+function ite(e) {e.isLayoutDirty = !0, e.updateLayout();}-function cv(e) {+function gv(e) {e.isLayoutDirty = !1;}-function mte(e) {+function ate(e) {let { snapshot: t, dragAncestor: n } = e, r = n?.layout;if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;let i = n.dragSnapshot;- U_((e) => xg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));+ $_((e) => xg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));}-function hte(e) {+function ote(e) {e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);}-function gte(e) {+function ste(e) {e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));}-function _te(e) {+function cte(e) {let { visualElement: t } = e.options;t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();}-function lv(e) {+function _v(e) {e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;}-function vte(e) {+function lte(e) {e.resolveTargetDelta();}-function yte(e) {+function ute(e) {e.calcProjection();}-function bte(e) {+function dte(e) {e.resetSkewAndRotation();}-function xte(e) {+function fte(e) {e.removeLeadSnapshot();}-function uv(e, t, n) {- e.translate = Vd(t.translate, 0, n), e.scale = Vd(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;+function vv(e, t, n) {+ e.translate = Bd(t.translate, 0, n), e.scale = Bd(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}-function dv(e, t, n, r) {- e.min = Vd(t.min, n.min, r), e.max = Vd(t.max, n.max, r);+function yv(e, t, n, r) {+ e.min = Bd(t.min, n.min, r), e.max = Bd(t.max, n.max, r);}-function Ste(e, t, n, r) {- dv(e.x, t.x, n.x, r), dv(e.y, t.y, n.y, r);+function pte(e, t, n, r) {+ yv(e.x, t.x, n.x, r), yv(e.y, t.y, n.y, r);}-function Cte(e) {+function mte(e) {return e.animationValues && e.animationValues.opacityExit !== void 0;}-var wte = {+var hte = {duration: .45,ease: [.4,@@ -18505,79 +18505,79 @@ var wte = {.1,1]-}, fv = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), pv = fv("applewebkit/") && !fv("chrome/") ? Math.round : fu;-function mv(e) {- e.min = pv(e.min), e.max = pv(e.max);+}, bv = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), xv = bv("applewebkit/") && !bv("chrome/") ? Math.round : fu;+function Sv(e) {+ e.min = xv(e.min), e.max = xv(e.max);}-function Tte(e) {- mv(e.x), mv(e.y);+function gte(e) {+ Sv(e.x), Sv(e.y);}-function hv(e, t, n) {- return e === "position" || e === "preserve-aspect" && !Gee(V_(t), V_(n), .2);+function Cv(e, t, n) {+ return e === "position" || e === "preserve-aspect" && !M_(Z_(t), Z_(n), .2);}-function Ete(e) {+function _te(e) {return e !== e.root && e.scroll?.wasRoot;}//#endregion//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs-var Dte = ov({- attachResizeListener: (e, t) => X_(e, "resize", t),+var vte = mv({+ attachResizeListener: (e, t) => ov(e, "resize", t),measureScroll: () => ({x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,y: document.documentElement.scrollTop || document.body?.scrollTop || 0}),checkIsScrollRoot: () => !0-}), gv = { current: void 0 }, _v = ov({+}), wv = { current: void 0 }, Tv = mv({measureScroll: (e) => ({x: e.scrollLeft,y: e.scrollTop}),defaultParent: () => {- if (!gv.current) {- let e = new Dte({});- e.mount(window), e.setOptions({ layoutScroll: !0 }), gv.current = e;+ if (!wv.current) {+ let e = new vte({});+ e.mount(window), e.setOptions({ layoutScroll: !0 }), wv.current = e;}- return gv.current;+ return wv.current;},resetTransform: (e, t) => {e.style.transform = t === void 0 ? "none" : t;},checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"-}), vv = (0, D.createContext)({+}), Ev = (0, D.createContext)({transformPagePoint: (e) => e,isStatic: !1,reducedMotion: "never"});//#endregion//#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs-function yv(e, t) {+function Dv(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}-function Ote(...e) {+function yte(...e) {return (t) => {let n = !1, r = e.map((e) => {- let r = yv(e, t);+ let r = Dv(e, t);return !n && typeof r == "function" && (n = !0), r;});if (n) return () => {for (let t = 0; t < r.length; t++) {let n = r[t];- typeof n == "function" ? n() : yv(e[t], null);+ typeof n == "function" ? n() : Dv(e[t], null);}};};}-function kte(...e) {- return D.useCallback(Ote(...e), e);+function bte(...e) {+ return D.useCallback(yte(...e), e);}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs-var Ate = class extends D.Component {+var xte = class extends D.Component {getSnapshotBeforeUpdate(e) {let t = this.props.childRef.current;- if (Gh(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {- let e = t.offsetParent, n = Gh(e) && e.offsetWidth || 0, r = Gh(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;+ if (Wh(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {+ let e = t.offsetParent, n = Wh(e) && e.offsetWidth || 0, r = Wh(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction;}return null;@@ -18587,7 +18587,7 @@ var Ate = class extends D.Component {return this.props.children;}};-function jte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {+function Ste({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {let o = (0, D.useId)(), s = (0, D.useRef)(null), c = (0, D.useRef)({width: 0,height: 0,@@ -18596,7 +18596,7 @@ function jte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:right: 0,bottom: 0,direction: "ltr"- }), { nonce: l } = (0, D.useContext)(vv), u = kte(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);+ }), { nonce: l } = (0, D.useContext)(Ev), u = bte(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);return (0, D.useInsertionEffect)(() => {let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;if (t || a === !1 || !s.current || !e || !u) return;@@ -18616,7 +18616,7 @@ function jte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:`), () => {s.current?.removeAttribute("data-motion-pop-id"), S.contains(x) && S.removeChild(x);};- }, [t]), (0, O.jsx)(Ate, {+ }, [t]), (0, O.jsx)(xte, {isPresent: t,childRef: s,sizeRef: c,@@ -18626,8 +18626,8 @@ function jte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs-var Mte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {- let u = tu(Nte), d = (0, D.useId)(), f = (0, D.useRef)(n), p = (0, D.useRef)(r);+var Cte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {+ let u = tu(wte), d = (0, D.useId)(), f = (0, D.useRef)(n), p = (0, D.useRef)(r);nu(() => {f.current = n, p.current = r;});@@ -18653,7 +18653,7 @@ var Mte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iu.forEach((e, t) => u.set(t, !1));}, [n]), D.useEffect(() => {!n && !u.size && r && r();- }, [n]), e = (0, O.jsx)(jte, {+ }, [n]), e = (0, O.jsx)(Ste, {pop: o === "popLayout",isPresent: n,anchorX: s,@@ -18665,12 +18665,12 @@ var Mte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: ichildren: e});};-function Nte() {+function wte() {return /* @__PURE__ */ new Map();}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs-function bv(e = !0) {+function Ov(e = !0) {let t = (0, D.useContext)(ru);if (t === null) return [!0, null];let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, D.useId)();@@ -18684,16 +18684,16 @@ function bv(e = !0) {]);return !n && r ? [!1, o] : [!0];}-function xv() {- return Pte((0, D.useContext)(ru));+function kv() {+ return Tte((0, D.useContext)(ru));}-function Pte(e) {+function Tte(e) {return e === null || e.isPresent;}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs-var Sv = (e) => e.key || "";-function Cv(e) {+var Av = (e) => e.key || "";+function jv(e) {let t = [];return D.Children.forEach(e, (e) => {(0, D.isValidElement)(e) && t.push(e);@@ -18701,8 +18701,8 @@ function Cv(e) {}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs-var wv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {- let [u, d] = bv(o), f = (0, D.useMemo)(() => Cv(e), [e]), p = o && !u ? [] : f.map(Sv), m = (0, D.useRef)(!0), h = tu(() => /* @__PURE__ */ new Map()), g = (0, D.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, D.useState)(f), [y, b] = (0, D.useState)(f);+var Mv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {+ let [u, d] = Ov(o), f = (0, D.useMemo)(() => jv(e), [e]), p = o && !u ? [] : f.map(Av), m = (0, D.useRef)(!0), h = tu(() => /* @__PURE__ */ new Map()), g = (0, D.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, D.useState)(f), [y, b] = (0, D.useState)(f);nu(() => {o && !u && !y.length && d?.();}, [@@ -18713,7 +18713,7 @@ var wv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence]), nu(() => {m.current = !1;for (let e = 0; e < y.length; e++) {- let t = Sv(y[e]);+ let t = Av(y[e]);p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);}}, [@@ -18725,15 +18725,15 @@ var wv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceif (f !== _) {let e = [...f], t = 0;for (let n of y) {- let r = p.indexOf(Sv(n));+ let r = p.indexOf(Av(n));r === -1 ? (e.splice(t++, 0, n), x.push(n)) : t = r + x.length + 1;}- return x.every((e) => h.get(Sv(e))) ? e = f : a === "wait" && (e = x), b(Cv(e)), v(f), null;+ return x.every((e) => h.get(Av(e))) ? e = f : a === "wait" && (e = x), b(jv(e)), v(f), null;}let { forceRender: S } = (0, D.useContext)(eu);return (0, O.jsx)(O.Fragment, { children: y.map((e) => {- let _ = Sv(e), b = o && !u ? !1 : f === y || p.includes(_);- return (0, O.jsx)(Mte, {+ let _ = Av(e), b = o && !u ? !1 : f === y || p.includes(_);+ return (0, O.jsx)(Cte, {isPresent: b,initial: !m.current || n ? void 0 : !1,custom: t,@@ -18754,7 +18754,7 @@ var wv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presencechildren: e}, _);}) });-}, Tv = (0, D.createContext)({ strict: !1 }), Ev = {+}, Nv = (0, D.createContext)({ strict: !1 }), Pv = {animation: ["animate","variants",@@ -18791,34 +18791,34 @@ var wv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence"onViewportLeave"],layout: ["layout", "layoutId"]-}, Dv = !1;-function Fte() {- if (Dv) return;+}, Fv = !1;+function Ete() {+ if (Fv) return;let e = {};- for (let t in Ev) e[t] = { isEnabled: (e) => Ev[t].some((t) => !!e[t]) };- f_(e), Dv = !0;+ for (let t in Pv) e[t] = { isEnabled: (e) => Pv[t].some((t) => !!e[t]) };+ m_(e), Fv = !0;}-function Ov() {- return Fte(), Mee();+function Iv() {+ return Ete(), kee();}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs-function Ite(e) {- let t = Ov();+function Dte(e) {+ let t = Iv();for (let n in e) t[n] = {...t[n],...e[n]};- f_(t);+ m_(t);}//#endregion//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function Lte({ children: e, ...t }) {- let n = (0, D.useContext)(vv);+function Ote({ children: e, ...t }) {+ let n = (0, D.useContext)(Ev);t = {...n,...t- }, t.transition = Jm(t.transition, n.transition), t.isStatic = tu(() => t.isStatic);+ }, t.transition = qm(t.transition, n.transition), t.isStatic = tu(() => t.isStatic);let r = (0, D.useMemo)(() => t, [JSON.stringify(t.transition),t.transformPagePoint,@@ -18826,41 +18826,41 @@ function Lte({ children: e, ...t }) {t.skipAnimations,t.isValidProp]);- return (0, O.jsx)(vv.Provider, {+ return (0, O.jsx)(Ev.Provider, {value: r,children: e});}//#endregion//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var kv = /* @__PURE__ */ (0, D.createContext)({});+var Lv = /* @__PURE__ */ (0, D.createContext)({});//#endregion//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs-function Rte(e, t) {- if (a_(e)) {+function kte(e, t) {+ if (s_(e)) {let { initial: t, animate: n } = e;return {- initial: t === !1 || n_(t) ? t : void 0,- animate: n_(n) ? n : void 0+ initial: t === !1 || i_(t) ? t : void 0,+ animate: i_(n) ? n : void 0};}return e.inherit === !1 ? {} : t;}//#endregion//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs-function zte(e) {- let { initial: t, animate: n } = Rte(e, (0, D.useContext)(kv));+function Ate(e) {+ let { initial: t, animate: n } = kte(e, (0, D.useContext)(Lv));return (0, D.useMemo)(() => ({initial: t,animate: n- }), [Av(t), Av(n)]);+ }), [Rv(t), Rv(n)]);}-function Av(e) {+function Rv(e) {return Array.isArray(e) ? e.join(" ") : e;}//#endregion//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var jv = () => ({+var zv = () => ({style: {},transform: {},transformOrigin: {},@@ -18868,42 +18868,42 @@ var jv = () => ({});//#endregion//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs-function Mv(e, t, n) {- for (let r in t) !gh(t[r]) && !__(r, n) && (e[r] = t[r]);+function Bv(e, t, n) {+ for (let r in t) !hh(t[r]) && !y_(r, n) && (e[r] = t[r]);}-function Bte({ transformTemplate: e }, t) {+function jte({ transformTemplate: e }, t) {return (0, D.useMemo)(() => {- let n = jv();- return ig(n, t, e), Object.assign({}, n.vars, n.style);+ let n = zv();+ return rg(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}-function Vte(e, t) {+function Mte(e, t) {let n = e.style || {}, r = {};- return Mv(r, n, e), Object.assign(r, Bte(e, t)), r;+ return Bv(r, n, e), Object.assign(r, jte(e, t)), r;}-function Hte(e, t) {- let n = {}, r = Vte(e, t);+function Vv(e, t) {+ let n = {}, r = Mte(e, t);return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;}//#endregion//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs-var Nv = () => ({- ...jv(),+var Hv = () => ({+ ...zv(),attrs: {}});//#endregion//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function Ute(e, t, n, r) {+function Nte(e, t, n, r) {let i = (0, D.useMemo)(() => {- let n = Nv();- return og(n, t, b_(r), e.transformTemplate, e.style), {+ let n = Hv();+ return ag(n, t, S_(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }};}, [t]);if (e.style) {let t = {};- Mv(t, e.style, e), i.style = {+ Bv(t, e.style, e), i.style = {...t,...i.style};@@ -18912,23 +18912,23 @@ function Ute(e, t, n, r) {}//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-var Wte = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));-function Pv(e) {- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Wte.has(e);+var Pte = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));+function Uv(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Pte.has(e);}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function Gte(e, t) {- return e.startsWith("on") ? !Pv(e) : t?.(e) ?? !Pv(e);+function Fte(e, t) {+ return e.startsWith("on") ? !Uv(e) : t?.(e) ?? !Uv(e);}-function Kte(e, t, n, r) {+function Ite(e, t, n, r) {let i = {};- for (let a in e) (a !== "values" || typeof e.values != "object") && (gh(e[a]) || (Gte(a, r) || n === !0 && Pv(a) || !t && !Pv(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));+ for (let a in e) (a !== "values" || typeof e.values != "object") && (hh(e[a]) || (Fte(a, r) || n === !0 && Uv(a) || !t && !Uv(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));return i;}//#endregion//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var qte = [+var Lte = ["animate","circle","defs",@@ -18957,17 +18957,17 @@ var qte = [];//#endregion//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Fv(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(qte.indexOf(e) > -1 || /[A-Z]/u.test(e));+function Wv(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!(Lte.indexOf(e) > -1 || /[A-Z]/u.test(e));}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function Jte(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Fv(e) ? Ute : Hte)(t, r, i, e), l = Kte(t, typeof e == "string", a, s), u = e === D.Fragment ? {} : {+function Rte(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? Wv(e) ? Nte : Vv)(t, r, i, e), l = Ite(t, typeof e == "string", a, s), u = e === D.Fragment ? {} : {...l,...c,ref: n- }, { children: d } = t, f = (0, D.useMemo)(() => gh(d) ? d.get() : d, [d]);+ }, { children: d } = t, f = (0, D.useMemo)(() => hh(d) ? d.get() : d, [d]);return (0, D.createElement)(e, {...u,children: f@@ -18975,24 +18975,24 @@ function Jte(e, t, n, { latestValues: r }, i, a = !1, o, s) {}//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function Yte({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function zte({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: Xte(n, r, i, e),+ latestValues: Bte(n, r, i, e),renderState: t()};}-function Xte(e, t, n, r) {+function Bte(e, t, n, r) {let i = {}, a = r(e, {});- for (let e in a) i[e] = Z_(a[e]);- let { initial: o, animate: s } = e, c = a_(e), l = o_(e);+ for (let e in a) i[e] = sv(a[e]);+ let { initial: o, animate: s } = e, c = s_(e), l = c_(e);t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));let u = n ? n.initial === !1 : !1;u ||= o === !1;let d = u ? s : o;- if (d && typeof d != "boolean" && !t_(d)) {+ if (d && typeof d != "boolean" && !r_(d)) {let t = Array.isArray(d) ? d : [d];for (let n = 0; n < t.length; n++) {- let r = ch(e, t[n]);+ let r = sh(e, t[n]);if (r) {let { transitionEnd: e, transition: t, ...n } = r;for (let e in n) {@@ -19009,19 +19009,19 @@ function Xte(e, t, n, r) {}return i;}-var Iv = (e) => (t, n) => {- let r = (0, D.useContext)(kv), i = (0, D.useContext)(ru), a = () => Yte(e, t, r, i);+var Gv = (e) => (t, n) => {+ let r = (0, D.useContext)(Lv), i = (0, D.useContext)(ru), a = () => zte(e, t, r, i);return n ? a() : tu(a);-}, Zte = /*@__PURE__*/ Iv({- scrapeMotionValuesFromProps: v_,- createRenderState: jv-}), Qte = /*@__PURE__*/ Iv({- scrapeMotionValuesFromProps: x_,- createRenderState: Nv-}), $te = Symbol.for("motionComponentSymbol");+}, Vte = /*@__PURE__*/ Gv({+ scrapeMotionValuesFromProps: b_,+ createRenderState: zv+}), Hte = /*@__PURE__*/ Gv({+ scrapeMotionValuesFromProps: C_,+ createRenderState: Hv+}), Kv = Symbol.for("motionComponentSymbol");//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function ene(e, t, n) {+function qv(e, t, n) {let r = (0, D.useRef)(n);(0, D.useInsertionEffect)(() => {r.current = n;@@ -19040,16 +19040,16 @@ function ene(e, t, n) {}//#endregion//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var Lv = (0, D.createContext)({});+var Jv = (0, D.createContext)({});//#endregion//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs-function Rv(e) {+function Yv(e) {return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");}//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs-function tne(e, t, n, r, i, a) {- let { visualElement: o } = (0, D.useContext)(kv), s = (0, D.useContext)(Tv), c = (0, D.useContext)(ru), l = (0, D.useContext)(vv), u = l.reducedMotion, d = l.skipAnimations, f = (0, D.useRef)(null), p = (0, D.useRef)(!1);+function Xv(e, t, n, r, i, a) {+ let { visualElement: o } = (0, D.useContext)(Lv), s = (0, D.useContext)(Nv), c = (0, D.useContext)(ru), l = (0, D.useContext)(Ev), u = l.reducedMotion, d = l.skipAnimations, f = (0, D.useRef)(null), p = (0, D.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,parent: o,@@ -19060,13 +19060,13 @@ function tne(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, D.useContext)(Lv);- m && !m.projection && i && (m.type === "html" || m.type === "svg") && nne(f.current, n, i, h);+ let m = f.current, h = (0, D.useContext)(Jv);+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Ute(f.current, n, i, h);let g = (0, D.useRef)(!1);(0, D.useInsertionEffect)(() => {m && g.current && m.update(n, c);});- let _ = n[bh], v = (0, D.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));+ let _ = n[yh], v = (0, D.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));return nu(() => {p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);}, []), nu(() => {@@ -19077,12 +19077,12 @@ function tne(e, t, n, r, i, a) {}), !1), m.enteringChildren = void 0);}), m;}-function nne(e, t, n, r) {+function Ute(e, t, n, r) {let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : zv(e.parent)), e.projection.setOptions({+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Zv(e.parent)), e.projection.setOptions({layoutId: i,layout: a,- alwaysMeasureLayout: !!o || s && Rv(s),+ alwaysMeasureLayout: !!o || s && Yv(s),visualElement: e,animationType: typeof a == "string" ? a : "both",initialPromotionConfig: r,@@ -19092,46 +19092,46 @@ function nne(e, t, n, r) {layoutAnchor: u});}-function zv(e) {- if (e) return e.options.allowProjection === !1 ? zv(e.parent) : e.projection;+function Zv(e) {+ if (e) return e.options.allowProjection === !1 ? Zv(e.parent) : e.projection;}//#endregion//#region node_modules/framer-motion/dist/es/motion/index.mjs-function Bv(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {- r && Ite(r);- let a = n ? n === "svg" : Fv(e), o = a ? Qte : Zte;+function Qv(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && Dte(r);+ let a = n ? n === "svg" : Wv(e), o = a ? Hte : Vte;function s(n, s) {let c, l = {- ...(0, D.useContext)(vv),+ ...(0, D.useContext)(Ev),...n,- layoutId: rne(n)- }, { isStatic: u, isValidProp: d } = l, f = zte(n), p = o(n, u);+ layoutId: Wte(n)+ }, { isStatic: u, isValidProp: d } = l, f = Ate(n), p = o(n, u);if (!u && typeof window < "u") {- ine(l, r);- let t = ane(l);- c = t.MeasureLayout, f.visualElement = tne(e, p, l, i, t.ProjectionNode, a);+ Gte(l, r);+ let t = Kte(l);+ c = t.MeasureLayout, f.visualElement = Xv(e, p, l, i, t.ProjectionNode, a);}- return (0, O.jsxs)(kv.Provider, {+ return (0, O.jsxs)(Lv.Provider, {value: f,children: [c && f.visualElement ? (0, O.jsx)(c, {visualElement: f.visualElement,...l- }) : null, Jte(e, n, ene(p, f.visualElement, s), p, u, t, a, d)]+ }) : null, Rte(e, n, qv(p, f.visualElement, s), p, u, t, a, d)]});}s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;let c = (0, D.forwardRef)(s);- return c[$te] = e, c;+ return c[Kv] = e, c;}-function rne({ layoutId: e }) {+function Wte({ layoutId: e }) {let t = (0, D.useContext)(eu).id;return t && e !== void 0 ? t + "-" + e : e;}-function ine(e, t) {- (0, D.useContext)(Tv).strict;+function Gte(e, t) {+ (0, D.useContext)(Nv).strict;}-function ane(e) {- let { drag: t, layout: n } = Ov();+function Kte(e) {+ let { drag: t, layout: n } = Iv();if (!t && !n) return {};let r = {...t,@@ -19144,20 +19144,20 @@ function ane(e) {}//#endregion//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function one(e, t) {- if (typeof Proxy > "u") return Bv;- let n = /* @__PURE__ */ new Map(), r = (n, r) => Bv(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Bv(a, void 0, e, t)), n.get(a)) });+function qte(e, t) {+ if (typeof Proxy > "u") return Qv;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Qv(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Qv(a, void 0, e, t)), n.get(a)) });}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var sne = (e, t) => t.isSVG ?? Fv(e) ? new Lee(t) : new Fee(t, { allowProjection: e !== D.Fragment }), cne = class extends m_ {+var Jte = (e, t) => t.isSVG ?? Wv(e) ? new Pee(t) : new Mee(t, { allowProjection: e !== D.Fragment }), Yte = class extends g_ {constructor(e) {- super(e), e.animationState ||= zee(e);+ super(e), e.animationState ||= Iee(e);}updateAnimationControlsSubscription() {let { animate: e } = this.node.getProps();- t_(e) && (this.unmountControls = e.subscribe(this.node));+ r_(e) && (this.unmountControls = e.subscribe(this.node));}mount() {this.updateAnimationControlsSubscription();@@ -19169,11 +19169,11 @@ var sne = (e, t) => t.isSVG ?? Fv(e) ? new Lee(t) : new Fee(t, { allowProjectionunmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, lne = 0, une = {- animation: { Feature: cne },- exit: { Feature: class extends m_ {+}, Xte = 0, Zte = {+ animation: { Feature: Yte },+ exit: { Feature: class extends g_ {constructor() {- super(...arguments), this.id = lne++;+ super(...arguments), this.id = Xte++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -19184,7 +19184,7 @@ var sne = (e, t) => t.isSVG ?? Fv(e) ? new Lee(t) : new Fee(t, { allowProjectionif (this.exit === !0) {let { initial: e } = this.node.getProps();if (e && !Array.isArray(e)) {- let { transition: t, transitionEnd: n, ...r } = lh(this.node, e) || {};+ let { transition: t, transitionEnd: n, ...r } = ch(this.node, e) || {};for (let e in r) this.node.getValue(e)?.jump(r[e]);}this.node.blockInitialAnimation = !1, n.reset(), n.animateChanges();@@ -19206,28 +19206,28 @@ var sne = (e, t) => t.isSVG ?? Fv(e) ? new Lee(t) : new Fee(t, { allowProjection};//#endregion//#region node_modules/framer-motion/dist/es/events/event-info.mjs-function Vv(e) {+function $v(e) {return { point: {x: e.pageX,y: e.pageY} };}-var dne = (e) => (t) => Pg(t) && e(t, Vv(t));+var Qte = (e) => (t) => Lg(t) && e(t, $v(t));//#endregion//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs-function Hv(e, t, n, r) {- return X_(e, t, dne(n), r);+function ey(e, t, n, r) {+ return ov(e, t, Qte(n), r);}//#endregion//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs-var Uv = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Wv = (e, t) => Math.abs(e - t);-function fne(e, t) {- let n = Wv(e.x, t.x), r = Wv(e.y, t.y);+var ty = ({ current: e }) => e ? e.ownerDocument.defaultView : null, ny = (e, t) => Math.abs(e - t);+function $te(e, t) {+ let n = ny(e.x, t.x), r = ny(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}//#endregion//#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs-var Gv = /*#__PURE__*/ new Set(["auto", "scroll"]), Kv = class {+var ry = /*#__PURE__*/ new Set(["auto", "scroll"]), iy = class {constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {this.handleScroll(e.target);@@ -19235,8 +19235,8 @@ var Gv = /*#__PURE__*/ new Set(["auto", "scroll"]), Kv = class {this.handleScroll(window);}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = qv(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = Yv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = fne(e.offset, {+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = ay(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = sy(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = $te(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -19249,33 +19249,33 @@ var Gv = /*#__PURE__*/ new Set(["auto", "scroll"]), Kv = class {let { onStart: i, onMove: a } = this.handlers;t || (i && i(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = qv(t, this.transformPagePoint), this.hasPendingMove = !0, lf.update(this.updatePoint, !0);+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = ay(t, this.transformPagePoint), this.hasPendingMove = !0, cf.update(this.updatePoint, !0);}, this.handlePointerUp = (e, t) => {this.hasPendingMove && this.updatePoint(), this.end();let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;- let a = Yv(e.type === "pointercancel" ? this.lastMoveEventInfo : qv(t, this.transformPagePoint), this.history);+ let a = sy(e.type === "pointercancel" ? this.lastMoveEventInfo : ay(t, this.transformPagePoint), this.history);this.startEvent && n && n(e, a), r && r(e, a);- }, !Pg(e)) return;+ }, !Lg(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = qv(Vv(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Bu;+ let s = ay($v(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Bu;this.history = [{...c,timestamp: l}];let { onSessionStart: u } = t;- u && u(e, Yv(s, this.history));+ u && u(e, sy(s, this.history));let d = {passive: !0,capture: !0};- this.removeListeners = pu(Hv(this.contextWindow, "pointermove", this.handlePointerMove, d), Hv(this.contextWindow, "pointerup", this.handlePointerUp, d), Hv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);+ this.removeListeners = pu(ey(this.contextWindow, "pointermove", this.handlePointerMove, d), ey(this.contextWindow, "pointerup", this.handlePointerUp, d), ey(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;for (; t;) {let e = getComputedStyle(t);- (Gv.has(e.overflowX) || Gv.has(e.overflowY)) && this.scrollPositions.set(t, {+ (ry.has(e.overflowX) || ry.has(e.overflowY)) && this.scrollPositions.set(t, {x: t.scrollLeft,y: t.scrollTop}), t = t.parentElement;@@ -19300,44 +19300,44 @@ var Gv = /*#__PURE__*/ new Set(["auto", "scroll"]), Kv = class {x: r.x - t.x,y: r.y - t.y};- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), lf.update(this.updatePoint, !0));+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), cf.update(this.updatePoint, !0));}updateHandlers(e) {this.handlers = e;}end() {- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), uf(this.updatePoint);+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), lf(this.updatePoint);}};-function qv(e, t) {+function ay(e, t) {return t ? { point: t(e.point) } : e;}-function Jv(e, t) {+function oy(e, t) {return {x: e.x - t.x,y: e.y - t.y};}-function Yv({ point: e }, t) {+function sy({ point: e }, t) {return {point: e,- delta: Jv(e, Xv(t)),- offset: Jv(e, pne(t)),- velocity: mne(t, .1)+ delta: oy(e, cy(t)),+ offset: oy(e, ene(t)),+ velocity: tne(t, .1)};}-function pne(e) {+function ene(e) {return e[0];}-function Xv(e) {+function cy(e) {return e[e.length - 1];}-function mne(e, t) {+function tne(e, t) {if (e.length < 2) return {x: 0,y: 0};- let n = e.length - 1, r = null, i = Xv(e);+ let n = e.length - 1, r = null, i = cy(e);for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ gu(t)));) n--;if (!r) return {x: 0,@@ -19357,66 +19357,66 @@ function mne(e, t) {}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs-function hne(e, { min: t, max: n }, r) {- return t !== void 0 && e < t ? e = r ? Vd(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Vd(n, e, r.max) : Math.min(e, n)), e;+function nne(e, { min: t, max: n }, r) {+ return t !== void 0 && e < t ? e = r ? Bd(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Bd(n, e, r.max) : Math.min(e, n)), e;}-function Zv(e, t, n) {+function ly(e, t, n) {return {min: t === void 0 ? void 0 : e.min + t,max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)};}-function gne(e, { top: t, left: n, bottom: r, right: i }) {+function rne(e, { top: t, left: n, bottom: r, right: i }) {return {- x: Zv(e.x, n, i),- y: Zv(e.y, t, r)+ x: ly(e.x, n, i),+ y: ly(e.y, t, r)};}-function Qv(e, t) {+function uy(e, t) {let n = t.min - e.min, r = t.max - e.max;return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {min: n,max: r};}-function _ne(e, t) {+function dy(e, t) {return {- x: Qv(e.x, t.x),- y: Qv(e.y, t.y)+ x: uy(e.x, t.x),+ y: uy(e.y, t.y)};}-function vne(e, t) {- let n = .5, r = D_(e), i = D_(t);+function fy(e, t) {+ let n = .5, r = j_(e), i = j_(t);return i > r ? n = /* @__PURE__ */ mu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ mu(e.min, e.max - i, t.min)), ou(0, 1, n);}-function yne(e, t) {+function py(e, t) {let n = {};return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;}-var $v = .35;-function bne(e = $v) {- return e === !1 ? e = 0 : e === !0 && (e = $v), {- x: ey(e, "left", "right"),- y: ey(e, "top", "bottom")+var my = .35;+function hy(e = my) {+ return e === !1 ? e = 0 : e === !0 && (e = my), {+ x: gy(e, "left", "right"),+ y: gy(e, "top", "bottom")};}-function ey(e, t, n) {+function gy(e, t, n) {return {- min: ty(e, t),- max: ty(e, n)+ min: _y(e, t),+ max: _y(e, n)};}-function ty(e, t) {+function _y(e, t) {return typeof e == "number" ? e : e[t] || 0;}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs-var xne = /* @__PURE__ */ new WeakMap(), Sne = class {+var vy = /* @__PURE__ */ new WeakMap(), yy = class {constructor(e) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,y: 0- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = $g(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = t_(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;}start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {let { presenceContext: r } = this.visualElement;@@ -19425,18 +19425,18 @@ var xne = /* @__PURE__ */ new WeakMap(), Sne = class {t && this.snapToCursor(e), this.stopAnimation();}, a = (e, t) => {let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = pee(n), !this.openDragLock)) return;- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), U_((e) => {+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = lee(n), !this.openDragLock)) return;+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), $_((e) => {let t = this.getAxisMotionValue(e).get() || 0;if (fd.test(t)) {let { projection: n } = this.visualElement;if (n && n.layout) {let r = n.layout.layoutBox[e];- r && (t = D_(r) * (parseFloat(t) / 100));+ r && (t = j_(r) * (parseFloat(t) / 100));}}this.originPoint[e] = t;- }), i && lf.update(() => i(e, t), !1, !0), vh(this.visualElement, "transform");+ }), i && cf.update(() => i(e, t), !1, !0), _h(this.visualElement, "transform");let { animationState: a } = this.visualElement;a && a.setActive("whileDrag", !0);}, o = (e, t) => {@@ -19444,7 +19444,7 @@ var xne = /* @__PURE__ */ new WeakMap(), Sne = class {let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();if (!n && !this.openDragLock) return;let { offset: o } = t;- r && this.currentDirection === null ? (this.currentDirection = wne(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && lf.update(() => a(e, t), !1, !0));+ r && this.currentDirection === null ? (this.currentDirection = ine(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && cf.update(() => a(e, t), !1, !0));}, s = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;}, c = () => {@@ -19454,7 +19454,7 @@ var xne = /* @__PURE__ */ new WeakMap(), Sne = class {y: 0});}, { dragSnapToOrigin: l } = this.getProps();- this.panSession = new Kv(e, {+ this.panSession = new iy(e, {onSessionStart: i,onStart: a,onMove: o,@@ -19464,7 +19464,7 @@ var xne = /* @__PURE__ */ new WeakMap(), Sne = class {transformPagePoint: this.visualElement.getTransformPagePoint(),dragSnapToOrigin: l,distanceThreshold: n,- contextWindow: Uv(this.visualElement),+ contextWindow: ty(this.visualElement),element: this.visualElement.current});}@@ -19474,7 +19474,7 @@ var xne = /* @__PURE__ */ new WeakMap(), Sne = class {let { velocity: a } = r;this.startAnimation(a);let { onDragEnd: o } = this.getProps();- o && lf.postRender(() => o(n, r));+ o && cf.postRender(() => o(n, r));}cancel() {this.isDragging = !1;@@ -19488,32 +19488,32 @@ var xne = /* @__PURE__ */ new WeakMap(), Sne = class {}updateAxis(e, t, n) {let { drag: r } = this.getProps();- if (!n || !ry(e, r, this.currentDirection)) return;+ if (!n || !Sy(e, r, this.currentDirection)) return;let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];- this.constraints && this.constraints[e] && (a = hne(a, this.constraints[e], this.elastic[e])), i.set(a);+ this.constraints && this.constraints[e] && (a = nne(a, this.constraints[e], this.elastic[e])), i.set(a);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;- e && Rv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? gne(n.layoutBox, e) : !1, this.elastic = bne(t), r !== this.constraints && !Rv(e) && n && this.constraints && !this.hasMutatedConstraints && U_((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = yne(n.layoutBox[e], this.constraints[e]));+ e && Yv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? rne(n.layoutBox, e) : !1, this.elastic = hy(t), r !== this.constraints && !Yv(e) && n && this.constraints && !this.hasMutatedConstraints && $_((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = py(n.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!e || !Rv(e)) return !1;+ if (!e || !Yv(e)) return !1;let n = e.current, { projection: r } = this.visualElement;if (!r || !r.layout) return !1;r.root && (r.root.scroll = void 0, r.root.updateScroll());- let i = lee(n, r.root, this.visualElement.getTransformPagePoint()), a = _ne(r.layout.layoutBox, i);+ let i = Eg(n, r.root, this.visualElement.getTransformPagePoint()), a = dy(r.layout.layoutBox, i);if (t) {let e = t(oee(a));- this.hasMutatedConstraints = !!e, e && (a = lg(e));+ this.hasMutatedConstraints = !!e, e && (a = cg(e));}return a;}startAnimation(e) {- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = U_((o) => {- if (!ry(o, t, this.currentDirection)) return;+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = $_((o) => {+ if (!Sy(o, t, this.currentDirection)) return;let c = s && s[o] || {};(a === !0 || a === o) && (c = {min: 0,@@ -19536,10 +19536,10 @@ var xne = /* @__PURE__ */ new WeakMap(), Sne = class {}startAxisValueAnimation(e, t) {let n = this.getAxisMotionValue(e);- return vh(this.visualElement, e), n.start(rh(e, n, 0, t, this.visualElement, !1));+ return _h(this.visualElement, e), n.start(nh(e, n, 0, t, this.visualElement, !1));}stopAnimation() {- U_((e) => this.getAxisMotionValue(e).stop());+ $_((e) => this.getAxisMotionValue(e).stop());}getAxisMotionValue(e) {let t = `_drag${e.toUpperCase()}`;@@ -19550,49 +19550,49 @@ var xne = /* @__PURE__ */ new WeakMap(), Sne = class {x: e,y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();- U_((e) => {- if (!ry(e, n, this.currentDirection)) return;+ $_((e) => {+ if (!Sy(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];- t.set((t.get() || 0) + i[e] - Vd(r, o, .5));+ t.set((t.get() || 0) + i[e] - Bd(r, o, .5));});}scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!Rv(t) || !n || !this.constraints) return;+ if (!Yv(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,y: 0};- U_((e) => {+ $_((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = vne({+ i[e] = fy({min: t,max: t}, r[e]);});let { transformTemplate: a } = this.visualElement.getProps();- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), U_((t) => {+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), $_((t) => {let n = this.getAxisMotionValue(t);- if (!ry(t, e, null) || !n.get()) return;+ if (!Sy(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];- n.set(Vd(r, a, i[t]));+ n.set(Bd(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- xne.set(this.visualElement, this);- let e = this.visualElement.current, t = Hv(e, "pointerdown", (t) => {- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && yee(i);+ vy.set(this.visualElement, this);+ let e = this.visualElement.current, t = ey(e, "pointerdown", (t) => {+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && hee(i);n && r && !a && this.start(t);}), n, r = () => {let { dragConstraints: t } = this.getProps();- Rv(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Cne(e, t.current, () => this.scalePositionWithinConstraints()));+ Yv(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= xy(e, t.current, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), lf.read(r);- let o = X_(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {- this.isDragging && t && (U_((t) => {+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), cf.read(r);+ let o = ov(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {+ this.isDragging && t && ($_((t) => {let n = this.getAxisMotionValue(t);n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));}), this.visualElement.render());@@ -19602,7 +19602,7 @@ var xne = /* @__PURE__ */ new WeakMap(), Sne = class {};}getProps() {- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = $v, dragMomentum: o = !0 } = e;+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = my, dragMomentum: o = !0 } = e;return {...e,drag: t,@@ -19614,30 +19614,30 @@ var xne = /* @__PURE__ */ new WeakMap(), Sne = class {};}};-function ny(e) {+function by(e) {let t = !0;return () => {t ? t = !1 : e();};}-function Cne(e, t, n) {- let r = qg(e, ny(n)), i = qg(t, ny(n));+function xy(e, t, n) {+ let r = Yg(e, by(n)), i = Yg(t, by(n));return () => {r(), i();};}-function ry(e, t, n) {+function Sy(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function wne(e, t = 10) {+function ine(e, t = 10) {let n = null;return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs-var Tne = class extends m_ {+var ane = class extends g_ {constructor(e) {- super(e), this.removeGroupControls = fu, this.removeListeners = fu, this.controls = new Sne(e);+ super(e), this.removeGroupControls = fu, this.removeListeners = fu, this.controls = new yy(e);}mount() {let { dragControls: e } = this.node.getProps();@@ -19650,31 +19650,31 @@ var Tne = class extends m_ {unmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, iy = (e) => (t, n) => {- e && lf.update(() => e(t, n), !1, !0);-}, Ene = class extends m_ {+}, Cy = (e) => (t, n) => {+ e && cf.update(() => e(t, n), !1, !0);+}, one = class extends g_ {constructor() {super(...arguments), this.removePointerDownListener = fu;}onPointerDown(e) {- this.session = new Kv(e, this.createPanHandlers(), {+ this.session = new iy(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),- contextWindow: Uv(this.node)+ contextWindow: ty(this.node)});}createPanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: iy(e),- onStart: iy(t),- onMove: iy(n),+ onSessionStart: Cy(e),+ onStart: Cy(t),+ onMove: Cy(n),onEnd: (e, t) => {- delete this.session, r && lf.postRender(() => r(e, t));+ delete this.session, r && cf.postRender(() => r(e, t));}};}mount() {- this.removePointerDownListener = Hv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ this.removePointerDownListener = ey(this.node.current, "pointerdown", (e) => this.onPointerDown(e));}update() {this.session && this.session.updateHandlers(this.createPanHandlers());@@ -19682,36 +19682,36 @@ var Tne = class extends m_ {unmount() {this.removePointerDownListener(), this.session && this.session.end();}-}, ay = !1, Dne = class extends D.Component {+}, wy = !1, sne = class extends D.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), ay && i.root.didUpdate(), i.addEventListener("animationComplete", () => {+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), wy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {this.safeToRemove();}), i.setOptions({...i.options,layoutDependency: this.props.layoutDependency,onExitComplete: () => this.safeToRemove()- })), ev.hasEverUpdated = !0;+ })), cv.hasEverUpdated = !0;}getSnapshotBeforeUpdate(e) {let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;return a && (a.isPresent = i, e.layoutDependency !== t && a.setOptions({...a.options,layoutDependency: t- }), ay = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || lf.postRender(() => {+ }), wy = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || cf.postRender(() => {let e = a.getStack();(!e || !e.members.length) && this.safeToRemove();}))), null;}componentDidUpdate() {let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;- n && (n.options.layoutAnchor = t, n.root.didUpdate(), kg.postRender(() => {+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), Mg.postRender(() => {!n.currentAnimation && n.isLead() && this.safeToRemove();}));}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- ay = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));+ wy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));}safeToRemove() {let { safeToRemove: e } = this.props;@@ -19721,41 +19721,41 @@ var Tne = class extends m_ {return null;}};-function oy(e) {- let [t, n] = bv(), r = (0, D.useContext)(eu);- return (0, O.jsx)(Dne, {+function Ty(e) {+ let [t, n] = Ov(), r = (0, D.useContext)(eu);+ return (0, O.jsx)(sne, {...e,layoutGroup: r,- switchLayoutGroup: (0, D.useContext)(Lv),+ switchLayoutGroup: (0, D.useContext)(Jv),isPresent: t,safeToRemove: n});}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs-var One = {- pan: { Feature: Ene },+var cne = {+ pan: { Feature: one },drag: {- Feature: Tne,- ProjectionNode: _v,- MeasureLayout: oy+ Feature: ane,+ ProjectionNode: Tv,+ MeasureLayout: Ty}};//#endregion//#region node_modules/framer-motion/dist/es/gestures/hover.mjs-function sy(e, t, n) {+function Ey(e, t, n) {let { props: r } = e;e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");let i = r["onHover" + n];- i && lf.postRender(() => i(t, Vv(t)));+ i && cf.postRender(() => i(t, $v(t)));}-var kne = class extends m_ {+var lne = class extends g_ {mount() {let { current: e } = this.node;- e && (this.unmount = hee(e, (e, t) => (sy(this.node, t, "Start"), (e) => sy(this.node, e, "End"))));+ e && (this.unmount = dee(e, (e, t) => (Ey(this.node, t, "Start"), (e) => Ey(this.node, e, "End"))));}unmount() {}-}, Ane = class extends m_ {+}, une = class extends g_ {constructor() {super(...arguments), this.isActive = !1;}@@ -19772,57 +19772,57 @@ var kne = class extends m_ {this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);}mount() {- this.unmount = pu(X_(this.node.current, "focus", () => this.onFocus()), X_(this.node.current, "blur", () => this.onBlur()));+ this.unmount = pu(ov(this.node.current, "focus", () => this.onFocus()), ov(this.node.current, "blur", () => this.onBlur()));}unmount() {}};//#endregion//#region node_modules/framer-motion/dist/es/gestures/press.mjs-function cy(e, t, n) {+function Dy(e, t, n) {let { props: r } = e;if (e.current instanceof HTMLButtonElement && e.current.disabled) return;e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");let i = r["onTap" + (n === "End" ? "" : n)];- i && lf.postRender(() => i(t, Vv(t)));+ i && cf.postRender(() => i(t, $v(t)));}-var jne = class extends m_ {+var dne = class extends g_ {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = xee(e, (e, t) => (cy(this.node, t, "Start"), (e, { success: t }) => cy(this.node, e, t ? "End" : "Cancel")), {+ this.unmount = _ee(e, (e, t) => (Dy(this.node, t, "Start"), (e, { success: t }) => Dy(this.node, e, t ? "End" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, ly = /* @__PURE__ */ new WeakMap(), uy = /* @__PURE__ */ new WeakMap(), dy = (e) => {- let t = ly.get(e.target);+}, Oy = /* @__PURE__ */ new WeakMap(), ky = /* @__PURE__ */ new WeakMap(), fne = (e) => {+ let t = Oy.get(e.target);t && t(e);-}, fy = (e) => {- e.forEach(dy);+}, pne = (e) => {+ e.forEach(fne);};-function py({ root: e, ...t }) {+function mne({ root: e, ...t }) {let n = e || document;- uy.has(n) || uy.set(n, {});- let r = uy.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(fy, {+ ky.has(n) || ky.set(n, {});+ let r = ky.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(pne, {root: e,...t})), r[i];}-function my(e, t, n) {- let r = py(t);- return ly.set(e, n), r.observe(e), () => {- ly.delete(e), r.unobserve(e);+function hne(e, t, n) {+ let r = mne(t);+ return Oy.set(e, n), r.observe(e), () => {+ Oy.delete(e), r.unobserve(e);};}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var hy = {+var gne = {some: 0,all: 1-}, gy = class extends m_ {+}, _ne = class extends g_ {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -19831,7 +19831,7 @@ var hy = {let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {root: t ? t.current : void 0,rootMargin: n,- threshold: typeof r == "number" ? r : hy[r]+ threshold: typeof r == "number" ? r : gne[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -19839,7 +19839,7 @@ var hy = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = my(this.node.current, a, o);+ this.stopObserver = hne(this.node.current, a, o);}mount() {this.startObserver();@@ -19851,89 +19851,89 @@ var hy = {"amount","margin","root"- ].some(_y(e, t)) && this.startObserver();+ ].some(vne(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function _y({ viewport: e = {} }, { viewport: t = {} } = {}) {+function vne({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs-var vy = {- inView: { Feature: gy },- tap: { Feature: jne },- focus: { Feature: Ane },- hover: { Feature: kne }-}, yy = { layout: {- ProjectionNode: _v,- MeasureLayout: oy-} }, by = /*@__PURE__*/ one({- ...une,- ...vy,- ...One,- ...yy-}, sne);+var yne = {+ inView: { Feature: _ne },+ tap: { Feature: dne },+ focus: { Feature: une },+ hover: { Feature: lne }+}, bne = { layout: {+ ProjectionNode: Tv,+ MeasureLayout: Ty+} }, xne = /*@__PURE__*/ qte({+ ...Zte,+ ...yne,+ ...cne,+ ...bne+}, Jte);//#endregion//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function xy() {- !c_.current && l_();- let [e] = (0, D.useState)(s_.current);+function Ay() {+ !u_.current && d_();+ let [e] = (0, D.useState)(l_.current);return e;}//#endregion//#region node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function Sy(e) {+function jy(e) {return typeof e == "object" && !Array.isArray(e);}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function Cy(e, t, n, r) {- return e == null ? [] : typeof e == "string" && Sy(t) ? qh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function My(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && jy(t) ? Kh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs-function wy(e, t, n) {+function Sne(e, t, n) {return e * (t + 1) + n * t;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function Ty(e, t, n, r) {+function Ny(e, t, n, r) {return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function Ey(e, t, n) {+function Cne(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];i.at > t && i.at < n && (au(e, i), r--);}}-function Dy(e, t, n, r, i, a) {- Ey(e, i, a);+function wne(e, t, n, r, i, a) {+ Cne(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],- at: Vd(i, a, r[o]),+ at: Bd(i, a, r[o]),easing: /* @__PURE__ */ Fu(n, o)});}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function Oy(e, t, n = 0) {+function Tne(e, t, n = 0) {let r = t + 1 + t * n;for (let t = 0; t < e.length; t++) e[t] = e[t] / r;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs-function ky(e, t) {+function Ene(e, t) {return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/create.mjs-var Mne = "easeInOut", Ay = 20;-function Nne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {+var Dne = "easeInOut", Py = 20;+function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;for (let n = 0; n < e.length; n++) {let o = e[n];@@ -19942,16 +19942,16 @@ function Nne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {continue;}if (!Array.isArray(o)) {- l.set(o.name, Ty(d, o.at, u, l));+ l.set(o.name, Ny(d, o.at, u, l));continue;}let [p, m, h = {}] = o;- h.at !== void 0 && (d = Ty(d, h.at, u, l));+ h.at !== void 0 && (d = Ny(d, h.at, u, l));let g = 0, _ = (e, n, r, o = 0, s = 0) => {- let c = Pne(e), { delay: l = 0, times: u = Nf(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Qp(p) ? p : i?.[p || "keyframes"];+ let c = kne(e), { delay: l = 0, times: u = Mf(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Zp(p) ? p : i?.[p || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && Lne(c)) {+ if (S === 2 && Mne(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -19960,16 +19960,16 @@ function Nne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {...v};b !== void 0 && (n.duration = /* @__PURE__ */ gu(b));- let r = gf(n, e, C);+ let r = hf(n, e, C);y = r.ease, b = r.duration;}b ??= a;let w = d + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && Mf(u, T), c.length === 1 && c.unshift(null), m && `${m}${Ay}`, m && m < Ay) {+ if (T > 0 && jf(u, T), c.length === 1 && c.unshift(null), m && `${m}${Py}`, m && m < Py) {let e = b > 0 ? _ / b : 0;- b = wy(b, m, _);+ b = Sne(b, m, _);let t = [...c], n = [...u];y = Array.isArray(y) ? [...y] : [y];let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;@@ -19979,20 +19979,20 @@ function Nne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ Fu(f, e - 1));}- Oy(u, m, e);+ Tne(u, m, e);}let E = w + b;- Dy(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);+ wne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);};- if (gh(p)) {- let e = jy(p, s);- _(m, h, My("default", e));+ if (hh(p)) {+ let e = Fy(p, s);+ _(m, h, Iy("default", e));} else {- let e = Cy(p, m, r, c), t = e.length;+ let e = My(p, m, r, c), t = e.length;for (let n = 0; n < t; n++) {m = m, h = h;- let r = e[n], i = jy(r, s);- for (let e in m) _(m[e], Fne(h, e), My(e, i), n, t);+ let r = e[n], i = Fy(r, s);+ for (let e in m) _(m[e], Ane(h, e), Iy(e, i), n, t);}}u = d, d += g;@@ -20000,13 +20000,13 @@ function Nne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {return s.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(ky);+ a.sort(Ene);let s = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];s.push(n), c.push(/* @__PURE__ */ mu(0, f, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Mne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {+ c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Dne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {keyframes: {},transition: {}});@@ -20023,47 +20023,47 @@ function Nne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {}}), o;}-function jy(e, t) {+function Fy(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function My(e, t) {+function Iy(e, t) {return t[e] || (t[e] = []), t[e];}-function Pne(e) {+function kne(e) {return Array.isArray(e) ? e : [e];}-function Fne(e, t) {+function Ane(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var Ine = (e) => typeof e == "number", Lne = (e) => e.every(Ine);+var jne = (e) => typeof e == "number", Mne = (e) => e.every(jne);//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function Rne(e, t) {- return gh(e) || typeof e == "number" || typeof e == "string" && !Sy(t);+function Nne(e, t) {+ return hh(e) || typeof e == "number" || typeof e == "string" && !jy(t);}-function Ny(e, t, n, r) {+function Ly(e, t, n, r) {let i = [];- if (Rne(e, t)) i.push(Y_(e, Sy(t) && t.default || t, n && (n.default || n)));+ if (Nne(e, t)) i.push(av(e, jy(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = Cy(e, t, r), o = a.length;+ let a = My(e, t, r), o = a.length;for (let e = 0; e < o; e++) {let r = a[e], s = { ...n };- "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Dg(r, t, s, e_.get(r))) : i.push(...Uh(Vh(r) ?? Og, r, t, s));+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Ag(r, t, s, n_.get(r))) : i.push(...Hh(Bh(r) ?? jg, r, t, s));}}return i;}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function zne(e, t, n) {+function Pne(e, t, n) {let r = [];- return Nne(e.map((e) => {+ return One(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {- let t = e[0], n = qm(0);+ let t = e[0], n = Km(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [n,[0, 1],@@ -20075,57 +20075,57 @@ function zne(e, t, n) {];}return e;- }), t, n, { spring: Of }).forEach(({ keyframes: e, transition: t }, n) => {- r.push(...Ny(n, e, t));+ }), t, n, { spring: Df }).forEach(({ keyframes: e, transition: t }, n) => {+ r.push(...Ly(n, e, t));}), r;}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/index.mjs-function Bne(e) {+function Fne(e) {return Array.isArray(e) && e.some(Array.isArray);}-function Vne(e = {}) {+function Ine(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {let o = [], s, c = {};- if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), Bne(e)) {+ if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), Fne(e)) {let { onComplete: n, ...r } = i || {};- typeof n == "function" && (s = n), o = zne(e, {+ typeof n == "function" && (s = n), o = Pne(e, {...c,...r}, t);} else {let { onComplete: n, ...r } = a || {};- typeof n == "function" && (s = n), o = Ny(e, i, {+ typeof n == "function" && (s = n), o = Ly(e, i, {...c,...r}, t);}- let l = new Rm(o);+ let l = new Lm(o);return s && l.finished.then(s), t && (t.animations.push(l), l.finished.then(() => {au(t.animations, l);})), l;}return i;}-var Hne = Object.assign(Vne(), {- addEffect: zh,- removeEffect: Bh+var Lne = Object.assign(Ine(), {+ addEffect: Rh,+ removeEffect: zh});//#endregion//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function Une(e, t, n, r) {+function Rne(e, t, n, r) {if (e == null) return [];- let i = qh(e, r), a = i.length, o = [];+ let i = Kh(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {let r = i[e], s = { ...n };typeof s.delay == "function" && (s.delay = s.delay(e, a));for (let e in t) {let n = t[e];Array.isArray(n) || (n = [n]);- let i = { ...Ym(s, e) };+ let i = { ...Jm(s, e) };i.duration &&= /* @__PURE__ */ gu(i.duration), i.delay &&= /* @__PURE__ */ gu(i.delay);- let a = Vm(r), c = Bm(e, i.pseudoElement || ""), l = a.get(c);+ let a = Bm(r), c = zm(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,key: c,@@ -20141,21 +20141,21 @@ function Une(e, t, n, r) {}for (let e = 0; e < o.length; e++) {let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;- !a && t[0] === null && (t[0] = Bg(r, i)), dp(t), Lh(t, i), !a && t.length < 2 && t.unshift(Bg(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = Ug(r, i)), up(t), Ih(t, i), !a && t.length < 2 && t.unshift(Ug(r, i)), n.keyframes = t;}let s = [];for (let e = 0; e < o.length; e++) {- let { map: t, key: n, options: r } = o[e], i = new em(r);+ let { map: t, key: n, options: r } = o[e], i = new $p(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}-var Wne = /*@__PURE__*/ ((e) => {+var zne = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new Rm(Une(t, n, r, e));+ return new Lm(Rne(t, n, r, e));}return t;-})(), Py = by, Fy = class {+})(), Ry = xne, zy = class {constructor(e) {this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;}@@ -20170,22 +20170,22 @@ var Wne = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, Iy = class extends Fy {+}, By = class extends zy {filter(e, t, n) {- let [r, i] = By(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = Wy(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends Fy {+(class extends zy {static {this.type = "header";}});-var Ly = class extends Fy {+var Vy = class extends zy {static {this.type = "loader";}-}, Ry = class extends Iy {+}, Hy = class extends By {static {this.type = "item";}@@ -20196,7 +20196,7 @@ var Ly = class extends Fy {}return null;}-}, Gne = class extends Iy {+}, Bne = class extends By {static {this.type = "section";}@@ -20208,7 +20208,7 @@ var Ly = class extends Fy {}return null;}-}, zy = class {+}, Uy = class {get size() {return this.itemCount;}@@ -20283,14 +20283,14 @@ var Ly = class extends Fy {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = By(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = Wy(this, t, this.firstKey, e);return t?.commit(n, r), t;}constructor() {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;}};-function By(e, t, n, r) {+function Wy(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -20305,7 +20305,7 @@ function By(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/collections/Document.mjs-var Vy = class {+var Gy = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -20386,7 +20386,7 @@ var Vy = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, Hy = class e extends Vy {+}, Ky = class e extends Gy {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -20437,7 +20437,7 @@ var Vy = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, Kne = class extends Vy {+}, Vne = class extends Gy {constructor(e) {super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;}@@ -20445,7 +20445,7 @@ var Vy = class {return !0;}createElement(e) {- return new Hy(e, this);+ return new Ky(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -20467,8 +20467,8 @@ var Vy = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof Hy && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof Hy ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);+ for (let e of this.dirtyNodes) e instanceof Ky && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof Ky ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));}queueUpdate() {@@ -20487,13 +20487,13 @@ var Vy = class {};//#endregion//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function Uy(e) {+function qy(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, D.useMemo)(() => void 0, [t]), s = (0, D.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, D.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = qne(a) ? a : null, o = n ? s.get(n) : null;+ let n = Hne(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -20518,7 +20518,7 @@ function Uy(e) {i]);}-function qne(e) {+function Hne(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -20528,25 +20528,25 @@ function qne(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function Wy(e) {+function Jy(e) {e.focus({ preventScroll: !0 });}//#endregion//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs-var Gy = (e) => Jne(e) ? e.document : Yne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Ky = (e) => Gy(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function qy(e) {+var Yy = (e) => Une(e) ? e.document : Wne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Xy = (e) => Yy(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function Zy(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function Jne(e) {+function Une(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function Yne(e) {- return qy(e) && e.nodeType === 9;+function Wne(e) {+ return Zy(e) && e.nodeType === 9;}-function Jy(e) {- return qy(e) && e.nodeType === 11 && "host" in e;+function Qy(e) {+ return Zy(e) && e.nodeType === 11 && "host" in e;}-function Yy(e, t, n, r) {+function $y(e, t, n, r) {if (n == null || e == null) return () => {};let i = Array.isArray(e) ? e : [e];for (let e of i) e.addEventListener(t, n, r);@@ -20554,7 +20554,7 @@ function Yy(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function Xy(e, t, n, r) {+function eb(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -20569,73 +20569,73 @@ function Xy(e, t, n, r) {}//#endregion//#region node_modules/react-stately/dist/private/flags/flags.mjs-var Xne = !1;-function Zy() {- return Xne;+var Gne = !1;+function tb() {+ return Gne;}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function Qy(e, t) {- if (!Zy()) return t && e ? e.contains(t) : !1;+function nb(e, t) {+ if (!tb()) return t && e ? e.contains(t) : !1;if (!e || !t) return !1;let n = t;for (; n != null;) {if (n === e) return !0;- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Jy(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Qy(n) ? n.host : n.parentNode;}return !1;}-var $y = (e = document) => {- if (!Zy()) return e.activeElement;+var rb = (e = document) => {+ if (!tb()) return e.activeElement;let t = e.activeElement;for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;return t;};-function G(e) {- if (Zy() && e.target instanceof Element && e.target.shadowRoot) {+function K(e) {+ if (tb() && e.target instanceof Element && e.target.shadowRoot) {if ("composedPath" in e) return e.composedPath()[0] ?? null;if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;}return e.target;}-function eb(e, t) {+function ib(e, t) {if (t === null) return [];- t ??= Ky(e);+ t ??= Xy(e);let n = [t];- if (!Zy() || !e || e === t) return n;+ if (!tb() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; Jy(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; Qy(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function tb(e) {+function ab(e) {if (!e) return !1;- let t = e.getRootNode(), n = Ky(e);+ let t = e.getRootNode(), n = Xy(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}//#endregion//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var Zne = typeof Element < "u" && "checkVisibility" in Element.prototype;-function Qne(e) {- let t = Ky(e);+var ob = typeof Element < "u" && "checkVisibility" in Element.prototype;+function sb(e) {+ let t = Xy(e);if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";if (i) {- let { getComputedStyle: t } = Ky(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = Xy(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function $ne(e, t) {+function cb(e, t) {return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);}-function nb(e, t) {- return Zne ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Qne(e) && $ne(e, t) && (!e.parentElement || nb(e.parentElement, e));+function lb(e, t) {+ return ob ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && sb(e) && cb(e, t) && (!e.parentElement || lb(e.parentElement, e));}//#endregion//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs-var rb = [+var ub = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -20650,60 +20650,60 @@ var rb = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], ere = rb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-rb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var tre = rb.join(":not([hidden]):not([tabindex=\"-1\"]),");-function ib(e, t) {- return e.matches(ere) && !ob(e) && (t?.skipVisibilityCheck || nb(e));+], db = ub.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+ub.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var fb = ub.join(":not([hidden]):not([tabindex=\"-1\"]),");+function pb(e, t) {+ return e.matches(db) && !hb(e) && (t?.skipVisibilityCheck || lb(e));}-function ab(e) {- return e.matches(tre) && nb(e) && !ob(e);+function mb(e) {+ return e.matches(fb) && lb(e) && !hb(e);}-function ob(e) {+function hb(e) {let t = e;for (; t != null;) {- if (t instanceof Ky(t).HTMLElement && t.inert) return !0;+ if (t instanceof Xy(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}//#endregion//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var sb = typeof document < "u" ? D.useLayoutEffect : () => {};+var gb = typeof document < "u" ? D.useLayoutEffect : () => {};//#endregion//#region node_modules/react-aria/dist/private/interactions/utils.mjs-function cb(e) {+function _b(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function lb(e, t) {+function vb(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function ub(e) {+function yb(e) {let t = (0, D.useRef)({isFocused: !1,observer: null});- return sb(() => {+ return gb(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);};}, []), (0, D.useCallback)((n) => {- let r = G(n);+ let r = K(n);if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) {t.current.isFocused = !0;let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = cb(r);+ let t = _b(r);e?.(t);}t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);}, { once: !0 }), t.current.observer = new MutationObserver(() => {if (t.current.isFocused && n.disabled) {t.current.observer?.disconnect();- let e = n === $y() ? null : $y();+ let e = n === rb() ? null : rb();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -20716,83 +20716,83 @@ function ub(e) {}}, [e]);}-var db = !1;-function nre(e) {- for (; e && !ib(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = $y(Ky(e).document);+var bb = !1;+function xb(e) {+ for (; e && !pb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = rb(Xy(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && Jy(n) ? n : Ky(e), i = (t) => t === e || qy(t) && Qy(e, t), a = (e) => e === t || t != null && qy(e) && Qy(t, e);- db = !0;+ let n = e?.getRootNode(), r = n != null && Qy(n) ? n : Xy(e), i = (t) => t === e || Zy(t) && nb(e, t), a = (e) => e === t || t != null && Zy(e) && nb(t, e);+ bb = !0;let o = !1, s = (e) => {- (a(G(e)) || o) && e.stopImmediatePropagation();+ (a(K(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Wy(t), d()));+ (a(K(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Jy(t), d()));}, l = (e) => {- (i(G(e)) || o) && e.stopImmediatePropagation();+ (i(K(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Wy(t), d()));+ (i(K(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Jy(t), d()));};r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);let d = () => {- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), db = !1, o = !1;+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), bb = !1, o = !1;}, f = requestAnimationFrame(d);return d;}//#endregion//#region node_modules/react-aria/dist/private/utils/platform.mjs-function fb(e) {+function Sb(e) {if (typeof window > "u" || window.navigator == null) return !1;let t = window.navigator.userAgentData?.brands;return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);}-function pb(e) {+function Cb(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function mb(e) {+function wb(e) {let t = null;return () => (t ??= e(), t);}-var hb = mb(function() {- return pb(/^Mac/i);-}), rre = mb(function() {- return pb(/^iPhone/i);-}), gb = mb(function() {- return pb(/^iPad/i) || hb() && navigator.maxTouchPoints > 1;-}), _b = mb(function() {- return rre() || gb();-}), ire = mb(function() {- return hb() || _b();-}), vb = mb(function() {- return fb(/AppleWebKit/i) && (_b() || !yb());-}), yb = mb(function() {- return fb(/Chrome|CriOS|CrMo/i);-}), bb = mb(function() {- return fb(/Android/i);+var Tb = wb(function() {+ return Cb(/^Mac/i);+}), Eb = wb(function() {+ return Cb(/^iPhone/i);+}), Db = wb(function() {+ return Cb(/^iPad/i) || Tb() && navigator.maxTouchPoints > 1;+}), Ob = wb(function() {+ return Eb() || Db();+}), kb = wb(function() {+ return Tb() || Ob();+}), Ab = wb(function() {+ return Sb(/AppleWebKit/i) && (Ob() || !jb());+}), jb = wb(function() {+ return Sb(/Chrome|CriOS|CrMo/i);+}), Mb = wb(function() {+ return Sb(/Android/i);});//#endregion//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function xb(e) {- return e.pointerType === "" && e.isTrusted ? !0 : bb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function Nb(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : Mb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function are(e) {- return !bb() && e.width === 0 && e.height === 0 || bb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function Pb(e) {+ return !Mb() && e.width === 0 && e.height === 0 || Mb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}//#endregion//#region node_modules/react-aria/dist/private/utils/openLink.mjs-var ore = /*#__PURE__*/ (0, D.createContext)({+var Fb = /*#__PURE__*/ (0, D.createContext)({isNative: !0,- open: lre,+ open: qne,useHref: (e) => e});-function Sb() {- return (0, D.useContext)(ore);+function Ib() {+ return (0, D.useContext)(Fb);}-function sre(e, t) {+function Lb(e, t) {let n = e.getAttribute("target");return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;}-function Cb(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = vb() && hb() && !gb() ? new KeyboardEvent("keydown", {+function Rb(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Ab() && Tb() && !Db() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -20807,21 +20807,21 @@ function Cb(e, t, n = !0) {bubbles: !0,cancelable: !0});- Cb.isOpening = n, Wy(e), e.dispatchEvent(s), Cb.isOpening = !1;+ Rb.isOpening = n, Jy(e), e.dispatchEvent(s), Rb.isOpening = !1;}-Cb.isOpening = !1;-function cre(e, t) {+Rb.isOpening = !1;+function Kne(e, t) {if (e instanceof HTMLAnchorElement) t(e);else if (e.hasAttribute("data-href")) {let n = document.createElement("a");n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);}}-function lre(e, t) {- cre(e, (e) => Cb(e, t));+function qne(e, t) {+ Kne(e, (e) => Rb(e, t));}-function wb(e) {- let t = Sb().useHref(e.href ?? "");+function zb(e) {+ let t = Ib().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -20831,8 +20831,8 @@ function wb(e) {"data-referrer-policy": e.referrerPolicy};}-function Tb(e) {- let t = Sb().useHref(e?.href ?? ""), n = {};+function Bb(e) {+ let t = Ib().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -20843,140 +20843,140 @@ function Tb(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function ure(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && sre(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function Jne(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Lb(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}//#endregion//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var Eb = {+var Vb = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, Db = /*#__PURE__*/ D.createContext(Eb), dre = /*#__PURE__*/ D.createContext(!1);+}, Hb = /*#__PURE__*/ D.createContext(Vb), Yne = /*#__PURE__*/ D.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var Ob = /* @__PURE__ */ new WeakMap();-function fre(e = !1) {- let t = (0, D.useContext)(Db), n = (0, D.useRef)(null);+var Ub = /* @__PURE__ */ new WeakMap();+function Xne(e = !1) {+ let t = (0, D.useContext)(Hb), n = (0, D.useRef)(null);if (n.current === null && !e) {let e = D.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = Ob.get(e);- n == null ? Ob.set(e, {+ let n = Ub.get(e);+ n == null ? Ub.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, Ob.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, Ub.delete(e));}n.current = ++t.current;}return n.current;}-function pre(e) {- let t = (0, D.useContext)(Db), n = fre(!!e), r = `react-aria${t.prefix}`;+function Zne(e) {+ let t = (0, D.useContext)(Hb), n = Xne(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function mre(e) {- let t = D.useId(), [n] = (0, D.useState)(kb()), r = n ? "react-aria" : `react-aria${Eb.prefix}`;+function Qne(e) {+ let t = D.useId(), [n] = (0, D.useState)(Wb()), r = n ? "react-aria" : `react-aria${Vb.prefix}`;return e || `${r}-${t}`;}-var hre = typeof D.useId == "function" ? mre : pre;-function gre() {+var $ne = typeof D.useId == "function" ? Qne : Zne;+function ere() {return !1;}-function _re() {+function tre() {return !0;}-function vre(e) {+function nre(e) {return () => {};}-function kb() {- return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(vre, gre, _re) : (0, D.useContext)(dre);+function Wb() {+ return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(nre, ere, tre) : (0, D.useContext)(Yne);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var Ab = null, jb = /* @__PURE__ */ new Set(), Mb = /* @__PURE__ */ new Map(), Nb = !1, Pb = !1, yre = {+var Gb = null, Kb = /* @__PURE__ */ new Set(), qb = /* @__PURE__ */ new Map(), Jb = !1, Yb = !1, rre = {Tab: !0,Escape: !0};-function Fb(e, t) {- for (let n of jb) n(e, t);+function Xb(e, t) {+ for (let n of Kb) n(e, t);}-function bre(e) {- return !(e.metaKey || !hb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+function ire(e) {+ return !(e.metaKey || !Tb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}-function Ib(e) {- Nb = !0, !Cb.isOpening && bre(e) && (Ab = "keyboard", Fb("keyboard", e));+function Zb(e) {+ Jb = !0, !Rb.isOpening && ire(e) && (Gb = "keyboard", Xb("keyboard", e));}-function Lb(e) {- Ab = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Nb = !0, Fb("pointer", e));+function Qb(e) {+ Gb = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Jb = !0, Xb("pointer", e));}-function Rb(e) {- !Cb.isOpening && xb(e) && (Nb = !0, Ab = "virtual");+function $b(e) {+ !Rb.isOpening && Nb(e) && (Jb = !0, Gb = "virtual");}-function zb(e) {- if (db) return;- let t = G(e), n = Ky(t), r = Gy(t);- t === n ? Pb = !0 : t !== r && e.isTrusted && (!Nb && !Pb && (Ab = "virtual", Fb("virtual", e)), Nb = !1, Pb = !1);+function ex(e) {+ if (bb) return;+ let t = K(e), n = Xy(t), r = Yy(t);+ t === n ? Yb = !0 : t !== r && e.isTrusted && (!Jb && !Yb && (Gb = "virtual", Xb("virtual", e)), Jb = !1, Yb = !1);}-function Bb() {- db || (Nb = !1, Pb = !0);+function tx() {+ bb || (Jb = !1, Yb = !0);}-function Vb(e) {- let t = $y(Gy(G(e)));+function nx(e) {+ let t = rb(Yy(K(e)));queueMicrotask(() => {- $y(Gy(G(e))) !== t && Kb("keyboard");+ rb(Yy(K(e))) !== t && sx("keyboard");});}-function Hb(e) {+function rx(e) {if (typeof window > "u" || typeof document > "u") return;- let t = Ky(e), n = Gy(e);- if (Mb.get(t)) return;+ let t = Xy(e), n = Yy(e);+ if (qb.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- Nb = !0, r.apply(this, arguments);+ Jb = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", Ib, !0), n.addEventListener("keyup", Ib, !0), n.addEventListener("click", Rb, !0), n.addEventListener("invalid", Vb, !0), t.addEventListener("focus", zb, !0), t.addEventListener("blur", Bb, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Lb, !0), n.addEventListener("pointermove", Lb, !0), n.addEventListener("pointerup", Lb, !0)), t.addEventListener("beforeunload", () => {- Ub(e);- }, { once: !0 }), Mb.set(t, { focus: r });+ }), n.addEventListener("keydown", Zb, !0), n.addEventListener("keyup", Zb, !0), n.addEventListener("click", $b, !0), n.addEventListener("invalid", nx, !0), t.addEventListener("focus", ex, !0), t.addEventListener("blur", tx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Qb, !0), n.addEventListener("pointermove", Qb, !0), n.addEventListener("pointerup", Qb, !0)), t.addEventListener("beforeunload", () => {+ ix(e);+ }, { once: !0 }), qb.set(t, { focus: r });}-var Ub = (e, t) => {- let n = Ky(e), r = Gy(e);- t && r.removeEventListener("DOMContentLoaded", t), Mb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var ix = (e, t) => {+ let n = Xy(e), r = Yy(e);+ t && r.removeEventListener("DOMContentLoaded", t), qb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: Mb.get(n).focus- }), r.removeEventListener("keydown", Ib, !0), r.removeEventListener("keyup", Ib, !0), r.removeEventListener("click", Rb, !0), r.removeEventListener("invalid", Vb, !0), n.removeEventListener("focus", zb, !0), n.removeEventListener("blur", Bb, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Lb, !0), r.removeEventListener("pointermove", Lb, !0), r.removeEventListener("pointerup", Lb, !0)), Mb.delete(n));+ value: qb.get(n).focus+ }), r.removeEventListener("keydown", Zb, !0), r.removeEventListener("keyup", Zb, !0), r.removeEventListener("click", $b, !0), r.removeEventListener("invalid", nx, !0), n.removeEventListener("focus", ex, !0), n.removeEventListener("blur", tx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Qb, !0), r.removeEventListener("pointermove", Qb, !0), r.removeEventListener("pointerup", Qb, !0)), qb.delete(n));};-function xre(e) {- let t = Gy(e), n;+function are(e) {+ let t = Yy(e), n;return t.readyState === "loading" ? (n = () => {- Hb(e);- }, t.addEventListener("DOMContentLoaded", n)) : Hb(e), () => Ub(e, n);+ rx(e);+ }, t.addEventListener("DOMContentLoaded", n)) : rx(e), () => ix(e, n);}-typeof document < "u" && xre();-function Wb() {- return Ab !== "pointer";+typeof document < "u" && are();+function ax() {+ return Gb !== "pointer";}-function Gb() {- return Ab;+function ox() {+ return Gb;}-function Kb(e) {- Ab = e, Fb(e, null);+function sx(e) {+ Gb = e, Xb(e, null);}-function qb() {- Hb();- let [e, t] = (0, D.useState)(Ab);+function cx() {+ rx();+ let [e, t] = (0, D.useState)(Gb);return (0, D.useEffect)(() => {let e = () => {- t(Ab);+ t(Gb);};- return jb.add(e), () => {- jb.delete(e);+ return Kb.add(e), () => {+ Kb.delete(e);};- }, []), kb() ? null : e;+ }, []), Wb() ? null : e;}-var Sre = /* @__PURE__ */ new Set([+var ore = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -20987,90 +20987,90 @@ var Sre = /* @__PURE__ */ new Set(["submit","reset"]);-function Cre(e, t, n) {- let r = n ? G(n) : void 0, i = Gy(r), a = Ky(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = $y(i);- return e = e || u instanceof o && !Sre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !yre[n.key]);+function sre(e, t, n) {+ let r = n ? K(n) : void 0, i = Yy(r), a = Xy(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = rb(i);+ return e = e || u instanceof o && !ore.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !rre[n.key]);}-function Jb(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || Wb());- return Yb((e) => {+function lx(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || ax());+ return ux((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function Yb(e, t, n) {- Hb(), (0, D.useEffect)(() => {+function ux(e, t, n) {+ rx(), (0, D.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- Cre(!!n?.isTextInput, t, r) && e(Wb());+ sre(!!n?.isTextInput, t, r) && e(ax());};- return jb.add(t), () => {- jb.delete(t);+ return Kb.add(t), () => {+ Kb.delete(t);};}, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var Xb = /* @__PURE__ */ new Map(), Zb = /* @__PURE__ */ new Set();-function Qb(e) {+var dx = /* @__PURE__ */ new Map(), fx = /* @__PURE__ */ new Set();+function px(e) {return "propertyName" in e;}-function wre(e) {- let t = G(e);- if (!Qb(e) || !t) return;- let n = Xb.get(t);- n || (n = /* @__PURE__ */ new Set(), Xb.set(t, n), t.addEventListener("transitioncancel", $b, { once: !0 })), n.add(e.propertyName);+function cre(e) {+ let t = K(e);+ if (!px(e) || !t) return;+ let n = dx.get(t);+ n || (n = /* @__PURE__ */ new Set(), dx.set(t, n), t.addEventListener("transitioncancel", mx, { once: !0 })), n.add(e.propertyName);}-function $b(e) {- let t = G(e);- if (!Qb(e) || !t) return;- let n = Xb.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", $b), Xb.delete(t)), Xb.size === 0)) for (let e of Zb) e(!0), Zb.delete(e);+function mx(e) {+ let t = K(e);+ if (!px(e) || !t) return;+ let n = dx.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", mx), dx.delete(t)), dx.size === 0)) for (let e of fx) e(!0), fx.delete(e);}-function ex() {- Yy(document, "transitionrun", wre), Yy(document, "transitionend", $b);+function hx() {+ $y(document, "transitionrun", cre), $y(document, "transitionend", mx);}-function Tre() {- for (let [e] of Xb) "isConnected" in e && !e.isConnected && Xb.delete(e);+function lre() {+ for (let [e] of dx) "isConnected" in e && !e.isConnected && dx.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? Yy(document, "DOMContentLoaded", ex) : ex());-function tx(e) {+typeof document < "u" && (document.readyState === "loading" ? $y(document, "DOMContentLoaded", hx) : hx());+function gx(e) {let t = window.requestAnimationFrame(() => {- if (Tre(), Xb.size === 0) return e(!1);- Zb.add(e);+ if (lre(), dx.size === 0) return e(!1);+ fx.add(e);});return () => {- window.cancelAnimationFrame(t), Zb.delete(e);+ window.cancelAnimationFrame(t), fx.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function nx(e) {+function _x(e) {if (!e.isConnected) return;- let t = Gy(e);- if (Gb() === "virtual") {- let n = $y(t);- tx(() => {- let r = $y(t);- (r === n || r === t.body) && e.isConnected && Wy(e);+ let t = Yy(e);+ if (ox() === "virtual") {+ let n = rb(t);+ gx(() => {+ let r = rb(t);+ (r === n || r === t.body) && e.isConnected && Jy(e);});- } else Wy(e);+ } else Jy(e);}//#endregion//#region node_modules/react-aria/dist/private/utils/chain.mjs-function rx(...e) {+function vx(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}//#endregion//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function Ere(e) {+function ure(e) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(t), i = (0, D.useRef)(null), a = (0, D.useRef)(() => {if (!i.current) return;let e = i.current.next();e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);});- return sb(() => {+ return gb(() => {r.current = t, i.current && a.current();}), [t, (0, D.useCallback)((e) => {i.current = e(r.current), a.current();@@ -21078,21 +21078,21 @@ function Ere(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useId.mjs-var Dre = !!(typeof window < "u" && window.document && window.document.createElement), ix = /* @__PURE__ */ new Map(), ax;-typeof FinalizationRegistry < "u" && (ax = new FinalizationRegistry((e) => {- ix.delete(e);+var dre = !!(typeof window < "u" && window.document && window.document.createElement), yx = /* @__PURE__ */ new Map(), bx;+typeof FinalizationRegistry < "u" && (bx = new FinalizationRegistry((e) => {+ yx.delete(e);}));-var ox = /* @__PURE__ */ new WeakMap();-function sx(e) {- let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = hre(t), a = (0, D.useRef)(null), o = ox.get(a);- if (ax && o !== i && (o != null && ax.unregister(a), ax.register(a, i, a), ox.set(a, i)), Dre) {- let e = ix.get(i);- e && !e.includes(r) ? e.push(r) : ix.set(i, [r]);- }- return sb(() => {+var xx = /* @__PURE__ */ new WeakMap();+function Sx(e) {+ let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = $ne(t), a = (0, D.useRef)(null), o = xx.get(a);+ if (bx && o !== i && (o != null && bx.unregister(a), bx.register(a, i, a), xx.set(a, i)), dre) {+ let e = yx.get(i);+ e && !e.includes(r) ? e.push(r) : yx.set(i, [r]);+ }+ return gb(() => {let e = i;return () => {- ax && (ax.unregister(a), ox.delete(a)), ix.delete(e);+ bx && (bx.unregister(a), xx.delete(a)), yx.delete(e);};}, [i]), (0, D.useEffect)(() => {let e = r.current;@@ -21101,20 +21101,20 @@ function sx(e) {};}), i;}-function Ore(e, t) {+function fre(e, t) {if (e === t) return e;- let n = ix.get(e);+ let n = yx.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = ix.get(t);+ let r = yx.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function cx(e = []) {- let t = sx(), [n, r] = Ere(t), i = (0, D.useCallback)(() => {+function Cx(e = []) {+ let t = Sx(), [n, r] = ure(t), i = (0, D.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return sb(i, [+ return gb(i, [t,i,...e@@ -21122,60 +21122,60 @@ function cx(e = []) {}//#endregion//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function lx(...e) {+function wx(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = ux(e, t);+ let r = Tx(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : ux(e[n], null);+ typeof t == "function" ? t() : Tx(e[n], null);});};};}-function ux(e, t) {+function Tx(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}//#endregion//#region node_modules/clsx/dist/clsx.mjs-function dx(e) {+function Ex(e) {var t, n, r = "";if (typeof e == "string" || typeof e == "number") r += e;else if (typeof e == "object") {if (Array.isArray(e)) {var i = e.length;- for (t = 0; t < i; t++) e[t] && (n = dx(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = Ex(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function fx() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = dx(e)) && (r && (r += " "), r += t);+function Dx() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ex(e)) && (r && (r += " "), r += t);return r;}//#endregion//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs-function K(...e) {+function q(...e) {let t = { ...e[0] };for (let n = 1; n < e.length; n++) {let r = e[n];for (let e in r) {let n = t[e], i = r[e];- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = rx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = fx(n, i) : e === "id" && n && i ? t.id = Ore(n, i) : e === "ref" && n && i ? t.ref = lx(n, i) : t[e] = i === void 0 ? n : i;+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = vx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Dx(n, i) : e === "id" && n && i ? t.id = fre(n, i) : e === "ref" && n && i ? t.ref = wx(n, i) : t[e] = i === void 0 ? n : i;}}return t;}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs-function px(e) {+function Ox(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, D.useCallback)((e) => {- if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = ub(a), s = (0, D.useCallback)((e) => {- let t = G(e), r = Gy(t), a = r ? $y(r) : $y();+ if (K(e) === e.currentTarget) return r && r(e), i && i(!1), !0;+ }, [r, i]), o = yb(a), s = (0, D.useCallback)((e) => {+ let t = K(e), r = Yy(t), a = r ? rb(r) : rb();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -21189,7 +21189,7 @@ function px(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function mx(e) {+function kx(e) {if (e) return (t) => {let n = !0;e({@@ -21214,33 +21214,33 @@ function mx(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var kre = /* @__PURE__ */ new Set([+var pre = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Are = [+]), mre = ["Alt","Control","Meta","Shift"];-function jre(e) {+function hre(e) {let t = /* @__PURE__ */ new Set();- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(hb() ? "Meta" : "Control"), t;+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(Tb() ? "Meta" : "Control"), t;}-function Mre(e) {+function gre(e) {let t = /* @__PURE__ */ new Set();return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;}-function hx(e) {- return Are.filter((t) => e.has(t));+function Ax(e) {+ return mre.filter((t) => e.has(t));}-function Nre(e) {+function _re(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return kre.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;+ return pre.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;}, {shift: !1,alt: !1,@@ -21252,10 +21252,10 @@ function Nre(e) {if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t;}-function gx(e) {+function jx(e) {return e.toLowerCase();}-var Pre = {+var vre = {space: " ",esc: "escape",del: "delete",@@ -21267,26 +21267,26 @@ var Pre = {pageup: "pageup",pagedown: "pagedown"};-function Fre(e) {- let t = gx(e);- return Pre[t] ?? t;+function yre(e) {+ let t = jx(e);+ return vre[t] ?? t;}-function Ire(e) {- let t = hx(jre(e)), n = Fre(e.key);+function bre(e) {+ let t = Ax(hre(e)), n = yre(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function Lre(e) {- let t = hx(Mre(e)), n = gx(e.key);+function xre(e) {+ let t = Ax(gre(e)), n = jx(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function Rre(e) {+function Sre(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = Nre(n);- t.set(Ire(e), r);+ let e = _re(n);+ t.set(bre(e), r);}return (e) => {- let n = Lre(e), r = t.get(n), i = r?.(e);+ let n = xre(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -21298,16 +21298,16 @@ function Rre(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function _x(e) {+function Mx(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = Rre(t), s = mx((e) => {- Qy(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = mx((e) => {- Qy(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = Sre(t), s = kx((e) => {+ nb(e.currentTarget, K(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = kx((e) => {+ nb(e.currentTarget, K(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? rx(e.onKeyDown, s) : s, a = e.onKeyUp ? rx(e.onKeyUp, c) : c;- } else i = mx(e.onKeyDown), a = mx(e.onKeyUp);+ i = e.onKeyDown ? vx(e.onKeyDown, s) : s, a = e.onKeyUp ? vx(e.onKeyUp, c) : c;+ } else i = kx(e.onKeyDown), a = kx(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a@@ -21315,7 +21315,7 @@ function _x(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function vx(e) {+function Nx(e) {let t = (0, D.useRef)(null), n = (0, D.useRef)(void 0), r = (0, D.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -21338,8 +21338,8 @@ function vx(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function yx(e, t) {- sb(() => {+function Px(e, t) {+ gb(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};@@ -21347,20 +21347,20 @@ function yx(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var bx = /*#__PURE__*/ D.createContext(null);-function zre(e) {- let t = (0, D.useContext)(bx) || {};- yx(t, e);+var Fx = /*#__PURE__*/ D.createContext(null);+function Cre(e) {+ let t = (0, D.useContext)(Fx) || {};+ Px(t, e);let { ref: n, ...r } = t;return r;}-function xx(e, t) {- let { focusProps: n } = px(e), { keyboardProps: r } = _x(e), i = K(n, r), a = zre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);+function Ix(e, t) {+ let { focusProps: n } = Ox(e), { keyboardProps: r } = Mx(e), i = q(n, r), a = Cre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);(0, D.useEffect)(() => {- s.current && t.current && nx(t.current), s.current = !1;+ s.current && t.current && _x(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;- return e.isDisabled && (c = void 0), { focusableProps: K({+ return e.isDisabled && (c = void 0), { focusableProps: q({...i,tabIndex: c}, o) };@@ -21392,22 +21392,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var Sx = /*#__PURE__*/ (0, D.createContext)(!1);-function Bre(e) {- if ((0, D.useContext)(Sx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);- let t = /*#__PURE__*/ D.createElement(Sx.Provider, { value: !0 }, e.children);+var Lx = /*#__PURE__*/ (0, D.createContext)(!1);+function wre(e) {+ if ((0, D.useContext)(Lx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);+ let t = /*#__PURE__*/ D.createElement(Lx.Provider, { value: !0 }, e.children);return /*#__PURE__*/ D.createElement("template", null, t);}-function Cx(e) {- let t = (t, n) => (0, D.useContext)(Sx) ? null : e(t, n);+function Rx(e) {+ let t = (t, n) => (0, D.useContext)(Lx) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, D.forwardRef)(t);}-function wx() {- return (0, D.useContext)(Sx);+function zx() {+ return (0, D.useContext)(Lx);}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var Vre = /* @__PURE__ */ o(((e) => {+var Tre = /* @__PURE__ */ o(((e) => {var t = v();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -21445,47 +21445,47 @@ var Vre = /* @__PURE__ */ o(((e) => {}var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;-})), Tx = /* @__PURE__ */ o(((e, t) => {- t.exports = Vre();-})), Hre = Tx(), Ex = /*#__PURE__*/ (0, D.createContext)(!1), Dx = /*#__PURE__*/ (0, D.createContext)(null);-function Ox(e) {- if ((0, D.useContext)(Dx)) return e.content;- let { collection: t, document: n } = Kre(e.createCollection);- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(Bre, null, /*#__PURE__*/ D.createElement(Dx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(Ure, {+})), Bx = /* @__PURE__ */ o(((e, t) => {+ t.exports = Tre();+})), Ere = Bx(), Vx = /*#__PURE__*/ (0, D.createContext)(!1), Hx = /*#__PURE__*/ (0, D.createContext)(null);+function Ux(e) {+ if ((0, D.useContext)(Hx)) return e.content;+ let { collection: t, document: n } = Are(e.createCollection);+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(wre, null, /*#__PURE__*/ D.createElement(Hx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(Dre, {render: e.children,collection: t}));}-function Ure({ collection: e, render: t }) {+function Dre({ collection: e, render: t }) {return t(e);}-function Wre(e, t, n) {- let r = kb(), i = (0, D.useRef)(r);+function Ore(e, t, n) {+ let r = Wb(), i = (0, D.useRef)(r);i.current = r;let a = (0, D.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, Hre.useSyncExternalStore)(e, a);+ return (0, Ere.useSyncExternalStore)(e, a);}-var Gre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : Wre;-function Kre(e) {- let [t] = (0, D.useState)(() => new Kne(e?.() || new zy()));+var kre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : Ore;+function Are(e) {+ let [t] = (0, D.useState)(() => new Vne(e?.() || new Uy()));return {- collection: Gre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {+ collection: kre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, D.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var kx = /*#__PURE__*/ (0, D.createContext)(null);-function qre(e) {- return class extends Fy {+var Wx = /*#__PURE__*/ (0, D.createContext)(null);+function jre(e) {+ return class extends zy {static {this.type = e;}};}-function Ax(e, t, n, r, i, a) {- typeof e == "string" && (e = qre(e));+function Gx(e, t, n, r, i, a) {+ typeof e == "string" && (e = jre(e));let o = (0, D.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -21494,86 +21494,86 @@ function Ax(e, t, n, r, i, a) {r,a,e- ]), s = (0, D.useContext)(kx);+ ]), s = (0, D.useContext)(Wx);if (s) {let o = s.ownerDocument.nodesByProps.get(t);- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ D.createElement(kx.Provider, { value: o }, i) : null;+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ D.createElement(Wx.Provider, { value: o }, i) : null;}return /*#__PURE__*/ D.createElement(e.type, { ref: o }, i);}-function jx(e, t) {+function Kx(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, D.forwardRef)((r, i) => {- let a = (0, D.useContext)(bx);- if (!(0, D.useContext)(Ex)) {+ let a = (0, D.useContext)(Fx);+ if (!(0, D.useContext)(Vx)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return Ax(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(bx.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));+ return Gx(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(Fx.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function Mx(e, t, n = Nx) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => Ax(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));+function qx(e, t, n = Jx) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => Gx(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));return i.displayName = t.name, i;}-function Nx(e) {- return Uy({+function Jx(e) {+ return qy({...e,addIdAndValue: !0});}-var Px = /*#__PURE__*/ (0, D.createContext)(null);-function Fx(e) {- let t = (0, D.useContext)(Px), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Nx({+var Yx = /*#__PURE__*/ (0, D.createContext)(null);+function Xx(e) {+ let t = (0, D.useContext)(Yx), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Jx({...e,idScope: r,dependencies: n});- return (0, D.useContext)(Dx) && (i = /*#__PURE__*/ D.createElement(Jre, null, i)), t = (0, D.useMemo)(() => ({+ return (0, D.useContext)(Hx) && (i = /*#__PURE__*/ D.createElement(Mre, null, i)), t = (0, D.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ D.createElement(Px.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ D.createElement(Yx.Provider, { value: t }, i);}-function Jre({ children: e }) {- let t = (0, D.useContext)(Dx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(Dx.Provider, { value: null }, /*#__PURE__*/ D.createElement(Ex.Provider, { value: !0 }, e)), [e]);- return kb() ? /*#__PURE__*/ D.createElement(kx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Tt.createPortal)(n, t);+function Mre({ children: e }) {+ let t = (0, D.useContext)(Hx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(Hx.Provider, { value: null }, /*#__PURE__*/ D.createElement(Vx.Provider, { value: !0 }, e)), [e]);+ return Wb() ? /*#__PURE__*/ D.createElement(Wx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Tt.createPortal)(n, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/constants.mjs-var Yre = "react-aria-clear-focus", Xre = "react-aria-focus";+var Nre = "react-aria-clear-focus", Pre = "react-aria-focus";//#endregion//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function Ix(e) {- let t = Qre(Gy(e));- t !== e && (t && Zre(t, e), e && Lx(e, t));+function Zx(e) {+ let t = Ire(Yy(e));+ t !== e && (t && Fre(t, e), e && Qx(e, t));}-function Zre(e, t) {+function Fre(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function Lx(e, t) {+function Qx(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function Qre(e) {- let t = $y(e), n = t?.getAttribute("aria-activedescendant");+function Ire(e) {+ let t = rb(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}//#endregion//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function Rx(e, t) {- let n = Ky(t), r = Gy(t);+function $x(e, t) {+ let n = Xy(t), r = Yy(t);if (r == null || n == null) return;let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/keyboard.mjs-var zx = 100, Bx = 600, Vx = {+var eS = 100, tS = 600, nS = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -21583,7 +21583,7 @@ var zx = 100, Bx = 600, Vx = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, $re = /* @__PURE__ */ new Set([+}, Lre = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21594,7 +21594,7 @@ var zx = 100, Bx = 600, Vx = {"submit","reset"]);-function Hx() {+function rS() {let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);return {width: e * n,@@ -21602,59 +21602,59 @@ function Hx() {angle: window.screen.orientation?.angle ?? 0};}-function eie(e) {- Vx.resizeTimeStamp <= e.timeStamp + 50 && (Vx.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Vx.resizeTimeout), Vx.resizeTimeout = window.setTimeout(Ux, 150));+function Rre(e) {+ nS.resizeTimeStamp <= e.timeStamp + 50 && (nS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(nS.resizeTimeout), nS.resizeTimeout = window.setTimeout(iS, 150));}-function Ux() {- let e = Rx("viewport");- if (bb() && e?.includes("overlays-content")) return;- let t = performance.now(), n = Hx(), r = t - Vx.startTimeStamp, i = Vx.screenHeight - n.height, a = Vx.screenAngle - n.angle;- Math.abs(a) % 180 && Vx.screenWidth - n.height < zx && (Vx.screenWidth = n.width, Vx.screenHeight = n.height, Vx.screenAngle = n.angle, i = 0), r > Bx && (window.clearTimeout(Vx.screenTimeout), Vx.screenTimeout = window.setTimeout(() => {- let e = Kx(document.hasFocus() ? $y() : null), t = Hx();- Math.abs(Vx.screenAngle - t.angle) % 180 || Vx.isOpen && e || (Vx.screenWidth = t.width, Vx.screenHeight = t.height, Vx.screenAngle = t.angle, Vx.isOpen = !1);- }, Bx)), r <= Bx && i >= zx && (Vx.endTimeStamp = t), Vx.isOpen = i >= zx;+function iS() {+ let e = $x("viewport");+ if (Mb() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = rS(), r = t - nS.startTimeStamp, i = nS.screenHeight - n.height, a = nS.screenAngle - n.angle;+ Math.abs(a) % 180 && nS.screenWidth - n.height < eS && (nS.screenWidth = n.width, nS.screenHeight = n.height, nS.screenAngle = n.angle, i = 0), r > tS && (window.clearTimeout(nS.screenTimeout), nS.screenTimeout = window.setTimeout(() => {+ let e = sS(document.hasFocus() ? rb() : null), t = rS();+ Math.abs(nS.screenAngle - t.angle) % 180 || nS.isOpen && e || (nS.screenWidth = t.width, nS.screenHeight = t.height, nS.screenAngle = t.angle, nS.isOpen = !1);+ }, tS)), r <= tS && i >= eS && (nS.endTimeStamp = t), nS.isOpen = i >= eS;}-function tie() {- let e = Hx(), t = Vx.screenAngle - e.angle;- if (Math.abs(t) % 180 && !Vx.isOpen) {- let e = Vx.screenWidth;- Vx.screenWidth = Vx.screenHeight, Vx.screenHeight = e;+function zre() {+ let e = rS(), t = nS.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !nS.isOpen) {+ let e = nS.screenWidth;+ nS.screenWidth = nS.screenHeight, nS.screenHeight = e;}- Vx.isOpen || (Vx.screenAngle = e.angle);+ nS.isOpen || (nS.screenAngle = e.angle);}-function nie(e) {- let t = Kx(G(e)), n = performance.now(), r = Hx(), i = Vx.screenHeight - r.height;- i < zx && t && (Vx.screenWidth = r.width, Vx.screenHeight = r.height, Vx.screenAngle = r.angle, Vx.startTimeStamp = n), t && window.clearTimeout(Vx.screenTimeout), i >= zx && t && (Vx.endTimeStamp = n);+function Bre(e) {+ let t = sS(K(e)), n = performance.now(), r = rS(), i = nS.screenHeight - r.height;+ i < eS && t && (nS.screenWidth = r.width, nS.screenHeight = r.height, nS.screenAngle = r.angle, nS.startTimeStamp = n), t && window.clearTimeout(nS.screenTimeout), i >= eS && t && (nS.endTimeStamp = n);}-function Wx() {- let e = Hx();- Yy(window.visualViewport, "resize", vb() ? Ux : eie), Yy(window.screen.orientation, "change", tie), Yy(window, "focus", nie, {+function aS() {+ let e = rS();+ $y(window.visualViewport, "resize", Ab() ? iS : Rre), $y(window.screen.orientation, "change", zre), $y(window, "focus", Bre, {capture: !0,passive: !0- }), Vx.screenWidth = e.width, Vx.screenHeight = e.height, Vx.screenAngle = e.angle;+ }), nS.screenWidth = e.width, nS.screenHeight = e.height, nS.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? Yy(document, "DOMContentLoaded", Wx) : Wx());-function Gx() {- let e = Rx("viewport");- return bb() && e?.includes("overlays-content") ? !1 : Vx.isOpen ? !0 : Vx.startTimeStamp ? Vx.endTimeStamp >= Vx.startTimeStamp ? !0 : performance.now() - Vx.startTimeStamp <= Bx ? Vx.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? $y(document, "DOMContentLoaded", aS) : aS());+function oS() {+ let e = $x("viewport");+ return Mb() && e?.includes("overlays-content") ? !1 : nS.isOpen ? !0 : nS.startTimeStamp ? nS.endTimeStamp >= nS.startTimeStamp ? !0 : performance.now() - nS.startTimeStamp <= tS ? nS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function Kx(e) {- if (!(e instanceof Element) || !ib(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !$re.has(e.type);+function sS(e) {+ if (!(e instanceof Element) || !pb(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Lre.has(e.type);return t || n || r;}-function qx(e) {- return hb() ? e.metaKey : e.ctrlKey;+function cS(e) {+ return Tb() ? e.metaKey : e.ctrlKey;}-function Jx() {- return Vx.isOpen;+function lS() {+ return nS.isOpen;}//#endregion//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var rie = D.useInsertionEffect ?? sb;-function Yx(e) {+var Vre = D.useInsertionEffect ?? gb;+function uS(e) {let t = (0, D.useRef)(null);- return rie(() => {+ return Vre(() => {t.current = e;}, [e]), (0, D.useCallback)((...e) => {let n = t.current;@@ -21663,10 +21663,10 @@ function Yx(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useEvent.mjs-function Xx(e, t, n, r) {- let i = Yx(n), a = n == null;+function dS(e, t, n, r) {+ let i = uS(n), a = n == null;(0, D.useEffect)(() => {- if (!(a || e.current == null)) return Yy(e.current, t, i, r);+ if (!(a || e.current == null)) return $y(e.current, t, i, r);}, [e,t,@@ -21676,9 +21676,9 @@ function Xx(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLabels.mjs-function Zx(e, t) {+function fS(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = sx(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {+ return n = Sx(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {id: n,"aria-label": r,"aria-labelledby": i@@ -21686,7 +21686,7 @@ function Zx(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/utils.mjs-var iie = /* @__PURE__ */ new Set([+var Hre = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -21697,7 +21697,7 @@ var iie = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), aie = /* @__PURE__ */ new Set([+]), Ure = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -21718,20 +21718,20 @@ var iie = /* @__PURE__ */ new Set(["ur","yi"]);-function oie(e) {+function Wre(e) {if (Intl.Locale) {let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;if (n) return n.direction === "rtl";- if (t.script) return iie.has(t.script);+ if (t.script) return Hre.has(t.script);}let t = e.split("-")[0];- return aie.has(t);+ return Ure.has(t);}//#endregion//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var Qx = Symbol.for("react-aria.i18n.locale");-function $x() {- let e = typeof window < "u" && window[Qx] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var pS = Symbol.for("react-aria.i18n.locale");+function mS() {+ let e = typeof window < "u" && window[pS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -21739,33 +21739,33 @@ function $x() {}return {locale: e,- direction: oie(e) ? "rtl" : "ltr"+ direction: Wre(e) ? "rtl" : "ltr"};}-var eS = $x(), tS = /* @__PURE__ */ new Set();-function nS() {- eS = $x();- for (let e of tS) e(eS);+var hS = mS(), gS = /* @__PURE__ */ new Set();+function _S() {+ hS = mS();+ for (let e of gS) e(hS);}-function sie() {- let e = kb(), [t, n] = (0, D.useState)(eS);- return (0, D.useEffect)(() => (tS.size === 0 && window.addEventListener("languagechange", nS), tS.add(n), () => {- tS.delete(n), tS.size === 0 && window.removeEventListener("languagechange", nS);+function Gre() {+ let e = Wb(), [t, n] = (0, D.useState)(hS);+ return (0, D.useEffect)(() => (gS.size === 0 && window.addEventListener("languagechange", _S), gS.add(n), () => {+ gS.delete(n), gS.size === 0 && window.removeEventListener("languagechange", _S);}), []), e ? {- locale: typeof window < "u" && window[Qx] || "en-US",+ locale: typeof window < "u" && window[pS] || "en-US",direction: "ltr"} : t;}//#endregion//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var cie = /*#__PURE__*/ D.createContext(null);-function rS() {- let e = sie();- return (0, D.useContext)(cie) || e;+var Kre = /*#__PURE__*/ D.createContext(null);+function vS() {+ let e = Gre();+ return (0, D.useContext)(Kre) || e;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var lie = Symbol.for("react-aria.i18n.locale"), uie = Symbol.for("react-aria.i18n.strings"), iS = void 0, aS = class e {+var qre = Symbol.for("react-aria.i18n.locale"), Jre = Symbol.for("react-aria.i18n.strings"), yS = void 0, bS = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -21776,39 +21776,39 @@ var lie = Symbol.for("react-aria.i18n.locale"), uie = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = die(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = Yre(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[lie];- if (iS === void 0) {- let t = window[uie];+ let n = window[qre];+ if (yS === void 0) {+ let t = window[Jre];if (!t) return null;- iS = {};- for (let r in t) iS[r] = new e({ [n]: t[r] }, n);+ yS = {};+ for (let r in t) yS[r] = new e({ [n]: t[r] }, n);}- let r = iS?.[t];+ let r = yS?.[t];if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r;}};-function die(e, t, n = "en-US") {+function Yre(e, t, n = "en-US") {if (t[e]) return t[e];- let r = fie(e), i = pie(e);+ let r = Xre(e), i = Zre(e);if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];if (t[r]) return t[r];for (let e in t) if (e.startsWith(r + "-")) return t[e];return t[n];}-function fie(e) {+function Xre(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function pie(e) {+function Zre(e) {if (Intl.Locale) return new Intl.Locale(e).script;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var oS = /* @__PURE__ */ new Map(), sS = /* @__PURE__ */ new Map(), cS = class {+var xS = /* @__PURE__ */ new Map(), SS = /* @__PURE__ */ new Map(), Qre = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -21819,37 +21819,37 @@ var oS = /* @__PURE__ */ new Map(), sS = /* @__PURE__ */ new Map(), cS = class {plural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = oS.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), oS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = xS.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), xS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = sS.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), sS.set(this.locale, t)), t.format(e);+ let t = SS.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), SS.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, lS = /* @__PURE__ */ new WeakMap();-function uS(e) {- let t = lS.get(e);- return t || (t = new aS(e), lS.set(e, t)), t;+}, CS = /* @__PURE__ */ new WeakMap();+function $re(e) {+ let t = CS.get(e);+ return t || (t = new bS(e), CS.set(e, t)), t;}-function dS(e, t) {- return t && aS.getGlobalDictionaryForPackage(t) || uS(e);+function eie(e, t) {+ return t && bS.getGlobalDictionaryForPackage(t) || $re(e);}-function fS(e, t) {- let { locale: n } = rS(), r = dS(e, t);- return (0, D.useMemo)(() => new cS(n, r), [n, r]);+function wS(e, t) {+ let { locale: n } = vS(), r = eie(e, t);+ return (0, D.useMemo)(() => new Qre(n, r), [n, r]);}//#endregion//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var pS = /* @__PURE__ */ new Set(["id"]), mS = /* @__PURE__ */ new Set([+var tie = /* @__PURE__ */ new Set(["id"]), nie = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), hS = /* @__PURE__ */ new Set([+]), rie = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -21857,64 +21857,64 @@ var pS = /* @__PURE__ */ new Set(["id"]), mS = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), gS = /* @__PURE__ */ new Set([+]), iie = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), _S = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), vS = /^(data-.*)$/;-function yS(e, t = {}) {+]), TS = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), aie = /^(data-.*)$/;+function ES(e, t = {}) {let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (pS.has(t) || n && mS.has(t) || r && hS.has(t) || i && gS.has(t) || a && (_S.has(t) || t.endsWith("Capture") && _S.has(t.slice(0, -7))) || o?.has(t) || vS.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (tie.has(t) || n && nie.has(t) || r && rie.has(t) || i && iie.has(t) || a && (TS.has(t) || t.endsWith("Capture") && TS.has(t.slice(0, -7))) || o?.has(t) || aie.test(t)) && (s[t] = e[t]);return s;}//#endregion//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs-var bS = "default", xS = "", SS = /* @__PURE__ */ new WeakMap();-function CS(e) {- if (_b() && vb()) {- if (bS === "default") {- let t = Gy(e);- xS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- bS = "disabled";+var DS = "default", OS = "", kS = /* @__PURE__ */ new WeakMap();+function AS(e) {+ if (Ob() && Ab()) {+ if (DS === "default") {+ let t = Yy(e);+ OS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ DS = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- SS.set(e, e.style[t]), e.style[t] = "none";+ kS.set(e, e.style[t]), e.style[t] = "none";}}-function wS(e) {- if (_b() && vb()) {- if (bS !== "disabled") return;- bS = "restoring", setTimeout(() => {- tx(() => {- if (bS === "restoring") {- let t = Gy(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = xS || ""), xS = "", bS = "default";+function jS(e) {+ if (Ob() && Ab()) {+ if (DS !== "disabled") return;+ DS = "restoring", setTimeout(() => {+ gx(() => {+ if (DS === "restoring") {+ let t = Yy(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = OS || ""), OS = "", DS = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && SS.has(e)) {- let t = SS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), SS.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && kS.has(e)) {+ let t = kS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), kS.delete(e);}}//#endregion//#region node_modules/react-aria/dist/private/utils/getNonce.mjs-var TS = /* @__PURE__ */ new WeakMap();-function ES(e) {- let t = Gy(e), n = TS.get(t);- return n ??= Rx("csp-nonce", t), n !== void 0 && TS.set(t, n), n;+var MS = /* @__PURE__ */ new WeakMap();+function NS(e) {+ let t = Yy(e), n = MS.get(t);+ return n ??= $x("csp-nonce", t), n !== void 0 && MS.set(t, n), n;}//#endregion//#region node_modules/react-aria/dist/private/interactions/context.mjs-var DS = D.createContext({ register: () => {} });-DS.displayName = "PressResponderContext";+var PS = D.createContext({ register: () => {} });+PS.displayName = "PressResponderContext";//#endregion//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function OS() {+function FS() {let e = (0, D.useRef)(/* @__PURE__ */ new Map()), t = (0, D.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -21941,15 +21941,15 @@ function OS() {}//#endregion//#region node_modules/react-aria/dist/private/interactions/usePress.mjs-function kS(e) {- let t = (0, D.useContext)(DS);+function oie(e) {+ let t = (0, D.useContext)(PS);if (t) {let { register: n, ref: r, ...i } = t;- e = K(i, e), n();+ e = q(i, e), n();}- return yx(t, e.ref), e;+ return Px(t, e.ref), e;}-var AS = class {+var IS = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -21962,9 +21962,9 @@ var AS = class {get shouldStopPropagation() {return this.#e;}-}, jS = Symbol("linkClicked"), MS = "react-aria-pressable-style", NS = "data-react-aria-pressable";-function PS(e) {- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = kS(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({+}, LS = Symbol("linkClicked"), RS = "react-aria-pressable-style", zS = "data-react-aria-pressable";+function BS(e) {+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = oie(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -21974,12 +21974,12 @@ function PS(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = OS(), y = (0, D.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = FS(), y = (0, D.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new AS("pressstart", t, e);+ let n = new IS("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -21993,11 +21993,11 @@ function PS(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new AS("pressend", r, e);+ let t = new IS("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new AS("press", r, e);+ let n = new IS("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -22006,19 +22006,19 @@ function PS(e) {i,n,t- ]), x = Yx(b), S = Yx((0, D.useCallback)((e, t) => {+ ]), x = uS(b), S = uS((0, D.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new AS("pressup", t, e);+ let r = new IS("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, D.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(LS(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || wS(t.target);+ t.didFirePressStart && t.pointerType != null && b(US(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || jS(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -22026,7 +22026,7 @@ function PS(e) {d,v,b- ]), w = Yx(C);+ ]), w = uS(C);(0, D.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -22043,39 +22043,39 @@ function PS(e) {}, [s, o]), O = (0, D.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- lb(n, t), o(cb(n));+ vb(n, t), o(_b(n));}}, [s, o]), k = (0, D.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (IS(t.nativeEvent, t.currentTarget) && Qy(t.currentTarget, G(t))) {- RS(G(t), t.key) && t.preventDefault();+ if (HS(t.nativeEvent, t.currentTarget) && nb(t.currentTarget, K(t))) {+ WS(K(t), t.key) && t.preventDefault();let r = !0;!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));let i = t.currentTarget;- _(Gy(t.currentTarget), "keyup", rx((t) => {- IS(t, i) && !t.repeat && Qy(i, G(t)) && e.target && S(LS(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && hb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(Yy(t.currentTarget), "keyup", vx((t) => {+ HS(t, i) && !t.repeat && nb(i, K(t)) && e.target && S(US(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && Tb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || Qy(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Cb.isOpening) {+ if ((!t || nb(t.currentTarget, K(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Rb.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || xb(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Nb(t.nativeEvent))) {let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");E(t), n = e && r && i;} else if (e.isPressed && e.pointerType !== "keyboard") {- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(LS(t.currentTarget, t), r), a = x(LS(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(US(t.currentTarget, t), r), a = x(US(t.currentTarget, t), r, !0);n = i && a, e.isOverTarget = !1, E(t), w(t);}e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();}}}, n = (t) => {- if (e.isPressed && e.target && IS(t, e.target)) {- RS(G(t), t.key) && t.preventDefault();- let n = G(t), r = Qy(e.target, n);- x(LS(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && FS(e.target) && Qy(e.target, n) && !t[jS] && (t[jS] = !0, Cb(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && HS(t, e.target)) {+ WS(K(t), t.key) && t.preventDefault();+ let n = K(t), r = nb(e.target, n);+ x(US(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && VS(e.target) && nb(e.target, n) && !t[LS] && (t[LS] = !0, Rb(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);} else if (t.key === "Meta" && e.metaKeyEvents?.size) {let t = e.metaKeyEvents;e.metaKeyEvents = void 0;@@ -22084,39 +22084,39 @@ function PS(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !Qy(t.currentTarget, G(t))) return;- if (are(t.nativeEvent)) {+ if (t.button !== 0 || !nb(t.currentTarget, K(t))) return;+ if (Pb(t.nativeEvent)) {e.pointerType = "virtual";return;}e.pointerType = t.pointerType;let i = !0;if (!e.isPressed) {- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || CS(e.target), i = y(t, e.pointerType);- let a = G(t);- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Gy(t.currentTarget), "pointerup", n, !1), _(Gy(t.currentTarget), "pointercancel", r, !1);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || AS(e.target), i = y(t, e.pointerType);+ let a = K(t);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Yy(t.currentTarget), "pointerup", n, !1), _(Yy(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (Qy(t.currentTarget, G(t)) && t.button === 0) {+ if (nb(t.currentTarget, K(t)) && t.button === 0) {if (l) {- let n = nre(t.target);+ let n = xb(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- Qy(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ nb(t.currentTarget, K(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);}, t.onPointerEnter = (t) => {- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(LS(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(US(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(LS(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(US(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (Qy(e.target, G(t)) && e.pointerType != null) {+ if (nb(e.target, K(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Wy(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Jy(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -22126,7 +22126,7 @@ function PS(e) {w(e);};t.onDragStart = (e) => {- Qy(e.currentTarget, G(e)) && w(e);+ nb(e.currentTarget, K(e)) && w(e);};}return t;@@ -22143,14 +22143,14 @@ function PS(e) {]);return (0, D.useEffect)(() => {if (!f) return;- let e = Gy(f.current);- if (!e || !e.head || e.getElementById(MS)) return;+ let e = Yy(f.current);+ if (!e || !e.head || e.getElementById(RS)) return;let t = e.createElement("style");- t.id = MS;- let n = ES(e);+ t.id = RS;+ let n = NS(e);n && (t.nonce = n), t.textContent = `@layer {- [${NS}] {+ [${zS}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -22158,23 +22158,23 @@ function PS(e) {}, [f]), (0, D.useEffect)(() => {let e = g.current;return () => {- d || wS(e.target ?? void 0);+ d || jS(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: K(p, k, { [NS]: !0 })+ pressProps: q(p, k, { [zS]: !0 })};}-function FS(e) {+function VS(e) {return e.tagName === "A" && e.hasAttribute("href");}-function IS(e, t) {+function HS(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Ky(i).HTMLInputElement && !zS(i, n) || i instanceof Ky(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && FS(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Xy(i).HTMLInputElement && !GS(i, n) || i instanceof Xy(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && VS(i)) && n !== "Enter");}-function LS(e, t) {+function US(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -22187,13 +22187,13 @@ function LS(e, t) {key: t.key};}-function mie(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !FS(e);+function sie(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !VS(e);}-function RS(e, t) {- return hb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !zS(e, t) : mie(e);+function WS(e, t) {+ return Tb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !GS(e, t) : sie(e);}-var hie = /* @__PURE__ */ new Set([+var cie = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22204,12 +22204,12 @@ var hie = /* @__PURE__ */ new Set(["submit","reset"]);-function zS(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : hie.has(e.type);+function GS(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : cie.has(e.type);}//#endregion//#region node_modules/react-aria/dist/private/button/useButton.mjs-function gie(e, t) {+function lie(e, t) {let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;g = n === "button" ? {type: h,@@ -22231,7 +22231,7 @@ function gie(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = PS({+ let { pressProps: _, isPressed: v } = BS({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -22241,12 +22241,12 @@ function gie(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = xx(e, t);+ }), { focusableProps: y } = Ix(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = K(y, _, yS(e, { labelable: !0 }));+ let b = q(y, _, ES(e, { labelable: !0 }));return {isPressed: v,- buttonProps: K(g, b, {+ buttonProps: q(g, b, {"aria-haspopup": e["aria-haspopup"],"aria-expanded": e["aria-expanded"],"aria-controls": e["aria-controls"],@@ -22258,7 +22258,7 @@ function gie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var _ie = class {+var uie = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -22283,7 +22283,7 @@ var _ie = class {return this._currentNode;}set currentNode(e) {- if (!Qy(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!nb(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t = [], n = e, r = e;for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });@@ -22297,7 +22297,7 @@ var _ie = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return Qy(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return nb(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -22361,45 +22361,45 @@ var _ie = class {return null;}};-function BS(e, t, n, r) {- return Zy() ? new _ie(e, t, n, r) : e.createTreeWalker(t, n, r);+function KS(e, t, n, r) {+ return tb() ? new uie(e, t, n, r) : e.createTreeWalker(t, n, r);}//#endregion//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs-var VS = /*#__PURE__*/ D.createContext(null), HS = "react-aria-focus-scope-restore", US = null;-function WS(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(VS) || {}, l = (0, D.useMemo)(() => new rC({ scopeRef: s }), [s]);- sb(() => {- let e = c || iC.root;- if (iC.getTreeNode(e.scopeRef) && US && !XS(US, e.scopeRef)) {- let t = iC.getTreeNode(US);+var qS = /*#__PURE__*/ D.createContext(null), JS = "react-aria-focus-scope-restore", YS = null;+function XS(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(qS) || {}, l = (0, D.useMemo)(() => new pC({ scopeRef: s }), [s]);+ gb(() => {+ let e = c || mC.root;+ if (mC.getTreeNode(e.scopeRef) && YS && !nC(YS, e.scopeRef)) {+ let t = mC.getTreeNode(YS);t && (e = t);}- e.addChild(l), iC.addNode(l);- }, [l, c]), sb(() => {- let e = iC.getTreeNode(s);+ e.addChild(l), mC.addNode(l);+ }, [l, c]), gb(() => {+ let e = mC.getTreeNode(s);e && (e.contain = !!n);- }, [n]), sb(() => {+ }, [n]), gb(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(HS, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(JS, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(HS, n);+ for (let e of t) e.removeEventListener(JS, n);};- }, [t]), wie(s, r, n), xie(s, n), Tie(s, r, n), Cie(s, i), (0, D.useEffect)(() => {- let e = $y(Gy(s.current ? s.current[0] : void 0)), t = null;- if (JS(e, s.current)) {- for (let n of iC.traverse()) n.scopeRef && JS(e, n.scopeRef.current) && (t = n);- t === iC.getTreeNode(s) && (US = t.scopeRef);- }- }, [s]), sb(() => () => {- let e = iC.getTreeNode(s)?.parent?.scopeRef ?? null;- (s === US || XS(s, US)) && (!e || iC.getTreeNode(e)) && (US = e), iC.removeTreeNode(s);+ }, [t]), sC(s, r, n), mie(s, n), lC(s, r, n), oC(s, i), (0, D.useEffect)(() => {+ let e = rb(Yy(s.current ? s.current[0] : void 0)), t = null;+ if (eC(e, s.current)) {+ for (let n of mC.traverse()) n.scopeRef && eC(e, n.scopeRef.current) && (t = n);+ t === mC.getTreeNode(s) && (YS = t.scopeRef);+ }+ }, [s]), gb(() => () => {+ let e = mC.getTreeNode(s)?.parent?.scopeRef ?? null;+ (s === YS || nC(s, YS)) && (!e || mC.getTreeNode(e)) && (YS = e), mC.removeTreeNode(s);}, [s]);- let u = (0, D.useMemo)(() => vie(s), []), d = (0, D.useMemo)(() => ({+ let u = (0, D.useMemo)(() => die(s), []), d = (0, D.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ D.createElement(VS.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {+ return /*#__PURE__*/ D.createElement(qS.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -22409,154 +22409,154 @@ function WS(e) {ref: o}));}-function vie(e) {+function die(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || $y(Gy(n[0] ?? void 0)), c = n[0].previousElementSibling, l = nC(GS(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || rb(Yy(n[0] ?? void 0)), c = n[0].previousElementSibling, l = dC(ZS(n), {tabbable: i,accept: o}, n);- l.currentNode = JS(s, n) ? s : c;+ l.currentNode = eC(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && ZS(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && rC(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || $y(Gy(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = nC(GS(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || rb(Yy(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = dC(ZS(n), {tabbable: i,accept: o}, n);- l.currentNode = JS(s, n) ? s : c;+ l.currentNode = eC(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && ZS(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && rC(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = nC(GS(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = dC(ZS(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && ZS(o, !0), o;+ return o && rC(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = nC(GS(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = dC(ZS(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && ZS(o, !0), o;+ return o && rC(o, !0), o;}};}-function GS(e) {+function ZS(e) {return e[0].parentElement;}-function KS(e) {- let t = iC.getTreeNode(US);+function QS(e) {+ let t = mC.getTreeNode(YS);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function yie(e) {- if (!e.form) return Array.from(Gy(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = Ky(e);+function fie(e) {+ if (!e.form) return Array.from(Yy(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = Xy(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function bie(e) {+function pie(e) {if (e.checked) return !0;- let t = yie(e);+ let t = fie(e);return t.length > 0 && !t.some((e) => e.checked);}-function xie(e, t) {+function mie(e, t) {let n = (0, D.useRef)(void 0), r = (0, D.useRef)(void 0);- sb(() => {+ gb(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = Gy(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !KS(e) || t.isComposing) return;- let n = $y(a), r = e.current;- if (!r || !JS(n, r)) return;- let i = nC(GS(r), { tabbable: !0 }, r);+ let a = Yy(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !QS(e) || t.isComposing) return;+ let n = rb(a), r = e.current;+ if (!r || !eC(n, r)) return;+ let i = dC(ZS(r), { tabbable: !0 }, r);if (!n) return;i.currentNode = n;let o = t.shiftKey ? i.previousNode() : i.nextNode();- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (ZS(o, !0), o instanceof Ky(o).HTMLInputElement && o.select());+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (rC(o, !0), o instanceof Xy(o).HTMLInputElement && o.select());}, s = (t) => {- (!US || XS(US, e)) && JS(G(t), e.current) ? (US = e, n.current = G(t)) : KS(e) && !YS(G(t), e) ? n.current ? ZS(n.current) : US && US.current && $S(US.current) : KS(e) && (n.current = G(t));+ (!YS || nC(YS, e)) && eC(K(t), e.current) ? (YS = e, n.current = K(t)) : QS(e) && !tC(K(t), e) ? n.current ? rC(n.current) : YS && YS.current && aC(YS.current) : QS(e) && (n.current = K(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = Gb(), i = (r === "virtual" || r === null) && bb() && yb(), o = $y(a);- if (!i && o && KS(e) && !YS(o, e)) {- US = e;- let r = G(t);- r && r.isConnected ? (n.current = r, ZS(n.current)) : US.current && $S(US.current);+ let r = ox(), i = (r === "virtual" || r === null) && Mb() && jb(), o = rb(a);+ if (!i && o && QS(e) && !tC(o, e)) {+ YS = e;+ let r = K(t);+ r && r.isConnected ? (n.current = r, rC(n.current)) : YS.current && aC(YS.current);}});};return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));};- }, [e, t]), sb(() => () => {+ }, [e, t]), gb(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function qS(e) {- return YS(e);+function $S(e) {+ return tC(e);}-function JS(e, t) {- return !e || !t ? !1 : t.some((t) => Qy(t, e));+function eC(e, t) {+ return !e || !t ? !1 : t.some((t) => nb(t, e));}-function YS(e, t = null) {+function tC(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of iC.traverse(iC.getTreeNode(t))) if (n && JS(e, n.current)) return !0;+ for (let { scopeRef: n } of mC.traverse(mC.getTreeNode(t))) if (n && eC(e, n.current)) return !0;return !1;}-function Sie(e) {- return YS(e, US);+function hie(e) {+ return tC(e, YS);}-function XS(e, t) {- let n = iC.getTreeNode(t)?.parent;+function nC(e, t) {+ let n = mC.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function ZS(e, t = !1) {+function rC(e, t = !1) {if (e != null && !t) try {- nx(e);+ _x(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function QS(e, t = !0) {- let n = e[0].previousElementSibling, r = GS(e), i = nC(r, { tabbable: t }, e);+function iC(e, t = !0) {+ let n = e[0].previousElementSibling, r = ZS(e), i = dC(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = GS(e), i = nC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = ZS(e), i = dC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function $S(e, t = !0) {- ZS(QS(e, t));+function aC(e, t = !0) {+ rC(iC(e, t));}-function Cie(e, t) {+function oC(e, t) {let n = D.useRef(t);(0, D.useEffect)(() => {- n.current && (US = e, !JS($y(Gy(e.current ? e.current[0] : void 0)), US.current) && e.current && $S(e.current)), n.current = !1;+ n.current && (YS = e, !eC(rb(Yy(e.current ? e.current[0] : void 0)), YS.current) && e.current && aC(e.current)), n.current = !1;}, [e]);}-function wie(e, t, n) {- sb(() => {+function sC(e, t, n) {+ gb(() => {if (t || n) return;- let r = e.current, i = Gy(r ? r[0] : void 0), a = (t) => {- let n = G(t);- JS(n, e.current) ? US = e : qS(n) || (US = null);+ let r = e.current, i = Yy(r ? r[0] : void 0), a = (t) => {+ let n = K(t);+ eC(n, e.current) ? YS = e : $S(n) || (YS = null);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));@@ -22567,43 +22567,43 @@ function wie(e, t, n) {n]);}-function eC(e) {- let t = iC.getTreeNode(US);+function cC(e) {+ let t = mC.getTreeNode(YS);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function Tie(e, t, n) {- let r = (0, D.useRef)(typeof document < "u" ? $y(Gy(e.current ? e.current[0] : void 0)) : null);- sb(() => {- let r = e.current, i = Gy(r ? r[0] : void 0);+function lC(e, t, n) {+ let r = (0, D.useRef)(typeof document < "u" ? rb(Yy(e.current ? e.current[0] : void 0)) : null);+ gb(() => {+ let r = e.current, i = Yy(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!US || XS(US, e)) && JS($y(i), e.current) && (US = e);+ (!YS || nC(YS, e)) && eC(rb(i), e.current) && (YS = e);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));};- }, [e, n]), sb(() => {- let r = Gy(e.current ? e.current[0] : void 0);+ }, [e, n]), gb(() => {+ let r = Yy(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !KS(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !QS(e) || t.isComposing) return;let n = r.activeElement;- if (!YS(n, e) || !eC(e)) return;- let i = iC.getTreeNode(e);+ if (!tC(n, e) || !cC(e)) return;+ let i = mC.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = nC(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = dC(r.body, { tabbable: !0 });o.currentNode = n;let s = t.shiftKey ? o.previousNode() : o.nextNode();- if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !YS(s, e)) && a) {+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !tC(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (YS(s, e));- t.preventDefault(), t.stopPropagation(), s ? ZS(s, !0) : qS(a) ? ZS(a, !0) : n.blur();+ while (tC(s, e));+ t.preventDefault(), t.stopPropagation(), s ? rC(s, !0) : $S(a) ? rC(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -22613,31 +22613,31 @@ function Tie(e, t, n) {e,t,n- ]), sb(() => {- let n = Gy(e.current ? e.current[0] : void 0);+ ]), gb(() => {+ let n = Yy(e.current ? e.current[0] : void 0);if (!t) return;- let i = iC.getTreeNode(e);+ let i = mC.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = iC.getTreeNode(e);+ let r = mC.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = $y(n);- if (t && i && (a && YS(a, e) || a === n.body && eC(e))) {- let t = iC.clone();+ let i = r.nodeToRestore, a = rb(n);+ if (t && i && (a && tC(a, e) || a === n.body && cC(e))) {+ let t = mC.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- tC(n.nodeToRestore);+ uC(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && iC.getTreeNode(n.scopeRef)) {- let e = QS(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && mC.getTreeNode(n.scopeRef)) {+ let e = iC(n.scopeRef.current, !0);if (e) {- tC(e);+ uC(e);return;}}@@ -22649,21 +22649,21 @@ function Tie(e, t, n) {};}, [e, t]);}-function tC(e) {- e.dispatchEvent(new CustomEvent(HS, {+function uC(e) {+ e.dispatchEvent(new CustomEvent(JS, {bubbles: !0,cancelable: !0- })) && ZS(e);+ })) && rC(e);}-function nC(e, t, n) {- let r = t?.tabbable ? ab : ib, i = Gy(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = BS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return Qy(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!bie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || JS(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function dC(e, t, n) {+ let r = t?.tabbable ? mb : pb, i = Yy(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = KS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return nb(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!pie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || eC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var Eie = class e {+var fC = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new rC({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new pC({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -22674,7 +22674,7 @@ var Eie = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new rC({ scopeRef: e });+ let i = new pC({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -22685,7 +22685,7 @@ var Eie = class e {let t = this.fastMap.get(e);if (!t) return;let n = t.parent;- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && JS(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && eC(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);let r = t.children;n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);}@@ -22697,7 +22697,7 @@ var Eie = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, rC = class {+}, pC = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -22707,13 +22707,13 @@ var Eie = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, iC = new Eie(), aC = 7e3, oC = null;-function sC(e, t = "assertive", n = aC) {- oC ? oC.announce(e, t, n) : (oC = new Die(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? oC.announce(e, t, n) : setTimeout(() => {- oC?.isAttached() && oC?.announce(e, t, n);+}, mC = new fC(), hC = 7e3, gC = null;+function _C(e, t = "assertive", n = hC) {+ gC ? gC.announce(e, t, n) : (gC = new vC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? gC.announce(e, t, n) : setTimeout(() => {+ gC?.isAttached() && gC?.announce(e, t, n);}, 100));}-var Die = class {+var vC = class {constructor() {this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {border: 0,@@ -22738,7 +22738,7 @@ var Die = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = aC) {+ announce(e, t = "assertive", n = hC) {if (!this.node) return;let r = document.createElement("div");typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {@@ -22751,8 +22751,8 @@ var Die = class {};//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function cC(e, t) {- let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = Yx(e);+function yC(e, t) {+ let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = uS(e);(0, D.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, D.useEffect)(() => {@@ -22762,33 +22762,33 @@ function cC(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs-function lC(e, t) {+function bC(e, t) {if (!e) return !1;let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs-function uC(e, t) {+function xC(e, t) {let n = e;- for (lC(n, t) && (n = n.parentElement); n && !lC(n, t);) n = n.parentElement;+ for (bC(n, t) && (n = n.parentElement); n && !bC(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function dC(e, t) {+function SC(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (lC(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (bC(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}//#endregion//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function fC(e, t, n = {}) {- e !== t && Oie(e, t, t.getBoundingClientRect(), n);+function CC(e, t, n = {}) {+ e !== t && wC(e, t, t.getBoundingClientRect(), n);}-function Oie(e, t, n, r = {}) {+function wC(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, ee = e === d ? 0 : e.offsetWidth - e.clientWidth - N, F = e === d ? 0 : e.offsetHeight - e.clientHeight - P, te = p + (f ? 0 : T) + x, I = m - (f ? 0 : E) - S - F, ne = h + (f ? 0 : D) + C, re = g - (f ? 0 : O) - w;- _b() && vb() || u.direction === "ltr" ? re -= ee : u.direction === "rtl" && (ne += ee);+ Ob() && Ab() || u.direction === "ltr" ? re -= ee : u.direction === "rtl" && (ne += ee);let ie = k < te || A > I, ae = j < ne || M > re;if (ie && i === "start") o += k - te;else if (ie && i === "center") o += (k + A) / 2 - (te + I) / 2;@@ -22809,7 +22809,7 @@ function Oie(e, t, n, r = {}) {top: o});}-function pC(e, t = {}) {+function TC(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -22822,47 +22822,47 @@ function pC(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = dC(e, !0);- for (let t of i) fC(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = SC(e, !0);+ for (let t of i) CC(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? dC(n, !0) : [];- for (let e of i) fC(e, n, {+ i = n ? SC(n, !0) : [];+ for (let e of i) CC(e, n, {block: "center",inline: "center"});- for (let t of dC(e, !0)) fC(t, e);+ for (let t of SC(e, !0)) CC(t, e);}}}}//#endregion//#region node_modules/react-aria/dist/private/utils/useDescription.mjs-var kie = 0, mC = /* @__PURE__ */ new Map();-function hC(e) {+var EC = 0, DC = /* @__PURE__ */ new Map();+function OC(e) {let [t, n] = (0, D.useState)();- return sb(() => {+ return gb(() => {if (!e) return;- let t = mC.get(e);+ let t = DC.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${kie++}`;+ let r = `react-aria-description-${EC++}`;n(r);let i = document.createElement("div");i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {refCount: 0,element: i- }, mC.set(e, t);+ }, DC.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), mC.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), DC.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}//#endregion//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs-function gC(e, t, n) {- let r = Yx((e) => {+function kC(e, t, n) {+ let r = uS((e) => {n && !e.defaultPrevented && n(t);});(0, D.useEffect)(() => {@@ -22874,21 +22874,21 @@ function gC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs-function _C(e, t, n) {+function AC(e, t, n) {let { validationBehavior: r, focus: i } = e;- sb(() => {+ gb(() => {if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(jie(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(MC(n.current));}});- let a = (0, D.useRef)(!1), o = Yx(() => {+ let a = (0, D.useRef)(!1), o = uS(() => {a.current || t.resetValidation();- }), s = Yx((e) => {+ }), s = uS((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && Mie(r) === n.current && (i ? i() : n.current?.focus(), Kb("keyboard")), e.preventDefault();- }), c = Yx(() => {+ !e.defaultPrevented && n && r && NC(r) === n.current && (i ? i() : n.current?.focus(), sx("keyboard")), e.preventDefault();+ }), c = uS(() => {t.commitValidation();});(0, D.useEffect)(() => {@@ -22896,13 +22896,13 @@ function _C(e, t, n) {if (!e) return;let t = e.form, r = t?.reset;return t && (t.reset = () => {- a.current = !window.event || window.event.type === "message" && G(window.event) instanceof MessagePort, r?.call(t), a.current = !1;+ a.current = !window.event || window.event.type === "message" && K(window.event) instanceof MessagePort, r?.call(t), a.current = !1;}), e.addEventListener("invalid", s), e.addEventListener("change", c), t?.addEventListener("reset", o), () => {e.removeEventListener("invalid", s), e.removeEventListener("change", c), t?.removeEventListener("reset", o), t && (t.reset = r);};}, [n, r]);}-function Aie(e) {+function jC(e) {let t = e.validity;return {badInput: t.badInput,@@ -22918,14 +22918,14 @@ function Aie(e) {valid: t.valid};}-function jie(e) {+function MC(e) {return {isInvalid: !e.validity.valid,- validationDetails: Aie(e),+ validationDetails: jC(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function Mie(e) {+function NC(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -22934,16 +22934,16 @@ function Mie(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSlot.mjs-function Nie(e = !0) {+function PC(e = !0) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return sb(() => {+ return gb(() => {r.current || n(!1);}, []), [i, t];}-function vC(e = !0) {- let t = sx(), [n, r] = Nie(e);+function FC(e = !0) {+ let t = Sx(), [n, r] = PC(e);return {id: r ? t : void 0,ref: n@@ -22951,7 +22951,7 @@ function vC(e = !0) {}//#endregion//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var yC = {+var IC = {badInput: !1,customError: !1,patternMismatch: !1,@@ -22963,18 +22963,18 @@ var yC = {typeMismatch: !1,valueMissing: !1,valid: !0-}, bC = {- ...yC,+}, LC = {+ ...IC,customError: !0,valid: !1-}, xC = {+}, RC = {isInvalid: !1,- validationDetails: yC,+ validationDetails: IC,validationErrors: []-}, Pie = (0, D.createContext)({}), SC = "__reactAriaFormValidationState";-function CC(e) {+}, zC = (0, D.createContext)({}), BC = "__reactAriaFormValidationState";+function VC(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[SC];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[BC];return {realtimeValidation: t,displayValidation: n,@@ -22983,71 +22983,71 @@ function CC(e) {commitValidation: a};}- return Fie(e);+ return HC(e);}-function Fie(e) {+function HC(e) {let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;n && (t ||= n === "invalid");let c = t === void 0 ? null : {isInvalid: t,validationErrors: [],- validationDetails: bC- }, l = (0, D.useMemo)(() => !o || i == null ? null : TC(Iie(o, i)), [o, i]);+ validationDetails: LC+ }, l = (0, D.useMemo)(() => !o || i == null ? null : GC(WC(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, D.useContext)(Pie), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => wC(u[e])) : wC(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);+ let u = (0, D.useContext)(zC), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => UC(u[e])) : UC(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, D.useMemo)(() => TC(m ? [] : d), [m, d]), _ = (0, D.useRef)(xC), [v, y] = (0, D.useState)(xC), b = (0, D.useRef)(xC), x = () => {+ let g = (0, D.useMemo)(() => GC(m ? [] : d), [m, d]), _ = (0, D.useRef)(RC), [v, y] = (0, D.useState)(RC), b = (0, D.useRef)(RC), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- EC(e, b.current) || (b.current = e, y(e));+ KC(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, D.useState)(!1);return (0, D.useEffect)(x), {- realtimeValidation: c || g || l || a || xC,+ realtimeValidation: c || g || l || a || RC,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !EC(v, e) ? y(e) : _.current = e;+ s === "aria" && !KC(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = xC;- EC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = RC;+ KC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function wC(e) {+function UC(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function Iie(e, t) {+function WC(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return wC(n);+ if (n && typeof n != "boolean") return UC(n);}return [];}-function TC(e) {+function GC(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: bC+ validationDetails: LC} : null;}-function EC(e, t) {+function KC(e, t) {return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);}//#endregion//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs-function DC(e, t, n) {- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = CC({+function qC(e, t, n) {+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = VC({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- _C(e, b, n);+ AC(e, b, n);let w = (e) => {- e.stopPropagation(), t.setSelected(G(e).checked);- }, { pressProps: T, isPressed: E } = PS({+ e.stopPropagation(), t.setSelected(K(e).checked);+ }, { pressProps: T, isPressed: E } = BS({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -23055,7 +23055,7 @@ function DC(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [O, k] = (0, D.useState)(!1), { pressProps: A } = PS({+ }), [O, k] = (0, D.useState)(!1), { pressProps: A } = BS({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), k(!0));},@@ -23072,16 +23072,16 @@ function DC(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [SC]: i } = e, { commitValidation: a } = i || b;+ let { [BC]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: j } = xx(e, n), M = K(T, j), N = yS(e, { labelable: !0 });- gC(n, t.defaultSelected, t.setSelected);- let P = vC(), ee = vC();+ }), { focusableProps: j } = Ix(e, n), M = q(T, j), N = ES(e, { labelable: !0 });+ kC(n, t.defaultSelected, t.setSelected);+ let P = FC(), ee = FC();return {- labelProps: K(A, { onClick: (e) => e.preventDefault() }),- inputProps: K(N, {+ labelProps: q(A, { onClick: (e) => e.preventDefault() }),+ inputProps: q(N, {checked: t.isSelected,"aria-required": l && u === "aria" || void 0,required: l && u === "native",@@ -23115,12 +23115,12 @@ function DC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function OC(e, t, n) {- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = DC(e, t, n), { isIndeterminate: m } = e;+function JC(e, t, n) {+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = qC(e, t, n), { isIndeterminate: m } = e;return (0, D.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {- labelProps: K(r, (0, D.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),+ labelProps: q(r, (0, D.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),inputProps: i,descriptionProps: a,errorMessageProps: o,@@ -23135,18 +23135,18 @@ function OC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/utils.mjs-var Lie = /* @__PURE__ */ new WeakMap();+var YC = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/label/useLabel.mjs-function kC(e) {+function XC(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = sx(t);- let o = sx(), s = {};+ t = Sx(t);+ let o = Sx(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = Zx({+ let c = fS({id: t,"aria-label": i,"aria-labelledby": r@@ -23158,19 +23158,19 @@ function kC(e) {}//#endregion//#region node_modules/react-aria/dist/private/label/useField.mjs-function AC(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = kC(e), s = cx([+function ZC(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = XC(e), s = Cx([!!t,!!n,r,i- ]), c = cx([+ ]), c = Cx([!!t,!!n,r,i]);- return o = K(o, { "aria-describedby": [+ return o = q(o, { "aria-describedby": [s,c,e["aria-describedby"]@@ -23183,26 +23183,26 @@ function AC(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function jC(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = OS(), c = (0, D.useCallback)((e) => {- Qy(e.currentTarget, G(e)) && a.current.isFocusWithin && !Qy(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function QC(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = FS(), c = (0, D.useCallback)((e) => {+ nb(e.currentTarget, K(e)) && a.current.isFocusWithin && !nb(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = ub(c), u = (0, D.useCallback)((e) => {- if (!Qy(e.currentTarget, G(e))) return;- let t = G(e), n = Gy(t), s = $y(n);+ ]), l = yb(c), u = (0, D.useCallback)((e) => {+ if (!nb(e.currentTarget, K(e))) return;+ let t = K(e), n = Yy(t), s = rb(n);if (!a.current.isFocusWithin && s === t) {r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);let t = e.currentTarget;o(n, "focus", (e) => {- let r = G(e);- if (a.current.isFocusWithin && !Qy(t, r)) {+ let r = K(e);+ if (a.current.isFocusWithin && !nb(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- lb(e, t);- let i = cb(e);+ vb(e, t);+ let i = _b(e);c(i);}}, { capture: !0 });@@ -23224,14 +23224,14 @@ function jC(e) {}//#endregion//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs-var Rie = D.useInsertionEffect ?? D.useLayoutEffect;-function MC(e, t, n) {+var $C = D.useInsertionEffect ?? D.useLayoutEffect;+function ew(e, t, n) {let [r, i] = (0, D.useState)(e || t), a = (0, D.useRef)(r), o = (0, D.useRef)(e !== void 0), s = e !== void 0;(0, D.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- Rie(() => {+ $C(() => {a.current = c;});let [, l] = (0, D.useReducer)(() => ({}), {});@@ -23242,8 +23242,8 @@ function MC(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function NC(e = {}) {- let { isReadOnly: t } = e, [n, r] = MC(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);+function tw(e = {}) {+ let { isReadOnly: t } = e, [n, r] = ew(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);function a(e) {t || r(e);}@@ -23259,26 +23259,26 @@ function NC(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function zie(e, t, n) {- let r = NC({+function gie(e, t, n) {+ let r = tw({isReadOnly: e.isReadOnly || t.isReadOnly,isSelected: t.isSelected(e.value),defaultSelected: t.defaultValue.includes(e.value),onChange(n) {n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);}- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Lie.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = YC.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = CC({+ let { realtimeValidation: l } = VC({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, D.useRef)(xC), d = () => {+ }), u = (0, D.useRef)(RC), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, D.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = OC({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = JC({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -23286,7 +23286,7 @@ function zie(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [SC]: {+ [BC]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -23310,10 +23310,10 @@ function zie(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/utils/number.mjs-function PC(e, t = -Infinity, n = Infinity) {+function nw(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function FC(e, t) {+function rw(e, t) {let n = e, r = 0, i = t.toString(), a = i.toLowerCase().indexOf("e-");if (a > 0) r = Math.abs(Math.floor(Math.log10(Math.abs(t)))) + a;else {@@ -23326,24 +23326,24 @@ function FC(e, t) {}return n;}-function IC(e, t, n, r) {+function iw(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = FC(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);- return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(FC(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(FC((n - t) / r, r)) * r), a = FC(a, r), a;+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = rw(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);+ return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(rw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(rw((n - t) / r, r)) * r), a = rw(a, r), a;}//#endregion//#region node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var LC = /* @__PURE__ */ new Map(), RC = !1;+var aw = /* @__PURE__ */ new Map(), ow = !1;try {- RC = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ ow = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var Bie = class {+var _ie = class {constructor(e, t = {}) {- this.numberFormatter = Vie(e, t), this.options = t;+ this.numberFormatter = vie(e, t), this.options = t;}format(e) {let t = "";- return t = !RC && this.options.signDisplay != null ? Hie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !ow && this.options.signDisplay != null ? yie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -23375,21 +23375,21 @@ var Bie = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !RC && this.options.signDisplay != null && (e = {+ return !ow && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;}};-function Vie(e, t = {}) {+function vie(e, t = {}) {let { numberingSystem: n } = t;n && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${n}`);let r = e + (t ? Object.entries(t).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (LC.has(r)) return LC.get(r);+ if (aw.has(r)) return aw.get(r);let i = new Intl.NumberFormat(e, t);- return LC.set(r, i), i;+ return aw.set(r, i), i;}-function Hie(e, t, n) {+function yie(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -23403,12 +23403,12 @@ function Hie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useMove.mjs-function zC(e) {+function sw(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, D.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = OS(), s = Yx((0, D.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = FS(), s = uS((0, D.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -23430,8 +23430,8 @@ function zC(e) {t,n,i- ])), c = Yx((0, D.useCallback)((e, t) => {- wS(), i.current.didMove && r?.({+ ])), c = uS((0, D.useCallback)((e, t) => {+ jS(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -23442,7 +23442,7 @@ function zC(e) {}, [r, i]));return { moveProps: (0, D.useMemo)(() => {let e = {}, t = () => {- CS(), i.current.didMove = !1;+ AS(), i.current.didMove = !1;};{let n = (e) => {@@ -23457,7 +23457,7 @@ function zC(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = Ky(G(e));+ let a = Xy(K(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -23467,7 +23467,7 @@ function zC(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = Ky(G(e));+ let o = Xy(K(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -23501,7 +23501,7 @@ function zC(e) {}//#endregion//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var BC = {+var cw = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -23513,40 +23513,40 @@ var BC = {width: "1px",whiteSpace: "nowrap"};-function VC(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = jC({+function lw(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = QC({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, D.useMemo)(() => r ? t : t ? {- ...BC,+ ...cw,...t- } : BC, [r]);+ } : cw, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function HC(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = VC(e);- return /*#__PURE__*/ D.createElement(n, K(a, o), t);+function uw(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = lw(e);+ return /*#__PURE__*/ D.createElement(n, q(a, o), t);}//#endregion//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs-function Uie(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = MC(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = xx(e, t), d = CC({+function bie(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = ew(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Ix(e, t), d = VC({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = AC({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = ZC({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = yS(e, { labelable: !0 }), b = {+ }), y = ES(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, D.useState)(c);- return gC(t, e.defaultValue ?? x, l), _C(e, d, t), {+ return kC(t, e.defaultValue ?? x, l), AC(e, d, t), {labelProps: h,- inputProps: K(y, n === "input" ? b : void 0, {+ inputProps: q(y, n === "input" ? b : void 0, {disabled: r,readOnly: a,required: i && s === "native",@@ -23558,7 +23558,7 @@ function Uie(e, t) {"aria-haspopup": e["aria-haspopup"],"aria-controls": e["aria-controls"],value: c,- onChange: (e) => l(G(e).value),+ onChange: (e) => l(K(e).value),autoComplete: e.autoComplete,autoCapitalize: e.autoCapitalize,maxLength: e.maxLength,@@ -23591,28 +23591,28 @@ function Uie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function Wie(e = {}) {- let { locale: t } = rS();- return (0, D.useMemo)(() => new Bie(t, e), [t, e]);+function xie(e = {}) {+ let { locale: t } = vS();+ return (0, D.useMemo)(() => new _ie(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/slider/utils.mjs-var UC = /* @__PURE__ */ new WeakMap();-function WC(e, t) {- let n = UC.get(e);+var dw = /* @__PURE__ */ new WeakMap();+function fw(e, t) {+ let n = dw.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}//#endregion//#region node_modules/react-aria/dist/private/slider/useSlider.mjs-function Gie(e, t, n) {- let { labelProps: r, fieldProps: i } = kC(e), a = e.orientation === "vertical";- UC.set(t, {+function Sie(e, t, n) {+ let { labelProps: r, fieldProps: i } = XC(e), a = e.orientation === "vertical";+ dw.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = rS(), { addGlobalListener: s, removeGlobalListener: c } = OS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = zC({+ let { direction: o } = vS(), { addGlobalListener: s, removeGlobalListener: c } = FS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = sw({onMoveStart() {d.current = null;},@@ -23622,7 +23622,7 @@ function Gie(e, t, n) {d.current == null && l.current != null && (d.current = t.getThumbPercent(l.current) * s);let c = a ? r : e;if ((a || u) && (c = -c), d.current += c, l.current != null && n.current) {- let e = PC(d.current / s, 0, 1);+ let e = nw(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -23646,14 +23646,14 @@ function Gie(e, t, n) {(e.pointerId ?? e.changedTouches?.[0].identifier) === p.current && (l.current != null && (t.setThumbDragging(l.current, !1), l.current = null), c(window, "mouseup", h, !1), c(window, "touchend", h, !1), c(window, "pointerup", h, !1));};return "htmlFor" in r && r.htmlFor && (delete r.htmlFor, r.onClick = () => {- document.getElementById(WC(t, 0))?.focus(), Kb("keyboard");+ document.getElementById(fw(t, 0))?.focus(), sx("keyboard");}), {labelProps: r,groupProps: {role: "group",...i},- trackProps: K({+ trackProps: q({onMouseDown(e) {e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey || m(e, void 0, e.clientX, e.clientY);},@@ -23669,27 +23669,27 @@ function Gie(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => WC(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => fw(t, n)).join(" "),"aria-live": "off"}};}//#endregion//#region node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function Kie(e, t) {- let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = rS(), { addGlobalListener: m, removeGlobalListener: h } = OS(), g = UC.get(t), { labelProps: _, fieldProps: v } = kC({+function Cie(e, t) {+ let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = vS(), { addGlobalListener: m, removeGlobalListener: h } = FS(), g = dw.get(t), { labelProps: _, fieldProps: v } = XC({...e,- id: WC(t, n),+ id: fw(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, D.useCallback)(() => {- s.current && Wy(s.current);+ s.current && Jy(s.current);}, [s]), x = t.focusedThumb === n;(0, D.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, D.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = _x({+ }, { keyboardProps: T } = Mx({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -23705,7 +23705,7 @@ function Kie(e, t) {})},allowRepeats: !0- }), { moveProps: E } = zC({+ }), { moveProps: E } = sw({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -23716,7 +23716,7 @@ function Kie(e, t) {if (C.current ??= s(n) * g, i === "keyboard") e > 0 && S || e < 0 && !S || r > 0 ? l(n, a ? p : d) : u(n, a ? p : d);else {let t = f ? r : e;- (f || S) && (t = -t), C.current += t, c(n, PC(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, nw(C.current / g, 0, 1));}},onMoveEnd() {@@ -23724,7 +23724,7 @@ function Kie(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: O } = xx(K(e, {+ let { focusableProps: O } = Ix(q(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), k = (0, D.useRef)(void 0), A = (e) => {@@ -23733,7 +23733,7 @@ function Kie(e, t) {(e.pointerId ?? e.changedTouches?.[0].identifier) === k.current && (b(), t.setThumbDragging(n, !1), h(window, "mouseup", j, !1), h(window, "touchend", j, !1), h(window, "pointerup", j, !1));}, M = t.getThumbPercent(n);(f || p === "rtl") && (M = 1 - M);- let N = d ? {} : K(T, E, {+ let N = d ? {} : q(T, E, {onMouseDown: (e) => {e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey || A();},@@ -23744,10 +23744,10 @@ function Kie(e, t) {A(e.changedTouches[0].identifier);}});- return gC(s, t.defaultValues[n], (e) => {+ return kC(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {- inputProps: K(O, v, {+ inputProps: q(O, v, {type: "range",tabIndex: d ? void 0 : 0,min: t.getThumbMinValue(n),@@ -23765,7 +23765,7 @@ function Kie(e, t) {"aria-describedby": [g["aria-describedby"], e["aria-describedby"]].filter(Boolean).join(" "),"aria-details": [g["aria-details"], e["aria-details"]].filter(Boolean).join(" "),onChange: (e) => {- t.setThumbValue(n, parseFloat(G(e).value));+ t.setThumbValue(n, parseFloat(K(e).value));}}),thumbProps: {@@ -23785,42 +23785,42 @@ function Kie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var qie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function GC(e) {+var wie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function pw(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var KC = /* @__PURE__ */ new WeakMap(), qC = [];-function JC(e, t) {- let n = Ky(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && qie, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {+var mw = /* @__PURE__ */ new WeakMap(), hw = [];+function gw(e, t) {+ let n = Xy(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && wie, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));}, u = /* @__PURE__ */ new Set();- if (Zy()) {+ if (tb()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; Jy(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; Qy(e) && e !== t;) u.add(e), e = e.host.getRootNode();}}let d = (e) => {for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);let t = (e) => {if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;- for (let t of o) if (Qy(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (nb(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = BS(Gy(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = KS(Yy(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {let e = n.nextNode();for (; e != null;) f(e), e = n.nextNode();}}, f = (e) => {- let t = KC.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), KC.set(e, t + 1));+ let t = mw.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), mw.set(e, t + 1));};- qC.length && qC[qC.length - 1].disconnect(), d(i);+ hw.length && hw[hw.length - 1].disconnect(), d(i);let p = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => Qy(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && GC(e) ? o.add(e) : e instanceof Element && d(e);- if (Zy()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => nb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pw(e) ? o.add(e) : e instanceof Element && d(e);+ if (tb()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23833,11 +23833,11 @@ function JC(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (Zy()) for (let e of u) {+ if (tb()) for (let e of u) {let t = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => Qy(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && GC(e) ? o.add(e) : e instanceof Element && d(e);- if (Zy()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => nb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pw(e) ? o.add(e) : e instanceof Element && d(e);+ if (tb()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23863,59 +23863,59 @@ function JC(e, t) {p.disconnect();}};- return qC.push(h), () => {- if (p.disconnect(), Zy()) for (let e of m) e.disconnect();+ return hw.push(h), () => {+ if (p.disconnect(), tb()) for (let e of m) e.disconnect();for (let e of s) {- let t = KC.get(e);- t != null && (t === 1 ? (l(e, !1), KC.delete(e)) : KC.set(e, t - 1));+ let t = mw.get(e);+ t != null && (t === 1 ? (l(e, !1), mw.delete(e)) : mw.set(e, t - 1));}- h === qC[qC.length - 1] ? (qC.pop(), qC.length && qC[qC.length - 1].observe()) : qC.splice(qC.indexOf(h), 1);+ h === hw[hw.length - 1] ? (hw.pop(), hw.length && hw[hw.length - 1].observe()) : hw.splice(hw.indexOf(h), 1);};}-function YC(e) {- let t = qC[qC.length - 1];+function _w(e) {+ let t = hw[hw.length - 1];if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {t.visibleNodes.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/listbox/utils.mjs-var XC = /* @__PURE__ */ new WeakMap();-function Jie(e) {+var vw = /* @__PURE__ */ new WeakMap();+function Tie(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function Yie(e, t) {- let n = XC.get(e);+function Eie(e, t) {+ let n = vw.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${Jie(t)}`;+ return `${n.id}-option-${Tie(t)}`;}//#endregion//#region node_modules/react-aria/dist/private/selection/utils.mjs-function ZC(e) {- return ire() ? e.altKey : e.ctrlKey;+function yw(e) {+ return kb() ? e.altKey : e.ctrlKey;}-function QC(e, t) {+function bw(e, t) {let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);}-var $C = /* @__PURE__ */ new WeakMap();-function Xie(e) {- let t = sx();- return $C.set(e, t), t;+var xw = /* @__PURE__ */ new WeakMap();+function Die(e) {+ let t = Sx();+ return xw.set(e, t), t;}-function Zie(e) {- return $C.get(e);+function Oie(e) {+ return xw.get(e);}//#endregion//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var ew = class {+var Sw = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : QC(this.ref, e);+ let n = e == null ? null : bw(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -23941,12 +23941,12 @@ var ew = class {height: e?.clientHeight ?? 0};}-}, tw = class {+}, Cw = class {constructor(...e) {if (e.length === 1) {let t = e[0];- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new ew(t.ref);- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new ew(this.ref);+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new Sw(t.ref);+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Sw(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -23986,14 +23986,14 @@ var ew = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = QC(this.ref, e);+ let t = this.getNextKey(e), n = bw(this.ref, e);if (t != null) {- let e = QC(this.ref, t);+ let e = bw(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = QC(this.ref, r);+ let e = bw(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -24027,7 +24027,7 @@ var ew = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !lC(t)) return this.getFirstKey();+ if (t && !bC(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -24042,7 +24042,7 @@ var ew = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !lC(t)) return this.getLastKey();+ if (t && !bC(t)) return this.getLastKey();let i = e;if (this.orientation === "horizontal") {let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);@@ -24065,184 +24065,184 @@ var ew = class {}return null;}-}, nw = {};-nw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, ww = {};+ww = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var rw = {};-rw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var Tw = {};+Tw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var iw = {};-iw = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var Ew = {};+Ew = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs-var aw = {};-aw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var Dw = {};+Dw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs-var ow = {};-ow = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var Ow = {};+Ow = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs-var sw = {};-sw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var kw = {};+kw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var cw = {};-cw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var Aw = {};+Aw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var lw = {};-lw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var jw = {};+jw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs-var uw = {};-uw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var Mw = {};+Mw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var dw = {};-dw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var Nw = {};+Nw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs-var fw = {};-fw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var Pw = {};+Pw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs-var pw = {};-pw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var Fw = {};+Fw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var mw = {};-mw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var Iw = {};+Iw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var hw = {};-hw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var Lw = {};+Lw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs-var gw = {};-gw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var Rw = {};+Rw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs-var _w = {};-_w = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var zw = {};+zw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var vw = {};-vw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var Bw = {};+Bw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var yw = {};-yw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var Vw = {};+Vw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var bw = {};-bw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var Hw = {};+Hw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs-var xw = {};-xw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var Uw = {};+Uw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var Sw = {};-Sw = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var Ww = {};+Ww = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs-var Cw = {};-Cw = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var Gw = {};+Gw = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs-var ww = {};-ww = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var Kw = {};+Kw = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs-var Tw = {};-Tw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var qw = {};+qw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs-var Ew = {};-Ew = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var Jw = {};+Jw = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs-var Dw = {};-Dw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var Yw = {};+Yw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var Ow = {};-Ow = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var Xw = {};+Xw = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs-var kw = {};-kw = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var Zw = {};+Zw = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs-var Aw = {};-Aw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var Qw = {};+Qw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs-var jw = {};-jw = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var $w = {};+$w = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs-var Mw = {};-Mw = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var eT = {};+eT = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs-var Nw = {};-Nw = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var tT = {};+tT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var Pw = {};-Pw = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var nT = {};+nT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var Fw = {};-Fw = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var rT = {};+rT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };//#endregion//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs-var Iw = {};-Iw = {- "ar-AE": nw,- "bg-BG": rw,- "cs-CZ": iw,- "da-DK": aw,- "de-DE": ow,- "el-GR": sw,- "en-US": cw,- "es-ES": lw,- "et-EE": uw,- "fi-FI": dw,- "fr-FR": fw,- "he-IL": pw,- "hr-HR": mw,- "hu-HU": hw,- "it-IT": gw,- "ja-JP": _w,- "ko-KR": vw,- "lt-LT": yw,- "lv-LV": bw,- "nb-NO": xw,- "nl-NL": Sw,- "pl-PL": Cw,- "pt-BR": ww,- "pt-PT": Tw,- "ro-RO": Ew,- "ru-RU": Dw,- "sk-SK": Ow,- "sl-SI": kw,- "sr-SP": Aw,- "sv-SE": jw,- "tr-TR": Mw,- "uk-UA": Nw,- "zh-CN": Pw,- "zh-TW": Fw+var iT = {};+iT = {+ "ar-AE": ww,+ "bg-BG": Tw,+ "cs-CZ": Ew,+ "da-DK": Dw,+ "de-DE": Ow,+ "el-GR": kw,+ "en-US": Aw,+ "es-ES": jw,+ "et-EE": Mw,+ "fi-FI": Nw,+ "fr-FR": Pw,+ "he-IL": Fw,+ "hr-HR": Iw,+ "hu-HU": Lw,+ "it-IT": Rw,+ "ja-JP": zw,+ "ko-KR": Bw,+ "lt-LT": Vw,+ "lv-LV": Hw,+ "nb-NO": Uw,+ "nl-NL": Ww,+ "pl-PL": Gw,+ "pt-BR": Kw,+ "pt-PT": qw,+ "ro-RO": Jw,+ "ru-RU": Yw,+ "sk-SK": Xw,+ "sl-SI": Zw,+ "sr-SP": Qw,+ "sv-SE": $w,+ "tr-TR": eT,+ "uk-UA": tT,+ "zh-CN": nT,+ "zh-TW": rT};//#endregion//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var Qie = 500;-function Lw(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Qie, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = OS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = PS({+var kie = 500;+function aT(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = kie, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = FS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = BS({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -24250,12 +24250,12 @@ function Lw(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Gy(e.target).activeElement !== e.target && Wy(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Yy(e.target).activeElement !== e.target && Jy(e.target), a && a({...e,type: "longpress"}), c.current = void 0;}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });- let t = Ky(e.target);+ let t = Xy(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -24270,12 +24270,12 @@ function Lw(e) {});}});- return { longPressProps: K(f, hC(a && !t ? s : void 0)) };+ return { longPressProps: q(f, OC(a && !t ? s : void 0)) };}//#endregion//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function $ie(e) {- let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = Lw({+function Aie(e) {+ let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = aT({onLongPressStart() {n.current = !1;},@@ -24287,7 +24287,7 @@ function $ie(e) {});}});- return t ? { contextMenuProps: K(_b() ? r : {}, {+ return t ? { contextMenuProps: q(Ob() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -24298,7 +24298,7 @@ function $ie(e) {});},onKeyDown(e) {- if (hb() && e.ctrlKey && e.key === "Enter") {+ if (Tb() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -24318,13 +24318,13 @@ function $ie(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var Rw = /* @__PURE__ */ new WeakMap();-function eae(e) {+var oT = /* @__PURE__ */ new WeakMap();+function jie(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, D.useEffect)(() => !n || r === null ? void 0 : Yy(eb(t.current), "scroll", (e) => {- let n = G(e);- if (!t.current || n instanceof Node && !Qy(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || Rw.get(t.current);+ (0, D.useEffect)(() => !n || r === null ? void 0 : $y(ib(t.current), "scroll", (e) => {+ let n = K(e);+ if (!t.current || n instanceof Node && !nb(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || oT.get(t.current);i && i();}, !0), [n,@@ -24334,14 +24334,14 @@ function eae(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function tae(e, t, n) {+function Mie(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, D.useEffect)(() => {- n && n.current && Rw.set(n.current, t.close);+ n && n.current && oT.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = sx();+ let o = Sx();return {triggerProps: {"aria-haspopup": a,@@ -24354,14 +24354,14 @@ function tae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function nae(e) {+function Nie(e) {return e && e.__esModule ? e.default : e;}-function zw(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = sx(), { triggerProps: s, overlayProps: c } = tae({ type: r }, t, n), l = (e, n, r = "first") => {+function sT(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Sx(), { triggerProps: s, overlayProps: c } = Mie({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = _x({+ }, { keyboardProps: u } = Mx({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -24373,7 +24373,7 @@ function zw(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = fS(nae(Iw), "@react-aria/menu"), { longPressProps: f } = Lw({+ }), d = wS(Nie(iT), "@react-aria/menu"), { longPressProps: f } = aT({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -24385,14 +24385,14 @@ function zw(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Wy(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Jy(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (Wy(e.target), t.toggle());+ e.pointerType === "touch" && !i && (Jy(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = $ie({ onContextMenu(e) {+ let { contextMenuProps: m } = Aie({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -24402,7 +24402,7 @@ function zw(e, t, n) {(0, D.useEffect)(() => {if (t.isOpen && a === "contextMenu") {let e = (e) => {- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && G(e) === document.body && t.close();+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && K(e) === document.body && t.close();};return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);}@@ -24437,8 +24437,8 @@ function zw(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var Bw = 1e3;-function Vw(e) {+var cT = 1e3;+function lT(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, D.useRef)({search: "",timeout: void 0@@ -24457,12 +24457,12 @@ function Vw(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, Bw);+ }, cT);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = rae(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Qy(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ let a = Pie(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !nb(e.currentTarget, K(e)) || i.current.search.length === 0 && a === " ")) {if (i.current.search += a, t.getKeyForSearch != null) {let a = t.getKeyForSearch(i.current.search, n.focusedKey);if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();@@ -24473,34 +24473,34 @@ function Vw(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, Bw);+ }, cT);}} : void 0} };}-function rae(e) {+function Pie(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function Hw(e, t) {+function uT(e, t) {let n = (0, D.useRef)(!0), r = (0, D.useRef)(null);- sb(() => (n.current = !0, () => {+ gb(() => (n.current = !0, () => {n.current = !1;- }), []), sb(() => {+ }), []), gb(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs-function Uw(e) {- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = rS(), _ = Sb(), v = (e, n, i) => {+function dT(e) {+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = vS(), _ = Ib(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !ZC(e)) {+ if (t.isLink(n) && m === "selection" && l && !yw(e)) {(0, Tt.flushSync)(() => {t.setFocusedKey(n, i);});- let a = QC(r, n), o = t.getItemProps(n);+ let a = bw(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -24512,7 +24512,7 @@ function Uw(e) {t.extendSelection(n);return;}- if (l && !ZC(e)) {+ if (l && !yw(e)) {t.replaceSelection(n);return;}@@ -24539,9 +24539,9 @@ function Uw(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, qx(e));+ let r = n.getFirstKey(t.focusedKey, cS(e));if (t.setFocusedKey(r), r != null) {- if (qx(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (cS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24573,9 +24573,9 @@ function Uw(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, qx(e));+ let r = n.getLastKey(t.focusedKey, cS(e));if (t.setFocusedKey(r), r != null) {- if (qx(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (cS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24606,12 +24606,12 @@ function Uw(e) {else return !1;}, A = () => {if (!f && r.current) {- let e = nC(r.current, { tabbable: !0 }), t, n;+ let e = dC(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = $y();- t && (!tb(t) || i && !ab(i)) && Wy(t);+ let i = rb();+ t && (!ab(t) || i && !mb(i)) && Jy(t);}return {shouldContinuePropagation: !0,@@ -24621,11 +24621,11 @@ function Uw(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), M = (e, t) => ({- [hb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [Tb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [hb() ? e + "+Alt" : e + "+Control"]: t,+ [Tb() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: N } = _x({+ }), { keyboardProps: N } = Mx({shortcuts: {...M("ArrowDown", y),...M("ArrowUp", b),@@ -24635,7 +24635,7 @@ function Uw(e) {...M("PageUp", E)},allowRepeats: !0- }), { keyboardProps: P } = _x({ shortcuts: {+ }), { keyboardProps: P } = Mx({ shortcuts: {...M("Home", x),...M("End", w),"Mod+A": O,@@ -24646,7 +24646,7 @@ function Uw(e) {top: 0,left: 0});- Xx(p, "scroll", () => {+ dS(p, "scroll", () => {ee.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -24654,11 +24654,11 @@ function Uw(e) {});let F = (e) => {if (t.isFocused) {- Qy(e.currentTarget, G(e)) || t.setFocused(!1);+ nb(e.currentTarget, K(e)) || t.setFocused(!1);return;}- if (!Qy(e.currentTarget, G(e))) return;- let i = Gb();+ if (!nb(e.currentTarget, K(e))) return;+ let i = ox();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -24669,27 +24669,27 @@ function Uw(e) {r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());} else p.current && (p.current.scrollTop = ee.current.top, p.current.scrollLeft = ee.current.left);if (t.focusedKey != null && p.current) {- let e = QC(r, t.focusedKey);- e instanceof HTMLElement && (!tb(e) && !d && Wy(e), (i === "keyboard" || h && i === "virtual") && pC(e, { containingElement: r.current }));+ let e = bw(r, t.focusedKey);+ e instanceof HTMLElement && (!ab(e) && !d && Jy(e), (i === "keyboard" || h && i === "virtual") && TC(e, { containingElement: r.current }));}}, te = (e) => {- Qy(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ nb(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, I = (0, D.useRef)(!1);- Xx(r, Xre, d ? (e) => {+ dS(r, Pre, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (I.current = !0);} : void 0);let ne = n.getFirstKey?.() ?? null;- Hw(() => {+ uT(() => {if (I.current) {if (ne == null) {- let e = $y();- Ix(r.current), Lx(e, null), t.collection.size > 0 && (I.current = !1);+ let e = rb();+ Zx(r.current), Qx(e, null), t.collection.size > 0 && (I.current = !1);} else t.setFocusedKey(ne), I.current = !1;}- }, [ne, t.collection.size]), Hw(() => {+ }, [ne, t.collection.size]), uT(() => {t.collection.size > 0 && (I.current = !1);- }, [t.focusedKey]), Xx(r, Yre, d ? (e) => {+ }, [t.focusedKey]), dS(r, Nre, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let re = (0, D.useRef)(i), ie = (0, D.useRef)(!1);@@ -24704,53 +24704,53 @@ function Uw(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && nx(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && _x(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);}});let ae = (0, D.useRef)(t.focusedKey), oe = (0, D.useRef)(null);(0, D.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {- let e = Gb(), n = QC(r, t.focusedKey);+ let e = ox(), n = bw(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {- p.current && (fC(p.current, n), e !== "virtual" && pC(n, { containingElement: r.current }));+ p.current && (CC(p.current, n), e !== "virtual" && TC(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && nx(r.current), ae.current = t.focusedKey, ie.current = !1;+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && _x(r.current), ae.current = t.focusedKey, ie.current = !1;}), (0, D.useEffect)(() => () => {oe.current && cancelAnimationFrame(oe.current);- }, []), Xx(r, "react-aria-focus-scope-restore", (e) => {+ }, []), dS(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let se = {- ...K(P, N),+ ...q(P, N),onFocus: F,onBlur: te,onMouseDown(e) {- p.current === G(e) && e.preventDefault();+ p.current === K(e) && e.preventDefault();}- }, { typeSelectProps: ce } = Vw({+ }, { typeSelectProps: ce } = lT({keyboardDelegate: n,selectionManager: t});- u || (se = K(ce, se));+ u || (se = q(ce, se));let le;d || (le = t.focusedKey == null ? 0 : -1);- let ue = Xie(t.collection);- return { collectionProps: K(se, {+ let ue = Die(t.collection);+ return { collectionProps: q(se, {tabIndex: le,"data-collection": ue}) };}//#endregion//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function Ww(e, t) {+function fT(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function Gw(e) {- return Kw(e, 0);+function pT(e) {+ return mT(e, 0);}-function Kw(e, t) {+function mT(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -24758,112 +24758,112 @@ function Kw(e, t) {n++;}}-function qw(e) {+function hT(e) {let t;for (let n of e) t = n;return t;}-function Jw(e, t, n) {+function gT(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...Yw(e, t), t], i = [...Yw(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [..._T(e, t), t], i = [..._T(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);}-function Yw(e, t) {+function _T(e, t) {let n = [], r = t;for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);return n;}//#endregion//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs-var Xw = /* @__PURE__ */ new WeakMap();-function Zw(e) {- let t = Xw.get(e);+var vT = /* @__PURE__ */ new WeakMap();+function yT(e) {+ let t = vT.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(Ww(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(fT(i, e)) : i.type === "item" && n++;};- return r(e), Xw.set(e, n), n;+ return r(e), vT.set(e, n), n;}//#endregion//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs-var Qw = /* @__PURE__ */ new Map();-function $w(e) {- let { locale: t } = rS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (Qw.has(n)) return Qw.get(n);+var bT = /* @__PURE__ */ new Map();+function xT(e) {+ let { locale: t } = vS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (bT.has(n)) return bT.get(n);let r = new Intl.Collator(t, e);- return Qw.set(n, r), r;+ return bT.set(n, r), r;}//#endregion//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var iae = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {- let r = (0, D.useRef)(!1), i = (0, D.useContext)(DS), a = K(i || {}, {+var Fie = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, D.useRef)(!1), i = (0, D.useContext)(PS), a = q(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = vx(n || i?.ref), yx(i, a.ref), (0, D.useEffect)(() => {+ return a.ref = Nx(n || i?.ref), Px(i, a.ref), (0, D.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ D.createElement(DS.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ D.createElement(PS.Provider, { value: a }, e);});-function aae({ children: e }) {+function Iie({ children: e }) {let t = (0, D.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ D.createElement(DS.Provider, { value: t }, e);+ return /*#__PURE__*/ D.createElement(PS.Provider, { value: t }, e);}//#endregion//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var eT = /*#__PURE__*/ (0, D.createContext)({});-function tT(e) {- let { getContainer: t } = e, { getContainer: n } = nT();- return /*#__PURE__*/ D.createElement(eT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var ST = /*#__PURE__*/ (0, D.createContext)({});+function CT(e) {+ let { getContainer: t } = e, { getContainer: n } = wT();+ return /*#__PURE__*/ D.createElement(ST.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function nT() {- return (0, D.useContext)(eT) ?? {};+function wT() {+ return (0, D.useContext)(ST) ?? {};}//#endregion//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs-var rT = /*#__PURE__*/ D.createContext(null);-function iT(e) {- let t = kb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({+var TT = /*#__PURE__*/ D.createContext(null);+function ET(e) {+ let t = Wb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = nT();+ }), [i, a]), { getContainer: s } = wT();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(WS, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(XS, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ D.createElement(rT.Provider, { value: o }, /*#__PURE__*/ D.createElement(aae, null, /*#__PURE__*/ D.createElement(bx.Provider, { value: null }, c))), /*#__PURE__*/ Tt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ D.createElement(TT.Provider, { value: o }, /*#__PURE__*/ D.createElement(Iie, null, /*#__PURE__*/ D.createElement(Fx.Provider, { value: null }, c))), /*#__PURE__*/ Tt.createPortal(c, n);}-function aT() {- let e = (0, D.useContext)(rT)?.setContain;- sb(() => {+function DT() {+ let e = (0, D.useContext)(TT)?.setContain;+ gb(() => {e?.(!0);}, [e]);}//#endregion//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs-function oae(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = cx();+function Lie(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = Cx();i = e["aria-label"] ? void 0 : i;- let a = cx();+ let a = Cx();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, D.useRef)(!1);(0, D.useEffect)(() => {- if (!r && t.current && !tb(t.current)) {- nx(t.current);+ if (!r && t.current && !ab(t.current)) {+ _x(t.current);let e = setTimeout(() => {- ($y() === t.current || $y() === document.body) && (o.current = !0, t.current && (t.current.blur(), nx(t.current)), o.current = !1);+ (rb() === t.current || rb() === document.body) && (o.current = !0, t.current && (t.current.blur(), _x(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), aT(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});+ }, [t, r]), DT(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...yS(e, { labelable: !0 }),+ ...ES(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -24878,23 +24878,23 @@ function oae(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function oT(e = {}) {+function OT(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, D.useRef)({isFocused: !1,- isFocusVisible: t || Wb()+ isFocusVisible: t || ax()}), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, D.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, D.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = Wb(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = ax(), o(e), l();}, [l]);- Yb((e) => {+ ux((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = px({+ let { focusProps: d } = Ox({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = jC({+ }), { focusWithinProps: f } = QC({isDisabled: !r,onFocusWithinChange: u});@@ -24906,42 +24906,42 @@ function oT(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function sae(e = {}) {- let { locale: t } = rS();+function Rie(e = {}) {+ let { locale: t } = vS();return (0, D.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useHover.mjs-var sT = !1, cT = 0;-function cae() {- sT = !0, setTimeout(() => {- sT = !1;+var kT = !1, AT = 0;+function zie() {+ kT = !0, setTimeout(() => {+ kT = !1;}, 500);}-function lT(e) {- e.pointerType === "touch" && cae();+function jT(e) {+ e.pointerType === "touch" && zie();}-function lae() {- let e = Gy(null);- if (e !== void 0) return cT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", lT), cT++, () => {- cT--, !(cT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", lT);+function Bie() {+ let e = Yy(null);+ if (e !== void 0) return AT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", jT), AT++, () => {+ AT--, !(AT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", jT);};}-function uT(e) {+function MT(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, D.useState)(!1), s = (0, D.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, D.useEffect)(lae, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = OS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {+ (0, D.useEffect)(Bie, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = FS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !Qy(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !nb(e.currentTarget, K(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(Gy(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !Qy(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(Yy(K(e)), "pointerover", (e) => {+ s.isHovered && s.target && !nb(s.target, K(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -24956,9 +24956,9 @@ function uT(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- sT && t.pointerType === "mouse" || e(t, t.pointerType);+ kT && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && Qy(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && nb(e.currentTarget, K(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -24981,22 +24981,22 @@ function uT(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function uae(e) {+function Vie(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, D.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = Yx((e) => {- n && dT(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = Yx((e) => {+ }), o = uS((e) => {+ n && NT(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = uS((e) => {n && n(e);});(0, D.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = Gy(n);+ let n = t.current, i = Yy(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && dT(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && NT(n, t) && s(n), e.isPointerDown = !1;};return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);@@ -25004,30 +25004,30 @@ function uae(e) {}}, [t, r]);}-function dT(e, t) {+function NT(e, t) {if (e.button > 0) return !1;- let n = G(e);+ let n = K(e);if (n) {let e = n.ownerDocument;- if (!e || !Qy(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !nb(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}//#endregion//#region node_modules/react-aria/dist/private/gridlist/utils.mjs-var fT = /* @__PURE__ */ new WeakMap();-function pT(e, t) {- let { id: n } = fT.get(e) ?? {};+var PT = /* @__PURE__ */ new WeakMap();+function FT(e, t) {+ let { id: n } = PT.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${dae(t)}`;+ return `${n}-${Hie(t)}`;}-function dae(e) {+function Hie(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var mT = {};-mT = {+var IT = {};+IT = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -25041,8 +25041,8 @@ mT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs-var hT = {};-hT = {+var LT = {};+LT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -25056,8 +25056,8 @@ hT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs-var gT = {};-gT = {+var RT = {};+RT = {deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",select: "Vybrat",@@ -25071,8 +25071,8 @@ gT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var _T = {};-_T = {+var zT = {};+zT = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -25086,8 +25086,8 @@ _T = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var vT = {};-vT = {+var BT = {};+BT = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -25101,8 +25101,8 @@ vT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var yT = {};-yT = {+var VT = {};+VT = {deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select: "Επιλογή",@@ -25116,8 +25116,8 @@ yT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs-var bT = {};-bT = {+var HT = {};+HT = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -25131,8 +25131,8 @@ bT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var xT = {};-xT = {+var UT = {};+UT = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -25146,8 +25146,8 @@ xT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var ST = {};-ST = {+var WT = {};+WT = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -25161,8 +25161,8 @@ ST = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var CT = {};-CT = {+var GT = {};+GT = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -25176,8 +25176,8 @@ CT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var wT = {};-wT = {+var KT = {};+KT = {deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",select: "Sélectionner",@@ -25191,8 +25191,8 @@ wT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var TT = {};-TT = {+var qT = {};+qT = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -25206,8 +25206,8 @@ TT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var ET = {};-ET = {+var JT = {};+JT = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -25221,8 +25221,8 @@ ET = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var DT = {};-DT = {+var YT = {};+YT = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -25236,8 +25236,8 @@ DT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var OT = {};-OT = {+var XT = {};+XT = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -25251,8 +25251,8 @@ OT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var kT = {};-kT = {+var ZT = {};+ZT = {deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,longPressToSelect: "長押しして選択モードを開きます。",select: "選択",@@ -25266,8 +25266,8 @@ kT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs-var AT = {};-AT = {+var QT = {};+QT = {deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",select: "선택",@@ -25281,8 +25281,8 @@ AT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs-var jT = {};-jT = {+var $T = {};+$T = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -25296,8 +25296,8 @@ jT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var MT = {};-MT = {+var eE = {};+eE = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -25311,8 +25311,8 @@ MT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var NT = {};-NT = {+var tE = {};+tE = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -25326,8 +25326,8 @@ NT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var PT = {};-PT = {+var nE = {};+nE = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -25341,8 +25341,8 @@ PT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var FT = {};-FT = {+var rE = {};+rE = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -25356,8 +25356,8 @@ FT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var IT = {};-IT = {+var iE = {};+iE = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -25371,8 +25371,8 @@ IT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var LT = {};-LT = {+var aE = {};+aE = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -25386,8 +25386,8 @@ LT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var RT = {};-RT = {+var oE = {};+oE = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -25401,8 +25401,8 @@ RT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var zT = {};-zT = {+var sE = {};+sE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -25416,8 +25416,8 @@ zT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs-var BT = {};-BT = {+var cE = {};+cE = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -25431,8 +25431,8 @@ BT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var VT = {};-VT = {+var lE = {};+lE = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -25446,8 +25446,8 @@ VT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var HT = {};-HT = {+var uE = {};+uE = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -25461,8 +25461,8 @@ HT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var UT = {};-UT = {+var dE = {};+dE = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -25476,8 +25476,8 @@ UT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var WT = {};-WT = {+var fE = {};+fE = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -25491,8 +25491,8 @@ WT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var GT = {};-GT = {+var pE = {};+pE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -25506,8 +25506,8 @@ GT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs-var KT = {};-KT = {+var mE = {};+mE = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -25521,8 +25521,8 @@ KT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var qT = {};-qT = {+var hE = {};+hE = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -25536,55 +25536,55 @@ qT = {};//#endregion//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs-var JT = {};-JT = {- "ar-AE": mT,- "bg-BG": hT,- "cs-CZ": gT,- "da-DK": _T,- "de-DE": vT,- "el-GR": yT,- "en-US": bT,- "es-ES": xT,- "et-EE": ST,- "fi-FI": CT,- "fr-FR": wT,- "he-IL": TT,- "hr-HR": ET,- "hu-HU": DT,- "it-IT": OT,- "ja-JP": kT,- "ko-KR": AT,- "lt-LT": jT,- "lv-LV": MT,- "nb-NO": NT,- "nl-NL": PT,- "pl-PL": FT,- "pt-BR": IT,- "pt-PT": LT,- "ro-RO": RT,- "ru-RU": zT,- "sk-SK": BT,- "sl-SI": VT,- "sr-SP": HT,- "sv-SE": UT,- "tr-TR": WT,- "uk-UA": GT,- "zh-CN": KT,- "zh-TW": qT+var gE = {};+gE = {+ "ar-AE": IT,+ "bg-BG": LT,+ "cs-CZ": RT,+ "da-DK": zT,+ "de-DE": BT,+ "el-GR": VT,+ "en-US": HT,+ "es-ES": UT,+ "et-EE": WT,+ "fi-FI": GT,+ "fr-FR": KT,+ "he-IL": qT,+ "hr-HR": JT,+ "hu-HU": YT,+ "it-IT": XT,+ "ja-JP": ZT,+ "ko-KR": QT,+ "lt-LT": $T,+ "lv-LV": eE,+ "nb-NO": tE,+ "nl-NL": nE,+ "pl-PL": rE,+ "pt-BR": iE,+ "pt-PT": aE,+ "ro-RO": oE,+ "ru-RU": sE,+ "sk-SK": cE,+ "sl-SI": lE,+ "sr-SP": uE,+ "sv-SE": dE,+ "tr-TR": fE,+ "uk-UA": pE,+ "zh-CN": mE,+ "zh-TW": hE};//#endregion//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function fae(e) {+function Uie(e) {return e && e.__esModule ? e.default : e;}-function YT(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = fS(fae(JT), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {+function _E(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = wS(Uie(gE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;}- let e = XT(i, a.current), o = XT(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = vE(i, a.current), o = vE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];if (t.selectionManager.selectedKeys.size === 1 && s) {let e = t.selectionManager.selectedKeys.keys().next().value;if (e != null && t.collection.getItem(e)) {@@ -25604,7 +25604,7 @@ function YT(e, t) {t && c.push(r.format("deselectedItem", { item: t }));}}- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && sC(c.join(" ")), a.current = i;+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && _C(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -25615,7 +25615,7 @@ function YT(e, t) {n,r]);- cC(() => {+ yC(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -25623,7 +25623,7 @@ function YT(e, t) {}}, [i, t.selectionManager.isFocused]);}-function XT(e, t) {+function vE(e, t) {let n = /* @__PURE__ */ new Set();if (e === "all" || t === "all") return n;for (let r of e.keys()) t.has(r) || n.add(r);@@ -25631,13 +25631,13 @@ function XT(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs-function ZT(e, t) {+function yE(e, t) {let n = t?.isDisabled, [r, i] = (0, D.useState)(!1);- return sb(() => {+ return gb(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = nC(e.current, { tabbable: !0 });+ let t = dC(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -25656,12 +25656,12 @@ function ZT(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function pae(e) {+function Wie(e) {return e && e.__esModule ? e.default : e;}-function QT(e) {- let t = fS(pae(JT), "@react-aria/grid"), n = qb(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return hC((0, D.useMemo)(() => {+function bE(e) {+ let t = wS(Wie(gE), "@react-aria/grid"), n = cx(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return OC((0, D.useMemo)(() => {let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;}, [@@ -25674,11 +25674,11 @@ function QT(e) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function $T(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = $w({+function xE(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = xT({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new tw({+ }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new Cw({collection: n,disabledKeys: r,disabledBehavior: l,@@ -25695,7 +25695,7 @@ function $T(e) {c,l,s- ]), { collectionProps: d } = Uw({+ ]), { collectionProps: d } = dT({...e,ref: i,selectionManager: t,@@ -25705,10 +25705,10 @@ function $T(e) {}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function mae(e, t, n) {+function Gie(e, t, n) {let { isVirtualized: r, keyboardDelegate: i, layoutDelegate: a, onAction: o, disallowTypeAhead: s, linkBehavior: c = "action", keyboardNavigationBehavior: l = "arrow", escapeKeyBehavior: u = "clearSelection", shouldSelectOnPressUp: d } = e;!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");- let { listProps: f } = $T({+ let { listProps: f } = xE({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -25723,31 +25723,31 @@ function mae(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = sx(e.id);- fT.set(t, {+ }), p = Sx(e.id);+ PT.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = QT({+ let m = bE({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = ZT(n, { isDisabled: t.collection.size !== 0 }), g = K(yS(e, { labelable: !0 }), {+ }), h = yE(n, { isDisabled: t.collection.size !== 0 }), g = q(ES(e, { labelable: !0 }), {role: "grid",id: p,"aria-multiselectable": t.selectionManager.selectionMode === "multiple" ? "true" : void 0}, t.collection.size === 0 ? { tabIndex: h ? -1 : 0 } : f, m);- return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), YT({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), _E({}, t), { gridProps: g };}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function eE(e) {- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = Sb();- t = sx(t);+function SE(e) {+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = Ib();+ t = Sx(t);let p = (e) => {- if (e.pointerType === "keyboard" && ZC(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && yw(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -25758,11 +25758,11 @@ function eE(e) {}if (d === "override" || d === "none") return;}- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (qx(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (cS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, D.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? Ix(i.current) : s ? s() : $y() !== i.current && i.current && nx(i.current));+ r === n.focusedKey && n.isFocused && (o ? Zx(i.current) : s ? s() : rb() !== i.current && i.current && _x(i.current));}, [i,r,@@ -25775,7 +25775,7 @@ function eE(e) {!o && !c ? m = {tabIndex: r === n.focusedKey ? 0 : -1,onFocus(e) {- G(e) === i.current && n.setFocusedKey(r);+ K(e) === i.current && n.setFocusedKey(r);}} : c && (m.onMouseDown = (e) => {e.preventDefault();@@ -25790,23 +25790,23 @@ function eE(e) {l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);}, A = { ref: i };a ? (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || nE(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || wE(e.key)) && p(e);}, u ? (A.onPressUp = b ? void 0 : (e) => {e.pointerType === "mouse" && v && p(e);}, A.onPress = b ? k : (e) => {e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);}) : A.onPress = (e) => {if (b || x && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !tE(e.key)) return;+ if (e.pointerType === "keyboard" && !CE(e.key)) return;k(e);} else e.pointerType !== "keyboard" && v && p(e);}) : (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || nE(e.key))) && p(e);+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || wE(e.key))) && p(e);}, A.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && tE(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && CE(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));});- let j = Zie(n.collection);- if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = K(A, {+ let j = Oie(n.collection);+ if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = q(A, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));},@@ -25820,10 +25820,10 @@ function eE(e) {"onPress","onPressUp","onClick"- ]) O[e] && (A[e] = rx(A[e], O[e]));- let { pressProps: M, isPressed: N } = PS(A), P = x ? (e) => {+ ]) O[e] && (A[e] = vx(A[e], O[e]));+ let { pressProps: M, isPressed: N } = BS(A), P = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));- } : void 0, { longPressProps: ee } = Lw({+ } : void 0, { longPressProps: ee } = aT({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -25831,8 +25831,8 @@ function eE(e) {}), F = (e) => {C.current === "touch" && T.current && e.preventDefault();}, te = d !== "none" && n.isLink(r) ? (e) => {- Cb.isOpening || e.preventDefault();- } : void 0, I = K(m, v || b || o && !c ? M : {}, w ? ee : {}, {+ Rb.isOpening || e.preventDefault();+ } : void 0, I = q(m, v || b || o && !c ? M : {}, w ? ee : {}, {onDoubleClick: P,onDragStartCapture: F,onClick: te,@@ -25844,15 +25844,15 @@ function eE(e) {if (e != null) return e !== j;t = t.parentElement;}- return ab(e);+ return mb(e);}, re = I.onPointerDown;I.onPointerDown = (e) => {- let t = G(e);+ let t = K(e);t && t !== i.current && ne(t) ? e.stopPropagation() : re?.(e);};let ie = I.onMouseDown;return I.onMouseDown = (e) => {- let t = G(e);+ let t = K(e);t && t !== i.current && ne(t) ? e.stopPropagation() : ie?.(e);}, {itemProps: I,@@ -25864,15 +25864,15 @@ function eE(e) {hasAction: S};}-function tE(e) {+function CE(e) {return e === "Enter";}-function nE(e) {+function wE(e) {return e === " ";}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var rE = {+var TE = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -25882,18 +25882,18 @@ var rE = {rtl: "ArrowRight"}};-function hae(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = rS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = fT.get(t), f = cx(), p = (0, D.useRef)(null), m = () => {+function Kie(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = vS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = PT.get(t), f = Cx(), p = (0, D.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (tb(n.current) && n.current !== $y(Gy(n.current))) return;- let e = nC(n.current, { tabbable: !0 }).firstChild();+ if (ab(n.current) && n.current !== rb(Yy(n.current))) return;+ let e = dC(n.current, { tabbable: !0 }).firstChild();if (e) {- nx(e), pC(e, { containingElement: uC(e) });+ _x(e), TC(e, { containingElement: xC(e) });return;}}- (p.current != null && r.key !== p.current || !tb(n.current)) && nx(n.current);+ (p.current != null && r.key !== p.current || !ab(n.current)) && _x(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -25903,7 +25903,7 @@ function hae(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = gae(e, t.collection);+ let n = qie(e, t.collection);i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;}} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;@@ -25914,75 +25914,75 @@ function hae(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = eE({+ let { itemProps: v, ...y } = SE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? rx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? vx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = $y(Gy(n.current));- if (!Qy(e.currentTarget, G(e)) || !n.current || !i) return;- let a = nC(n.current);- if (a.currentNode = i, !iE(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = rb(Yy(n.current));+ if (!nb(e.currentTarget, K(e)) || !n.current || !i) return;+ let a = dC(n.current);+ if (a.currentNode = i, !EE(e, t, r, g, s, i, n.current, o)) switch (e.key) {case "ArrowLeft":if (u === "arrow") {let t = s === "rtl" ? a.nextNode() : a.previousNode();- if (t) e.preventDefault(), e.stopPropagation(), nx(t), pC(t, { containingElement: uC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") nx(n.current), pC(n.current, { containingElement: uC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), _x(t), TC(t, { containingElement: xC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") _x(n.current), TC(n.current, { containingElement: xC(n.current) });else {a.currentNode = n.current;- let e = aE(a);- e && (nx(e), pC(e, { containingElement: uC(n.current) }));+ let e = DE(a);+ e && (_x(e), TC(e, { containingElement: xC(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), nx(t), pC(t, { containingElement: uC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") nx(n.current), pC(n.current, { containingElement: uC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), _x(t), TC(t, { containingElement: xC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") _x(n.current), TC(n.current, { containingElement: xC(n.current) });else {a.currentNode = n.current;- let e = aE(a);- e && (nx(e), pC(e, { containingElement: uC(n.current) }));+ let e = DE(a);+ e && (_x(e), TC(e, { containingElement: xC(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && Qy(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && nb(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}}, x = (e) => {- p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && Qy(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && $y(Gy(n.current)) === n.current && m();- }) : Wb() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, K(e) === n.current ? a === "child" && e.relatedTarget && nb(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && rb(Yy(n.current)) === n.current && m();+ }) : ax() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = $y(Gy(n.current));- if (Qy(e.currentTarget, G(e)) && n.current && i) {+ let i = rb(Yy(n.current));+ if (nb(e.currentTarget, K(e)) && n.current && i) {if (u === "tab") {- if (G(e) !== n.current && e.key !== "Tab") {+ if (K(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}- if (iE(e, t, r, g, s, i, n.current, o)) return;+ if (EE(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = nC(n.current, { tabbable: !0 });+ let t = dC(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = wb(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = zb(r.props), w = q(v, y.hasAction ? C : {}, {role: "row",onKeyDownCapture: u === "arrow" || o ? b : void 0,onFocus: x,"aria-label": r["aria-label"] || r.textValue || void 0,"aria-selected": t.selectionManager.canSelectItem(r.key) ? t.selectionManager.isSelected(r.key) : void 0,"aria-disabled": t.selectionManager.isDisabled(r.key) || void 0,- "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${pT(t, r.key)} ${f}` : void 0,- id: pT(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${FT(t, r.key)} ${f}` : void 0,+ id: FT(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -25997,43 +25997,43 @@ function hae(e, t, n) {"aria-colindex": 1};return {- rowProps: { ...K(w, h) },+ rowProps: { ...q(w, h) },gridCellProps: E,descriptionProps: { id: f },...y};}-function iE(e, t, n, r, i, a, o, s) {+function EE(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === rE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === rE.collapse[i] && t.selectionManager.focusedKey === n.key) {+ if (e.key === TE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;+ if (e.key === TE.collapse[i] && t.selectionManager.focusedKey === n.key) {if (r && t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;if (!t.expandedKeys.has(n.key) && n.parentKey && t.collection.getItem(n.parentKey)?.type === "item") return t.selectionManager.setFocusedKey(n.parentKey), e.stopPropagation(), !0;}return !1;}-function aE(e) {+function DE(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);while (n);return t;}-function gae(e, t) {+function qie(e, t) {let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);return a;}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs-function _ae(e) {+function Jie(e) {return e && e.__esModule ? e.default : e;}-function oE(e, t) {- let { key: n } = e, r = t.selectionManager, i = sx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function OE(e, t) {+ let { key: n } = e, r = t.selectionManager, i = Sx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": fS(_ae(JT), "@react-aria/grid").format("select"),+ "aria-label": wS(Jie(gE), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)@@ -26041,31 +26041,31 @@ function oE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function vae(e, t) {- let { key: n } = e, { checkboxProps: r } = oE(e, t);+function Yie(e, t) {+ let { key: n } = e, { checkboxProps: r } = OE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${pT(t, n)}`+ "aria-labelledby": `${r.id} ${FT(t, n)}`} };}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs-function yae(e, t, n) {- let r = yS(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function Xie(e, t, n) {+ let r = ES(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");i === "toggle" && o === "action" && (o = "override");- let { listProps: s } = $T({+ let { listProps: s } = xE({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = jC({+ }), { focusWithinProps: c } = QC({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = sx(e.id);- XC.set(t, {+ }), l = Sx(e.id);+ vw.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -26075,24 +26075,24 @@ function yae(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = kC({+ let { labelProps: u, fieldProps: d } = XC({...e,id: l,labelElementType: "span"});return {labelProps: u,- listBoxProps: K(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {+ listBoxProps: q(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {role: "listbox","aria-orientation": a,- ...K(d, s)+ ...q(d, s)})};}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function bae(e) {- let { heading: t, "aria-label": n } = e, r = sx();+function Zie(e) {+ let { heading: t, "aria-label": n } = e, r = Sx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26111,8 +26111,8 @@ function bae(e) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useOption.mjs-function xae(e, t, n) {- let { key: r } = e, i = XC.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = cx(), f = cx(), p = {+function Qie(e, t, n) {+ let { key: r } = e, i = vw.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Cx(), f = Cx(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -26122,9 +26122,9 @@ function xae(e, t, n) {}, m = t.collection.getItem(r);if (u) {let e = Number(m?.index);- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Zw(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = yT(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Yie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = eE({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Eie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = SE({selectionManager: t.selectionManager,key: r,ref: n,@@ -26133,28 +26133,28 @@ function xae(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? rx(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? vx(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = uT({+ }), { hoverProps: S } = MT({isDisabled: a || !c,onHoverStart() {- Wb() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ ax() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = yS(m?.props);+ }), C = ES(m?.props);delete C.id;- let w = Tb(m?.props);+ let w = Bb(m?.props);return {optionProps: {...p,- ...K(C, _, S, w),+ ...q(C, _, S, w),id: g},labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && Wb(),+ isFocusVisible: y && t.selectionManager.isFocused && ax(),isSelected: o,isDisabled: a,isPressed: v,@@ -26164,13 +26164,13 @@ function xae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/utils.mjs-var sE = /* @__PURE__ */ new WeakMap();+var kE = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/menu/useMenu.mjs-function Sae(e, t, n) {+function $ie(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = yS(e, { labelable: !0 }), { listProps: c } = $T({+ let s = ES(e, { labelable: !0 }), { listProps: c } = xE({...o,ref: n,selectionManager: t.selectionManager,@@ -26179,11 +26179,11 @@ function Sae(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return sE.set(t, {+ return kE.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus- }), { menuProps: K(s, {+ }), { menuProps: q(s, {onKeyDown: i,onKeyUp: a}, {@@ -26196,15 +26196,15 @@ function Sae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function Cae(e, t, n) {- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), O = e.isSelected ?? C.isSelected(i), k = sE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = Sb(), N = () => {+function eae(e, t, n) {+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), O = e.isSelected ?? C.isSelected(i), k = kE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = Ib(), N = () => {if (!w && (A?.props?.onAction ? A.props.onAction() : e.onAction && e.onAction(i), k.onAction)) {let e = k.onAction;e(i, A?.value);}}, P = "menuitem";w || (C.selectionMode === "single" ? P = "menuitemradio" : C.selectionMode === "multiple" && (P = "menuitemcheckbox"));- let ee = cx(), F = cx(), te = cx(), I = {+ let ee = Cx(), F = Cx(), te = Cx(), I = {id: r,"aria-disabled": E || void 0,role: P,@@ -26221,17 +26221,17 @@ function Cae(e, t, n) {};if (C.selectionMode !== "none" && !w && (I["aria-checked"] = O), s) {let e = Number(A?.index);- I["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, I["aria-setsize"] = Zw(t.collection);+ I["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, I["aria-setsize"] = yT(t.collection);}let ne = (0, D.useRef)(!1), re = (e) => {f?.(e), ne.current = e;}, ie = (0, D.useRef)(null), ae = (e) => {e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ne.current || e.target.click()), u?.(e);}, oe = (e) => {- m?.(e), N(), ure(e, M, A.props.href, A?.props.routerOptions);+ m?.(e), N(), Jne(e, M, A.props.href, A?.props.routerOptions);let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);t = o ?? a ?? t, j && !w && t && j(), ie.current = null;- }, { itemProps: se, isFocused: ce } = eE({+ }, { itemProps: se, isFocused: ce } = SE({id: r,selectionManager: C,key: i,@@ -26240,36 +26240,36 @@ function Cae(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: k.shouldUseVirtualFocus- }), { pressProps: le, isPressed: ue } = PS({+ }), { pressProps: le, isPressed: ue } = BS({onPressStart: l,onPress: d,onPressUp: ae,onPressChange: re,onPressEnd: p,isDisabled: E- }), { hoverProps: de } = uT({+ }), { hoverProps: de } = MT({isDisabled: E,onHoverStart(e) {- !Wb() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !ax() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: fe } = _x({+ }), { keyboardProps: fe } = Mx({shortcuts: {" ": (e) => {ie.current = {pointerType: "keyboard",key: " "- }, G(e).click(), Kb("keyboard");+ }, K(e).click(), sx("keyboard");},Enter: (e) => {ie.current = {pointerType: "keyboard",key: "Enter"};- let t = G(e);- if (t.tagName !== "A") t.click(), Kb("keyboard");- else return Kb("keyboard"), {+ let t = K(e);+ if (t.tagName !== "A") t.click(), sx("keyboard");+ else return sx("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -26277,17 +26277,17 @@ function Cae(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: pe } = xx({+ }), { focusableProps: pe } = Ix({onBlur: S,onFocus: b,onFocusChange: x- }, n), me = yS(A?.props);+ }, n), me = ES(A?.props);delete me.id;- let he = Tb(A?.props);+ let he = Bb(A?.props);return {menuItemProps: {...I,- ...K(me, he, w ? {+ ...q(me, he, w ? {onFocus: se.onFocus,"data-collection": se["data-collection"],"data-key": se["data-key"]@@ -26298,7 +26298,7 @@ function Cae(e, t, n) {descriptionProps: { id: F },keyboardShortcutProps: { id: te },isFocused: ce,- isFocusVisible: ce && C.isFocused && Wb() && !T,+ isFocusVisible: ce && C.isFocused && ax() && !T,isSelected: O,isPressed: ue,isDisabled: E@@ -26306,8 +26306,8 @@ function Cae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function wae(e) {- let { heading: t, "aria-label": n } = e, r = sx();+function tae(e) {+ let { heading: t, "aria-label": n } = e, r = Sx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26323,15 +26323,15 @@ function wae(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function Tae() {+function nae() {return window.ResizeObserver !== void 0;}-function cE(e) {- let { ref: t, box: n, onResize: r } = e, i = Yx(r);+function AE(e) {+ let { ref: t, box: n, onResize: r } = e, i = uS(r);(0, D.useEffect)(() => {let e = t?.current;if (e) {- if (Tae()) {+ if (nae()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -26347,189 +26347,189 @@ function cE(e) {}//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var lE = {};-lE = { dismiss: "تجاهل" };+var jE = {};+jE = { dismiss: "تجاهل" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var uE = {};-uE = { dismiss: "Отхвърляне" };+var ME = {};+ME = { dismiss: "Отхвърляне" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var dE = {};-dE = { dismiss: "Odstranit" };+var NE = {};+NE = { dismiss: "Odstranit" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var fE = {};-fE = { dismiss: "Luk" };+var PE = {};+PE = { dismiss: "Luk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var pE = {};-pE = { dismiss: "Schließen" };+var FE = {};+FE = { dismiss: "Schließen" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var mE = {};-mE = { dismiss: "Απόρριψη" };+var IE = {};+IE = { dismiss: "Απόρριψη" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var hE = {};-hE = { dismiss: "Dismiss" };+var LE = {};+LE = { dismiss: "Dismiss" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var gE = {};-gE = { dismiss: "Descartar" };+var RE = {};+RE = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var _E = {};-_E = { dismiss: "Lõpeta" };+var zE = {};+zE = { dismiss: "Lõpeta" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var vE = {};-vE = { dismiss: "Hylkää" };+var BE = {};+BE = { dismiss: "Hylkää" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var yE = {};-yE = { dismiss: "Rejeter" };+var VE = {};+VE = { dismiss: "Rejeter" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var bE = {};-bE = { dismiss: "התעלם" };+var HE = {};+HE = { dismiss: "התעלם" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var xE = {};-xE = { dismiss: "Odbaci" };+var UE = {};+UE = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var SE = {};-SE = { dismiss: "Elutasítás" };+var WE = {};+WE = { dismiss: "Elutasítás" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var CE = {};-CE = { dismiss: "Ignora" };+var GE = {};+GE = { dismiss: "Ignora" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var wE = {};-wE = { dismiss: "閉じる" };+var KE = {};+KE = { dismiss: "閉じる" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var TE = {};-TE = { dismiss: "무시" };+var qE = {};+qE = { dismiss: "무시" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var EE = {};-EE = { dismiss: "Atmesti" };+var JE = {};+JE = { dismiss: "Atmesti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var DE = {};-DE = { dismiss: "Nerādīt" };+var YE = {};+YE = { dismiss: "Nerādīt" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var OE = {};-OE = { dismiss: "Lukk" };+var XE = {};+XE = { dismiss: "Lukk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var kE = {};-kE = { dismiss: "Negeren" };+var ZE = {};+ZE = { dismiss: "Negeren" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var AE = {};-AE = { dismiss: "Zignoruj" };+var QE = {};+QE = { dismiss: "Zignoruj" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var jE = {};-jE = { dismiss: "Descartar" };+var $E = {};+$E = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var ME = {};-ME = { dismiss: "Dispensar" };+var eD = {};+eD = { dismiss: "Dispensar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var NE = {};-NE = { dismiss: "Revocare" };+var tD = {};+tD = { dismiss: "Revocare" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var PE = {};-PE = { dismiss: "Пропустить" };+var nD = {};+nD = { dismiss: "Пропустить" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var FE = {};-FE = { dismiss: "Zrušiť" };+var rD = {};+rD = { dismiss: "Zrušiť" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var IE = {};-IE = { dismiss: "Opusti" };+var iD = {};+iD = { dismiss: "Opusti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var LE = {};-LE = { dismiss: "Odbaci" };+var aD = {};+aD = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var RE = {};-RE = { dismiss: "Avvisa" };+var oD = {};+oD = { dismiss: "Avvisa" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var zE = {};-zE = { dismiss: "Kapat" };+var sD = {};+sD = { dismiss: "Kapat" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var BE = {};-BE = { dismiss: "Скасувати" };+var cD = {};+cD = { dismiss: "Скасувати" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var VE = {};-VE = { dismiss: "取消" };+var lD = {};+lD = { dismiss: "取消" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var HE = {};-HE = { dismiss: "關閉" };+var uD = {};+uD = { dismiss: "關閉" };//#endregion//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var UE = {};-UE = {- "ar-AE": lE,- "bg-BG": uE,- "cs-CZ": dE,- "da-DK": fE,- "de-DE": pE,- "el-GR": mE,- "en-US": hE,- "es-ES": gE,- "et-EE": _E,- "fi-FI": vE,- "fr-FR": yE,- "he-IL": bE,- "hr-HR": xE,- "hu-HU": SE,- "it-IT": CE,- "ja-JP": wE,- "ko-KR": TE,- "lt-LT": EE,- "lv-LV": DE,- "nb-NO": OE,- "nl-NL": kE,- "pl-PL": AE,- "pt-BR": jE,- "pt-PT": ME,- "ro-RO": NE,- "ru-RU": PE,- "sk-SK": FE,- "sl-SI": IE,- "sr-SP": LE,- "sv-SE": RE,- "tr-TR": zE,- "uk-UA": BE,- "zh-CN": VE,- "zh-TW": HE+var dD = {};+dD = {+ "ar-AE": jE,+ "bg-BG": ME,+ "cs-CZ": NE,+ "da-DK": PE,+ "de-DE": FE,+ "el-GR": IE,+ "en-US": LE,+ "es-ES": RE,+ "et-EE": zE,+ "fi-FI": BE,+ "fr-FR": VE,+ "he-IL": HE,+ "hr-HR": UE,+ "hu-HU": WE,+ "it-IT": GE,+ "ja-JP": KE,+ "ko-KR": qE,+ "lt-LT": JE,+ "lv-LV": YE,+ "nb-NO": XE,+ "nl-NL": ZE,+ "pl-PL": QE,+ "pt-BR": $E,+ "pt-PT": eD,+ "ro-RO": tD,+ "ru-RU": nD,+ "sk-SK": rD,+ "sl-SI": iD,+ "sr-SP": aD,+ "sv-SE": oD,+ "tr-TR": sD,+ "uk-UA": cD,+ "zh-CN": lD,+ "zh-TW": uD};//#endregion//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function Eae(e) {+function rae(e) {return e && e.__esModule ? e.default : e;}-function WE(e) {- let { onDismiss: t, ...n } = e, r = Zx(n, fS(Eae(UE), "@react-aria/overlays").format("dismiss")), i = () => {+function fD(e) {+ let { onDismiss: t, ...n } = e, r = fS(n, wS(rae(dD), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ D.createElement(HC, null, /*#__PURE__*/ D.createElement("button", {+ return /*#__PURE__*/ D.createElement(uw, null, /*#__PURE__*/ D.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -26541,35 +26541,35 @@ function WE(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var GE = [];-function KE(e, t) {+var pD = [];+function mD(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, D.useRef)(void 0);(0, D.useEffect)(() => {- if (i && !GE.includes(t)) return GE.push(t), () => {- let e = GE.indexOf(t);- e >= 0 && GE.splice(e, 1);+ if (i && !pD.includes(t)) return pD.push(t), () => {+ let e = pD.indexOf(t);+ e >= 0 && pD.splice(e, 1);};}, [i, t]);let l = () => {- GE[GE.length - 1] === t && n && n();+ pD[pD.length - 1] === t && n && n();}, u = (e) => {- let n = GE[GE.length - 1];- c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();+ let n = pD[pD.length - 1];+ c.current = n, (!s || s(K(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(G(e))) && (GE[GE.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = _x({ shortcuts: { Escape: () => {+ (!s || s(K(e))) && (pD[pD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = Mx({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- uae({+ Vie({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = jC({+ let { focusWithinProps: p } = QC({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !Sie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !hie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -26582,88 +26582,88 @@ function KE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var Dae = 200, Oae = 50, kae = 600, qE = /* @__PURE__ */ new WeakMap(), JE = /* @__PURE__ */ new Set(), YE = /* @__PURE__ */ new Set();-function Aae(e, t) {- let n = Jx();- if (e !== n || t.aborted) for (let e of YE) e(n), YE.delete(e);- if (!e && n && vb() && !t.aborted) window.clearInterval(qE.get(window)), qE.set(window, XE(Dae));+var iae = 200, aae = 50, oae = 600, hD = /* @__PURE__ */ new WeakMap(), gD = /* @__PURE__ */ new Set(), _D = /* @__PURE__ */ new Set();+function sae(e, t) {+ let n = lS();+ if (e !== n || t.aborted) for (let e of _D) e(n), _D.delete(e);+ if (!e && n && Ab() && !t.aborted) window.clearInterval(hD.get(window)), hD.set(window, vD(iae));else {- if (e !== n || t.aborted) for (let e of JE) e(n), JE.delete(e);- (YE.size + JE.size <= 0 || t.aborted) && (window.clearInterval(qE.get(window)), qE.delete(window));+ if (e !== n || t.aborted) for (let e of gD) e(n), gD.delete(e);+ (_D.size + gD.size <= 0 || t.aborted) && (window.clearInterval(hD.get(window)), hD.delete(window));}}-function XE(e = kae) {- return window.setInterval(Aae, Oae, Jx(), AbortSignal.timeout(e));+function vD(e = oae) {+ return window.setInterval(sae, aae, lS(), AbortSignal.timeout(e));}-function ZE(e) {- if (!Gx()) return e(!1), () => {};+function yD(e) {+ if (!oS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Kx(document.hasFocus() ? $y() : null);- if (Jx() === t || Jx() && !t) return e(t);- YE.add(e), qE.has(window) || qE.set(window, XE());+ let t = sS(document.hasFocus() ? rb() : null);+ if (lS() === t || lS() && !t) return e(t);+ _D.add(e), hD.has(window) || hD.set(window, vD());});});return () => {- window.cancelAnimationFrame(t), YE.delete(e);+ window.cancelAnimationFrame(t), _D.delete(e);};}-function QE(e) {- if (!Gx()) return e(!1), () => {};+function cae(e) {+ if (!oS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Kx(document.hasFocus() ? $y() : null);- if (Jx() === t) return e(t);- JE.add(e), qE.has(window) || qE.set(window, XE());+ let t = sS(document.hasFocus() ? rb() : null);+ if (lS() === t) return e(t);+ gD.add(e), hD.has(window) || hD.set(window, vD());});});return () => {- window.cancelAnimationFrame(t), JE.delete(e);+ window.cancelAnimationFrame(t), gD.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var $E = typeof document < "u" && window.visualViewport, eD = 0, tD;-function nD(e = {}) {+var bD = typeof document < "u" && window.visualViewport, xD = 0, SD;+function CD(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- sb(() => {- if (!t) return eD++, eD === 1 && (tD = _b() && vb() ? iD() : rD(n)), () => {- eD--, eD === 0 && tD();+ gb(() => {+ if (!t) return xD++, xD === 1 && (SD = Ob() && Ab() ? uae() : lae(n)), () => {+ xD--, xD === 0 && SD();};}, [t, n]);}-function rD(e) {+function lae(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return rx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Xy(document.documentElement, "scrollbar-gutter", "stable") : Xy(document.documentElement, "padding-right", `${t}px`)), Xy(document.documentElement, "overflow", "hidden"), e && oD(), e && Gx() && aD());+ return vx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? eb(document.documentElement, "scrollbar-gutter", "stable") : eb(document.documentElement, "padding-right", `${t}px`)), eb(document.documentElement, "overflow", "hidden"), e && TD(), e && oS() && wD());}-function iD() {- let e = Xy(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {- let r = G(e);- t = lC(r, !0) ? r : uC(r, !0), n = !1;+function uae() {+ let e = eb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+ let r = K(e);+ t = bC(r, !0) ? r : xC(r, !0), n = !1;let i = r.ownerDocument.defaultView.getSelection();i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);- }, i = document.createElement("style"), a = ES();+ }, i = document.createElement("style"), a = NS();a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);let o = (e) => {e.touches.length === 2 || n || (!t || t === document.documentElement || t === document.body || t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth) && e.preventDefault();- }, s = oD(), c = rx(Yy(document, "touchstart", r, {+ }, s = TD(), c = vx($y(document, "touchstart", r, {passive: !1,capture: !0- }), Yy(document, "touchmove", o, {+ }), $y(document, "touchmove", o, {passive: !1,capture: !0- }), aD());+ }), wD());return () => {e(), c(), i.remove(), s();};}-function aD() {- return Yy(document, "blur", (e) => {- let t = G(e), n = e.relatedTarget;- n && Kx(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+function wD() {+ return $y(document, "blur", (e) => {+ let t = K(e), n = e.relatedTarget;+ n && sS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function oD() {+function TD() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -26674,9 +26674,9 @@ function oD() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- $y() === this && sD(this);+ rb() === this && dae(this);};- ZE((t) => t ? e() : QE(() => e()));+ yD((t) => t ? e() : cae(() => e()));}}}), () => {@@ -26687,15 +26687,15 @@ function oD() {});};}-function sD(e) {+function dae(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = uC(n);+ let e = xC(n);if (e !== document.documentElement && e !== document.body && e !== n) {let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();if (r.top < t.top || r.bottom > t.top + n.clientHeight) {let n = t.bottom;- $E && (n = Math.min(n, $E.offsetTop + $E.height));+ bD && (n = Math.min(n, bD.offsetTop + bD.height));let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);e.scrollTo({top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),@@ -26708,57 +26708,57 @@ function sD(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function cD(e, t, n) {- let { overlayProps: r, underlayProps: i } = KE({+function fae(e, t, n) {+ let { overlayProps: r, underlayProps: i } = mD({...e,isOpen: t.isOpen,onClose: t.close}, n);- nD({+ CD({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), aT();+ }), DT();let { isEntering: a } = e;return (0, D.useEffect)(() => {- if (t.isOpen && n.current) return a ? YC(n.current) : JC([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? _w(n.current) : gw([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,n]), {- modalProps: K(r),+ modalProps: q(r),underlayProps: i};}//#endregion//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var lD = {+var ED = {top: "top",bottom: "top",left: "left",right: "left"-}, uD = {+}, DD = {top: "bottom",bottom: "top",left: "right",right: "left"-}, dD = {+}, pae = {top: "left",left: "top"-}, fD = {+}, OD = {top: "height",left: "width"-}, pD = {+}, kD = {width: "totalWidth",height: "totalHeight"-}, mD = {}, hD = () => typeof document < "u" ? window.visualViewport : null;-function gD(e, t) {+}, AD = {}, mae = () => typeof document < "u" ? window.visualViewport : null;+function jD(e, t) {let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;if (e.tagName === "BODY" || e.tagName === "HTML") {let l = document.documentElement;i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));- } else ({width: n, height: r, top: o, left: s} = DD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return vb() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {+ } else ({width: n, height: r, top: o, left: s} = LD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return Ab() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {width: n,height: r,totalWidth: i,@@ -26768,7 +26768,7 @@ function gD(e, t) {left: s};}-function _D(e) {+function hae(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -26776,11 +26776,11 @@ function _D(e) {height: e.scrollHeight};}-function vD(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[fD[e]], l = o[e] + r.scroll[lD[e]] + a, u = o[e] + r.scroll[lD[e]] + c - a, d = t - s + r.scroll[lD[e]] + o[e] - r[lD[e]], f = t - s + n + r.scroll[lD[e]] + o[e] - r[lD[e]];+function MD(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[OD[e]], l = o[e] + r.scroll[ED[e]] + a, u = o[e] + r.scroll[ED[e]] + c - a, d = t - s + r.scroll[ED[e]] + o[e] - r[ED[e]], f = t - s + n + r.scroll[ED[e]] + o[e] - r[ED[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function yD(e) {+function gae(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -26789,55 +26789,55 @@ function yD(e) {right: parseInt(t.marginRight, 10) || 0};}-function bD(e) {- if (mD[e]) return mD[e];- let [t, n] = e.split(" "), r = lD[t] || "right", i = dD[r];- lD[n] || (n = "center");- let a = fD[r], o = fD[i];- return mD[e] = {+function ND(e) {+ if (AD[e]) return AD[e];+ let [t, n] = e.split(" "), r = ED[t] || "right", i = pae[r];+ ED[n] || (n = "center");+ let a = OD[r], o = OD[i];+ return AD[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, mD[e];+ }, AD[e];}-function xD(e, t, n, r, i, a, o, s, c, l, u) {+function PD(e, t, n, r, i, a, o, s, c, l, u) {let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;- if (_[m] = PC(_[m], v, y), d === p) {- let t = s ? u[h] : u[pD[h]];- _[uD[p]] = Math.floor(t - e[p] + i);+ if (_[m] = nw(_[m], v, y), d === p) {+ let t = s ? u[h] : u[kD[h]];+ _[DD[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function SD(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[pD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function _ae(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[kD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))};return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));}-function CD(e, t, n, r, i, a, o, s) {+function FD(e, t, n, r, i, a, o, s) {let { placement: c, axis: l, size: u } = a;- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[uD[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[uD[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[DD[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[DD[l]] - i);}-function wD(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = bD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = xD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = CD(s, l, t, i, a + u, v, c, g);+function vae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = ND(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = PD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = FD(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = bD(`${uD[S]} ${C}`), r = xD(t, s, n, e, u, d, l, f, m, h, c);- CD(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = ND(`${DD[S]} ${C}`), r = PD(t, s, n, e, u, d, l, f, m, h, c);+ FD(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);}let D = "bottom";v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));- let O = vD(b, w[b], n[x], s, c, a, l);+ let O = MD(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = SD(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = xD(t, s, n, v, T, d, l, f, m, h, c), O = vD(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[lD[b]], M = j + .5 * t[x], N = m / 2 + h, P = lD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;- A[b] = PC(PC(M, t[b] + m / 2 - (w[b] + i[lD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[lD[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let k = _ae(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = PD(t, s, n, v, T, d, l, f, m, h, c), O = MD(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[ED[b]], M = j + .5 * t[x], N = m / 2 + h, P = ED[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;+ A[b] = nw(nw(M, t[b] + m / 2 - (w[b] + i[ED[b]]), t[b] + t[x] - m / 2 - (w[b] + i[ED[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);let F = S === "left" || S === "top" ? n[y] : 0, te = {x: S === "top" || S === "bottom" ? j : F,y: S === "left" || S === "right" ? j : F@@ -26851,17 +26851,17 @@ function wD(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: te};}-function TD(e) {- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = hD(), h = r instanceof HTMLElement ? kD(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? DD(n, !1, p) : OD(n, h, !1, p);+function yae(e) {+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = mae(), h = r instanceof HTMLElement ? bae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? LD(n, !1, p) : RD(n, h, !1, p);if (!g) {let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;}- let b = DD(r, !0), x = yD(r);+ let b = LD(r, !0), x = gae(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = _D(i), C = gD(s, m), w = gD(h, m), T;+ let S = hae(i), C = jD(s, m), w = jD(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = ED(h, !1);+ let e = ID(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -26873,11 +26873,11 @@ function TD(e) {left: 0,width: 0,height: 0- } : OD(s, h, !1);- let E = Qy(s, h);- return wD(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : RD(s, h, !1);+ let E = nb(s, h);+ return vae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function ED(e, t) {+function ID(e, t) {let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {top: n,@@ -26886,8 +26886,8 @@ function ED(e, t) {height: a};}-function DD(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || ED(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function LD(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || ID(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -26895,30 +26895,30 @@ function DD(e, t, n) {height: o};}-function OD(e, t, n, r) {+function RD(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || ED(e, n);+ if (i.position === "fixed") a = r || ID(e, n);else {- a = DD(e, n, r);- let i = DD(t, n), o = window.getComputedStyle(t);+ a = LD(e, n, r);+ let i = LD(t, n), o = window.getComputedStyle(t);i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;}return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;}-function kD(e) {+function bae(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !AD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !AD(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !zD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !zD(t);) t = t.parentElement;return t || document.documentElement;}-function AD(e) {+function zD(e) {let t = window.getComputedStyle(e);return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs-var jD = typeof document < "u" ? window.visualViewport : null;-function MD(e) {- let { direction: t } = rS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, D.useState)(null), x = [+var BD = typeof document < "u" ? window.visualViewport : null;+function xae(e) {+ let { direction: t } = vS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, D.useState)(null), x = [p,s,i.current,@@ -26935,15 +26935,15 @@ function MD(e) {g,_,n- ], S = (0, D.useRef)(jD?.scale);+ ], S = (0, D.useRef)(BD?.scale);(0, D.useEffect)(() => {- m && (S.current = jD?.scale);+ m && (S.current = BD?.scale);}, [m]);let C = (0, D.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || jD?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || BD?.scale !== S.current) return;let e = null;- if (o.current && tb(o.current)) {- let t = $y()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && ab(o.current)) {+ let t = rb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -26951,8 +26951,8 @@ function MD(e) {}let h = i.current;!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");- let y = TD({- placement: PD(s, t),+ let y = yae({+ placement: Cae(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -26962,28 +26962,28 @@ function MD(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? ED(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? ID(a.current, !0).width : 0),arrowBoundaryOffset: _,targetRect: v?.(r.current)});if (!y.position) return;h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";- let x = $y();+ let x = rb();if (e && x && o.current) {let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];o.current.scrollTop += r - e.offset;}b(y);}, x);- sb(C, x), ND(C), cE({+ gb(C, x), Sae(C), AE({ref: i,onResize: C- }), cE({+ }), AE({ref: r,onResize: C});let w = (0, D.useRef)(!1);- sb(() => {+ gb(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -26991,16 +26991,16 @@ function MD(e) {}, n = () => {w.current && t();};- jD?.addEventListener("resize", t), jD?.addEventListener("scroll", n);- let r = Yy(eb(window), "scroll", n);+ BD?.addEventListener("resize", t), BD?.addEventListener("scroll", n);+ let r = $y(ib(window), "scroll", n);return () => {- jD?.removeEventListener("resize", t), jD?.removeEventListener("scroll", n), r();+ BD?.removeEventListener("resize", t), BD?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, D.useCallback)(() => {w.current || h?.();}, [h, w]);- return eae({+ return jie({triggerRef: r,isOpen: m,onClose: h && T@@ -27026,25 +27026,25 @@ function MD(e) {updatePosition: C};}-function ND(e) {- sb(() => (window.addEventListener("resize", e, !1), () => {+function Sae(e) {+ gb(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function PD(e, t) {+function Cae(e, t) {return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs-function FD(e, t) {- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = KE({+function wae(e, t) {+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = mD({isOpen: t.isOpen,onClose: t.close,shouldCloseOnBlur: !0,isDismissable: !a || l,isKeyboardDismissDisabled: o,shouldCloseOnInteractOutside: s- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = MD({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = xae({...c,targetRef: n,overlayRef: r,@@ -27052,17 +27052,17 @@ function FD(e, t) {onClose: a && !l ? t.close : null,getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)});- nD({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {- if (t.isOpen && r.current) return a ? YC(i?.current ?? r.current) : JC([i?.current ?? r.current], { shouldUseInert: !0 });+ CD({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {+ if (t.isOpen && r.current) return a ? _w(i?.current ?? r.current) : gw([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = jC(e);+ let { focusWithinProps: g } = QC(e);return {- popoverProps: K(u, f, g),+ popoverProps: q(u, f, g),arrowProps: p,underlayProps: d,placement: m,@@ -27071,13 +27071,13 @@ function FD(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/radio/utils.mjs-var ID = /* @__PURE__ */ new WeakMap();+var VD = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/radio/useRadio.mjs-function LD(e, t, n) {+function Tae(e, t, n) {let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {e.stopPropagation(), t.setSelectedValue(r);- }, { pressProps: g, isPressed: _ } = PS({+ }, { pressProps: g, isPressed: _ } = BS({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27085,7 +27085,7 @@ function LD(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = PS({+ }), { pressProps: v, isPressed: y } = BS({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27095,17 +27095,17 @@ function LD(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = xx(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = yS(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = Ix(q(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = q(g, b), S = ES(e, { labelable: !0 }), C = -1;t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);- let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = ID.get(t);- gC(n, t.defaultSelectedValue, t.setSelectedValue), _C({ validationBehavior: k }, t, n);- let A = vC();+ let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = VD.get(t);+ kC(n, t.defaultSelectedValue, t.setSelectedValue), AC({ validationBehavior: k }, t, n);+ let A = FC();return {- labelProps: K(v, (0, D.useMemo)(() => ({+ labelProps: q(v, (0, D.useMemo)(() => ({onClick: (e) => e.preventDefault(),onMouseDown: (e) => e.preventDefault()}), [])),- inputProps: K(S, {+ inputProps: q(S, {...x,type: "radio",name: w,@@ -27131,13 +27131,13 @@ function LD(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function RD(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = rS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = AC({+function Eae(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = vS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = ZC({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = yS(e, { labelable: !0 }), { focusWithinProps: v } = jC({+ }), _ = ES(e, { labelable: !0 }), { focusWithinProps: v } = QC({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -27145,13 +27145,13 @@ function RD(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = nC(n.currentTarget, {- from: G(n),- accept: (e) => e instanceof Ky(e).HTMLInputElement && e.type === "radio"+ let r = dC(n.currentTarget, {+ from: K(n),+ accept: (e) => e instanceof Xy(e).HTMLInputElement && e.type === "radio"}), i;return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;}- let { keyboardProps: b } = _x({+ let { keyboardProps: b } = Mx({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -27159,15 +27159,15 @@ function RD(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = sx(n);- return ID.set(t, {+ }), x = Sx(n);+ return VD.set(t, {name: x,form: r,descriptionId: h.id,errorMessageId: g.id,validationBehavior: c}), {- radioGroupProps: K(_, {+ radioGroupProps: q(_, {role: "radiogroup",...b,"aria-invalid": t.isInvalid || void 0,@@ -27189,21 +27189,21 @@ function RD(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/select/useSelect.mjs-var zD = /* @__PURE__ */ new WeakMap();-function BD(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = $w({+var HD = /* @__PURE__ */ new WeakMap();+function Dae(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = xT({usage: "search",sensitivity: "base"- }), u = (0, D.useMemo)(() => r || new tw(t.collection, t.disabledKeys, n, l), [+ }), u = (0, D.useMemo)(() => r || new Cw(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = zw({+ ]), { menuTriggerProps: d, menuProps: f } = sT({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = _x({+ }, t, n), { keyboardProps: p } = Mx({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -27219,21 +27219,21 @@ function BD(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = Vw({+ }), { typeSelectProps: m } = lT({keyboardDelegate: u,selectionManager: t.selectionManager,onTypeSelect(e) {t.setSelectedKey(e);}- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = AC({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = ZC({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = yS(e, { labelable: !0 }), C = K(m, d, y), w = sx();- return zD.set(t, {+ let S = ES(e, { labelable: !0 }), C = q(m, d, y), w = Sx();+ return HD.set(t, {isDisabled: i,isRequired: a,name: o,@@ -27243,13 +27243,13 @@ function BD(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), Kb("keyboard"));+ e.isDisabled || (n.current?.focus(), sx("keyboard"));}},- triggerProps: K(S, {+ triggerProps: q(S, {...C,isDisabled: i,- onKeyDown: rx(C.onKeyDown, p.onKeyDown),+ onKeyDown: vx(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -27273,7 +27273,7 @@ function BD(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- Qy(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ nb(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));},"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")},@@ -27294,18 +27294,18 @@ function BD(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function VD(e, t, n) {- let r = zD.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = VC({ style: {+function Oae(e, t, n) {+ let r = HD.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = lw({ style: {position: "fixed",top: 0,left: 0} });- gC(e.selectRef, t.defaultValue, t.setValue), _C({+ kC(e.selectRef, t.defaultValue, t.setValue), AC({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);let d = t.setValue, f = (0, D.useCallback)((e) => {- let t = G(e);+ let t = K(e);t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);}, [d]);return {@@ -27330,8 +27330,8 @@ function VD(e, t, n) {}};}-function HD(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = VD({+function kae(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = Oae({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -27355,7 +27355,7 @@ function HD(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = zD.get(t) || {};+ let { validationBehavior: e } = HD.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -27386,8 +27386,8 @@ function HD(e) {}//#endregion//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs-function UD(e) {- let t = yS(e, { labelable: !0 }), n;+function Aae(e) {+ let t = ES(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -27396,8 +27396,8 @@ function UD(e) {}//#endregion//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs-function WD(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = DC(e, t, n);+function jae(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = qC(e, t, n);return {labelProps: r,inputProps: {@@ -27411,10 +27411,10 @@ function WD(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var GD = class {+var UD = class {constructor(e) {if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");- this.layoutDelegate = e.layoutDelegate || (e.layout ? new KD(e.layout) : new ew(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Mae(e.layout) : new Sw(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -27450,7 +27450,7 @@ var GD = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of Ww(n, this.collection)) {+ for (let e of fT(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -27484,13 +27484,13 @@ var GD = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = Ww(t, this.collection);- return (this.direction === "rtl" ? qw(e)?.key : Gw(e)?.key) ?? null;+ let e = fT(t, this.collection);+ return (this.direction === "rtl" ? hT(e)?.key : pT(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = Ww(n, this.collection), i = (this.direction === "rtl" ? Kw(r, t.index - 1) : Kw(r, t.index + 1)) ?? null;+ let r = fT(n, this.collection), i = (this.direction === "rtl" ? mT(r, t.index - 1) : mT(r, t.index + 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;}return null;@@ -27499,13 +27499,13 @@ var GD = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = Ww(t, this.collection);- return (this.direction === "rtl" ? Gw(e)?.key : qw(e)?.key) ?? null;+ let e = fT(t, this.collection);+ return (this.direction === "rtl" ? pT(e)?.key : hT(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = Ww(n, this.collection), i = (this.direction === "rtl" ? Kw(r, t.index + 1) : Kw(r, t.index - 1)) ?? null;+ let r = fT(n, this.collection), i = (this.direction === "rtl" ? mT(r, t.index + 1) : mT(r, t.index - 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;}return null;@@ -27516,13 +27516,13 @@ var GD = class {if (r = this.collection.getItem(n), !r) return null;if (this.isCell(r) && !t && r.parentKey != null) {let e = this.collection.getItem(r.parentKey);- return e ? Gw(Ww(e, this.collection))?.key ?? null : null;+ return e ? pT(fT(e, this.collection))?.key ?? null : null;}}if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = Gw(Ww(e, this.collection))?.key ?? null;+ n = pT(fT(e, this.collection))?.key ?? null;}return n;}@@ -27532,13 +27532,13 @@ var GD = class {if (r = this.collection.getItem(n), !r) return null;if (this.isCell(r) && !t && r.parentKey != null) {let e = this.collection.getItem(r.parentKey);- return e ? qw(Ww(e, this.collection))?.key ?? null : null;+ return e ? hT(fT(e, this.collection))?.key ?? null : null;}}if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = qw(Ww(e, this.collection))?.key ?? null;+ n = hT(fT(e, this.collection))?.key ?? null;}return n;}@@ -27574,13 +27574,13 @@ var GD = class {if (!t) return null;if (t.textValue) {let n = t.textValue.slice(0, e.length);- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Gw(Ww(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? pT(fT(t, this.collection))?.key ?? null : t.key;}n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);}return null;}-}, KD = class {+}, Mae = class {constructor(e) {this.layout = e;}@@ -27593,16 +27593,16 @@ var GD = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, qD = /* @__PURE__ */ new WeakMap();+}, WD = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/grid/useGrid.mjs-function JD(e, t, n) {+function Nae(e, t, n) {let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");- let h = $w({+ let h = xT({usage: "search",sensitivity: "base"- }), { direction: g } = rS(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new GD({+ }), { direction: g } = vS(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new UD({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -27619,7 +27619,7 @@ function JD(e, t, n) {g,h,o- ]), { collectionProps: y } = Uw({+ ]), { collectionProps: y } = dT({ref: n,selectionManager: m,keyboardDelegate: v,@@ -27627,8 +27627,8 @@ function JD(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = sx(e.id);- qD.set(t, {+ }), b = Sx(e.id);+ WD.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -27637,44 +27637,44 @@ function JD(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = QT({+ let x = bE({selectionManager: m,hasItemActions: !!(l || u)- }), S = yS(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {- m.isFocused ? Qy(e.currentTarget, G(e)) || m.setFocused(!1) : Qy(e.currentTarget, G(e)) && m.setFocused(!0);+ }), S = ES(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {+ m.isFocused ? nb(e.currentTarget, K(e)) || m.setFocused(!1) : nb(e.currentTarget, K(e)) && m.setFocused(!0);}, [m]), w = (0, D.useMemo)(() => ({onBlur: y.onBlur,onFocus: C- }), [C, y.onBlur]), T = ZT(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {+ }), [C, y.onBlur]), T = yE(n, { isDisabled: t.collection.size !== 0 }), E = q(S, {role: "grid",id: b,"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), YT({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), _E({ getRowText: c }, t), { gridProps: E };}//#endregion//#region node_modules/react-aria/dist/private/table/utils.mjs-var YD = /* @__PURE__ */ new WeakMap();-function XD(e) {+var GD = /* @__PURE__ */ new WeakMap();+function KD(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function ZD(e, t) {- let n = YD.get(e);+function qD(e, t) {+ let n = GD.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${XD(t)}`;+ return `${n}-${KD(t)}`;}-function QD(e, t, n) {- let r = YD.get(e);+function JD(e, t, n) {+ let r = GD.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${XD(t)}-${XD(n)}`;+ return `${r}-${KD(t)}-${KD(n)}`;}-function $D(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => QD(e, t, n)).join(" ");+function YD(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => JD(e, t, n)).join(" ");}//#endregion//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var eO = {};-eO = {+var XD = {};+XD = {ascending: "تصاعدي",ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,collapse: "طي",@@ -27689,8 +27689,8 @@ eO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var tO = {};-tO = {+var ZD = {};+ZD = {ascending: "възходящ",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,collapse: "Свиване",@@ -27705,8 +27705,8 @@ tO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var nO = {};-nO = {+var QD = {};+QD = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -27721,8 +27721,8 @@ nO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var rO = {};-rO = {+var $D = {};+$D = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -27737,8 +27737,8 @@ rO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var iO = {};-iO = {+var eO = {};+eO = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -27753,8 +27753,8 @@ iO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var aO = {};-aO = {+var tO = {};+tO = {ascending: "αύξουσα",ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,collapse: "Σύμπτυξη",@@ -27769,8 +27769,8 @@ aO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs-var oO = {};-oO = {+var nO = {};+nO = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -27785,8 +27785,8 @@ oO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var sO = {};-sO = {+var rO = {};+rO = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -27801,8 +27801,8 @@ sO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var cO = {};-cO = {+var iO = {};+iO = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -27817,8 +27817,8 @@ cO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var lO = {};-lO = {+var aO = {};+aO = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -27833,8 +27833,8 @@ lO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var uO = {};-uO = {+var oO = {};+oO = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -27849,8 +27849,8 @@ uO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var dO = {};-dO = {+var sO = {};+sO = {ascending: "עולה",ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,collapse: "כווץ",@@ -27865,8 +27865,8 @@ dO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var fO = {};-fO = {+var cO = {};+cO = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -27881,8 +27881,8 @@ fO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var pO = {};-pO = {+var lO = {};+lO = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -27897,8 +27897,8 @@ pO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var mO = {};-mO = {+var uO = {};+uO = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -27913,8 +27913,8 @@ mO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var hO = {};-hO = {+var dO = {};+dO = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -27929,8 +27929,8 @@ hO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var gO = {};-gO = {+var fO = {};+fO = {ascending: "오름차순",ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,collapse: "접기",@@ -27945,8 +27945,8 @@ gO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var _O = {};-_O = {+var pO = {};+pO = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -27961,8 +27961,8 @@ _O = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var vO = {};-vO = {+var mO = {};+mO = {ascending: "augošā secībā",ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,collapse: "Sakļaut",@@ -27977,8 +27977,8 @@ vO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var yO = {};-yO = {+var hO = {};+hO = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -27993,8 +27993,8 @@ yO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var bO = {};-bO = {+var gO = {};+gO = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -28009,8 +28009,8 @@ bO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var xO = {};-xO = {+var _O = {};+_O = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -28025,8 +28025,8 @@ xO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var SO = {};-SO = {+var vO = {};+vO = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -28041,8 +28041,8 @@ SO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var CO = {};-CO = {+var yO = {};+yO = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -28057,8 +28057,8 @@ CO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var wO = {};-wO = {+var bO = {};+bO = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -28073,8 +28073,8 @@ wO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var TO = {};-TO = {+var xO = {};+xO = {ascending: "возрастание",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,collapse: "Свернуть",@@ -28089,8 +28089,8 @@ TO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var EO = {};-EO = {+var SO = {};+SO = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -28105,8 +28105,8 @@ EO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var DO = {};-DO = {+var CO = {};+CO = {ascending: "naraščajoče",ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,collapse: "Strni",@@ -28121,8 +28121,8 @@ DO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var OO = {};-OO = {+var wO = {};+wO = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -28137,8 +28137,8 @@ OO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var kO = {};-kO = {+var TO = {};+TO = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -28153,8 +28153,8 @@ kO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var AO = {};-AO = {+var EO = {};+EO = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -28169,8 +28169,8 @@ AO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var jO = {};-jO = {+var DO = {};+DO = {ascending: "висхідний",ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,collapse: "Згорнути",@@ -28185,8 +28185,8 @@ jO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var MO = {};-MO = {+var OO = {};+OO = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -28201,8 +28201,8 @@ MO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var NO = {};-NO = {+var kO = {};+kO = {ascending: "遞增",ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,collapse: "收合",@@ -28217,46 +28217,46 @@ NO = {};//#endregion//#region node_modules/react-aria/dist/private/table/intlStrings.mjs-var PO = {};-PO = {- "ar-AE": eO,- "bg-BG": tO,- "cs-CZ": nO,- "da-DK": rO,- "de-DE": iO,- "el-GR": aO,- "en-US": oO,- "es-ES": sO,- "et-EE": cO,- "fi-FI": lO,- "fr-FR": uO,- "he-IL": dO,- "hr-HR": fO,- "hu-HU": pO,- "it-IT": mO,- "ja-JP": hO,- "ko-KR": gO,- "lt-LT": _O,- "lv-LV": vO,- "nb-NO": yO,- "nl-NL": bO,- "pl-PL": xO,- "pt-BR": SO,- "pt-PT": CO,- "ro-RO": wO,- "ru-RU": TO,- "sk-SK": EO,- "sl-SI": DO,- "sr-SP": OO,- "sv-SE": kO,- "tr-TR": AO,- "uk-UA": jO,- "zh-CN": MO,- "zh-TW": NO+var AO = {};+AO = {+ "ar-AE": XD,+ "bg-BG": ZD,+ "cs-CZ": QD,+ "da-DK": $D,+ "de-DE": eO,+ "el-GR": tO,+ "en-US": nO,+ "es-ES": rO,+ "et-EE": iO,+ "fi-FI": aO,+ "fr-FR": oO,+ "he-IL": sO,+ "hr-HR": cO,+ "hu-HU": lO,+ "it-IT": uO,+ "ja-JP": dO,+ "ko-KR": fO,+ "lt-LT": pO,+ "lv-LV": mO,+ "nb-NO": hO,+ "nl-NL": gO,+ "pl-PL": _O,+ "pt-BR": vO,+ "pt-PT": yO,+ "ro-RO": bO,+ "ru-RU": xO,+ "sk-SK": SO,+ "sl-SI": CO,+ "sr-SP": wO,+ "sv-SE": TO,+ "tr-TR": EO,+ "uk-UA": DO,+ "zh-CN": OO,+ "zh-TW": kO};//#endregion//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var jae = class extends GD {+var Pae = class extends UD {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -28264,7 +28264,7 @@ var jae = class extends GD {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = Gw(Ww(n, this.collection));+ let e = pT(fT(n, this.collection));if (e) return e.key;let t = this.getFirstKey();return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);@@ -28285,13 +28285,13 @@ var jae = class extends GD {let t = this.findNextKey(e.key, (e) => e.type === "column");if (t != null) return t;let n = this.collection.headerRows[e.level];- for (let e of Ww(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of fT(n, this.collection)) if (e.type === "column") return e.key;return null;}findPreviousColumnKey(e) {let t = this.findPreviousKey(e.key, (e) => e.type === "column");if (t != null) return t;- let n = this.collection.headerRows[e.level], r = [...Ww(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...fT(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -28320,7 +28320,7 @@ var jae = class extends GD {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of Ww(o, this.collection)) {+ for (let r of fT(o, this.collection)) {let a = n.columns[r.index];if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {let a = r.textValue.slice(0, e.length);@@ -28334,14 +28334,14 @@ var jae = class extends GD {};//#endregion//#region node_modules/react-aria/dist/private/table/useTable.mjs-function Mae(e) {+function Fae(e) {return e && e.__esModule ? e.default : e;}-function Nae(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = $w({+function Iae(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = xT({usage: "search",sensitivity: "base"- }), { direction: c } = rS(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new jae({+ }), { direction: c } = vS(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new Pae({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -28360,52 +28360,52 @@ function Nae(e, t, n) {s,a,o- ]), d = sx(e.id);- YD.set(t, d);- let { gridProps: f } = JD({+ ]), d = Sx(e.id);+ GD.set(t, d);+ let { gridProps: f } = Nae({...e,id: d,keyboardDelegate: u}, t, n);i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");- let { column: p, direction: m } = t.sortDescriptor || {}, h = fS(Mae(PO), "@react-aria/table"), g = (0, D.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = wS(Fae(AO), "@react-aria/table"), g = (0, D.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [m,p,t.collection.columns- ]), _ = hC(g);- return cC(() => {- g && sC(g, "assertive", 500);- }, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };+ ]), _ = OC(g);+ return yC(() => {+ g && _C(g, "assertive", 500);+ }, [g]), { gridProps: q(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs-function FO(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = rS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = qD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {+function jO(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = vS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = WD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {if (n.current) {- let e = nC(n.current);+ let e = dC(n.current);if (p === "child") {- let i = $y(Gy(n.current));- if (tb(n.current) && n.current !== i) return;- let a = Gy(n.current);+ let i = rb(Yy(n.current));+ if (ab(n.current) && n.current !== i) return;+ let a = Yy(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && Qy(n.current, e)) {- nx(e);+ if (e && m.current === r.key && nb(n.current, e)) {+ _x(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? IO(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? MO(e) : e.firstChild();if (o) {- nx(o);+ _x(o);return;}}- (m.current != null && r.key !== m.current || !tb(n.current)) && nx(n.current);+ (m.current != null && r.key !== m.current || !ab(n.current)) && _x(n.current);}- }, { itemProps: _, isPressed: v } = eE({+ }, { itemProps: _, isPressed: v } = SE({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -28414,47 +28414,47 @@ function FO(e, t, n) {shouldSelectOnPressUp: s,onAction: d ? () => d(r.key) : c,isDisabled: t.collection.size === 0- }), y = K(_, {+ }), y = q(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = $y(Gy(n.current));- if (!Qy(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = nC(n.current);+ let i = rb(Yy(n.current));+ if (!nb(e.currentTarget, K(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = dC(n.current);switch (a.currentNode = i, e.key) {case "ArrowLeft": {let t = l === "rtl" ? a.nextNode() : a.previousNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) nx(t), pC(t, { containingElement: uC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) _x(t), TC(t, { containingElement: xC(n.current) });else {if (u.getKeyLeftOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "rtl" ? (nx(n.current), pC(n.current, { containingElement: uC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : IO(a), t && (nx(t), pC(t, { containingElement: uC(n.current) })));+ p === "cell" && l === "rtl" ? (_x(n.current), TC(n.current, { containingElement: xC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : MO(a), t && (_x(t), TC(t, { containingElement: xC(n.current) })));}break;}case "ArrowRight": {let t = l === "rtl" ? a.previousNode() : a.nextNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) nx(t), pC(t, { containingElement: uC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) _x(t), TC(t, { containingElement: xC(n.current) });else {if (u.getKeyRightOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "ltr" ? (nx(n.current), pC(n.current, { containingElement: uC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? IO(a) : a.firstChild(), t && (nx(t), pC(t, { containingElement: uC(n.current) })));+ p === "cell" && l === "ltr" ? (_x(n.current), TC(n.current, { containingElement: xC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? MO(a) : a.firstChild(), t && (_x(t), TC(t, { containingElement: xC(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && Qy(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && nb(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}} : void 0,onKeyDown: f === "tab" ? (e) => {- let r = $y(Gy(n.current));- if (Qy(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {- if (f === "tab" && G(e) !== n.current && e.key !== "Tab") e.stopPropagation();+ let r = rb(Yy(n.current));+ if (nb(e.currentTarget, K(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ if (f === "tab" && K(e) !== n.current && e.key !== "Tab") e.stopPropagation();else if (e.key === "Tab" && f === "tab") {- let t = nC(n.current, { tabbable: !0 });+ let t = dC(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -28463,11 +28463,11 @@ function FO(e, t, n) {"aria-colindex": r.colIndex == null ? void 0 : r.colIndex + 1,colSpan: i ? void 0 : r.colSpan,onFocus: (e) => {- if (m.current = r.key, G(e) !== n.current) {- let i = G(e);- n.current && Qy(n.current, i) && (h.current = i), Wb() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && Qy(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && $y(Gy(n.current)) === n.current && g();+ if (m.current = r.key, K(e) !== n.current) {+ let i = K(e);+ n.current && nb(n.current, i) && (h.current = i), ax() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && nb(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && rb(Yy(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -28482,7 +28482,7 @@ function FO(e, t, n) {isPressed: v};}-function IO(e) {+function MO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -28491,33 +28491,33 @@ function IO(e) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableCell.mjs-function Pae(e, t, n) {- let { gridCellProps: r, isPressed: i } = FO(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = QD(t, e.node.parentKey, a)), {+function Lae(e, t, n) {+ let { gridCellProps: r, isPressed: i } = jO(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = JD(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function Fae(e) {+function Rae(e) {return e && e.__esModule ? e.default : e;}-function Iae(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = FO({+function zae(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = jO({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = PS({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = BS({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = xx({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !bb() && (u = d ? f : "none");- let p = fS(Fae(PO), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && bb() && (m = `${m}, ${p.format(f)}`));- let h = hC(m), g = t.collection.size === 0;+ }), { focusableProps: l } = Ix({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !Mb() && (u = d ? f : "none");+ let p = wS(Rae(AO), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && Mb() && (m = `${m}, ${p.format(f)}`));+ let h = OC(m), g = t.collection.size === 0;return (0, D.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -28526,9 +28526,9 @@ function Iae(e, t, n) {r.key]), {columnHeaderProps: {- ...K(l, a, s, h, g ? { tabIndex: -1 } : null),+ ...q(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: ZD(t, r.key),+ id: qD(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -28537,17 +28537,17 @@ function Iae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function Lae(e) {+function Bae(e) {return e && e.__esModule ? e.default : e;}-function Rae(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = fS(Lae(PO), "@react-aria/table"), d = sx(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = rS(), b = (0, D.useCallback)((e) => {+function Vae(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = wS(Bae(AO), "@react-aria/table"), d = Sx(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = vS(), b = (0, D.useCallback)((e) => {p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;}, [t, o]), x = (0, D.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, D.useCallback)((e) => {- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && nx(i.current)), m.current = null;+ p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && _x(i.current)), m.current = null;}, [t,i,@@ -28555,14 +28555,14 @@ function Rae(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = _x({ shortcuts: {+ }, { keyboardProps: w } = Mx({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, D.useRef)(0), { moveProps: E } = zC({+ } }), T = (0, D.useRef)(0), { moveProps: E } = sw({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -28578,12 +28578,12 @@ function Rae(e, t, n) {g && E.onKeyDown?.(e);}, [g, E]), k = Math.floor(t.getColumnMinWidth(r.key)), A = Math.floor(t.getColumnMaxWidth(r.key));A === Infinity && (A = 2 ** 53 - 1);- let j = Math.floor(t.getColumnWidth(r.key)), M = qb();+ let j = Math.floor(t.getColumnWidth(r.key)), M = cx();M === "virtual" && typeof window < "u" && "ontouchstart" in window && (M = "touch");- let N = hC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), P = {+ let N = OC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), P = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${ZD(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${qD(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: j }),type: "range",min: k,@@ -28591,11 +28591,11 @@ function Rae(e, t, n) {value: j,...N}, ee = (0, D.useCallback)(() => {- n.current && nx(n.current);- }, [n]), F = t.resizingColumn, te = (0, D.useRef)(null), I = Yx(b);+ n.current && _x(n.current);+ }, [n]), F = t.resizingColumn, te = (0, D.useRef)(null), I = uS(b);(0, D.useEffect)(() => {if (te.current !== F && F != null && F === r.key) {- h.current = $y() === n.current, I(r);+ h.current = rb() === n.current, I(r);let e = setTimeout(() => ee(), 0), t = setTimeout(ee, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -28609,9 +28609,9 @@ function Rae(e, t, n) {n]);let ne = (e) => {- let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);+ let n = t.getColumnWidth(r.key), i = parseFloat(K(e).value);i = i > n ? n + 10 : n - 10, x(r, i);- }, { pressProps: re } = PS({+ }, { pressProps: re } = BS({preventFocusOnPress: !0,onPressStart: (e) => {e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (ee(), e.pointerType !== "virtual" && b(r)));@@ -28619,13 +28619,13 @@ function Rae(e, t, n) {onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ie } = VC();+ }), { visuallyHiddenProps: ie } = lw();return {- resizerProps: K(w, {+ resizerProps: q(w, {...E,onKeyDown: O}, re, { style: { touchAction: "none" } }),- inputProps: K(ie, {+ inputProps: q(ie, {id: d,onBlur: () => {S(r);@@ -28639,20 +28639,20 @@ function Rae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function zae(e, t, n) {+function Hae(e, t, n) {let { node: r, isVirtualized: i } = e, a = { role: "row" };return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs-function Bae(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = qD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = eE({+function Uae(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = WD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = SE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? rx(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? vx(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -28667,10 +28667,10 @@ function Bae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRow.mjs-function Vae(e) {+function Wae(e) {return e && e.__esModule ? e.default : e;}-var LO = {+var NO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -28680,21 +28680,21 @@ var LO = {rtl: "ArrowRight"}};-function Hae(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Bae(e, t, n), { direction: s } = rS();+function Gae(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Uae(e, t, n), { direction: s } = vS();i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = fS(Vae(PO), "@react-aria/table"), u = Zx({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = wS(Wae(AO), "@react-aria/table"), u = fS({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": $D(t, r.key)+ "aria-labelledby": YD(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = RO(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = RO(t.collection, a);+ let n = PO(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = PO(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === LO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === LO.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));+ n.key === NO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === NO.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));},"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,"aria-level": e.level + 1,@@ -28712,45 +28712,45 @@ function Hae(e, t, n) {};}}- let p = wb(r.props), m = o.hasAction ? p : {};+ let p = zb(r.props), m = o.hasAction ? p : {};return {rowProps: {- ...K(a, d, m),- "aria-labelledby": $D(t, r.key)+ ...q(a, d, m),+ "aria-labelledby": YD(t, r.key)},expandButtonProps: f,...o};}-function RO(e, t) {+function PO(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function Uae() {+function Kae() {return { rowGroupProps: { role: "rowgroup" } };}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function zO() {- return Uae();+function FO() {+ return Kae();}//#endregion//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function Wae(e) {+function qae(e) {return e && e.__esModule ? e.default : e;}-function Gae(e, t) {- let { key: n } = e, { checkboxProps: r } = oE(e, t);+function Jae(e, t) {+ let { key: n } = e, { checkboxProps: r } = OE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${$D(t, n)}`+ "aria-labelledby": `${r.id} ${YD(t, n)}`} };}-function Kae(e) {+function Yae(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": fS(Wae(PO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": wS(qae(AO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),isSelected: n,isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",isIndeterminate: !t && !n,@@ -28759,28 +28759,28 @@ function Kae(e) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/utils.mjs-var BO = /* @__PURE__ */ new WeakMap();-function VO(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${BO.get(e)}-${n}-${t}`) : "";+var IO = /* @__PURE__ */ new WeakMap();+function LO(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${IO.get(e)}-${n}-${t}`) : "";}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTab.mjs-function qae(e, t, n) {- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = eE({+function Xae(e, t, n) {+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = SE({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = VO(t, r, "tab"), m = VO(t, r, "tabpanel"), { tabIndex: h } = d, g = yS(u?.props, { labelable: !0 });+ }), p = LO(t, r, "tab"), m = LO(t, r, "tabpanel"), { tabIndex: h } = d, g = ES(u?.props, { labelable: !0 });delete g.id;- let _ = Tb(u?.props), { focusableProps: v } = xx({+ let _ = Bb(u?.props), { focusableProps: v } = Ix({...u?.props,isDisabled: l}, n);return {- tabProps: K(g, v, _, d, {+ tabProps: q(g, v, _, d, {id: p,"aria-selected": c,"aria-disabled": l || void 0,@@ -28795,7 +28795,7 @@ function qae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var Jae = class {+var Zae = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -28839,11 +28839,11 @@ var Jae = class {};//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs-function Yae(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = rS(), { collectionProps: l } = Uw({+function Qae(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = vS(), { collectionProps: l } = dT({ref: n,selectionManager: o,- keyboardDelegate: (0, D.useMemo)(() => new Jae(a, c, r, s), [+ keyboardDelegate: (0, D.useMemo)(() => new Zae(a, c, r, s), [a,s,r,@@ -28853,9 +28853,9 @@ function Yae(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = sx();- return BO.set(t, u), { tabListProps: {- ...K(l, Zx({+ }), u = Sx();+ return IO.set(t, u), { tabListProps: {+ ...q(l, fS({...e,id: u})),@@ -28866,12 +28866,12 @@ function Yae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function Xae(e, t, n) {- let r = ZT(n) ? void 0 : 0, i = VO(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(Zx({+function $ae(e, t, n) {+ let r = yE(n) ? void 0 : 0, i = LO(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: q(fS({...e,id: i,- "aria-labelledby": VO(t, t?.selectedKey, "tab")+ "aria-labelledby": LO(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -28881,301 +28881,301 @@ function Xae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tree/useTree.mjs-function Zae(e, t, n) {- let { gridProps: r } = mae(e, t, n);+function eoe(e, t, n) {+ let { gridProps: r } = Gie(e, t, n);return r.role = "treegrid", { gridProps: r };}//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var HO = {};-HO = {+var RO = {};+RO = {collapse: "طي",expand: "تمديد"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var UO = {};-UO = {+var zO = {};+zO = {collapse: "Свиване",expand: "Разширяване"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var WO = {};-WO = {+var BO = {};+BO = {collapse: "Sbalit",expand: "Roztáhnout"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var GO = {};-GO = {+var VO = {};+VO = {collapse: "Skjul",expand: "Udvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var KO = {};-KO = {+var HO = {};+HO = {collapse: "Reduzieren",expand: "Erweitern"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var qO = {};-qO = {+var UO = {};+UO = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var JO = {};-JO = {+var WO = {};+WO = {expand: "Expand",collapse: "Collapse"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var YO = {};-YO = {+var GO = {};+GO = {collapse: "Contraer",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var XO = {};-XO = {+var KO = {};+KO = {collapse: "Ahenda",expand: "Laienda"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var ZO = {};-ZO = {+var qO = {};+qO = {collapse: "Pienennä",expand: "Laajenna"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var QO = {};-QO = {+var JO = {};+JO = {collapse: "Réduire",expand: "Développer"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var $O = {};-$O = {+var YO = {};+YO = {collapse: "כווץ",expand: "הרחב"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var ek = {};-ek = {+var XO = {};+XO = {collapse: "Sažmi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var tk = {};-tk = {+var ZO = {};+ZO = {collapse: "Összecsukás",expand: "Kibontás"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var nk = {};-nk = {+var QO = {};+QO = {collapse: "Comprimi",expand: "Espandi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var rk = {};-rk = {+var $O = {};+$O = {collapse: "折りたたむ",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var ik = {};-ik = {+var ek = {};+ek = {collapse: "접기",expand: "펼치기"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var ak = {};-ak = {+var tk = {};+tk = {collapse: "Sutraukti",expand: "Išskleisti"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var ok = {};-ok = {+var nk = {};+nk = {collapse: "Sakļaut",expand: "Izvērst"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var sk = {};-sk = {+var rk = {};+rk = {collapse: "Skjul",expand: "Utvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var ck = {};-ck = {+var ik = {};+ik = {collapse: "Samenvouwen",expand: "Uitvouwen"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var lk = {};-lk = {+var ak = {};+ak = {collapse: "Zwiń",expand: "Rozwiń"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var uk = {};-uk = {+var ok = {};+ok = {collapse: "Recolher",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var dk = {};-dk = {+var sk = {};+sk = {collapse: "Colapsar",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var fk = {};-fk = {+var ck = {};+ck = {collapse: "Restrângeți",expand: "Extindeți"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var pk = {};-pk = {+var lk = {};+lk = {collapse: "Свернуть",expand: "Развернуть"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var mk = {};-mk = {+var uk = {};+uk = {collapse: "Zbaliť",expand: "Rozbaliť"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var hk = {};-hk = {+var dk = {};+dk = {collapse: "Strni",expand: "Razširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var gk = {};-gk = {+var fk = {};+fk = {collapse: " Skupi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var _k = {};-_k = {+var pk = {};+pk = {collapse: "Dölj",expand: "Expandera"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var vk = {};-vk = {+var mk = {};+mk = {collapse: "Daralt",expand: "Genişlet"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var yk = {};-yk = {+var hk = {};+hk = {collapse: "Згорнути",expand: "Розгорнути"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var bk = {};-bk = {+var gk = {};+gk = {collapse: "折叠",expand: "扩展"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var xk = {};-xk = {+var _k = {};+_k = {collapse: "收合",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/tree/intlStrings.mjs-var Sk = {};-Sk = {- "ar-AE": HO,- "bg-BG": UO,- "cs-CZ": WO,- "da-DK": GO,- "de-DE": KO,- "el-GR": qO,- "en-US": JO,- "es-ES": YO,- "et-EE": XO,- "fi-FI": ZO,- "fr-FR": QO,- "he-IL": $O,- "hr-HR": ek,- "hu-HU": tk,- "it-IT": nk,- "ja-JP": rk,- "ko-KR": ik,- "lt-LT": ak,- "lv-LV": ok,- "nb-NO": sk,- "nl-NL": ck,- "pl-PL": lk,- "pt-BR": uk,- "pt-PT": dk,- "ro-RO": fk,- "ru-RU": pk,- "sk-SK": mk,- "sl-SI": hk,- "sr-SP": gk,- "sv-SE": _k,- "tr-TR": vk,- "uk-UA": yk,- "zh-CN": bk,- "zh-TW": xk+var vk = {};+vk = {+ "ar-AE": RO,+ "bg-BG": zO,+ "cs-CZ": BO,+ "da-DK": VO,+ "de-DE": HO,+ "el-GR": UO,+ "en-US": WO,+ "es-ES": GO,+ "et-EE": KO,+ "fi-FI": qO,+ "fr-FR": JO,+ "he-IL": YO,+ "hr-HR": XO,+ "hu-HU": ZO,+ "it-IT": QO,+ "ja-JP": $O,+ "ko-KR": ek,+ "lt-LT": tk,+ "lv-LV": nk,+ "nb-NO": rk,+ "nl-NL": ik,+ "pl-PL": ak,+ "pt-BR": ok,+ "pt-PT": sk,+ "ro-RO": ck,+ "ru-RU": lk,+ "sk-SK": uk,+ "sl-SI": dk,+ "sr-SP": fk,+ "sv-SE": pk,+ "tr-TR": mk,+ "uk-UA": hk,+ "zh-CN": gk,+ "zh-TW": _k};//#endregion//#region node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function Qae(e) {+function toe(e) {return e && e.__esModule ? e.default : e;}-function Ck(e, t, n) {- let { node: r } = e, i = hae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = fS(Qae(Sk), "@react-aria/tree"), s = {+function yk(e, t, n) {+ let { node: r } = e, i = Kie(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = wS(toe(vk), "@react-aria/tree"), s = {onPress: () => {i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));},excludeFromTabOrder: !0,preventFocusOnPress: !0,"data-react-aria-prevent-focus": !0,- ...Zx({+ ...fS({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -29187,15 +29187,15 @@ function Ck(e, t, n) {}//#endregion//#region src/react/components/selection-dock.tsx-var wk = "(prefers-reduced-motion: reduce)", $ae = () => matchMedia(wk).matches, eoe = (e) => {- let t = matchMedia(wk);+var bk = "(prefers-reduced-motion: reduce)", noe = () => matchMedia(bk).matches, roe = (e) => {+ let t = matchMedia(bk);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, Tk = /* @__PURE__ */ new Map(), Ek = () => {+}, xk = /* @__PURE__ */ new Map(), Sk = () => {let e = document.documentElement;- Tk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Tk.values())}px`) : e.style.removeProperty("--selection-dock-space");+ xk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...xk.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function toe({ children: e, count: t, label: n }) {- let r = (0, D.useRef)(null), i = xv(), a = (0, D.useSyncExternalStore)(eoe, $ae, () => !1), { isFocusVisible: o } = Jb(), s = a || o, c = {+function ioe({ children: e, count: t, label: n }) {+ let r = (0, D.useRef)(null), i = kv(), a = (0, D.useSyncExternalStore)(roe, noe, () => !1), { isFocusVisible: o } = lx(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -29203,12 +29203,12 @@ function toe({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- Tk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Ek();+ xk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Sk();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), Tk.delete(e), Ek();+ n.disconnect(), window.removeEventListener("resize", t), xk.delete(e), Sk();};- }, [i]), /* @__PURE__ */ (0, O.jsxs)(Py.div, {+ }, [i]), /* @__PURE__ */ (0, O.jsxs)(Ry.div, {ref: r,role: "group","aria-label": n,@@ -29241,18 +29241,18 @@ function toe({ children: e, count: t, label: n }) {}), e]});}-function Dk({ visible: e, ...t }) {- return /* @__PURE__ */ (0, O.jsx)(wv, { children: e ? /* @__PURE__ */ (0, O.jsx)(toe, { ...t }, "selection") : null });+function Ck({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, O.jsx)(Mv, { children: e ? /* @__PURE__ */ (0, O.jsx)(ioe, { ...t }, "selection") : null });}//#endregion//#region src/react/batch-dock/batch-dock-api.ts-var Ok = {+var wk = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function noe(e, t = !1) {+function aoe(e, t = !1) {switch (e) {case "trash": return [{@@ -29268,7 +29268,7 @@ function noe(e, t = !1) {glyph: "trash",danger: !0},- Ok+ wk];case "junk": return [t ? {@@ -29289,7 +29289,7 @@ function noe(e, t = !1) {glyph: "trash",danger: !0},- Ok+ wk];case "follow": return [{@@ -29310,7 +29310,7 @@ function noe(e, t = !1) {label: "忽略",glyph: "eye-off"},- Ok+ wk];default: return [{@@ -29344,39 +29344,39 @@ function noe(e, t = !1) {glyph: "trash",danger: !0},- Ok+ wk];}}//#endregion//#region src/react/batch-dock/batch-dock-island.tsx-var kk = null, Ak = {+var Tk = null, Ek = {count: 0,context: "catalog",junkDismissed: !1-}, jk = /* @__PURE__ */ new Set();-function roe(e) {- return jk.add(e), () => {- jk.delete(e);+}, Dk = /* @__PURE__ */ new Set();+function ooe(e) {+ return Dk.add(e), () => {+ Dk.delete(e);};}-function ioe() {- for (let e of [...jk]) e();+function soe() {+ for (let e of [...Dk]) e();}-var aoe = { render(e) {- Ak = e, (0, Tt.flushSync)(ioe);+var coe = { render(e) {+ Ek = e, (0, Tt.flushSync)(soe);} };-function ooe(e) {- return kk = e, aoe;+function loe(e) {+ return Tk = e, coe;}-function soe() {- let e = (0, D.useSyncExternalStore)(roe, () => Ak);- return kk ? /* @__PURE__ */ (0, O.jsx)(coe, {- host: kk,+function uoe() {+ let e = (0, D.useSyncExternalStore)(ooe, () => Ek);+ return Tk ? /* @__PURE__ */ (0, O.jsx)(doe, {+ host: Tk,props: e}) : null;}-function coe({ host: e, props: t }) {+function doe({ host: e, props: t }) {let n = t.count > 0;return (0, D.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -29386,11 +29386,11 @@ function coe({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, O.jsx)(Dk, {+ children: /* @__PURE__ */ (0, O.jsx)(Ck, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: noe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: aoe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -29407,12 +29407,12 @@ function coe({ host: e, props: t }) {}//#endregion//#region src/number-setting.ts-function Mk(e, t, n, r) {+function Ok(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}//#endregion//#region src/settings-store.ts-function loe(e, t) {+function foe(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -29432,7 +29432,7 @@ function loe(e, t) {}//#endregion//#region src/sort-preferences.ts-var Nk = [+var kk = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -29441,7 +29441,7 @@ var Nk = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Pk = ["release", "发行时间"], Fk = [...Nk, Pk].map(([e]) => e), Ik = {+], Ak = ["release", "发行时间"], jk = [...kk, Ak].map(([e]) => e), Mk = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -29450,28 +29450,28 @@ var Nk = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, Lk = {+}, Nk = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, Rk = (e, t, n = Ik) => (n[e] || [])[+(t === "asc")] || "", zk = (e, t = Ik) => t[e] ? "desc" : "";-function Bk(e, t, n, r = Ik) {+}, Pk = (e, t, n = Mk) => (n[e] || [])[+(t === "asc")] || "", Fk = (e, t = Mk) => t[e] ? "desc" : "";+function Ik(e, t, n, r = Mk) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: zk(e, r)+ dir: Fk(e, r)};}-function Vk(e, t, n) {+function Lk(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function Hk(e, t, n, r, i = n) {- let a = e ? Lk[e] : void 0, o = a ? a[0] : e, s = o && Fk.includes(o) ? o : i;- return Ik[s] ? {+function Rk(e, t, n, r, i = n) {+ let a = e ? Nk[e] : void 0, o = a ? a[0] : e, s = o && jk.includes(o) ? o : i;+ return Mk[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Vk(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Lk(s, n, r)} : {sort: s,dir: ""@@ -29479,15 +29479,15 @@ function Hk(e, t, n, r, i = n) {}//#endregion//#region src/appearance/home-glow.ts-var Uk = [+var zk = ["spot1","spot2","spot3"-], uoe = [+], poe = ["光晕一","光晕二","光晕三"-], Wk = "native", Gk = [+], Bk = "native", Vk = [["ash","灰雾",@@ -29793,7 +29793,7 @@ var Uk = ["rose"],[- Wk,+ Bk,"玻璃原色",{spot1: {@@ -29811,7 +29811,7 @@ var Uk = [},"blue"]-], Kk = (e) => e === Wk, qk = [...Gk.map(([e, t]) => [e, t]), ["custom", "自定义"]], doe = (e) => (qk.find(([t]) => t === e) || qk[0])[1], Jk = (e) => structuredClone((Gk.find(([t]) => t === e) || Gk[0])[2]), Yk = [+], Hk = (e) => e === Bk, Uk = [...Vk.map(([e, t]) => [e, t]), ["custom", "自定义"]], moe = (e) => (Uk.find(([t]) => t === e) || Uk[0])[1], Wk = (e) => structuredClone((Vk.find(([t]) => t === e) || Vk[0])[2]), Gk = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -29824,7 +29824,7 @@ var Uk = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], Xk = "blue", Zk = (e) => Yk.some(([t]) => t === e) ? e : Xk, foe = (e) => (Gk.find(([t]) => t === e) || [])[3] || "blue", poe = [+], Kk = "blue", qk = (e) => Gk.some(([t]) => t === e) ? e : Kk, hoe = (e) => (Vk.find(([t]) => t === e) || [])[3] || "blue", Jk = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -29834,7 +29834,7 @@ var Uk = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], moe = [+], goe = [["gray","云灰",@@ -30230,11 +30230,11 @@ var Uk = ["霁蓝","#6686b8"]-], Qk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, $k = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, hoe = (e, t) => `rgba(${[+], Yk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Xk = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, _oe = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, goe = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, voe = {strength: [0,100,@@ -30260,7 +30260,7 @@ var Uk = [100,50]-}, eA = {+}, Zk = {on: !0,preset: "ash",strength: 100,@@ -30268,57 +30268,57 @@ var Uk = [speed: 100,soften: 50,size: 50,- ...Jk("ash")+ ...Wk("ash")};-function tA(e) {- let t = e && typeof e == "object" ? e : {}, n = qk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Jk(r === "custom" ? "ash" : r), a = {+function Qk(e) {+ let t = e && typeof e == "object" ? e : {}, n = Uk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Wk(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(goe)) a[e] = Qk(+t[e], n, r, i);- for (let e of Uk) {+ for (let [e, [n, r, i]] of Object.entries(voe)) a[e] = Yk(+t[e], n, r, i);+ for (let e of zk) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: $k(r.color, o.color),- alpha: Qk(+r.alpha, 0, 100, o.alpha)+ color: Xk(r.color, o.color),+ alpha: Yk(+r.alpha, 0, 100, o.alpha)};}return a;}-var _oe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, nA = /* @__PURE__ */ new WeakMap();-function voe(e, t) {+var yoe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, $k = /* @__PURE__ */ new WeakMap();+function boe(e, t) {if (!e) return;- let n = nA.get(e);- n || (n = /* @__PURE__ */ new Map(), nA.set(e, n));- let r = t.on && !Kk(t.preset), i = (t, r) => {+ let n = $k.get(e);+ n || (n = /* @__PURE__ */ new Map(), $k.set(e, n));+ let r = t.on && !Hk(t.preset), i = (t, r) => {n.get(t) !== r && (n.set(t, r), e.style.setProperty(t, r));};- i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), Uk.forEach((e, n) => {+ i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), zk.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, hoe(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, _oe(r.color, r.alpha));});}-function yoe(e, t) {+function xoe(e, t) {if (!e) return;- let n = !t.on || Kk(t.preset);+ let n = !t.on || Hk(t.preset);e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));}//#endregion//#region src/appearance/settings.ts-var boe = "peach.settings.v1", xoe = [+var Soe = "peach.settings.v1", Coe = ["system","light","dark"-], rA = [+], eA = [0,7,30,90-], Soe = [+], woe = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], iA = {+], tA = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -30339,46 +30339,46 @@ var boe = "peach.settings.v1", xoe = [theme: "system",groupCollapse: !0,sidebarOrder: [...hl],- homeGlow: eA,- accent: Xk-}, aA = (e, t, n) => t.includes(e) ? e : n;-function Coe(e) {+ homeGlow: Zk,+ accent: Kk+}, nA = (e, t, n) => t.includes(e) ? e : n;+function Toe(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...iA,+ ...tA,...t};- n.followInitialDays = rA.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = eA.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;let r = !1, i = +n.sortDefaultsVersion || 0;i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);- let a = Lk[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Mk(+n.batchSize, 1, 200, 60), n.defaultSort = aA(n.defaultSort, Fk, "seed"), n.hoverDelaySeconds = Mk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Mk(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = Mk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Mk(+n.relatedLimit, 0, 60, 20), n.feedLimit = Mk(+n.feedLimit, 1, 100, 12), Object.assign(n, ba(n)), n.theme = aA(n.theme, xoe, "system"), n.homeGlow = tA(n.homeGlow), n.accent = Zk(n.accent), n.sidebarOrder = yl(n.sidebarOrder), {+ let a = Nk[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Ok(+n.batchSize, 1, 200, 60), n.defaultSort = nA(n.defaultSort, jk, "seed"), n.hoverDelaySeconds = Ok(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Ok(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = Ok(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Ok(+n.relatedLimit, 0, 60, 20), n.feedLimit = Ok(+n.feedLimit, 1, 100, 12), Object.assign(n, ba(n)), n.theme = nA(n.theme, Coe, "system"), n.homeGlow = Qk(n.homeGlow), n.accent = qk(n.accent), n.sidebarOrder = yl(n.sidebarOrder), {settings: n,migrated: r};}-function woe(e) {+function Eoe(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return Coe(t);+ return Toe(t);}-var oA = null;-function sA() {- if (oA) return oA;- let { settings: e, migrated: t } = woe(localStorage);- return oA = loe(boe, e), t && oA.save(), oA;+var rA = null;+function iA() {+ if (rA) return rA;+ let { settings: e, migrated: t } = Eoe(localStorage);+ return rA = foe(Soe, e), t && rA.save(), rA;}-function cA(e, t, n = sA()) {+function aA(e, t, n = iA()) {let r = n.value, i = e && e.followInitialDays;- rA.includes(i) && (r.followInitialDays = i, n.save());- for (let t of Soe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ eA.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of woe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let a = e && e.searchHistoryLimit;- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Mk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== iA.searchHistoryLimit && Toe(n);+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Ok(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== tA.searchHistoryLimit && Doe(n);let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());}-function Toe(e = sA()) {+function Doe(e = iA()) {return z("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })@@ -30386,7 +30386,7 @@ function Toe(e = sA()) {}//#endregion//#region src/appearance/theme.ts-var Eoe = [+var Ooe = [["system","跟随系统",@@ -30402,32 +30402,32 @@ var Eoe = ["深色","moon"]-], Doe = null, lA = () => Doe ??= matchMedia("(prefers-color-scheme: dark)"), uA = null;-function Ooe() {- return uA || (uA = document.createElement("style"), uA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), uA.isConnected || document.head.append(uA), () => {+], koe = null, oA = () => koe ??= matchMedia("(prefers-color-scheme: dark)"), sA = null;+function Aoe() {+ return sA || (sA = document.createElement("style"), sA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), sA.isConnected || document.head.append(sA), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), uA?.remove();+ cancelAnimationFrame(t), clearTimeout(n), sA?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function dA(e = sA().value.theme) {- let t = Ooe(), n = document.documentElement;+function cA(e = iA().value.theme) {+ let t = Aoe(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && lA().matches;+ let r = e === "dark" || e === "system" && oA().matches;n.classList.toggle("dark", r), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === r))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", r), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {e.media = e.dataset.themeColor === "dark" === r ? "all" : "not all";}), t();}-var fA = !1;-function koe() {- fA || (fA = !0, lA().addEventListener("change", () => {- sA().value.theme === "system" && dA();+var lA = !1;+function uA() {+ lA || (lA = !0, oA().addEventListener("change", () => {+ iA().value.theme === "system" && cA();}));}//#endregion//#region src/appearance/layout.ts-var pA = [[+var dA = [["big","大图","maximize"@@ -30435,7 +30435,7 @@ var pA = [["small","小图","layout-grid"-]], mA = [[+]], fA = [["big","大图","maximize"@@ -30443,7 +30443,7 @@ var pA = [["small","小图","layout-grid"-]], hA = [[+]], pA = [["fixed","固定比例","layout-grid"@@ -30451,130 +30451,130 @@ var pA = [["masonry","瀑布流","columns-2"-]], gA = .75, _A = () => sA().value, vA = (e = _A()) => ya(e.javLayout), Aoe = (e = _A()) => ya(e.homeLayout), yA = (e, t = _A()) => e ? Aoe(t) : vA(t), bA = mA.map(([e]) => e), xA = hA.map(([e]) => e), SA = (e = _A()) => aA(e.photoSize, bA, "small"), CA = (e = _A()) => aA(e.photoLayout, xA, "masonry"), wA = null;-function TA(e, t = _A()) {+]], mA = .75, hA = () => iA().value, gA = (e = hA()) => ya(e.javLayout), joe = (e = hA()) => ya(e.homeLayout), _A = (e, t = hA()) => e ? joe(t) : gA(t), vA = fA.map(([e]) => e), yA = pA.map(([e]) => e), bA = (e = hA()) => nA(e.photoSize, vA, "small"), xA = (e = hA()) => nA(e.photoLayout, yA, "masonry"), SA = null;+function CA(e, t = hA()) {let n = {active: e.active,- size: yA(e.home, t),+ size: _A(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = wA;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (wA = n), wA;+ }, r = SA;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (SA = n), SA;}-function EA(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? gA : 16 / 9;+function wA(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? mA : 16 / 9;}-function joe(e, t = sA()) {+function Moe(e, t = iA()) {t.value.homeLayout = ya(e), t.save();}-function DA(e, t = sA()) {+function TA(e, t = iA()) {t.value.javLayout = ya(e), t.save();}-function Moe(e, t = sA()) {+function Noe(e, t = iA()) {t.value.homeLayout = t.value.javLayout = ya(e), t.save();}-function Noe(e, t = sA()) {- t.value.photoSize = aA(e, bA, "small"), t.save();+function Poe(e, t = iA()) {+ t.value.photoSize = nA(e, vA, "small"), t.save();}-function OA(e, t = sA()) {- t.value.photoLayout = aA(e, xA, "masonry"), t.save();+function EA(e, t = iA()) {+ t.value.photoLayout = nA(e, yA, "masonry"), t.save();}//#endregion//#region src/appearance/density.ts-var kA = "density", AA = {+var DA = "density", OA = {big: "336px",dense: "168px"-}, jA = () => localStorage.getItem(kA) === "dense" ? "dense" : "big";-function MA(e, t) {- let [n, r] = mA;+}, kA = () => localStorage.getItem(DA) === "dense" ? "dense" : "big";+function AA(e, t) {+ let [n, r] = fA;if (e.querySelector("[data-icon-swap]")) ls(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");e.innerHTML = cs(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}- NA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");+ jA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}-function NA(e, t, n) {+function jA(e, t, n) {e.getAttribute(t) !== n && e.setAttribute(t, n);}-var PA = () => document.querySelector("#density");-function FA(e = jA()) {+var MA = () => document.querySelector("#density");+function NA(e = kA()) {let t = document.documentElement;- t.style.getPropertyValue("--tile") !== AA[e] && t.style.setProperty("--tile", AA[e]), NA(document.body, "data-density", e);- let n = PA();- n && (NA(n, "aria-pressed", String(e === "dense")), NA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), MA(n, e === "big" ? "big" : "small"));+ t.style.getPropertyValue("--tile") !== OA[e] && t.style.setProperty("--tile", OA[e]), jA(document.body, "data-density", e);+ let n = MA();+ n && (jA(n, "aria-pressed", String(e === "dense")), jA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), AA(n, e === "big" ? "big" : "small"));}-function Poe() {- let e = jA() === "big" ? "dense" : "big";- localStorage.setItem(kA, e), FA(e);+function Foe() {+ let e = kA() === "big" ? "dense" : "big";+ localStorage.setItem(DA, e), NA(e);}-function Foe(e) {- let t = PA();- t && (NA(t, "aria-pressed", String(e === "small")), NA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), MA(t, e));+function Ioe(e) {+ let t = MA();+ t && (jA(t, "aria-pressed", String(e === "small")), jA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), AA(t, e));}//#endregion//#region src/appearance/glow.ts-function IA(e = sA()) {- voe(document.querySelector(".glowlayer"), e.value.homeGlow);+function PA(e = iA()) {+ boe(document.querySelector(".glowlayer"), e.value.homeGlow);}-var LA = 0;-function RA(e = sA()) {- LA ||= requestAnimationFrame(() => {- LA = 0, IA(e);+var FA = 0;+function IA(e = iA()) {+ FA ||= requestAnimationFrame(() => {+ FA = 0, PA(e);});}-function zA(e = sA()) {- yoe(document.documentElement, e.value.homeGlow);+function LA(e = iA()) {+ xoe(document.documentElement, e.value.homeGlow);}-function BA(e = sA()) {+function RA(e = iA()) {document.documentElement.dataset.accent = e.value.accent;}-var VA = (e, t, n) => ({+var zA = (e, t, n) => ({key: e,label: t,- native: Kk(e),- fill: Kk(e) ? "" : _oe(n)+ native: Hk(e),+ fill: Hk(e) ? "" : yoe(n)});-function Ioe(e) {- let t = Gk.map(([e, t, n]) => VA(e, t, Uk.map((e) => n[e].color)));- return e.preset === "custom" && t.push(VA("custom", "自定义", Uk.map((t) => e[t].color))), t;+function Loe(e) {+ let t = Vk.map(([e, t, n]) => zA(e, t, zk.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(zA("custom", "自定义", zk.map((t) => e[t].color))), t;}-var HA = Yk;-function Loe(e, t = sA()) {+var BA = Gk;+function Roe(e, t = iA()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, Jk(e)), t.value.accent = foe(e), t.save(), RA(t), zA(t), BA(t);+ n.preset = e, Object.assign(n, Wk(e)), t.value.accent = hoe(e), t.save(), IA(t), LA(t), RA(t);}-function Roe(e, t = sA()) {- t.value.accent = Zk(e), t.save(), BA(t);+function zoe(e, t = iA()) {+ t.value.accent = qk(e), t.save(), RA(t);}-function zoe(e = sA()) {+function Boe(e = iA()) {let t = e.value.homeGlow;- t.preset = eA.preset, Object.assign(t, Jk(t.preset)), e.value.accent = Xk, e.save(), RA(e), zA(e), BA(e);+ t.preset = Zk.preset, Object.assign(t, Wk(t.preset)), e.value.accent = Kk, e.save(), IA(e), LA(e), RA(e);}-function UA(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Kk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function VA(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Hk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function Boe(e, t = sA()) {- return UA(e, t.value.homeGlow), t.subscribe(() => UA(e, t.value.homeGlow));+function Voe(e, t = iA()) {+ return VA(e, t.value.homeGlow), t.subscribe(() => VA(e, t.value.homeGlow));}//#endregion//#region src/react/components/glow-preset-grid.tsx-function WA({ store: e, label: t, hidden: n }) {+function HA({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, O.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: Ioe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: Loe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-chip": "","data-glow-preset": t.key,"aria-pressed": t.key === r.preset,title: t.label,"aria-label": t.label,- onClick: () => Loe(t.key, e),+ onClick: () => Roe(t.key, e),children: /* @__PURE__ */ (0, O.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30586,14 +30586,14 @@ function WA({ store: e, label: t, hidden: n }) {}//#endregion//#region src/react/glow-picker/glow-picker-island.tsx-var GA = null;-function Voe(e) {- GA = e;+var UA = null;+function Hoe(e) {+ UA = e;}-function Hoe() {- return GA ? /* @__PURE__ */ (0, O.jsx)(Uoe, { host: GA }) : null;+function Uoe() {+ return UA ? /* @__PURE__ */ (0, O.jsx)(WA, { host: UA }) : null;}-function Uoe({ host: e }) {+function WA({ host: e }) {let { store: t } = e;(0, D.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -30605,11 +30605,11 @@ function Uoe({ host: e }) {children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => zoe(t),+ onClick: () => Boe(t),children: "重置"})]}),- /* @__PURE__ */ (0, O.jsx)(WA, {+ /* @__PURE__ */ (0, O.jsx)(HA, {store: t,label: "光晕",hidden: !n.on@@ -30623,14 +30623,14 @@ function Uoe({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: HA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: BA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => Roe(e, t),+ onClick: () => zoe(e, t),children: /* @__PURE__ */ (0, O.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30649,32 +30649,32 @@ function Uoe({ host: e }) {}//#endregion//#region src/player/host.ts-var KA = null;-function Woe(e) {- KA = e;+var GA = null;+function KA(e) {+ GA = e;}function qA() {- if (!KA) throw Error("播放器还没有接上宿主(configurePlayer)");- return KA;+ if (!GA) throw Error("播放器还没有接上宿主(configurePlayer)");+ return GA;}//#endregion//#region src/player/menu.tsvar JA = null;-function Goe(e) {+function YA(e) {JA = e;}-function Koe() {+function XA() {let e = document.getElementById("playerMenu");return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;}-var YA = null, XA = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function ZA() {+var ZA = null, QA = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function $A() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && To(e, () => {e.innerHTML = "";- }), YA &&= (YA(), null);+ }), ZA &&= (ZA(), null);}-async function qoe(e) {+async function Woe(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -30687,7 +30687,7 @@ async function qoe(e) {return t.remove(), n;}}-function Joe(e) {+function Goe(e) {let t = !!JA?.inMiniplayer(e), n = e.peachItem, r = JA?.kind(e) ?? "item", i = (t) => {let i = new URL(r === "follow" ? `/posts/${n?.id}` : `/assets/${n?.id}`, location.origin);if (r !== "follow" && location.pathname === i.pathname) {@@ -30704,7 +30704,7 @@ function Joe(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- qoe(i(e)).then((e) => qA().toast(e ? t : "复制失败,请手动复制地址栏", {+ Woe(i(e)).then((e) => qA().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -30743,29 +30743,29 @@ function Joe(e) {run: () => s.click()}), o;}-function Yoe(e, t, n) {- let r = Koe();- ZA();+function Koe(e, t, n) {+ let r = XA();+ $A();let i = qA().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = Joe(e);+ let a = Goe(e);r.innerHTML = a.map((e, t) => {let n = e.checked !== void 0;- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${XA(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? XA(R("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${QA(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? QA(R("check"), "data-player-menu-check") : ""}</button>`;}).join(""), wo(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;let o = [...r.querySelectorAll("[data-player-menu]")];o.forEach((e) => {e.onclick = (t) => {t.stopPropagation();let n = a[Number(e.dataset.playerMenu)];- ZA(), n?.run();+ $A(), n?.run();};});let s = (e) => {- r.contains(e.target) || ZA();+ r.contains(e.target) || $A();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), ZA();+ e.preventDefault(), e.stopPropagation(), $A();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -30773,51 +30773,51 @@ function Yoe(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- Do(t, e.el()) && ZA();+ Do(t, e.el()) && $A();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), YA = () => {+ }, 0), ZA = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function Xoe(e) {+function qoe(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Yoe(e, t.clientX, t.clientY));- }), e.on("dispose", ZA);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Koe(e, t.clientX, t.clientY));+ }), e.on("dispose", $A);}//#endregion//#region src/player/registry.ts-var QA = null, $A = () => QA;-function ej(e) {- QA = e;+var ej = null, tj = () => ej;+function nj(e) {+ ej = e;}-function tj(e) {+function rj(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}//#endregion//#region src/player/stats.ts-function nj(e) {+function ij(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);return 0;}-function Zoe(e) {+function Joe(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;}-var rj = 3e3;-function ij(e, t) {+var aj = 3e3;+function oj(e, t) {let n = Number(e) || 0, r = mn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function Qoe(e) {+function Yoe(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -30832,10 +30832,10 @@ function Qoe(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = Zoe(e), s = e.currentTime || 0;+ let a = performance.now(), o = Joe(e), s = e.currentTime || 0;if (n) {let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;- !i && c > 0 && (r += c), e * 1e3 > rj * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > aj * 2 && (t.length = 0);}for (n = {at: a,@@ -30844,56 +30844,56 @@ function Qoe(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > rj;) t.shift();+ }); t.length > 2 && a - t[0].at > aj;) t.shift();let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;}};}-var aj = 24;-function oj(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > aj && e.splice(0, e.length - aj);+var sj = 24;+function cj(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > sj && e.splice(0, e.length - sj);}-var sj = "peach-player-panel";-function cj(e, t, n, r) {- let i = [...Array(Math.max(0, aj - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var lj = "peach-player-panel";+function uj(e, t, n, r) {+ let i = [...Array(Math.max(0, sj - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {if (e === null) return "<i aria-hidden=\"true\"></i>";let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;}).join("");return `<span data-player-stats-plot="${t}" role="img" aria-label="${B(r)}">${o}</span>`;}-function $oe() {+function Xoe() {return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("chart")}</button><div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div><div data-player-stats="" id="playerStats" role="status" hidden></div>`;}-function lj(e, t = "") {+function dj(e, t = "") {let n = t ? encodeURIComponent(t) : "";return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));}-function uj(e, t = "") {- let n = lj(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+function fj(e, t = "") {+ let n = dj(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;return r > 0 && i > 0 ? r * 8 / i : 0;}-function dj(e, t, n = "", r = null) {+function pj(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : uj(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : fj(t, n);}-function fj(e) {+function mj(e) {if (!Number.isFinite(e) || e <= 0) return "加载中…";let t = e / 8;return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;}-function ese(e, t) {- return e > 0 ? fj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : fj(0);+function Zoe(e, t) {+ return e > 0 ? mj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : mj(0);}//#endregion//#region src/player/subtitle-style.ts-var pj = {+var hj = {font: {label: "字体",values: [@@ -30996,7 +30996,7 @@ var pj = {["shadow", "阴影"]]}-}, mj = {+}, gj = {font: "sans",size: "100",color: "white",@@ -31006,7 +31006,7 @@ var pj = {window: "black",windowOpacity: "0",edge: "shadow"-}, hj = "peach.caption-style.v1", tse = {+}, _j = "peach.caption-style.v1", Qoe = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -31015,7 +31015,7 @@ var pj = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, nse = {+}, $oe = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -31023,28 +31023,28 @@ var pj = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, rse = {+}, ese = {none: "none",raised: "-1px -1px 0 #ddd,1px 1px 0 #222",depressed: "1px 1px 0 #ddd,-1px -1px 0 #222",outline: "-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000",shadow: "2px 2px 3px #000"};-function ise() {+function tse() {let e = {};try {- e = JSON.parse(localStorage.getItem(hj) || "{}") || {};+ e = JSON.parse(localStorage.getItem(_j) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(mj).map(([t, n]) => [t, pj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(gj).map(([t, n]) => [t, hj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function gj(e, t, n) {- let r = ise(), i = document.createElement("div");+function vj(e, t, n) {+ let r = tse(), i = document.createElement("div");i.className = "vjs-peach-captions", i.setAttribute("aria-hidden", "true");let a = document.createElement("div");a.className = "vjs-peach-caption-window", i.append(a), e.querySelector("media-container").append(i), e.dataset.peachCaptions = "";let o = () => {- let t = (e, t) => `rgba(${tse[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", nse[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", rse[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${Qoe[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", $oe[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", ese[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");}, s = () => {a.replaceChildren();for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {@@ -31059,27 +31059,27 @@ function gj(e, t, n) {return t.textTracks.addEventListener("addtrack", l, { signal: n }), t.textTracks.addEventListener("removetrack", l, { signal: n }), t.textTracks.addEventListener("change", s, { signal: n }), o(), l(), {current: () => r,set(e, t) {- if (pj[e].values.some(([e]) => e === t)) {+ if (hj[e].values.some(([e]) => e === t)) {r = {...r,[e]: t}, o();try {- localStorage.setItem(hj, JSON.stringify(r));+ localStorage.setItem(_j, JSON.stringify(r));} catch {}}},reset() {- r = { ...mj }, o();+ r = { ...gj }, o();try {- localStorage.removeItem(hj);+ localStorage.removeItem(_j);} catch {}}};}//#endregion//#region src/player/subtitle-memory.ts-var _j = /* @__PURE__ */ new Map(), vj = class {+var yj = /* @__PURE__ */ new Map(), bj = class {player;video;changed;@@ -31128,7 +31128,7 @@ var _j = /* @__PURE__ */ new Map(), vj = class {}save(e) {if (!this.url) return Promise.resolve();- let t = (_j.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (yj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = await fetch(this.url, {method: "PUT",headers: { "Content-Type": "application/json" },@@ -31142,15 +31142,15 @@ var _j = /* @__PURE__ */ new Map(), vj = class {let n = !!this.error;this.error = "", n && !this.cleanup.signal.aborted && this.changed();});- return _j.set(this.url, t), t.finally(() => {- _j.get(this.url) === t && _j.delete(this.url);+ return yj.set(this.url, t), t.finally(() => {+ yj.get(this.url) === t && yj.delete(this.url);}).catch(() => {}), t;}async restore() {if (!this.url) return;let e = this.cleanup.signal;try {- if (await _j.get(this.url)?.catch(() => {}), e.aborted) return;+ if (await yj.get(this.url)?.catch(() => {}), e.aborted) return;let t = await z(this.url, { signal: e });if (e.aborted) return;this.selected === void 0 && (this.selected = t.selected), this.apply();@@ -31205,7 +31205,7 @@ var _j = /* @__PURE__ */ new Map(), vj = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, yj = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", ase = class {+}, xj = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", nse = class {player;video;panels;@@ -31224,7 +31224,7 @@ var _j = /* @__PURE__ */ new Map(), vj = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = gj(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = yj(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = vj(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = xj(), this.cc.onclick = () => {let e = this.tracks().find((e) => e.mode === "showing");e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {@@ -31234,7 +31234,7 @@ var _j = /* @__PURE__ */ new Map(), vj = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new vj(e, t, () => {+ }), this.session = new bj(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -31282,7 +31282,7 @@ var _j = /* @__PURE__ */ new Map(), vj = class {}options(e = 1) {this.page = "options";- let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(pj).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(hj).map(([e, n]) => {let r = n.values.find(([n]) => n === t[e])?.[1] || "";return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${B(n.label)}</span><b>${B(r)}</b>${R("player-menu-next")}</button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);@@ -31294,7 +31294,7 @@ var _j = /* @__PURE__ */ new Map(), vj = class {}styleOptions(e) {this.page = "style";- let t = pj[e];+ let t = hj[e];this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {let r = this.styles.current()[e] === t;return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${B(t)}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${B(n)}</span></button>`;@@ -31411,7 +31411,7 @@ var _j = /* @__PURE__ */ new Map(), vj = class {};//#endregion//#region src/player/controls.ts-function bj(e, t, n = "") {+function Sj(e, t, n = "") {if (!e) return () => {};let r = e.querySelector(":scope>.vjs-peach-tooltip");r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));@@ -31422,26 +31422,26 @@ function bj(e, t, n = "") {};return o(), o;}-function xj(e, t) {+function Cj(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function ose(e, t = !0) {+function rse(e, t = !0) {let n = qA(), r = n.settings();r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));}-var Sj = /* @__PURE__ */ new WeakMap();-function Cj(e) {+var wj = /* @__PURE__ */ new WeakMap();+function Tj(e) {if (!e) return;let t = qA().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Sj.get(e)?.(t ? "默认视图" : "影院模式");+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), wj.get(e)?.(t ? "默认视图" : "影院模式");}-function wj(e, t = !0) {+function Ej(e, t = !0) {let n = qA(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), Cj(i?.querySelector("[data-player-theater]")), tj($A());+ i?.toggleAttribute("data-theater", r.theaterMode), Tj(i?.querySelector("[data-player-theater]")), rj(tj());}-function sse(e) {+function ise(e) {let t = qA().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });@@ -31476,7 +31476,7 @@ function sse(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function Tj(e, t, n = 0, r = null) {+function Dj(e, t, n = 0, r = null) {let i = e.el().querySelector(".vjs-control-bar");if (!i || i.querySelector("[data-player-quality]")) return;let a = document.createElement("div");@@ -31486,7 +31486,7 @@ function Tj(e, t, n = 0, r = null) {let o = i.querySelector(".vjs-fullscreen-control");i.insertBefore(a, o || null);let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");- bj(s, "设置");+ Sj(s, "设置");let l = a.querySelector(".vjs-peach-settings-menu"), u, d = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, f = r, p = "auto", m = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;@@ -31526,11 +31526,11 @@ function Tj(e, t, n = 0, r = null) {active: n};}, _ = () => l.getAttribute("aria-hidden") !== "true", v = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(sj, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(lj, { detail: "settings" }));}, y = () => v(!1), b = (e) => {e.detail !== "settings" && y();};- document.addEventListener(sj, b);+ document.addEventListener(lj, b);let x = null, S = 0, C = (e, t) => {let n = ++S;x && (clearTimeout(x), x = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;@@ -31549,10 +31549,10 @@ function Tj(e, t, n = 0, r = null) {let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${qA().settings().ambientMode}">${R("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${R("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${R("player-menu-next")}</button>- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${yj()}</span><span>字幕</span><b>${B(u?.label() || "关闭")}</b>${R("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${xj()}</span><span>字幕</span><b>${B(u?.label() || "关闭")}</b>${R("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${B(n.label)}</b>${R("player-menu-next")}</button></div>`, t);w(i, "[data-player-ambient]").onclick = () => {- ose(!qA().settings().ambientMode), E();+ rse(!qA().settings().ambientMode), E();}, w(i, "[data-player-speed]").onclick = () => A(), w(i, "[data-player-subtitles]").onclick = () => u?.show(), w(i, "[data-player-quality-view]").onclick = () => M();}, D = .05, O = [1,@@ -31632,8 +31632,8 @@ function Tj(e, t, n = 0, r = null) {"removequalitylevel","change"], N), e.on("dispose", () => {- S++, document.removeEventListener("pointerdown", P), document.removeEventListener(sj, b), x && clearTimeout(x);- }), u = new ase(e, t, {+ S++, document.removeEventListener("pointerdown", P), document.removeEventListener(lj, b), x && clearTimeout(x);+ }), u = new nse(e, t, {render: C,open: () => {T = "subtitles", v(!0);@@ -31642,21 +31642,21 @@ function Tj(e, t, n = 0, r = null) {back: () => {u?.hide(), E(-1);}- }), g(), cse(e, a), lse(e), (e) => {+ }), g(), ase(e, a), ose(e), (e) => {f = e?.length ? e : null, N();};}-function cse(e, t) {+function ase(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;let r = qA().settings().theaterMode, i = document.createElement("div");i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${R(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);let a = i.querySelector("button");- Sj.set(a, bj(a, "影院模式", "T")), Cj(a), a.onclick = (e) => {- e.stopPropagation(), wj(!qA().settings().theaterMode);+ wj.set(a, Sj(a, "影院模式", "T")), Tj(a), a.onclick = (e) => {+ e.stopPropagation(), Ej(!qA().settings().theaterMode);};}-function lse(e) {+function ose(e) {let t = e.el().querySelector(".vjs-control-bar");if (!t || t.querySelector(".vjs-peach-right-controls")) return;let n = t.querySelector(":scope>.vjs-play-control");@@ -31668,7 +31668,7 @@ function lse(e) {e.dataset.peachExplicitIcon = "";let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = bj(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = Sj(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {let t = e.paused() || e.ended(), n = t ? s : c;o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");};@@ -31679,7 +31679,7 @@ function lse(e) {], d), d();let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));- let h = bj(p, "静音", "M"), g = () => {+ let h = Sj(p, "静音", "M"), g = () => {let t = e.muted() || e.volume() === 0;m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");};@@ -31705,7 +31705,7 @@ function lse(e) {});let x = document.createElement("button"), S = !1;x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";- let C = x.querySelector(".vjs-peach-time-text"), w = bj(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = Sj(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = gn(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : gn(t)} / ${gn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${gn(n)};点击显示已播放时间` : `已播放 ${gn(t)},总时长 ${gn(n)};点击显示剩余时间`);};@@ -31717,12 +31717,12 @@ function lse(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- bj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");- let D = bj(E, "画中画");+ Sj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");+ let D = Sj(E, "画中画");e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = bj(O, "全屏", "F"), j = () => {+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = Sj(O, "全屏", "F"), j = () => {let t = !!e.isFullscreen();- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), tj(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), rj(e);};e.on(["fullscreenchange",@@ -31743,7 +31743,7 @@ function lse(e) {});let P = document.createElement("div");P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(P);- let ee = P.querySelector("button"), F = bj(ee, "展开控件"), te = (t) => {+ let ee = P.querySelector("button"), F = Sj(ee, "展开控件"), te = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), ee.setAttribute("aria-expanded", String(t)), F(t ? "收起控件" : "展开控件");};ee.onclick = (t) => {@@ -31755,7 +31755,7 @@ function lse(e) {}, ne = new ResizeObserver(I);ne.observe(e.el()), e.on("dispose", () => ne.disconnect()), te(!1), I();}-function Ej(e, t, n = {}) {+function Oj(e, t, n = {}) {let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = !!t && n.thumbnail !== !1, a = document.createElement("div");@@ -31789,7 +31789,7 @@ function Ej(e, t, n = {}) {r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);});}-function use(e, t) {+function sse(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => mn(e.duration()) || mn(t.duration) || 0, i = (t) => {@@ -31836,11 +31836,11 @@ function use(e, t) {} catch {}});}-function Dj(e) {+function kj(e) {let t = e.el().querySelector(".vjs-loading-spinner");t && !t.querySelector(".vjs-peach-spinner-container") && (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");}-function Oj(e, t) {+function Aj(e, t) {z(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -31856,35 +31856,35 @@ function Oj(e, t) {}//#endregion//#region src/player/progress.ts-var kj = "peach.playback-position.v1", Aj = /* @__PURE__ */ new WeakMap();-function jj(e) {- Aj.get(e)?.(), Aj.delete(e);+var jj = "peach.playback-position.v1", Mj = /* @__PURE__ */ new WeakMap();+function Nj(e) {+ Mj.get(e)?.(), Mj.delete(e);}-function Mj(e, t, n = null) {+function Pj(e, t, n = null) {let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;}-function dse(e) {+function cse(e) {try {- let t = localStorage.getItem(`${kj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${jj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function fse(e, t) {- let n = dse(e);+function lse(e, t) {+ let n = cse(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * mn(t.duration) : 0;}-function pse(e, t) {- jj(t);+function use(e, t) {+ Nj(t);let n = t.readyState >= 1, r = () => {if (!n || !Number.isFinite(t.currentTime)) return;let r = t.ended ? 0 : Math.max(0, t.currentTime);try {- localStorage.setItem(`${kj}:${e}`, String(r));+ localStorage.setItem(`${jj}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -31898,7 +31898,7 @@ function pse(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Aj.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Mj.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -31911,19 +31911,19 @@ function pse(e, t) {}//#endregion//#region src/player/telemetry.ts-var Nj = /* @__PURE__ */ new WeakMap();-function Pj(e) {- Nj.get(e)?.(), Nj.delete(e);+var Fj = /* @__PURE__ */ new WeakMap();+function Ij(e) {+ Fj.get(e)?.(), Fj.delete(e);}-function Fj(e, t, n, r) {+function Lj(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Nj.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Fj.set(e, () => {n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);});}-function Ij(e, t, n = {}) {+function Rj(e, t, n = {}) {if (!t) return;let r = 0, i = 0, a = 0, o = null, s = (e) => e ? document.querySelector(e) : null, c = () => {let r = mn(e.duration) || mn(t.duration);@@ -31964,11 +31964,11 @@ function Ij(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, Fj(t, l, u, () => {+ }, Lj(t, l, u, () => {a++;}), c();}-function mse(e, t) {+function dse(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = mn(e.duration) || mn(t.duration);(r || n) && (z("/api/follow/activity", {@@ -31999,24 +31999,24 @@ function mse(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, Fj(t, o, s, () => {});+ }, Lj(t, o, s, () => {});}//#endregion//#region src/player/dispose.ts-function Lj(e) {+function zj(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (jj(t), Pj(t));+ t && (Nj(t), Ij(t));try {e.dispose();} catch {}}//#endregion//#region src/core/random-id.ts-function Rj() {+function Bj() {if (typeof crypto.randomUUID == "function") return crypto.randomUUID();let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;@@ -32025,23 +32025,23 @@ function Rj() {}//#endregion//#region src/player/stream.ts-function zj() {- return Rj();+function Vj() {+ return Bj();}-function Bj(e, t) {+function Hj(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function hse(e) {+function fse(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function Vj(e, t) {- let n = hse(e);+async function Uj(e, t) {+ let n = fse(e);if (n) return n;try {let n = await z(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -32050,9 +32050,9 @@ async function Vj(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return Bj(e, t);+ return Hj(e, t);}-function Hj(e) {+function Wj(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -32061,23 +32061,23 @@ function Hj(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var Uj = "";-function Wj() {- return Uj;+var Gj = "";+function Kj() {+ return Gj;}-function Gj() {- return Uj ||= zj(), Uj;+function qj() {+ return Gj ||= Vj(), Gj;}-var gse = (e) => Bj(e, Gj()), _se = (e) => Vj(e, Gj());-function Kj() {- let e = Uj;- e && (Uj = "", Hj(e));+var pse = (e) => Hj(e, qj()), mse = (e) => Uj(e, qj());+function Jj() {+ let e = Gj;+ e && (Gj = "", Wj(e));}//#endregion//#region src/player/v10-player.ts-var qj = (e) => typeof e == "string" ? [e] : e, vse = (e, t) => {+var Yj = (e) => typeof e == "string" ? [e] : e, hse = (e, t) => {let n = document.createElement("div"), r = document.createElement("video-player");- n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${Rj()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${Bj()}`, n.setAttribute("lang", "zh-CN");let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {@@ -32172,9 +32172,9 @@ var qj = (e) => typeof e == "string" ? [e] : e, vse = (e, t) => {e && Array.isArray(e.levels) && !x.has(e) && (x.add(e), e.on("hlsManifestParsed", w), e.on("hlsLevelSwitched", w)), w();};return e.addEventListener("loadedmetadata", T, { signal: c }), {- on: (e, t) => qj(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => qj(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => qj(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => Yj(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => Yj(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => Yj(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -32229,7 +32229,7 @@ var qj = (e) => typeof e == "string" ? [e] : e, vse = (e, t) => {n.id = String(t.id || ""), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);}};-}, yse = "/vendor/videojs/10.1.0/", bse = [+}, gse = "/vendor/videojs/10.1.0/", _se = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -32247,18 +32247,18 @@ var qj = (e) => typeof e == "string" ? [e] : e, vse = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], Jj = null;-function Yj() {- return Jj ??= Promise.all(bse.map((e) => import(+], Xj = null;+function Zj() {+ return Xj ??= Promise.all(_se.map((e) => import(/* @vite-ignore */- `${yse}${e}`-))).then(() => vse).catch((e) => {- throw Jj = null, e;- }), Jj;+ `${gse}${e}`+))).then(() => hse).catch((e) => {+ throw Xj = null, e;+ }), Xj;}//#endregion//#region src/player/immerse-player.ts-var xse = {+var vse = {controls: !1,preload: "auto",posterImage: !1,@@ -32270,39 +32270,39 @@ var xse = {errorDisplay: !1,textTrackSettings: !1};-function Sse(e, t) {+function yse(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([Vj(n, r), Yj().catch(() => null)]).then(([o, s]) => {+ return Promise.all([Uj(n, r), Zj().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = Bj(n, r), l = String(o.type || "").includes("mpegurl");+ let c = Hj(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, xse);- i = t, t.peachItem = n, t.peachPlaybackKey = Mj("item", n);+ let t = s(e, vse);+ i = t, t.peachItem = n, t.peachPlaybackKey = Pj("item", n);let r = new AbortController();- gj(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new vj(t, e), Oj(t, n.id), l && t.one("error", () => {+ vj(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new bj(t, e), Aj(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- Ij(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ Rj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, Hj(r), i ? Lj(i) : (e.pause(), Pj(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, Wj(r), i ? zj(i) : (e.pause(), Ij(e), e.removeAttribute("src"), e.load()));};}//#endregion//#region src/player/detail-player.ts-var Xj = /* @__PURE__ */ new WeakMap(), Zj = null, Qj = null, $j = null;-function eM() {- Zj &&= (clearInterval(Zj), null), Qj &&= (clearInterval(Qj), null), $j &&= (clearTimeout($j), null);+var Qj = /* @__PURE__ */ new WeakMap(), $j = null, eM = null, tM = null;+function nM() {+ $j &&= (clearInterval($j), null), eM &&= (clearInterval(eM), null), tM &&= (clearTimeout(tM), null);}-async function Cse(e, t, n, r = {}) {- let i = $A();+async function bse(e, t, n, r = {}) {+ let i = tj();if (i && !i.isDisposed()) return i;let a = qA(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : _se(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : mse(e), c;try {- c = await Yj();+ c = await Zj();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -32328,7 +32328,7 @@ async function Cse(e, t, n, r = {}) {} }}});- ej(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Mj("item", e), Xoe(l), l.on("loadedmetadata", () => {+ nj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Pj("item", e), qoe(l), l.on("loadedmetadata", () => {let e = l.el()?.querySelector("video");e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);});@@ -32336,7 +32336,7 @@ async function Cse(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = Qoe(ij(f, e.duration)), m = 0, h = !1, g = () => $A() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = Yoe(oj(f, e.duration)), m = 0, h = !1, g = () => tj() === l && !l.isDisposed(), _ = () => {if (!u || h || !g()) return;let e = Number(l.duration());(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {@@ -32347,15 +32347,15 @@ async function Cse(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- Xj.set(l, y), y.updateStats = () => {+ Qj.set(l, y), y.updateStats = () => {let n = y.chrome?.statsPanel;if (!n || n.hidden || !g()) return;- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = Wj(), h = s ? lj(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = Kj(), h = s ? dj(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;p.sample(t);- let x = dj(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);+ let x = pj(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);m = S;- let w = nj(t);- oj(d.speed, x), oj(d.activity, C), oj(d.buffer, w);+ let w = ij(t);+ cj(d.speed, x), cj(d.activity, C), cj(d.buffer, w);let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? ["网络活动",`${_ ? _n(_) : "—"} · ${h.length} 请求`,@@ -32373,17 +32373,17 @@ async function Cse(e, t, n, r = {}) {["连接速度",D,- cj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ uj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- cj(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ uj(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- cj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ uj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${gn(t.currentTime)} / ${gn(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -32399,15 +32399,15 @@ async function Cse(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = dj(l, e.id, Wj(), r ? null : p), a = r ? fj(i) : ese(i, nj(t));+ let i = pj(l, e.id, Kj(), r ? null : p), a = r ? mj(i) : Zoe(i, ij(t));n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${B(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), Qj && clearInterval(Qj), Qj = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), eM && clearInterval(eM), eM = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && ($j && clearTimeout($j), $j = setTimeout(() => {- e.hidden = !0, Qj &&= (clearInterval(Qj), null);+ e && (tM && clearTimeout(tM), tM = setTimeout(() => {+ e.hidden = !0, eM &&= (clearInterval(eM), null);}, 1400));};return l.on([@@ -32418,7 +32418,7 @@ async function Cse(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(gse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(pse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {t[String(e.root_id || e.location)] !== !1 || l.isDisposed() || l.error({code: 2,message: `媒体目录无法访问 · ${a.offlineReason(String(e.root_id || e.location))}`@@ -32426,13 +32426,13 @@ async function Cse(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = Tj(l, t, e.height, r.qualities ?? null);+ let n = Dj(l, t, e.height, r.qualities ?? null);r.mediaPromise?.then((t) => {if (!g()) return;n?.(t?.qualities?.length ? t.qualities : null);let r = Number(t?.size) || 0;- r > 0 && !f && (f = r, p.bitrate = ij(r, e.duration));- }).catch(() => {}), Ej(l, e, { thumbnail: !r.source }), use(l, e), Dj(l), r.source || Oj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = oj(r, e.duration));+ }).catch(() => {}), Oj(l, e, { thumbnail: !r.source }), sse(l, e), kj(l), r.source || Aj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;@@ -32441,14 +32441,14 @@ async function Cse(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var wse = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function tM(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", wse), e.querySelector(":scope > #playerStatsBtn")) return;+var xse = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function rM(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", xse), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = $oe(), e.insertBefore(n.content, t);+ n.innerHTML = Xoe(), e.insertBefore(n.content, t);}-function nM(e, t) {- let n = Xj.get(e);+function iM(e, t) {+ let n = Qj.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -32460,29 +32460,29 @@ function nM(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), Zj &&= (clearInterval(Zj), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), $j &&= (clearInterval($j), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(sj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), Zj && clearInterval(Zj), Zj = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(lj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), $j && clearInterval($j), $j = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(sj, t), s = () => document.removeEventListener(sj, t);+ document.addEventListener(lj, t), s = () => document.removeEventListener(lj, t);}- let c = e.el().querySelector("video"), l = c ? sse(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, eM()));+ let c = e.el().querySelector("video"), l = c ? ise(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, nM()));};return e.one("dispose", d), d;}-function rM(e, t) {- if (t.kind === "immerse") return Sse(e, t);+function aM(e, t) {+ if (t.kind === "immerse") return yse(e, t);let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = qA(), c = t.chrome === !1 ? null : e.parentElement;- c && tM(c, e);- let l = Mj(n, r, i?.index ?? null), u = {+ c && rM(c, e);+ let l = Pj(n, r, i?.index ?? null), u = {playbackKey: l,resume: t.resume ?? {- time: fse(l, r),+ time: lse(l, r),autoplay: !1}};@@ -32502,38 +32502,38 @@ function rM(e, t) {t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (jj(m), d ? ($A() === d && (ej(null), eM()), Lj(d)) : Pj(m));+ p(), !(d && a?.(d)) && (Nj(m), d ? (tj() === d && (nj(null), nM()), zj(d)) : Ij(m));};- return Cse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, pse(l, m), n === "follow" ? mse(r, m) : (m.addEventListener("play", () => {+ return bse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, use(l, m), n === "follow" ? dse(r, m) : (m.addEventListener("play", () => {z("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), Ij(r, m, {+ }, { once: !0 }), Rj(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = nM(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = iM(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}//#endregion//#region src/player/playback.ts-function iM(e) {+function oM(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function aM(e, t) {+function sM(e, t) {let n = e.duration, r = (e.currentTime || 0) + t;e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);}//#endregion//#region src/player/preview-player.ts-function Tse(e, t, n) {+function cM(e, t, n) {e.controls = !1;let r = !1, i = null;- return Yj().then((a) => {+ return Zj().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -32558,57 +32558,57 @@ function Tse(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (Tj(o, e), Ej(o, null, { thumbnail: !1 }), Dj(o));+ r || o.isDisposed() || (Dj(o, e), Oj(o, null, { thumbnail: !1 }), kj(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, Lj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, zj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}//#endregion//#region src/react/catalog-grid/catalog-view.ts-var oM = "peach.catalog-view.v1", sM = /* @__PURE__ */ new Set(), cM = "cards";-function lM() {+var lM = "peach.catalog-view.v1", uM = /* @__PURE__ */ new Set(), dM = "cards";+function fM() {try {- return localStorage.getItem(oM) === "list" ? "list" : "cards";+ return localStorage.getItem(lM) === "list" ? "list" : "cards";} catch {- return cM;+ return dM;}}-function Ese(e) {- cM = e === "list" ? "list" : "cards";+function pM(e) {+ dM = e === "list" ? "list" : "cards";try {- localStorage.setItem(oM, cM);+ localStorage.setItem(lM, dM);} catch {}- sM.forEach((e) => e());+ uM.forEach((e) => e());}-function Dse(e) {- sM.add(e);+function mM(e) {+ uM.add(e);let t = (t) => {- (t.key === oM || t.key === null) && e();+ (t.key === lM || t.key === null) && e();};return addEventListener("storage", t), () => {- sM.delete(e), removeEventListener("storage", t);+ uM.delete(e), removeEventListener("storage", t);};}-var uM = () => (0, D.useSyncExternalStore)(Dse, lM, () => "cards");-function dM(e, t) {+var hM = () => (0, D.useSyncExternalStore)(mM, fM, () => "cards");+function gM(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var Ose = (e, t) => [+var _M = (e, t) => ["catalog-grid","catalog",e,t-], kse = (e, t) => [+], vM = (e, t) => ["catalog-grid","entity",e,t];-async function Ase(e, t, n, r, i) {+async function yM(e, t, n, r, i) {let a = new URLSearchParams(e);a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");let o = await V(`/api/items?${a}`, i), s = {@@ -32618,22 +32618,22 @@ async function Ase(e, t, n, r, i) {};return !t && !s.items.length && !r && (s.libraryEmpty = (await V("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var jse = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Mse = (e, t) => {+var bM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, xM = (e, t) => {let n = t.reduce((e, t) => e + t.items.length, 0);return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;};-function fM(e) {- let t = dM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function SM(e) {+ let t = gM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: Ose(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => Ase(t, e, n, r, i),+ queryKey: _M(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => yM(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: jse(n)+ getNextPageParam: bM(n)};}-function Nse(e) {+function CM(e) {return {- queryKey: kse(e.entityKey || "", e.revision || 0),+ queryKey: vM(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -32648,12 +32648,12 @@ function Nse(e) {};},initialPageParam: 0,- getNextPageParam: Mse+ getNextPageParam: xM};}-async function Pse(e, t) {- if (e.mode !== "catalog" || e.wall || lM() === "list") return;- let n = fM(e);+async function wM(e, t) {+ if (e.mode !== "catalog" || e.wall || fM() === "list") return;+ let n = SM(e);await U.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -32662,11 +32662,11 @@ async function Pse(e, t) {})});}-function Fse(e) {+function TM(e) {let t = JSON.stringify(e);return U.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function pM(e, t, n) {+function EM(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -32681,24 +32681,24 @@ function pM(e, t, n) {return !0;}) : [...e];}-var mM = (e, t) => !!e && !!Sa(e, t);-function Ise(e, t) {- let n = (e) => mM(e, t) && !!(e.creator || (e.performers || []).length || e.studio);- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => mM(e, t)) || e[e.length - 1];+var DM = (e, t) => !!e && !!Sa(e, t);+function OM(e, t) {+ let n = (e) => DM(e, t) && !!(e.creator || (e.performers || []).length || e.studio);+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => DM(e, t)) || e[e.length - 1];}-function Lse(e, { collapse: t, mix: n, javImage: r }) {+function kM(e, { collapse: t, mix: n, javImage: r }) {let i = {parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()}, a = /* @__PURE__ */ new Set(), o = [], s = [];for (let c of e) {s.push(o.length);- let e = pM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = EM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({kind: "card",item: e}));if (n && e.length >= 8) {- let t = Ise(e, r);+ let t = OM(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -32711,16 +32711,16 @@ function Lse(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function Rse(e, t, n) {+function AM(e, t, n) {let r = Math.max(1, n), i = [];for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);return i;}-function zse(e, t) {+function jM(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();}-function Bse(e, t) {+function MM(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -32733,10 +32733,10 @@ function Bse(e, t) {strip: null}), r;}-function hM(e, t) {- gM((t) => t.id === e, t);+function NM(e, t) {+ PM((t) => t.id === e, t);}-function gM(e, t) {+function PM(e, t) {U.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {...n,items: n.items.map((n) => e(n) ? {@@ -32757,34 +32757,34 @@ function gM(e, t) {} : n)});}-var _M = (e) => Math.min(Math.max(e || 0, 0), 100), vM = (e) => Math.round(_M(e) / 20), Vse = (e) => {- let t = vM(e);+var FM = (e) => Math.min(Math.max(e || 0, 0), 100), IM = (e) => Math.round(FM(e) / 20), LM = (e) => {+ let t = IM(e);return t ? `${t} 星` : "未评分";-}, yM = (e, t) => t === vM(e) ? 0 : t * 20, bM = (e) => ["item", e], xM = (e) => [+}, RM = (e, t) => t === IM(e) ? 0 : t * 20, zM = (e) => ["item", e], BM = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], Hse = (e, t) => [+], Sse = (e, t) => ["item-related",e,t-], Use = (e) => `/api/item?id=${e}`, Wse = (e, t) => `/api/related?id=${e}&limit=${t}`, SM = "/api/playlist", CM = "/api/feedback", wM = "/api/item-tag", TM = "/api/watch-later", EM = "/api/quality-goal", DM = "/api/preference", OM = class extends Error {};-async function kM(e, t) {- let n = await V(Use(e), t);- if (n.error) throw new OM(n.error);+], Cse = (e) => `/api/item?id=${e}`, wse = (e, t) => `/api/related?id=${e}&limit=${t}`, VM = "/api/playlist", HM = "/api/feedback", UM = "/api/item-tag", WM = "/api/watch-later", GM = "/api/quality-goal", KM = "/api/preference", qM = class extends Error {};+async function JM(e, t) {+ let n = await V(Cse(e), t);+ if (n.error) throw new qM(n.error);return n;}-async function AM(e, t, n) {+async function YM(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([kM(r, n), t.mixRelated(r)]);- return U.setQueryData(bM(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([JM(r, n), t.mixRelated(r)]);+ return U.setQueryData(zM(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${Qa(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return jM(await V(`${SM}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return XM(await V(`${VM}?id=${e.playlistId}`, n));let r = await V(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {@@ -32795,19 +32795,19 @@ async function AM(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var jM = (e) => ({+var XM = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), MM = (e) => e.disposal === "vanished";-function NM(e, t) {+}), ZM = (e) => e.disposal === "vanished";+function QM(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !MM(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !ZM(e)) : e.items;return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;}-function Gse(e, t) {+function Tse(e, t) {if (t?.kind !== "parts" && t?.kind !== "editions") return e;let n = t.items.find((t) => t.id === e.id)?.part_label || "";return e.part_label === n ? e : {@@ -32815,20 +32815,20 @@ function Gse(e, t) {part_label: n};}-function PM(e, t) {+function $M(e, t) {if (!e || e.kind !== "parts" && e.kind !== "editions") return null;let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;}-async function FM(e, t) {+async function eN(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = xM(n);+ let o = BM(n);try {let r = n.fresh ? void 0 : U.getQueryData(o);a = !r && n.kind === "mix", i = r || await U.fetchQuery({queryKey: o,- queryFn: () => AM(n, e.helpers, t),+ queryFn: () => YM(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -32840,21 +32840,21 @@ async function FM(e, t) {return;}}- let o = i ? NM(i, e.id) : e.id;+ let o = i ? QM(i, e.id) : e.id;if (o == null) {r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });return;}- let s, c = a && o === i?.seedId ? U.getQueryData(bM(o)) : void 0;+ let s, c = a && o === i?.seedId ? U.getQueryData(zM(o)) : void 0;try {s = c || await U.fetchQuery({- queryKey: bM(o),- queryFn: () => kM(o, t),+ queryKey: zM(o),+ queryFn: () => JM(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof OM) {+ if (e instanceof qM) {r.redirect({ kind: "gone" });return;}@@ -32865,7 +32865,7 @@ async function FM(e, t) {id: Number(s.follow_item_id)});}-function Kse(e) {+function Ese(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {let t = un(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);@@ -32887,35 +32887,35 @@ function Kse(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function qse(e, t) {+function Dse(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {let r = un(t.tagLabel(e.k)), i = n.get(r);(!i || un(e.k) === r && un(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var IM = (e, t) => (e.tags || []).some((e) => un(e.k) === un(t)), LM = (e, t) => ({+var tN = (e, t) => (e.tags || []).some((e) => un(e.k) === un(t)), nN = (e, t) => ({...e,tags: (e.tags || []).filter((e) => un(e.k) !== un(t))-}), RM = (e, t) => IM(e, t.k) ? e : {+}), rN = (e, t) => tN(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, zM = "peach.recentTags";-function BM() {+}, iN = "peach.recentTags";+function aN() {try {- let e = JSON.parse(localStorage.getItem(zM) || "[]");+ let e = JSON.parse(localStorage.getItem(iN) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function Jse(e) {+function Ose(e) {try {- let t = BM().filter((t) => un(t) !== un(e));- localStorage.setItem(zM, JSON.stringify([e, ...t].slice(0, 12)));+ let t = aN().filter((t) => un(t) !== un(e));+ localStorage.setItem(iN, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function Yse(e, t, n) {+function kse(e, t, n) {let r = un(e), i = new Map(t.map((e) => [un(e.k), e])), a = t.filter((e) => !r || un(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(un(e)) || {k: e,n: 0@@ -32926,73 +32926,73 @@ function Yse(e, t, n) {create: r && !s ? e.trim() : ""};}-var Xse = {+var Ase = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, Zse = {+}, jse = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function Qse(e) {+function Mse(e) {let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;return {- title: Zse[e.kind],+ title: jse[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var VM = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, $se = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(VM(e.part_label))}</small>` : "";-function ece(e, t, n, r) {+var oN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Nse = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(oN(e.part_label))}</small>` : "";+function Pse(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var tce = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function nce(e, t) {+var Fse = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function Ise(e, t) {return t ? "offline" : String(e.name || "").toLowerCase().endsWith(".iso") ? "disc" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";}-function rce(e) {+function Lse(e) {let t = Number(e.duration) > 0 ? Number(e.duration) : 0;return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;}-function HM(e, t) {+function sN(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}//#endregion//#region src/react/immerse/immerse.ts-var ice = (e, t, n) => [+var Rse = (e, t, n) => ["immerse-list",e,t,n];-function ace(e) {+function zse(e) {let t = new URLSearchParams();for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();}-var oce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function sce(e, t = Math.random) {+var Bse = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function Vse(e, t = Math.random) {for (let n = e.length - 1; n > 0; n--) {let r = Math.floor(t() * (n + 1));[e[n], e[r]] = [e[r], e[n]];}return e;}-async function cce(e, t) {- return sce(((await V(`/api/items?${e}`)).items || []).filter((e) => oce(e, t)));+async function Hse(e, t) {+ return Vse(((await V(`/api/items?${e}`)).items || []).filter((e) => Bse(e, t)));}-var UM = (e) => U.ensureQueryData({- queryKey: bM(e),- queryFn: ({ signal: t }) => kM(e, t)+var cN = (e) => U.ensureQueryData({+ queryKey: zM(e),+ queryFn: ({ signal: t }) => JM(e, t)});-function lce(e, t) {+function Use(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function uce(e) {+function Wse(e) {let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";return {who: n,@@ -33001,306 +33001,306 @@ function uce(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function dce(e, t, n) {+function Gse(e, t, n) {if (!e || !t || !n || !Number.isFinite(n)) return null;let r = e / t;return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";}-function fce(e, t) {+function Kse(e, t) {return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);}-var pce = 15e3, WM = {+var qse = 15e3, lN = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, GM = null, KM = null, qM = WM, JM = /* @__PURE__ */ new Set(), YM = 0, XM = 0, ZM = 0, QM = "", $M = [], eN = 0, tN = !1, nN = !1, rN = null, iN = /* @__PURE__ */ new Set(), aN = "", oN = null, sN = 0, cN = null, lN = !1;-function uN() {- if (!GM) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return GM;+}, uN = null, dN = null, fN = lN, pN = /* @__PURE__ */ new Set(), mN = 0, hN = 0, gN = 0, _N = "", vN = [], yN = 0, bN = !1, xN = !1, SN = null, CN = /* @__PURE__ */ new Set(), wN = "", TN = null, EN = 0, DN = null, ON = !1;+function kN() {+ if (!uN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return uN;}-function mce(e) {- return JM.add(e), () => {- JM.delete(e);+function Jse(e) {+ return pN.add(e), () => {+ pN.delete(e);};}-function hce() {- for (let e of [...JM]) e();+function Yse() {+ for (let e of [...pN]) e();}-function dN() {- (0, Tt.flushSync)(hce);+function AN() {+ (0, Tt.flushSync)(Yse);}-function fN() {- let e = oN ? uj(oN.id) : 0;- return e ? `${aN} · ${fj(e)}` : aN;+function jN() {+ let e = TN ? fj(TN.id) : 0;+ return e ? `${wN} · ${mj(e)}` : wN;}-function pN(e, t = null) {- clearInterval(sN), sN = 0, e === null ? (qM = {- ...qM,+function MN(e, t = null) {+ clearInterval(EN), EN = 0, e === null ? (fN = {+ ...fN,loading: null- }, dN()) : (aN = e, oN = t, qM = {- ...qM,- loading: fN()- }, dN(), sN = window.setInterval(() => {- oN = $M[eN] ?? null, qM = {- ...qM,- loading: fN()- }, dN();+ }, AN()) : (wN = e, TN = t, fN = {+ ...fN,+ loading: jN()+ }, AN(), EN = window.setInterval(() => {+ TN = vN[yN] ?? null, fN = {+ ...fN,+ loading: jN()+ }, AN();}, 500));}-function gce(e) {+function Xse(e) {let t = document.createElement("div");t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);let n = document.createElement("video");- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), KM.track.append(t);- let r = zj(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), dN.track.append(t);+ let r = Vj(), i = () => {}, a = {el: t,video: n,session: r,- release: () => Hj(r),+ release: () => Wj(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return iN.add(a), a;+ return CN.add(a), a;}-function _ce(e, t) {+function Zse(e, t) {return new Promise((n) => {- e.release = rM(e.video, {+ e.release = aM(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- qM.open && bN(1);+ fN.open && zN(1);}}), e.gone.then(n);});}-function mN(e) {- e && !e.disposed && (e.disposed = !0, iN.delete(e), e.leave(), e.release(), e.el.remove(), rN === e && (rN = null));+function NN(e) {+ e && !e.disposed && (e.disposed = !0, CN.delete(e), e.leave(), e.release(), e.el.remove(), SN === e && (SN = null));}-var hN = [+var PN = ["loadeddata","canplay","error"];-function vce(e) {+function Qse(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), hN.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), PN.forEach((e) => t.removeEventListener(e, i)), n());};- hN.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, pce);+ PN.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, qse);e.gone.then(i);});}-function gN(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = dce(e.videoWidth, e.videoHeight, n);+function FN(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Gse(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var _N = () => KM?.track.querySelectorAll("video").forEach(gN);-function yce(e) {- delete e.dataset.fit, e.readyState >= 1 ? gN(e) : e.addEventListener("loadedmetadata", () => gN(e), { once: !0 });+var IN = () => dN?.track.querySelectorAll("video").forEach(FN);+function $se(e) {+ delete e.dataset.fit, e.readyState >= 1 ? FN(e) : e.addEventListener("loadedmetadata", () => FN(e), { once: !0 });}-function bce(e) {- qM = {- ...qM,+function ece(e) {+ fN = {+ ...fN,wide: e- }, dN(), _N();+ }, AN(), IN();}-var vN = () => {- let e = QM;+var LN = () => {+ let e = _N;return U.fetchQuery({- queryKey: ice(e, XM, ZM),- queryFn: () => cce(e, uN().sourceOffline),+ queryKey: Rse(e, hN, gN),+ queryFn: () => Hse(e, kN().sourceOffline),staleTime: Infinity});};-function xce(e, t) {+function tce(e, t) {let n = () => mn(e.duration) || mn(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && KM && (KM.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), cN = {+ t && dN && (dN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), DN = {video: e,duration: n};}-async function yN(e = 0) {- let t = $M[eN];- if (!t || tN) return;- let n = YM;- uN().route(t.id), tN = !0, pN(e ? "切换中" : "加载中", t);+async function RN(e = 0) {+ let t = vN[yN];+ if (!t || bN) return;+ let n = mN;+ kN().route(t.id), bN = !0, MN(e ? "切换中" : "加载中", t);let r = null;try {- if (await UM(t.id).catch((e) => {- if (!(e instanceof OM)) throw e;- }), n !== YM) return;- let i = rN, a = !!(e && i);- a || mN(i);- let o = gce(a ? e > 0 ? 100 : -100 : 0);- if (r = o, yce(o.video), await _ce(o, t), await vce(o), o.disposed || (bce(fce(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await cN(t.id).catch((e) => {+ if (!(e instanceof qM)) throw e;+ }), n !== mN) return;+ let i = SN, a = !!(e && i);+ a || NN(i);+ let o = Xse(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, $se(o.video), await Zse(o, t), await Qse(o), o.disposed || (ece(Kse(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";- })), await new Promise((e) => setTimeout(e, 210)), mN(i), o.el.style.transform = ""), o.disposed)) return;- rN = o, r = null, o.video.play()?.catch(() => {}), qM = {- ...qM,+ })), await new Promise((e) => setTimeout(e, 210)), NN(i), o.el.style.transform = ""), o.disposed)) return;+ SN = o, r = null, o.video.play()?.catch(() => {}), fN = {+ ...fN,idle: !1,shown: {item: t,- index: eN,- length: $M.length+ index: yN,+ length: vN.length}- }, xce(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), pN(null);+ }, tce(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), MN(null);} catch {- mN(r), n === YM && pN(null);+ NN(r), n === mN && MN(null);} finally {- n === YM && (tN = !1);+ n === mN && (bN = !1);}}-async function bN(e) {- if (tN || !qM.open) return;- let t = YM;- if (eN += e, pN("切换中", $M[eN] ?? null), eN >= $M.length - 3 && !nN) {- nN = !0;+async function zN(e) {+ if (bN || !fN.open) return;+ let t = mN;+ if (yN += e, MN("切换中", vN[yN] ?? null), yN >= vN.length - 3 && !xN) {+ xN = !0;try {- ZM += 1;- let e = await vN();- t === YM && ($M = lce($M, e));+ gN += 1;+ let e = await LN();+ t === mN && (vN = Use(vN, e));} catch {} finally {- nN = !1;+ xN = !1;}}- t === YM && (eN >= $M.length && (eN = 0), eN < 0 && (eN = $M.length - 1), await yN(e));+ t === mN && (yN >= vN.length && (yN = 0), yN < 0 && (yN = vN.length - 1), await RN(e));}-async function Sce(e) {- let t = ++YM;- xN(), XM += 1, ZM = 0, QM = ace(uN().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), qM = {- ...qM,+async function nce(e) {+ let t = ++mN;+ BN(), hN += 1, gN = 0, _N = zse(kN().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), fN = {+ ...fN,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), pN("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), MN("加载内容");try {- let n = await vN();+ let n = await LN();if (e && !n.some((t) => t.id === e)) {- let t = await UM(e).catch((e) => {- if (e instanceof OM) return null;+ let t = await cN(e).catch((e) => {+ if (e instanceof qM) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== YM) return;- if ($M = n, !$M.length) {- SN(), uN().warn("当前筛选下没有可直接播放的内容");+ if (t !== mN) return;+ if (vN = n, !vN.length) {+ VN(), kN().warn("当前筛选下没有可直接播放的内容");return;}- eN = Math.max(0, $M.findIndex((t) => t.id === e)), await yN();+ yN = Math.max(0, vN.findIndex((t) => t.id === e)), await RN();} catch {- if (t !== YM) return;- pN(null), SN();+ if (t !== mN) return;+ MN(null), VN();}}-function xN() {- clearInterval(sN), sN = 0, ON(), EN = null, cN = null, lN = !1, [...iN].forEach(mN), tN = !1;+function BN() {+ clearInterval(EN), EN = 0, qN(), GN = null, DN = null, ON = !1, [...CN].forEach(NN), bN = !1;}-function SN() {- qM.open && (YM++, xN(), qM = WM, document.body.removeAttribute("data-immerse-open"), dN(), uN().closed());+function VN() {+ fN.open && (mN++, BN(), fN = lN, document.body.removeAttribute("data-immerse-open"), AN(), kN().closed());}-var CN = 0, wN = null, TN = 0, EN = null, DN = 0;-function ON() {- clearTimeout(CN), CN = 0, wN = null;+var HN = 0, UN = null, WN = 0, GN = null, KN = 0;+function qN() {+ clearTimeout(HN), HN = 0, UN = null;}-function kN(e) {- let t = rN?.video;+function rce(e) {+ let t = SN?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- wN && wN.side === n && r - wN.at <= 280 ? (ON(), aM(t, uN().seekSeconds() * n)) : (CN && (clearTimeout(CN), CN = 0, iM(t)), wN = {+ UN && UN.side === n && r - UN.at <= 280 ? (qN(), sM(t, kN().seekSeconds() * n)) : (HN && (clearTimeout(HN), HN = 0, oM(t)), UN = {side: n,at: r- }, CN = window.setTimeout(() => {- CN = 0, wN = null, qM.open && iM(rN?.video);+ }, HN = window.setTimeout(() => {+ HN = 0, UN = null, fN.open && oM(SN?.video);}, 280));}-function AN() {- Date.now() < TN || iM(rN?.video);+function ice() {+ Date.now() < WN || oM(SN?.video);}-var jN = (e) => KM?.bar.toggleAttribute("data-scrubbing", e);-function MN(e) {- KM && (KM.progress.style.width = `${(e * 100).toFixed(2)}%`);+var JN = (e) => dN?.bar.toggleAttribute("data-scrubbing", e);+function YN(e) {+ dN && (dN.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function NN(e) {+function XN(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- EN = null;+ GN = null;return;}- let n = rN?.video;- EN = {+ let n = SN?.video;+ GN = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function PN(e) {- if (!EN || e.touches.length !== 1) return;- let t = e.touches[0].clientX - EN.x, n = e.touches[0].clientY - EN.y;- if (!EN.axis) {+function ZN(e) {+ if (!GN || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - GN.x, n = e.touches[0].clientY - GN.y;+ if (!GN.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- EN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", EN.axis === "x" && jN(!0);+ GN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", GN.axis === "x" && JN(!0);}- if (EN.axis !== "x") return;- let r = rN?.video, i = r && r.duration || 0;- i && (e.preventDefault(), EN.to = Math.min(i, Math.max(0, EN.from + t / window.innerWidth * i)), MN(EN.to / i));+ if (GN.axis !== "x") return;+ let r = SN?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), GN.to = Math.min(i, Math.max(0, GN.from + t / window.innerWidth * i)), YN(GN.to / i));}-function FN(e) {- if (!EN) return;- let t = EN;- if (EN = null, TN = Date.now() + 700, jN(!1), t.axis === "x") {- let e = rN?.video;+function QN(e) {+ if (!GN) return;+ let t = GN;+ if (GN = null, WN = Date.now() + 700, JN(!1), t.axis === "x") {+ let e = SN?.video;e && t.to != null && (e.currentTime = t.to);return;}let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;- Math.abs(i) > 60 ? (ON(), bN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), kN(n.clientX));+ Math.abs(i) > 60 ? (qN(), zN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), rce(n.clientX));}-function IN() {- EN = null, jN(!1);+function $N() {+ GN = null, JN(!1);}-function LN(e) {+function eP(e) {let t = Date.now();- t - DN < 260 || (DN = t, bN(e.deltaY > 0 ? 1 : -1));+ t - KN < 260 || (KN = t, zN(e.deltaY > 0 ? 1 : -1));}-function RN(e) {- let t = KM.bar.getBoundingClientRect();+function tP(e) {+ let t = dN.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function zN(e) {- cN?.duration() && (lN = !0, jN(!0), e.currentTarget.setPointerCapture(e.pointerId), MN(RN(e)), e.preventDefault());+function ace(e) {+ DN?.duration() && (ON = !0, JN(!0), e.currentTarget.setPointerCapture(e.pointerId), YN(tP(e)), e.preventDefault());}-function BN(e) {- lN && MN(RN(e));+function oce(e) {+ ON && YN(tP(e));}-function VN(e) {- if (!lN) return;- lN = !1, jN(!1);- let t = cN?.duration();- cN && t && (cN.video.currentTime = t * RN(e));+function sce(e) {+ if (!ON) return;+ ON = !1, JN(!1);+ let t = DN?.duration();+ DN && t && (DN.video.currentTime = t * tP(e));}-function HN() {- lN = !1, jN(!1);+function cce() {+ ON = !1, JN(!1);}-async function UN(e, t) {- let n = await H(CM, {+async function nP(e, t) {+ let n = await H(HM, {id: e,kind: t- }), r = U.getQueryData(bM(e));- if (!r) return hM(e, {+ }), r = U.getQueryData(zM(e));+ if (!r) return NM(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -33309,7 +33309,7 @@ async function UN(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return U.setQueryData(bM(e), i), hM(e, {+ return U.setQueryData(zM(e), i), NM(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -33317,7 +33317,7 @@ async function UN(e, t) {o_count: i.o_count}), n;}-var WN = [+var lce = [{kind: "dislike",glyph: "thumbs-down",@@ -33334,31 +33334,31 @@ var WN = [label: "记一次高潮"}];-function GN(e) {+function rP(e) {return St({- queryKey: bM(e ?? 0),- queryFn: ({ signal: t }) => kM(e, t),+ queryKey: zM(e ?? 0),+ queryFn: ({ signal: t }) => JM(e, t),enabled: e != null,staleTime: Infinity}).data;}-function KN({ kind: e, glyph: t, label: n, id: r }) {- let i = GN(r), a = Ct({+function uce({ kind: e, glyph: t, label: n, id: r }) {+ let i = rP(r), a = Ct({mutationFn: async (t) => {- let n = U.getQueryData(bM(t))?.feedback || null;+ let n = U.getQueryData(zM(t))?.feedback || null;return {- result: await UN(t, e),+ result: await nP(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- uN().toast(HM(e, t), { undo: async () => {- e === "o" ? await UN(r, "o-undo") : (t.feedback && await UN(r, t.feedback), n && await UN(r, n));+ kN().toast(sN(e, t), { undo: async () => {+ e === "o" ? await nP(r, "o-undo") : (t.feedback && await nP(r, t.feedback), n && await nP(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- bN(1);+ zN(1);}, 260);},- onError: (e) => uN().failure("更新反馈", e)+ onError: (e) => kN().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-immerse-action": "",@@ -33389,11 +33389,11 @@ function KN({ kind: e, glyph: t, label: n, id: r }) {})]});}-function qN({ shown: e }) {- let t = e?.item ?? null, n = GN(t?.id ?? null), r = n ? uce(n) : null, i = uN(), a = (e) => {- e.preventDefault(), n && (SN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function dce({ shown: e }) {+ let t = e?.item ?? null, n = rP(t?.id ?? null), r = n ? Wse(n) : null, i = kN(), a = (e) => {+ e.preventDefault(), n && (VN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (SN(), i.openItem(t.id));+ t && (VN(), i.openItem(t.id));}, s = r ? La(r.name, r.ref, va(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, O.jsxs)("div", {"data-immerse-ui": "",@@ -33422,18 +33422,18 @@ function qN({ shown: e }) {})]});}-var JN = { __html: ns("媒体加载中") };-function YN({ view: e }) {+var fce = { __html: ns("媒体加载中") };+function pce({ view: e }) {let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {let e = t.current;- return KM = {+ return dN = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", NN, { passive: !0 }), e.addEventListener("touchmove", PN, { passive: !1 }), e.addEventListener("touchend", FN, { passive: !1 }), e.addEventListener("touchcancel", IN, { passive: !0 }), e.addEventListener("wheel", LN, { passive: !0 }), () => {- e.removeEventListener("touchstart", NN), e.removeEventListener("touchmove", PN), e.removeEventListener("touchend", FN), e.removeEventListener("touchcancel", IN), e.removeEventListener("wheel", LN), KM = null;+ }, e.addEventListener("touchstart", XN, { passive: !0 }), e.addEventListener("touchmove", ZN, { passive: !1 }), e.addEventListener("touchend", QN, { passive: !1 }), e.addEventListener("touchcancel", $N, { passive: !0 }), e.addEventListener("wheel", eP, { passive: !0 }), () => {+ e.removeEventListener("touchstart", XN), e.removeEventListener("touchmove", ZN), e.removeEventListener("touchend", QN), e.removeEventListener("touchcancel", $N), e.removeEventListener("wheel", eP), dN = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -33450,10 +33450,10 @@ function YN({ view: e }) {children: [/* @__PURE__ */ (0, O.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: AN+ onClick: ice}), /* @__PURE__ */ (0, O.jsx)("div", {"data-immerse-actions": "",- children: WN.map((e) => /* @__PURE__ */ (0, O.jsx)(KN, {+ children: lce.map((e) => /* @__PURE__ */ (0, O.jsx)(uce, {...e,id: a}, e.kind))@@ -33466,7 +33466,7 @@ function YN({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: JN+ dangerouslySetInnerHTML: fce}), /* @__PURE__ */ (0, O.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -33474,7 +33474,7 @@ function YN({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: SN,+ onClick: VN,children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-x" })@@ -33483,90 +33483,90 @@ function YN({ view: e }) {/* @__PURE__ */ (0, O.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: zN,- onPointerMove: BN,- onPointerUp: VN,- onPointerCancel: HN,+ onPointerDown: ace,+ onPointerMove: oce,+ onPointerUp: sce,+ onPointerCancel: cce,children: /* @__PURE__ */ (0, O.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, O.jsx)(qN, { shown: e.shown })+ /* @__PURE__ */ (0, O.jsx)(dce, { shown: e.shown })]});}-var XN = {- open: Sce,- close: SN,- isOpen: () => qM.open,- activeVideo: () => qM.open ? rN?.video ?? null : null+var mce = {+ open: nce,+ close: VN,+ isOpen: () => fN.open,+ activeVideo: () => fN.open ? SN?.video ?? null : null};-function ZN(e) {- if (!qM.open) return;+function hce(e) {+ if (!fN.open) return;let t = e.target;- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && bN(1), e.key === "ArrowUp" && bN(-1)));+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && zN(1), e.key === "ArrowUp" && zN(-1)));}-function QN(e) {- let t = !GM;- return GM = e, t && (document.addEventListener("keydown", ZN), addEventListener("resize", () => {- qM.open && _N();+function gce(e) {+ let t = !uN;+ return uN = e, t && (document.addEventListener("keydown", hce), addEventListener("resize", () => {+ fN.open && IN();}), addEventListener("pagehide", () => {- iN.forEach((e) => Hj(e.session));- })), XN;+ CN.forEach((e) => Wj(e.session));+ })), mce;}-function $N() {- let e = (0, D.useSyncExternalStore)(mce, () => qM);- return GM ? /* @__PURE__ */ (0, O.jsx)(YN, { view: e }) : null;+function _ce() {+ let e = (0, D.useSyncExternalStore)(Jse, () => fN);+ return uN ? /* @__PURE__ */ (0, O.jsx)(pce, { view: e }) : null;}//#endregion//#region src/manage-header.ts-var eP = {+var iP = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, tP = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function nP(e) {- let t = eP[e.path] ? "cleanup" : e.section;+}, vce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function yce(e) {+ let t = iP[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var rP = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function iP(e) {+var bce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function aP(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = eP[e.path] ?? "";+ let n = iP[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: nP(e),+ pressed: yce(e),crumb: n,- compact: tP.has(e.path) || e.section === "configuration",+ compact: vce.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: rP(e.trash),+ text: bce(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var aP = (e) => e.replace(/[&<>"']/g, (e) => ({+var oP = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), oP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${aP(e)}"/></svg>`, sP = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";-function cP(e) {- let t = iP(e);+})[e]), sP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${oP(e)}"/></svg>`, cP = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";+function xce(e) {+ let t = aP(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${aP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${oP(r)}<span>${aP(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${oP("chevron-right")}</li><li aria-current="true"><span>${aP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? sP : `<span data-lede-text="">${aP(t.lede.text)}</span>${t.lede.total ? lP : ""}`}</p>`;- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${aP(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${oP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${sP(r)}<span>${oP(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${sP("chevron-right")}</li><li aria-current="true"><span>${oP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? cP : `<span data-lede-text="">${oP(t.lede.text)}</span>${t.lede.total ? Sce : ""}`}</p>`;+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${oP(t.title)}</h2>` + i;}-var lP = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Sce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";//#endregion//#region src/react/settings-panel/icon.tsx-function uP({ name: e }) {+function lP({ name: e }) {let { wide: t, viewBox: n } = Gt(e);return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: n,@@ -33575,7 +33575,7 @@ function uP({ name: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function dP({ name: e }) {+function Cce({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -33584,88 +33584,88 @@ function dP({ name: e }) {}//#endregion//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs-var fP = (e, t) => {+var wce = (e, t) => {let n = Array(e.length + t.length);for (let t = 0; t < e.length; t++) n[t] = e[t];for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];return n;-}, pP = (e, t) => ({+}, Tce = (e, t) => ({classGroupId: e,validator: t-}), mP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), uP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), hP = "-", gP = [], _P = "arbitrary..", vP = (e) => {- let t = xP(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), dP = "-", fP = [], Ece = "arbitrary..", Dce = (e) => {+ let t = kce(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return bP(e);- let n = e.split(hP);- return yP(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return Oce(e);+ let n = e.split(dP);+ return pP(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? fP(i, t) : t : i || gP;+ return t ? i ? wce(i, t) : t : i || fP;}- return n[e] || gP;+ return n[e] || fP;}};-}, yP = (e, t, n) => {+}, pP = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = yP(e, t + 1, i);+ let n = pP(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(hP) : e.slice(t).join(hP), s = a.length;+ let o = t === 0 ? e.join(dP) : e.slice(t).join(dP), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, bP = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, Oce = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);- return r ? _P + r : void 0;-})(), xP = (e) => {+ return r ? Ece + r : void 0;+})(), kce = (e) => {let { theme: t, classGroups: n } = e;- return SP(n, t);-}, SP = (e, t) => {- let n = mP();+ return Ace(n, t);+}, Ace = (e, t) => {+ let n = uP();for (let r in e) {let i = e[r];- CP(i, n, r, t);+ mP(i, n, r, t);}return n;-}, CP = (e, t, n, r) => {+}, mP = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- wP(i, t, n, r);+ jce(i, t, n, r);}-}, wP = (e, t, n, r) => {- typeof e == "string" ? TP(e, t, n) : typeof e == "function" ? EP(e, t, n, r) : DP(e, t, n, r);-}, TP = (e, t, n) => {- let r = e === "" ? t : OP(t, e);+}, jce = (e, t, n, r) => {+ typeof e == "string" ? Mce(e, t, n) : typeof e == "function" ? Nce(e, t, n, r) : Pce(e, t, n, r);+}, Mce = (e, t, n) => {+ let r = e === "" ? t : hP(t, e);r.classGroupId = n;-}, EP = (e, t, n, r) => {- kP(e) ? CP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(pP(n, e)));-}, DP = (e, t, n, r) => {+}, Nce = (e, t, n, r) => {+ Fce(e) ? mP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Tce(n, e)));+}, Pce = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- CP(o, OP(t, a), n, r);+ mP(o, hP(t, a), n, r);}-}, OP = (e, t) => {- let n = e, r = t.split(hP), i = r.length;+}, hP = (e, t) => {+ let n = e, r = t.split(dP), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = mP(), n.nextPart.set(t, i)), n = i;+ i || (i = uP(), n.nextPart.set(t, i)), n = i;}return n;-}, kP = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, AP = (e) => {+}, Fce = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ice = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -33683,19 +33683,19 @@ var fP = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, jP = "!", MP = ":", NP = [], PP = (e, t, n, r, i) => ({+}, gP = "!", _P = ":", Lce = [], vP = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), FP = (e) => {+}), Rce = (e) => {let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {let t = [], n = 0, r = 0, i = 0, a, o = e.length;for (let s = 0; s < o; s++) {let o = e[s];if (n === 0 && r === 0) {- if (o === MP) {+ if (o === _P) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -33707,13 +33707,13 @@ var fP = (e, t) => {o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(jP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(jP) && (c = s.slice(1), l = !0);+ s.endsWith(gP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(gP) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return PP(t, l, c, u);+ return vP(t, l, c, u);};if (t) {- let e = t + MP, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : PP(NP, !1, t, void 0, !0);+ let e = t + _P, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : vP(Lce, !1, t, void 0, !0);}if (n) {let e = r;@@ -33723,7 +33723,7 @@ var fP = (e, t) => {});}return r;-}, IP = (e) => {+}, zce = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -33735,18 +33735,18 @@ var fP = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, LP = (e) => ({- cache: AP(e.cacheSize),- parseClassName: FP(e),- sortModifiers: IP(e),- postfixLookupClassGroupIds: RP(e),- ...vP(e)-}), RP = (e) => {+}, Bce = (e) => ({+ cache: Ice(e.cacheSize),+ parseClassName: Rce(e),+ sortModifiers: zce(e),+ postfixLookupClassGroupIds: Vce(e),+ ...Dce(e)+}), Vce = (e) => {let t = Object.create(null), n = e.postfixLookupClassGroups;if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;return t;-}, zP = /\s+/, BP = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(zP), l = "";+}, Hce = /\s+/, Uce = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Hce), l = "";for (let e = c.length - 1; e >= 0; --e) {let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);if (u) {@@ -33766,7 +33766,7 @@ var fP = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + jP : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + gP : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33777,34 +33777,34 @@ var fP = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, VP = (...e) => {+}, Wce = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = HP(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = yP(n)) && (i && (i += " "), i += r);return i;-}, HP = (e) => {+}, yP = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = HP(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = yP(e[r])) && (n && (n += " "), n += t);return n;-}, UP = (e, ...t) => {- let n, r, i, a, o = (o) => (n = LP(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, bP = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = Bce(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {let t = r(e);if (t) return t;- let a = BP(e, n);+ let a = Uce(e, n);return i(e, a), a;};- return a = o, (...e) => a(VP(...e));-}, WP = [], GP = (e) => {- let t = (t) => t[e] || WP;+ return a = o, (...e) => a(Wce(...e));+}, Gce = [], xP = (e) => {+ let t = (t) => t[e] || Gce;return t.isThemeGetter = !0, t.themeKey = e, t;-}, KP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, qP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, JP = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, YP = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, XP = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ZP = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, QP = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, $P = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, eF = (e) => JP.test(e), tF = (e) => !!e && !Number.isNaN(Number(e)), nF = (e) => !!e && Number.isInteger(Number(e)), rF = (e) => e.endsWith("%") && tF(e.slice(0, -1)), iF = (e) => YP.test(e), aF = () => !0, oF = (e) => XP.test(e) && !ZP.test(e), sF = () => !1, cF = (e) => QP.test(e), lF = (e) => $P.test(e), uF = (e) => !pF(e) && !xF(e), dF = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), fF = (e) => kF(e, NF, sF), pF = (e) => KP.test(e), mF = (e) => kF(e, PF, oF), hF = (e) => kF(e, FF, tF), gF = (e) => kF(e, LF, aF), _F = (e) => kF(e, IF, sF), vF = (e) => kF(e, jF, sF), yF = (e) => kF(e, MF, lF), bF = (e) => kF(e, RF, cF), xF = (e) => qP.test(e), SF = (e) => AF(e, PF), CF = (e) => AF(e, IF), wF = (e) => AF(e, jF), TF = (e) => AF(e, NF), EF = (e) => AF(e, MF), DF = (e) => AF(e, RF, !0), OF = (e) => AF(e, LF, !0), kF = (e, t, n) => {- let r = KP.exec(e);+}, SP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, CP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Kce = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, qce = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jce = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Yce = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Xce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Zce = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, wP = (e) => Kce.test(e), TP = (e) => !!e && !Number.isNaN(Number(e)), EP = (e) => !!e && Number.isInteger(Number(e)), DP = (e) => e.endsWith("%") && TP(e.slice(0, -1)), OP = (e) => qce.test(e), kP = () => !0, Qce = (e) => Jce.test(e) && !Yce.test(e), AP = () => !1, $ce = (e) => Xce.test(e), ele = (e) => Zce.test(e), tle = (e) => !jP(e) && !IP(e), nle = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), rle = (e) => BP(e, WP, AP), jP = (e) => SP.test(e), MP = (e) => BP(e, GP, Qce), NP = (e) => BP(e, dle, TP), ile = (e) => BP(e, qP, kP), ale = (e) => BP(e, KP, AP), PP = (e) => BP(e, HP, AP), ole = (e) => BP(e, UP, ele), FP = (e) => BP(e, JP, $ce), IP = (e) => CP.test(e), LP = (e) => VP(e, GP), sle = (e) => VP(e, KP), RP = (e) => VP(e, HP), cle = (e) => VP(e, WP), lle = (e) => VP(e, UP), zP = (e) => VP(e, JP, !0), ule = (e) => VP(e, qP, !0), BP = (e, t, n) => {+ let r = SP.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, AF = (e, t, n = !1) => {- let r = qP.exec(e);+}, VP = (e, t, n = !1) => {+ let r = CP.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, jF = (e) => e === "position" || e === "percentage", MF = (e) => e === "image" || e === "url", NF = (e) => e === "length" || e === "size" || e === "bg-size", PF = (e) => e === "length", FF = (e) => e === "number", IF = (e) => e === "family-name", LF = (e) => e === "number" || e === "weight", RF = (e) => e === "shadow", zF = () => {- let e = GP("color"), t = GP("font"), n = GP("text"), r = GP("font-weight"), i = GP("tracking"), a = GP("leading"), o = GP("breakpoint"), s = GP("container"), c = GP("spacing"), l = GP("radius"), u = GP("shadow"), d = GP("inset-shadow"), f = GP("text-shadow"), p = GP("drop-shadow"), m = GP("blur"), h = GP("perspective"), g = GP("aspect"), _ = GP("ease"), v = GP("animate"), y = () => [+}, HP = (e) => e === "position" || e === "percentage", UP = (e) => e === "image" || e === "url", WP = (e) => e === "length" || e === "size" || e === "bg-size", GP = (e) => e === "length", dle = (e) => e === "number", KP = (e) => e === "family-name", qP = (e) => e === "number" || e === "weight", JP = (e) => e === "shadow", YP = () => {+ let e = xP("color"), t = xP("font"), n = xP("text"), r = xP("font-weight"), i = xP("tracking"), a = xP("leading"), o = xP("breakpoint"), s = xP("container"), c = xP("spacing"), l = xP("radius"), u = xP("shadow"), d = xP("inset-shadow"), f = xP("text-shadow"), p = xP("drop-shadow"), m = xP("blur"), h = xP("perspective"), g = xP("aspect"), _ = xP("ease"), v = xP("animate"), y = () => ["auto","avoid","all",@@ -33829,8 +33829,8 @@ var fP = (e, t) => {"left-bottom"], x = () => [...b(),- xF,- pF+ IP,+ jP], S = () => ["auto","hidden",@@ -33842,43 +33842,43 @@ var fP = (e, t) => {"contain","none"], w = () => [- xF,- pF,+ IP,+ jP,c], T = () => [- eF,+ wP,"full","auto",...w()], E = () => [- nF,+ EP,"none","subgrid",- xF,- pF+ IP,+ jP], D = () => ["auto",{ span: ["full",- nF,- xF,- pF+ EP,+ IP,+ jP] },- nF,- xF,- pF+ EP,+ IP,+ jP], O = () => [- nF,+ EP,"auto",- xF,- pF+ IP,+ jP], k = () => ["auto","min","max","fr",- xF,- pF+ IP,+ jP], A = () => ["start","end",@@ -33898,7 +33898,7 @@ var fP = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], N = () => [- eF,+ wP,"auto","full","dvw",@@ -33913,7 +33913,7 @@ var fP = (e, t) => {...w()], P = () => [s,- eF,+ wP,"screen","full","dvw",@@ -33924,7 +33924,7 @@ var fP = (e, t) => {"fit",...w()], ee = () => [- eF,+ wP,"screen","full","lh",@@ -33937,13 +33937,13 @@ var fP = (e, t) => {...w()], F = () => [e,- xF,- pF+ IP,+ jP], te = () => [...b(),- wF,- vF,- { position: [xF, pF] }+ RP,+ PP,+ { position: [IP, jP] }], I = () => ["no-repeat", { repeat: ["","x",@@ -33954,25 +33954,25 @@ var fP = (e, t) => {"auto","cover","contain",- TF,- fF,- { size: [xF, pF] }+ cle,+ rle,+ { size: [IP, jP] }], re = () => [- rF,- SF,- mF+ DP,+ LP,+ MP], ie = () => ["","none","full",l,- xF,- pF+ IP,+ jP], ae = () => ["",- tF,- SF,- mF+ TP,+ LP,+ MP], oe = () => ["solid","dashed",@@ -33996,32 +33996,32 @@ var fP = (e, t) => {"color","luminosity"], ce = () => [- tF,- rF,- wF,- vF+ TP,+ DP,+ RP,+ PP], le = () => ["","none",m,- xF,- pF+ IP,+ jP], ue = () => ["none",- tF,- xF,- pF+ TP,+ IP,+ jP], de = () => ["none",- tF,- xF,- pF+ TP,+ IP,+ jP], fe = () => [- tF,- xF,- pF+ TP,+ IP,+ jP], pe = () => [- eF,+ wP,"full",...w()];@@ -34035,17 +34035,17 @@ var fP = (e, t) => {"bounce"],aspect: ["video"],- blur: [iF],- breakpoint: [iF],- color: [aF],- container: [iF],- "drop-shadow": [iF],+ blur: [OP],+ breakpoint: [OP],+ color: [kP],+ container: [OP],+ "drop-shadow": [OP],ease: ["in","out","in-out"],- font: [uF],+ font: [tle],"font-weight": ["thin","extralight",@@ -34057,7 +34057,7 @@ var fP = (e, t) => {"extrabold","black"],- "inset-shadow": [iF],+ "inset-shadow": [OP],leading: ["none","tight",@@ -34074,11 +34074,11 @@ var fP = (e, t) => {"distant","none"],- radius: [iF],- shadow: [iF],- spacing: ["px", tF],- text: [iF],- "text-shadow": [iF],+ radius: [OP],+ shadow: [OP],+ spacing: ["px", TP],+ text: [OP],+ "text-shadow": [OP],tracking: ["tighter","tight",@@ -34092,9 +34092,9 @@ var fP = (e, t) => {aspect: [{ aspect: ["auto","square",- eF,- pF,- xF,+ wP,+ jP,+ IP,g] }],container: ["container"],@@ -34102,15 +34102,15 @@ var fP = (e, t) => {"","normal","size",- xF,- pF+ IP,+ jP] }],- "container-named": [dF],+ "container-named": [nle],columns: [{ columns: [- tF,+ TP,"auto",- pF,- xF,+ jP,+ IP,s] }],"break-after": [{ "break-after": y() }],@@ -34207,13 +34207,13 @@ var fP = (e, t) => {"collapse"],z: [{ z: [- nF,+ EP,"auto",- xF,- pF+ IP,+ jP] }],basis: [{ basis: [- eF,+ wP,"full","auto",s,@@ -34231,32 +34231,32 @@ var fP = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- tF,- eF,+ TP,+ wP,"auto","initial","none",- pF+ jP] }],grow: [{ grow: ["",- tF,- xF,- pF+ TP,+ IP,+ jP] }],shrink: [{ shrink: ["",- tF,- xF,- pF+ TP,+ IP,+ jP] }],order: [{ order: [- nF,+ EP,"first","last","none",- xF,- pF+ IP,+ jP] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -34363,15 +34363,15 @@ var fP = (e, t) => {"font-size": [{ text: ["base",n,- SF,- mF+ LP,+ MP] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- OF,- gF+ ule,+ ile] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -34383,15 +34383,15 @@ var fP = (e, t) => {"expanded","extra-expanded","ultra-expanded",- rF,- pF+ DP,+ jP] }],"font-family": [{ font: [- CF,- _F,+ sle,+ ale,t] }],- "font-features": [{ "font-features": [pF] }],+ "font-features": [{ "font-features": [jP] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -34400,14 +34400,14 @@ var fP = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- xF,- pF+ IP,+ jP] }],"line-clamp": [{ "line-clamp": [- tF,+ TP,"none",- xF,- hF+ IP,+ NP] }],leading: [{ leading: ["none",@@ -34416,16 +34416,16 @@ var fP = (e, t) => {] }],"list-image": [{ "list-image": ["none",- xF,- pF+ IP,+ jP] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- xF,- pF+ IP,+ jP] }],"text-alignment": [{ text: ["left",@@ -34445,18 +34445,18 @@ var fP = (e, t) => {],"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- tF,+ TP,"from-font","auto",- xF,- mF+ IP,+ MP] }],"text-decoration-color": [{ decoration: F() }],"underline-offset": [{ "underline-offset": [- tF,+ TP,"auto",- xF,- pF+ IP,+ jP] }],"text-transform": ["uppercase",@@ -34477,9 +34477,9 @@ var fP = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- nF,- xF,- pF+ EP,+ IP,+ jP] }],"vertical-align": [{ align: ["baseline",@@ -34490,8 +34490,8 @@ var fP = (e, t) => {"text-bottom","sub","super",- xF,- pF+ IP,+ jP] }],whitespace: [{ whitespace: ["normal",@@ -34519,8 +34519,8 @@ var fP = (e, t) => {] }],content: [{ content: ["none",- xF,- pF+ IP,+ jP] }],"bg-attachment": [{ bg: ["fixed",@@ -34555,24 +34555,24 @@ var fP = (e, t) => {"l","tl"] },- nF,- xF,- pF+ EP,+ IP,+ jP],radial: ["",- xF,- pF+ IP,+ jP],conic: ["",- nF,- xF,- pF+ EP,+ IP,+ jP]},- EF,- yF+ lle,+ ole] }],"bg-color": [{ bg: F() }],"gradient-from-pos": [{ from: re() }],@@ -34639,15 +34639,15 @@ var fP = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- tF,- xF,- pF+ TP,+ IP,+ jP] }],"outline-w": [{ outline: ["",- tF,- SF,- mF+ TP,+ LP,+ MP] }],"outline-color": [{ outline: F() }],shadow: [{ shadow: [@@ -34655,35 +34655,35 @@ var fP = (e, t) => {"inner","none",u,- DF,- bF+ zP,+ FP] }],"shadow-color": [{ shadow: F() }],"inset-shadow": [{ "inset-shadow": ["none",d,- DF,- bF+ zP,+ FP] }],"inset-shadow-color": [{ "inset-shadow": F() }],"ring-w": [{ ring: ae() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: F() }],- "ring-offset-w": [{ "ring-offset": [tF, mF] }],+ "ring-offset-w": [{ "ring-offset": [TP, MP] }],"ring-offset-color": [{ "ring-offset": F() }],"inset-ring-w": [{ "inset-ring": ae() }],"inset-ring-color": [{ "inset-ring": F() }],"text-shadow": [{ "text-shadow": ["none",f,- DF,- bF+ zP,+ FP] }],"text-shadow-color": [{ "text-shadow": F() }],opacity: [{ opacity: [- tF,- xF,- pF+ TP,+ IP,+ jP] }],"mix-blend": [{ "mix-blend": [...se(),@@ -34705,7 +34705,7 @@ var fP = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [tF] }],+ "mask-image-linear-pos": [{ "mask-linear": [TP] }],"mask-image-linear-from-pos": [{ "mask-linear-from": ce() }],"mask-image-linear-to-pos": [{ "mask-linear-to": ce() }],"mask-image-linear-from-color": [{ "mask-linear-from": F() }],@@ -34734,7 +34734,7 @@ var fP = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": ce() }],"mask-image-y-from-color": [{ "mask-y-from": F() }],"mask-image-y-to-color": [{ "mask-y-to": F() }],- "mask-image-radial": [{ "mask-radial": [xF, pF] }],+ "mask-image-radial": [{ "mask-radial": [IP, jP] }],"mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],"mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],"mask-image-radial-from-color": [{ "mask-radial-from": F() }],@@ -34745,7 +34745,7 @@ var fP = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [tF] }],+ "mask-image-conic-pos": [{ "mask-conic": [TP] }],"mask-image-conic-from-pos": [{ "mask-conic-from": ce() }],"mask-image-conic-to-pos": [{ "mask-conic-to": ce() }],"mask-image-conic-from-color": [{ "mask-conic-from": F() }],@@ -34769,111 +34769,111 @@ var fP = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- xF,- pF+ IP,+ jP] }],filter: [{ filter: ["","none",- xF,- pF+ IP,+ jP] }],blur: [{ blur: le() }],brightness: [{ brightness: [- tF,- xF,- pF+ TP,+ IP,+ jP] }],contrast: [{ contrast: [- tF,- xF,- pF+ TP,+ IP,+ jP] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- DF,- bF+ zP,+ FP] }],"drop-shadow-color": [{ "drop-shadow": F() }],grayscale: [{ grayscale: ["",- tF,- xF,- pF+ TP,+ IP,+ jP] }],"hue-rotate": [{ "hue-rotate": [- tF,- xF,- pF+ TP,+ IP,+ jP] }],invert: [{ invert: ["",- tF,- xF,- pF+ TP,+ IP,+ jP] }],saturate: [{ saturate: [- tF,- xF,- pF+ TP,+ IP,+ jP] }],sepia: [{ sepia: ["",- tF,- xF,- pF+ TP,+ IP,+ jP] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- xF,- pF+ IP,+ jP] }],"backdrop-blur": [{ "backdrop-blur": le() }],"backdrop-brightness": [{ "backdrop-brightness": [- tF,- xF,- pF+ TP,+ IP,+ jP] }],"backdrop-contrast": [{ "backdrop-contrast": [- tF,- xF,- pF+ TP,+ IP,+ jP] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- tF,- xF,- pF+ TP,+ IP,+ jP] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- tF,- xF,- pF+ TP,+ IP,+ jP] }],"backdrop-invert": [{ "backdrop-invert": ["",- tF,- xF,- pF+ TP,+ IP,+ jP] }],"backdrop-opacity": [{ "backdrop-opacity": [- tF,- xF,- pF+ TP,+ IP,+ jP] }],"backdrop-saturate": [{ "backdrop-saturate": [- tF,- xF,- pF+ TP,+ IP,+ jP] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- tF,- xF,- pF+ TP,+ IP,+ jP] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34889,39 +34889,39 @@ var fP = (e, t) => {"shadow","transform","none",- xF,- pF+ IP,+ jP] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- tF,+ TP,"initial",- xF,- pF+ IP,+ jP] }],ease: [{ ease: ["linear","initial",_,- xF,- pF+ IP,+ jP] }],delay: [{ delay: [- tF,- xF,- pF+ TP,+ IP,+ jP] }],animate: [{ animate: ["none",v,- xF,- pF+ IP,+ jP] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- xF,- pF+ IP,+ jP] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: ue() }],@@ -34937,8 +34937,8 @@ var fP = (e, t) => {"skew-x": [{ "skew-x": fe() }],"skew-y": [{ "skew-y": fe() }],transform: [{ transform: [- xF,- pF,+ IP,+ jP,"","none","gpu",@@ -34952,9 +34952,9 @@ var fP = (e, t) => {"translate-z": [{ "translate-z": pe() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- nF,- xF,- pF+ EP,+ IP,+ jP] }],accent: [{ accent: F() }],appearance: [{ appearance: ["none", "auto"] }],@@ -35004,8 +35004,8 @@ var fP = (e, t) => {"nwse-resize","zoom-in","zoom-out",- xF,- pF+ IP,+ jP] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -35091,15 +35091,15 @@ var fP = (e, t) => {"scroll","contents","transform",- xF,- pF+ IP,+ jP] }],fill: [{ fill: ["none", ...F()] }],"stroke-w": [{ stroke: [- tF,- SF,- mF,- hF+ TP,+ LP,+ MP,+ NP] }],stroke: [{ stroke: ["none", ...F()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -35357,16 +35357,16 @@ var fP = (e, t) => {"selection"]};-}, BF = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (VF(e, "cacheSize", t), VF(e, "prefix", n), VF(e, "experimentalParseClassName", r), HF(e.theme, a.theme), HF(e.classGroups, a.classGroups), HF(e.conflictingClassGroups, a.conflictingClassGroups), HF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), VF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), VF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), UF(e.theme, i.theme), UF(e.classGroups, i.classGroups), UF(e.conflictingClassGroups, i.conflictingClassGroups), UF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), WF(e, i, "postfixLookupClassGroups"), WF(e, i, "orderSensitiveModifiers"), e), VF = (e, t, n) => {+}, fle = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (XP(e, "cacheSize", t), XP(e, "prefix", n), XP(e, "experimentalParseClassName", r), ZP(e.theme, a.theme), ZP(e.classGroups, a.classGroups), ZP(e.conflictingClassGroups, a.conflictingClassGroups), ZP(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), XP(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), XP(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), QP(e.theme, i.theme), QP(e.classGroups, i.classGroups), QP(e.conflictingClassGroups, i.conflictingClassGroups), QP(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), $P(e, i, "postfixLookupClassGroups"), $P(e, i, "orderSensitiveModifiers"), e), XP = (e, t, n) => {n !== void 0 && (e[t] = n);-}, HF = (e, t) => {- if (t) for (let n in t) VF(e, n, t[n]);-}, UF = (e, t) => {- if (t) for (let n in t) WF(e, t, n);-}, WF = (e, t, n) => {+}, ZP = (e, t) => {+ if (t) for (let n in t) XP(e, n, t[n]);+}, QP = (e, t) => {+ if (t) for (let n in t) $P(e, t, n);+}, $P = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, Cce = (e, ...t) => typeof e == "function" ? UP(zF, e, ...t) : UP(() => BF(zF(), e), ...t), wce = [+}, ple = (e, ...t) => typeof e == "function" ? bP(YP, e, ...t) : bP(() => fle(YP(), e), ...t), mle = ["large-title","display-1","display-2",@@ -35380,18 +35380,18 @@ var fP = (e, t) => {"body-2","caption-1","caption-2"-], Tce = [+], hle = ["regular","medium","semibold","bold"-], GF = Cce({ extend: { classGroups: { "font-size": [{ text: wce.flatMap((e) => Tce.map((t) => `${e}-${t}`)) }] } } });-function KF(e) {+], eF = ple({ extend: { classGroups: { "font-size": [{ text: mle.flatMap((e) => hle.map((t) => `${e}-${t}`)) }] } } });+function tF(e) {return e;}//#endregion//#region src/react/components/pill-tab.tsx-var Ece = typeof window < "u" ? D.useLayoutEffect : D.useEffect, qF = KF({+var gle = typeof window < "u" ? D.useLayoutEffect : D.useEffect, nF = tF({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -35413,9 +35413,9 @@ var Ece = typeof window < "u" ? D.useLayoutEffect : D.useEffect, qF = KF({gray: "text-text-primary"}});-function JF({ children: e, className: t, ref: n, container: r, ...i }) {+function rF({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, D.useRef)(null), [o, s] = (0, D.useState)(null);- Ece(() => {+ gle(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -35451,7 +35451,7 @@ function JF({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: GF("pointer-events-none absolute left-0 top-0", qF.radius[o.variant], qF.thumb[o.variant]),+ className: eF("pointer-events-none absolute left-0 top-0", nF.radius[o.variant], nF.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -35462,44 +35462,44 @@ function JF({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, O.jsxs)("div", {ref: c,role: "group",- className: GF("relative inline-flex items-center gap-1", t),+ className: eF("relative inline-flex items-center gap-1", t),...i,children: [l, e]}) : r ? (0, Tt.createPortal)(l, r) : null;}//#endregion//#region src/react/manage-header/manage-header-island.tsx-var YF = null, XF = null, ZF = /* @__PURE__ */ new Set();-function Dce(e) {- return ZF.add(e), () => {- ZF.delete(e);+var iF = null, aF = null, oF = /* @__PURE__ */ new Set();+function _le(e) {+ return oF.add(e), () => {+ oF.delete(e);};}-function Oce() {- for (let e of [...ZF]) e();+function vle() {+ for (let e of [...oF]) e();}-var kce = { render(e) {- XF = e, (0, Tt.flushSync)(Oce);+var yle = { render(e) {+ aF = e, (0, Tt.flushSync)(vle);} };-function Ace(e) {- return YF = e, XF = null, kce;+function ble(e) {+ return iF = e, aF = null, yle;}-function jce() {- let e = (0, D.useSyncExternalStore)(Dce, () => XF);- return YF && e ? /* @__PURE__ */ (0, O.jsx)(Mce, {- host: YF,+function xle() {+ let e = (0, D.useSyncExternalStore)(_le, () => aF);+ return iF && e ? /* @__PURE__ */ (0, O.jsx)(Sle, {+ host: iF,props: e}) : null;}-function Mce({ host: e, props: t }) {- let n = iP(t);+function Sle({ host: e, props: t }) {+ let n = aP(t);return n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Nce, {+ /* @__PURE__ */ (0, O.jsx)(Cle, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, O.jsx)(Pce, {+ n.crumb ? /* @__PURE__ */ (0, O.jsx)(wle, {host: e,label: n.crumb}) : null,@@ -35508,13 +35508,13 @@ function Mce({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(Fce, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(Tle, {host: e,lede: n.lede})] }) : null;}-function Nce({ host: e, pressed: t, menu: n }) {+function Cle({ host: e, pressed: t, menu: n }) {let r = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -35524,7 +35524,7 @@ function Nce({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, O.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, O.jsx)(JF, {+ children: /* @__PURE__ */ (0, O.jsx)(rF, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -35538,13 +35538,13 @@ function Nce({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, O.jsx)(uP, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]}, n);})})});}-function Pce({ host: e, label: t }) {+function wle({ host: e, label: t }) {return /* @__PURE__ */ (0, O.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -35554,20 +35554,20 @@ function Pce({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {+ }), /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, O.jsx)("span", { children: t })})] })});}-function Fce({ host: e, lede: t }) {+function Tle({ host: e, lede: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: sP }- }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Ice, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {+ dangerouslySetInnerHTML: { __html: cP }+ }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Ele, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -35577,7 +35577,7 @@ function Fce({ host: e, lede: t }) {}) : null] })});}-function Ice({ text: e }) {+function Ele({ text: e }) {let t = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {us(t.current, e);@@ -35588,20 +35588,20 @@ function Ice({ text: e }) {}//#endregion//#region src/core/jav-title.ts-var Lce = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Rce = (e, t = e?.name) => {+var Dle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Ole = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(Lce, "") : n;-}, zce = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Bce = (e) => {+ return e?.is_jav ? n.replace(Dle, "") : n;+}, kle = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Ale = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(zce) || t[0] || "";+ return t.find(kle) || t[0] || "";};-function QF(e, t = e?.name) {- let n = Rce(e, t), r = String(e?.code || "").trim().toUpperCase();+function sF(e, t = e?.name) {+ let n = Ole(e, t), r = String(e?.code || "").trim().toUpperCase();if (!e?.is_jav || !r) return {code: "",title: n};- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Bce(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Ale(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => ["中字","无码","无码破解"@@ -35612,27 +35612,27 @@ function QF(e, t = e?.name) {badges: f};}-var $F = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = QF(e, t);+var cF = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = sF(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function eI(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = QF(e, t);+function lF(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = sF(e, t);if (!n) return B(r);let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${B(e)}</small>`).join("");return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${B(r)}</span>` : ""}`;}//#endregion//#region src/react/activity/tasks.ts-var tI = "/api/tasks", nI = ["tasks"], Vce = (e, t) => V(`${tI}?${new URLSearchParams({+var uF = "/api/tasks", dF = ["tasks"], jle = (e, t) => V(`${uF}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function Hce(...e) {+function Mle(...e) {let t = /* @__PURE__ */ new Map();for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);return [...t.values()].sort((e, t) => {@@ -35640,26 +35640,26 @@ function Hce(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var Uce = 2e3, Wce = 1e4, rI = (e) => e?.running?.length ? Uce : Wce, iI = (e) => V(tI, e);-async function Gce(e) {+var Nle = 2e3, Ple = 1e4, fF = (e) => e?.running?.length ? Nle : Ple, pF = (e) => V(uF, e);+async function Fle(e) {await U.fetchQuery({- queryKey: nI,- queryFn: () => iI(e)+ queryKey: dF,+ queryFn: () => pF(e)});}-var Kce = {+var Ile = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, qce = {+}, Lle = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, Jce = (e) => qce[e] || e, aI = {+}, Rle = (e) => Lle[e] || e, mF = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -35736,7 +35736,7 @@ var Kce = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, Yce = [+}, zle = ["gone_count","unclear_count","source_failed",@@ -35758,14 +35758,14 @@ var Kce = {"paused_count","miss","incomplete"-], Xce = ["face_match_unavailable"], oI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Xce.some((t) => e.result_summary?.[t] === !0) || Yce.some((t) => Number(e.result_summary?.[t]) > 0);-function Zce(e) {+], Ble = ["face_match_unavailable"], hF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Ble.some((t) => e.result_summary?.[t] === !0) || zle.some((t) => Number(e.result_summary?.[t]) > 0);+function Vle(e) {let t = e.result_summary?.issues;return Array.isArray(t) ? t.filter((e) => !!e && typeof e == "object" && typeof e.error == "string" && typeof e.label == "string") : [];}-var sI = /* @__PURE__ */ new Set(["library-processing"]);-function Qce(e, t = !0) {- if (!oI(e) && e.status !== "failed" || sI.has(e.task_key) && !t) return null;+var gF = /* @__PURE__ */ new Set(["library-processing"]);+function Hle(e, t = !0) {+ if (!hF(e) && e.status !== "failed" || gF.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -35783,12 +35783,12 @@ function Qce(e, t = !0) {label: n[1]} : null;}-function $ce(e) {+function Ule(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) sI.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);+ for (let n of e) gF.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);return new Set(t.values());}-function ele(e) {+function Wle(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -35797,7 +35797,7 @@ function ele(e) {}return t;}-function tle(e, t) {+function Gle(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -35819,12 +35819,12 @@ function tle(e, t) {}return n;}-var nle = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !oI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), cI = (e) => e.status === "pending" || e.status === "running";-function rle(e) {+var Kle = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !hF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), _F = (e) => e.status === "pending" || e.status === "running";+function qle(e) {let t = `${e.task_label}:`, n = e.progress_label || "", r = String(e.result_summary?.name || "") || (n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n), i = e.progress_total || 0, { name: a, ...o } = e.result_summary || {};- return [r, dI(e.error) || ule(o) || (cI(e) && i > 0 ? `${uI(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, xF(e.error) || AF(o) || (_F(e) && i > 0 ? `${yF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function lI(e) {+function vF(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -35833,19 +35833,19 @@ function lI(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function uI(e, t) {+function yF(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function ile(e) {+function bF(e) {let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";}-function dI(e) {- let t = ile(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+function xF(e) {+ let t = bF(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);return n ? Ut(n[1]) : t;}-var ale = {+var SF = {没有新写法: "未发现新别名",已装上: "已保存资料图片",已装着认得准的小图: "已保留身份核对通过的小尺寸图片",@@ -35859,11 +35859,11 @@ var ale = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, fI = {+}, CF = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, ole = {+}, wF = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -35874,8 +35874,8 @@ var ale = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, sle = (e) => ale[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${fI[t.toLowerCase()]} 资料页` : `已保存来自 ${fI[t.toLowerCase()]} 的资料`);-function pI(e) {+}, TF = (e) => SF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${CF[t.toLowerCase()]} 资料页` : `已保存来自 ${CF[t.toLowerCase()]} 的资料`);+function EF(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -35885,7 +35885,7 @@ function pI(e) {minute: "2-digit"});}-var cle = /* @__PURE__ */ new Set([+var DF = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -35894,14 +35894,14 @@ var cle = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function mI(e) {- let t = lle(e);+function OF(e) {+ let t = kF(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function lle(e) {- return Object.entries(e || {}).filter(([e, t]) => !cle.has(e) && (e in aI || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? dI(String(t)) : e === "outcome" || e === "result" ? sle(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${aI[e]} ${_n(Number(t))}` : e === "operation" ? `操作:${ole[String(t)] || "批量操作"}` : `${aI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function kF(e) {+ return Object.entries(e || {}).filter(([e, t]) => !DF.has(e) && (e in mF || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? xF(String(t)) : e === "outcome" || e === "result" ? TF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${mF[e]} ${_n(Number(t))}` : e === "operation" ? `操作:${wF[String(t)] || "批量操作"}` : `${mF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var ule = (e) => mI(e).join(" · "), hI = KF({+var AF = (e) => OF(e).join(" · "), jF = tF({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -35922,21 +35922,21 @@ var ule = (e) => mI(e).join(" · "), hI = KF({small: "size-4 shrink-0"}});-function gI({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function MF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, O.jsx)("button", {ref: i,type: r,- className: GF(hI.base, hI.size[t], n),+ className: eF(jF.base, jF.size[t], n),...a,children: /* @__PURE__ */ (0, O.jsx)(e, {- className: hI.icon[t],+ className: jF.icon[t],"aria-hidden": !0})});}//#endregion//#region src/react/components/glass-drift.tsx-function _I() {+function NF() {return /* @__PURE__ */ (0, O.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -35951,7 +35951,7 @@ function _I() {}//#endregion//#region src/react/components/use-stuck.ts-function vI(e) {+function PF(e) {(0, D.useEffect)(() => {let t = e.current;if (!t) return;@@ -35969,7 +35969,7 @@ function vI(e) {}//#endregion//#region src/react/components/use-horizontal-scroller.ts-function yI(e, t = !0) {+function FF(e, t = !0) {let [n, r] = (0, D.useState)(null), i = (0, D.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);@@ -35984,17 +35984,17 @@ function yI(e, t = !0) {}//#endregion//#region src/react/components/filter-glass.tsx-var dle = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var IF = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,className: e,dangerouslySetInnerHTML: { __html: ns("正在处理") }});-function bI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(gI, {+function LF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(MF, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? dle : t,+ icon: n && r === "spinner" ? IF : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -36004,9 +36004,9 @@ function bI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function fle({ title: e, children: t }) {+function RF({ title: e, children: t }) {let n = (0, D.useRef)(null);- return vI(n), /* @__PURE__ */ (0, O.jsxs)("div", {+ return PF(n), /* @__PURE__ */ (0, O.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -36019,20 +36019,20 @@ function fle({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, O.jsx)(_I, {})+ /* @__PURE__ */ (0, O.jsx)(NF, {})]});}-function xI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {- let d = (0, D.useRef)(null), f = yI(), p = yI(u);- return vI(d), /* @__PURE__ */ (0, O.jsxs)("div", {+function zF({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {+ let d = (0, D.useRef)(null), f = FF(), p = FF(u);+ return PF(d), /* @__PURE__ */ (0, O.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: GF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: eF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, O.jsx)("div", {@@ -36040,37 +36040,37 @@ function xI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: GF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: eF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),children: n}),/* @__PURE__ */ (0, O.jsx)("div", {ref: p,"data-filter-row": "bottom","aria-busy": l || void 0,- className: GF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: eF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, O.jsx)(_I, {})+ /* @__PURE__ */ (0, O.jsx)(NF, {})]});}-var ple = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";-function SI({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var BF = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";+function VF({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: GF(ple, r),+ className: eF(BF, r),onClick: n,children: e});}-var mle = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";-function CI({ children: e, onPress: t, busy: n = !1 }) {+var HF = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";+function UF({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glass-pill": "",- className: mle,+ className: HF,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -36081,13 +36081,13 @@ function CI({ children: e, onPress: t, busy: n = !1 }) {}//#endregion//#region src/react/components/use-view-glide.ts-var wI = (e, t) => [+var WF = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function TI(e, t, n) {+function GF(e, t, n) {if (!t.contains(e)) return null;let r = 0, i = 0;for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;@@ -36111,17 +36111,17 @@ function TI(e, t, n) {h: e.offsetHeight};}-function EI(e, t, n, r, { axis: i = "x" } = {}) {+function KF(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, D.useRef)(null), o = (0, D.useCallback)((r, o) => {let s = e.current, c = t.current, l = s?.parentElement;if (!s) return;- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? TI(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? GF(u, l, i) : null;if (!d || !d.w || !d.h) {ic(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && wI(f, d)) && nc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && WF(f, d)) && nc(s, o ? f : null, d, i);}, [e,t,@@ -36142,8 +36142,8 @@ function EI(e, t, n, r, { axis: i = "x" } = {}) {passive: !0}), addEventListener("resize", c, { passive: !0 });let l = new ResizeObserver(() => {- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? TI(o, r, i) : null, l = a.current;- (!s || !l || !wI(s, l)) && c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? GF(o, r, i) : null, l = a.current;+ (!s || !l || !WF(s, l)) && c();}), u = t.current;if (u && r) {l.observe(u);@@ -36175,7 +36175,7 @@ function EI(e, t, n, r, { axis: i = "x" } = {}) {}//#endregion//#region src/react/boardui/components/base/buttons/button.tsx-var DI = KF({+var qF = tF({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -36230,44 +36230,44 @@ var DI = KF({].join(" ")}});-function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, type: s = "button", ref: c, ...l }) {+function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, type: s = "button", ref: c, ...l }) {return /* @__PURE__ */ (0, O.jsxs)("button", {ref: c,type: s,- className: GF(DI.base, DI.size[t], DI.variant[e], n && DI.iconOnlySize[t], o),+ className: eF(qF.base, qF.size[t], qF.variant[e], n && qF.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: DI.icon[t],+ className: qF.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: DI.label[t],+ className: qF.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {- className: DI.icon[t],+ className: qF.icon[t],"aria-hidden": !0}) : null]});}-function OI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function JF({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, O.jsxs)("a", {ref: s,- className: GF(DI.base, DI.size[t], DI.variant[e], n && DI.iconOnlySize[t], o),+ className: eF(qF.base, qF.size[t], qF.variant[e], n && qF.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: DI.icon[t],+ className: qF.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: DI.label[t],+ className: qF.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {- className: DI.icon[t],+ className: qF.icon[t],"aria-hidden": !0}) : null]@@ -36275,12 +36275,12 @@ function OI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead}//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var kI = Symbol("default");-function AI({ values: e, children: t }) {+var YF = Symbol("default");+function XF({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ D.createElement(n.Provider, { value: r }, t);return t;}-function jI(e) {+function ZF(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, D.useMemo)(() => {let e, l, u;@@ -36314,11 +36314,11 @@ function jI(e) {c]);}-function MI(e, t) {+function QF(e, t) {let n = (0, D.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || kI;+ let e = t || YF;if (!n.slots[e]) {let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";throw Error(`${r} Valid slot names are ${e}.`);@@ -36327,8 +36327,8 @@ function MI(e, t) {}return n;}-function NI(e, t, n) {- let { ref: r, ...i } = MI(n, e.slot) || {}, a = vx((0, D.useMemo)(() => lx(t, r), [t, r])), o = K(i, e);+function $F(e, t, n) {+ let { ref: r, ...i } = QF(n, e.slot) || {}, a = Nx((0, D.useMemo)(() => wx(t, r), [t, r])), o = q(i, e);return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {let n = typeof i.style == "function" ? i.style(t) : i.style, r = {...t.defaultStyle,@@ -36346,42 +36346,42 @@ function NI(e, t, n) {...e.style}), [o, a];}-function PI(e = !0) {+function eI(e = !0) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return sb(() => {+ return gb(() => {r.current || n(!1);}, []), [i, t];}-function FI(e) {+function tI(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function hle(e, t, n) {- let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => lx(n, a), [n, a]);- sb(() => {}, [e, r]);+function nI(e, t, n) {+ let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => wx(n, a), [n, a]);+ gb(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ D.createElement(e, s);}-var II = {}, LI = new Proxy({}, { get(e, t) {+var rI = {}, iI = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = II[t];- return n || (n = /*#__PURE__*/ (0, D.forwardRef)(hle.bind(null, t)), II[t] = n), n;-} }), RI = /*#__PURE__*/ (0, D.createContext)(null), zI = /*#__PURE__*/ (0, D.createContext)(null), BI = /*#__PURE__*/ (0, D.createContext)(null), VI = {+ let n = rI[t];+ return n || (n = /*#__PURE__*/ (0, D.forwardRef)(nI.bind(null, t)), rI[t] = n), n;+} }), aI = /*#__PURE__*/ (0, D.createContext)(null), oI = /*#__PURE__*/ (0, D.createContext)(null), sI = /*#__PURE__*/ (0, D.createContext)(null), cI = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return HI(e, null, t);+ return lI(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return HI(e, t, n);+ return lI(e, t, n);}};-function HI(e, t, n) {- return Uy({+function lI(e, t, n) {+ return qy({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -36391,11 +36391,11 @@ function HI(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, gle(e, t, n));+ }), r, uI(e, t, n));}});}-function gle(e, t, n) {+function uI(e, t, n) {let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);let o = t.nextKey == null ? null : e.getItem(t.nextKey);@@ -36414,25 +36414,25 @@ function gle(e, t, n) {}return s;}-var UI = /*#__PURE__*/ (0, D.createContext)(VI);-function WI(e) {+var dI = /*#__PURE__*/ (0, D.createContext)(cI);+function fI(e) {return (0, D.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var GI = /*#__PURE__*/ (0, D.createContext)({}), KI = /*#__PURE__*/ Cx(function(e, t) {- [e, t] = NI(e, t, GI);- let { elementType: n = "label", ...r } = e, i = LI[n];+var pI = /*#__PURE__*/ (0, D.createContext)({}), mI = /*#__PURE__*/ Rx(function(e, t) {+ [e, t] = $F(e, t, pI);+ let { elementType: n = "label", ...r } = e, i = iI[n];return /*#__PURE__*/ D.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), _le = /*#__PURE__*/ (0, D.createContext)(null), qI = /*#__PURE__*/ (0, D.createContext)({}), JI = /*#__PURE__*/ Cx(function(e, t) {- [e, t] = NI(e, t, qI);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = gie(e, t);- i = yle(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = oT(e), { hoverProps: l, isHovered: u } = uT({+}), hI = /*#__PURE__*/ (0, D.createContext)(null), gI = /*#__PURE__*/ (0, D.createContext)({}), _I = /*#__PURE__*/ Rx(function(e, t) {+ [e, t] = $F(e, t, gI);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = lie(e, t);+ i = yI(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = OT(e), { hoverProps: l, isHovered: u } = MT({...e,isDisabled: e.isDisabled || r}), d = {@@ -36442,25 +36442,25 @@ var GI = /*#__PURE__*/ (0, D.createContext)({}), KI = /*#__PURE__*/ Cx(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = jI({+ }, f = ZF({...e,values: d,defaultClassName: "react-aria-Button"- }), p = sx(i.id), m = sx(), h = i["aria-labelledby"];+ }), p = Sx(i.id), m = Sx(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, D.useRef)(r);(0, D.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && sC(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && _C(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = yS(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ D.createElement(LI.button, {- ...K(_, f, i, o, l),+ let _ = ES(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ D.createElement(iI.button, {+ ...q(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,ref: t,@@ -36473,62 +36473,62 @@ var GI = /*#__PURE__*/ (0, D.createContext)({}), KI = /*#__PURE__*/ Cx(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ D.createElement(_le.Provider, { value: { id: m } }, f.children));-}), vle = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function yle(e, t) {+ }, /*#__PURE__*/ D.createElement(hI.Provider, { value: { id: m } }, f.children));+}), vI = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function yI(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !vle.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !vI.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}//#endregion//#region node_modules/react-aria-components/dist/private/Heading.mjs-var YI = /*#__PURE__*/ (0, D.createContext)({}), XI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = NI(e, t, YI);- let { children: n, level: r = 3, className: i, ...a } = e, o = LI[`h${r}`];+var bI = /*#__PURE__*/ (0, D.createContext)({}), xI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = $F(e, t, bI);+ let { children: n, level: r = 3, className: i, ...a } = e, o = iI[`h${r}`];return /*#__PURE__*/ D.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), ZI = /*#__PURE__*/ (0, D.createContext)({}), ble = /*#__PURE__*/ Cx(function(e, t) {- [e, t] = NI(e, t, ZI);- let { elementType: n = "span", ...r } = e, i = LI[n];+}), SI = /*#__PURE__*/ (0, D.createContext)({}), CI = /*#__PURE__*/ Rx(function(e, t) {+ [e, t] = $F(e, t, SI);+ let { elementType: n = "span", ...r } = e, i = iI[n];return /*#__PURE__*/ D.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), QI = /*#__PURE__*/ (0, D.createContext)(null), $I = /*#__PURE__*/ (0, D.createContext)(null), eL = /*#__PURE__*/ (0, D.createContext)(null), tL = /*#__PURE__*/ (0, D.createContext)(null), xle = /*#__PURE__*/ (0, D.createContext)(null), nL = /*#__PURE__*/ (0, D.createContext)(null);-function Sle(e, t) {- let { validationBehavior: n } = MI($I) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(xle), a = vx((0, D.useMemo)(() => lx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...FI(e),+}), wI = /*#__PURE__*/ (0, D.createContext)(null), TI = /*#__PURE__*/ (0, D.createContext)(null), EI = /*#__PURE__*/ (0, D.createContext)(null), DI = /*#__PURE__*/ (0, D.createContext)(null), OI = /*#__PURE__*/ (0, D.createContext)(null), kI = /*#__PURE__*/ (0, D.createContext)(null);+function AI(e, t) {+ let { validationBehavior: n } = QF(TI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(OI), a = Nx((0, D.useMemo)(() => wx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...tI(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? zie(o, i, a) : OC(o, NC(e), a), a];+ return [i ? gie(o, i, a) : JC(o, tw(e), a), a];}-var Cle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = NI(r, t, eL);- let [i, a] = Sle(e, n);- return /*#__PURE__*/ D.createElement(nL.Provider, { value: {+ [e, t] = $F(r, t, EI);+ let [i, a] = AI(e, n);+ return /*#__PURE__*/ D.createElement(kI.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ D.createElement(wle, {+ } }, /*#__PURE__*/ D.createElement(MI, {...e,ref: t}));-}), wle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, D.useContext)(nL), { isFocused: p, isFocusVisible: m, focusProps: h } = oT(), g = a || o, { hoverProps: _, isHovered: v } = uT({+}), MI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, D.useContext)(kI), { isFocused: p, isFocusVisible: m, focusProps: h } = OT(), g = a || o, { hoverProps: _, isHovered: v } = MT({...e,isDisabled: g- }), y = jI({+ }), y = ZF({...e,defaultClassName: u,values: {@@ -36543,9 +36543,9 @@ var Cle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = yS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(LI.label, {- ...K(b, n, _, y),+ }), b = ES(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(iI.label, {+ ...q(b, n, _, y),ref: t,slot: e.slot || void 0,"data-selected": i || void 0,@@ -36558,20 +36558,20 @@ var Cle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ D.createElement(HC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {- ...K(r, h),+ }, /*#__PURE__*/ D.createElement(uw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ ...q(r, h),ref: l})), y.children);-}), rL = /*#__PURE__*/ (0, D.createContext)({}), iL = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = NI(e, t, rL);+}), NI = /*#__PURE__*/ (0, D.createContext)({}), PI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = $F(e, t, NI);let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";- let { hoverProps: l, isHovered: u } = uT({+ let { hoverProps: l, isHovered: u } = MT({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = oT({ within: !0 }), m = jI({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = OT({ within: !0 }), m = ZF({...e,values: {isHovered: u,@@ -36582,8 +36582,8 @@ var Cle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ D.createElement(LI.div, {- ...K(c, p, l),+ return /*#__PURE__*/ D.createElement(iI.div, {+ ...q(c, p, l),...m,ref: t,role: e.role ?? "group",@@ -36595,18 +36595,18 @@ var Cle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), aL = /*#__PURE__*/ (0, D.createContext)({}), Tle = (e) => {+}), FI = /*#__PURE__*/ (0, D.createContext)({}), II = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Ele = /*#__PURE__*/ Cx(function(e, t) {- [e, t] = NI(e, t, aL);- let { hoverProps: n, isHovered: r } = uT({+}, LI = /*#__PURE__*/ Rx(function(e, t) {+ [e, t] = $F(e, t, FI);+ let { hoverProps: n, isHovered: r } = MT({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = oT({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = OT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = jI({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = ZF({...e,values: {isHovered: r,@@ -36617,8 +36617,8 @@ var Cle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ D.createElement(LI.input, {- ...K(Tle(e), o, n),+ return /*#__PURE__*/ D.createElement(iI.input, {+ ...q(II(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -36627,24 +36627,24 @@ var Cle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Dle = 0, Ole = 100, kle = 1;-function Ale(e) {- let { isDisabled: t = !1, minValue: n = Dle, maxValue: r = Ole, numberFormatter: i, step: a = kle, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {+}), RI = 0, zI = 100, BI = 1;+function VI(e) {+ let { isDisabled: t = !1, minValue: n = RI, maxValue: r = zI, numberFormatter: i, step: a = BI, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {let e = (r - n) / 10;- return e = IC(e, 0, e + a, a), Math.max(e, a);+ return e = iw(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, D.useCallback)((e) => e?.map((t, i) => IC(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [+ ]), c = (0, D.useCallback)((e) => e?.map((t, i) => iw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a- ]), l = (0, D.useMemo)(() => c(sL(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c(sL(e.defaultValue) ?? [n]), [+ ]), l = (0, D.useMemo)(() => c(UI(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c(UI(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = cL(e.value, e.defaultValue, e.onChange), f = cL(e.value, e.defaultValue, e.onChangeEnd), [p, m] = MC(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {+ ]), d = WI(e.value, e.defaultValue, e.onChange), f = WI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = ew(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -36667,15 +36667,15 @@ function Ale(e) {function j(e, n) {if (t || !k(e)) return;let r = E(e), i = O(e);- n = IC(n, r, i, a);- let o = oL(x.current, e, n);+ n = iw(n, r, i, a);+ let o = HI(x.current, e, n);C(o);}function M(e, n) {if (t || !k(e)) return;n && (x.current = p);let r = S.current[e];- S.current = oL(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = HI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let N = (0, D.useRef)(null);function P(e = p) {@@ -36696,15 +36696,15 @@ function Ale(e) {return Math.round((e - n) / a) * a + n;}function te(e) {- return PC(F(e * (r - n) + n), n, r);+ return nw(F(e * (r - n) + n), n, r);}function I(e, t = 1) {let i = Math.max(t, a);- j(e, IC(p[e] + i, n, r, a));+ j(e, iw(p[e] + i, n, r, a));}function ne(e, t = 1) {let i = Math.max(t, a);- j(e, IC(p[e] - i, n, r, a));+ j(e, iw(p[e] - i, n, r, a));}return {values: p,@@ -36733,32 +36733,32 @@ function Ale(e) {isDisabled: t};}-function oL(e, t, n) {+function HI(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function sL(e) {+function UI(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function cL(e, t, n) {+function WI(e, t, n) {return (r) => {typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);};}//#endregion//#region node_modules/react-aria-components/dist/private/Slider.mjs-var jle = /*#__PURE__*/ (0, D.createContext)(null), lL = /*#__PURE__*/ (0, D.createContext)(null), uL = /*#__PURE__*/ (0, D.createContext)(null), Mle = /*#__PURE__*/ (0, D.createContext)(null), Nle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = NI(e, t, jle);- let n = (0, D.useRef)(null), r = Wie(e.formatOptions), i = Ale({+var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.createContext)(null), KI = /*#__PURE__*/ (0, D.createContext)(null), Yle = /*#__PURE__*/ (0, D.createContext)(null), Xle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = $F(e, t, Jle);+ let n = (0, D.useRef)(null), r = xie(e.formatOptions), i = VI({...e,numberFormatter: r- }), [a, o] = PI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Gie({+ }), [a, o] = eI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Sie({...e,label: o- }, i, n), d = jI({+ }, i, n), d = ZF({...e,values: {orientation: i.orientation,@@ -36766,32 +36766,32 @@ var jle = /*#__PURE__*/ (0, D.createContext)(null), lL = /*#__PURE__*/ (0, D.crestate: i},defaultClassName: "react-aria-Slider"- }), f = yS(e, { global: !0 });- return delete f.id, /*#__PURE__*/ D.createElement(AI, { values: [- [lL, i],- [uL, {+ }), f = ES(e, { global: !0 });+ return delete f.id, /*#__PURE__*/ D.createElement(XF, { values: [+ [GI, i],+ [KI, {...c,ref: n}],- [Mle, u],- [GI, {+ [Yle, u],+ [pI, {...l,ref: a}]- ] }, /*#__PURE__*/ D.createElement(LI.div, {- ...K(f, d, s),+ ] }, /*#__PURE__*/ D.createElement(iI.div, {+ ...q(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), Ple = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = NI(e, t, uL);- let n = (0, D.useContext)(lL), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = uT({+}), Zle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = $F(e, t, KI);+ let n = (0, D.useContext)(GI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = MT({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = jI({+ }), l = ZF({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -36801,22 +36801,22 @@ var jle = /*#__PURE__*/ (0, D.createContext)(null), lL = /*#__PURE__*/ (0, D.crestate: n}});- return /*#__PURE__*/ D.createElement(LI.div, {- ...K(o, s),+ return /*#__PURE__*/ D.createElement(iI.div, {+ ...q(o, s),...l,ref: t,"data-hovered": c || void 0,"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), Fle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, D.useContext)(lL), { ref: i } = MI(uL), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = PI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Kie({+}), Qle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, D.useContext)(GI), { ref: i } = QF(KI), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = eI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Cie({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = oT(), { hoverProps: v, isHovered: y } = uT(e), b = jI({+ }, r), { focusProps: g, isFocusVisible: _ } = OT(), { hoverProps: v, isHovered: y } = MT(e), b = ZF({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -36827,9 +36827,9 @@ var jle = /*#__PURE__*/ (0, D.createContext)(null), lL = /*#__PURE__*/ (0, D.creisFocusVisible: _,isDisabled: h}- }), x = yS(e, { global: !0 });- return delete x.id, /*#__PURE__*/ D.createElement(LI.div, {- ...K(x, u, v),+ }), x = ES(e, { global: !0 });+ return delete x.id, /*#__PURE__*/ D.createElement(iI.div, {+ ...q(x, u, v),...b,ref: t,style: {@@ -36841,15 +36841,15 @@ var jle = /*#__PURE__*/ (0, D.createContext)(null), lL = /*#__PURE__*/ (0, D.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ D.createElement(HC, null, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(uw, null, /*#__PURE__*/ D.createElement("input", {ref: s,- ...K(d, g)- })), /*#__PURE__*/ D.createElement(AI, { values: [[GI, {+ ...q(d, g)+ })), /*#__PURE__*/ D.createElement(XF, { values: [[pI, {...f,ref: c}]] }, b.children));-}), dL = {};-dL = {+}), qI = {};+qI = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -36857,8 +36857,8 @@ dL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var fL = {};-fL = {+var JI = {};+JI = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -36866,8 +36866,8 @@ fL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var pL = {};-pL = {+var YI = {};+YI = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -36875,8 +36875,8 @@ pL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var mL = {};-mL = {+var XI = {};+XI = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -36884,8 +36884,8 @@ mL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var hL = {};-hL = {+var ZI = {};+ZI = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -36893,8 +36893,8 @@ hL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var gL = {};-gL = {+var QI = {};+QI = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -36902,8 +36902,8 @@ gL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var _L = {};-_L = {+var $I = {};+$I = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -36911,8 +36911,8 @@ _L = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var vL = {};-vL = {+var eL = {};+eL = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -36920,8 +36920,8 @@ vL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var yL = {};-yL = {+var tL = {};+tL = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -36929,8 +36929,8 @@ yL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var bL = {};-bL = {+var nL = {};+nL = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -36938,8 +36938,8 @@ bL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var xL = {};-xL = {+var rL = {};+rL = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -36947,8 +36947,8 @@ xL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var SL = {};-SL = {+var iL = {};+iL = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -36956,8 +36956,8 @@ SL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var CL = {};-CL = {+var aL = {};+aL = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -36965,8 +36965,8 @@ CL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var wL = {};-wL = {+var oL = {};+oL = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -36974,8 +36974,8 @@ wL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var TL = {};-TL = {+var sL = {};+sL = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -36983,8 +36983,8 @@ TL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var EL = {};-EL = {+var cL = {};+cL = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -36992,8 +36992,8 @@ EL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var DL = {};-DL = {+var lL = {};+lL = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -37001,8 +37001,8 @@ DL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var OL = {};-OL = {+var uL = {};+uL = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -37010,8 +37010,8 @@ OL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var kL = {};-kL = {+var dL = {};+dL = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -37019,8 +37019,8 @@ kL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var AL = {};-AL = {+var fL = {};+fL = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",@@ -37028,8 +37028,8 @@ AL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var jL = {};-jL = {+var pL = {};+pL = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",@@ -37037,8 +37037,8 @@ jL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var ML = {};-ML = {+var mL = {};+mL = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",@@ -37046,8 +37046,8 @@ ML = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var NL = {};-NL = {+var hL = {};+hL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -37055,8 +37055,8 @@ NL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var PL = {};-PL = {+var gL = {};+gL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -37064,8 +37064,8 @@ PL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var FL = {};-FL = {+var _L = {};+_L = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",@@ -37073,8 +37073,8 @@ FL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var IL = {};-IL = {+var vL = {};+vL = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",@@ -37082,8 +37082,8 @@ IL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var LL = {};-LL = {+var yL = {};+yL = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",@@ -37091,8 +37091,8 @@ LL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var RL = {};-RL = {+var bL = {};+bL = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",@@ -37100,8 +37100,8 @@ RL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var zL = {};-zL = {+var xL = {};+xL = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",@@ -37109,8 +37109,8 @@ zL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var BL = {};-BL = {+var SL = {};+SL = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",@@ -37118,8 +37118,8 @@ BL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var VL = {};-VL = {+var CL = {};+CL = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",@@ -37127,8 +37127,8 @@ VL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var HL = {};-HL = {+var wL = {};+wL = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",@@ -37136,8 +37136,8 @@ HL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var UL = {};-UL = {+var TL = {};+TL = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",@@ -37145,8 +37145,8 @@ UL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var WL = {};-WL = {+var EL = {};+EL = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",@@ -37154,52 +37154,52 @@ WL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var GL = {};-GL = {- "ar-AE": dL,- "bg-BG": fL,- "cs-CZ": pL,- "da-DK": mL,- "de-DE": hL,- "el-GR": gL,- "en-US": _L,- "es-ES": vL,- "et-EE": yL,- "fi-FI": bL,- "fr-FR": xL,- "he-IL": SL,- "hr-HR": CL,- "hu-HU": wL,- "it-IT": TL,- "ja-JP": EL,- "ko-KR": DL,- "lt-LT": OL,- "lv-LV": kL,- "nb-NO": AL,- "nl-NL": jL,- "pl-PL": ML,- "pt-BR": NL,- "pt-PT": PL,- "ro-RO": FL,- "ru-RU": IL,- "sk-SK": LL,- "sl-SI": RL,- "sr-SP": zL,- "sv-SE": BL,- "tr-TR": VL,- "uk-UA": HL,- "zh-CN": UL,- "zh-TW": WL+var DL = {};+DL = {+ "ar-AE": qI,+ "bg-BG": JI,+ "cs-CZ": YI,+ "da-DK": XI,+ "de-DE": ZI,+ "el-GR": QI,+ "en-US": $I,+ "es-ES": eL,+ "et-EE": tL,+ "fi-FI": nL,+ "fr-FR": rL,+ "he-IL": iL,+ "hr-HR": aL,+ "hu-HU": oL,+ "it-IT": sL,+ "ja-JP": cL,+ "ko-KR": lL,+ "lt-LT": uL,+ "lv-LV": dL,+ "nb-NO": fL,+ "nl-NL": pL,+ "pl-PL": mL,+ "pt-BR": hL,+ "pt-PT": gL,+ "ro-RO": _L,+ "ru-RU": vL,+ "sk-SK": yL,+ "sl-SI": bL,+ "sr-SP": xL,+ "sv-SE": SL,+ "tr-TR": CL,+ "uk-UA": wL,+ "zh-CN": TL,+ "zh-TW": EL};//#endregion//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var KL = /*#__PURE__*/ (0, D.createContext)({}), qL = /*#__PURE__*/ (0, D.createContext)(null), Ile = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { render: n } = (0, D.useContext)(qL);+var OL = /*#__PURE__*/ (0, D.createContext)({}), kL = /*#__PURE__*/ (0, D.createContext)(null), $le = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { render: n } = (0, D.useContext)(kL);return /*#__PURE__*/ D.createElement(D.Fragment, null, n(e, t));});-function JL(e, t) {+function AL(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, D.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement(Ile, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement($le, { target: e });}, [t?.target,r,@@ -37207,7 +37207,7 @@ function JL(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function YL(e, t, n) {+function jL(e, t, n) {let r = e.focusedKey, i = null;if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {let e = n.collection.getKeyAfter(i), t = null;@@ -37229,14 +37229,14 @@ function YL(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Header.mjs-var XL = /*#__PURE__*/ (0, D.createContext)({}), Lle = /*#__PURE__*/ (0, D.createContext)(null);-function ZL(e) {+var ML = /*#__PURE__*/ (0, D.createContext)({}), eue = /*#__PURE__*/ (0, D.createContext)(null);+function NL(e) {let t = (0, D.useRef)({});- return /*#__PURE__*/ D.createElement(Lle.Provider, { value: t }, e.children);+ return /*#__PURE__*/ D.createElement(eue.Provider, { value: t }, e.children);}//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var QL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), $L = /*#__PURE__*/ (0, D.createContext)({}), Rle = /*#__PURE__*/ jx(class extends Fy {+var PL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), FL = /*#__PURE__*/ (0, D.createContext)({}), tue = /*#__PURE__*/ Kx(class extends zy {static {this.type = "separator";}@@ -37249,17 +37249,17 @@ var QL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), $L = /*#__PURE_return null;}}, function(e, t) {- [e, t] = NI(e, t, $L);+ [e, t] = $F(e, t, FL);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = LI[c], { separatorProps: u } = UD({+ let l = iI[c], { separatorProps: u } = Aae({...s,elementType: n,orientation: r- }), d = yS(e, { global: !0 });+ }), d = ES(e, { global: !0 });return /*#__PURE__*/ D.createElement(l, {render: e.render,- ...K(d, u),+ ...q(d, u),style: i,className: a ?? "react-aria-Separator",ref: t,@@ -37268,13 +37268,13 @@ var QL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), $L = /*#__PURE_});//#endregion//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function eR(e) {+function IL(e) {let t = D.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}//#endregion//#region node_modules/react-stately/dist/private/list/ListCollection.mjs-var tR = class {+var LL = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -37318,20 +37318,20 @@ var tR = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, nR = class e extends Set {+}, RL = class e extends Set {constructor(t, n, r) {super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);}};//#endregion//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function zle(e, t) {+function nue(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function rR(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = MC((0, D.useMemo)(() => iR(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => iR(e.defaultSelectedKeys, new nR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);+function zL(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = ew((0, D.useMemo)(() => BL(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => BL(e.defaultSelectedKeys, new RL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, D.useRef)(i);return (0, D.useEffect)(() => {@@ -37358,18 +37358,18 @@ function rR(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !zle(e, d)) && f(e);+ (r || !nue(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function iR(e, t) {- return e ? e === "all" ? "all" : new nR(e) : t;+function BL(e, t) {+ return e ? e === "all" ? "all" : new RL(e) : t;}//#endregion//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var aR = class e {+var VL = class e {constructor(e, t, n) {this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;}@@ -37425,7 +37425,7 @@ var aR = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && Jw(this.collection, n, e) < 0) && (e = n);+ (!e || n && gT(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -37433,7 +37433,7 @@ var aR = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && Jw(this.collection, n, e) > 0) && (e = n);+ (!e || n && gT(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -37452,10 +37452,10 @@ var aR = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new nR([t], t, t);+ if (this.state.selectedKeys === "all") n = new RL([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new nR(e, r, t);+ n = new RL(e, r, t);for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);}@@ -37463,7 +37463,7 @@ var aR = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? Jw(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? gT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];}getKeyRangeInternal(e, t) {if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);@@ -37489,19 +37489,19 @@ var aR = class e {}let t = this.getKey(e);if (t == null) return;- let n = new nR(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new RL(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);}replaceSelection(e) {if (this.selectionMode === "none") return;let t = this.getKey(e);if (t == null) return;- let n = this.canSelectItem(t) ? new nR([t], t, t) : new nR();+ let n = this.canSelectItem(t) ? new RL([t], t, t) : new RL();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new nR();+ let t = new RL();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -37513,7 +37513,7 @@ var aR = class e {for (; r != null;) {if (this.canSelectItemIn(r, e)) {let i = e.getItem(r);- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Gw(Ww(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(pT(fT(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -37524,7 +37524,7 @@ var aR = class e {!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");}clearSelection() {- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new nR());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new RL());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -37565,9 +37565,9 @@ var aR = class e {fullCollection: this.fullCollection ?? this.collection});}-}, Ble = class {+}, rue = class {build(e, t) {- return this.context = t, oR(() => this.iterateCollection(e));+ return this.context = t, HL(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -37649,10 +37649,10 @@ var aR = class e {...a,key: l,index: s,- wrapper: Vle(e.wrapper, a.wrapper)+ wrapper: iue(e.wrapper, a.wrapper)}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];for (let t of u) {- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${sR(t.type)}> in <${sR(r?.type ?? "unknown parent type")}>. Only <${sR(e.type)}> is supported.`);+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${UL(t.type)}> in <${UL(r?.type ?? "unknown parent type")}>. Only <${UL(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -37674,7 +37674,7 @@ var aR = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: oR(function* () {+ childNodes: HL(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -37693,7 +37693,7 @@ var aR = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function oR(e) {+function HL(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -37701,18 +37701,18 @@ function oR(e) {for (let e of n) t.push(e), yield e;} };}-function Vle(e, t) {+function iue(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function sR(e) {+function UL(e) {return e[0].toUpperCase() + e.slice(1);}//#endregion//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function cR(e, t, n) {- let r = (0, D.useMemo)(() => new Ble(), []), { children: i, items: a, collection: o } = e;+function WL(e, t, n) {+ let r = (0, D.useMemo)(() => new rue(), []), { children: i, items: a, collection: o } = e;return (0, D.useMemo)(() => o || t(r.build({children: i,items: a@@ -37727,27 +37727,27 @@ function cR(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/list/useListState.mjs-function lR(e) {- let { filter: t, layoutDelegate: n } = e, r = rR(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = cR(e, (0, D.useCallback)((e) => t ? new tR(t(e)) : new tR(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new aR(a, r, { layoutDelegate: n }), [+function GL(e) {+ let { filter: t, layoutDelegate: n } = e, r = zL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = WL(e, (0, D.useCallback)((e) => t ? new LL(t(e)) : new LL(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new VL(a, r, { layoutDelegate: n }), [a,r,n]);- return uR(a, o), {+ return KL(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function Hle(e, t) {+function aue(e, t) {let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return uR(n, r), {+ return KL(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function uR(e, t) {+function KL(e, t) {let n = (0, D.useRef)(null);(0, D.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -37775,15 +37775,15 @@ function uR(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function dR(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = Yx((e) => {+function qL(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = uS((e) => {for (let t of e) t.isIntersecting && r && r();});- sb(() => {+ gb(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: uC(t?.current),+ root: xC(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -37799,42 +37799,42 @@ function dR(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var fR = /*#__PURE__*/ (0, D.createContext)(null), pR = /*#__PURE__*/ (0, D.createContext)(null), Ule = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = NI(e, t, fR);- let n = (0, D.useContext)(pR);- return n ? /*#__PURE__*/ D.createElement(mR, {+var JL = /*#__PURE__*/ (0, D.createContext)(null), YL = /*#__PURE__*/ (0, D.createContext)(null), oue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = $F(e, t, JL);+ let n = (0, D.useContext)(YL);+ return n ? /*#__PURE__*/ D.createElement(XL, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ D.createElement(Ox, { content: /*#__PURE__*/ D.createElement(Fx, e) }, (n) => /*#__PURE__*/ D.createElement(Wle, {+ }) : /*#__PURE__*/ D.createElement(Ux, { content: /*#__PURE__*/ D.createElement(Xx, e) }, (n) => /*#__PURE__*/ D.createElement(sue, {props: e,listBoxRef: t,collection: n}));});-function Wle({ props: e, listBoxRef: t, collection: n }) {+function sue({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, D.useContext)(UI), i = lR({+ let { layoutDelegate: r } = (0, D.useContext)(dI), i = GL({...e,layoutDelegate: r});- return /*#__PURE__*/ D.createElement(mR, {+ return /*#__PURE__*/ D.createElement(XL, {state: i,props: e,listBoxRef: t});}-function mR({ state: e, props: t, listBoxRef: n }) {- [t, n] = NI(t, n, RI);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Hle(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = rS(), { disabledBehavior: p, disabledKeys: m } = l, h = $w({+function XL({ state: e, props: t, listBoxRef: n }) {+ [t, n] = $F(t, n, aI);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = aue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = vS(), { disabledBehavior: p, disabledKeys: m } = l, h = xT({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(UI), b = (0, D.useMemo)(() => t.keyboardDelegate || new tw({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(dI), b = (0, D.useMemo)(() => t.keyboardDelegate || new Cw({collection: c,collator: h,ref: n,@@ -37855,7 +37855,7 @@ function mR({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = yae({+ ]), { listBoxProps: x } = Xie({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -37887,7 +37887,7 @@ function mR({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: k, isFocused: A, isFocusVisible: j } = oT(), M = s.collection.size === 0, N = {+ let { focusProps: k, isFocused: A, isFocusVisible: j } = OT(), M = s.collection.size === 0, N = {isDropTarget: T,isEmpty: M,isFocused: A,@@ -37895,7 +37895,7 @@ function mR({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, P = jI({+ }, P = ZF({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -37905,9 +37905,9 @@ function mR({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(N)));- let F = yS(t, { global: !0 });- return /*#__PURE__*/ D.createElement(WS, null, /*#__PURE__*/ D.createElement(LI.div, {- ...K(F, P, x, k, w?.collectionProps),+ let F = ES(t, { global: !0 });+ return /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(iI.div, {+ ...q(F, P, x, k, w?.collectionProps),ref: n,slot: t.slot || void 0,onScroll: t.onScroll,@@ -37917,60 +37917,60 @@ function mR({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": j || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ D.createElement(AI, { values: [- [fR, t],- [pR, s],- [KL, {+ }, /*#__PURE__*/ D.createElement(XF, { values: [+ [JL, t],+ [YL, s],+ [OL, {dragAndDropHooks: r,dragState: S,dropState: C}],- [$L, { elementType: "div" }],- [qL, { render: qle }],- [BI, {+ [FL, { elementType: "div" }],+ [kL, { render: uue }],+ [sI, {name: "ListBoxSection",- render: Gle+ render: cue}]- ] }, /*#__PURE__*/ D.createElement(ZL, null, /*#__PURE__*/ D.createElement(y, {+ ] }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(y, {collection: c,scrollRef: n,- persistedKeys: YL(l, r, C),- renderDropIndicator: JL(r, C)+ persistedKeys: jL(l, r, C),+ renderDropIndicator: AL(r, C)}))), ee, E));}-function Gle(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, D.useContext)(pR), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(KL), { CollectionBranch: s } = (0, D.useContext)(UI), [c, l] = PI(), { headingProps: u, groupProps: d } = bae({+function cue(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, D.useContext)(YL), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(OL), { CollectionBranch: s } = (0, D.useContext)(dI), [c, l] = eI(), { headingProps: u, groupProps: d } = Zie({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = jI({+ }), f = ZF({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = yS(e, { global: !0 });- return delete p.id, /*#__PURE__*/ D.createElement(LI.section, {- ...K(p, f, d),+ }), p = ES(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ D.createElement(iI.section, {+ ...q(p, f, d),ref: t- }, /*#__PURE__*/ D.createElement(XL.Provider, { value: {+ }, /*#__PURE__*/ D.createElement(ML.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ D.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: JL(a, o)+ renderDropIndicator: AL(a, o)})));}-var Kle = /*#__PURE__*/ jx(Ry, function(e, t, n) {- let r = vx(t), i = (0, D.useContext)(pR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(KL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = xae({+var lue = /*#__PURE__*/ Kx(Hy, function(e, t, n) {+ let r = Nx(t), i = (0, D.useContext)(YL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(OL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Qie({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = uT({+ }, i, r), { hoverProps: p, isHovered: m } = MT({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = _x(e), { focusProps: g } = px(e), _ = null;+ }), { keyboardProps: h } = Mx(e), { focusProps: g } = Ox(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -37981,7 +37981,7 @@ var Kle = /*#__PURE__*/ jx(Ry, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = jI({+ let y = o && o.isDragging(n.key), b = ZF({...e,id: void 0,children: e.children,@@ -37999,9 +37999,9 @@ var Kle = /*#__PURE__*/ jx(Ry, function(e, t, n) {(0, D.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? LI.a : LI.div, S = yS(e, { global: !0 });+ let x = e.href ? iI.a : iI.div, S = ES(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ D.createElement(x, {- ...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),+ ...q(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,"data-allows-dragging": !!o || void 0,"data-selected": f.isSelected || void 0,@@ -38013,29 +38013,29 @@ var Kle = /*#__PURE__*/ jx(Ry, function(e, t, n) {"data-dragging": y || void 0,"data-drop-target": v?.isDropTarget || void 0,"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode- }, /*#__PURE__*/ D.createElement(AI, { values: [[ZI, { slots: {- [kI]: u,+ }, /*#__PURE__*/ D.createElement(XF, { values: [[SI, { slots: {+ [YF]: u,label: u,description: d- } }], [QL, { isSelected: f.isSelected }]] }, b.children));+ } }], [PL, { isSelected: f.isSelected }]] }, b.children));});-function qle(e, t) {- t = vx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(KL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ D.createElement(Yle, {+function uue(e, t) {+ t = Nx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(OL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ D.createElement(fue, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function Jle(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = jI({+function due(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = ZF({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(LI.div, {+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(iI.div, {...n,...a,role: "option",@@ -38043,10 +38043,10 @@ function Jle(e, t) {"data-drop-target": r || void 0}));}-var Yle = /*#__PURE__*/ (0, D.forwardRef)(Jle);-jx(Ly, function(e, t, n) {- let r = (0, D.useContext)(pR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);- dR((0, D.useMemo)(() => ({+var fue = /*#__PURE__*/ (0, D.forwardRef)(due);+Kx(Vy, function(e, t, n) {+ let r = (0, D.useContext)(YL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);+ qL((0, D.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38056,7 +38056,7 @@ jx(Ly, function(e, t, n) {o,r?.collection]), c);- let l = jI({+ let l = ZF({...s,id: void 0,children: n.rendered,@@ -38069,7 +38069,7 @@ jx(Ly, function(e, t, n) {width: 0,height: 0},- inert: eR(!0)+ inert: IL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38078,8 +38078,8 @@ jx(Ly, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(LI.div, {- ...K(yS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(iI.div, {+ ...q(ES(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t@@ -38087,11 +38087,11 @@ jx(Ly, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var Xle = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });+var pue = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });//#endregion//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function hR(e) {- let [t, n] = MC(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);+function ZL(e) {+ let [t, n] = ew(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);return {isOpen: t,setOpen: n,@@ -38110,15 +38110,15 @@ function hR(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/animation.mjs-function gR(e, t = !0, n) {+function QL(e, t = !0, n) {let [r, i] = (0, D.useState)(!0), a = r && t;- return sb(() => {- if (!t && e.current) return rx(Xy(e.current, "opacity", "0"), Xy(e.current, "clip", "rect(0 0 0 0)"), Xy(e.current, "clip-path", "inset(50%)"), Xy(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), sb(() => {+ return gb(() => {+ if (!t && e.current) return vx(eb(e.current, "opacity", "0"), eb(e.current, "clip", "rect(0 0 0 0)"), eb(e.current, "clip-path", "inset(50%)"), eb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), gb(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), vR(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;+ }, [e, a]), eR(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;}-function _R(e, t, n) {+function $L(e, t, n) {let [r, i] = (0, D.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -38128,13 +38128,13 @@ function _R(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return vR(e, a, n, (0, D.useCallback)(() => {+ return eR(e, a, n, (0, D.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function vR(e, t, n, r) {- let i = (0, D.useRef)(null), a = Yx(n);- sb(() => {+function eR(e, t, n, r) {+ let i = (0, D.useRef)(null), a = uS(n);+ gb(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -38160,9 +38160,9 @@ function vR(e, t, n, r) {}//#endregion//#region node_modules/react-aria-components/dist/private/Popover.mjs-var yR = /*#__PURE__*/ (0, D.createContext)(null), bR = /*#__PURE__*/ (0, D.createContext)(null), xR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = NI(e, t, yR);- let n = (0, D.useContext)(NR), r = hR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = _R(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = wx(), { direction: c } = rS();+var tR = /*#__PURE__*/ (0, D.createContext)(null), nR = /*#__PURE__*/ (0, D.createContext)(null), rR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = $F(e, t, tR);+ let n = (0, D.useContext)(hR), r = ZL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = $L(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = zx(), { direction: c } = vS();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -38173,7 +38173,7 @@ var yR = /*#__PURE__*/ (0, D.createContext)(null), bR = /*#__PURE__*/ (0, D.creadefaultChildren: null})), /*#__PURE__*/ D.createElement(D.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ D.createElement(Zle, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ D.createElement(mue, {...e,triggerRef: e.triggerRef,state: i,@@ -38182,13 +38182,13 @@ var yR = /*#__PURE__*/ (0, D.createContext)(null), bR = /*#__PURE__*/ (0, D.creadir: c});});-function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(bR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = FD({+function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(nR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = wae({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = gR(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = jI({+ }, e), g = i.popoverRef, _ = QL(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = ZF({...i,defaultClassName: "react-aria-Popover",values: {@@ -38198,10 +38198,10 @@ function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, D.useState)(i.trigger === "PreviewTrigger");- sb(() => {+ gb(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, D.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Gb() !== "pointer") && g.current && !tb(g.current) && nx(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || ox() !== "pointer") && g.current && !ab(g.current) && _x(g.current);}, [x,g,@@ -38209,12 +38209,12 @@ function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, D.useMemo)(() => {let e = y.children;- for (let t of [yR, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);+ for (let t of [tR, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, D.useState)(null), E = (0, D.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- sb(E, [E]), cE({+ gb(E, [E]), AE({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -38224,9 +38224,9 @@ function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- sb(() => ZE(() => u(!0)), []);- let k = /*#__PURE__*/ D.createElement(LI.div, {- ...K(yS(i, { global: !0 }), d),+ gb(() => yD(() => u(!0)), []);+ let k = /*#__PURE__*/ D.createElement(iI.div, {+ ...q(ES(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -38241,17 +38241,17 @@ function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ D.createElement(WE, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(Xle.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ D.createElement(fD, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(pue.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ D.createElement(WE, { onDismiss: e.close }));- return c ? /*#__PURE__*/ D.createElement(iT, {+ } }, C), /*#__PURE__*/ D.createElement(fD, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ D.createElement(ET, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, k) : /*#__PURE__*/ D.createElement(iT, {+ }, k) : /*#__PURE__*/ D.createElement(ET, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -38266,15 +38266,15 @@ function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ D.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ D.createElement(bR.Provider, { value: o }, k)));+ }, /*#__PURE__*/ D.createElement(nR.Provider, { value: o }, k)));}//#endregion//#region node_modules/react-aria-components/dist/private/Keyboard.mjs-var Qle = /*#__PURE__*/ (0, D.createContext)({});+var hue = /*#__PURE__*/ (0, D.createContext)({});//#endregion//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function SR(e) {- let t = hR(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {+function iR(e) {+ let t = ZL(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -38300,7 +38300,7 @@ function SR(e) {}//#endregion//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var $le = class {+var gue = class {constructor(e, { expandedKeys: t } = {}) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();let n = (e) => {@@ -38344,8 +38344,8 @@ var $le = class {};//#endregion//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs-function CR(e) {- let { onExpandedChange: t } = e, [n, r] = MC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = rR(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = cR(e, (0, D.useCallback)((e) => new $le(e, { expandedKeys: n }), [n]), null);+function aR(e) {+ let { onExpandedChange: t } = e, [n, r] = ew(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = zL(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = WL(e, (0, D.useCallback)((e) => new gue(e, { expandedKeys: n }), [n]), null);return (0, D.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -38353,32 +38353,32 @@ function CR(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(eue(n, e));+ r(_ue(n, e));},setExpandedKeys: r,- selectionManager: new aR(o, i)+ selectionManager: new VL(o, i)};}-function eue(e, t) {+function _ue(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}//#endregion//#region node_modules/react-aria-components/dist/private/Menu.mjs-var wR = /*#__PURE__*/ (0, D.createContext)(null), TR = /*#__PURE__*/ (0, D.createContext)(null), ER = /*#__PURE__*/ (0, D.createContext)(null), DR = /*#__PURE__*/ (0, D.createContext)(null);-function tue(e) {- let t = SR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = zw({+var oR = /*#__PURE__*/ (0, D.createContext)(null), sR = /*#__PURE__*/ (0, D.createContext)(null), cR = /*#__PURE__*/ (0, D.createContext)(null), lR = /*#__PURE__*/ (0, D.createContext)(null);+function vue(e) {+ let t = iR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = sT({...e,type: "menu"}, t, n), a = (0, D.useRef)(null);- return wx() ? null : /*#__PURE__*/ D.createElement(AI, { values: [- [wR, {+ return zx() ? null : /*#__PURE__*/ D.createElement(XF, { values: [+ [oR, {...i,ref: a}],- [NR, t],- [ER, t],- [yR, {+ [hR, t],+ [cR, t],+ [tR, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -38386,14 +38386,14 @@ function tue(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ D.createElement(iae, {+ ] }, /*#__PURE__*/ D.createElement(Fie, {...r,ref: n,isPressed: t.isOpen}, e.children));}-var nue = /*#__PURE__*/ (0, D.createContext)(null);-(class extends Fy {+var yue = /*#__PURE__*/ (0, D.createContext)(null);+(class extends zy {static {this.type = "submenutrigger";}@@ -38406,24 +38406,24 @@ var nue = /*#__PURE__*/ (0, D.createContext)(null);return null;}});-var rue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return [e, t] = NI(e, t, wR), /*#__PURE__*/ D.createElement(Ox, { content: /*#__PURE__*/ D.createElement(Fx, e) }, (n) => /*#__PURE__*/ D.createElement(iue, {+var bue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return [e, t] = $F(e, t, oR), /*#__PURE__*/ D.createElement(Ux, { content: /*#__PURE__*/ D.createElement(Xx, e) }, (n) => /*#__PURE__*/ D.createElement(xue, {props: e,collection: n,menuRef: t}));});-function iue({ props: e, collection: t, menuRef: n }) {- [e, n] = NI(e, n, RI);- let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = CR({+function xue({ props: e, collection: t, menuRef: n }) {+ [e, n] = $F(e, n, aI);+ let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = aR({...e,collection: a,children: void 0- }), s = (0, D.useContext)(ER), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(UI), { menuProps: u } = Sae({+ }), s = (0, D.useContext)(cR), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(dI), { menuProps: u } = $ie({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = jI({+ }, o, n), d = ZF({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -38433,36 +38433,36 @@ function iue({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = yS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(WS, null, /*#__PURE__*/ D.createElement(LI.div, {- ...K(p, d, u),+ let p = ES(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(iI.div, {+ ...q(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ D.createElement(AI, { values: [- [TR, o],- [$L, { elementType: "div" }],- [BI, {+ }, /*#__PURE__*/ D.createElement(XF, { values: [+ [sR, o],+ [FL, { elementType: "div" }],+ [sI, {name: "MenuSection",- render: OR+ render: uR}],- [nue, {+ [yue, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [AR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [RI, null],- [zI, null],- [DR, o.selectionManager],- [ER, s ?? SR({})]- ] }, /*#__PURE__*/ D.createElement(ZL, null, /*#__PURE__*/ D.createElement(l, {+ [fR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [aI, null],+ [oI, null],+ [lR, o.selectionManager],+ [cR, s ?? iR({})]+ ] }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(l, {collection: o.collection,- persistedKeys: WI(o.selectionManager.focusedKey),+ persistedKeys: fI(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var aue = class extends aR {+var Sue = class extends VL {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -38482,11 +38482,11 @@ var aue = class extends aR {return this.parent.childFocusStrategy;}};-function OR(e, t, n, r = "react-aria-MenuSection") {- let i = (0, D.useContext)(TR), { CollectionBranch: a } = (0, D.useContext)(UI), [o, s] = PI(), { headingProps: c, groupProps: l } = wae({+function uR(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, D.useContext)(sR), { CollectionBranch: a } = (0, D.useContext)(dI), [o, s] = eI(), { headingProps: c, groupProps: l } = tae({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = jI({+ }), u = ZF({...e,id: void 0,children: void 0,@@ -38494,31 +38494,31 @@ function OR(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, D.useContext)(DR), f = rR(e), p = e.selectionMode == null ? d : new aue(d, f), m = MI(AR)?.shouldCloseOnSelect, h = yS(e, { global: !0 });- return delete h.id, /*#__PURE__*/ D.createElement(LI.section, {- ...K(h, u, l),+ }), d = (0, D.useContext)(lR), f = zL(e), p = e.selectionMode == null ? d : new Sue(d, f), m = QF(fR)?.shouldCloseOnSelect, h = ES(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ D.createElement(iI.section, {+ ...q(h, u, l),ref: t- }, /*#__PURE__*/ D.createElement(AI, { values: [- [XL, {+ }, /*#__PURE__*/ D.createElement(XF, { values: [+ [ML, {...c,ref: o}],- [DR, p],- [AR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [lR, p],+ [fR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ D.createElement(a, {collection: i.collection,parent: n})));}-var kR = /*#__PURE__*/ Mx(Gne, OR), AR = /*#__PURE__*/ (0, D.createContext)(null), jR = /*#__PURE__*/ jx(Ry, function(e, t, n) {- [e, t] = NI(e, t, AR);- let r = MI(AR)?.id, i = (0, D.useContext)(TR), a = vx(t), o = (0, D.useContext)(DR), { isVirtualized: s } = (0, D.useContext)(UI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Cae({+var dR = /*#__PURE__*/ qx(Bne, uR), fR = /*#__PURE__*/ (0, D.createContext)(null), pR = /*#__PURE__*/ Kx(Hy, function(e, t, n) {+ [e, t] = $F(e, t, fR);+ let r = QF(fR)?.id, i = (0, D.useContext)(sR), a = Nx(t), o = (0, D.useContext)(lR), { isVirtualized: s } = (0, D.useContext)(dI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = eae({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = uT({ isDisabled: f.isDisabled }), h = jI({+ }, i, a), { hoverProps: p, isHovered: m } = MT({ isDisabled: f.isDisabled }), h = ZF({...e,id: void 0,children: n.rendered,@@ -38532,9 +38532,9 @@ var kR = /*#__PURE__*/ Mx(Gne, OR), AR = /*#__PURE__*/ (0, D.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? LI.a : LI.div, _ = yS(e, { global: !0 });+ }), g = e.href ? iI.a : iI.div, _ = ES(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(g, {- ...K(_, h, c, p),+ ...q(_, h, c, p),ref: a,"data-disabled": f.isDisabled || void 0,"data-hovered": m || void 0,@@ -38545,19 +38545,19 @@ var kR = /*#__PURE__*/ Mx(Gne, OR), AR = /*#__PURE__*/ (0, D.createContext)(null"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,"data-has-submenu": !!e["aria-haspopup"] || void 0,"data-open": e["aria-expanded"] === "true" || void 0- }, /*#__PURE__*/ D.createElement(AI, { values: [- [ZI, { slots: {- [kI]: l,+ }, /*#__PURE__*/ D.createElement(XF, { values: [+ [SI, { slots: {+ [YF]: l,label: l,description: u} }],- [Qle, d],- [QL, { isSelected: f.isSelected }]+ [hue, d],+ [PL, { isSelected: f.isSelected }]] }, h.children));});-jx(Ly, function(e, t, n) {- let r = (0, D.useContext)(TR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);- dR((0, D.useMemo)(() => ({+Kx(Vy, function(e, t, n) {+ let r = (0, D.useContext)(sR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);+ qL((0, D.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38567,7 +38567,7 @@ jx(Ly, function(e, t, n) {o,r?.collection]), c);- let l = jI({+ let l = ZF({...s,id: void 0,children: n.rendered,@@ -38580,7 +38580,7 @@ jx(Ly, function(e, t, n) {width: 0,height: 0},- inert: eR(!0)+ inert: IL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38589,8 +38589,8 @@ jx(Ly, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(LI.div, {- ...K(yS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(iI.div, {+ ...q(ES(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t@@ -38598,82 +38598,82 @@ jx(Ly, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var MR = /*#__PURE__*/ (0, D.createContext)(null), NR = /*#__PURE__*/ (0, D.createContext)(null), PR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+var mR = /*#__PURE__*/ (0, D.createContext)(null), hR = /*#__PURE__*/ (0, D.createContext)(null), gR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = NI(e, t, MR);- let { dialogProps: r, titleProps: i, contentProps: a } = oae({+ [e, t] = $F(e, t, mR);+ let { dialogProps: r, titleProps: i, contentProps: a } = Lie({...e,"aria-labelledby": n- }, t), o = (0, D.useContext)(NR);+ }, t), o = (0, D.useContext)(hR);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = jI({+ let s = ZF({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = yS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(LI.section, {- ...K(c, s, r),+ }), c = ES(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(iI.section, {+ ...q(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ D.createElement(AI, { values: [- [YI, { slots: {- [kI]: {},+ }, /*#__PURE__*/ D.createElement(XF, { values: [+ [bI, { slots: {+ [YF]: {},title: {...i,level: 2}} }],- [ZI, { slots: {- [kI]: {},+ [SI, { slots: {+ [YF]: {},description: a} }],- [qI, { slots: {- [kI]: {},+ [gI, { slots: {+ [YF]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), FR = typeof document < "u" && window.visualViewport;-function oue() {- let e = kb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {+}), _R = typeof document < "u" && window.visualViewport;+function Cue() {+ let e = Wb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {width: 0,height: 0- } : IR());+ } : vR());return (0, D.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- FR && FR.scale > 1 || e(IR());+ _R && _R.scale > 1 || e(vR());}, i = (n) => {- FR && FR.scale > 1 || Kx(G(n)) && (t.current = ZE((t) => {+ _R && _R.scale > 1 || sS(K(n)) && (t.current = yD((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(IR()), _b() && vb() && window.addEventListener("blur", i, !0), FR ? FR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), _b() && vb() && window.removeEventListener("blur", i, !0), FR ? FR.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(vR()), Ob() && Ab() && window.addEventListener("blur", i, !0), _R ? _R.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), Ob() && Ab() && window.removeEventListener("blur", i, !0), _R ? _R.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function IR() {+function vR() {return {- width: FR ? Math.min(FR.width * FR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: FR ? FR.height * FR.scale : document.documentElement.clientHeight+ width: _R ? Math.min(_R.width * _R.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: _R ? _R.height * _R.scale : document.documentElement.clientHeight};}//#endregion//#region node_modules/react-aria-components/dist/private/Modal.mjs-var sue = /*#__PURE__*/ (0, D.createContext)(null), LR = /*#__PURE__*/ (0, D.createContext)(null), cue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- if ((0, D.useContext)(LR)) return /*#__PURE__*/ D.createElement(zR, {+var wue = /*#__PURE__*/ (0, D.createContext)(null), yR = /*#__PURE__*/ (0, D.createContext)(null), Tue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ if ((0, D.useContext)(yR)) return /*#__PURE__*/ D.createElement(xR, {...e,modalRef: t}, e.children);let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;- return /*#__PURE__*/ D.createElement(RR, {+ return /*#__PURE__*/ D.createElement(bR, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -38683,15 +38683,15 @@ var sue = /*#__PURE__*/ (0, D.createContext)(null), LR = /*#__PURE__*/ (0, D.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ D.createElement(zR, {+ }, /*#__PURE__*/ D.createElement(xR, {...f,modalRef: t}, s));});-function lue(e, t) {- [e, t] = NI(e, t, sue);- let n = (0, D.useContext)(NR), r = hR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = vx(t), o = (0, D.useRef)(null), s = _R(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = _R(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = kb();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ D.createElement(uue, {+function Eue(e, t) {+ [e, t] = $F(e, t, wue);+ let n = (0, D.useContext)(hR), r = ZL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Nx(t), o = (0, D.useRef)(null), s = $L(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = $L(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Wb();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ D.createElement(Due, {...e,state: i,isExiting: u,@@ -38700,12 +38700,12 @@ function lue(e, t) {onExitRef: c});}-var RR = /*#__PURE__*/ (0, D.forwardRef)(lue);-function uue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = gR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = cD({+var bR = /*#__PURE__*/ (0, D.forwardRef)(Eue);+function Due({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = QL(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = fae({...n,isEntering: c- }, i, r), d = (0, D.useContext)(MR), f = t ? due(d, { isEntering: c }) : d, p = jI({+ }, i, r), d = (0, D.useContext)(mR), f = t ? Oue(d, { isEntering: c }) : d, p = ZF({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -38713,9 +38713,9 @@ function uue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = oue(), h, g;+ }), m = Cue(), h, g;if (typeof document < "u") {- let e = lC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = bC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;h = e.scrollWidth - t, g = e.scrollHeight - n;}let _ = {@@ -38725,18 +38725,18 @@ function uue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n"--page-width": h === void 0 ? void 0 : h + "px","--page-height": g === void 0 ? void 0 : g + "px"};- return sb(() => ZE(() => o(!0)), []), /*#__PURE__*/ D.createElement(iT, {+ return gb(() => yD(() => o(!0)), []), /*#__PURE__*/ D.createElement(ET, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ D.createElement(LI.div, {- ...K(yS(n, { global: !0 }), u),+ }, /*#__PURE__*/ D.createElement(iI.div, {+ ...q(ES(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ D.createElement(AI, { values: [- [LR, {+ }, /*#__PURE__*/ D.createElement(XF, { values: [+ [yR, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -38744,11 +38744,11 @@ function uue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [NR, i],- [MR, f]+ [hR, i],+ [mR, f]] }, p.children)));}-function due(e, t) {+function Oue(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -38765,8 +38765,8 @@ function due(e, t) {...t};}-function zR(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(LR), s = (0, D.useContext)(NR), c = vx((0, D.useMemo)(() => lx(e.modalRef, n), [e.modalRef, n])), l = gR(c, o, e.onEnter), u = jI({+function xR(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(yR), s = (0, D.useContext)(hR), c = Nx((0, D.useMemo)(() => wx(e.modalRef, n), [e.modalRef, n])), l = QL(c, o, e.onEnter), u = ZF({...e,defaultClassName: "react-aria-Modal",values: {@@ -38775,21 +38775,21 @@ function zR(e) {state: s}});- return sb(() => {+ return gb(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ D.createElement(LI.div, {- ...K(yS(e, { global: !0 }), t),+ }), /*#__PURE__*/ D.createElement(iI.div, {+ ...q(ES(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ D.createElement(WE, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ D.createElement(fD, { onDismiss: s.close }), u.children);}//#endregion//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var fue = Math.round(Math.random() * 1e10), pue = 0;-function mue(e) {- let t = (0, D.useMemo)(() => e.name || `radio-group-${fue}-${++pue}`, [e.name]), [n, r] = MC(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = CC({+var kue = Math.round(Math.random() * 1e10), Aue = 0;+function jue(e) {+ let t = (0, D.useMemo)(() => e.name || `radio-group-${kue}-${++Aue}`, [e.name]), [n, r] = ew(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = VC({...e,value: n}), c = (t) => {@@ -38812,16 +38812,16 @@ function mue(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.createContext)(null), BR = /*#__PURE__*/ (0, D.createContext)(null), VR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = NI(e, t, hue);- let { validationBehavior: n } = MI($I) || {}, r = e.validationBehavior ?? n ?? "native", i = mue({+var Mue = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.createContext)(null), SR = /*#__PURE__*/ (0, D.createContext)(null), CR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = $F(e, t, Mue);+ let { validationBehavior: n } = QF(TI) || {}, r = e.validationBehavior ?? n ?? "native", i = jue({...e,validationBehavior: r- }), [a, o] = PI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = RD({+ }), [a, o] = eI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Eae({...e,label: o,validationBehavior: r- }, i), f = jI({+ }, i), f = ZF({...e,values: {orientation: e.orientation || "vertical",@@ -38832,9 +38832,9 @@ var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = yS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(LI.div, {- ...K(p, f, s),+ }), p = ES(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(iI.div, {+ ...q(p, f, s),ref: t,slot: e.slot || void 0,"data-orientation": e.orientation || "vertical",@@ -38842,39 +38842,39 @@ var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ D.createElement(AI, { values: [- [BR, i],- [GI, {+ }, /*#__PURE__*/ D.createElement(XF, { values: [+ [SR, i],+ [pI, {...c,ref: a,elementType: "span"}],- [ZI, { slots: {+ [SI, { slots: {description: l,errorMessage: u} }],- [QI, d]- ] }, /*#__PURE__*/ D.createElement(ZL, null, f.children)));-}), HR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [wI, d]+ ] }, /*#__PURE__*/ D.createElement(NL, null, f.children)));+}), wR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = NI(r, t, gue);- let i = D.useContext(BR), a = vx((0, D.useMemo)(() => lx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = LD({- ...FI(e),+ [e, t] = $F(r, t, Nue);+ let i = D.useContext(SR), a = Nx((0, D.useMemo)(() => wx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Tae({+ ...tI(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ D.createElement(UR.Provider, { value: {+ return /*#__PURE__*/ D.createElement(TR.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ D.createElement(_ue, {+ } }, /*#__PURE__*/ D.createElement(Pue, {...e,ref: t}));-}), UR = /*#__PURE__*/ (0, D.createContext)(null), _ue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(UR), l = D.useContext(BR), { isFocused: u, isFocusVisible: d, focusProps: f } = oT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = uT({+}), TR = /*#__PURE__*/ (0, D.createContext)(null), Pue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(TR), l = D.useContext(SR), { isFocused: u, isFocusVisible: d, focusProps: f } = OT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = MT({...e,isDisabled: p- }), g = jI({+ }), g = ZF({...e,defaultClassName: s,values: {@@ -38888,9 +38888,9 @@ var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = yS(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(LI.label, {- ...K(_, n, m, g),+ }), _ = ES(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(iI.label, {+ ...q(_, n, m, g),ref: t,"data-selected": i || void 0,"data-pressed": o || void 0,@@ -38901,19 +38901,19 @@ var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.cr"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ D.createElement(HC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {- ...K(r, f),+ }, /*#__PURE__*/ D.createElement(uw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ ...q(r, f),ref: c})), g.children);});//#endregion//#region node_modules/react-stately/dist/private/select/useSelectState.mjs-function vue(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = hR(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Fue(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = ZL(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = MC((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = ew((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -38925,12 +38925,12 @@ function vue(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = lR({+ }, d = GL({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, D.useMemo)(() => yue(l), [l]),+ selectedKeys: (0, D.useMemo)(() => Iue(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -38940,7 +38940,7 @@ function vue(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = CC({+ }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = VC({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, D.useState)(!1), [_] = (0, D.useState)(l);@@ -38967,16 +38967,16 @@ function vue(e) {setFocused: g};}-function yue(e) {+function Iue(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}//#endregion//#region node_modules/react-aria-components/dist/private/Select.mjs-function bue(e) {+function Lue(e) {return e && e.__esModule ? e.default : e;}-var WR = /*#__PURE__*/ (0, D.createContext)(null), GR = /*#__PURE__*/ (0, D.createContext)(null), xue = /*#__PURE__*/ Cx(function(e, t) {- [e, t] = NI(e, t, WR);+var ER = /*#__PURE__*/ (0, D.createContext)(null), DR = /*#__PURE__*/ (0, D.createContext)(null), Rue = /*#__PURE__*/ Rx(function(e, t) {+ [e, t] = $F(e, t, ER);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, D.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -38991,24 +38991,24 @@ var WR = /*#__PURE__*/ (0, D.createContext)(null), GR = /*#__PURE__*/ (0, D.creai,a]);- return /*#__PURE__*/ D.createElement(Ox, { content: o }, (n) => /*#__PURE__*/ D.createElement(Cue, {+ return /*#__PURE__*/ D.createElement(Ux, { content: o }, (n) => /*#__PURE__*/ D.createElement(Bue, {props: e,collection: n,selectRef: t}));-}), Sue = [- GI,- qI,- ZI+}), zue = [+ pI,+ gI,+ SI];-function Cue({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = MI($I) || {}, i = e.validationBehavior ?? r ?? "native", a = vue({+function Bue({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = QF(TI) || {}, i = e.validationBehavior ?? r ?? "native", a = Fue({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = oT({ within: !0 }), c = (0, D.useRef)(null), [l, u] = PI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = BD({- ...FI(e),+ }), { isFocusVisible: o, focusProps: s } = OT({ within: !0 }), c = (0, D.useRef)(null), [l, u] = eI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Dae({+ ...tI(e),label: u,validationBehavior: i}, a, c), y = (0, D.useMemo)(() => ({@@ -39025,49 +39025,49 @@ function Cue({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = jI({+ ]), b = ZF({...e,values: y,defaultClassName: "react-aria-Select"- }), x = yS(e, { global: !0 });+ }), x = ES(e, { global: !0 });delete x.id;let S = (0, D.useRef)(null);- return /*#__PURE__*/ D.createElement(AI, { values: [- [WR, e],- [GR, a],- [KR, p],- [GI, {+ return /*#__PURE__*/ D.createElement(XF, { values: [+ [ER, e],+ [DR, a],+ [OR, p],+ [pI, {...d,ref: l,elementType: "span"}],- [qI, {+ [gI, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [NR, a],- [yR, {+ [hR, a],+ [tR, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: Sue+ clearContexts: zue}],- [fR, {+ [JL, {...m,ref: S}],- [pR, a],- [ZI, { slots: {+ [YL, a],+ [SI, { slots: {description: h,errorMessage: g} }],- [QI, v]- ] }, /*#__PURE__*/ D.createElement(LI.div, {- ...K(x, b, s),+ [wI, v]+ ] }, /*#__PURE__*/ D.createElement(iI.div, {+ ...q(x, b, s),ref: t,slot: e.slot || void 0,"data-focused": a.isFocused || void 0,@@ -39076,14 +39076,14 @@ function Cue({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ D.createElement(HD, {+ }, b.children, /*#__PURE__*/ D.createElement(kae, {..._,autoComplete: e.autoComplete})));}-for (var KR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Cx(function(e, t) {- [e, t] = NI(e, t, KR);- let n = (0, D.useContext)(GR), { placeholder: r } = MI(WR), i = n.selectedItems.map((e) => {+for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(function(e, t) {+ [e, t] = $F(e, t, OR);+ let n = (0, D.useContext)(DR), { placeholder: r } = QF(ER), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -39095,7 +39095,7 @@ for (var KR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Cx(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = sae(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = Rie(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -39110,7 +39110,7 @@ for (var KR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Cx(fa,o,i- ]), u = fS(bue(GL), "react-aria-components"), d = jI({+ ]), u = wS(Lue(DL), "react-aria-components"), d = ZF({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -39121,33 +39121,33 @@ for (var KR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Cx(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = yS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(LI.span, {+ }), f = ES(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(iI.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ D.createElement(ZI.Provider, { value: void 0 }, d.children));-}), Tue = /*#__PURE__*/ (0, D.createContext)(null), qR = /*#__PURE__*/ (0, D.createContext)(null), Eue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ D.createElement(SI.Provider, { value: void 0 }, d.children));+}), Hue = /*#__PURE__*/ (0, D.createContext)(null), kR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = NI(r, t, Tue);- let i = vx((0, D.useMemo)(() => lx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = NC(e), o = WD({- ...FI(e),+ [e, t] = $F(r, t, Hue);+ let i = Nx((0, D.useMemo)(() => wx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = tw(e), o = jae({+ ...tI(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ D.createElement(AI, { values: [[qR, a], [JR, {+ return /*#__PURE__*/ D.createElement(XF, { values: [[kR, a], [AR, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ D.createElement(Due, {+ }]] }, /*#__PURE__*/ D.createElement(Wue, {...e,ref: t}));-}), JR = /*#__PURE__*/ (0, D.createContext)(null), Due = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, D.useContext)(JR), { isFocused: f, isFocusVisible: p, focusProps: m } = oT(), h = a || o, g = (0, D.useContext)(qR), { hoverProps: _, isHovered: v } = uT({+}), AR = /*#__PURE__*/ (0, D.createContext)(null), Wue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, D.useContext)(AR), { isFocused: f, isFocusVisible: p, focusProps: m } = OT(), h = a || o, g = (0, D.useContext)(kR), { hoverProps: _, isHovered: v } = MT({...e,isDisabled: h- }), y = jI({+ }), y = ZF({...e,defaultClassName: u,values: {@@ -39162,9 +39162,9 @@ for (var KR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Cx(fisRequired: d || !1,state: g}- }), b = yS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(LI.label, {- ...K(b, n, _, y),+ }), b = ES(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(iI.label, {+ ...q(b, n, _, y),ref: t,slot: e.slot || void 0,"data-selected": i || void 0,@@ -39176,11 +39176,11 @@ for (var KR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Cx(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ D.createElement(HC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {- ...K(r, m),+ }, /*#__PURE__*/ D.createElement(uw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ ...q(r, m),ref: l})), y.children);-}), YR = 10, XR = 5, ZR = class {+}), jR = 10, MR = 5, NR = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -39190,7 +39190,7 @@ for (var KR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Cx(f}resolveDropTarget(e, t, n, r) {let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;- if (Math.abs(a) > XR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > YR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > MR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > jR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {let t = this.state.collection.getKeyBefore(e.key);for (; t != null;) {let e = this.state.collection.getItem(t);@@ -39269,11 +39269,11 @@ for (var KR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Cx(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > XR && i) {+ if (Math.abs(r - c.lastSwitchY) > MR && i) {let t = c.preferredTargetIndex || 0;i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;}- if (l > YR && a) {+ if (l > jR && a) {let t = c.preferredTargetIndex || 0;a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;}@@ -39288,7 +39288,7 @@ for (var KR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Cx(fboundaryContext: null};}-}, Oue = class {+}, Gue = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -39358,8 +39358,8 @@ for (var KR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Cx(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, QR = "row-header-column-" + Math.random().toString(36).slice(2), $R = "row-header-column-" + Math.random().toString(36).slice(2); QR === $R;) $R = "row-header-column-" + Math.random().toString(36).slice(2);-function ez(e, t) {+}, PR = "row-header-column-" + Math.random().toString(36).slice(2), FR = "row-header-column-" + Math.random().toString(36).slice(2); PR === FR;) FR = "row-header-column-" + Math.random().toString(36).slice(2);+function IR(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -39443,13 +39443,13 @@ function ez(e, t) {textValue: ""}));}-var kue = class extends Oue {+var Kue = class extends Gue {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: QR,+ key: PR,value: null,textValue: "",level: 0,@@ -39464,7 +39464,7 @@ var kue = class extends Oue {if (n?.showDragButtons) {let e = {type: "column",- key: $R,+ key: FR,value: null,textValue: "",level: 0,@@ -39491,7 +39491,7 @@ var kue = class extends Oue {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = ez(s, a);+ let l = IR(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -39517,10 +39517,10 @@ var kue = class extends Oue {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return Gw(this.body.childNodes)?.key ?? null;+ return pT(this.body.childNodes)?.key ?? null;}getLastKey() {- return qw(this.body.childNodes)?.key ?? null;+ return hT(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -39552,15 +39552,15 @@ var kue = class extends Oue {};//#endregion//#region node_modules/react-stately/dist/private/table/TableUtils.mjs-function Aue(e) {+function que(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function jue(e) {+function Jue(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function tz(e, t) {+function LR(e, t) {if (typeof e == "string") {let n = e.match(/^(\d+)(?=%$)/);if (!n) throw Error("Only percentages or numbers are supported for static column widths");@@ -39568,19 +39568,19 @@ function tz(e, t) {}return e;}-function nz(e, t) {- return e == null ? 2 ** 53 - 1 : tz(e, t);+function RR(e, t) {+ return e == null ? 2 ** 53 - 1 : LR(e, t);}-function rz(e, t) {- return e == null ? 0 : tz(e, t);+function zR(e, t) {+ return e == null ? 0 : LR(e, t);}-function Mue(e, t, n, r, i) {+function Yue(e, t, n, r, i) {let a = e, o = Math.floor(e), s = e - o > 0;e = o;let c = !1, l = t.map((t, a) => {let o = n.get(t.key) == null ? t.width ?? t.defaultWidth ?? r?.(a) ?? "1fr" : n.get(t.key) ?? "1fr", s = !1, l = 0, u = 0, d = 0;- Aue(o) ? (l = tz(o, e), s = !0) : (u = jue(o), u <= 0 && (s = !0));- let f = rz(t.minWidth ?? i?.(a) ?? 0, e), p = nz(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ que(o) ? (l = LR(o, e), s = !0) : (u = Jue(o), u <= 0 && (s = !0));+ let f = zR(t.minWidth ?? i?.(a) ?? 0, e), p = RR(t.maxWidth, e), m = Math.max(f, Math.min(l, p));return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {frozen: s,baseSize: l,@@ -39614,14 +39614,14 @@ function Mue(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = Nue(l);+ let u = Xue(l);if (s && u.length > 0) {let e = a.toString().split(".")[1], t = u[u.length - 1].toString();u[u.length - 1] = Number(t + "." + e);}return u;}-function Nue(e) {+function Xue(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -39630,7 +39630,7 @@ function Nue(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var Pue = class {+var Zue = class {constructor(e) {this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), this.getDefaultWidth = e?.getDefaultWidth ?? (() => "1fr"), this.getDefaultMinWidth = e?.getDefaultMinWidth ?? (() => 75);}@@ -39659,19 +39659,19 @@ var Pue = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Mue(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Yue(e, t.columns.map((e) => ({...e.props,key: e.key})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {let i = t.columns[r].key, a = t.columns[r];- this.columnWidths.set(i, n), this.columnMinWidths.set(i, rz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, nz(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, zR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, RR(a.props.maxWidth, e));}), this.columnWidths;}};//#endregion//#region node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function Fue(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, D.useState)(null), s = (0, D.useMemo)(() => new Pue({+function Que(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, D.useState)(null), s = (0, D.useMemo)(() => new Zue({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, D.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, D.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, D.useState)(t.collection.columns);@@ -39723,19 +39723,19 @@ function Fue(e, t) {}//#endregion//#region node_modules/react-stately/dist/private/grid/useGridState.mjs-function Iue(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || rR(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function $ue(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || zL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);if (n?.type === "item") {- let i = Ww(n, t);- e = r === "last" ? qw(i)?.key ?? null : Gw(i)?.key ?? null;+ let i = fT(n, t);+ e = r === "last" ? hT(i)?.key ?? null : pT(i)?.key ?? null;}}a(e, r);};- let o = (0, D.useMemo)(() => new aR(t, r), [t, r]), s = (0, D.useRef)(null);+ let o = (0, D.useMemo)(() => new VL(t, r), [t, r]), s = (0, D.useRef)(null);return (0, D.useEffect)(() => {if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;@@ -39755,7 +39755,7 @@ function Iue(e) {}}if (u) {- let i = u.hasChildNodes ? [...Ww(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...fT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;r.setFocusedKey(a);} else r.setFocusedKey(null);}@@ -39774,11 +39774,11 @@ function Iue(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/useTableState.mjs-var Lue = {+var ede = {ascending: "descending",descending: "ascending"};-function Rue(e) {+function tde(e) {let [t, n] = (0, D.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, D.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -39789,11 +39789,11 @@ function Rue(e) {i,r,a- ]), c = cR(e, (0, D.useCallback)((e) => new kue(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Iue({+ ]), c = WL(e, (0, D.useCallback)((e) => new Kue(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = $ue({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = MC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = ew(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -39805,7 +39805,7 @@ function Rue(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? Lue[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? ede[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -39818,7 +39818,7 @@ function Rue(e) {treeColumn: o};}-function zue(e, t) {+function nde(e, t) {let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -39828,10 +39828,10 @@ function zue(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Table.mjs-function Bue(e) {+function rde(e) {return e && e.__esModule ? e.default : e;}-var Vue = class extends zy {+var ide = class extends Uy {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -39846,7 +39846,7 @@ var Vue = class extends zy {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new fz(-2);+ return new JR(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -39872,7 +39872,7 @@ var Vue = class extends zy {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = ez(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");+ if (this.headerRows = IR(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");}get columnCount() {return this.columns.length;@@ -39953,28 +39953,28 @@ var Vue = class extends zy {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new cz(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new WR(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, iz = /*#__PURE__*/ (0, D.createContext)(null), Hue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let n = vx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);- sb(() => {+}, BR = /*#__PURE__*/ (0, D.createContext)(null), ade = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let n = Nx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);+ gb(() => {let e = r.current;- for (; e && e !== n.current && !lC(e);) e = e.parentElement;+ for (; e && e !== n.current && !bC(e);) e = e.parentElement;i.current = e;- }, [n]), cE({+ }, [n]), AE({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), sb(() => {+ }), gb(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, D.useMemo)(() => ({tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: Fue,+ useTableColumnResizeState: Que,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -39985,17 +39985,17 @@ var Vue = class extends zy {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ D.createElement(LI.div, {+ return /*#__PURE__*/ D.createElement(iI.div, {render: e.render,- ...yS(e, { global: !0 }),+ ...ES(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ D.createElement(iz.Provider, { value: s }, e.children));-}), Uue = /*#__PURE__*/ (0, D.createContext)(null), az = /*#__PURE__*/ (0, D.createContext)(null), oz = /*#__PURE__*/ (0, D.createContext)(null), Wue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = NI(e, t, Uue);- let n = rR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({+ }, /*#__PURE__*/ D.createElement(BR.Provider, { value: s }, e.children));+}), ode = /*#__PURE__*/ (0, D.createContext)(null), VR = /*#__PURE__*/ (0, D.createContext)(null), HR = /*#__PURE__*/ (0, D.createContext)(null), sde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = $F(e, t, ode);+ let n = zL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -40005,26 +40005,26 @@ var Vue = class extends zy {i,a,o- ]), c = /*#__PURE__*/ D.createElement(que.Provider, { value: s }, /*#__PURE__*/ D.createElement(Fx, e));- return /*#__PURE__*/ D.createElement(Ox, {+ ]), c = /*#__PURE__*/ D.createElement(ude.Provider, { value: s }, /*#__PURE__*/ D.createElement(Xx, e));+ return /*#__PURE__*/ D.createElement(Ux, {content: c,- createCollection: () => new Vue()- }, (r) => /*#__PURE__*/ D.createElement(Kue, {+ createCollection: () => new ide()+ }, (r) => /*#__PURE__*/ D.createElement(lde, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), Gue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(UI);- return n ? /*#__PURE__*/ D.createElement(LI.div, {+}), cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(dI);+ return n ? /*#__PURE__*/ D.createElement(iI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(LI.table, {+ }) : /*#__PURE__*/ D.createElement(iI.table, {...e,ref: t});-}), sz = {+}), UR = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -40034,26 +40034,26 @@ var Vue = class extends zy {rtl: "ArrowRight"}};-function Kue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = NI(e, t, RI);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(iz);- t = vx((0, D.useMemo)(() => lx(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = MC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+function lde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = $F(e, t, aI);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(BR);+ t = Nx((0, D.useMemo)(() => wx(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = ew(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, D.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = Rue({+ let d = tde({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = zue(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(UI), { dragAndDropHooks: _ } = e, { gridProps: v } = Nae({+ }), f = nde(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(dI), { dragAndDropHooks: _ } = e, { gridProps: v } = Iae({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, D.useRef)(b), (0, D.useRef)(x), (0, D.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = rS(), [A] = (0, D.useState)(() => new ZR());+ let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = vS(), [A] = (0, D.useState)(() => new NR());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -40068,7 +40068,7 @@ function Kue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new tw({+ let e = new Cw({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -40088,12 +40088,12 @@ function Kue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {let t = C?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = d.collection.getItem(t.key);- (e.key === sz.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === sz.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === UR.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === UR.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: j, isFocused: M, isFocusVisible: N } = oT(), P = jI({+ let { focusProps: j, isFocused: M, isFocusVisible: N } = OT(), P = ZF({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -40109,20 +40109,20 @@ function Kue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let I = yS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(AI, { values: [- [az, f],- [oz, te],- [KL, {+ let I = ES(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(XF, { values: [+ [VR, f],+ [HR, te],+ [OL, {dragAndDropHooks: _,dragState: S,dropState: C}],- [qL, { render: rde }],- [RI, null],- [zI, null]- ] }, /*#__PURE__*/ D.createElement(WS, null, /*#__PURE__*/ D.createElement(Gue, {- ...K(I, P, v, j, w?.collectionProps),+ [kL, { render: bde }],+ [aI, null],+ [oI, null]+ ] }, /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(cde, {+ ...q(I, P, v, j, w?.collectionProps),style: F,ref: t,slot: e.slot || void 0,@@ -40131,55 +40131,55 @@ function Kue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": T || void 0,"data-focused": M || void 0,"data-focus-visible": N || void 0- }, /*#__PURE__*/ D.createElement(ZL, null, /*#__PURE__*/ D.createElement(g, {+ }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: YL(y, _, C)+ persistedKeys: jL(y, _, C)})))), E);}-var que = /*#__PURE__*/ (0, D.createContext)(null), cz = class extends Fy {+var ude = /*#__PURE__*/ (0, D.createContext)(null), WR = class extends zy {static {this.type = "tableheader";}-}, Jue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(UI);- return n ? /*#__PURE__*/ D.createElement(LI.div, {+}, dde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(dI);+ return n ? /*#__PURE__*/ D.createElement(iI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(LI.thead, {+ }) : /*#__PURE__*/ D.createElement(iI.thead, {...e,ref: t});-}), lz = /*#__PURE__*/ Mx(cz, (e, t) => {- let n = (0, D.useContext)(az).collection, r = Uy({+}), GR = /*#__PURE__*/ qx(WR, (e, t) => {+ let n = (0, D.useContext)(VR).collection, r = qy({items: n.headerRows,children: (0, D.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ D.createElement(Xue, { item: e });+ case "headerrow": return /*#__PURE__*/ D.createElement(pde, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = zO(), { hoverProps: a, isHovered: o } = uT({+ }), { rowGroupProps: i } = FO(), { hoverProps: a, isHovered: o } = MT({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = jI({+ }), s = ZF({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ D.createElement(Jue, {- ...K(yS(e, { global: !0 }), i, a),+ return /*#__PURE__*/ D.createElement(dde, {+ ...q(ES(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ D.createElement(Fx, {+}, (e) => /*#__PURE__*/ D.createElement(Xx, {dependencies: e.dependencies,items: e.columns-}, e.children)), Yue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(UI);+}, e.children)), fde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(dI);return n ? /*#__PURE__*/ D.createElement("div", {...e,ref: t@@ -40188,41 +40188,41 @@ var que = /*#__PURE__*/ (0, D.createContext)(null), cz = class extends Fy {ref: t});});-function Xue({ item: e }) {- let t = (0, D.useRef)(null), n = (0, D.useContext)(az), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(UI), { rowProps: a } = zae({+function pde({ item: e }) {+ let t = (0, D.useRef)(null), n = (0, D.useContext)(VR), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(dI), { rowProps: a } = Hae({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = Kae(n);- return /*#__PURE__*/ D.createElement(Yue, {+ }, n, t), { checkboxProps: o } = Yae(n);+ return /*#__PURE__*/ D.createElement(fde, {...a,ref: t- }, /*#__PURE__*/ D.createElement(AI, { values: [[eL, { slots: { selection: o } }], [tL, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {+ }, /*#__PURE__*/ D.createElement(XF, { values: [[EI, { slots: { selection: o } }], [DI, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {collection: n.collection,parent: e})));}-var Zue = class extends Fy {+var mde = class extends zy {static {this.type = "column";}-}, Que = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(UI);- return n ? /*#__PURE__*/ D.createElement(LI.div, {+}, hde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(dI);+ return n ? /*#__PURE__*/ D.createElement(iI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(LI.th, {+ }) : /*#__PURE__*/ D.createElement(iI.th, {...e,ref: t});-}), uz = /*#__PURE__*/ jx(Zue, (e, t, n) => {- let r = vx(t), i = (0, D.useContext)(az), { isVirtualized: a } = (0, D.useContext)(UI), { columnHeaderProps: o, isPressed: s } = Iae({+}), KR = /*#__PURE__*/ Kx(mde, (e, t, n) => {+ let r = Nx(t), i = (0, D.useContext)(VR), { isVirtualized: a } = (0, D.useContext)(dI), { columnHeaderProps: o, isPressed: s } = zae({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = oT(), d = (0, D.useContext)(oz), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = OT(), d = (0, D.useContext)(HR), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = uT({ isDisabled: !e.allowsSorting }), h = jI({+ let { hoverProps: p, isHovered: m } = MT({ isDisabled: !e.allowsSorting }), h = ZF({...e,id: void 0,children: n.rendered,@@ -40248,9 +40248,9 @@ var Zue = class extends Fy {...g,width: d.getColumnWidth(n.key)});- let _ = yS(e, { global: !0 });- return delete _.id, /*#__PURE__*/ D.createElement(Que, {- ...K(_, o, u, p),+ let _ = ES(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ D.createElement(hde, {+ ...q(_, o, u, p),...h,style: g,ref: r,@@ -40261,29 +40261,29 @@ var Zue = class extends Fy {"data-resizing": f || void 0,"data-allows-sorting": n.props.allowsSorting || void 0,"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0- }, /*#__PURE__*/ D.createElement(AI, { values: [[dz, {+ }, /*#__PURE__*/ D.createElement(XF, { values: [[qR, {column: n,triggerRef: r- }], [UI, VI]] }, h.children));-}), dz = /*#__PURE__*/ (0, D.createContext)(null), $ue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let n = (0, D.useContext)(oz);+ }], [dI, cI]] }, h.children));+}), qR = /*#__PURE__*/ (0, D.createContext)(null), gde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let n = (0, D.useContext)(HR);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = fS(Bue(GL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(iz), { column: s, triggerRef: c } = (0, D.useContext)(dz), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Rae({+ let r = wS(rde(DL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(BR), { column: s, triggerRef: c } = (0, D.useContext)(qR), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Vae({column: s,"aria-label": e["aria-label"] || r.format("tableResizer"),onResizeStart: i,onResize: a,onResizeEnd: o,triggerRef: c- }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = oT(), { hoverProps: _, isHovered: v } = uT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = rS(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = OT(), { hoverProps: _, isHovered: v } = MT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = vS(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = vx(t), [w, T] = (0, D.useState)("");+ let C = Nx(t), [w, T] = (0, D.useState)("");(0, D.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = jI({+ let E = ZF({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -40293,11 +40293,11 @@ var Zue = class extends Fy {isHovered: v,resizableDirection: S}- }), O = yS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(LI.div, {+ }), O = ES(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(iI.div, {ref: C,role: "presentation",- ...K(O, E, u, _),+ ...q(O, E, u, _),"data-hovered": v || void 0,"data-focused": h || void 0,"data-focus-visible": g || void 0,@@ -40305,7 +40305,7 @@ var Zue = class extends Fy {"data-resizable-direction": S}, E.children, /*#__PURE__*/ D.createElement("input", {ref: l,- ...K(d, m)+ ...q(d, m)}), f && p && /*#__PURE__*/ Tt.createPortal(/*#__PURE__*/ D.createElement("div", {style: {position: "fixed",@@ -40317,24 +40317,24 @@ var Zue = class extends Fy {},"data-testid": "cursor-overlay"}), document.body));-}), fz = class extends Iy {+}), JR = class extends By {static {this.type = "tablebody";}-}, ede = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(UI);- return n ? /*#__PURE__*/ D.createElement(LI.div, {+}, _de = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(dI);+ return n ? /*#__PURE__*/ D.createElement(iI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(LI.tbody, {+ }) : /*#__PURE__*/ D.createElement(iI.tbody, {...e,ref: t});-}), pz = /*#__PURE__*/ Mx(fz, (e, t, n) => {- let r = (0, D.useContext)(az), { isVirtualized: i } = (0, D.useContext)(UI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(UI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(KL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), YR = /*#__PURE__*/ qx(JR, (e, t, n) => {+ let r = (0, D.useContext)(VR), { isVirtualized: i } = (0, D.useContext)(dI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(dI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(OL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = jI({+ }, p = ZF({...e,id: void 0,children: void 0,@@ -40343,33 +40343,33 @@ var Zue = class extends Fy {}), m, h = a.columnCount;if (d && e.renderEmptyState && r) {let t = {}, n = {}, r = {};- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(hz, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(ZR, {role: "row",...t,style: r- }, /*#__PURE__*/ D.createElement(_z, {+ }, /*#__PURE__*/ D.createElement($R, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = zO(), _ = yS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(ede, {- ...K(_, p, g),+ let { rowGroupProps: g } = FO(), _ = ES(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(_de, {+ ...q(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ D.createElement(cde, null), /*#__PURE__*/ D.createElement(o, {+ }, l && /*#__PURE__*/ D.createElement(Tde, null), /*#__PURE__*/ D.createElement(o, {collection: a,parent: n,- renderDropIndicator: JL(s, c)+ renderDropIndicator: AL(s, c)}), m);});-(class extends Iy {+(class extends By {static {this.type = "tablefooter";}});-var mz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), tde = class extends Fy {+var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vde = class extends zy {static {this.type = "item";}@@ -40381,31 +40381,31 @@ var mz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td}return null;}-}, hz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(UI);- return n ? /*#__PURE__*/ D.createElement(LI.div, {+}, ZR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(dI);+ return n ? /*#__PURE__*/ D.createElement(iI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(LI.tr, {+ }) : /*#__PURE__*/ D.createElement(iI.tr, {...e,ref: t});-}), gz = /*#__PURE__*/ Mx(tde, (e, t, n) => {- let r = vx(t), i = (0, D.useContext)(az), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(KL), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(UI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Hae({+}), QR = /*#__PURE__*/ qx(vde, (e, t, n) => {+ let r = Nx(t), i = (0, D.useContext)(VR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(OL), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(dI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Gae({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = oT(), { isFocusVisible: _, focusProps: v } = oT({ within: !0 }), { hoverProps: y, isHovered: b } = uT({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = OT(), { isFocusVisible: _, focusProps: v } = OT({ within: !0 }), { hoverProps: y, isHovered: b } = MT({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = Gae({ key: n.key }, i), S;+ }), { checkboxProps: x } = Jae({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0}, o));- let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = VC();+ let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = lw();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -40415,7 +40415,7 @@ var mz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td(0, D.useEffect)(() => {o && E.current;}, []);- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = jI({+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = ZF({...A,id: void 0,defaultClassName: "react-aria-Row",@@ -40436,11 +40436,11 @@ var mz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), tdisExpanded: M,level: n.level + 1}- }), P = yS(e, { global: !0 });- return delete P.id, delete P.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(hz, {+ }), P = ES(e, { global: !0 });+ return delete P.id, delete P.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(ZR, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ D.createElement(_z, {+ }, /*#__PURE__*/ D.createElement($R, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -40449,8 +40449,8 @@ var mz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ D.createElement(hz, {- ...K(P, N, d, g, y, S?.dragProps, v),+ }))), /*#__PURE__*/ D.createElement(ZR, {+ ...q(P, N, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,"data-selected": p.isSelected || void 0,@@ -40465,17 +40465,17 @@ var mz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td"data-expanded": M || void 0,"data-has-child-items": j || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ D.createElement(AI, { values: [- [eL, { slots: {- [kI]: {},+ }, /*#__PURE__*/ D.createElement(XF, { values: [+ [EI, { slots: {+ [YF]: {},selection: x} }],- [tL, { slots: {- [kI]: {},+ [DI, { slots: {+ [YF]: {},selection: x} }],- [qI, { slots: {- [kI]: {},+ [gI, { slots: {+ [YF]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -40483,8 +40483,8 @@ var mz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), tdstyle: { pointerEvents: "none" }}} }],- [QL, { isSelected: p.isSelected }],- [mz, { isFocusVisibleWithinRow: _ }]+ [PL, { isSelected: p.isSelected }],+ [XR, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ D.createElement(l, {collection: i.collection,parent: n@@ -40492,34 +40492,34 @@ var mz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td}, (e) => {if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t = [e.value].concat(e.dependencies);- return /*#__PURE__*/ D.createElement(Fx, {+ return /*#__PURE__*/ D.createElement(Xx, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), nde = class extends Fy {+}), yde = class extends zy {static {this.type = "cell";}-}, _z = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(UI);- return n ? /*#__PURE__*/ D.createElement(LI.div, {+}, $R = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(dI);+ return n ? /*#__PURE__*/ D.createElement(iI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(LI.td, {+ }) : /*#__PURE__*/ D.createElement(iI.td, {...e,ref: t});-}), vz = /*#__PURE__*/ jx(nde, (e, t, n) => {- let r = vx(t), i = (0, D.useContext)(az), { dragState: a } = (0, D.useContext)(KL), { isVirtualized: o } = (0, D.useContext)(UI);+}), ez = /*#__PURE__*/ Kx(yde, (e, t, n) => {+ let r = Nx(t), i = (0, D.useContext)(VR), { dragState: a } = (0, D.useContext)(OL), { isVirtualized: o } = (0, D.useContext)(dI);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = Pae({+ let { gridCellProps: s, isPressed: c } = Lae({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = oT(), { hoverProps: f, isHovered: p } = uT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(mz), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = jI({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = OT(), { hoverProps: f, isHovered: p } = MT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(XR), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = ZF({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -40538,9 +40538,9 @@ var mz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), tdlevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = yS(e, { global: !0 });- return delete S.id, /*#__PURE__*/ D.createElement(_z, {- ...K(S, x, s, d, f),+ }), S = ES(e, { global: !0 });+ return delete S.id, /*#__PURE__*/ D.createElement($R, {+ ...q(S, x, s, d, f),ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,@@ -40553,14 +40553,14 @@ var mz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ D.createElement(UI.Provider, { value: VI }, x.children));+ }, /*#__PURE__*/ D.createElement(dI.Provider, { value: cI }, x.children));});-function rde(e, t) {- t = vx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(KL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function bde(e, t) {+ t = Nx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(OL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ D.createElement(sde, {+ return /*#__PURE__*/ D.createElement(wde, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -40569,40 +40569,40 @@ function rde(e, t) {ref: t});}-var ide = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(UI);- return n ? /*#__PURE__*/ D.createElement(LI.div, {+var xde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(dI);+ return n ? /*#__PURE__*/ D.createElement(iI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(LI.tr, {+ }) : /*#__PURE__*/ D.createElement(iI.tr, {...e,ref: t});-}), ade = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(UI);- return n ? /*#__PURE__*/ D.createElement(LI.div, {+}), Sde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(dI);+ return n ? /*#__PURE__*/ D.createElement(iI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(LI.td, {+ }) : /*#__PURE__*/ D.createElement(iI.td, {...e,ref: t});});-function ode(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(az), { visuallyHiddenProps: c } = VC(), l = jI({+function Cde(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(VR), { visuallyHiddenProps: c } = lw(), l = ZF({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(ide, {- ...yS(e, { global: !0 }),+ return /*#__PURE__*/ D.createElement(xde, {+ ...ES(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ D.createElement(ade, {+ }, /*#__PURE__*/ D.createElement(Sde, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -40613,14 +40613,14 @@ function ode(e, t) {ref: i}), l.children));}-var sde = /*#__PURE__*/ (0, D.forwardRef)(ode);-function cde() {- let e = (0, D.useContext)(az), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(KL), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = VC();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(hz, {+var wde = /*#__PURE__*/ (0, D.forwardRef)(Cde);+function Tde() {+ let e = (0, D.useContext)(VR), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(OL), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = lw();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(ZR, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ D.createElement(_z, {+ }, /*#__PURE__*/ D.createElement($R, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -40631,9 +40631,9 @@ function cde() {ref: r})));}-jx(Ly, function(e, t, n) {- let r = (0, D.useContext)(az), { isVirtualized: i } = (0, D.useContext)(UI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);- dR((0, D.useMemo)(() => ({+Kx(Vy, function(e, t, n) {+ let r = (0, D.useContext)(VR), { isVirtualized: i } = (0, D.useContext)(dI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);+ qL((0, D.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -40643,7 +40643,7 @@ jx(Ly, function(e, t, n) {s,r?.collection]), u);- let d = jI({+ let d = ZF({...c,id: void 0,children: n.rendered,@@ -40651,10 +40651,10 @@ jx(Ly, function(e, t, n) {defaultStyle: { "--table-row-level": n.level + 1 },values: void 0}), f = {}, p = {}, m = {};- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(hz, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(ZR, {style: { height: 0 },- inert: eR(!0)- }, /*#__PURE__*/ D.createElement(_z, { style: {+ inert: IL(!0)+ }, /*#__PURE__*/ D.createElement($R, { style: {padding: 0,border: 0} }, /*#__PURE__*/ D.createElement("div", {@@ -40665,14 +40665,14 @@ jx(Ly, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ D.createElement(hz, {- ...K(yS(e, { global: !0 }), f),+ }))), a && d.children && /*#__PURE__*/ D.createElement(ZR, {+ ...q(ES(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ D.createElement(_z, {+ }, /*#__PURE__*/ D.createElement($R, {role: "rowheader",...p,style: m@@ -40680,8 +40680,8 @@ jx(Ly, function(e, t, n) {});//#endregion//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function lde(e) {- let [t, n] = MC(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = lR({+function Ede(e) {+ let [t, n] = ew(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = GL({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -40704,24 +40704,24 @@ function lde(e) {}//#endregion//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function ude(e) {- let t = lde({+function Dde(e) {+ let t = Ede({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? yz(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? tz(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, D.useRef)(i);return (0, D.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = yz(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = tz(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;}), {...t,isDisabled: e.isDisabled || !1};}-function yz(e, t) {+function tz(e, t) {let n = null;if (e) {for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);@@ -40731,24 +40731,24 @@ function yz(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var bz = /*#__PURE__*/ (0, D.createContext)(null), xz = /*#__PURE__*/ (0, D.createContext)(null), dde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = NI(e, t, bz);+var nz = /*#__PURE__*/ (0, D.createContext)(null), rz = /*#__PURE__*/ (0, D.createContext)(null), Ode = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = $F(e, t, nz);let { children: n, orientation: r = "horizontal" } = e;return n = (0, D.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ D.createElement(Ox, { content: n }, (n) => /*#__PURE__*/ D.createElement(fde, {+ }) : n, [n, r]), /*#__PURE__*/ D.createElement(Ux, { content: n }, (n) => /*#__PURE__*/ D.createElement(kde, {props: e,collection: n,tabsRef: t}));});-function fde({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = ude({+function kde({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = Dde({...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = oT({ within: !0 }), c = (0, D.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = OT({ within: !0 }), c = (0, D.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -40756,33 +40756,33 @@ function fde({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = jI({+ ]), l = ZF({...e,defaultClassName: "react-aria-Tabs",values: c- }), u = yS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(LI.div, {- ...K(u, l, a),+ }), u = ES(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(iI.div, {+ ...q(u, l, a),ref: t,slot: e.slot || void 0,"data-focused": o || void 0,"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ D.createElement(AI, { values: [[bz, e], [xz, i]] }, l.children));+ }, /*#__PURE__*/ D.createElement(XF, { values: [[nz, e], [rz, i]] }, l.children));}-var Sz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return (0, D.useContext)(xz) ? /*#__PURE__*/ D.createElement(pde, {+var iz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return (0, D.useContext)(rz) ? /*#__PURE__*/ D.createElement(Ade, {props: e,forwardedRef: t- }) : /*#__PURE__*/ D.createElement(Fx, e);+ }) : /*#__PURE__*/ D.createElement(Xx, e);});-function pde({ props: e, forwardedRef: t }) {- let n = (0, D.useContext)(xz), { CollectionRoot: r } = (0, D.useContext)(UI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = MI(bz), o = vx(t), { tabListProps: s } = Yae({+function Ade({ props: e, forwardedRef: t }) {+ let n = (0, D.useContext)(rz), { CollectionRoot: r } = (0, D.useContext)(dI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = QF(nz), o = Nx(t), { tabListProps: s } = Qae({...e,orientation: i,keyboardActivation: a- }, n, o), c = jI({+ }, n, o), c = ZF({...e,children: null,defaultClassName: "react-aria-TabList",@@ -40790,30 +40790,30 @@ function pde({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = yS(e, { global: !0 });- return delete l.id, /*#__PURE__*/ D.createElement(LI.div, {- ...K(l, c, s),+ }), l = ES(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ D.createElement(iI.div, {+ ...q(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ D.createElement(ZL, null, /*#__PURE__*/ D.createElement(r, {+ }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(r, {collection: n.collection,- persistedKeys: WI(n.selectionManager.focusedKey)+ persistedKeys: fI(n.selectionManager.focusedKey)})));}-var mde = /*#__PURE__*/ jx(class extends Fy {+var jde = /*#__PURE__*/ Kx(class extends zy {static {this.type = "item";}}, (e, t, n) => {- let r = (0, D.useContext)(xz), i = vx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = qae({+ let r = (0, D.useContext)(rz), i = Nx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Xae({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = oT(), { hoverProps: f, isHovered: p } = uT({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = OT(), { hoverProps: f, isHovered: p } = MT({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = jI({+ }), m = ZF({...e,id: void 0,children: n.rendered,@@ -40826,9 +40826,9 @@ var mde = /*#__PURE__*/ jx(class extends Fy {isPressed: c,isHovered: p}- }), h = n.props.href ? LI.a : LI.div, g = yS(e, { global: !0 });+ }), h = n.props.href ? iI.a : iI.div, g = ES(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ D.createElement(h, {- ...K(g, m, a, l, f),+ ...q(g, m, a, l, f),ref: i,"data-selected": o || void 0,"data-disabled": s || void 0,@@ -40836,55 +40836,55 @@ var mde = /*#__PURE__*/ jx(class extends Fy {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ D.createElement(QL.Provider, { value: { isSelected: o } }, m.children));-}), hde = /*#__PURE__*/ Cx(function(e, t) {- let n = (0, D.useContext)(xz), r = vx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ D.createElement(PL.Provider, { value: { isSelected: o } }, m.children));+}), Mde = /*#__PURE__*/ Rx(function(e, t) {+ let n = (0, D.useContext)(rz), r = Nx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = _R(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(gde, {+ let s = $L(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(Nde, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function gde(e) {- let t = (0, D.useContext)(xz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Xae(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = oT(), d = t.selectedKey === e.id, f = gR(r) && !i, p = jI({+function Nde(e) {+ let t = (0, D.useContext)(rz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = $ae(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = OT(), d = t.selectedKey === e.id, f = QL(r) && !i, p = ZF({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: eR(!d),+ isInert: IL(!d),isEntering: f,isExiting: a,state: t}- }), m = yS(o, { global: !0 });+ }), m = ES(o, { global: !0 });delete m.id;- let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ D.createElement(LI.div, {+ let h = d ? q(m, s, c, p) : q(m, p);+ return /*#__PURE__*/ D.createElement(iI.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: eR(!d || e.inert),+ inert: IL(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ D.createElement(AI, { values: [[bz, null], [xz, null]] }, /*#__PURE__*/ D.createElement(UI.Provider, { value: VI }, p.children)));+ }, /*#__PURE__*/ D.createElement(XF, { values: [[nz, null], [rz, null]] }, /*#__PURE__*/ D.createElement(dI.Provider, { value: cI }, p.children)));}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var Cz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {+var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, vde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = NI(e, t, Cz);- let { hoverProps: n, isHovered: r } = uT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = oT({+}, Fde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = $F(e, t, az);+ let { hoverProps: n, isHovered: r } = MT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = OT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = jI({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = ZF({...e,values: {isHovered: r,@@ -40895,8 +40895,8 @@ var Cz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ D.createElement(LI.textarea, {- ...K(_de(e), o, n),+ return /*#__PURE__*/ D.createElement(iI.textarea, {+ ...q(Pde(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -40905,18 +40905,18 @@ var Cz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), yde = /*#__PURE__*/ (0, D.createContext)(null), bde = /*#__PURE__*/ Cx(function(e, t) {- [e, t] = NI(e, t, yde);- let { validationBehavior: n } = MI($I) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);- [e, i] = NI(e, i, zI);- let [a, o] = PI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Uie({- ...FI(e),+}), Ide = /*#__PURE__*/ (0, D.createContext)(null), Lde = /*#__PURE__*/ Rx(function(e, t) {+ [e, t] = $F(e, t, Ide);+ let { validationBehavior: n } = QF(TI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);+ [e, i] = $F(e, i, oI);+ let [a, o] = eI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = bie({+ ...tI(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, D.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = jI({+ }, [i]), h = ZF({...e,values: {isDisabled: e.isDisabled || !1,@@ -40925,8 +40925,8 @@ var Cz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = yS(e, { global: !0 });- return delete g.id, /*#__PURE__*/ D.createElement(LI.div, {+ }), g = ES(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ D.createElement(iI.div, {...g,...h,ref: t,@@ -40935,31 +40935,31 @@ var Cz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ D.createElement(AI, { values: [- [GI, {+ }, /*#__PURE__*/ D.createElement(XF, { values: [+ [pI, {...l,ref: a}],- [aL, {+ [FI, {...u,ref: m}],- [Cz, {+ [az, {...u,ref: m}],- [rL, {+ [NI, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [ZI, { slots: {+ [SI, { slots: {description: d,errorMessage: f} }],- [QI, p]+ [wI, p]] }, h.children));-}), xde = class e extends zy {+}), Rde = class e extends Uy {withExpandedKeys(t, n) {let r = this.clone();return r.expandedKeys = n, e.cloneAncestorSections(n, t, r), e.cloneAncestorSections(t, n, r), r.frozen = this.frozen, r;@@ -41031,16 +41031,16 @@ var Cz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, Sde = /*#__PURE__*/ (0, D.createContext)(null), wz = /*#__PURE__*/ (0, D.createContext)(null), Cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return [e, t] = NI(e, t, Sde), /*#__PURE__*/ D.createElement(Ox, {- content: /*#__PURE__*/ D.createElement(Fx, e),- createCollection: () => new xde()- }, (n) => /*#__PURE__*/ D.createElement(wde, {+}, zde = /*#__PURE__*/ (0, D.createContext)(null), oz = /*#__PURE__*/ (0, D.createContext)(null), Bde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return [e, t] = $F(e, t, zde), /*#__PURE__*/ D.createElement(Ux, {+ content: /*#__PURE__*/ D.createElement(Xx, e),+ createCollection: () => new Rde()+ }, (n) => /*#__PURE__*/ D.createElement(Vde, {props: e,collection: n,treeRef: t}));-}), Tz = {+}), sz = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -41050,17 +41050,17 @@ var Cz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {rtl: "ArrowRight"}};-function wde({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = rS(), a = $w({+function Vde({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = vS(), a = xT({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, D.useRef)(o), l = (0, D.useRef)(s);(0, D.useEffect)(() => {c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");}, [o, s]);- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, D.useContext)(UI), [y, b] = MC(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));- (!jde(C, y) || t !== x) && (E(t.withExpandedKeys(C, y)), S(t), w(y));- let O = CR({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, D.useContext)(dI), [y, b] = ew(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));+ (!Jde(C, y) || t !== x) && (E(t.withExpandedKeys(C, y)), S(t), w(y));+ let O = aR({...e,selectionMode: u,expandedKeys: y,@@ -41068,7 +41068,7 @@ function wde({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: k } = Zae({+ }), { gridProps: k } = eoe({...e,isVirtualized: g,layoutDelegate: _@@ -41082,7 +41082,7 @@ function wde({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;P = r.renderDragPreview ? /*#__PURE__*/ D.createElement(e, { ref: ee }, r.renderDragPreview) : null;}- let [F] = (0, D.useState)(() => new ZR());+ let [F] = (0, D.useState)(() => new NR());if (s && r) {j = r.useDroppableCollectionState({collection: O.collection,@@ -41090,7 +41090,7 @@ function wde({ props: e, collection: t, treeRef: n }) {});let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(O.collection, n, { direction: i });F.setup(e, O, i);- let t = new tw({+ let t = new Cw({collection: O.collection,collator: a,ref: n,@@ -41112,12 +41112,12 @@ function wde({ props: e, collection: t, treeRef: n }) {let t = j?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = O.collection.getItem(t.key);- (e.key === Tz.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === Tz.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);+ (e.key === sz.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === sz.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);}}}, j, n), N = j.isDropTarget({ type: "root" });}- let te = !(!o || A?.isDisabled), { focusProps: I, isFocused: ne, isFocusVisible: re } = oT(), ie = {+ let te = !(!o || A?.isDisabled), { focusProps: I, isFocused: ne, isFocusVisible: re } = OT(), ie = {isEmpty: O.collection.size === 0,isFocused: ne,isFocusVisible: re,@@ -41125,7 +41125,7 @@ function wde({ props: e, collection: t, treeRef: n }) {selectionMode: O.selectionManager.selectionMode,allowsDragging: !!te,state: O- }, ae = jI({+ }, ae = ZF({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -41142,9 +41142,9 @@ function wde({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let se = yS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(WS, null, /*#__PURE__*/ D.createElement(LI.div, {- ...K(se, ae, k, I, M?.collectionProps),+ let se = ES(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(iI.div, {+ ...q(se, ae, k, I, M?.collectionProps),ref: n,slot: e.slot || void 0,"data-empty": O.collection.size === 0 || void 0,@@ -41153,54 +41153,54 @@ function wde({ props: e, collection: t, treeRef: n }) {"data-focus-visible": re || void 0,"data-selection-mode": O.selectionManager.selectionMode === "none" ? void 0 : O.selectionManager.selectionMode,"data-allows-dragging": !!te || void 0- }, /*#__PURE__*/ D.createElement(AI, { values: [- [wz, O],- [KL, {+ }, /*#__PURE__*/ D.createElement(XF, { values: [+ [oz, O],+ [OL, {dragAndDropHooks: r,dragState: A,dropState: j}],- [qL, { render: Dde }]- ] }, s && /*#__PURE__*/ D.createElement(Ade, null), /*#__PURE__*/ D.createElement(ZL, null, /*#__PURE__*/ D.createElement(h, {+ [kL, { render: Wde }]+ ] }, s && /*#__PURE__*/ D.createElement(qde, null), /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(h, {collection: O.collection,- persistedKeys: YL(O.selectionManager, r, j),+ persistedKeys: jL(O.selectionManager, r, j),scrollRef: n,- renderDropIndicator: JL(r, j)+ renderDropIndicator: AL(r, j)}))), oe)), P);}-var Tde = /*#__PURE__*/ jx(class extends Fy {+var Hde = /*#__PURE__*/ Kx(class extends zy {static {this.type = "content";}}, function(e) {- let t = (0, D.useContext)(Ez), n = jI({+ let t = (0, D.useContext)(cz), n = ZF({children: e.children,values: t});- return /*#__PURE__*/ D.createElement(UI.Provider, { value: VI }, n.children);-}), Ez = /*#__PURE__*/ (0, D.createContext)(null), Ede = /*#__PURE__*/ Mx(class extends Fy {+ return /*#__PURE__*/ D.createElement(dI.Provider, { value: cI }, n.children);+}), cz = /*#__PURE__*/ (0, D.createContext)(null), Ude = /*#__PURE__*/ qx(class extends zy {static {this.type = "item";}}, (e, t, n) => {- let r = (0, D.useContext)(wz);- t = vx(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(KL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Ck({+ let r = (0, D.useContext)(oz);+ t = Nx(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(OL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = yk({node: n,shouldSelectOnPressUp: !!a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = uT({+ }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = MT({isDisabled: !f.allowsSelection && !f.hasAction && !s,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = oT(), { isFocusVisible: b, focusProps: x } = oT({ within: !0 }), { checkboxProps: S } = vae({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = OT(), { isFocusVisible: b, focusProps: x } = OT({ within: !0 }), { checkboxProps: S } = Yie({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0}, a));- let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = VC();+ let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = lw();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -41239,7 +41239,7 @@ var Tde = /*#__PURE__*/ jx(class extends Fy {j,N,M- ]), ee = jI({+ ]), ee = ZF({...e,id: void 0,children: n.rendered,@@ -41256,7 +41256,7 @@ var Tde = /*#__PURE__*/ jx(class extends Fy {(0, D.useEffect)(() => {a && F.current;}, []);- let te = Uy({+ let te = qy({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -41266,7 +41266,7 @@ var Tde = /*#__PURE__*/ jx(class extends Fy {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), I = sx(), ne = yS(e, { global: !0 });+ }), I = Sx(), ne = ES(e, { global: !0 });return delete ne.id, delete ne.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, w && !w.isHidden && /*#__PURE__*/ D.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -41289,8 +41289,8 @@ var Tde = /*#__PURE__*/ jx(class extends Fy {"aria-labelledby": `${I} ${c.id}`,tabIndex: -1,ref: O- }))), /*#__PURE__*/ D.createElement(LI.div, {- ...K(ne, c, y, g, x, C?.dragProps),+ }))), /*#__PURE__*/ D.createElement(iI.div, {+ ...q(ne, c, y, g, x, C?.dragProps),...ee,ref: t,"data-expanded": m && p || void 0,@@ -41309,17 +41309,17 @@ var Tde = /*#__PURE__*/ jx(class extends Fy {}, /*#__PURE__*/ D.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ D.createElement(AI, { values: [- [eL, { slots: {- [kI]: {},+ }, /*#__PURE__*/ D.createElement(XF, { values: [+ [EI, { slots: {+ [YF]: {},selection: S} }],- [tL, { slots: {- [kI]: {},+ [DI, { slots: {+ [YF]: {},selection: S} }],- [qI, { slots: {- [kI]: {},+ [gI, { slots: {+ [YF]: {},chevron: {...u,ref: T@@ -41330,13 +41330,13 @@ var Tde = /*#__PURE__*/ jx(class extends Fy {style: { pointerEvents: "none" }}} }],- [Ez, { ...P }],- [QL, { isSelected: f.isSelected }]+ [cz, { ...P }],+ [PL, { isSelected: f.isSelected }]] }, te))));});-jx(Ly, function(e, t, n) {- let { isVirtualized: r } = (0, D.useContext)(UI), i = (0, D.useContext)(wz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);- dR((0, D.useMemo)(() => ({+Kx(Vy, function(e, t, n) {+ let { isVirtualized: r } = (0, D.useContext)(dI), i = (0, D.useContext)(oz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);+ qL((0, D.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -41345,11 +41345,11 @@ jx(Ly, function(e, t, n) {o,s,i?.collection- ]), l), t = vx(t);- let { rowProps: u, gridCellProps: d } = Ck({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = Nx(t);+ let { rowProps: u, gridCellProps: d } = yk({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = jI({+ }, m = ZF({...c,id: void 0,children: n.rendered,@@ -41362,7 +41362,7 @@ jx(Ly, function(e, t, n) {width: 0,height: 0},- inert: eR(!0)+ inert: IL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -41371,9 +41371,9 @@ jx(Ly, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ D.createElement(LI.div, {+ })), a && m.children && /*#__PURE__*/ D.createElement(iI.div, {ref: t,- ...K(yS(e), p),+ ...q(ES(e), p),...m,"data-level": f}, /*#__PURE__*/ D.createElement("div", {@@ -41381,12 +41381,12 @@ jx(Ly, function(e, t, n) {style: h}, m.children)));});-function Dde(e, t) {- t = vx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(KL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function Wde(e, t) {+ t = Nx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(OL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ D.createElement(kde, {+ return /*#__PURE__*/ D.createElement(Kde, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -41395,8 +41395,8 @@ function Dde(e, t) {level: c});}-function Ode(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = VC(), c = jI({+function Gde(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = lw(), c = ZF({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -41405,7 +41405,7 @@ function Ode(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(LI.div, {+ return /*#__PURE__*/ D.createElement(iI.div, {...c,role: "row","aria-level": a,@@ -41418,9 +41418,9 @@ function Ode(e, t) {ref: i}), c.children));}-var kde = /*#__PURE__*/ (0, D.forwardRef)(Ode);-function Ade() {- let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(KL), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = VC();+var Kde = /*#__PURE__*/ (0, D.forwardRef)(Gde);+function qde() {+ let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(OL), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = lw();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ D.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -41432,14 +41432,14 @@ function Ade() {ref: n})));}-function jde(e, t) {+function Jde(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}//#endregion//#region node_modules/@remixicon/react/index.mjs-var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41447,7 +41447,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Nde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Xde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41455,7 +41455,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), Dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), lz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41463,7 +41463,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), Oz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), uz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41471,7 +41471,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), kz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41479,7 +41479,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Pde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41487,7 +41487,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Fde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41495,7 +41495,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Ide = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), $de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41503,7 +41503,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Lde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41511,7 +41511,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Rde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41519,7 +41519,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41527,7 +41527,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Bde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41535,7 +41535,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Vde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41543,7 +41543,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Hde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41551,7 +41551,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), Ude = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41559,7 +41559,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), Az = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41567,7 +41567,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Wde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41575,7 +41575,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), Gde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41583,7 +41583,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Kde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41591,7 +41591,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41599,7 +41599,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Jde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41607,7 +41607,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), jz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41615,7 +41615,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41623,7 +41623,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Xde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41631,7 +41631,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41639,7 +41639,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41647,7 +41647,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), $de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41655,7 +41655,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), _fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41663,7 +41663,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41671,7 +41671,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), Nz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41679,7 +41679,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41687,7 +41687,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), Pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), gz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41695,7 +41695,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), _z = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41703,7 +41703,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41711,7 +41711,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41719,7 +41719,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41727,7 +41727,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41735,7 +41735,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41743,7 +41743,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Iz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41751,7 +41751,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41759,7 +41759,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41767,7 +41767,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), Lz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41775,7 +41775,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Rz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41783,7 +41783,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), zz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41791,7 +41791,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41799,7 +41799,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), Efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41807,7 +41807,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), Vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41815,7 +41815,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41823,7 +41823,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), Ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41831,7 +41831,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41839,7 +41839,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), Afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41847,7 +41847,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41855,7 +41855,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41863,7 +41863,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), wz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41871,7 +41871,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), Uz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), Tz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41879,7 +41879,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), Nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41887,7 +41887,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), _fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41898,11 +41898,11 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D}, D.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" }));//#endregion//#region src/react/boardui/components/base/input/label.tsx-function Wz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, O.jsxs)(KI, {+function Ez({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsxs)(mI, {"data-label": "true",...a,- className: GF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: eF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, O.jsx)("span", {@@ -41910,7 +41910,7 @@ function Wz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, O.jsx)(ife, {+ n && /* @__PURE__ */ (0, O.jsx)(xfe, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -41919,33 +41919,33 @@ function Wz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr}//#endregion//#region src/react/boardui/components/base/input/hint-text.tsx-function Gz({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, O.jsx)(ble, {+function Dz({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, O.jsx)(CI, {slot: e ? "errorMessage" : "description",...n,- className: GF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: eF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}//#endregion//#region src/react/boardui/components/base/input/input.tsx-var Kz = (0, D.createContext)({});-function qz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(Kz.Provider, {+var Oz = (0, D.createContext)({});+function kz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(Oz.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, O.jsx)(bde, {+ children: /* @__PURE__ */ (0, O.jsx)(Lde, {...a,"data-input-size": e,- className: GF("group flex h-max w-full flex-col items-start gap-1", r),+ className: eF("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-qz.displayName = "TextField";-var Jz = KF({+kz.displayName = "TextField";+var Az = tF({field: ["relative flex w-full items-center","rounded-2lg",@@ -41974,44 +41974,44 @@ var Jz = KF({].join(" "),icon: "size-5 shrink-0"});-function Yz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, D.useContext)(Kz), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, O.jsx)(iL, {+function jz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, D.useContext)(Oz), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, O.jsx)(PI, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => GF(Jz.field, d ? Jz.fieldWithAddonSize[u] : Jz.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => eF(Az.field, d ? Az.fieldWithAddonSize[u] : Az.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),children: /* @__PURE__ */ (0, O.jsxs)("div", {- className: Jz.content,+ className: Az.content,children: [/* @__PURE__ */ (0, O.jsxs)("div", {- className: Jz.leftSection,+ className: Az.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, O.jsx)(t, {- className: Jz.icon,+ className: Az.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, O.jsx)(Ele, {+ }) : null, /* @__PURE__ */ (0, O.jsx)(LI, {ref: o,...c,- className: GF(Jz.input, l.inputClassName, a)+ className: eF(Az.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, O.jsx)(n, {- className: Jz.icon,+ className: Az.icon,"aria-hidden": !0}) : null]})});}-Yz.displayName = "InputBase";-function Xz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {- return /* @__PURE__ */ (0, O.jsx)(qz, {+jz.displayName = "InputBase";+function Mz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {+ return /* @__PURE__ */ (0, O.jsx)(kz, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- e && /* @__PURE__ */ (0, O.jsx)(Wz, {+ e && /* @__PURE__ */ (0, O.jsx)(Ez, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, O.jsx)(Yz, {+ /* @__PURE__ */ (0, O.jsx)(jz, {ref: c,groupRef: l,placeholder: r,@@ -42020,25 +42020,25 @@ function Xz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, O.jsx)(Gz, {+ t && /* @__PURE__ */ (0, O.jsx)(Dz, {isInvalid: d,children: t})] })});}-Xz.displayName = "Input";+Mz.displayName = "Input";//#endregion//#region src/react/components/modal-frame.tsx-var vfe = {+var Ffe = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl"};-function Zz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {- let { isFocusVisible: a } = Jb();- return /* @__PURE__ */ (0, O.jsx)(RR, {+function Nz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+ let { isFocusVisible: a } = lx();+ return /* @__PURE__ */ (0, O.jsx)(bR, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -42046,11 +42046,11 @@ function Zz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {"data-modal-kind": n,"data-motion-instant": a || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, O.jsx)(cue, {+ children: /* @__PURE__ */ (0, O.jsx)(Tue, {"data-modal-surface": "","data-modal-width": n,- className: `flex max-h-full w-full ${vfe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, O.jsx)(PR, {+ className: `flex max-h-full w-full ${Ffe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ children: /* @__PURE__ */ (0, O.jsx)(gR, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -42058,7 +42058,7 @@ function Zz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function Qz({ children: e }) {+function Pz({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",@@ -42067,12 +42067,12 @@ function Qz({ children: e }) {}//#endregion//#region src/react/components/note.tsx-function $z({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {+function Fz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-note-layout": "",- className: GF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: eF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {- className: GF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: eF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),children: [t ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium wrap-anywhere",children: t@@ -42089,50 +42089,50 @@ function $z({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, O.jsx)("div", {role: "status",- className: GF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: eF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),children: s});case "success": return /* @__PURE__ */ (0, O.jsx)("div", {role: "status",- className: GF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: eF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),children: s});case "warning": return /* @__PURE__ */ (0, O.jsx)("div", {role: "note",- className: GF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: eF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),children: s});case "error": return /* @__PURE__ */ (0, O.jsx)("div", {role: "alert",- className: GF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: eF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),children: s});default: return /* @__PURE__ */ (0, O.jsx)("div", {role: "note",- className: GF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: eF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),children: s});}}//#endregion//#region src/react/components/empty-state.tsx-var yfe = {+var Ife = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function bfe({ target: e, children: t }) {- return /* @__PURE__ */ (0, O.jsx)(q, {+function Lfe({ target: e, children: t }) {+ return /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "secondary",onClick: () => document.querySelector(e)?.focus(),children: t});}-function eB({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function Iz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${yfe[i]}`,+ className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${Ife[i]}`,children: [/* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,@@ -42159,9 +42159,9 @@ function eB({ icon: e, title: t, actions: n, children: r, size: i = "standard" }}//#endregion//#region src/react/components/sprite-glyph.tsx-var tB = /* @__PURE__ */ new Map();-function nB(e) {- let t = tB.get(e);+var Lz = /* @__PURE__ */ new Map();+function Rz(e) {+ let t = Lz.get(e);if (t) return t;let { wide: n, viewBox: r } = Gt(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,@@ -42177,11 +42177,11 @@ function nB(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, tB.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, Lz.set(e, i), i;}//#endregion//#region src/react/components/settings-dialog-close.tsx-function rB({ label: e, id: t, onPress: n }) {+function zz({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",id: t,@@ -42197,7 +42197,7 @@ function rB({ label: e, id: t, onPress: n }) {}//#endregion//#region src/react/settings/busy-props.ts-function iB(e) {+function Bz(e) {return e ? {"aria-busy": !0,"aria-disabled": !0@@ -42205,54 +42205,54 @@ function iB(e) {}//#endregion//#region src/react/library-shortcuts/library-shortcuts.ts-var aB = ["library-shortcuts"], oB = "/api/library-shortcuts";-function sB(e = !0) {+var Vz = ["library-shortcuts"], Hz = "/api/library-shortcuts";+function Uz(e = !0) {return St({- queryKey: aB,- queryFn: ({ signal: e }) => V(oB, e),+ queryKey: Vz,+ queryFn: ({ signal: e }) => V(Hz, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function cB() {+function Wz() {return Ct({- mutationKey: aB,- mutationFn: (e) => H(oB, e),+ mutationKey: Vz,+ mutationFn: (e) => H(Hz, e),onSuccess: (e, t) => {- U.setQueryData(aB, e), t.action === "favorite" && t.scope === "online" && (U.invalidateQueries({ queryKey: ["follow", "tags"] }), U.invalidateQueries({ queryKey: ["tag-management"] }));+ U.setQueryData(Vz, e), t.action === "favorite" && t.scope === "online" && (U.invalidateQueries({ queryKey: ["follow", "tags"] }), U.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function lB(e, t) {+function Gz(e, t) {return e.some((e) => t.scope === "online" ? e.scope === "online" && e.tag_id === t.tag_id : e.scope !== "online" && (t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name));}-function xfe(e) {+function Rfe(e) {return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : en(e.kind, e.name, e.entity_id);}//#endregion//#region src/react/library-shortcuts/shortcut-controls.tsx-var uB = nB("star"), Sfe = nB("bookmark-plus"), dB = nB("chevron-right"), fB = {+var Kz = Rz("star"), zfe = Rz("bookmark-plus"), qz = Rz("chevron-right"), Jz = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, pB = {- all: nB("star"),- performer: nB("user-round"),- creator: nB("user-round"),- studio: nB("clapperboard"),- series: nB("film"),- agency: nB("briefcase"),- tag: nB("tags"),- filters: nB("list-filter")-}, mB = [+}, Yz = {+ all: Rz("star"),+ performer: Rz("user-round"),+ creator: Rz("user-round"),+ studio: Rz("clapperboard"),+ series: Rz("film"),+ agency: Rz("briefcase"),+ tag: Rz("tags"),+ filters: Rz("list-filter")+}, Xz = [["all", "全部"],- ...Object.entries(fB),+ ...Object.entries(Jz),["filters", "保存的筛选"]];-function hB({ label: e, children: t, ...n }) {+function Zz({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",...n,@@ -42262,19 +42262,19 @@ function hB({ label: e, children: t, ...n }) {children: t});}-function gB({ item: e }) {- return /* @__PURE__ */ (0, O.jsx)(Cfe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function Qz({ item: e }) {+ return /* @__PURE__ */ (0, O.jsx)(Bfe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function Cfe({ item: e }) {- let t = sB(!1), n = (0, D.useRef)(t.data), r = cB(), i = t.data && t.data !== n.current ? lB(t.data.favorites || [], e) : e.favorite ?? (t.data ? lB(t.data.favorites || [], e) : !1);+function Bfe({ item: e }) {+ let t = Uz(!1), n = (0, D.useRef)(t.data), r = Wz(), i = t.data && t.data !== n.current ? Gz(t.data.favorites || [], e) : e.favorite ?? (t.data ? Gz(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, O.jsx)(hB, {+ /* @__PURE__ */ (0, O.jsx)(Zz, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${e.name}`,- ...iB(r.isPending),+ ...Bz(r.isPending),onClick: () => {r.isPending || r.mutate({action: "favorite",@@ -42285,13 +42285,13 @@ function Cfe({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: ns("") }- }) : /* @__PURE__ */ (0, O.jsx)(uB, {})+ }) : /* @__PURE__ */ (0, O.jsx)(Kz, {})}),- r.isError ? /* @__PURE__ */ (0, O.jsx)($z, {+ r.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: An(r.error)}) : null,- t.isError ? /* @__PURE__ */ (0, O.jsx)(q, {+ t.isError ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small","aria-label": "立即重试读取收藏",@@ -42301,37 +42301,37 @@ function Cfe({ item: e }) {]});}-function _B({ currentHref: e, kind: t }) {+function $z({ currentHref: e, kind: t }) {let [n, r] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, O.jsx)(bI, {+ children: /* @__PURE__ */ (0, O.jsx)(LF, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: uB,+ icon: Kz,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, O.jsx)(Zz, {+ }), /* @__PURE__ */ (0, O.jsx)(Nz, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, O.jsx)(wfe, {+ children: n ? /* @__PURE__ */ (0, O.jsx)(Vfe, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function wfe({ currentHref: e, kind: t, close: n }) {- let r = sB(), i = cB(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);+function Vfe({ currentHref: e, kind: t, close: n }) {+ let r = Uz(), i = Wz(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);(0, D.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = EI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = KF(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, D.useLayoutEffect)(() => {b.current && (x.current = $a(b.current) || null);}, []), (0, D.useLayoutEffect)(() => {@@ -42344,7 +42344,7 @@ function wfe({ currentHref: e, kind: t, close: n }) {}, [s]), (0, D.useLayoutEffect)(() => {x.current?.();});- let C = mB.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = Xz.find(([e]) => e === s)?.[1] || "全部", w = (e) => {let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);if (n < 0) return;let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;@@ -42367,7 +42367,7 @@ function wfe({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, O.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, O.jsx)(rB, {+ }), /* @__PURE__ */ (0, O.jsx)(zz, {label: "关闭我的收藏",onPress: n})]@@ -42397,8 +42397,8 @@ function wfe({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- mB.map(([e, t]) => {- let n = pB[e] || uB, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ Xz.map(([e, t]) => {+ let n = Yz[e] || Kz, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",@@ -42430,17 +42430,17 @@ function wfe({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, O.jsx)(uB, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(Kz, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, O.jsx)(dB, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, O.jsx)(qz, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, O.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, O.jsx)(Sfe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(zfe, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, O.jsx)(dB, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, O.jsx)(qz, { "aria-hidden": !0 })]})]})]@@ -42459,25 +42459,25 @@ function wfe({ currentHref: e, kind: t, close: n }) {"data-skeleton": "",className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"}) : null,- r.isError ? /* @__PURE__ */ (0, O.jsx)($z, {+ r.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: () => void r.refetch(),children: "立即重试"}),children: An(r.error)}) : null,- i.isError ? /* @__PURE__ */ (0, O.jsx)($z, {+ i.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: An(i.error)}) : null,E ? s === "filters" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)(eB, {+ E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)(Iz, {size: "compact",- icon: nB("list-filter"),+ icon: Rz("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, O.jsx)(OI, {+ actions: /* @__PURE__ */ (0, O.jsx)(JF, {size: "small",href: "/",onClick: n,@@ -42492,11 +42492,11 @@ function wfe({ currentHref: e, kind: t, close: n }) {onClick: n,className: "min-w-0 flex-1 break-all text-body-regular text-text-primary underline",children: e.name- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small","aria-label": `删除筛选${e.name}`,- ...iB(i.isPending),+ ...Bz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "delete_filter",@@ -42511,16 +42511,16 @@ function wfe({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, O.jsx)(Xz, {+ /* @__PURE__ */ (0, O.jsx)(Mz, {label: "筛选名称",value: a,onChange: o,maxLength: 80}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {type: "submit",disabled: !a.trim(),- ...iB(i.isPending),+ ...Bz(i.isPending),children: "保存当前筛选"}),d ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -42531,26 +42531,26 @@ function wfe({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Xz, {+ /* @__PURE__ */ (0, O.jsx)(Mz, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: nB("search"),+ leadingIcon: Rz("search"),value: l,onChange: u}),- k.length ? null : /* @__PURE__ */ (0, O.jsx)(eB, {+ k.length ? null : /* @__PURE__ */ (0, O.jsx)(Iz, {size: "compact",- icon: uB,+ icon: Kz,title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",- actions: l ? /* @__PURE__ */ (0, O.jsx)(q, {+ actions: l ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: () => u(""),children: "清除搜索"- }) : E.favorites.length ? /* @__PURE__ */ (0, O.jsx)(q, {+ }) : E.favorites.length ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, O.jsx)(OI, {+ }) : /* @__PURE__ */ (0, O.jsx)(JF, {size: "small",href: "/",onClick: n,@@ -42564,25 +42564,25 @@ function wfe({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, O.jsxs)("a", {- href: xfe(e),+ href: Rfe(e),"aria-label": e.name,onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, O.jsx)(Tfe, { item: e }, e.image_url), /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(Hfe, { item: e }, e.image_url), /* @__PURE__ */ (0, O.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "truncate",children: e.name}), /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : fB[e.kind]+ children: e.scope === "online" ? "在线标签" : Jz[e.kind]})]})]- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small","aria-label": `取消收藏${e.name}`,- ...iB(i.isPending),+ ...Bz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "favorite",@@ -42600,8 +42600,8 @@ function wfe({ currentHref: e, kind: t, close: n }) {]});}-function Tfe({ item: e }) {- let t = pB[e.kind] || uB;+function Hfe({ item: e }) {+ let t = Yz[e.kind] || Kz;return /* @__PURE__ */ (0, O.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -42620,20 +42620,20 @@ function Tfe({ item: e }) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/url.js-var Efe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, vB = /^[\\/]{2}/;-function Dfe(e, t) {+var Ufe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, eB = /^[\\/]{2}/;+function Wfe(e, t) {return t + e.replace(/\\/g, "/");}//#endregion//#region node_modules/react-router/dist/production/lib/router/history.js-var yB = "popstate";-function bB(e) {+var tB = "popstate";+function nB(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function Ofe(e = {}) {+function Gfe(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return wB("", {+ return oB("", {pathname: r,search: i,hash: a@@ -42644,14 +42644,14 @@ function Ofe(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : TB(t);+ return typeof t == "string" ? t : sB(t);}- return Afe(t, n, null, e);+ return qfe(t, n, null, e);}-function xB(e, t) {+function rB(e, t) {if (e === !1 || e == null) throw Error(t);}-function SB(e, t) {+function iB(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -42659,10 +42659,10 @@ function SB(e, t) {} catch {}}}-function kfe() {+function Kfe() {return Math.random().toString(36).substring(2, 10);}-function CB(e, t) {+function aB(e, t) {return {usr: e.state,key: e.key,@@ -42674,21 +42674,21 @@ function CB(e, t) {} : void 0};}-function wB(e, t, n = null, r, i) {+function oB(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? EB(t) : t,+ ...typeof t == "string" ? cB(t) : t,state: n,- key: t && t.key || r || kfe(),+ key: t && t.key || r || Kfe(),mask: i};}-function TB({ pathname: e = "/", search: t = "", hash: n = "" }) {+function sB({ pathname: e = "/", search: t = "", hash: n = "" }) {return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;}-function EB(e) {+function cB(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -42698,7 +42698,7 @@ function EB(e) {}return t;}-function Afe(e, t, n, r = {}) {+function qfe(e, t, n, r = {}) {let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();l ?? (l = 0, o.replaceState({...o.state,@@ -42718,9 +42718,9 @@ function Afe(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = bB(e) ? e : wB(h.location, e, t);+ let r = nB(e) ? e : oB(h.location, e, t);n && n(r, e), l = u() + 1;- let d = CB(r, l), f = h.createHref(r.mask || r);+ let d = aB(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -42735,9 +42735,9 @@ function Afe(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = bB(e) ? e : wB(h.location, e, t);+ let r = nB(e) ? e : oB(h.location, e, t);n && n(r, e), l = u();- let i = CB(r, l), d = h.createHref(r.mask || r);+ let i = aB(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -42745,7 +42745,7 @@ function Afe(e, t, n, r = {}) {});}function m(e) {- return jfe(i, e);+ return Jfe(i, e);}let h = {get action() {@@ -42756,8 +42756,8 @@ function Afe(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(yB, d), c = e, () => {- i.removeEventListener(yB, d), c = null;+ return i.addEventListener(tB, d), c = e, () => {+ i.removeEventListener(tB, d), c = null;};},createHref(e) {@@ -42780,29 +42780,29 @@ function Afe(e, t, n, r = {}) {};return h;}-function jfe(e, t, n = !1) {+function Jfe(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), xB(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : TB(t);- return i = i.replace(/ $/, "%20"), !n && vB.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), rB(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : sB(t);+ return i = i.replace(/ $/, "%20"), !n && eB.test(i) && (i = r + i), new URL(i, r);}//#endregion//#region node_modules/react-router/dist/production/lib/router/utils.js-function Mfe(e, t, n = "/") {- return Nfe(e, t, n, !1);+function Yfe(e, t, n = "/") {+ return Xfe(e, t, n, !1);}-function Nfe(e, t, n, r, i) {- let a = NB((typeof t == "string" ? EB(t) : t).pathname || "/", n);+function Xfe(e, t, n, r, i) {+ let a = hB((typeof t == "string" ? cB(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? Pfe(e), s = null, c = qfe(a);- for (let e = 0; s == null && e < o.length; ++e) s = Kfe(o[e], c, r);+ let o = i ?? Zfe(e), s = null, c = upe(a);+ for (let e = 0; s == null && e < o.length; ++e) s = lpe(o[e], c, r);return s;}-function Pfe(e) {- let t = DB(e);- return Ffe(t), t;+function Zfe(e) {+ let t = lB(e);+ return Qfe(t), t;}-function DB(e, t = [], n = [], r = "", i = !1) {+function lB(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -42812,14 +42812,14 @@ function DB(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- xB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);+ rB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);}- let l = LB([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (xB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), DB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = yB([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (rB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), lB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: Wfe(l, e.index),+ score: spe(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = MB(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = mB(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -42830,68 +42830,68 @@ function DB(e, t = [], n = [], r = "", i = !1) {};return e.forEach((e, t) => {if (e.path === "" || !e.path?.includes("?")) a(e, t);- else for (let n of OB(e.path)) a(e, t, !0, n);+ else for (let n of uB(e.path)) a(e, t, !0, n);}), t;}-function OB(e) {+function uB(e) {let t = e.split("/");if (t.length === 0) return [];let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");if (r.length === 0) return i ? [a, ""] : [a];- let o = OB(r.join("/")), s = [];+ let o = uB(r.join("/")), s = [];return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);}-function Ffe(e) {- e.sort((e, t) => e.score === t.score ? Gfe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function Qfe(e) {+ e.sort((e, t) => e.score === t.score ? cpe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var Ife = /^:[\w-]+$/, Lfe = /^:[\w-]+/, Rfe = 3.5, zfe = 3, Bfe = 2, Vfe = 1, Hfe = 10, Ufe = -2, kB = (e) => e === "*";-function Wfe(e, t) {+var $fe = /^:[\w-]+$/, epe = /^:[\w-]+/, tpe = 3.5, npe = 3, rpe = 2, ipe = 1, ape = 10, ope = -2, dB = (e) => e === "*";+function spe(e, t) {let n = e.split("/"), r = n.length;- return n.some(kB) && (r += Ufe), t && (r += Bfe), n.filter((e) => !kB(e)).reduce((e, t) => e + (Ife.test(t) ? zfe : Lfe.test(t) ? Rfe : t === "" ? Vfe : Hfe), r);+ return n.some(dB) && (r += ope), t && (r += rpe), n.filter((e) => !dB(e)).reduce((e, t) => e + ($fe.test(t) ? npe : epe.test(t) ? tpe : t === "" ? ipe : ape), r);}-function Gfe(e, t) {+function cpe(e, t) {return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;}-function Kfe(e, t, n = !1) {+function lpe(e, t, n = !1) {let { routesMeta: r } = e, i = {}, a = "/", o = [];for (let e = 0; e < r.length; ++e) {let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {path: s.relativePath,caseSensitive: s.caseSensitive,end: c- }, d = s.matcher && s.compiledParams ? jB(u, l, s.matcher, s.compiledParams) : AB(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = AB({+ }, d = s.matcher && s.compiledParams ? pB(u, l, s.matcher, s.compiledParams) : fB(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = fB({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: LB([a, d.pathname]),- pathnameBase: Qfe(LB([a, d.pathnameBase])),+ pathname: yB([a, d.pathname]),+ pathnameBase: hpe(yB([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = LB([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = yB([a, d.pathnameBase]));}return o;}-function AB(e, t) {+function fB(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = MB(e.path, e.caseSensitive, e.end);- return jB(e, t, n, r);+ let [n, r] = mB(e.path, e.caseSensitive, e.end);+ return pB(e, t, n, r);}-function jB(e, t, n, r) {+function pB(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = RB(a, 1), s = i.slice(1);+ let a = i[0], o = bB(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = RB(a.slice(0, a.length - e.length), 1);+ o = bB(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -42901,8 +42901,8 @@ function jB(e, t, n, r) {pattern: e};}-function MB(e, t = !1, n = !0) {- SB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);+function mB(e, t = !1, n = !0) {+ iB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {if (r.push({paramName: t,@@ -42915,46 +42915,46 @@ function MB(e, t = !1, n = !0) {}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];}-function qfe(e) {+function upe(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return SB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;+ return iB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;}}-function NB(e, t) {+function hB(e, t) {if (t === "/") return e;if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);return r && r !== "/" ? null : e.slice(n) || "/";}-function Jfe(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? EB(e) : e, a;- return n ? (n = IB(n), a = n.startsWith("/") || n.startsWith("\\") ? PB(n.substring(1), "/") : PB(n, t)) : a = t, {+function dpe(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? cB(e) : e, a;+ return n ? (n = vB(n), a = n.startsWith("/") || n.startsWith("\\") ? gB(n.substring(1), "/") : gB(n, t)) : a = t, {pathname: a,- search: $fe(r),- hash: epe(i)+ search: gpe(r),+ hash: _pe(i)};}-function PB(e, t) {- let n = RB(t).split("/");+function gB(e, t) {+ let n = bB(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function FB(e, t, n, r) {+function _B(e, t, n, r) {return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;}-function Yfe(e) {+function fpe(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function Xfe(e) {- let t = Yfe(e);+function ppe(e) {+ let t = fpe(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function Zfe(e, t, n, r = !1) {+function mpe(e, t, n, r = !1) {let i;- typeof e == "string" ? i = EB(e) : (i = { ...e }, xB(!i.pathname || !i.pathname.includes("?"), FB("?", "pathname", "search", i)), xB(!i.pathname || !i.pathname.includes("#"), FB("#", "pathname", "hash", i)), xB(!i.search || !i.search.includes("#"), FB("#", "search", "hash", i)));+ typeof e == "string" ? i = cB(e) : (i = { ...e }, rB(!i.pathname || !i.pathname.includes("?"), _B("?", "pathname", "search", i)), rB(!i.pathname || !i.pathname.includes("#"), _B("#", "pathname", "hash", i)), rB(!i.search || !i.search.includes("#"), _B("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -42966,16 +42966,16 @@ function Zfe(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = Jfe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = dpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var IB = (e) => e.replace(/[\\/]{2,}/g, "/"), LB = (e) => IB(e.join("/"));-function RB(e, t = 0) {+var vB = (e) => e.replace(/[\\/]{2,}/g, "/"), yB = (e) => vB(e.join("/"));+function bB(e, t = 0) {let n = e.length;for (; n > t && e.charCodeAt(n - 1) === 47;) n--;return n === e.length ? e : e.slice(0, n);}-var Qfe = (e) => RB(e).replace(/^\/*/, "/"), $fe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, epe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, tpe = class {+var hpe = (e) => bB(e).replace(/^\/*/, "/"), gpe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, _pe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, vpe = class {status;statusText;data;@@ -42985,26 +42985,26 @@ var Qfe = (e) => RB(e).replace(/^\/*/, "/"), $fe = (e) => !e || e === "?" ? "" :this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;}};-function npe(e) {+function ype(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function rpe(e) {- return LB(e.map((e) => e.route.path).filter(Boolean)) || "/";+function bpe(e) {+ return yB(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var zB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function ipe(e, t) {+var xB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function xpe(e, t) {let n = e;- if (typeof n != "string" || !Efe.test(n)) return {+ if (typeof n != "string" || !Ufe.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if (zB) try {- let e = new URL(window.location.href), r = vB.test(n) ? new URL(Dfe(n, e.protocol)) : new URL(n), a = NB(r.pathname, t);+ if (xB) try {+ let e = new URL(window.location.href), r = eB.test(n) ? new URL(Wfe(n, e.protocol)) : new URL(n), a = hB(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- SB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ iB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -43014,45 +43014,45 @@ function ipe(e, t) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/navigation.js-var BB = new URL("http://localhost");-function VB(e) {+var SB = new URL("http://localhost");+function CB(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), BB);+ return new URL(e.createHref("/"), SB);} catch {- return BB;+ return SB;}}-function HB(e, t) {+function wB(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function ape(e, t) {+function Spe(e, t) {if (e.startsWith("//")) return !0;let n = t.protocol.toLowerCase();return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;}-function UB(e, t, n, r) {+function TB(e, t, n, r) {let i = null;try {i = e == null ? null : new URL(e, n);} catch {}- let a = new URL(t, n), o = i != null && !HB(i, n), s = !HB(a, n);+ let a = new URL(t, n), o = i != null && !wB(i, n), s = !wB(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !ape(e, i) || !HB(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !Spe(e, i) || !wB(i, a))) throw Error("External navigation is not allowed");}//#endregion//#region node_modules/react-router/dist/production/lib/router/router.js-var WB = [+var EB = ["POST","PUT","PATCH","DELETE"];-new Set(WB);-var ope = ["GET", ...WB];-new Set(ope);-var spe = [+new Set(EB);+var Cpe = ["GET", ...EB];+new Set(Cpe);+var wpe = ["about:","blob:","chrome:",@@ -43064,85 +43064,85 @@ var spe = ["filesystem:","javascript:"];-function cpe(e) {+function Tpe(e) {try {- return spe.includes(new URL(e).protocol);+ return wpe.includes(new URL(e).protocol);} catch {return !1;}}//#endregion//#region node_modules/react-router/dist/production/lib/context.js-var GB = D.createContext(null);-GB.displayName = "DataRouter";-var lpe = D.createContext(null);-lpe.displayName = "DataRouterState";-var KB = D.createContext(null);-KB.displayName = "DataRouterData";-var upe = D.createContext(null);-upe.displayName = "DataRouterNavigation";-var dpe = D.createContext(!1), fpe = D.createContext({ isTransitioning: !1 });-fpe.displayName = "ViewTransition";-var ppe = D.createContext(null);-ppe.displayName = "Fetchers";-var mpe = D.createContext(null);-mpe.displayName = "Await";-var qB = D.createContext(null);-qB.displayName = "Navigation";-var JB = D.createContext(null);-JB.displayName = "Location";-var YB = D.createContext({+var DB = D.createContext(null);+DB.displayName = "DataRouter";+var Epe = D.createContext(null);+Epe.displayName = "DataRouterState";+var OB = D.createContext(null);+OB.displayName = "DataRouterData";+var Dpe = D.createContext(null);+Dpe.displayName = "DataRouterNavigation";+var Ope = D.createContext(!1), kpe = D.createContext({ isTransitioning: !1 });+kpe.displayName = "ViewTransition";+var Ape = D.createContext(null);+Ape.displayName = "Fetchers";+var jpe = D.createContext(null);+jpe.displayName = "Await";+var kB = D.createContext(null);+kB.displayName = "Navigation";+var AB = D.createContext(null);+AB.displayName = "Location";+var jB = D.createContext({outlet: null,matches: [],isDataRoute: !1});-YB.displayName = "Route";-var XB = D.createContext(!1);-XB.displayName = "IsDataRoute";-var ZB = D.createContext(void 0);-ZB.displayName = "RouteId";-var QB = D.createContext(null);-QB.displayName = "RouteError";+jB.displayName = "Route";+var MB = D.createContext(!1);+MB.displayName = "IsDataRoute";+var NB = D.createContext(void 0);+NB.displayName = "RouteId";+var PB = D.createContext(null);+PB.displayName = "RouteError";//#endregion//#region node_modules/react-router/dist/production/lib/errors.js-var $B = "REACT_ROUTER_ERROR", hpe = "REDIRECT", gpe = "ROUTE_ERROR_RESPONSE";-function _pe(e) {- if (e.startsWith(`${$B}:${hpe}:{`)) try {+var FB = "REACT_ROUTER_ERROR", Mpe = "REDIRECT", Npe = "ROUTE_ERROR_RESPONSE";+function Ppe(e) {+ if (e.startsWith(`${FB}:${Mpe}:{`)) try {let t = JSON.parse(e.slice(28));if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;} catch {}}-function vpe(e) {- if (e.startsWith(`${$B}:${gpe}:{`)) try {+function Fpe(e) {+ if (e.startsWith(`${FB}:${Npe}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new tpe(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new vpe(t.status, t.statusText, t.data);} catch {}}//#endregion//#region node_modules/react-router/dist/production/lib/hooks.js-function eV() {- return D.useContext(JB) != null;+function IB() {+ return D.useContext(AB) != null;}-function tV() {- return xB(eV(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(JB).location;+function LB() {+ return rB(IB(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(AB).location;}-var nV = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function ype() {- return D.useContext(XB) ? jpe() : bpe();+var RB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";+function Ipe() {+ return D.useContext(MB) ? Jpe() : Lpe();}-function bpe() {- xB(eV(), "useNavigate() may be used only in the context of a <Router> component.");- let e = D.useContext(GB), { basename: t, navigator: n } = D.useContext(qB), { matches: r } = D.useContext(YB), { pathname: i } = tV(), a = JSON.stringify(Xfe(r)), o = D.useRef(!1);+function Lpe() {+ rB(IB(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = D.useContext(DB), { basename: t, navigator: n } = D.useContext(kB), { matches: r } = D.useContext(jB), { pathname: i } = LB(), a = JSON.stringify(ppe(r)), o = D.useRef(!1);return D.useLayoutEffect(() => {o.current = !0;}), D.useCallback((r, s = {}) => {- if (SB(o.current, nV), !o.current) return;+ if (iB(o.current, RB), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = Zfe(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : LB([t, c.pathname])), UB(typeof r == "string" ? r : TB(r), n.createHref(c), VB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = mpe(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : yB([t, c.pathname])), TB(typeof r == "string" ? r : sB(r), n.createHref(c), CB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -43152,19 +43152,19 @@ function bpe() {]);}D.createContext(null);-function xpe(e, t) {- return rV(e, t);+function Rpe(e, t) {+ return zB(e, t);}-function rV(e, t, n) {- xB(eV(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = D.useContext(qB), { matches: i } = D.useContext(YB), a = i[i.length - 1], o = a ? a.params : {};+function zB(e, t, n) {+ rB(IB(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = D.useContext(kB), { matches: i } = D.useContext(jB), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = tV(), l;+ let c = LB(), l;if (t) {- let e = typeof t == "string" ? EB(t) : t;- xB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;+ let e = typeof t == "string" ? cB(t) : t;+ rB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;} else l = c;let u = l.pathname || "/", d = u;if (s !== "/") {@@ -43172,13 +43172,13 @@ function rV(e, t, n) {d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");}let f;- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Mfe(e, { pathname: d });- let p = Dpe(f && f.map((e) => Object.assign({}, e, {+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Yfe(e, { pathname: d });+ let p = Wpe(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: LB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : LB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: yB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : yB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])})), i, n);- return t && p ? /* @__PURE__ */ D.createElement(JB.Provider, { value: {+ return t && p ? /* @__PURE__ */ D.createElement(AB.Provider, { value: {location: {pathname: "/",search: "",@@ -43191,14 +43191,14 @@ function rV(e, t, n) {navigationType: "POP"} }, p) : p;}-function Spe() {- let e = Ape(), t = npe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function zpe() {+ let e = qpe(), t = ype(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ D.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ D.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var Cpe = /* @__PURE__ */ D.createElement(Spe, null), wpe = class extends D.Component {+var Bpe = /* @__PURE__ */ D.createElement(zpe, null), Vpe = class extends D.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -43206,7 +43206,7 @@ var Cpe = /* @__PURE__ */ D.createElement(Spe, null), wpe = class extends D.Comperror: e.error};}- static contextType = dpe;+ static contextType = Ope;static getDerivedStateFromError(e) {return { error: e };}@@ -43227,30 +43227,30 @@ var Cpe = /* @__PURE__ */ D.createElement(Spe, null), wpe = class extends D.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = vpe(e.digest);+ let t = Fpe(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(YB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(XB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(ZB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(QB.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(jB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(MB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(NB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(PB.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ D.createElement(Tpe, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ D.createElement(Hpe, { error: e }, t) : t;}-}, iV = /* @__PURE__ */ new WeakMap();-function Tpe({ children: e, error: t }) {- let { basename: n, navigator: r } = D.useContext(qB);+}, BB = /* @__PURE__ */ new WeakMap();+function Hpe({ children: e, error: t }) {+ let { basename: n, navigator: r } = D.useContext(kB);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = _pe(t.digest);+ let e = Ppe(t.digest);if (e) {- let i = iV.get(t);+ let i = BB.get(t);if (i) throw i;- let a = ipe(e.location, n), o = a.absoluteURL || a.to;- if (UB(e.location, o, VB(r), "allow-explicit"), cpe(o)) throw Error("Invalid redirect location");- if (zB && !iV.get(t)) {+ let a = xpe(e.location, n), o = a.absoluteURL || a.to;+ if (TB(e.location, o, CB(r), "allow-explicit"), Tpe(o)) throw Error("Invalid redirect location");+ if (xB && !BB.get(t)) {if (a.isExternal || e.reloadDocument) window.location.href = o;else {let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));- throw iV.set(t, n), n;+ throw BB.set(t, n), n;}}return /* @__PURE__ */ D.createElement("meta", {@@ -43261,11 +43261,11 @@ function Tpe({ children: e, error: t }) {}return e;}-function Epe({ routeContext: e, match: t, children: n }) {- let r = D.useContext(GB);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(YB.Provider, { value: e }, /* @__PURE__ */ D.createElement(XB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(ZB.Provider, { value: t.route.id }, n)));+function Upe({ routeContext: e, match: t, children: n }) {+ let r = D.useContext(DB);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(jB.Provider, { value: e }, /* @__PURE__ */ D.createElement(MB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(NB.Provider, { value: t.route.id }, n)));}-function Dpe(e, t = [], n) {+function Wpe(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -43276,7 +43276,7 @@ function Dpe(e, t = [], n) {let i = e, a = r?.errors;if (a != null) {let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);- xB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));+ rB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));}let o = !1, s = -1;if (n && r) {@@ -43296,16 +43296,16 @@ function Dpe(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: rpe(r.matches),+ pattern: bpe(r.matches),errorInfo: t});} : void 0;return i.reduceRight((e, n, c) => {let u, d = !1, f = null, p = null;- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Cpe, o && (s < 0 && c === 0 ? (Mpe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Bpe, o && (s < 0 && c === 0 ? (Ype("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));let m = t.concat(i.slice(0, c + 1)), h = () => {let t;- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ D.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ D.createElement(Epe, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ D.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ D.createElement(Upe, {match: n,routeContext: {outlet: e,@@ -43315,7 +43315,7 @@ function Dpe(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ D.createElement(wpe, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ D.createElement(Vpe, {location: r.location,revalidation: r.revalidation,component: f,@@ -43330,44 +43330,44 @@ function Dpe(e, t = [], n) {}) : h();}, null);}-function aV(e) {+function VB(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function Ope(e) {- let t = D.useContext(GB);- return xB(t, aV(e)), t;+function Gpe(e) {+ let t = D.useContext(DB);+ return rB(t, VB(e)), t;}-function kpe(e) {- let t = D.useContext(KB);- return xB(t, aV(e)), t;+function Kpe(e) {+ let t = D.useContext(OB);+ return rB(t, VB(e)), t;}-function oV(e) {- let t = D.useContext(ZB);- return xB(t, `${e} can only be used on routes that contain a unique "id"`), t;+function HB(e) {+ let t = D.useContext(NB);+ return rB(t, `${e} can only be used on routes that contain a unique "id"`), t;}-function Ape() {- let e = D.useContext(QB), t = kpe("useRouteError"), n = oV("useRouteError");+function qpe() {+ let e = D.useContext(PB), t = Kpe("useRouteError"), n = HB("useRouteError");return e === void 0 ? t.errors?.[n] : e;}-function jpe() {- let { router: e } = Ope("useNavigate"), t = oV("useNavigate"), n = D.useRef(!1);+function Jpe() {+ let { router: e } = Gpe("useNavigate"), t = HB("useNavigate"), n = D.useRef(!1);return D.useLayoutEffect(() => {n.current = !0;}), D.useCallback(async (r, i = {}) => {- SB(n.current, nV), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ iB(n.current, RB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var sV = {};-function Mpe(e, t, n) {- !t && !sV[e] && (sV[e] = !0, SB(!1, n));+var UB = {};+function Ype(e, t, n) {+ !t && !UB[e] && (UB[e] = !0, iB(!1, n));}-D.memo(Npe);-function Npe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = D.useContext(GB);- return xB(a, "You must render this element inside a <DataRouterContext.Provider> element"), rV(e, void 0, {+D.memo(Xpe);+function Xpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = D.useContext(DB);+ return rB(a, "You must render this element inside a <DataRouterContext.Provider> element"), zB(e, void 0, {router: a.router,manifest: t,state: n,@@ -43375,11 +43375,11 @@ function Npe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function cV(e) {- xB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");+function WB(e) {+ rB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");}-function Ppe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- xB(!eV(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function Zpe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ rB(!IB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = D.useMemo(() => ({basename: s,navigator: i,@@ -43392,9 +43392,9 @@ function Ppe({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = EB(n));+ typeof n == "string" && (n = cB(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = D.useMemo(() => {- let e = NB(l, s);+ let e = hB(l, s);return e == null ? null : {location: {pathname: e,@@ -43416,27 +43416,27 @@ function Ppe({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return SB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(qB.Provider, { value: c }, /* @__PURE__ */ D.createElement(JB.Provider, {+ return iB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(kB.Provider, { value: c }, /* @__PURE__ */ D.createElement(AB.Provider, {children: t,value: h}));}-function lV({ children: e, location: t }) {- return xpe(uV(e), t);+function GB({ children: e, location: t }) {+ return Rpe(KB(e), t);}D.Component;-function uV(e, t = []) {+function KB(e, t = []) {let n = [];return D.Children.forEach(e, (e, r) => {if (!D.isValidElement(e)) return;let i = [...t, r];if (e.type === D.Fragment) {- n.push.apply(n, uV(e.props.children, i));+ n.push.apply(n, KB(e.props.children, i));return;}- xB(e.type === cV, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);+ rB(e.type === WB, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a = e.props;- xB(!a.index || !a.children, "An index route cannot have child routes.");+ rB(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -43455,17 +43455,17 @@ function uV(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = uV(a.children, i)), n.push(o);+ a.children && (o.children = KB(a.children, i)), n.push(o);}), n;}//#endregion//#region src/react/components/board-navigation-link.tsx-function Fpe(e) {+function Qpe(e) {return /* @__PURE__ */ (0, O.jsx)("a", { ...e });}//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function Ipe(e) {+function $pe(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43479,7 +43479,7 @@ function Ipe(e) {})});}-function Lpe(e) {+function eme(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -43493,7 +43493,7 @@ function Lpe(e) {})});}-function dV(e) {+function qB(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -43507,54 +43507,54 @@ function dV(e) {}//#endregion//#region src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function Rpe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function tme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = D.Children.toArray(e).filter(D.isValidElement);return /* @__PURE__ */ (0, O.jsx)("nav", {ref: r,"aria-label": t,- className: GF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: eF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, O.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, O.jsx)(Lpe, {+ children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, O.jsx)(eme, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function fV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function JB({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t && /* @__PURE__ */ (0, O.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0}), e] });if (i) return /* @__PURE__ */ (0, O.jsx)("li", {"aria-current": "page",- className: GF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: eF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = GF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);+ let s = eF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);return /* @__PURE__ */ (0, O.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, O.jsx)(Fpe, {+ children: n ? /* @__PURE__ */ (0, O.jsx)(Qpe, {href: n,className: s,children: o}) : /* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: r,- className: GF("cursor-pointer", s),+ className: eF("cursor-pointer", s),children: o})});}//#endregion//#region src/react/boardui/components/foundations/direction/direction.tsx-function pV() {- return rS().direction;+function YB() {+ return vS().direction;}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var mV = [+var XB = ["max-w-[calc(100vw-32px)] overflow-y-auto","rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown","transition duration-150 ease-out",@@ -43562,11 +43562,11 @@ var mV = ["data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]","data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left","data-[placement=left]:origin-right data-[placement=right]:origin-left"-].join(" "), zpe = "w-[266px]", Bpe = "flex w-full flex-col gap-1 outline-none", hV = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), gV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+].join(" "), nme = "w-[266px]", rme = "flex w-full flex-col gap-1 outline-none", ZB = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), QB = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";//#endregion//#region src/react/boardui/components/base/tree-view/tree-view.tsx-function Vpe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = pV(), l = (0, D.useContext)(UI), u = l === VI && !s.dragAndDropHooks ? vV : l;+function ime({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = YB(), l = (0, D.useContext)(dI), u = l === cI && !s.dragAndDropHooks ? eV : l;return /* @__PURE__ */ (0, O.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -43583,23 +43583,23 @@ function Vpe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, O.jsx)(UI.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(dI.Provider, {value: u,- children: /* @__PURE__ */ (0, O.jsx)(Cde, {+ children: /* @__PURE__ */ (0, O.jsx)(Bde, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => GF("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === vV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)+ className: (e) => eF("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === eV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)})})});}-function _V({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = pV();- return /* @__PURE__ */ (0, O.jsxs)(Ede, {+function $B({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = YB();+ return /* @__PURE__ */ (0, O.jsxs)(Ude, {...u,ref: l,textValue: t,@@ -43607,11 +43607,11 @@ function _V({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNampaddingInlineStart: `calc(0.5rem + ${e.level - 1} * 1.25rem)`,...typeof c == "function" ? c(e) : c}),- className: (e) => GF("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),- children: [/* @__PURE__ */ (0, O.jsx)(Tde, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? Nz : Mz : Zde);+ className: (e) => eF("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),+ children: [/* @__PURE__ */ (0, O.jsx)(Hde, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? hz : mz : mfe);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Upe, {+ /* @__PURE__ */ (0, O.jsx)(ome, {state: l,id: u,level: c,@@ -43621,20 +43621,20 @@ function _V({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, O.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, O.jsx)(JI, {+ children: [t ? /* @__PURE__ */ (0, O.jsx)(_I, {slot: "chevron",isDisabled: s,className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",- children: /* @__PURE__ */ (0, O.jsx)(kz, {+ children: /* @__PURE__ */ (0, O.jsx)(dz, {"aria-hidden": !0,- className: GF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: eF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})}) : /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: GF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: eF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, O.jsx)(f, {"aria-hidden": !0,- className: GF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: eF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, O.jsx)("span", {@@ -43649,24 +43649,24 @@ function _V({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var vV = {- ...VI,- CollectionRoot: Hpe+var eV = {+ ...cI,+ CollectionRoot: ame};-function Hpe({ collection: e, ...t }) {- let n = (0, D.useContext)(wz);- return n ? /* @__PURE__ */ (0, O.jsx)(wv, {+function ame({ collection: e, ...t }) {+ let n = (0, D.useContext)(oz);+ return n ? /* @__PURE__ */ (0, O.jsx)(Mv, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, O.jsx)(Wpe, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, O.jsx)(sme, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, O.jsx)(VI.CollectionRoot, {+ }) : /* @__PURE__ */ (0, O.jsx)(cI.CollectionRoot, {collection: e,...t});}-function Upe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function ome({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {let o = e.collection.getItem(t);if (!o) return null;let s = [], c = o.parentKey == null ? null : e.collection.getItem(o.parentKey), l = n - 1;@@ -43699,7 +43699,7 @@ function Upe({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: GF("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: eF("absolute start-0", a === "rtl" && "-scale-x-100"),style: { top: "calc(50% - 6px)" },children: /* @__PURE__ */ (0, O.jsx)("path", {d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,@@ -43725,9 +43725,9 @@ function Upe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function Wpe({ state: e, children: t }) {- let n = xv(), r = xy(), [i, a] = (0, D.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Py.div, {+function sme({ state: e, children: t }) {+ let n = kv(), r = Ay(), [i, a] = (0, D.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Ry.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -43766,7 +43766,7 @@ function Wpe({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, O.jsx)(wz.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(oz.Provider, {value: n ? e : i,children: t})@@ -43774,7 +43774,7 @@ function Wpe({ state: e, children: t }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var yV = {+var tV = {md: {box: "size-4",glyph: "size-4",@@ -43788,11 +43788,11 @@ var yV = {gap: "gap-1.5"}};-function bV({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = yV[t], c = n || r, l = o && !a;+function nV({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = tV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: GF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? GF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : GF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: eF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? eF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : eF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43816,24 +43816,24 @@ function bV({ state: e, size: t = "md" }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function xV({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = yV[n];- return /* @__PURE__ */ (0, O.jsx)(Cle, {+function rV({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = tV[n];+ return /* @__PURE__ */ (0, O.jsx)(jI, {ref: r,...i,- className: (t) => GF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(bV, {+ className: (t) => eF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(nV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: GF(a.label, "text-text-primary"),+ className: eF(a.label, "text-text-primary"),children: t})] })});}//#endregion//#region src/react/components/overlay-scrollbar.ts-function SV() {+function iV() {let e = (0, D.useRef)(null);return (0, D.useEffect)(() => {$a(e.current);@@ -43841,13 +43841,13 @@ function SV() {}//#endregion//#region src/history/settings-route.ts-var CV = {+var aV = {appearance: "外观与导航",playback: "浏览与播放",jav: "JAV 与新作",search: "搜索与推荐",content: "内容显示"-}, wV = {+}, oV = {library: "媒体库与入库",subscriptions: "来源与订阅",downloads: "下载渠道",@@ -43855,37 +43855,37 @@ var CV = {maintenance: "应用与维护",diagnostics: "系统诊断"};-function TV(e) {- return wV[e.split("/")[2]] || wV.library;+function sV(e) {+ return oV[e.split("/")[2]] || oV.library;}-var EV = ["/settings", ...Object.keys(CV).map((e) => `/settings/${e}`)], DV = (e) => EV.includes(e);-function OV(e) {- return CV[e.split("/")[2]] || CV.appearance;+var cV = ["/settings", ...Object.keys(aV).map((e) => `/settings/${e}`)], lV = (e) => cV.includes(e);+function uV(e) {+ return aV[e.split("/")[2]] || aV.appearance;}-function kV(e) {+function dV(e) {return `/settings/${Object.entries({- ...CV,- ...wV+ ...aV,+ ...oV}).find(([, t]) => t === e)?.[0] || "appearance"}`;}-var AV = (e) => {+var fV = (e) => {let t = e?.settingsBackground;return t && typeof t.pathname == "string" ? t : null;-}, jV = [+}, pV = ["/assets/:id","/posts/:id","/works/:code"-], Gpe = [+], cme = ["mix","parts","editions","playlist"];-function MV(e, t = "") {+function mV(e, t = "") {let n = new URL(e, "https://peach.invalid");e = n.pathname, t ||= n.search;- for (let n of jV) {- let r = AB(n, e);+ for (let n of pV) {+ let r = fB(n, e);if (!r) continue;if (n === "/works/:code") {let e = r.params.code || "";@@ -43902,7 +43902,7 @@ function MV(e, t = "") {let a = Number(i[0]);if (!Number.isSafeInteger(a) || a <= 0) return null;if (n === "/assets/:id") {- let e = new URLSearchParams(t), r = Gpe.filter((t) => e.has(t));+ let e = new URLSearchParams(t), r = cme.filter((t) => e.has(t));if (r.length === 1) {let t = r[0], i = e.get(t), o = Number(i);if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {@@ -43926,8 +43926,8 @@ function MV(e, t = "") {}return null;}-var NV = (e, t = "") => MV(e, t)?.target ?? null, PV = (e) => DV(e.split(/[?#]/)[0]) || jV.some((t) => AB(t, e.split(/[?#]/)[0]) !== null);-function FV(e) {+var hV = (e, t = "") => mV(e, t)?.target ?? null, gV = (e) => lV(e.split(/[?#]/)[0]) || pV.some((t) => fB(t, e.split(/[?#]/)[0]) !== null);+function _V(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,@@ -43935,35 +43935,35 @@ function FV(e) {...typeof t.hash == "string" && t.hash ? { hash: t.hash } : {}} : null;}-var IV = null, LV = null;-function RV() {+var vV = null, yV = null;+function bV() {let { pathname: e, search: t, hash: n } = window.location;- PV(e) || (IV = {+ gV(e) || (vV = {pathname: e,search: t,...n ? { hash: n } : {}});}-function zV() {- IV = null, LV = null;+function xV() {+ vV = null, yV = null;}-function Kpe(e) {- let t = FV(e);- t && (IV = t, LV = t.pathname + t.search + (t.hash || ""));+function lme(e) {+ let t = _V(e);+ t && (vV = t, yV = t.pathname + t.search + (t.hash || ""));}-function BV() {- let e = LV;- return LV = null, e;+function SV() {+ let e = yV;+ return yV = null, e;}-function VV(e) {- return IV ? {- backgroundLocation: { ...IV },+function CV(e) {+ return vV ? {+ backgroundLocation: { ...vV },overlay: e} : void 0;}//#endregion//#region src/history/canonical-path.ts-function HV(e) {+function wV(e) {let t = new URL(e, "https://peach.invalid");for (let [e, n] of [[/^\/item\/(\d+)$/, "/assets/"],@@ -43987,16 +43987,16 @@ function HV(e) {}//#endregion//#region src/history/route-meta.ts-var UV = {+var TV = {"/settings": {title: "设置",refresh: "skip"},- ...Object.fromEntries(Object.entries(CV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(aV).map(([e, t]) => [`/settings/${e}`, {title: t,refresh: "skip"}])),- ...Object.fromEntries(Object.entries(wV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(oV).map(([e, t]) => [`/settings/${e}`, {title: t,section: "configuration",refresh: "reopen"@@ -44127,13 +44127,13 @@ var UV = {title: "播放墙"}};-function WV(e) {- if (Object.hasOwn(UV, e)) return UV[e];- let t = MV(e);- if (t) return UV[t.path];+function EV(e) {+ if (Object.hasOwn(TV, e)) return TV[e];+ let t = mV(e);+ if (t) return TV[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn(UV, `/${n}`) ? UV[`/${n}`] : null;+ if (!r.length) return Object.hasOwn(TV, `/${n}`) ? TV[`/${n}`] : null;let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? Mt({performers: "performer",studios: "studio",@@ -44142,126 +44142,126 @@ function WV(e) {series: "series",tags: "tag"}[n] || "", Number(r[0])) : r.join("/");- return Object.hasOwn(UV, i) ? {- ...UV[i],+ return Object.hasOwn(TV, i) ? {+ ...TV[i],title: a || "资料"} : null;}//#endregion//#region src/history/managed.ts-var GV = () => {}, KV = new Promise((e) => {- GV = e;+var DV = () => {}, OV = new Promise((e) => {+ DV = e;});-KV.catch(() => {});-var qV = null, JV = /* @__PURE__ */ new Map(), YV = /* @__PURE__ */ new Map(), XV = 0, ZV = /* @__PURE__ */ new Set();-function qpe(e) {- GV(e);+OV.catch(() => {});+var kV = null, AV = /* @__PURE__ */ new Map(), jV = /* @__PURE__ */ new Map(), MV = 0, NV = /* @__PURE__ */ new Set();+function ume(e) {+ DV(e);}-function QV(e) {- return JV.get(e) ?? null;+function PV(e) {+ return AV.get(e) ?? null;}-function $V(e) {- return !!e && (JV.has(e) || YV.has(e));+function FV(e) {+ return !!e && (AV.has(e) || jV.has(e));}-var eH = () => [...JV.values()];-function Jpe(e) {- return ZV.add(e), () => {- ZV.delete(e);+var IV = () => [...AV.values()];+function dme(e) {+ return NV.add(e), () => {+ NV.delete(e);};}-function tH(e) {- let t = eH();- for (let n of [...ZV]) n(t, e);+function LV(e) {+ let t = IV();+ for (let n of [...NV]) n(t, e);}-async function nH(e, t, n) {+async function RV(e, t, n) {let { container: r } = n;- if (iH(r), !n.isCurrent()) return !1;- XV += 1;+ if (BV(r), !n.isCurrent()) return !1;+ MV += 1;let i = {- revision: XV,+ revision: MV,controller: new AbortController()};- YV.set(r, i);- let a = qV;- qV = null, a?.();- let o = await KV;- if (YV.get(r) !== i) return !1;+ jV.set(r, i);+ let a = kV;+ kV = null, a?.();+ let o = await OV;+ if (jV.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if (YV.get(r) !== i || (YV.delete(r), !n.isCurrent())) return !1;- let s = n.place ? n.place(r) : Ype(r);- return JV.set(r, {+ if (jV.get(r) !== i || (jV.delete(r), !n.isCurrent())) return !1;+ let s = n.place ? n.place(r) : fme(r);+ return AV.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), tH(!0), !0;+ }), LV(!0), !0;}-function Ype(e) {+function fme(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}-function rH(e, t) {- let n = e ? JV.get(e) : void 0;- n && (JV.set(n.container, {+function zV(e, t) {+ let n = e ? AV.get(e) : void 0;+ n && (AV.set(n.container, {...n,props: {...n.props,...t}- }), tH(!1));+ }), LV(!1));}-function iH(e, ...t) {+function BV(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = YV.get(r);- e && (e.controller.abort(), YV.delete(r));- let t = JV.get(r);- t && (JV.delete(r), n.push(t));+ let e = jV.get(r);+ e && (e.controller.abort(), jV.delete(r));+ let t = AV.get(r);+ t && (AV.delete(r), n.push(t));}if (n.length) {- tH(!0);+ LV(!0);for (let e of n) e.resident || e.host.remove();}}-function Xpe() {- let [e, ...t] = /* @__PURE__ */ new Set([...JV.keys(), ...YV.keys()]);- e && iH(e, ...t);+function pme() {+ let [e, ...t] = /* @__PURE__ */ new Set([...AV.keys(), ...jV.keys()]);+ e && BV(e, ...t);}-function Zpe(e, t) {- let n = JV.get(e);- n?.revision === t && (JV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- tH(!1);+function mme(e, t) {+ let n = AV.get(e);+ n?.revision === t && (AV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ LV(!1);}));}//#endregion//#region src/history/index.ts-var aH = Ofe({ v5Compat: !0 }), oH = 0, sH = 0, cH = {- action: aH.action,- location: aH.location,- seq: oH,- openEpoch: sH,+var VV = Gfe({ v5Compat: !0 }), HV = 0, UV = 0, WV = {+ action: VV.action,+ location: VV.location,+ seq: HV,+ openEpoch: UV,claimed: !0-}, lH = /* @__PURE__ */ new Set(), uH = !1, dH = !0;-aH.listen(({ action: e, location: t }) => {- let n = t.pathname + t.search + t.hash, r = HV(n);- r !== n && (window.history.replaceState(window.history.state, "", r), t = aH.location), oH += 1, uH || (sH += 1), e !== "REPLACE" && (dH = !1), cH = {+}, GV = /* @__PURE__ */ new Set(), KV = !1, qV = !0;+VV.listen(({ action: e, location: t }) => {+ let n = t.pathname + t.search + t.hash, r = wV(n);+ r !== n && (window.history.replaceState(window.history.state, "", r), t = VV.location), HV += 1, KV || (UV += 1), e !== "REPLACE" && (qV = !1), WV = {action: e,location: t,- seq: oH,- openEpoch: sH,- claimed: uH+ seq: HV,+ openEpoch: UV,+ claimed: KV};- for (let e of [...lH]) e(cH);+ for (let e of [...GV]) e(WV);});-function fH(e) {- if (typeof e == "string") return HV(new URL(e, window.location.href).href);- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = HV(t.href);+function JV(e) {+ if (typeof e == "string") return wV(new URL(e, window.location.href).href);+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = wV(t.href);if (n === t.pathname + t.search + t.hash) return e;let r = new URL(n, window.location.origin);return {@@ -44271,52 +44271,52 @@ function fH(e) {hash: r.hash};}-var pH = {+var YV = {get navigation() {- return cH;+ return WV;},listen(e) {- return lH.add(e), () => {- lH.delete(e);+ return GV.add(e), () => {+ GV.delete(e);};},- createHref: (e) => aH.createHref(e),- createURL: (e) => aH.createURL(e),- encodeLocation: (e) => aH.encodeLocation(e),- go: (e) => aH.go(e),- push: (e, t) => aH.push(fH(e), t),- replace: (e, t) => aH.replace(fH(e), t)+ createHref: (e) => VV.createHref(e),+ createURL: (e) => VV.createURL(e),+ encodeLocation: (e) => VV.encodeLocation(e),+ go: (e) => VV.go(e),+ push: (e, t) => VV.push(JV(e), t),+ replace: (e, t) => VV.replace(JV(e), t)};-function mH(e, { replace: t = !1, state: n } = {}) {- let r = new URL(e, window.location.href), i = HV(`${r.pathname}${r.search}${r.hash}`);- uH = !0;+function XV(e, { replace: t = !1, state: n } = {}) {+ let r = new URL(e, window.location.href), i = wV(`${r.pathname}${r.search}${r.hash}`);+ KV = !0;try {- t ? aH.replace(i, n) : aH.push(i, n);+ t ? VV.replace(i, n) : VV.push(i, n);} finally {- uH = !1;+ KV = !1;}}-var hH = () => dH;-function gH() {- if (DV(cH.location.pathname)) {- let e = dH ? null : AV(cH.location.state);- return e ? FV(e.state) || e : null;+var ZV = () => qV;+function QV() {+ if (lV(WV.location.pathname)) {+ let e = qV ? null : fV(WV.location.state);+ return e ? _V(e.state) || e : null;}- return dH ? null : FV(cH.location.state);+ return qV ? null : _V(WV.location.state);}//#endregion//#region src/react/providers.tsx-var _H = null;-function Qpe() {- return _H?.isConnected || (_H = document.createElement("div"), _H.className = "peach-react", _H.dataset.reactOverlays = "", document.body.append(_H)), _H;+var $V = null;+function hme() {+ return $V?.isConnected || ($V = document.createElement("div"), $V.className = "peach-react", $V.dataset.reactOverlays = "", document.body.append($V)), $V;}-function vH({ children: e }) {+function eH({ children: e }) {return /* @__PURE__ */ (0, O.jsx)(j, {client: U,- children: /* @__PURE__ */ (0, O.jsx)(Lte, {+ children: /* @__PURE__ */ (0, O.jsx)(Ote, {reducedMotion: "user",- children: /* @__PURE__ */ (0, O.jsx)(tT, {- getContainer: Qpe,+ children: /* @__PURE__ */ (0, O.jsx)(CT, {+ getContainer: hme,children: e})})@@ -44324,26 +44324,26 @@ function vH({ children: e }) {}//#endregion//#region node_modules/sonner/dist/index.mjs-function $pe(e) {+function gme(e) {if (!e || typeof document > "u") return;let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));}-var eme = (e) => {+var _me = (e) => {switch (e) {- case "success": return rme;- case "info": return ame;- case "warning": return ime;- case "error": return ome;+ case "success": return bme;+ case "info": return Sme;+ case "warning": return xme;+ case "error": return Cme;default: return null;}-}, tme = Array(12).fill(0), nme = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {+}, vme = Array(12).fill(0), yme = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, tme.map((e, t) => /*#__PURE__*/ D.createElement("div", {+}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, vme.map((e, t) => /*#__PURE__*/ D.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), rme = /*#__PURE__*/ D.createElement("svg", {+})))), bme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44354,7 +44354,7 @@ var eme = (e) => {fillRule: "evenodd",d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule: "evenodd"-})), ime = /*#__PURE__*/ D.createElement("svg", {+})), xme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -44365,7 +44365,7 @@ var eme = (e) => {fillRule: "evenodd",d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule: "evenodd"-})), ame = /*#__PURE__*/ D.createElement("svg", {+})), Sme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44376,7 +44376,7 @@ var eme = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule: "evenodd"-})), ome = /*#__PURE__*/ D.createElement("svg", {+})), Cme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44387,7 +44387,7 @@ var eme = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule: "evenodd"-})), sme = /*#__PURE__*/ D.createElement("svg", {+})), wme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -44408,7 +44408,7 @@ var eme = (e) => {y1: "6",x2: "18",y2: "18"-})), cme = () => {+})), Tme = () => {let [e, t] = D.useState(document.hidden);return D.useEffect(() => {let e = () => {@@ -44416,7 +44416,7 @@ var eme = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, lme = 1, ume = 100, yH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : lme++, bH = new class {+}, Eme = 1, Dme = 100, tH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Eme++, nH = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -44426,10 +44426,10 @@ var eme = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - ume;+ let e = this.toasts.length - Dme;e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));}, this.create = (e) => {- let { message: t, ...n } = e, r = yH(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = tH(e), i = this.pendingDismissals.get(r);i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({@@ -44504,7 +44504,7 @@ var eme = (e) => {type: "default",message: e});- else if (fme(e) && !e.ok) {+ else if (kme(e) && !e.ok) {i = !1;let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !D.isValidElement(r) ? r : { message: r };this.create({@@ -44548,7 +44548,7 @@ var eme = (e) => {}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });}, this.custom = (e, t) => {- let n = yH(t);+ let n = tH(t);return this.create({...t,jsx: e(n),@@ -44557,34 +44557,34 @@ var eme = (e) => {}), n;}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();}-}(), dme = (e, t) => bH.message(e, t), fme = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", xH = Object.assign(dme, {- success: bH.success,- info: bH.info,- warning: bH.warning,- error: bH.error,- custom: bH.custom,- message: bH.message,- promise: bH.promise,- dismiss: bH.dismiss,- loading: bH.loading+}(), Ome = (e, t) => nH.message(e, t), kme = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", rH = Object.assign(Ome, {+ success: nH.success,+ info: nH.info,+ warning: nH.warning,+ error: nH.error,+ custom: nH.custom,+ message: nH.message,+ promise: nH.promise,+ dismiss: nH.dismiss,+ loading: nH.loading}, {- getHistory: () => bH.toasts,- getToasts: () => bH.getActiveToasts()+ getHistory: () => nH.toasts,+ getToasts: () => nH.getActiveToasts()});-$pe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");-function SH(e) {+gme("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");+function iH(e) {return e.label !== void 0;}-var pme = 3, mme = "24px", hme = "16px", CH = 4e3, gme = 356, _me = 14, vme = 45, yme = 200;-function wH(...e) {+var Ame = 3, jme = "24px", Mme = "16px", aH = 4e3, Nme = 356, Pme = 14, Fme = 45, Ime = 200;+function oH(...e) {return e.filter(Boolean).join(" ");}-function bme(e) {+function Lme(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var xme = (e) => {- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, P] = D.useState(!1), [ee, F] = D.useState(!1), [te, I] = D.useState(!1), [ne, re] = D.useState(!1), [ie, ae] = D.useState(0), [oe, se] = D.useState(0), ce = D.useRef(n.duration || y || CH), le = D.useRef(null), ue = D.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = D.useMemo(() => n.duration || y || CH, [n.duration, y]), xe = D.useRef(0), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(null), [Te, Ee] = b.split("-"), De = D.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = cme(), ke = D.useMemo(() => e.swipeDirections ?? bme(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";+var Rme = (e) => {+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, P] = D.useState(!1), [ee, F] = D.useState(!1), [te, I] = D.useState(!1), [ne, re] = D.useState(!1), [ie, ae] = D.useState(0), [oe, se] = D.useState(0), ce = D.useRef(n.duration || y || aH), le = D.useRef(null), ue = D.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = D.useMemo(() => n.duration || y || aH, [n.duration, y]), xe = D.useRef(0), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(null), [Te, Ee] = b.split("-"), De = D.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Tme(), ke = D.useMemo(() => e.swipeDirections ?? Lme(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";Se.current = D.useMemo(() => ve * x + De, [ve, De]), D.useEffect(() => {ce.current = be;}, [be]), D.useEffect(() => {@@ -44625,7 +44625,7 @@ var xme = (e) => {let Me = D.useCallback(() => {P(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, yme);+ }, Ime);}, [n,d,@@ -44656,18 +44656,18 @@ var xme = (e) => {}, [Me, n.delete]);function Ne() {return w?.loading ? /*#__PURE__*/ D.createElement("div", {- className: wH(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: oH(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": pe === "loading"- }, w.loading) : /*#__PURE__*/ D.createElement(nme, {- className: wH(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ D.createElement(yme, {+ className: oH(C?.loader, n?.classNames?.loader),visible: pe === "loading"});}- let Pe = n.icon || w?.[pe] || eme(pe);+ let Pe = n.icon || w?.[pe] || _me(pe);return /*#__PURE__*/ D.createElement("li", {tabIndex: 0,ref: ue,- className: wH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),+ className: oH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),@@ -44710,7 +44710,7 @@ var xme = (e) => {if (te || !he) return;we.current = null;let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;- if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= vme || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), I(!0);+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Fme || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), I(!0);else {var o, s;(o = ue.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = ue.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), re(!1), F(!1), O(null);@@ -44749,46 +44749,46 @@ var xme = (e) => {onClick: je || !he ? () => {} : () => {Me(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: wH(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? sme) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {+ className: oH(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? wme) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {"data-icon": "",- className: wH(C?.icon, n?.classNames?.icon)+ className: oH(C?.icon, n?.classNames?.icon)}, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ D.createElement("div", {"data-content": "",- className: wH(C?.content, n?.classNames?.content)+ className: oH(C?.content, n?.classNames?.content)}, /*#__PURE__*/ D.createElement("div", {"data-title": "",- className: wH(C?.title, n?.classNames?.title)+ className: oH(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ D.createElement("div", {"data-description": "",- className: wH(v, _e, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && SH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {+ className: oH(v, _e, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && iH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- SH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());+ iH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());},- className: wH(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && SH(n.action) ? /*#__PURE__*/ D.createElement("button", {+ className: oH(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && iH(n.action) ? /*#__PURE__*/ D.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- SH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());+ iH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());},- className: wH(C?.actionButton, n?.classNames?.actionButton)+ className: oH(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function TH() {+function sH() {if (typeof window > "u" || typeof document > "u") return "ltr";let e = document.documentElement.getAttribute("dir");return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;}-function Sme(e, t) {+function zme(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? hme : mme;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Mme : jme;function o(e) {["top",@@ -44809,11 +44809,11 @@ function Sme(e, t) {}) : o(a);}), n;}-var EH = /*#__PURE__*/ D.forwardRef(function(e, t) {- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = pme, toastOptions: g, dir: _ = TH(), gap: v = _me, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, P] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = D.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = D.useRef(null), I = D.useRef(!1), ne = D.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || bH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var cH = /*#__PURE__*/ D.forwardRef(function(e, t) {+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Ame, toastOptions: g, dir: _ = sH(), gap: v = Pme, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, P] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = D.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = D.useRef(null), I = D.useRef(!1), ne = D.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || nH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return D.useEffect(() => bH.subscribe((e) => {+ return D.useEffect(() => nH.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,@@ -44882,7 +44882,7 @@ var EH = /*#__PURE__*/ D.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ D.createElement("ol", {key: t,- dir: _ === "auto" ? TH() : _,+ dir: _ === "auto" ? sH() : _,tabIndex: -1,ref: ee,className: c,@@ -44892,10 +44892,10 @@ var EH = /*#__PURE__*/ D.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${gme}px`,+ "--width": `${Nme}px`,"--gap": `${v}px`,...m,- ...Sme(l, u)+ ...zme(l, u)},onBlur: (e) => {I.current && !e.currentTarget.contains(e.relatedTarget) && (I.current = !1, te.current &&= (te.current.focus({ preventScroll: !0 }), null));@@ -44913,7 +44913,7 @@ var EH = /*#__PURE__*/ D.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);},onPointerUp: () => M(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(xme, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(Rme, {key: n.id,icons: y,index: i,@@ -44943,19 +44943,19 @@ var EH = /*#__PURE__*/ D.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), DH = "/api/library-processing", OH = ["library-processing"], Cme = (e, t, n) => {+}), lH = "/api/library-processing", uH = ["library-processing"], Bme = (e, t, n) => {let r = new URLSearchParams({estimate: "1",stage: e.stage || "all"});- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), V(`${DH}?${r}`, t);-}, kH = (e) => !!e && [+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), V(`${lH}?${r}`, t);+}, dH = (e) => !!e && ["running","pausing","paused"].includes(e.status);-function AH(e) {- if (!kH(e)) return "";+function fH(e) {+ if (!dH(e)) return "";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";if (e.stalled) return "等待当前文件响应,剩余时间待更新";@@ -44965,18 +44965,18 @@ function AH(e) {let r = n >= 86400 ? 86400 : n >= 3600 ? 3600 : 60, i = r === 86400 ? "天" : r === 3600 ? "小时" : "分钟", a = r === 60 ? 1 : 10, o = Math.max(1 / a, Math.floor(t / r * a) / a), s = Math.max(o, Math.ceil(n / r * a) / a);return `预计剩余约 ${o === s ? `${s}` : `${o}–${s}`} ${i}${e.eta_initial || e.eta_kind !== "measured" ? "(粗估)" : ""}${e.eta_scope ? ` · ${e.eta_scope}` : ""}`;}-var jH = (e) => V(DH, e);-async function MH(e) {+var pH = (e) => V(lH, e);+async function mH(e) {await U.fetchQuery({- queryKey: OH,- queryFn: () => jH(e)+ queryKey: uH,+ queryFn: () => pH(e)});}-var wme = 2e3, Tme = 1e4, NH = "连接中断,正在重新读取处理进度";-function PH(e, t) {- return kH(e) ? wme : t ? Tme : !1;+var Vme = 2e3, Hme = 1e4, hH = "连接中断,正在重新读取处理进度";+function gH(e, t) {+ return dH(e) ? Vme : t ? Hme : !1;}-var Eme = {+var Ume = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -44984,25 +44984,25 @@ var Eme = {fetching_cover: "采集缺失封面",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, FH = {+}, _H = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function Dme(e) {- let t = Object.entries(e).filter(([e, t]) => FH[e] && t > 0).map(([e, t]) => `${FH[e]} ${t.toLocaleString()} 部`);+function Wme(e) {+ let t = Object.entries(e).filter(([e, t]) => _H[e] && t > 0).map(([e, t]) => `${_H[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function Ome(e) {+function Gme(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = Eme[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${lI(e.waited_seconds)}` : "";+ let t = Ume[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${vF(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function kme(e) {- let t = e.total ? `${uI(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return Ome(e) + (t ? ` · ${t}` : "");+function Kme(e) {+ let t = e.total ? `${yF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return Gme(e) + (t ? ` · ${t}` : "");}-function Ame(e) {+function qme(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -45016,23 +45016,23 @@ function Ame(e) {log: e.issues_log || ""} : null;}-var IH = "peach.library-processing.announced", jme = 120;-function LH(e) {+var vH = "peach.library-processing.announced", Jme = 120;+function yH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < jme;+ return !!e.job_id && t >= 0 && t < Jme;}-function Mme(e, t, n) {- if (e.status === "complete" && (n || LH(e))) {+function Yme(e, t, n) {+ if (e.status === "complete" && (n || yH(e))) {try {- if (e.job_id && localStorage.getItem(IH) === e.job_id) return;- e.job_id && localStorage.setItem(IH, e.job_id);+ if (e.job_id && localStorage.getItem(vH) === e.job_id) return;+ e.job_id && localStorage.setItem(vH, e.job_id);} catch {}e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));}}//#endregion//#region src/react/boardui/components/base/buttons/link-button.tsx-var RH = KF({+var bH = tF({base: ["inline-flex items-center justify-center gap-1 whitespace-nowrap","font-sans select-none cursor-pointer rounded-sm",@@ -45056,15 +45056,15 @@ var RH = KF({secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")}});-function zH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = GF(RH.base, RH.size[t], RH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+function xH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = eF(bH.base, bH.size[t], bH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n ? /* @__PURE__ */ (0, O.jsx)(n, {- className: RH.icon[t],+ className: bH.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, O.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: RH.icon[t],+ className: bH.icon[t],"aria-hidden": !0}) : null] });@@ -45091,19 +45091,19 @@ function zH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili}//#endregion//#region src/react/components/use-moving-surface.ts-var Nme = {+var Xme = {selection: {- type: Of,+ type: Df,duration: .16,bounce: 0},hover: {- type: Of,+ type: Df,duration: .08,bounce: 0}};-function BH(e) {+function SH(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!t) return;@@ -45124,7 +45124,7 @@ function BH(e) {let E = `translate(${b}px, ${x}px) scale(1, 1)`;if (u && a && !r.matches && T && s !== h) {let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;- l = Wne(n, { transform: [r, E] }, Nme[e]);+ l = zne(n, { transform: [r, E] }, Xme[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45161,25 +45161,25 @@ function BH(e) {}//#endregion//#region src/react/components/menu-dialog.tsx-function VH(e) {- let t = BH("hover");- return /* @__PURE__ */ (0, O.jsx)(PR, {+function CH(e) {+ let t = SH("hover");+ return /* @__PURE__ */ (0, O.jsx)(gR, {...e,ref: t});}//#endregion//#region src/react/library-processing/processing-effort.tsx-var HH = [+var wH = ["low","standard","high"-], UH = [+], TH = ["低占用","标准","全速"-], WH = nB("snail"), GH = nB("zap");-function KH({ className: e }) {+], EH = Rz("snail"), DH = Rz("zap");+function OH({ className: e }) {return /* @__PURE__ */ (0, O.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -45210,12 +45210,12 @@ function KH({ className: e }) {]});}-var Pme = [- WH,- GH,- KH+var Zme = [+ EH,+ DH,+ OH];-function Fme({ animate: e }) {+function Qme({ animate: e }) {let [t, n] = (0, D.useState)(document.hidden);return (0, D.useEffect)(() => {let e = () => n(document.hidden);@@ -45247,8 +45247,8 @@ function Fme({ animate: e }) {} }, t))]});}-function qH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, HH.indexOf(e)), [a, o] = (0, D.useState)(i);+function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, wH.indexOf(e)), [a, o] = (0, D.useState)(i);return (0, D.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45259,7 +45259,7 @@ function qH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), UH[a]]+ }), TH[a]]}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -45267,19 +45267,19 @@ function qH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(WH, {}), "最慢"]+ children: [/* @__PURE__ */ (0, O.jsx)(EH, {}), "最慢"]}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(GH, {}), "标准"]+ children: [/* @__PURE__ */ (0, O.jsx)(DH, {}), "标准"]}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(KH, {}), "最快"]+ children: [/* @__PURE__ */ (0, O.jsx)(OH, {}), "最快"]})]}),- /* @__PURE__ */ (0, O.jsxs)(Nle, {+ /* @__PURE__ */ (0, O.jsxs)(Xle, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -45288,10 +45288,10 @@ function qH({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(HH[e]);+ e !== i && n(wH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, O.jsx)(KI, {+ children: [/* @__PURE__ */ (0, O.jsx)(mI, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45311,11 +45311,11 @@ function qH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, O.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, O.jsx)(Fme, { animate: r }) : null,- /* @__PURE__ */ (0, O.jsx)(Ple, {+ a === 2 ? /* @__PURE__ */ (0, O.jsx)(Qme, { animate: r }) : null,+ /* @__PURE__ */ (0, O.jsx)(Zle, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, O.jsx)(Fle, {- "aria-label": UH[a],+ children: /* @__PURE__ */ (0, O.jsx)(Qle, {+ "aria-label": TH[a],className: "processing-effort-thumb"})})@@ -45329,37 +45329,37 @@ function qH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function Ime({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, HH.indexOf(e));+function $me({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, wH.indexOf(e));return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "processing-effort-trigger","data-speed": e,- children: /* @__PURE__ */ (0, O.jsx)(q, {+ children: /* @__PURE__ */ (0, O.jsx)(J, {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${UH[s]}`,+ "aria-label": `处理速度:${TH[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: Pme[s],- trailingIcon: Dz,+ leadingIcon: Zme[s],+ trailingIcon: lz,onClick: () => {t || o(!a);},- children: UH[s]+ children: TH[s]})- }), /* @__PURE__ */ (0, O.jsx)(xR, {+ }), /* @__PURE__ */ (0, O.jsx)(rR, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: mV,- children: /* @__PURE__ */ (0, O.jsx)(VH, {+ className: XB,+ children: /* @__PURE__ */ (0, O.jsx)(CH, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, O.jsx)(qH, {+ children: /* @__PURE__ */ (0, O.jsx)(kH, {value: e,busy: t,onChange: n,@@ -45370,7 +45370,7 @@ function Ime({ value: e, busy: t, onChange: n, animate: r = !0 }) {}//#endregion//#region src/react/settings/use-action.ts-function JH(e = "") {+function AH(e = "") {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(""), [i, a] = (0, D.useState)(e);(0, D.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -45396,10 +45396,10 @@ function JH(e = "") {}//#endregion//#region src/react/library-processing/processing-controls.tsx-function Lme({ state: e, disabled: t = !1 }) {- let n = JH(), r = kH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {- t || n.busy || n.run(e.action, (t) => H(DH, e, "POST", t), (e) => {- U.setQueryData(OH, e), U.invalidateQueries({ queryKey: OH });+function ehe({ state: e, disabled: t = !1 }) {+ let n = AH(), r = dH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {+ t || n.busy || n.run(e.action, (t) => H(lH, e, "POST", t), (e) => {+ U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });});};return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45407,7 +45407,7 @@ function Lme({ state: e, disabled: t = !1 }) {"data-processing-controls": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(Ime, {+ children: [/* @__PURE__ */ (0, O.jsx)($me, {value: e.speed_mode || "standard",busy: t || !!n.busy,animate: e.status !== "paused" && e.status !== "pausing",@@ -45416,15 +45416,15 @@ function Lme({ state: e, disabled: t = !1 }) {speed_mode: t,...r ? { job_id: e.job_id } : {}})- }), r ? /* @__PURE__ */ (0, O.jsx)(q, {+ }), r ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? Rz : Lz,+ leadingIcon: e.status === "paused" ? bz : yz,"aria-label": i,title: i,disabled: t || !e.job_id || e.status === "pausing",- ...iB(n.busy === "pause" || n.busy === "resume"),+ ...Bz(n.busy === "pause" || n.busy === "resume"),onClick: () => {e.job_id && a({action: e.status === "paused" ? "resume" : "pause",@@ -45441,11 +45441,11 @@ function Lme({ state: e, disabled: t = !1 }) {}//#endregion//#region src/react/library-processing/use-library-processing.ts-function YH({ toast: e, mode: t, monitor: n }) {+function jH({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = St({- queryKey: OH,- queryFn: ({ signal: e }) => jH(e),- refetchInterval: (e) => PH(e.state.data, r)+ queryKey: uH,+ queryFn: ({ signal: e }) => pH(e),+ refetchInterval: (e) => gH(e.state.data, r)}), [a, o] = (0, D.useState)(null), s = (0, D.useRef)(void 0), c = i.data;return (0, D.useEffect)(() => {if (!c) return;@@ -45455,8 +45455,8 @@ function YH({ toast: e, mode: t, monitor: n }) {"running","pausing","paused"- ].includes(n) && !kH(c);- r && o(c), (r || t === "notice") && Mme(c, e, r);+ ].includes(n) && !dH(c);+ r && o(c), (r || t === "notice") && Yme(c, e, r);}, [c,t,@@ -45469,38 +45469,38 @@ function YH({ toast: e, mode: t, monitor: n }) {}//#endregion//#region src/react/components/card.tsx-var Rme = "min-w-0", zme = {+var the = "min-w-0", nhe = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, Bme = {+}, rhe = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, Vme = {+}, ihe = {line: "border border-border-button-default",soft: "border border-separator-border"-}, Hme = {+}, ahe = {none: "",default: "p-5"-}, Ume = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", Wme = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";-function XH(e = {}) {+}, ohe = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", she = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";+function MH(e = {}) {let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");return [- Rme,- zme[t],- Bme[s],- Hme[n],- a ? Vme[a] : "",- r ? Ume : "",- i ? Wme : "",+ the,+ nhe[t],+ rhe[s],+ ahe[n],+ a ? ihe[a] : "",+ r ? ohe : "",+ i ? she : "",o ?? ""].filter(Boolean).join(" ");}//#endregion//#region src/react/components/loading-dots.tsx-function ZH({ label: e }) {+function NH({ label: e }) {return /* @__PURE__ */ (0, O.jsxs)("p", {role: "status",className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",@@ -45520,21 +45520,21 @@ function ZH({ label: e }) {}//#endregion//#region src/react/components/progress.tsx-var QH = 100, Gme = .4;-function $H({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * QH;+var PH = 100, che = .4;+function FH({ label: e, value: t, max: n = 100, stops: r = [] }) {+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * PH;return /* @__PURE__ */ (0, O.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${QH} 1`,+ viewBox: `0 0 ${PH} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, O.jsx)("rect", {- width: QH,+ width: PH,height: 1,className: "fill-background-tertiary-default"}),@@ -45545,7 +45545,7 @@ function $H({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, O.jsx)("rect", {x: o(e),- width: Gme,+ width: che,height: 1,className: "fill-background-secondary-default"}, e))@@ -45554,27 +45554,27 @@ function $H({ label: e, value: t, max: n = 100, stops: r = [] }) {}//#endregion//#region src/react/components/task-progress.tsx-function eU({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function IH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : XH({+ className: r ? "flex flex-col gap-1.5" : MH({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)($H, {+ children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(FH, {label: e,value: t,max: n}), /* @__PURE__ */ (0, O.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, O.jsx)(ZH, { label: e })+ })] }) : /* @__PURE__ */ (0, O.jsx)(NH, { label: e })});}//#endregion//#region src/react/library-processing/processing-line.tsx-function tU(e) {+function LH(e) {let [t, n] = (0, D.useState)({snapshot: e,seconds: 0@@ -45590,17 +45590,17 @@ function tU(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return kme(a ? {+ return Kme(a ? {...e,waited_seconds: r + a} : e);}-function Kme({ state: e }) {- return tU(e);+function lhe({ state: e }) {+ return LH(e);}-function qme({ state: e }) {- let t = tU(e);- return /* @__PURE__ */ (0, O.jsx)(eU, {+function uhe({ state: e }) {+ let t = LH(e);+ return /* @__PURE__ */ (0, O.jsx)(IH, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -45609,7 +45609,7 @@ function qme({ state: e }) {}//#endregion//#region src/react/components/collapse-region.tsx-function nU({ open: e, children: t, ...n }) {+function RH({ open: e, children: t, ...n }) {let r = (0, D.useRef)(null), i = (0, D.useRef)(!1);return (0, D.useLayoutEffect)(() => {let t = r.current;@@ -45620,7 +45620,7 @@ function nU({ open: e, children: t, ...n }) {children: t});}-function rU(e) {+function zH(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {...e,"aria-hidden": !0,@@ -45635,169 +45635,22 @@ function rU(e) {});}//#endregion-//#region src/diagnostics-skeleton.ts-function iU() {- let e = (e) => Wo({- label: e,- variant: "secondary",- attrs: "disabled data-skeleton-action"- }), t = (e) => `<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3"><div class="flex flex-col gap-4 py-4 pr-3">${e}</div></div>`, n = "<span class=\"skeleton h-5 w-1/3\"></span><span class=\"skeleton h-4 w-2/3\"></span>", r = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p>${t}</section>`;- return `<div data-skeleton="diagnostics" aria-busy="true" aria-label="正在读取系统诊断" class="flex min-w-0 flex-col gap-6"><div aria-hidden="true" inert class="flex flex-col gap-6">- <div class="flex flex-wrap justify-end gap-2">${e("下载诊断报告")}${e("重新检查")}</div>- ${r("需要关注", t(`<div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex min-w-0 flex-1 flex-col gap-2">${n}<span class="skeleton h-4 w-1/2"></span></div>${e("打开相关页面")}</div>`))}- ${r("库健康", t(n))}- ${r("来源会话", `<div class="flex flex-col gap-3">${t(n)}${t(n)}</div>`)}- </div></div>`;-}-//#endregion-//#region src/react/settings/library-policy-copy.ts-var aU = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", Jme = [- "自动补全",- "仅使用本地资料",- "自定义"-], Yme = [- [- "读本地 NFO 和图片",- "✓",- "✓",- "✓"- ],- [- "读取视频信息、生成九宫格",- "✓",- "✓",- "可选"- ],- [- "联网补资料",- "✓",- "—",- "可选"- ],- [- "联网补封面",- "✓",- "—",- "可选"- ],- [- "联网补人物图片",- "✓",- "—",- "可选"- ]-], Xme = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", oU = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", sU = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", cU = "只填域名,留空用默认地址", lU = "disabled data-skeleton-action", uU = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, dU = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, fU = (e, t = "primary") => Wo({- label: e,- variant: t,- attrs: lU-}), Zme = (e) => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${e}</div>`, pU = (e) => `<div class="flex flex-col gap-4 py-4 pr-3">${e}</div>`, mU = (e, t, n = "") => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? Zme(n) : ""}</div></section>`, hU = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, gU = (e, t = "", n = "ui-configuration-skeleton-toggle") => hU(e, t, `<span class="skeleton ${n}"></span>`), _U = (e, t = "4em") => hU(e, "", uU(t)), vU = (e) => `<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:${e}px"></span>`, yU = (e, t) => `<div class="flex w-full flex-col items-start gap-1"><span class="text-body-medium text-text-primary">${e}</span>${dU()}<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span></div>`, bU = "peach.configuration.media-shape.v1", xU = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。";-function Qme(e) {- try {- localStorage.setItem(bU, JSON.stringify(e));- } catch {}-}-var SU = "peach.configuration.section-heights.v1";-function CU(e, t) {- try {- let n = JSON.parse(localStorage.getItem(SU) || "{}");- localStorage.setItem(SU, JSON.stringify({- ...n,- [e]: Math.round(t)- }));- } catch {}-}-function wU(e, t) {- try {- let n = JSON.parse(localStorage.getItem(SU) || "{}")[e];- return typeof n == "number" && n > 0 && n < 4e3 ? n : t;- } catch {- return t;- }-}-var TU = {- credentials: {- key: "source-credentials",- fallback: 1498- },- indexers: {- key: "indexers",- fallback: 18- },- javBrowser: {- key: "jav-browser",- fallback: 100- }-}, EU = (e) => wU(TU[e].key, TU[e].fallback);-function $me() {- try {- let e = JSON.parse(localStorage.getItem(bU) || "null"), t = Array.isArray(e?.folders) ? e.folders.filter((e) => Number.isInteger(e) && e > 0).slice(0, 12) : [];- if (t.length) return {- folders: t,- cloud: e?.cloud === !0,- discovery: e?.discovery === !0- };- } catch {}- return {- folders: [1],- cloud: !1,- discovery: !1- };-}-var DU = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, ehe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${dU()}</span>${Wo({- glyph: "folder-search",- variant: "secondary",- attrs: lU-})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${DU("来源", Ko(uU("6em")), "w-full @lg:w-60")}${DU("读取策略", Ko(uU("4em")), "w-full @lg:w-32")}${e > 1 ? DU("移到媒体库", Ko(uU("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, the = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">- <div data-library-head>${Wo({- label: "自动识别",- variant: "secondary",- attrs: lU-})}${dU()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Ko(uU("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${ehe(t).repeat(e)}<div class="flex">${Wo({- label: "添加文件夹",- variant: "secondary",- attrs: lU-})}</div></div></div>`, nhe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${aU}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, rhe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>", OU = () => {- let e = $me();- return mU("媒体库与目录", pU(`${nhe}<div class="flex flex-col gap-4">${e.folders.map((t) => the(t, e.folders.length)).join("")}</div>- <div class="self-start">${fU("添加媒体库", "secondary")}</div>- <p class="text-body-2-regular text-text-secondary">${oU}</p>- ${e.cloud ? rhe : ""}<span class="text-body-medium text-text-primary">${uU("15em")}</span>`), `<span class="mr-auto min-w-0 text-body-2-regular text-text-secondary">保存后 Peach 会重新启动。</span>${fU("保存配置")}`) + (e.cloud ? mU("CloudDrive 代理", pU(`<p class="text-body-2-regular text-text-secondary">${xU}</p><span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:${wU("cloud-proxy", 96)}px"></span>`), fU("重新读取", "secondary")) : "") + (e.discovery ? `<div class="overflow-hidden" style="height:${wU("push-discovery", 323)}px">${mU("自动发现新文件", pU(`<span class="flex min-h-6 items-center text-body-regular text-text-secondary">${uU("8em")}</span>`) + gU("发现新文件后自动入库") + gU("监视本机文件夹") + gU("接收 CloudDrive2 通知"), fU("保存配置"))}</div>` : "") + mU("番号识别规则", pU(`${uU("90%")}${uU("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), fU("保存配置")) + mU("视频预览", gU("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + gU("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + gU("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-};-function ihe(e) {- switch (e) {- case "系统诊断": return iU();- case "媒体库与入库": return OU();- case "来源与订阅": return `<div>${fU("采集来源与登录状态", "secondary")}</div>` + mU("来源凭据", pU(vU(EU("credentials")))) + mU("关注采集", hU("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + _U("订阅源拉取") + gU("首次采集范围", "", "ui-configuration-skeleton-select") + _U("头像刷新") + _U("favicon 刷新")) + mU("资源搜索", pU(vU(EU("indexers"))), fU("添加索引器", "secondary") + fU("保存配置")) + mU("作品资料站点", pU(`<p class="text-body-2-regular text-text-secondary">${sU}</p>${yU("JavDB 地址", cU)}${yU("MISSAV 地址", cU)}`), fU("保存配置"));- case "下载渠道": return mU("云下载", pU(`${uU("35%")}${dU()}${dU()}${dU()}${dU()}`), fU("保存配置")) + mU("PikPak 账号", pU(`${dU()}${dU()}`), fU("登录账号"));- case "网络与访问": return mU("本机访问端口", pU(dU("128px")), fU("保存配置")) + mU("Peach 代理", gU("连接方式", "", "ui-configuration-skeleton-select"), fU("保存配置")) + mU("访问密码", pU(dU()), fU("保存配置")) + mU("公网访问", pU(`${uU("60%")}${dU()}`));- case "应用与维护": return mU("检查更新", pU(`${uU("40%")}${uU("40%")}${uU("40%")}${uU("40%")}`), fU("检查更新")) + mU("自动更新", gU("自动检查新版本") + gU("自动下载更新") + gU("检查频率", "", "ui-configuration-skeleton-select"), fU("保存配置")) + mU("开机自启", gU("开机后启动 Peach") + gU("只启动托盘,不打开网页") + gU("在桌面创建快捷方式"), fU("保存配置")) + mU("视频播放", gU("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + mU("数据上传", gU("发送版本统计与错误诊断(推荐)") + gU("馆藏与口味明细上传")) + mU("运行信息", pU(`${uU("80%")}${uU("60%")}${uU("40%")}`));- default: return OU();- }-}-function ahe(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(wV).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${ihe(e)}</div></div></div>`;-}-//#endregion//#region src/react/boardui/components/application/settings/settings-rows.tsx-function kU({ className: e, children: t }) {+function BH({ className: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {- className: GF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: eF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function AU({ className: e, children: t }) {+function VH({ className: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {- className: GF("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: eF("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function ohe({ label: e, description: t, children: n }) {+function dhe({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {- className: GF("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),+ className: eF("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, O.jsx)("p", {@@ -45812,7 +45665,7 @@ function ohe({ label: e, description: t, children: n }) {}//#endregion//#region src/react/settings/section.tsx-function jU({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {+function fhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {let o = t ? /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [t, e]@@ -45820,12 +45673,12 @@ function jU({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(AU, { children: o })+ children: /* @__PURE__ */ (0, O.jsx)(VH, { children: o })}), /* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-w-0 max-w-full",children: r})]- }) : /* @__PURE__ */ (0, O.jsx)(AU, { children: o }), /* @__PURE__ */ (0, O.jsx)(kU, { children: a })] });+ }) : /* @__PURE__ */ (0, O.jsx)(VH, { children: o }), /* @__PURE__ */ (0, O.jsx)(BH, { children: a })] });return i ? /* @__PURE__ */ (0, O.jsx)("form", {id: n,"aria-label": e,@@ -45840,13 +45693,13 @@ function jU({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {children: s});}-function she({ children: e }) {+function phe({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function MU({ divided: e = !1, children: t }) {+function HH({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, O.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",children: t@@ -45855,27 +45708,17 @@ function MU({ divided: e = !1, children: t }) {children: t});}-function che({ title: e, label: t, body: n, actions: r }) {- return /* @__PURE__ */ (0, O.jsxs)(jU, {- title: e,- children: [/* @__PURE__ */ (0, O.jsx)(MU, { children: /* @__PURE__ */ (0, O.jsx)("div", {- "data-skeleton": !0,- "aria-busy": "true",- "aria-label": t,- children: /* @__PURE__ */ (0, O.jsx)("div", {- className: "h-(--skeleton-h) w-full rounded-2lg bg-background-tertiary-default",- style: { "--skeleton-h": `${EU(n)}px` }- })- }) }), r ? /* @__PURE__ */ (0, O.jsx)(NU, { children: r }) : null]+function mhe({ label: e, html: t }) {+ let [n] = (0, D.useState)(t);+ return /* @__PURE__ */ (0, O.jsx)("div", {+ className: "contents",+ "data-skeleton": "",+ "aria-busy": "true",+ "aria-label": e,+ dangerouslySetInnerHTML: { __html: n }});}-function lhe(e, t) {- let n = (0, D.useRef)(null);- return (0, D.useLayoutEffect)(() => {- n.current && CU(TU[e].key, n.current.offsetHeight);- }, t), n;-}-function NU({ status: e, children: t }) {+function hhe({ status: e, children: t }) {return /* @__PURE__ */ (0, O.jsxs)("div", {className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3 empty:hidden",children: [e ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -45884,34 +45727,34 @@ function NU({ status: e, children: t }) {}) : null, t]});}-function PU({ role: e, children: t }) {+function UH({ role: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function FU({ children: e }) {+function WH({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function IU({ children: e }) {+function GH({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function uhe({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, O.jsx)(zH, {+function ghe({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, O.jsx)(xH, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: jz,+ trailingIcon: pz,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -45919,13 +45762,13 @@ function uhe({ href: e, children: t, leadingIcon: n }) {})});}-function dhe({ children: e }) {+function _he({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function fhe({ term: e, children: t }) {+function vhe({ term: e, children: t }) {return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",children: [/* @__PURE__ */ (0, O.jsx)("dt", {@@ -45937,7 +45780,7 @@ function fhe({ term: e, children: t }) {})]});}-function LU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function KH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, D.useId)(), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(!1), [d, f] = (0, D.useState)(n ?? t);return (0, D.useLayoutEffect)(() => {n !== void 0 && n !== d && c.current && l.current && (to(c.current, l.current, n), f(n));@@ -45953,12 +45796,12 @@ function LU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:},className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [- i ? null : /* @__PURE__ */ (0, O.jsx)(kz, {+ i ? null : /* @__PURE__ */ (0, O.jsx)(dz, {"aria-hidden": !0,className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, O.jsx)(kz, {+ i ? /* @__PURE__ */ (0, O.jsx)(dz, {"aria-hidden": !0,className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"}) : null@@ -45968,13 +45811,13 @@ function LU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: s,inert: !d,children: /* @__PURE__ */ (0, O.jsx)("div", {- className: GF("flex flex-col gap-2 pt-3", o),+ className: eF("flex flex-col gap-2 pt-3", o),children: r})})]});}-function phe({ name: e }) {+function yhe({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -45984,35 +45827,35 @@ function phe({ name: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function RU({ mark: e }) {+function qH({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, O.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(phe, { name: e });+ }) : /* @__PURE__ */ (0, O.jsx)(yhe, { name: e });}//#endregion//#region src/react/components/source-label.tsx-var zU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, mhe = Object.fromEntries(Object.entries(No).map(([e, t]) => [e, function({ className: e }) {+var JH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, bhe = Object.fromEntries(Object.entries(No).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, O.jsx)(RU, { mark: t })+ children: /* @__PURE__ */ (0, O.jsx)(qH, { mark: t })});}]));-function hhe({ className: e }) {+function xhe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, O.jsx)(RU, { mark: "database" })+ children: /* @__PURE__ */ (0, O.jsx)(qH, { mark: "database" })});}-var BU = (e) => mhe[zU(e)] ?? hhe;-function ghe({ site: e, label: t }) {+var YH = (e) => bhe[JH(e)] ?? xhe;+function She({ site: e, label: t }) {let [n, r] = (0, D.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(RU, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(qH, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -46020,11 +45863,11 @@ function ghe({ site: e, label: t }) {}), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]});}-function VU({ source: e, label: t }) {- let n = zU(e);+function XH({ source: e, label: t }) {+ let n = JH(e);return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(RU, { mark: No[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(qH, { mark: No[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 truncate",children: t})]@@ -46032,13 +45875,13 @@ function VU({ source: e, label: t }) {}//#endregion//#region src/react/library-processing/processing-traffic.tsx-var HU = (e) => _n(e).replace(/\s/g, ""), UU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : HU(e), _he = (e, t) => {- if (e === t) return HU(t);+var ZH = (e) => _n(e).replace(/\s/g, ""), QH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : ZH(e), Che = (e, t) => {+ if (e === t) return ZH(t);let [n, r] = _n(e).split(" "), [i, a] = _n(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${HU(e)}-${HU(t)}`;-}, WU = (e, t, n) => e === void 0 ? _he(t, n) : `${e > 0 ? "约 " : ""}${HU(e)}`;-function GU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {- let i = SV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;+ return r === a ? `${n}-${i}${a}` : `${ZH(e)}-${ZH(t)}`;+}, $H = (e, t, n) => e === void 0 ? Che(t, n) : `${e > 0 ? "约 " : ""}${ZH(e)}`;+function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {+ let i = iV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;if (!e) return null;let l = (e) => e.toLocaleString("zh-CN");return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -46075,25 +45918,25 @@ function GU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(Pz, {+ children: [/* @__PURE__ */ (0, O.jsx)(gz, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: WU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: $H(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, O.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- WU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ $H(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, O.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", HU(e.used_bytes)] }),+ /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", ZH(e.used_bytes)] })," · 代理 ",- HU(e.metered_used_bytes)+ ZH(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, O.jsxs)("section", {@@ -46102,25 +45945,25 @@ function GU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(_fe, {+ children: [/* @__PURE__ */ (0, O.jsx)(Pfe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, O.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", HU(e.disk.estimated_bytes)]+ children: ["约 ", ZH(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", UU(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", QH(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : HU(e.free_bytes)+ e.free_bytes == null ? "未取得" : ZH(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, O.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", HU(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", ZH(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, O.jsx)("p", {@@ -46130,13 +45973,13 @@ function GU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })]}) : null]}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",className: "self-start","aria-expanded": c,"aria-controls": s,- trailingIcon: c ? Fde : Dz,+ trailingIcon: c ? Qde : lz,onClick: () => {o(!c), r?.(!c);},@@ -46155,12 +45998,12 @@ function GU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, O.jsx)(VU, {+ children: [e.root ? /* @__PURE__ */ (0, O.jsx)(XH, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(RU, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, O.jsx)(qH, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, O.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -46182,7 +46025,7 @@ function GU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"待补资料 ",l(e.workload.pending_jav_titles)," 部 · 平均约 ",- UU(e.workload.metadata_average_bytes || 0),+ QH(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -46192,8 +46035,8 @@ function GU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"已用",e.unobserved.length ? "约" : ""," ",- HU(e.used_bytes)- ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", WU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ ZH(e.used_bytes)+ ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", $H(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -46205,15 +46048,15 @@ function GU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var KU = "peach.library-processing.collapsed";-function qU(e) {+var tU = "peach.library-processing.collapsed";+function nU(e) {try {- return !e || sessionStorage.getItem(KU) !== e;+ return !e || sessionStorage.getItem(tU) !== e;} catch {return !0;}}-function vhe({ value: e, max: t }) {+function whe({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, O.jsxs)("svg", {role: "progressbar",@@ -46243,14 +46086,14 @@ function vhe({ value: e, max: t }) {})]});}-function JU({ state: e, problem: t = "", measure: n = !1 }) {- let [r, i] = (0, D.useState)(() => qU(e?.job_id)), a = (0, D.useId)(), [o, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = e?.status === "failed", u = kH(e);+function rU({ state: e, problem: t = "", measure: n = !1 }) {+ let [r, i] = (0, D.useState)(() => nU(e?.job_id)), a = (0, D.useId)(), [o, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = e?.status === "failed", u = dH(e);(0, D.useEffect)(() => {- i(qU(e?.job_id)), s(!1);+ i(nU(e?.job_id)), s(!1);}, [e?.job_id]);let d = () => {try {- r && e?.job_id ? sessionStorage.setItem(KU, e.job_id) : sessionStorage.removeItem(KU);+ r && e?.job_id ? sessionStorage.setItem(tU, e.job_id) : sessionStorage.removeItem(tU);} catch {}r && s(!1), i(!r);};@@ -46272,20 +46115,20 @@ function JU({ state: e, problem: t = "", measure: n = !1 }) {"data-processing-tone": l ? "error" : f ? "warning" : "neutral","aria-label": "扫描任务",role: l ? "alert" : "status",- className: GF("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),+ className: eF("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- u && e?.total ? /* @__PURE__ */ (0, O.jsx)(vhe, {+ u && e?.total ? /* @__PURE__ */ (0, O.jsx)(whe, {value: e.checked || 0,max: e.total- }) : l || f ? /* @__PURE__ */ (0, O.jsx)(Jde, {+ }) : l || f ? /* @__PURE__ */ (0, O.jsx)(dfe, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(afe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Sfe, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -46297,14 +46140,14 @@ function JU({ state: e, problem: t = "", measure: n = !1 }) {}), u ? /* @__PURE__ */ (0, O.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: AH(e)+ children: fH(e)}) : null]}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: rU,+ leadingIcon: zH,"data-processing-toggle": "","data-collapse-upward": "","aria-label": r ? "收起任务详情" : "展开任务详情",@@ -46313,20 +46156,20 @@ function JU({ state: e, problem: t = "", measure: n = !1 }) {onClick: d})]- }), /* @__PURE__ */ (0, O.jsx)(GU, {+ }), /* @__PURE__ */ (0, O.jsx)(eU, {traffic: e?.traffic,detailsOpen: o,onDetailsChange: s})]}),- /* @__PURE__ */ (0, O.jsx)(nU, {+ /* @__PURE__ */ (0, O.jsx)(RH, {id: a,open: r,"data-processing-body": "",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "pt-3",children: /* @__PURE__ */ (0, O.jsxs)("div", {- className: GF("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),+ className: eF("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),children: [e?.steps?.length ? /* @__PURE__ */ (0, O.jsx)("ol", {"aria-label": "处理步骤",@@ -46334,16 +46177,16 @@ function JU({ state: e, problem: t = "", measure: n = !1 }) {children: e.steps.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {"data-processing-step": e.status,"aria-current": e.status === "current" ? "step" : void 0,- className: GF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: eF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),children: [- e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Vde, {+ e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(ife, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(Hde, {+ }) : /* @__PURE__ */ (0, O.jsx)(afe, {"aria-hidden": !0,- className: GF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")+ className: eF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, O.jsx)(HC, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, O.jsx)(uw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -46356,7 +46199,7 @@ function JU({ state: e, problem: t = "", measure: n = !1 }) {}) : null,/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, O.jsx)(Kme, { state: e }))+ children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, O.jsx)(lhe, { state: e }))}),u && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, O.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",@@ -46372,13 +46215,13 @@ function JU({ state: e, problem: t = "", measure: n = !1 }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",- children: [/* @__PURE__ */ (0, O.jsx)(zH, {+ children: [/* @__PURE__ */ (0, O.jsx)(xH, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: Oz,+ trailingIcon: uz,children: t || l ? "打开扫描与采集" : "任务详情"- }), u ? /* @__PURE__ */ (0, O.jsx)(Lme, {+ }), u ? /* @__PURE__ */ (0, O.jsx)(ehe, {state: e,disabled: !!t}) : null]@@ -46386,32 +46229,32 @@ function JU({ state: e, problem: t = "", measure: n = !1 }) {]});}-function yhe(e) {- let { job: t } = YH(e);- return /* @__PURE__ */ (0, O.jsx)(JU, {+function The(e) {+ let { job: t } = jH(e);+ return /* @__PURE__ */ (0, O.jsx)(rU, {state: t.data,- problem: t.isError ? t.data ? NH : An(t.error) : ""+ problem: t.isError ? t.data ? hH : An(t.error) : ""});}//#endregion//#region src/react/library-processing/library-processing-dock.tsx-var YU = "peach-library-processing";-function bhe({ toast: e }) {- let { job: t, settled: n } = YH({+var iU = "peach-library-processing";+function Ehe({ toast: e }) {+ let { job: t, settled: n } = jH({toast: e,mode: "notice"- }), r = (0, D.useRef)(""), i = t.data, a = t.isError ? i ? NH : An(t.error) : "";+ }), r = (0, D.useRef)(""), i = t.data, a = t.isError ? i ? hH : An(t.error) : "";return (0, D.useEffect)(() => {- let e = kH(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || LH(i));- !e && (!a && !o || r.current === t) ? xH.dismiss(YU) : xH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {+ let e = dH(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || yH(i));+ !e && (!a && !o || r.current === t) ? rH.dismiss(iU) : rH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(JU, {+ children: /* @__PURE__ */ (0, O.jsx)(rU, {state: i,problem: a,measure: !0})}), {- id: YU,+ id: iU,toasterId: "processing",duration: Infinity,dismissible: !e,@@ -46426,20 +46269,20 @@ function bhe({ toast: e }) {a,n]), (0, D.useEffect)(() => () => {- xH.dismiss(YU);+ rH.dismiss(iU);}, []), null;}//#endregion//#region src/react/network-banner.tsx-var xhe = ["network-status"], She = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function Che(e) {+var Dhe = ["network-status"], Ohe = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function khe(e) {return e?.state === "online" ? 12e4 : 3e4;}-function whe() {+function Ahe() {let e = St({- queryKey: xhe,+ queryKey: Dhe,queryFn: ({ signal: e }) => V("/api/network-status", e),- refetchInterval: (e) => Che(e.state.data),+ refetchInterval: (e) => khe(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");return e.data?.state !== "offline" || !t ? null : (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsxs)("aside", {@@ -46450,7 +46293,7 @@ function whe() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, O.jsx)("p", { children: She })] }), /* @__PURE__ */ (0, O.jsx)("a", {+ }), /* @__PURE__ */ (0, O.jsx)("p", { children: Ohe })] }), /* @__PURE__ */ (0, O.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]@@ -46458,21 +46301,21 @@ function whe() {}//#endregion//#region src/react/router/pages/settings.tsx-function The() {- let e = (0, D.useContext)(eW), { pathname: t } = tV();+function jhe() {+ let e = (0, D.useContext)(lU), { pathname: t } = LB();return (0, D.useEffect)(() => {- e?.openSettings?.(OV(t));+ e?.openSettings?.(uV(t));}, [e, t]), (0, D.useEffect)(() => () => {queueMicrotask(() => {- DV(pH.navigation.location.pathname) || e?.closeSettings?.();+ lV(YV.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}//#endregion//#region src/react/router/pages/overlay.tsx-var XU = () => Hl, Ehe = () => Ul;-function Dhe() {- let e = (0, D.useContext)(eW), t = (0, D.useSyncExternalStore)($l, Ehe), n = (0, D.useSyncExternalStore)($l, XU);+var aU = () => Hl, Mhe = () => Ul;+function Nhe() {+ let e = (0, D.useContext)(lU), t = (0, D.useSyncExternalStore)($l, Mhe), n = (0, D.useSyncExternalStore)($l, aU);return (0, D.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -46487,11 +46330,11 @@ function Dhe() {e]), null;}-function ZU(e, t = !1) {- let n = (0, D.useSyncExternalStore)($l, XU), r = (0, D.useRef)(void 0);+function oU(e, t = !1) {+ let n = (0, D.useSyncExternalStore)($l, aU), r = (0, D.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = pH.navigation;- r.current = Hl === 0 || hH() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = YV.navigation;+ r.current = Hl === 0 || ZV() ? "boot" : e && !t ? null : "history";}let i = (0, D.useRef)(e);(0, D.useEffect)(() => {@@ -46507,22 +46350,22 @@ function ZU(e, t = !1) {}));}, [n]);}-function Ohe() {- let e = (0, D.useContext)(eW), t = (0, D.useRef)(e);+function Phe() {+ let e = (0, D.useContext)(lU), t = (0, D.useRef)(e);return (0, D.useLayoutEffect)(() => {t.current = e;- }, [e]), ZU((t) => {- let n = pH.navigation.location, { pathname: r, search: i } = DV(n.pathname) && AV(n.state) || n, a = NV(r, i);- e && a && (zV(), t || Kpe(pH.navigation.location.state), e.openOverlay(a));+ }, [e]), oU((t) => {+ let n = YV.navigation.location, { pathname: r, search: i } = lV(n.pathname) && fV(n.state) || n, a = hV(r, i);+ e && a && (xV(), t || lme(YV.navigation.location.state), e.openOverlay(a));}, !0), (0, D.useEffect)(() => () => {queueMicrotask(() => {- PV(pH.navigation.location.pathname) || t.current?.closeStage();+ gV(YV.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function khe({ path: e }) {- $U();- let { location: t, seq: n, action: r } = pH.navigation, i = DV(t.pathname) ? AV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({+function Fhe({ path: e }) {+ cU();+ let { location: t, seq: n, action: r } = YV.navigation, i = lV(t.pathname) ? fV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -46533,162 +46376,162 @@ function khe({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, O.jsx)(Ohe, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, O.jsx)(Phe, {}, `${e} ${o.current.seq}`);}-function Ahe() {- let e = (0, D.useContext)(eW);- return ZU(() => {+function Ihe() {+ let e = (0, D.useContext)(lU);+ return oU(() => {e?.follow?.ground();}), null;}-function jhe() {- return /* @__PURE__ */ (0, O.jsx)(Ahe, {}, $U());+function Lhe() {+ return /* @__PURE__ */ (0, O.jsx)(Ihe, {}, cU());}//#endregion//#region src/react/router/router.tsx-var QU = (0, D.createContext)(0), $U = () => (0, D.useContext)(QU), eW = (0, D.createContext)(null);-function Mhe({ children: e }) {- let [t, n] = (0, D.useState)(() => pH.navigation);- return (0, D.useLayoutEffect)(() => (n(pH.navigation), pH.listen((e) => {+var sU = (0, D.createContext)(0), cU = () => (0, D.useContext)(sU), lU = (0, D.createContext)(null);+function Rhe({ children: e }) {+ let [t, n] = (0, D.useState)(() => YV.navigation);+ return (0, D.useLayoutEffect)(() => (n(YV.navigation), YV.listen((e) => {(0, Tt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, O.jsx)(QU.Provider, {+ })), []), /* @__PURE__ */ (0, O.jsx)(sU.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, O.jsx)(Ppe, {+ children: /* @__PURE__ */ (0, O.jsx)(Zpe, {location: t.location,navigationType: t.action,- navigator: pH,+ navigator: YV,children: e})});}-function Nhe({ target: e }) {- let t = ype();+function zhe({ target: e }) {+ let t = Ipe();return (0, D.useLayoutEffect)(() => {e.current = t;}), null;}-function Phe(e, t, n) {+function Bhe(e, t, n) {let r = new URL(e, window.location.href);- N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);+ M6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function Fhe() {- let e = (0, D.useContext)(eW), [t, n] = (0, D.useState)(eH), r = (0, D.useRef)(null);- (0, D.useLayoutEffect)(() => (n(eH()), Jpe((e, t) => {+function Vhe() {+ let e = (0, D.useContext)(lU), [t, n] = (0, D.useState)(IV), r = (0, D.useRef)(null);+ (0, D.useLayoutEffect)(() => (n(IV()), dme((e, t) => {t ? (0, Tt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, D.useMemo)(() => (t) => {- e && r.current && Phe(t, e, r.current);+ e && r.current && Bhe(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Nhe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, O.jsx)(Ihe, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(zhe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, O.jsx)(Hhe, {entry: t,- children: /* @__PURE__ */ (0, O.jsx)(Lhe, {+ children: /* @__PURE__ */ (0, O.jsx)(Uhe, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var Ihe = class extends D.Component {+var Hhe = class extends D.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- Zpe(this.props.entry.container, this.props.entry.revision);+ mme(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, Lhe = (0, D.memo)(function({ entry: e, actions: t, go: n }) {- return q6(e.path) ? (0, Tt.createPortal)(Yke(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, Uhe = (0, D.memo)(function({ entry: e, actions: t, go: n }) {+ return K6(e.path) ? (0, Tt.createPortal)(CAe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function Rhe({ children: e }) {- let t = tV();- $U();- let n = gH(), r = DV(t.pathname) && !hH() ? AV(t.state) : null;+function Whe({ children: e }) {+ let t = LB();+ cU();+ let n = QV(), r = lV(t.pathname) && !ZV() ? fV(t.state) : null;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsxs)(lV, {+ /* @__PURE__ */ (0, O.jsxs)(GB, {location: n ?? t,children: [- Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {+ Object.entries(j6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {path: e,element: t.element}, e)),- Object.entries(Gke).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {+ Object.entries(yAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {path: e,element: t.element}, e)),- Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {+ Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {path: e,element: t.element}, e)),- Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {+ Object.entries(I6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {path: e,element: t.element}, e)),- Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {+ Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {path: e,element: t.element}, e)),- K6.map((e) => /* @__PURE__ */ (0, O.jsx)(cV, {+ G6.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {path: e,- element: B6["/"].element+ element: z6["/"].element}, e)),- Object.entries(Kke).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {+ Object.entries(bAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {path: e,element: t.element}, e)),- jV.map((e) => /* @__PURE__ */ (0, O.jsx)(cV, {+ pV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(jhe, {}) : B6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(Lhe, {}) : z6["/"].element}, e)),- EV.map((e) => /* @__PURE__ */ (0, O.jsx)(cV, {+ cV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {path: e,element: null}, e)),- /* @__PURE__ */ (0, O.jsx)(cV, {+ /* @__PURE__ */ (0, O.jsx)(WB, {path: "*",element: e})]}),- /* @__PURE__ */ (0, O.jsxs)(lV, {+ /* @__PURE__ */ (0, O.jsxs)(GB, {location: r ?? t,- children: [jV.map((e) => /* @__PURE__ */ (0, O.jsx)(cV, {+ children: [pV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {path: e,- element: /* @__PURE__ */ (0, O.jsx)(khe, { path: e })- }, e)), /* @__PURE__ */ (0, O.jsx)(cV, {+ element: /* @__PURE__ */ (0, O.jsx)(Fhe, { path: e })+ }, e)), /* @__PURE__ */ (0, O.jsx)(WB, {path: "*",element: null})]}),- /* @__PURE__ */ (0, O.jsxs)(lV, { children: [EV.map((e) => /* @__PURE__ */ (0, O.jsx)(cV, {+ /* @__PURE__ */ (0, O.jsxs)(GB, { children: [cV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {path: e,- element: /* @__PURE__ */ (0, O.jsx)(The, {})- }, e)), /* @__PURE__ */ (0, O.jsx)(cV, {+ element: /* @__PURE__ */ (0, O.jsx)(jhe, {})+ }, e)), /* @__PURE__ */ (0, O.jsx)(WB, {path: "*",element: null})] })] });}-function zhe({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, O.jsxs)(vH, { children: [n, /* @__PURE__ */ (0, O.jsx)(eW.Provider, {+function Ghe({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, O.jsxs)(eH, { children: [n, /* @__PURE__ */ (0, O.jsx)(lU.Provider, {value: t,- children: /* @__PURE__ */ (0, O.jsxs)(Mhe, { children: [- /* @__PURE__ */ (0, O.jsx)(Fhe, {}),- /* @__PURE__ */ (0, O.jsx)(Dhe, {}),- r && t ? /* @__PURE__ */ (0, O.jsx)(bhe, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, O.jsx)(whe, {}) : null,- /* @__PURE__ */ (0, O.jsx)(Rhe, { children: e })+ children: /* @__PURE__ */ (0, O.jsxs)(Rhe, { children: [+ /* @__PURE__ */ (0, O.jsx)(Vhe, {}),+ /* @__PURE__ */ (0, O.jsx)(Nhe, {}),+ r && t ? /* @__PURE__ */ (0, O.jsx)(Ehe, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, O.jsx)(Ahe, {}) : null,+ /* @__PURE__ */ (0, O.jsx)(Whe, { children: e })] })})] });}-var Bhe = { onCaughtError: (e) => {+var Khe = { onCaughtError: (e) => {globalThis.reportError?.(e);} };//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function Vhe(e, t, n) {+function qhe(e, t, n) {(0, D.useEffect)(() => {if (!e) return;let r = (e) => {@@ -46702,7 +46545,7 @@ function Vhe(e, t, n) {n]);}-function Hhe(e, t) {+function Jhe(e, t) {let n = (0, D.useRef)(!1);return (0, D.useEffect)(() => {if (!e) return;@@ -46716,33 +46559,33 @@ function Hhe(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var tW = (0, D.createContext)("md");-function nW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var uU = (0, D.createContext)("md");+function dU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, D.useRef)(null), u = (0, D.useRef)(null), [d, f] = (0, D.useState)(!1);- Vhe(d, () => f(!1), [l, u]);- let p = Hhe(d, l);- return /* @__PURE__ */ (0, O.jsx)(xue, {+ qhe(d, () => f(!1), [l, u]);+ let p = Jhe(d, l);+ return /* @__PURE__ */ (0, O.jsx)(Rue, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: GF("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(JI, {+ className: eF("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(_I, {ref: l,- className: GF("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),- children: [/* @__PURE__ */ (0, O.jsx)(wue, {- className: GF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: eF("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),+ children: [/* @__PURE__ */ (0, O.jsx)(Vue, {+ className: eF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, O.jsx)(Ipe, { className: GF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, O.jsx)(xR, {+ }), /* @__PURE__ */ (0, O.jsx)($pe, { className: eF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, O.jsx)(rR, {ref: u,isNonModal: !0,offset: 4,- className: GF(zpe, mV, "p-2", n),- children: /* @__PURE__ */ (0, O.jsx)(Ule, {+ className: eF(nme, XB, "p-2", n),+ children: /* @__PURE__ */ (0, O.jsx)(oue, {items: a,- className: GF(Bpe, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, O.jsx)(tW.Provider, {+ className: eF(rme, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, O.jsx)(uU.Provider, {value: r,children: i})@@ -46750,24 +46593,24 @@ function nW({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function rW({ className: e, children: t, ...n }) {- let r = (0, D.useContext)(tW);- return /* @__PURE__ */ (0, O.jsx)(Kle, {+function fU({ className: e, children: t, ...n }) {+ let r = (0, D.useContext)(uU);+ return /* @__PURE__ */ (0, O.jsx)(lue, {...n,- className: (t) => GF(hV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),+ className: (t) => eF(ZB, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}//#endregion//#region src/react/catalog-folders/catalog-folders.ts-var iW = {+var pU = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function aW(e, t = "", n = "") {+function mU(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -46779,15 +46622,15 @@ function aW(e, t = "", n = "") {queryFn: ({ signal: e }) => V(`/api/folders?${r}`, e)};}-function oW(e, t) {+function hU(e, t) {let n = new URLSearchParams(e.search);for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);return e.pathname + (n.size ? `?${n}` : "");}//#endregion//#region src/react/catalog-folders/folder-rule-dialog.tsx-function Uhe({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, D.useContext)(eW), a = JH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {+function Yhe({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, D.useContext)(lU), a = AH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -46816,7 +46659,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {})})).confirmed ? b("已移除目录规则") : _(!1);}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, O.jsx)(Zz, {+ return g ? null : /* @__PURE__ */ (0, O.jsx)(Nz, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -46830,7 +46673,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, O.jsx)(XI, {+ children: [/* @__PURE__ */ (0, O.jsx)(xI, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -46838,7 +46681,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",children: e.path})]- }), /* @__PURE__ */ (0, O.jsx)(rB, {+ }), /* @__PURE__ */ (0, O.jsx)(zz, {label: "关闭目录用途",onPress: () => {w || r();@@ -46850,20 +46693,20 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, O.jsx)(Wz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(nW, {+ children: [/* @__PURE__ */ (0, O.jsx)(Ez, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(dU, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(iW).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(rW, {+ children: Object.entries(pU).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(fU, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(Xz, {+ o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(Mz, {label: "关联名称",value: c,onChange: (e) => {@@ -46874,7 +46717,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, O.jsx)(xV, {+ /* @__PURE__ */ (0, O.jsx)(rV, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -46882,7 +46725,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, O.jsx)(xV, {+ /* @__PURE__ */ (0, O.jsx)(rV, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -46919,9 +46762,9 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {children: e.name}, e.id))}) : null,- m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)($z, {+ m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "warning",- extra: /* @__PURE__ */ (0, O.jsx)(LU, {+ extra: /* @__PURE__ */ (0, O.jsx)(KH, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, O.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -46939,7 +46782,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {}) : null]}) : null,- a.error ? /* @__PURE__ */ (0, O.jsx)($z, {+ a.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: a.error}) : null@@ -46948,31 +46791,31 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center justify-end gap-2 border-t border-separator-border p-4",children: [- t ? /* @__PURE__ */ (0, O.jsx)(q, {+ t ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "ghost",className: "mr-auto",onClick: () => {w || C();},- ...iB(a.busy === "remove"),+ ...Bz(a.busy === "remove"),children: "移除规则"}) : null,- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: () => {w || r();},children: "取消"}),- m ? /* @__PURE__ */ (0, O.jsx)(q, {+ m ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",- ...iB(a.busy === "save"),+ ...Bz(a.busy === "save"),onClick: S,children: T("save", "正在保存") || "保存目录用途"- }) : /* @__PURE__ */ (0, O.jsx)(q, {+ }) : /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",disabled: o !== "category" && !c.trim(),- ...iB(a.busy === "preview"),+ ...Bz(a.busy === "preview"),onClick: () => {x();},@@ -46986,7 +46829,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {}//#endregion//#region src/react/catalog-folders/use-folder-sticky-offset.ts-function Whe(e, t) {+function Xhe(e, t) {(0, D.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -47010,35 +46853,35 @@ function Whe(e, t) {}//#endregion//#region src/react/catalog-folders/catalog-folders-page.tsx-function sW() {- return eV() ? /* @__PURE__ */ (0, O.jsx)(Ghe, {}) : null;+function gU() {+ return IB() ? /* @__PURE__ */ (0, O.jsx)(Zhe, {}) : null;}-function Ghe() {- let e = tV(), t = (0, D.useContext)(eW);+function Zhe() {+ let e = LB(), t = (0, D.useContext)(lU);if (!Zt(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");- return /* @__PURE__ */ (0, O.jsx)(gI, {+ return /* @__PURE__ */ (0, O.jsx)(MF, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: Mz,- onClick: () => t?.navigate(oW(e, r ? {+ icon: mz,+ onClick: () => t?.navigate(hU(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function Khe({ children: e, enabled: t }) {- return eV() ? /* @__PURE__ */ (0, O.jsx)(qhe, {+function Qhe({ children: e, enabled: t }) {+ return IB() ? /* @__PURE__ */ (0, O.jsx)($he, {enabled: t,children: e}) : /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e });}-function qhe({ children: e, enabled: t }) {- let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = tV(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));+function $he({ children: e, enabled: t }) {+ let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = LB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, O.jsxs)("div", {className: "entity-folder-workspace","data-folder-workspace": "",@@ -47057,7 +46900,7 @@ function qhe({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, O.jsx)(cW, {+ n && i ? /* @__PURE__ */ (0, O.jsx)(_U, {treeTarget: n,headerTarget: i,enabled: t@@ -47065,14 +46908,14 @@ function qhe({ children: e, enabled: t }) {]});}-function cW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = tV(), i = (0, D.useContext)(eW), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = LB(), i = (0, D.useContext)(lU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- Whe(o, e);+ Xhe(o, e);let c = a.get("folder") || "", l = St({- ...aW(s, c),+ ...mU(s, c),enabled: o}), [u, d] = (0, D.useState)(!1), [f, p] = (0, D.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, D.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -47086,11 +46929,11 @@ function cW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {d(!1), p(!1);}, [c, o]), !o || !m || !h || !i) return null;let g = (e) => {- d(!1), i.navigate(oW(r, {+ d(!1), i.navigate(hU(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(uW, {+ }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(tge, {scope: s,selected: c,current: _,@@ -47107,21 +46950,21 @@ function cW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, O.jsx)(gI, {+ children: /* @__PURE__ */ (0, O.jsx)(MF, {"aria-label": "打开文件夹目录",- icon: ufe,+ icon: Dfe,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, O.jsxs)(Rpe, {+ /* @__PURE__ */ (0, O.jsxs)(tme, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, O.jsx)(fV, {+ children: [/* @__PURE__ */ (0, O.jsx)(JB, {current: !c,onClick: () => g(""),- icon: Mz,+ icon: mz,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(fV, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(JB, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, O.jsx)("span", {@@ -47131,17 +46974,17 @@ function cW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, O.jsx)(gI, {+ _?.selected ? /* @__PURE__ */ (0, O.jsx)(MF, {"aria-label": "设置目录用途",- icon: tfe,+ icon: vfe,size: "small",onClick: () => p(!0)}) : null]}),- l.error && !u ? /* @__PURE__ */ (0, O.jsx)($z, {+ l.error && !u ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",onClick: () => {@@ -47151,9 +46994,9 @@ function cW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}),children: An(l.error)}) : null,- _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)($z, {+ _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)(Fz, {tone: "warning",- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",onClick: () => p(!0),@@ -47163,14 +47006,14 @@ function cW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, O.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, O.jsx)(xV, {+ children: [/* @__PURE__ */ (0, O.jsx)(rV, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(oW(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(hU(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${iW[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${pU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -47180,13 +47023,13 @@ function cW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, O.jsx)(lW, {+ _?.children.length ? /* @__PURE__ */ (0, O.jsx)(ege, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, O.jsxs)(Zz, {+ /* @__PURE__ */ (0, O.jsxs)(Nz, {isOpen: u,onOpenChange: d,width: "form",@@ -47196,7 +47039,7 @@ function cW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, O.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, O.jsx)(rB, {+ }), /* @__PURE__ */ (0, O.jsx)(zz, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -47205,7 +47048,7 @@ function cW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, O.jsx)(Uhe, {+ f && _?.selected ? /* @__PURE__ */ (0, O.jsx)(Yhe, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -47213,7 +47056,7 @@ function cW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function lW({ nodes: e, go: t }) {+function ege({ nodes: e, go: t }) {let [n, r] = (0, D.useState)(!1), i = (0, D.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -47221,17 +47064,17 @@ function lW({ nodes: e, go: t }) {id: i,className: "folder-children","aria-label": "子文件夹",- children: a.map((e) => /* @__PURE__ */ (0, O.jsx)(q, {+ children: a.map((e) => /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: Mz,+ leadingIcon: mz,onClick: () => t(e.id),children: /* @__PURE__ */ (0, O.jsx)("span", {className: "truncate",children: e.name})}, e.id))- }), e.length > 12 ? /* @__PURE__ */ (0, O.jsx)(q, {+ }), e.length > 12 ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "ghost",size: "small","aria-expanded": n,@@ -47241,28 +47084,28 @@ function lW({ nodes: e, go: t }) {}) : null]});}-function uW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = St(aW(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = St({- ...aW(e, "", u),+function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = St(mU(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = St({+ ...mU(e, "", u),enabled: !!u.trim()- }), f = SV();+ }), f = iV();(0, D.useEffect)(() => {n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));}, [n?.ancestors]);- let p = [...o].map(String), m = bt({ queries: p.map((t) => aW(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = bt({ queries: p.map((t) => mU(e, t)) }), h = /* @__PURE__ */ new Map();m.forEach((e, t) => {e.data && h.set(p[t], e.data.children);}), n?.selected && h.set(n.selected.id, n.children);let g = (e) => {let t = h.get(e.id);- return /* @__PURE__ */ (0, O.jsx)(_V, {+ return /* @__PURE__ */ (0, O.jsx)($B, {id: e.id,label: e.name,- icon: Mz,- expandedIcon: Nz,+ icon: mz,+ expandedIcon: hz,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)(_V, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)($B, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -47278,17 +47121,17 @@ function uW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-label": "文件夹导航",className: "catalog-folder-navigation flex min-h-0 min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, O.jsx)(Xz, {+ /* @__PURE__ */ (0, O.jsx)(Mz, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: Vz,+ leadingIcon: Cz,value: c,onChange: l,size: "small"}),- v ? /* @__PURE__ */ (0, O.jsx)($z, {+ v ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",onClick: () => {@@ -47321,29 +47164,29 @@ function uW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-busy": "true",className: "h-8 skeleton-sheen","aria-label": "正在查找文件夹"- }) : d.error ? /* @__PURE__ */ (0, O.jsx)($z, {+ }) : d.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: An(d.error)- }) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, O.jsx)(q, {+ }) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: Mz,+ leadingIcon: mz,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, O.jsx)(eB, {+ }, e.id)) : /* @__PURE__ */ (0, O.jsx)(Iz, {size: "compact",- icon: Vz,+ icon: Cz,title: "没有匹配的文件夹",- actions: /* @__PURE__ */ (0, O.jsx)(q, {+ actions: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: () => l(""),children: "清除搜索"}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, O.jsx)(Vpe, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, O.jsx)(ime, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -47351,11 +47194,11 @@ function uW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, O.jsx)(eB, {+ }) : /* @__PURE__ */ (0, O.jsx)(Iz, {size: "compact",- icon: Mz,+ icon: mz,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, O.jsx)(OI, {+ actions: /* @__PURE__ */ (0, O.jsx)(JF, {size: "small",href: "/settings/library",children: "添加媒体"@@ -47369,54 +47212,54 @@ function uW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}//#endregion//#region src/react/components/segmented.tsx-function dW(e) {- let t = yI(BH("selection"));- return /* @__PURE__ */ (0, O.jsx)(Sz, {+function nge(e) {+ let t = FF(SH("selection"));+ return /* @__PURE__ */ (0, O.jsx)(iz, {...e,ref: t});}-function fW(e) {- let t = yI(BH("selection"));- return /* @__PURE__ */ (0, O.jsx)(VR, {+function vU(e) {+ let t = FF(SH("selection"));+ return /* @__PURE__ */ (0, O.jsx)(CR, {...e,ref: t});}-var pW = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", mW = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", hW = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", gW = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", _W = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";+var yU = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", bU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", rge = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", xU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", SU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";//#endregion//#region src/react/catalog-grid/catalog-view-toggle.tsx-function vW() {- let e = uM();- return /* @__PURE__ */ (0, O.jsxs)(VR, {+function CU() {+ let e = hM();+ return /* @__PURE__ */ (0, O.jsxs)(CR, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: Ese,+ onChange: pM,"data-entity-layout": "",- className: gW,- children: [/* @__PURE__ */ (0, O.jsx)(HR, {+ className: xU,+ children: [/* @__PURE__ */ (0, O.jsx)(wR, {value: "cards","aria-label": "卡片",- className: _W,+ className: SU,"data-glass-segment": "",children: /* @__PURE__ */ (0, O.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, O.jsx)(Iz, {+ children: /* @__PURE__ */ (0, O.jsx)(vz, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, O.jsx)(HR, {+ }), /* @__PURE__ */ (0, O.jsx)(wR, {value: "list","aria-label": "列表",- className: _W,+ className: SU,"data-glass-segment": "",children: /* @__PURE__ */ (0, O.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, O.jsx)(cfe, {+ children: /* @__PURE__ */ (0, O.jsx)(Tfe, {"aria-hidden": "true",className: "size-4"})@@ -47426,8 +47269,8 @@ function vW() {}//#endregion//#region src/react/components/icon-swap.tsx-function yW({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = Jb();+function wU({ a: e, b: t, state: n, className: r }) {+ let { isFocusVisible: i } = lx();return /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -47443,115 +47286,115 @@ function yW({ a: e, b: t, state: n, className: r }) {})]});}-function bW({ className: e }) {- return /* @__PURE__ */ (0, O.jsx)(yW, {- a: Pde,- b: Nde,+function TU({ className: e }) {+ return /* @__PURE__ */ (0, O.jsx)(wU, {+ a: Zde,+ b: Xde,className: e});}//#endregion//#region src/react/follow-feed/follow-marks.ts-var xW = (e) => typeof e == "string" ? e : "", SW = (e) => e.aliases;-function CW(e, t = "") {+var EU = (e) => typeof e == "string" ? e : "", DU = (e) => e.aliases;+function OU(e, t = "") {let n = hi(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${B(t)}"${t ? ` title="${B(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function wW(e, t = "") {+function kU(e, t = "") {let n = B(Or(t || e)), r = hi(e);return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;}-var TW = (e) => xW(e.title).trim() || "未命名内容", EW = (e, t) => Dr(e, SW(t));-function DW(e) {+var AU = (e) => EU(e.title).trim() || "未命名内容", jU = (e, t) => Dr(e, DU(t));+function MU(e) {let t = e.filter((e) => e.entity_id && e.entity_name);if (new Set(t.map((e) => e.entity_id)).size !== 1) return "";- let n = t[0], r = xW(n.entity_name);+ let n = t[0], r = EU(n.entity_name);return jt("creator", r, n.entity_id), r;}-function OW(e, t) {+function NU(e, t) {let { src: n, fallback: r } = kr(e), i = Or(t);if (!n) return `<span class="favatar none" title="没有可用头像">${B(i)}</span>`;let a = r ? ` data-fallbacks="${B(r)}"` : "";return `<img class="favatar" src="${B(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${B(i)}" data-drop-class="favatar none">`;}-function kW(e, t, n) {- let r = SW(n), i = e.credit, a = i?.poster;+function PU(e, t, n) {+ let r = DU(n), i = e.credit, a = i?.poster;if (!a) {let n = Dr(t, r);return {- author: n || xW(e.author) || xW(e.source_label) || "创作者未取得",- avatar: OW(t, n),+ author: n || EU(e.author) || EU(e.source_label) || "创作者未取得",+ avatar: NU(t, n),credited: "",- entityName: DW(t)+ entityName: MU(t)};}let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && Dr(c, r) || a;return {author: l,- avatar: OW(c, l),+ avatar: NU(c, l),credited: i.credited || "",- entityName: DW(c)+ entityName: MU(c)};}-function AW(e, t = e.primary) {+function FU(e, t = e.primary) {let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));- let i = xW(e.primary.version);+ let i = EU(e.primary.version);i && n.push(r("version", B(i)));- let a = xW(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = EU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function jW(e, t = e.primary) {+function IU(e, t = e.primary) {let n = new Map([e.primary,...e.variants,...e.duplicates].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));if (!n.size) return "";- let r = [...n].map(([e, t]) => CW(e, t) || `<span>${B(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => OU(e, t) || `<span>${B(t)}</span>`).join("");return `<span data-follow-seealso="" title="另见 ${B([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;}-function MW(e, t) {- let n = xW(e.media_error);+function LU(e, t) {+ let n = EU(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var NW = 864e5, PW = (e, t) => {+var ige = 864e5, age = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > NW;+ return Number.isFinite(n) && n - t > ige;};-function FW(e, t) {- let n = xW(e.published_at);+function RU(e, t) {+ let n = EU(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = Wn(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: PW(n, t) ? " · 晚于现在" : ""+ suffix: age(n, t) ? " · 晚于现在" : ""};}-function IW(e, t = Date.now()) {- let n = FW(e, t);+function zU(e, t = Date.now()) {+ let n = RU(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function LW(e, t = Date.now()) {- let n = FW(e, t);+function oge(e, t = Date.now()) {+ let n = RU(e, t);if (!n) return "时间未取得";if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);return `${n.prefix}${r}${n.suffix}`;}-var RW = /* @__PURE__ */ new Set(), zW = [], BW = null;-function VW() {- if (BW = null, !zW.length) return;- let e = zW.splice(0, 200);+var BU = /* @__PURE__ */ new Set(), VU = [], HU = null;+function UU() {+ if (HU = null, !VU.length) return;+ let e = VU.splice(0, 200);z("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), zW.length && (BW = setTimeout(VW, 800));+ }).catch(() => {}), VU.length && (HU = setTimeout(UU, 800));}-function HW(e, t, n, r) {+function sge(e, t, n, r) {let i = `${e}:${t ?? ""}`;- RW.has(i) || (RW.add(i), zW.push(t === null ? {+ BU.has(i) || (BU.add(i), VU.push(t === null ? {item: e,width: n,height: r@@ -47560,26 +47403,26 @@ function HW(e, t, n, r) {width: n,height: r,media: t- }), BW ||= setTimeout(VW, 800));+ }), HU ||= setTimeout(UU, 800));}//#endregion//#region src/react/entity-filter/entity-filter.ts-var UW = (e) => e === "videos", WW = () => /* @__PURE__ */ (0, O.jsx)("span", {+var cge = (e) => e === "videos", WU = () => /* @__PURE__ */ (0, O.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), GW = nB("shuffle"), KW = nB("arrow-up"), qW = nB("arrow-down");-function JW(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = UW(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), lge = Rz("shuffle"), uge = Rz("arrow-up"), dge = Rz("arrow-down");+function fge(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = cge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({k: e,label: t- })) : i, m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = EI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = EI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = EI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = KF(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = KF(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = KF(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, D.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)($W, {+ }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(GU, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, O.jsx)(xI, {+ }), /* @__PURE__ */ (0, O.jsx)(zF, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -47608,19 +47451,19 @@ function JW(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(QW, {+ n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(gge, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, O.jsx)(WW, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(XW, {+ }), d ? /* @__PURE__ */ (0, O.jsx)(WU, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(mge, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, O.jsx)(WW, {})] }) : null,+ }), /* @__PURE__ */ (0, O.jsx)(WU, {})] }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -47641,11 +47484,11 @@ function JW(e) {f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));},children: e.label- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, O.jsx)(WW, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, O.jsx)(WU, {}) : null]}), /* @__PURE__ */ (0, O.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(SI, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(VF, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47654,17 +47497,17 @@ function JW(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(ZW, {+ }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(hge, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, O.jsx)(eG, { ...e })+ bottom: /* @__PURE__ */ (0, O.jsx)(_ge, { ...e })})] });}-var YW = [[+var pge = [["videos","视频","play",@@ -47675,7 +47518,7 @@ var YW = [["pics","image"]];-function XW({ head: e, row: t, glide: n, onMedia: r }) {+function mge({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {ref: t,role: "group",@@ -47683,7 +47526,7 @@ function XW({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: YW.map(([t, i, a, o]) => {+ children: pge.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -47701,7 +47544,7 @@ function XW({ head: e, row: t, glide: n, onMedia: r }) {})});}-function ZW({ head: e, actions: t }) {+function hge({ head: e, actions: t }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -47711,10 +47554,10 @@ function ZW({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: CW(n) }+ dangerouslySetInnerHTML: { __html: OU(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(WW, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(SI, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(WU, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(VF, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -47727,7 +47570,7 @@ function ZW({ head: e, actions: t }) {}, e.k))] });}-function QW({ keys: e, view: t, row: n, glide: r, onView: i }) {+function gge({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -47775,7 +47618,7 @@ function QW({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function $W({ items: e, hidden: t, actions: n }) {+function GU({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -47795,7 +47638,7 @@ function $W({ items: e, hidden: t, actions: n }) {})] }) : null});}-function eG(e) {+function _ge(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, O.jsxs)("button", {@@ -47807,27 +47650,27 @@ function eG(e) {dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, O.jsx)(tG, {+ /* @__PURE__ */ (0, O.jsx)(vge, {text: n,busy: r}),- /* @__PURE__ */ (0, O.jsx)(_B, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(iG, {+ /* @__PURE__ */ (0, O.jsx)($z, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(yge, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(sG, {+ t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(XU, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)(oG, {+ t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)(YU, {head: e.online,actions: o}) : null] });}-function tG({ text: e, busy: t }) {+function vge({ text: e, busy: t }) {return /* @__PURE__ */ (0, O.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -47837,22 +47680,22 @@ function tG({ text: e, busy: t }) {}) : e});}-function nG({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, O.jsx)(VR, {+function KU({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, O.jsx)(CR, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: gW,+ className: xU,children: r.map(([e, t, n]) => {- let r = nB(n);- return /* @__PURE__ */ (0, O.jsx)(HR, {+ let r = Rz(n);+ return /* @__PURE__ */ (0, O.jsx)(wR, {value: e,"aria-label": t,"data-glass-segment": "",- className: _W,+ className: SU,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -47862,38 +47705,38 @@ function nG({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function rG({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, O.jsx)(bI, {+function qU({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, O.jsx)(LF, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: GW,+ icon: lge,onPress: e});}-function iG({ head: e, actions: t }) {- let n = uM();+function yge({ head: e, actions: t }) {+ let n = hM();return /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(rG, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(nG, {+ /* @__PURE__ */ (0, O.jsx)(qU, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(KU, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, O.jsx)(vW, {}),- /* @__PURE__ */ (0, O.jsx)(sW, {}),- /* @__PURE__ */ (0, O.jsx)(aG, {+ /* @__PURE__ */ (0, O.jsx)(CU, {}),+ /* @__PURE__ */ (0, O.jsx)(gU, {}),+ /* @__PURE__ */ (0, O.jsx)(JU, {sorts: e.sorts,onSort: t.setSort})]});}-function aG({ sorts: e, onSort: t }) {+function JU({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -47901,20 +47744,20 @@ function aG({ sorts: e, onSort: t }) {"aria-pressed": e.pressed,"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, O.jsx)(yW, {- a: KW,- b: qW,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, O.jsx)(wU, {+ a: uge,+ b: dge,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function oG({ head: e, actions: t }) {+function YU({ head: e, actions: t }) {return /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(rG, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(nG, {+ /* @__PURE__ */ (0, O.jsx)(qU, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(KU, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -47934,27 +47777,27 @@ function oG({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, O.jsx)(aG, {+ /* @__PURE__ */ (0, O.jsx)(JU, {sorts: e.sorts,onSort: t.onlineSort})]});}-function sG({ head: e, actions: t, helpers: n }) {+function XU({ head: e, actions: t, helpers: n }) {let [r, i] = (0, D.useState)(!1), a = (0, D.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, D.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, O.jsx)(rG, {+ e.shuffle ? /* @__PURE__ */ (0, O.jsx)(qU, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, O.jsx)(nG, {+ /* @__PURE__ */ (0, O.jsx)(KU, {label: "图片布局",value: e.layout,options: e.layouts,@@ -47970,31 +47813,31 @@ function sG({ head: e, actions: t, helpers: n }) {}//#endregion//#region src/react/catalog-filter/catalog-filter-page.tsx-var cG = "";-function lG(e) {- let t = !e.tiers, n = _G(e.comboHost);+var ZU = "";+function QU(e) {+ let t = !e.tiers, n = oW(e.comboHost);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)($W, {+ n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(GU, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, O.jsx)(fG, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)(uG, { ...e })+ /* @__PURE__ */ (0, O.jsx)(tW, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)($U, { ...e })]});}-function uG(e) {- let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = EI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function $U(e) {+ let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = KF(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, D.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = vG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = sW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, D.useLayoutEffect)(() => {let e = a.current?.closest("[data-catalog-frame]");if (!e) return;@@ -48011,7 +47854,7 @@ function uG(e) {e.sorts]), (0, D.useLayoutEffect)(() => {ms(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, O.jsx)(xI, {+ }, [f]), /* @__PURE__ */ (0, O.jsx)(zF, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -48055,17 +47898,17 @@ function uG(e) {}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(mG, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(dG, {+ children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(rW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(eW, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(hG, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(iW, { ...e })});}-function dG({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, O.jsxs)(SI, {+function eW({ tag: e, onPress: t }) {+ return /* @__PURE__ */ (0, O.jsxs)(VF, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -48076,12 +47919,12 @@ function dG({ tag: e, onPress: t }) {})]});}-function fG(e) {+function tW(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = e.empty || !e.tiers, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), c = vG(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = vG(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;+ }, i = e.empty || !e.tiers, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), c = sW(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = sW(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;return (0, D.useEffect)(() => {n.wireDrag(a.current), n.wireDrag(o.current);}, [@@ -48094,7 +47937,7 @@ function fG(e) {children: [u ? /* @__PURE__ */ (0, O.jsx)("div", {ref: a,"data-catalog-tier": "performers",- children: i ? /* @__PURE__ */ (0, O.jsx)(mG, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, O.jsx)(rW, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -48111,18 +47954,18 @@ function fG(e) {}) : null, d ? /* @__PURE__ */ (0, O.jsx)("div", {ref: o,"data-catalog-tier": "studios",- children: i ? /* @__PURE__ */ (0, O.jsx)(mG, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, O.jsx)(rW, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": e.name,onClick: () => t.openEntity("studio", e.name),- children: [/* @__PURE__ */ (0, O.jsx)(pG, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, O.jsx)(nW, { studio: e }), e.name]}, e.name))}) : null]});}-function pG({ studio: e }) {+function nW({ studio: e }) {let [t, n] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("span", {"data-tier-mark": "",@@ -48140,7 +47983,7 @@ function pG({ studio: e }) {}) : e.fallback});}-function mG({ kind: e }) {+function rW({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-catalog-placeholder": "tag",@@ -48156,37 +47999,37 @@ function mG({ kind: e }) {children: [/* @__PURE__ */ (0, O.jsx)("span", {}), /* @__PURE__ */ (0, O.jsx)("span", { children: "\xA0" })]}, t)) });}-function hG({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = uM(), [o, s] = (0, D.useState)(!1);+function iW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = hM(), [o, s] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, O.jsx)(gG, { count: e }), /* @__PURE__ */ (0, O.jsx)(_B, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, O.jsx)(aW, { count: e }), /* @__PURE__ */ (0, O.jsx)($z, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(rG, {+ /* @__PURE__ */ (0, O.jsx)(qU, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(nG, {+ n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(KU, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, O.jsx)(vW, {}),- /* @__PURE__ */ (0, O.jsx)(sW, {}),- /* @__PURE__ */ (0, O.jsx)(aG, {+ /* @__PURE__ */ (0, O.jsx)(CU, {}),+ /* @__PURE__ */ (0, O.jsx)(gU, {}),+ /* @__PURE__ */ (0, O.jsx)(JU, {sorts: r,onSort: i.setSort})]})] });}-function gG({ count: e }) {+function aW({ count: e }) {let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";return (0, D.useLayoutEffect)(() => {if (e === !1) return;@@ -48195,7 +48038,7 @@ function gG({ count: e }) {return;}let i = t.current;- i && (cG && i.dataset.popCount === void 0 && (i.dataset.popCount = cG), cG = r, ds(i, r));+ i && (ZU && i.dataset.popCount === void 0 && (i.dataset.popCount = ZU), ZU = r, ds(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, O.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, O.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -48211,7 +48054,7 @@ function gG({ count: e }) {})}, "skeleton");}-function _G(e) {+function oW(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!e) return;@@ -48221,7 +48064,7 @@ function _G(e) {};}, [e]), t;}-function vG(e, t, n, r, i) {+function sW(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -48265,8 +48108,8 @@ function vG(e, t, n, r, i) {}//#endregion//#region src/react/components/grid-reveal.tsx-var yG = "100% 0px";-function bG(e, t) {+var cW = "100% 0px";+function lW(e, t) {let [n, r] = (0, D.useState)(e ? "skeleton" : "none"), [i] = (0, D.useState)(() => e ? t() : ""), a = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {a.current && Ts(a.current);@@ -48292,7 +48135,7 @@ function bG(e, t) {fading: n === "fade"};}-function xG({ message: e, onRetry: t }) {+function uW({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -48306,7 +48149,7 @@ function xG({ message: e, onRetry: t }) {}//#endregion//#region src/react/components/art-slot.tsx-function SG({ artwork: e, identity: t = e.html, relayout: n }) {+function dW({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, D.useState)({identity: t,artwork: e@@ -48326,64 +48169,64 @@ function SG({ artwork: e, identity: t = e.html, relayout: n }) {}//#endregion//#region src/library-catalog.ts-var CG = "peach.library-colors.v1", wG = null, TG = /* @__PURE__ */ new Set();-function EG() {+var fW = "peach.library-colors.v1", pW = null, mW = /* @__PURE__ */ new Set();+function hW() {try {- let e = JSON.parse(localStorage.getItem(CG) || "{}");+ let e = JSON.parse(localStorage.getItem(fW) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function DG(e) {- wG = e;+function gW(e) {+ pW = e;try {- localStorage.setItem(CG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(fW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- TG.forEach((t) => t(e));+ mW.forEach((t) => t(e));}-function OG() {- return wG;+function _W() {+ return pW;}-function kG(e) {- return TG.add(e), () => {- TG.delete(e);+function vW(e) {+ return mW.add(e), () => {+ mW.delete(e);};}//#endregion//#region src/react/components/library-tint.ts-var AG = /* @__PURE__ */ new Map(), jG = !1, MG = /* @__PURE__ */ new Set();-function NG(e) {+var yW = /* @__PURE__ */ new Map(), bW = !1, xW = /* @__PURE__ */ new Set();+function SW(e) {let t = document.createElement("span");t.setAttribute("data-accent-ball", e), t.hidden = !0, document.body.append(t);let n = getComputedStyle(t).getPropertyValue("--color-accent-500").trim();return t.remove(), n;}-function PG(e) {- AG = e;+function CW(e) {+ yW = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...AG.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${NG(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...yW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${SW(e.color)}}`).join("\n");}-function FG(e) {- PG(e), MG.forEach((e) => e());+function wW(e) {+ CW(e), xW.forEach((e) => e());}-var IG = (e) => new Map(e.map((e) => [e.id, {+var TW = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,icon: No[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), LG = !1;-function RG() {- if (LG) return;- LG = !0, kG((e) => FG(IG(e)));- let e = OG();+}])), EW = !1;+function DW() {+ if (EW) return;+ EW = !0, vW((e) => wW(TW(e)));+ let e = _W();if (e) {- PG(IG(e));+ CW(TW(e));return;}- let t = Object.entries(EG()).filter(([, e]) => e);- t.length && PG(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(hW()).filter(([, e]) => e);+ t.length && CW(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -48391,35 +48234,35 @@ function RG() {color: t}])));}-function zG() {- jG || OG() || (jG = !0, V("/api/libraries").then((e) => DG(e.libraries || [])).catch(() => {- jG = !1;+function OW() {+ bW || _W() || (bW = !0, V("/api/libraries").then((e) => gW(e.libraries || [])).catch(() => {+ bW = !1;}));}-function BG(e, t) {- let n = AG.get(e) ?? {+function kW(e, t) {+ let n = yW.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- FG(new Map([...AG, [e, {+ wW(new Map([...yW, [e, {...n,color: t}]]));}-function VG(e) {- return MG.add(e), () => {- MG.delete(e);+function AW(e) {+ return xW.add(e), () => {+ xW.delete(e);};}-function HG({ names: e = !1 } = {}) {- return RG(), e && zG(), (0, D.useSyncExternalStore)(VG, () => AG, () => AG);+function jW({ names: e = !1 } = {}) {+ return DW(), e && OW(), (0, D.useSyncExternalStore)(AW, () => yW, () => yW);}//#endregion//#region src/react/components/row-click.ts-var UG = [+var MW = ["a","button","input",@@ -48432,46 +48275,46 @@ var UG = ["[role=\"link\"]","[role=\"menu\"]"].join(",");-function WG(e, t) {+function NW(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(UG);+ let r = n.closest(MW);return !r || !t.contains(r) || r === t;}-function GG(e) {+function PW(e) {e.shiftKey && e.preventDefault();}//#endregion//#region src/react/components/media-card.tsx-var KG = 9 / 16, qG = "未命名视频";-function JG({ name: e }) {+var FW = 9 / 16, IW = "未命名视频";+function LW({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-var YG = {+var RW = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, XG = {+}, zW = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function ZG({ item: e }) {+function BW({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && XG[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && zW[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, O.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function QG({ item: e, actions: t }) {+function VW({ item: e, actions: t }) {let [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48490,10 +48333,10 @@ function QG({ item: e, actions: t }) {children: i}) : null] });}-function $G(e, t, n) {- return t === "short" ? KG : EA(n);+function HW(e, t, n) {+ return t === "short" ? FW : wA(n);}-function eK(e) {+function UW(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Xa(e), s = i[0] || "", c = Fa(e);return {avatar: r ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -48525,7 +48368,7 @@ function eK(e) {"data-entity-kind": "performer","data-entity-name": s,title: s,- children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, O.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -48535,16 +48378,16 @@ function eK(e) {"data-entity-kind": t,"data-entity-name": n,title: n,- children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]}) : /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]})};}-function tK() {+function WW() {return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-media-preview": "",@@ -48563,7 +48406,7 @@ function tK() {})]});}-function nK({ item: e, actions: t, on: n, onChange: r }) {+function GW({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("div", {"data-media-later": "",@@ -48578,11 +48421,11 @@ function nK({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, O.jsx)(JG, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, O.jsx)(LW, { name: n ? "check" : "bookmark-plus" })})});}-function rK({ reason: e }) {+function KW({ reason: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {ref: t,@@ -48596,15 +48439,15 @@ function rK({ reason: e }) {e.stopPropagation(), r(!0);},children: e- }), /* @__PURE__ */ (0, O.jsx)(xR, {+ }), /* @__PURE__ */ (0, O.jsx)(rR, {triggerRef: t,isOpen: n,onOpenChange: r,placement: "top",offset: 8,containerPadding: 12,- className: mV,- children: /* @__PURE__ */ (0, O.jsx)(PR, {+ className: XB,+ children: /* @__PURE__ */ (0, O.jsx)(gR, {"data-media-reason-dialog": "","aria-label": "推荐理由",className: "w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -48612,17 +48455,17 @@ function rK({ reason: e }) {})})] });}-function iK(e, t) {+function qW(e, t) {let n = e?.querySelector("video.hv");n && Number.isFinite(n.duration) && (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));}-function aK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- let u = (0, D.useRef)(null), [d, f] = (0, D.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = HG(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, D.useRef)(e);+function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ let u = (0, D.useRef)(null), [d, f] = (0, D.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = jW(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, D.useRef)(e);_.current = e;let v = (0, D.useCallback)((e) => {let t = _.current;u.current && u.current !== e && ll(u.current), u.current = e, e && (!t.medium || t.medium === "video") && dl(e, t);- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = $G(e, t, n), w = S ? n.size : "small", T = C === KG && !!e.is_jav, E = T ? qa(e, !1) : Ga(e, w, !1, n.javImage), k = T || w === "small" ? E.html : Ga(e, "small", !1, n.javImage).html, A = y?.title || e.name || "", j = o.displayName(e, A).trim() || qG, M = o.titleHtml(e, A).trim() || B(qG), N = y?.total_size ?? e.size, P = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: F, who: te } = eK(e), I = (e.follow_tags || e.tags || []).slice(0, 3), ne = (t) => {+ }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = HW(e, t, n), w = S ? n.size : "small", T = C === FW && !!e.is_jav, E = T ? qa(e, !1) : Ga(e, w, !1, n.javImage), k = T || w === "small" ? E.html : Ga(e, "small", !1, n.javImage).html, A = y?.title || e.name || "", j = o.displayName(e, A).trim() || IW, M = o.titleHtml(e, A).trim() || B(IW), N = y?.total_size ?? e.size, P = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: F, who: te } = UW(e), I = (e.follow_tags || e.tags || []).slice(0, 3), ne = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = u.current;@@ -48649,10 +48492,10 @@ function aK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSel && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, re = /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === KG ? "" : void 0,+ "data-pic-portrait": C === FW ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, O.jsx)(SG, {+ E.html ? /* @__PURE__ */ (0, O.jsx)(dW, {artwork: E,identity: k,relayout: (e) => tl(e, w)@@ -48666,11 +48509,11 @@ function aK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "check" })}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-group": "",@@ -48685,7 +48528,7 @@ function aK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-duration": "",children: hn(P)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(QG, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(VW, {item: e,actions: s}) : null,@@ -48701,22 +48544,22 @@ function aK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-scrub": "",children: /* @__PURE__ */ (0, O.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, O.jsx)(tK, {}),+ /* @__PURE__ */ (0, O.jsx)(WW, {}),p || g.length ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, O.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "bookmark" })+ children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, O.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "heart" })+ children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, O.jsx)(nK, {+ i ? null : /* @__PURE__ */ (0, O.jsx)(GW, {item: e,actions: s,on: p,@@ -48731,27 +48574,27 @@ function aK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe/* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), iK(u.current, -a);+ e.stopPropagation(), qW(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), iK(u.current, a);+ e.stopPropagation(), qW(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "rotate-cw" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "expand" })+ children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "expand" })})]})@@ -48770,7 +48613,7 @@ function aK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: ne,- onMouseDown: GG,+ onMouseDown: PW,children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48810,15 +48653,15 @@ function aK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-release": "",dateTime: e.release_date,title: e.release_date,- children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "calendar" }), e.release_date]}) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "hard-drive" }), Number(N) > 0 ? _n(Number(N)) : "大小未知"]+ children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "hard-drive" }), Number(N) > 0 ? _n(Number(N)) : "大小未知"]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)(rK, { reason: e.why }) : null : I.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)(KW, { reason: e.why }) : null : I.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {"data-media-tags": "",children: I.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48828,15 +48671,15 @@ function aK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSechildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, O.jsx)(ZG, { item: e })+ /* @__PURE__ */ (0, O.jsx)(BW, { item: e })]})]})]});}-function oK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : YG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function YW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : RW[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, O.jsxs)("article", {ref: o,"data-media-card": "",@@ -48848,14 +48691,14 @@ function oK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpeonClick: (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));},- onMouseDown: GG,+ onMouseDown: PW,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-art": "thumb",@@ -48867,13 +48710,13 @@ function oK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "check" })}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, O.jsx)(QG, {+ n ? null : /* @__PURE__ */ (0, O.jsx)(VW, {item: e,actions: i})@@ -48884,7 +48727,7 @@ function oK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(JG, { name: u })+ children: /* @__PURE__ */ (0, O.jsx)(LW, { name: u })}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-text": "",children: [@@ -48912,29 +48755,29 @@ function oK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe]}),e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, O.jsx)(ZG, { item: e })+ /* @__PURE__ */ (0, O.jsx)(BW, { item: e })]})]})]});}-function sK(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(oK, { ...e }) : /* @__PURE__ */ (0, O.jsx)(aK, { ...e });+function XW(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(YW, { ...e }) : /* @__PURE__ */ (0, O.jsx)(JW, { ...e });}-var cK = (0, D.memo)(sK), lK = 1100, uK = 340, dK = 5e3;-function fK(e, t, n) {+var ZW = (0, D.memo)(XW), QW = 1100, $W = 340, eG = 5e3;+function tG(e, t, n) {return new Promise((r) => {let i = new Image();n && (i.referrerPolicy = n);let a = !1, o = (e) => {a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));- }, s = () => o(!1), c = setTimeout(s, dK);+ }, s = () => o(!1), c = setTimeout(s, eG);t.cancels.add(s), i.onerror = s, i.onload = () => {i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);}, i.src = e;});}-function pK({ load: e, canFlip: t, referrerPolicy: n }) {+function nG({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, D.useState)([]), [a, o] = (0, D.useState)(0), [s, c] = (0, D.useState)(null), l = (0, D.useRef)({live: !1,generation: 0,@@ -48976,11 +48819,11 @@ function pK({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => fK(t, e, n)));+ let s = await Promise.all(a.map((t) => tG(t, e, n)));if (!r() || !u.current.canFlip()) return;let d = a.filter((e, t) => s[t]);d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {- p(), e.cycle = setInterval(p, lK);+ p(), e.cycle = setInterval(p, QW);}));};return (0, D.useEffect)(() => d, [d]), {@@ -48989,7 +48832,7 @@ function pK({ load: e, canFlip: t, referrerPolicy: n }) {leaving: s,onPointerEnter: () => {let e = l.current;- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(uK, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f($W, () => {e.armed = null, m();});},@@ -49000,8 +48843,8 @@ function pK({ load: e, canFlip: t, referrerPolicy: n }) {}//#endregion//#region src/react/components/mix-card.tsx-var mK = nB("play");-function hK({ src: e }) {+var rG = Rz("play");+function iG({ src: e }) {let [t, n] = (0, D.useState)(!1);return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {"data-mix-poster": "",@@ -49014,8 +48857,8 @@ function hK({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var gK = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";-function _K({ faces: e, fallback: t, onOpenEntity: n }) {+var aG = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";+function oG({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, O.jsx)("button", {@@ -49023,18 +48866,18 @@ function _K({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${gK} cursor-pointer outline-none`,+ className: `${aG} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: La(e.name, e, va(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${gK} mt-0.5`,+ className: `${aG} mt-0.5`,children: t});}-function vK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {- let b = pK({+function sG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {+ let b = nG({load: i,canFlip: a}), x = (0, D.useRef)(b.onPointerLeave);@@ -49061,11 +48904,11 @@ function vK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:style: d === void 0 ? void 0 : { "--card-ratio": String(d) },className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",children: [- f?.html ? /* @__PURE__ */ (0, O.jsx)(SG, {+ f?.html ? /* @__PURE__ */ (0, O.jsx)(dW, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, O.jsx)(hK, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, O.jsx)(iG, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -49095,7 +48938,7 @@ function vK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, O.jsxs)("span", {"data-mix-badge": "",className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",- children: [/* @__PURE__ */ (0, O.jsx)(mK, {+ children: [/* @__PURE__ */ (0, O.jsx)(rG, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -49108,8 +48951,8 @@ function vK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, O.jsx)(mK, {})- }) : /* @__PURE__ */ (0, O.jsx)(_K, {+ children: /* @__PURE__ */ (0, O.jsx)(rG, {})+ }) : /* @__PURE__ */ (0, O.jsx)(oG, {faces: o,fallback: xn(e),onOpenEntity: s@@ -49133,7 +48976,7 @@ function vK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:}//#endregion//#region src/react/video-wall/folia/blockReflows.ts-var yK = [+var cG = [[[{@@ -52694,7 +52537,7 @@ var yK = [}]]-], bK = [+], lG = [[{x: 0,@@ -52991,89 +52834,89 @@ var yK = [rows: 2}]-], xK = (e) => e.map((e) => ({+], uG = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), SK = (e) => e.map((e) => ({+})), dG = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), CK = [+})), fG = [(e) => e,- xK,- SK,- (e) => xK(SK(e))-], wK = bK.flatMap((e) => CK.map((t) => t(e))), TK = yK.flatMap((e) => CK.map((t) => e.map(t)));-wK.length;-var EK = (e, t) => {+ uG,+ dG,+ (e) => uG(dG(e))+], pG = lG.flatMap((e) => fG.map((t) => t(e))), mG = cG.flatMap((e) => fG.map((t) => e.map(t)));+pG.length;+var hG = (e, t) => {let n = Math.imul(e, 2654435761) ^ Math.imul(t, 2246822507);return n = Math.imul(n ^ n >>> 15, 739982445), n ^= n >>> 12, n >>> 0;-}, DK = (e, t) => {- let n = bK.length;- return ((e + t * 2) % n + n) % n * CK.length + EK(e, t) % CK.length;-}, OK = (e, t) => wK[DK(e, t)], kK = (e, t, n) => n < 0 || n >= 12 ? null : TK[DK(e, t)][n], AK = 103.36, jK = 6.08, MK = 12 * AK, NK = 8 * AK, PK = 12, FK = (e, t) => (e % t + t) % t, IK = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;-function LK(e, t) {- let n = Math.max(1, Math.ceil(e / PK)), r = t ? 3 : Math.min(3, n);+}, gG = (e, t) => {+ let n = lG.length;+ return ((e + t * 2) % n + n) % n * fG.length + hG(e, t) % fG.length;+}, _G = (e, t) => pG[gG(e, t)], vG = (e, t, n) => n < 0 || n >= 12 ? null : mG[gG(e, t)][n], yG = 103.36, bG = 6.08, xG = 12 * yG, SG = 8 * yG, CG = 12, wG = (e, t) => (e % t + t) % t, TG = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;+function EG(e, t) {+ let n = Math.max(1, Math.ceil(e / CG)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * MK,- height: Math.ceil(n / r) * NK+ width: r * xG,+ height: Math.ceil(n / r) * SG};}-function RK(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = OK(e, t)[n];+function DG(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = _G(e, t)[n];return {- x: e * MK + r * AK,- y: t * NK + i * AK,- width: a * AK - jK,- height: o * AK - jK+ x: e * xG + r * yG,+ y: t * SG + i * yG,+ width: a * yG - bG,+ height: o * yG - bG};}-function zK(e) {+function OG(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function BK(e, t, n) {+function kG(e, t, n) {if (!e) return null;let [r, i, a] = n.split(":").map(Number);if (![r,i,a- ].every(Number.isInteger) || a < 0 || a >= PK) return null;- let o = LK(e, t), s = o.height / NK;+ ].every(Number.isInteger) || a < 0 || a >= CG) return null;+ let o = EG(e, t), s = o.height / SG;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : FK(r, o.columns), l = ((t ? i : FK(i, s)) * o.columns + c) * PK + a;+ let c = t ? r : wG(r, o.columns), l = ((t ? i : wG(i, s)) * o.columns + c) * CG + a;return t && l >= e ? null : {- ...RK(r, i, a),+ ...DG(r, i, a),index: l % e,key: n};}-function VK(e, t) {+function AG(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / PK);- return BK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % PK}`);+ let n = Math.floor(t / CG);+ return kG(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % CG}`);}-function HK(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = kK(r, i, a);+function jG(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = vG(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * MK + e.x * AK,- y: i * NK + e.y * AK,- width: e.cols * AK - jK,- height: e.rows * AK - jK+ x: r * xG + e.x * yG,+ y: i * SG + e.y * yG,+ width: e.cols * yG - bG,+ height: e.rows * yG - bG}]));}-function UK(e) {+function MG(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / PK), i = RK(e % 3, Math.floor(e / 3), r % PK);+ let e = Math.floor(r / CG), i = DG(e % 3, Math.floor(e / 3), r % CG);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * MK - jK : t,+ width: e >= 36 ? 3 * xG - bG : t,height: n};}-function WK(e, t, n, r) {+function NG(e, t, n, r) {if (!r) return e;let i = (t, n, r) => Math.min(16, Math.max(Math.min(16, r - n * e.scale - 16), t));return {@@ -53082,22 +52925,22 @@ function WK(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function GK(e, t, n, r) {+function PG(e, t, n, r) {if (!e || !r.width || !r.height) return [];let i = 180 / n.scale, a = {x: -n.x / n.scale - i,y: -n.y / n.scale - i,width: r.width / n.scale + i * 2,height: r.height / n.scale + i * 2- }, o = LK(e, t), s = o.height / NK, c = [];- for (let n = Math.floor(a.y / NK); n <= Math.floor((a.y + a.height) / NK); n += 1) for (let r = Math.floor(a.x / MK); r <= Math.floor((a.x + a.width) / MK); r += 1) {+ }, o = EG(e, t), s = o.height / SG, c = [];+ for (let n = Math.floor(a.y / SG); n <= Math.floor((a.y + a.height) / SG); n += 1) for (let r = Math.floor(a.x / xG); r <= Math.floor((a.x + a.width) / xG); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : FK(r, o.columns), l = t ? n : FK(n, s);- for (let s = 0; s < PK; s += 1) {- let u = (l * o.columns + i) * PK + s;+ let i = t ? r : wG(r, o.columns), l = t ? n : wG(n, s);+ for (let s = 0; s < CG; s += 1) {+ let u = (l * o.columns + i) * CG + s;if (t && u >= e) continue;- let d = RK(r, n, s);- IK(d, a) && c.push({+ let d = DG(r, n, s);+ TG(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -53106,7 +52949,7 @@ function GK(e, t, n, r) {}return c;}-var KK = class {+var FG = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -53118,7 +52961,7 @@ var KK = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : BK(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : kG(t, !1, e);return r ? {...r,index: n@@ -53148,7 +52991,7 @@ var KK = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * MK,+ x: (e + 2) * xG,y: 0};}@@ -53161,10 +53004,10 @@ var KK = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / MK)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / xG)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, qK = [+}, IG = ["q","performer","series",@@ -53179,17 +53022,17 @@ var KK = class {"dur_max","region"];-function JK(e = {}) {- return qK.some((t) => !!e[t]);+function LG(e = {}) {+ return IG.some((t) => !!e[t]);}//#endregion//#region src/react/video-wall/use-wall-camera.ts-var YK = {+var RG = {x: 16,y: 16,scale: 1};-function XK(e, t, n = YK, r = !1) {+function zG(e, t, n = RG, r = !1) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)({width: 0,height: 0@@ -53209,7 +53052,7 @@ function XK(e, t, n = YK, r = !1) {let f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, D.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = WK(e, o.current, UK(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = NG(e, o.current, MG(r), c && !f && !n);s.current = p;let m = window.devicePixelRatio || 1;a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));@@ -53280,7 +53123,7 @@ function XK(e, t, n = YK, r = !1) {x: o.current.width / 2 - (e.x + e.width / 2) * i,y: o.current.height / 2 - (e.y + e.height / 2) * i};- !t || v() ? _(a, !0, n) : p.current = Hne(0, 1, {+ !t || v() ? _(a, !0, n) : p.current = Lne(0, 1, {duration: .42,ease: [.22,@@ -53309,7 +53152,7 @@ function XK(e, t, n = YK, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...YK }, !0);+ g(), _({ ...RG }, !0);},pan: (e, t) => {g(), _({@@ -53371,17 +53214,17 @@ function XK(e, t, n = YK, r = !1) {}//#endregion//#region src/react/video-wall/wall-motion.ts-var ZK = {+var BG = {type: "spring",stiffness: 300,damping: 34-}, QK = {+}, VG = {delay: .14,duration: .24};//#endregion//#region src/react/video-wall/use-wall-playback.ts-function $K(e, t, n) {+function HG(e, t, n) {let [r, i] = (0, D.useState)({paused: !0,time: 0,@@ -53423,15 +53266,15 @@ function $K(e, t, n) {}//#endregion//#region src/react/video-wall/wall-controls.tsx-function eq({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {- let b = xy(), x = $K(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function UG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {+ let b = Ay(), x = HG(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {if (!(C || a && !s)) try {t === e.id ? await x.toggle() : await f();} catch (e) {y(Ut(e));}};- return /* @__PURE__ */ (0, O.jsxs)(Py.div, {+ return /* @__PURE__ */ (0, O.jsxs)(Ry.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -53441,7 +53284,7 @@ function eq({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groupopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : QK,+ transition: b ? { duration: 0 } : VG,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-control-row": "",children: [@@ -53449,7 +53292,7 @@ function eq({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouptype: "button","data-wall-play": "","data-wall-pause": w ? void 0 : "",- ...iB(C),+ ...Bz(C),"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),@@ -53499,7 +53342,7 @@ function eq({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",- ...iB(d),+ ...Bz(d),"aria-label": u ? "移出稍后看" : "稍后看",title: "稍后看","aria-pressed": u,@@ -53546,7 +53389,7 @@ function eq({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}//#endregion//#region src/react/components/mix-queue.tsx-function tq({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function WG({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, D.useRef)(null), l = (0, D.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -53582,7 +53425,7 @@ function tq({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function nq({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function GG({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-item-text": "",children: a@@ -53605,7 +53448,7 @@ function nq({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var rq = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {+var KG = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -53615,28 +53458,28 @@ var rq = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {});//#endregion//#region src/react/video-wall/wall-queue.tsx-function iq({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function qG({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, O.jsx)(tq, {+ children: /* @__PURE__ */ (0, O.jsx)(WG, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(nq, {+ children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(GG, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? VM(e.part_label) : "",+ e.part_label ? oN(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, O.jsx)(SG, { artwork: Ga(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, O.jsx)(dW, { artwork: Ga(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, O.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, O.jsx)("span", { children: [e.edition_label,- e.part_label ? VM(e.part_label) : "",+ e.part_label ? oN(e.part_label) : "",hn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -53645,7 +53488,7 @@ function iq({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {}//#endregion//#region src/react/video-wall/wall-route.ts-function aq(e = `${location.pathname}${location.search}`, t = {}) {+function JG(e = `${location.pathname}${location.search}`, t = {}) {let n = new URL(e, location.origin), [r, ...i] = n.pathname.split("/").filter(Boolean), a = {performers: "performer",creators: "creator",@@ -53660,18 +53503,18 @@ function aq(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function oq(e = `${location.pathname}${location.search}`) {+function YG(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of qK) t.delete(e);+ for (let e of IG) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function sq() {- let e = new URLSearchParams(pH.navigation.location.search).get("returnTo") || "/";- pH.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function XG() {+ let e = new URLSearchParams(YV.navigation.location.search).get("returnTo") || "/";+ YV.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}//#endregion//#region src/react/video-wall/video-wall.tsx-var cq = /* @__PURE__ */ new Map(), lq = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var ZG = /* @__PURE__ */ new Map(), QG = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = Ga(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -53684,7 +53527,7 @@ var cq = /* @__PURE__ */ new Map(), lq = (0, D.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, O.jsx)(SG, {+ children: /* @__PURE__ */ (0, O.jsx)(dW, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && Vc(e, r);@@ -53692,31 +53535,31 @@ var cq = /* @__PURE__ */ new Map(), lq = (0, D.memo)(function({ item: e, image:})});});-function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {+function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {let p = String(e[0]?.id), [m] = (0, D.useState)(() => {- let e = cq.get(f);+ let e = ZG.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, D.useState)(() => m?.exploration || new KK()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, N] = (0, D.useState)(!1), P = w?.edition_group ? {+ }), [h] = (0, D.useState)(() => m?.exploration || new FG()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, N] = (0, D.useState)(!1), P = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id} : null, ee = St({- queryKey: xM(P || {+ queryKey: BM(P || {kind: "parts",seedId: 0}),enabled: !!P,- queryFn: ({ signal: e }) => AM(P, {+ queryFn: ({ signal: e }) => YM(P, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === NM(F, A || w?.id || null)) || w, I = XK(e.length, t && !!e.length, m?.camera || {+ }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === QM(F, A || w?.id || null)) || w, I = zG(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), ne = xy(), [re, ie] = (0, D.useState)(!!m);+ }, !!w), ne = Ay(), [re, ie] = (0, D.useState)(!!m);(0, D.useEffect)(() => {if (!e.length || re || ne) return;let t = setTimeout(() => ie(!0), 1100);@@ -53733,7 +53576,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:(0, D.useLayoutEffect)(() => {document.body.append(Se), I.viewport.current?.focus({ preventScroll: !0 });}, [Se]), (0, D.useEffect)(() => () => Se.remove(), [Se]);- let [Ce, we] = (0, D.useState)(() => PV(pH.navigation.location.pathname)), [Te, Ee] = (0, D.useState)(m?.image || d), De = (0, D.useRef)(null), Oe = (0, D.useRef)(p), ke = (0, D.useRef)(!!e.length);+ let [Ce, we] = (0, D.useState)(() => gV(YV.navigation.location.pathname)), [Te, Ee] = (0, D.useState)(m?.image || d), De = (0, D.useRef)(null), Oe = (0, D.useRef)(p), ke = (0, D.useRef)(!!e.length);ke.current = !!e.length;let Ae = (0, D.useRef)({selectedId: w?.id || null,@@ -53750,17 +53593,17 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let je = () => {- ke.current && (cq.delete(f), cq.set(f, {+ ke.current && (ZG.delete(f), ZG.set(f, {...Ae.current,camera: I.snapshot(),exploration: h- }), cq.size > 8 && cq.delete(cq.keys().next().value));+ }), ZG.size > 8 && ZG.delete(ZG.keys().next().value));};(0, D.useLayoutEffect)(je);- let Me = GK(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({+ let Me = PG(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({...e,index: -1- })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? BK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? HK(e.length, t, Pe) : /* @__PURE__ */ new Map();+ })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? kG(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? jG(e.length, t, Pe) : /* @__PURE__ */ new Map();Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);let Ie = (e = !1) => {C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);@@ -53777,8 +53620,8 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t,p,i- ]), (0, D.useEffect)(() => pH.listen((e) => {- let t = PV(e.location.pathname);+ ]), (0, D.useEffect)(() => YV.listen((e) => {+ let t = gV(e.location.pathname);t && (C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1)), we(t);}), []), (0, D.useEffect)(() => () => {C.current?.abort(), S.current?.(!0), je();@@ -53799,7 +53642,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:w?.id !== n.id && Ie(!1), De.current = {key: r.key,id: n.id- }, pe(""), le(null), T(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(HK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, pe(""), le(null), T(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(jG(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));}, ze = () => {te && y.current && (je(), Ie(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));}, Be = async (e = te) => {@@ -53821,7 +53664,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && de(!1);}}, Ve = () => {- let e = PM(F || null, oe || 0);+ let e = $M(F || null, oe || 0);e && (j(e.id), Be(e));};(0, D.useEffect)(() => {@@ -53843,7 +53686,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = I.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (I.view.size.width / 2 - r.x) / r.scale,y: (I.view.size.height / 2 - r.y) / r.scale- }, o = t ? VK(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? AG(e.length, i) : h.nearest(e.length, i, a);o && (Re(n, o), le(n.id));}, Ge = async () => {if (!(r || g.current)) {@@ -53935,7 +53778,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, O.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(lq, {+ children: /* @__PURE__ */ (0, O.jsx)(QG, {item: w,image: Te,big: !0@@ -53943,7 +53786,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, O.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, O.jsx)(lq, {+ children: /* @__PURE__ */ (0, O.jsx)(QG, {item: w,image: Te,big: !0@@ -53972,7 +53815,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Xe.code ? /* @__PURE__ */ (0, O.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,/* @__PURE__ */ (0, O.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),- F ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? VM(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ F ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? oN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -53989,17 +53832,17 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),fe || P && ee.error && !F ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-play-error": "",- children: [/* @__PURE__ */ (0, O.jsx)($z, {+ children: [/* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: fe || Ut(ee.error)- }), ee.error && !F ? /* @__PURE__ */ (0, O.jsx)(q, {+ }), ee.error && !F ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "ghost",onClick: () => void ee.refetch(),children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, O.jsx)(eq, {+ /* @__PURE__ */ (0, O.jsx)(UG, {item: Xe,playing: oe,frame: b,@@ -54021,7 +53864,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Ve,error: pe}),- M ? /* @__PURE__ */ (0, O.jsx)(iq, {+ M ? /* @__PURE__ */ (0, O.jsx)(qG, {items: He,activeId: Xe.id,kind: F?.kind || "wall",@@ -54037,7 +53880,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-refreshing": _ !== null || void 0,hidden: Ce,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Le() : be ? xe(!1) : sq());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Le() : be ? xe(!1) : XG());},children: [/* @__PURE__ */ (0, O.jsx)("button", {@@ -54045,7 +53888,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: sq,+ onClick: XG,children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -54060,10 +53903,10 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-info" })- }), /* @__PURE__ */ (0, O.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "ghost",- onClick: () => pH.push(oq()),+ onClick: () => YV.push(YG()),children: "清除筛选"})]}) : null,@@ -54075,7 +53918,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:onSubmit: (e) => {e.preventDefault();let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();- n ? t.set("q", n) : t.delete("q"), je(), pH.push(`/wall?${t}`), xe(!1);+ n ? t.set("q", n) : t.delete("q"), je(), YV.push(`/wall?${t}`), xe(!1);},children: [/* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",@@ -54089,39 +53932,39 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, O.jsxs)(fW, {+ /* @__PURE__ */ (0, O.jsxs)(vU, {"aria-label": "播放墙图片",value: Te,onChange: Ee,- className: pW,- children: [/* @__PURE__ */ (0, O.jsx)(HR, {+ className: yU,+ children: [/* @__PURE__ */ (0, O.jsx)(wR, {value: "cover",- className: mW,+ className: bU,children: "封面"- }), /* @__PURE__ */ (0, O.jsx)(HR, {+ }), /* @__PURE__ */ (0, O.jsx)(wR, {value: "thumbnail",- className: mW,+ className: bU,children: "缩略图"})]}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-tools": "",children: [- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "ghost","aria-label": "缩小播放墙",onClick: () => I.zoom(1 / 1.2),children: "缩小"}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "ghost","aria-label": "放大播放墙",onClick: () => I.zoom(1.2),children: "放大"}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "ghost",onClick: I.reset,@@ -54172,7 +54015,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}}, t.key);let n = e[t.index], r = !!w && t.key === E, i = Fe.get(t.key) || t, a = !re && !r, o = a ? Math.min(.34, (Math.max(0, t.x + I.view.camera.x / I.view.camera.scale) + Math.max(0, t.y + I.view.camera.y / I.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, O.jsx)(Py.article, {+ return /* @__PURE__ */ (0, O.jsx)(Ry.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -54193,7 +54036,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: ae && !ne && !r && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: ne ? { duration: 0 } : {- layout: ZK,+ layout: BG,transform: a ? {type: "spring",stiffness: 360,@@ -54226,7 +54069,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));},children: r ? Ze : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(lq, {+ /* @__PURE__ */ (0, O.jsx)(QG, {item: n,image: Te,ratio: i.width / i.height@@ -54252,7 +54095,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, O.jsx)(Py.span, {+ /* @__PURE__ */ (0, O.jsx)(Ry.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: ne ? 0 : .24 }@@ -54264,10 +54107,10 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!i && a ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, O.jsx)($z, {+ children: [/* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: a- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "ghost",onClick: o,@@ -54291,30 +54134,30 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, O.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, O.jsx)(rG, {+ children: /* @__PURE__ */ (0, O.jsx)(qU, {busy: r,onPress: () => void qe()})}) : null,n && t && e.length > 0 ? /* @__PURE__ */ (0, O.jsx)("div", {"data-wall-footer": "",- children: /* @__PURE__ */ (0, O.jsxs)(q, {+ children: /* @__PURE__ */ (0, O.jsxs)(J, {size: "small",variant: "secondary",- ...iB(r),+ ...Bz(r),onClick: () => void Ge(),children: [r ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns() } }) : null, "载入更多"]})}) : null,me ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, O.jsx)($z, {+ children: [/* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: me- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "ghost",- ...iB(r),+ ...Bz(r),onClick: () => void Ge(),children: "立即重试"})]@@ -54338,7 +54181,7 @@ function uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}//#endregion//#region src/catalog-onboarding.ts-var dq = [+var eK = ["loc","creator","performer",@@ -54356,19 +54199,19 @@ var dq = ["jav","thumb"];-function fq(e = typeof location > "u" ? "/" : location.href) {+function tK(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...dq,+ ...eK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function pq(e, t) {+async function nK(e, t) {let n = new URLSearchParams();- for (let t of dq) e[t] && n.set(t, e[t]);+ for (let t of eK) e[t] && n.set(t, e[t]);let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([...r.creators || [],...r.tagperformers || [],@@ -54379,9 +54222,9 @@ async function pq(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function mq({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function rK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";- if (t || n) return os("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? B(fq()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return os("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? B(tK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -54400,17 +54243,17 @@ function mq({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:}//#endregion//#region src/react/video-wall/wall-empty.ts-function hq({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || mq() : t ? os("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : os("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${oq()}">清除筛选</a>` });+function iK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || rK() : t ? os("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : os("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${YG()}">清除筛选</a>` });}//#endregion//#region src/react/library-processing/processing-actions.tsx-function gq({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function aK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, D.useState)(t), [s, c] = (0, D.useState)(), [l, u] = (0, D.useState)("");return (0, D.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await Cme(e, t.signal, a);+ let o = await Bme(e, t.signal, a);if (!o.traffic) throw Error("服务端未提供流量预估");if (t.signal.aborted) return;c(o.traffic), n.confirmButton.disabled = !1, o.traffic.inventory?.token && (r = setTimeout(() => {@@ -54428,7 +54271,7 @@ function gq({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, O.jsx)(qH, {+ children: /* @__PURE__ */ (0, O.jsx)(kH, {value: a,busy: i,onChange: (e) => {@@ -54436,7 +54279,7 @@ function gq({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, O.jsx)(GU, {+ s ? /* @__PURE__ */ (0, O.jsx)(eU, {traffic: s,initial: !0}) : null,@@ -54448,7 +54291,7 @@ function gq({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function _q({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {+function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {let a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(r);(0, D.useEffect)(() => () => o.current?.close(), []);let [u, d] = (0, D.useState)(!1), f = {@@ -54506,7 +54349,7 @@ function _q({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand});};return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(gq, {+ s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(aK, {command: s.command,dialog: s.dialog,speed: r,@@ -54515,11 +54358,11 @@ function _q({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standl.current = e;}}), s.host) : null,- s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(zH, {+ s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(xH, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: Oz,+ trailingIcon: uz,disabled: e,onClick: (e) => {s.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : s.dialog.close();@@ -54530,31 +54373,31 @@ function _q({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand"data-button-group": !0,"data-split-button": !0,"data-variant": "primary",- children: [/* @__PURE__ */ (0, O.jsx)(q, {- ...iB(e),+ children: [/* @__PURE__ */ (0, O.jsx)(J, {+ ...Bz(e),onClick: () => m(f.command),children: f.label- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {ref: a,iconOnly: !0,- leadingIcon: Dz,+ leadingIcon: lz,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": u,- ...iB(e),+ ...Bz(e),onClick: () => {e || d(!u);}})]}),- /* @__PURE__ */ (0, O.jsx)(xR, {+ /* @__PURE__ */ (0, O.jsx)(rR, {triggerRef: a,isOpen: u,onOpenChange: d,placement: "bottom end",offset: 4,- className: mV,- children: /* @__PURE__ */ (0, O.jsx)(VH, {+ className: XB,+ children: /* @__PURE__ */ (0, O.jsx)(CH, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",children: p.map(({ label: e, description: t, command: r }) => {@@ -54563,7 +54406,7 @@ function _q({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standtype: "button",disabled: i,title: i ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: GF(hV, gV, "text-body-2-medium"),+ className: eF(ZB, QB, "text-body-2-medium"),onClick: () => m(r),children: /* @__PURE__ */ (0, O.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -54580,48 +54423,48 @@ function _q({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}//#endregion//#region src/react/library-processing/library-completion.tsx-function vq(e, t) {+function sK(e, t) {return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !Ga(e, "small", !1, t).html).map((e) => e.id))];}-function yq({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, O.jsx)(bq, {+function cK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, O.jsx)(lK, {assetIds: e,onComplete: t,className: n}) : null;}-function bq({ assetIds: e, onComplete: t, className: n }) {+function lK({ assetIds: e, onComplete: t, className: n }) {let r = St({- queryKey: OH,- queryFn: ({ signal: e }) => jH(e),- refetchInterval: (e) => PH(e.state.data, !0)+ queryKey: uH,+ queryFn: ({ signal: e }) => pH(e),+ refetchInterval: (e) => gH(e.state.data, !0)}), [i, a] = (0, D.useState)(null), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(null), l = Ct({- mutationFn: (t) => H(DH, {+ mutationFn: (t) => H(lH, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), U.setQueryData(OH, e), U.invalidateQueries({ queryKey: OH });+ a(e.job_id || null), U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });}}), u = r.data;if ((0, D.useEffect)(() => {- u && i && u.job_id === i && !kH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), U.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());+ u && i && u.job_id === i && !dH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), U.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t- ]), kH(u)) return null;- let d = l.isPending || kH(u), f = l.error ? An(l.error) : r.error ? NH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);+ ]), dH(u)) return null;+ let d = l.isPending || dH(u), f = l.error ? An(l.error) : r.error ? hH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);return /* @__PURE__ */ (0, O.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",- className: GF("@container", n),- children: /* @__PURE__ */ (0, O.jsxs)($z, {+ className: eF("@container", n),+ children: /* @__PURE__ */ (0, O.jsxs)(Fz, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, O.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, O.jsx)(_q, {+ children: /* @__PURE__ */ (0, O.jsx)(oK, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -54632,10 +54475,10 @@ function bq({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, O.jsx)(zH, {+ /* @__PURE__ */ (0, O.jsx)(xH, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: Oz,+ trailingIcon: uz,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -54644,32 +54487,32 @@ function bq({ assetIds: e, onComplete: t, className: n }) {}//#endregion//#region node_modules/@tanstack/react-table/dist/FlexRender.js-function xq(e) {- return Sq(e) || typeof e == "function" || Cq(e);+function uK(e) {+ return dK(e) || typeof e == "function" || fK(e);}-function Sq(e) {+function dK(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function Cq(e) {+function fK(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function wq(e, t) {- return e == null ? null : xq(e) ? /* @__PURE__ */ D.createElement(e, t) : e;+function pK(e, t) {+ return e == null ? null : uK(e) ? /* @__PURE__ */ D.createElement(e, t) : e;}-function Tq(e) {+function mK(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? wq(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : wq(n.cell, t.getContext());+ return r.getIsAggregated?.() ? pK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : pK(n.cell, t.getContext());}- return "header" in e && e.header ? wq(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? wq(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? pK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? pK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}//#endregion//#region node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function Eq({ update: e, notify: t, unwatched: n }) {+function hK({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -54787,7 +54630,7 @@ function Eq({ update: e, notify: t, unwatched: n }) {}//#endregion//#region node_modules/@tanstack/store/dist/atom.js-function Dq(e, t, n) {+function gK(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -54795,38 +54638,38 @@ function Dq(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var Oq = [], kq = 0, { link: Aq, unlink: jq, propagate: Mq, checkDirty: Nq, shallowPropagate: Pq } = /* @__PURE__ */ Eq({+var _K = [], vK = 0, { link: yK, unlink: bK, propagate: xK, checkDirty: SK, shallowPropagate: CK } = /* @__PURE__ */ hK({update(e) {return e._update();},notify(e) {- Oq[Iq++] = e, e.flags &= -3;+ _K[TK++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, Bq(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, kK(e));}-}), Fq = 0, Iq = 0, Lq, Rq = 0;-function zq(e) {+}), wK = 0, TK = 0, EK, DK = 0;+function OK(e) {try {- ++Rq, e();+ ++DK, e();} finally {- --Rq || Vq();+ --DK || AK();}}-function Bq(e) {+function kK(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = jq(n, e);+ for (; n !== void 0;) n = bK(n, e);}-function Vq() {- if (!(Rq > 0)) {- for (; Fq < Iq;) {- let e = Oq[Fq];- Oq[Fq++] = void 0, e.notify();+function AK() {+ if (!(DK > 0)) {+ for (; wK < TK;) {+ let e = _K[wK];+ _K[wK++] = void 0, e.notify();}- Fq = 0, Iq = 0;+ wK = 0, TK = 0;}}-function Hq(e, t) {+function jK(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -54835,53 +54678,53 @@ function Hq(e, t) {depsTail: void 0,flags: +!n,get() {- return Lq !== void 0 && Aq(i, Lq, kq), i._snapshot;+ return EK !== void 0 && yK(i, EK, vK), i._snapshot;},subscribe(e) {- let t = Dq(e), n = { current: !1 }, r = Uq(() => {- i.get(), n.current ? (Lq = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = gK(e), n = { current: !1 }, r = MK(() => {+ i.get(), n.current ? (EK = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = Lq, o = t?.compare ?? Object.is;- if (n) Lq = i, ++kq, i.depsTail = void 0;+ let a = EK, o = t?.compare ?? Object.is;+ if (n) EK = i, ++vK, i.depsTail = void 0;else if (e === void 0) return !1;n && (i.flags = 5);try {let t = i._snapshot, a = typeof e == "function" ? e(t) : e === void 0 && n ? r(t) : e;return t === void 0 || !o(t, a) ? (i._snapshot = a, !0) : !1;} finally {- Lq = a, n && (i.flags &= -5), Bq(i);+ EK = a, n && (i.flags &= -5), kK(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && Nq(i.deps, i)) {+ if (e & 16 || e & 32 && SK(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && Pq(e);+ e !== void 0 && CK(e);}} else e & 32 && (i.flags = e & -33);- return Lq !== void 0 && Aq(i, Lq, kq), i._snapshot;+ return EK !== void 0 && yK(i, EK, vK), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (Mq(e), Pq(e), Vq());+ e !== void 0 && (xK(e), CK(e), AK());}}, i;}-function Uq(e) {+function MK(e) {let t = () => {- let t = Lq;- Lq = n, ++kq, n.depsTail = void 0, n.flags = 6;+ let t = EK;+ EK = n, ++vK, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- Lq = t, n.flags &= -5, Bq(n);+ EK = t, n.flags &= -5, kK(n);}}, n = {deps: void 0,@@ -54891,17 +54734,17 @@ function Uq(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && Nq(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && SK(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, Bq(this);+ this.flags = 0, this.depsTail = void 0, kK(this);}};return t(), n;}//#endregion//#region node_modules/@tanstack/store/dist/shallow.js-function Wq(e, t) {+function NK(e, t) {if (Object.is(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;if (e instanceof Map && t instanceof Map) {@@ -54915,18 +54758,18 @@ function Wq(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = Gq(e);- if (n.length !== Gq(t).length) return !1;+ let n = PK(e);+ if (n.length !== PK(t).length) return !1;for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Object.is(e[n[r]], t[n[r]])) return !1;return !0;}-function Gq(e) {+function PK(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var Kq = /* @__PURE__ */ o(((e) => {- var t = v(), n = Tx();+var FK = /* @__PURE__ */ o(((e) => {+ var t = v(), n = Bx();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -54970,28 +54813,28 @@ var Kq = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), qq = /* @__PURE__ */ o(((e, t) => {- t.exports = Kq();-})), Jq = qq();-function Yq(e, t) {+})), IK = /* @__PURE__ */ o(((e, t) => {+ t.exports = FK();+})), LK = IK();+function RK(e, t) {return e === t;}-function Xq(e, t = (e) => e, n) {- let r = n?.compare ?? Yq, i = (0, D.useCallback)((t) => {+function zK(e, t = (e) => e, n) {+ let r = n?.compare ?? RK, i = (0, D.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, D.useCallback)(() => e.get(), [e]);- return (0, Jq.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, LK.useSyncExternalStoreWithSelector)(i, a, a, t, r);}//#endregion//#region node_modules/@tanstack/react-table/dist/Subscribe.js-function Zq(e) {- let t = Xq(e.source, e.selector, { compare: Wq });+function BK(e) {+ let t = zK(e.source, e.selector, { compare: NK });return typeof e.children == "function" ? e.children(t) : e.children;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function Qq(e) {+function VK(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();@@ -54999,7 +54842,7 @@ function Qq(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function $q(e) {+function HK(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -55029,7 +54872,7 @@ function $q(e) {}};}-function eJ(e, t = Object.is) {+function UK(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -55043,29 +54886,29 @@ function eJ(e, t = Object.is) {}//#endregion//#region node_modules/@tanstack/react-table/dist/reactivity.js-function tJ() {- return $q({- createAtom: Hq,- batch: zq+function WK() {+ return HK({+ createAtom: jK,+ batch: OK});}//#endregion//#region node_modules/@tanstack/table-core/dist/utils.js-function nJ(e, t) {+function GK(e, t) {return typeof e == "function" ? e(t) : e;}-function rJ(e) {- if (Array.isArray(e)) return e.map(rJ);+function KK(e) {+ if (Array.isArray(e)) return e.map(KK);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? aJ() : {}, r = Object.keys(e);+ let n = t === null ? JK() : {}, r = Object.keys(e);for (let t = 0; t < r.length; t++) {let i = r[t];Object.defineProperty(n, i, {configurable: !0,enumerable: !0,- value: rJ(e[i]),+ value: KK(e[i]),writable: !0});}@@ -55073,7 +54916,7 @@ function rJ(e) {}return e;}-function iJ(e, t) {+function qK(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -55081,53 +54924,53 @@ function iJ(e, t) {}return e;}-function aJ() {+function JK() {return Object.create(null);}-function oJ(e, t) {+function YK(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function sJ(e, t) {+function XK(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => nJ(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => GK(n, e));};}-function cJ(e) {+function ZK(e) {if (typeof e != "object" || !e) return !1;if (Array.isArray(e)) return !0;let t = Object.getPrototypeOf(e);return t === Object.prototype || t === null;}-function lJ(e) {+function QK(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var uJ = 3;-function dJ(e, t) {- return fJ(e, t, uJ);+var $K = 3;+function eq(e, t) {+ return tq(e, t, $K);}-function fJ(e, t, n) {+function tq(e, t, n) {if (Object.is(e, t)) return !0;- if (n <= 0 || !cJ(e) || !cJ(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;- let r = lJ(e), i = lJ(t);+ if (n <= 0 || !ZK(e) || !ZK(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = QK(e), i = QK(t);if (r.length !== i.length) return !1;let a = e, o = t;for (let e = 0; e < r.length; e++) {let i = r[e];- if (!Object.prototype.propertyIsEnumerable.call(t, i) || !fJ(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !tq(a[i], o[i], n - 1)) return !1;}return !0;}-function pJ(e, t, n, r = dJ) {+function nq(e, t, n, r = eq) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = nJ(n, e);+ let t = GK(n, e);return r(e, t) ? e : t;});}-function Jhe(e) {+function rq(e) {return e instanceof Function;}-function Yhe(e, t) {+function iq(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -55137,7 +54980,7 @@ function Yhe(e, t) {};return r(e), n;}-var Xhe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var aq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -55151,23 +54994,23 @@ var Xhe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCoreturn n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;};};-function mJ(e) {+function oq(e) {let t = !1;return () => {t ? e() : t = !0;};}-function hJ({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function sq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {let o = { onAfterUpdate: r ? () => {let { schedule: e, untrack: t } = i._reactivity;e(() => t(() => r()));} : void 0 };- return Xhe({+ return aq({...a,...o});}-function gJ(e, t = "_") {+function cq(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -55175,10 +55018,10 @@ function gJ(e, t = "_") {parentName: n};}-function _J(e, t, n) {+function lq(e, t, n) {for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {- let { fnKey: n, fnName: o } = gJ(r);- t[n] = a ? hJ({+ let { fnKey: n, fnName: o } = cq(r);+ t[n] = a ? sq({memoDeps: a,fn: i,fnName: o,@@ -55187,15 +55030,15 @@ function _J(e, t, n) {}) : i;}}-function vJ(e, t, n, r) {+function uq(e, t, n, r) {for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {- let { fnKey: r, fnName: s } = gJ(i);+ let { fnKey: r, fnName: s } = cq(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = hJ({+ this[i] = sq({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -55211,18 +55054,18 @@ function vJ(e, t, n, r) {};}}-function yJ(e, t, n, ...r) {+function dq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function Zhe(e) {+function fq(e) {return e.row.getValue(e.column.id);}-function Qhe(e) {+function pq(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function $he(e) {+function mq(e) {return {table: e.table,column: e.column,@@ -55234,19 +55077,19 @@ function $he(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var ege = { assignCellPrototype: (e, t) => {- vJ("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => Zhe(e) },- cell_renderValue: { fn: (e) => Qhe(e) },+var hq = { assignCellPrototype: (e, t) => {+ uq("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => fq(e) },+ cell_renderValue: { fn: (e) => pq(e) },cell_getContext: {- fn: (e) => $he(e),+ fn: (e) => mq(e),memoDeps: (e) => [e]}});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function tge(e) {+function gq(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -55254,7 +55097,7 @@ function tge(e) {}return e._columnPrototype;}-function nge(e, t, n, r) {+function _q(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -55274,7 +55117,7 @@ function nge(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = tge(e), u = Object.create(l);+ let l = gq(e), u = Object.create(l);u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;let d = e._columnInstanceInitFns;for (let e = 0; e < d.length; e++) d[e](u);@@ -55282,47 +55125,47 @@ function nge(e, t, n, r) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/featureStubs.js-function bJ(e) {+function vq(e) {return e.getIsVisible?.() ?? !0;}-function rge(e) {+function yq(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function xJ(e, t) {+function bq(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function SJ(e, t, n, r) {+function xq(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function CJ(e, t) {+function Sq(e, t) {return e._expandRows?.(t) ?? t;}-function ige(e) {+function Cq(e) {e.autoResetExpanded?.();}-function wJ(e) {+function wq(e) {e.autoResetPageIndex?.();}-function age(e) {+function Tq(e) {e.autoResetSorting?.();}-function oge(e) {+function Eq(e) {e.autoResetCellSelection?.();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function sge(e) {+function Dq(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function cge(e) {+function Oq(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return xJ(e.table, t);+ return bq(e.table, t);}return [e];}-function lge(e) {+function kq(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -55333,54 +55176,54 @@ function lge(e) {...e.options.defaultColumn};}-function TJ(e, t, n, r = 0) {+function Aq(e, t, n, r = 0) {let i = Array(t.length);for (let a = 0; a < t.length; a++) {if (!(a in t)) continue;- let o = t[a], s = nge(e, o, r, n), c = o;- s.columns = c.columns ? TJ(e, c.columns, s, r + 1) : [], i[a] = s;+ let o = t[a], s = _q(e, o, r, n), c = o;+ s.columns = c.columns ? Aq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function uge(e) {- return TJ(e, e.options.columns);+function jq(e) {+ return Aq(e, e.options.columns);}-function dge(e) {+function Mq(e) {return e.getAllColumns().flatMap((e) => e.getFlatColumns());}-function fge(e) {- let t = aJ(), n = e.getAllFlatColumns();+function Nq(e) {+ let t = JK(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function pge(e) {- return xJ(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+function Pq(e) {+ return bq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));}-function mge(e) {- let t = aJ(), n = e.getAllLeafColumns();+function Fq(e) {+ let t = JK(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function hge(e, t) {+function Iq(e, t) {return e.getAllFlatColumnsById()[t];}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var gge = {+var Lq = {assignColumnPrototype: (e, t) => {- vJ("coreColumnsFeature", e, t, {+ uq("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => sge(e),+ fn: (e) => Dq(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => cge(e),+ fn: (e) => Oq(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -55391,25 +55234,25 @@ var gge = {});},constructTableAPIs: (e) => {- _J("coreColumnsFeature", e, {+ lq("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => lge(e),+ fn: () => kq(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => uge(e),+ fn: () => jq(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => dge(e),+ fn: () => Mq(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => fge(e),+ fn: () => Nq(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => pge(e),+ fn: () => Pq(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -55418,16 +55261,16 @@ var gge = {]},table_getAllLeafColumnsById: {- fn: () => mge(e),+ fn: () => Fq(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => hge(e, t) }+ table_getColumn: { fn: (t) => Iq(e, t) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function _ge(e) {+function Rq(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -55435,8 +55278,8 @@ function _ge(e) {}return e._headerPrototype;}-function EJ(e, t, n) {- let r = _ge(e), i = Object.create(r);+function zq(e, t, n) {+ let r = Rq(e), i = Object.create(r);i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];let a = e._headerInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);@@ -55444,30 +55287,30 @@ function EJ(e, t, n) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js-function DJ(e, t = 1) {+function Bq(e, t = 1) {let n = t;for (let r = 0; r < e.length; r++) {let i = e[r];- bJ(i) && i.columns.length && (n = Math.max(n, DJ(i.columns, t + 1)));+ vq(i) && i.columns.length && (n = Math.max(n, Bq(i.columns, t + 1)));}return n;}-function vge(e, t) {+function bge(e, t) {return e ? `${e}_${t}` : String(t);}-function yge(e, t, n, r) {+function xge(e, t, n, r) {let i = e ?? "";return t && (i = i ? `${i}_${t}` : String(t)), n && (i = i ? `${i}_${n}` : n), r && (i = i ? `${i}_${r}` : r), i;}-function bge(e, t) {+function Sge(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;}-function OJ(e, t, n, r, i, a) {+function Vq(e, t, n, r, i, a) {let o = {depth: t,- id: vge(r, t),+ id: bge(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -55475,10 +55318,10 @@ function OJ(e, t, n, r, i, a) {let a = e[i], c = s[s.length - 1], l = a.column.depth === o.depth, u, d = !1;if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);else {- let e = EJ(n, u, {- id: yge(r, t, u.id, a.id),+ let e = zq(n, u, {+ id: xge(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(bge(s, u)) : void 0,+ placeholderId: d ? String(Sge(s, u)) : void 0,depth: t,index: s.length});@@ -55487,18 +55330,18 @@ function OJ(e, t, n, r, i, a) {o.headers.push(a), a.headerGroup = o;}for (let e = 0; e < a.length; e++) a[e](o);- i.push(o), t > 0 && OJ(s, t - 1, n, r, i, a);+ i.push(o), t > 0 && Vq(s, t - 1, n, r, i, a);}-function kJ(e) {+function Hq(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!bJ(n.column)) continue;+ if (!vq(n.column)) continue;let r = 0;if (n.subHeaders.length) {- kJ(n.subHeaders);+ Hq(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- bJ(t.column) && (r += t.colSpan);+ vq(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -55508,38 +55351,38 @@ function kJ(e) {} else n.rowSpan = 1;}}-function xge(e, t, n, r) {- let i = DJ(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);- for (let e = 0; e < t.length; e++) e in t && (s[e] = EJ(n, t[e], {+function Cge(e, t, n, r) {+ let i = Bq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);+ for (let e = 0; e < t.length; e++) e in t && (s[e] = zq(n, t[e], {depth: i,index: e}));- return OJ(s, i - 1, n, r, a, o), a.reverse(), kJ(a[0]?.headers ?? []), a;+ return Vq(s, i - 1, n, r, a, o), a.reverse(), Hq(a[0]?.headers ?? []), a;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js-function AJ(e, t) {- for (let n = 0; n < e.subHeaders.length; n++) AJ(e.subHeaders[n], t);+function Uq(e, t) {+ for (let n = 0; n < e.subHeaders.length; n++) Uq(e.subHeaders[n], t);t.push(e);}-function Sge(e) {+function wge(e) {let t = [];- return AJ(e, t), t;+ return Uq(e, t), t;}-function Cge(e) {+function Tge(e) {return {column: e.column,header: e,table: e.column.table};}-function wge(e) {- return xge(e.getAllColumns(), SJ(e, rge(e), (e) => e.id), e);+function Ege(e) {+ return Cge(e.getAllColumns(), xq(e, yq(e), (e) => e.id), e);}-function Tge(e) {+function Dge(e) {return [...e.getHeaderGroups()].reverse();}-function Ege(e) {+function Oge(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -55547,7 +55390,7 @@ function Ege(e) {}return n;}-function Dge(e) {+function kge(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -55557,23 +55400,23 @@ function Dge(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var Oge = {+var Age = {assignHeaderPrototype: (e, t) => {- vJ("coreHeadersFeature", e, t, {+ uq("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => Sge(e),+ fn: (e) => wge(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => Cge(e),+ fn: (e) => Tge(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- _J("coreHeadersFeature", e, {+ lq("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => wge(e),+ fn: () => Ege(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -55584,15 +55427,15 @@ var Oge = {]},table_getFooterGroups: {- fn: () => Tge(e),+ fn: () => Dge(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => Ege(e),+ fn: () => Oge(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => Dge(e),+ fn: () => kge(e),memoDeps: () => [e.getHeaderGroups()]}});@@ -55600,7 +55443,7 @@ var Oge = {};//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function kge(e) {+function jge(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -55608,102 +55451,102 @@ function kge(e) {}return e._rowPrototype;}-var Age = (e, t, n, r, i, a, o) => {- let s = kge(e), c = Object.create(s);- c._displayIndexCache = -1, c._uniqueValuesCache = aJ(), c._valuesCache = aJ(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];+var Mge = (e, t, n, r, i, a, o) => {+ let s = jge(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = JK(), c._valuesCache = JK(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];let l = e._rowInstanceInitFns;for (let e = 0; e < l.length; e++) l[e](c);return c;};//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function jge() {- return (e) => hJ({+function Nge() {+ return (e) => sq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => Mge(e, e.options.data),- onAfterUpdate: mJ(() => {- ige(e), wJ(e), age(e), oge(e);+ fn: () => Pge(e, e.options.data),+ onAfterUpdate: oq(() => {+ Cq(e), wq(e), Tq(e), Eq(e);})});}-function jJ(e, t, n, r = 0, i) {+function Wq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = Age(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);- t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = jJ(e, t, c.originalSubRows, r + 1, c)));+ let s = n[o], c = Mge(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);+ t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Wq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function Mge(e, t) {+function Pge(e, t) {let n = {rows: [],flatRows: [],- rowsById: aJ()+ rowsById: JK()};- return n.rows = jJ(e, n, t), n;+ return n.rows = Wq(e, n, t), n;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function Nge(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? jge()(e)), e._rowModels.coreRowModel();+function Fge(e) {+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Nge()(e)), e._rowModels.coreRowModel();}-function Pge(e) {+function Ige(e) {return e.getCoreRowModel();}-function Fge(e) {+function Lge(e) {return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();}-function Ige(e) {+function Rge(e) {return e.getFilteredRowModel();}-function Lge(e) {+function zge(e) {return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();}-function Rge(e) {+function Bge(e) {return e.getGroupedRowModel();}-function zge(e) {+function Vge(e) {return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();}-function Bge(e) {+function Hge(e) {return e.getSortedRowModel();}-function Vge(e) {+function Uge(e) {return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();}-function Hge(e) {+function Wge(e) {return e.getExpandedRowModel();}-function Uge(e) {+function Gge(e) {return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();}-function Wge(e) {+function Kge(e) {return e.getPaginatedRowModel();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var Gge = { constructTableAPIs: (e) => {- _J("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => Nge(e) },- table_getPreFilteredRowModel: { fn: () => Pge(e) },- table_getFilteredRowModel: { fn: () => Fge(e) },- table_getPreGroupedRowModel: { fn: () => Ige(e) },- table_getGroupedRowModel: { fn: () => Lge(e) },- table_getPreSortedRowModel: { fn: () => Rge(e) },- table_getSortedRowModel: { fn: () => zge(e) },- table_getPreExpandedRowModel: { fn: () => Bge(e) },- table_getExpandedRowModel: { fn: () => Vge(e) },- table_getPrePaginatedRowModel: { fn: () => Hge(e) },- table_getPaginatedRowModel: { fn: () => Uge(e) },- table_getRowModel: { fn: () => Wge(e) }+var qge = { constructTableAPIs: (e) => {+ lq("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => Fge(e) },+ table_getPreFilteredRowModel: { fn: () => Ige(e) },+ table_getFilteredRowModel: { fn: () => Lge(e) },+ table_getPreGroupedRowModel: { fn: () => Rge(e) },+ table_getGroupedRowModel: { fn: () => zge(e) },+ table_getPreSortedRowModel: { fn: () => Bge(e) },+ table_getSortedRowModel: { fn: () => Vge(e) },+ table_getPreExpandedRowModel: { fn: () => Hge(e) },+ table_getExpandedRowModel: { fn: () => Uge(e) },+ table_getPrePaginatedRowModel: { fn: () => Wge(e) },+ table_getPaginatedRowModel: { fn: () => Gge(e) },+ table_getRowModel: { fn: () => Kge(e) }});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function Kge(e) {+function Jge(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -55711,8 +55554,8 @@ function Kge(e) {}return e._cellPrototype;}-function qge(e, t, n) {- let r = Kge(n), i = Object.create(r);+function Yge(e, t, n) {+ let r = Jge(n), i = Object.create(r);i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;let a = n._cellInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);@@ -55720,40 +55563,40 @@ function qge(e, t, n) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function Jge(e) {+function Xge(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function Yge(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? CJ(e, t).rows : t.rows;+function Zge(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Sq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function Xge(e, t) {- if (oJ(e._valuesCache, t)) return e._valuesCache[t];+function Qge(e, t) {+ if (YK(e._valuesCache, t)) return e._valuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return e._valuesCache[t] = n.accessorFn(e.original, e.index), e._valuesCache[t];}-function Zge(e, t) {- if (oJ(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function $ge(e, t) {+ if (YK(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);}-function Qge(e, t) {+function e_e(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function $ge(e) {- return Yhe(e.subRows, (e) => e.subRows);+function t_e(e) {+ return iq(e.subRows, (e) => e.subRows);}-function e_e(e) {+function n_e(e) {let t = e.getCoreRowModel().flatRows, n = 0;for (let e = 0; e < t.length; e++) n = Math.max(n, t[e].depth);return n;}-function t_e(e) {+function r_e(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function n_e(e) {+function i_e(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -55762,71 +55605,71 @@ function n_e(e) {}return t.reverse();}-function r_e(e) {+function a_e(e) {let t = e.table.getAllLeafColumns(), n = e._cellsCache;n ||= e._cellsCache = /* @__PURE__ */ new WeakMap();let r = Array(t.length);for (let i = 0; i < t.length; i++) {let a = t[i], o = n.get(a);- o || (o = qge(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = Yge(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function i_e(e) {- let t = aJ(), n = e.getAllCells();+function o_e(e) {+ let t = JK(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function a_e(e, t, n, r) {+function s_e(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function o_e(e, t, n) {+function c_e(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var s_e = {+var l_e = {assignRowPrototype: (e, t) => {- vJ("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => Jge(e) },+ uq("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => Xge(e) },row_getAllCellsByColumnId: {- fn: (e) => i_e(e),+ fn: (e) => o_e(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => r_e(e),+ fn: (e) => a_e(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => $ge(e),+ fn: (e) => t_e(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => t_e(e) },- row_getParentRows: { fn: (e) => n_e(e) },- row_getUniqueValues: { fn: (e, t) => Zge(e, t) },- row_getValue: { fn: (e, t) => Xge(e, t) },- row_renderValue: { fn: (e, t) => Qge(e, t) }+ row_getParentRow: { fn: (e) => r_e(e) },+ row_getParentRows: { fn: (e) => i_e(e) },+ row_getUniqueValues: { fn: (e, t) => $ge(e, t) },+ row_getValue: { fn: (e, t) => Qge(e, t) },+ row_renderValue: { fn: (e, t) => e_e(e, t) }});},constructTableAPIs: (e) => {- _J("coreRowsFeature", e, {+ lq("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => Yge(e),+ fn: () => Zge(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => a_e(t, e, n, r) },- table_getRow: { fn: (t, n) => o_e(e, t, n) },+ table_getRowId: { fn: (t, n, r) => s_e(t, e, n, r) },+ table_getRow: { fn: (t, n) => c_e(e, t, n) },table_getMaxSubRowDepth: {- fn: () => e_e(e),+ fn: () => n_e(e),memoDeps: () => [e.getCoreRowModel()]}});@@ -55834,7 +55677,7 @@ var s_e = {};//#endregion//#region node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js-function MJ(e, t, n = (e, t) => e === t) {+function Gq(e, t, n = (e, t) => e === t) {let r = t === void 0 ? e.options.state : t;e._reactivity.batch(() => {if (r) for (let t in r) {@@ -55845,13 +55688,13 @@ function MJ(e, t, n = (e, t) => e === t) {}});}-function NJ(e, t, n = (e, t) => e === t) {+function Kq(e, t, n = (e, t) => e === t) {e._reactivity.batch(() => {- MJ(e, t, n), e._reactivity.commit?.();+ Gq(e, t, n), e._reactivity.commit?.();});}-function c_e(e) {- let t = rJ(e.initialState);+function u_e(e) {+ let t = KK(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -55862,7 +55705,7 @@ function c_e(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function l_e(e, t) {+function d_e(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -55894,28 +55737,28 @@ function l_e(e, t) {}});}-function PJ(e, t, n) {- let r = l_e(e, nJ(t, e.options));- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && NJ(e, r.state ?? null);+function qq(e, t, n) {+ let r = d_e(e, GK(t, e.options));+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Kq(e, r.state ?? null);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var u_e = {- coreCellsFeature: ege,- coreColumnsFeature: gge,- coreHeadersFeature: Oge,- coreRowModelsFeature: Gge,- coreRowsFeature: s_e,+var f_e = {+ coreCellsFeature: hq,+ coreColumnsFeature: Lq,+ coreHeadersFeature: Age,+ coreRowModelsFeature: qge,+ coreRowsFeature: l_e,coreTablesFeature: { constructTableAPIs: (e) => {- _J("coreTablesFeature", e, {- table_reset: { fn: () => c_e(e) },- table_setOptions: { fn: (t) => PJ(e, t) }+ lq("coreTablesFeature", e, {+ table_reset: { fn: () => u_e(e) },+ table_setOptions: { fn: (t) => qq(e, t) }});} }};//#endregion//#region node_modules/@tanstack/table-core/dist/helpers/columnHelper.js-function FJ() {+function Jq() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -55931,22 +55774,22 @@ function FJ() {}//#endregion//#region node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js-function IJ(e) {+function Yq(e) {return e;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function d_e(e, t = {}) {+function p_e(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), rJ(t);+ }), KK(t);}-function f_e(e) {+function m_e(e) {let t = e.features.coreReactivityFeature, { aggregationFns: n, columnMeta: r, coreRowModel: i, expandedRowModel: a, facetedMinMaxValues: o, facetedRowModel: s, facetedUniqueValues: c, filterFns: l, filterMeta: u, filteredRowModel: d, groupedRowModel: f, paginatedRowModel: p, sortFns: m, sortedRowModel: h, tableMeta: g, ..._ } = e.features, v = {_cellInstanceInitFns: [],_columnInstanceInitFns: [],_features: {- ...u_e,+ ...f_e,..._},_headerGroupInstanceInitFns: [],@@ -55984,7 +55827,7 @@ function f_e(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = d_e(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = p_e(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -55992,14 +55835,14 @@ function f_e(e) {let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();if (t) return r;let i = e.state;- if (i && oJ(i, n)) {+ if (i && YK(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- MJ(v), v.store = Qq(t.createReadonlyAtom(() => {+ Gq(v), v.store = VK(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -56007,7 +55850,7 @@ function f_e(e) {}return e;}, {- compare: Wq,+ compare: NK,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -56018,108 +55861,108 @@ function f_e(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function p_e() {- return aJ();+function h_e() {+ return JK();}-function LJ(e, t) {- zJ(e) && VJ(e.table, (n) => {- let r = Object.assign(aJ(), n), i = t ?? !yJ(e, "getIsVisible", RJ), a = e.getLeafColumns();+function Xq(e, t) {+ Qq(e) && eJ(e.table, (n) => {+ let r = Object.assign(JK(), n), i = t ?? !dq(e, "getIsVisible", Zq), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];- zJ(t) && (r[t.id] = i);+ Qq(t) && (r[t.id] = i);}return r;});}-function RJ(e) {+function Zq(e) {let t = e.table.atoms.columnVisibility?.get();if (!t) return !0;let n = e.columns;- return n.length ? n.some((e) => yJ(e, "getIsVisible", RJ)) : (oJ(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => dq(e, "getIsVisible", Zq)) : (YK(t, e.id) ? t[e.id] : void 0) ?? !0;}-function zJ(e) {+function Qq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function m_e(e) {+function g_e(e) {return (t) => {- LJ(e, t.target.checked);+ Xq(e, t.target.checked);};}-function h_e(e) {+function __e(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];- yJ(r.column, "getIsVisible", RJ) && n.push(r);+ dq(r.column, "getIsVisible", Zq) && n.push(r);}- return SJ(e.table, n, (e) => e.column.id, () => yJ(e, "getVisibleCellsByColumnId", BJ));+ return xq(e.table, n, (e) => e.column.id, () => dq(e, "getVisibleCellsByColumnId", $q));}-function BJ(e) {- let t = aJ(), n = e.getAllCells();+function $q(e) {+ let t = JK(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];- yJ(r.column, "getIsVisible", RJ) && (t[r.column.id] = r);+ dq(r.column, "getIsVisible", Zq) && (t[r.column.id] = r);}return t;}-function g_e(e) {- return e.getAllFlatColumns().filter((e) => yJ(e, "getIsVisible", RJ));+function v_e(e) {+ return e.getAllFlatColumns().filter((e) => dq(e, "getIsVisible", Zq));}-function __e(e) {- return e.getAllLeafColumns().filter((e) => yJ(e, "getIsVisible", RJ));+function y_e(e) {+ return e.getAllLeafColumns().filter((e) => dq(e, "getIsVisible", Zq));}-function VJ(e, t) {- pJ(e, "columnVisibility", t);+function eJ(e, t) {+ nq(e, "columnVisibility", t);}-function v_e(e, t) {- VJ(e, t ? aJ() : Object.assign(aJ(), rJ(e.initialState.columnVisibility ?? {})));+function b_e(e, t) {+ eJ(e, t ? JK() : Object.assign(JK(), KK(e.initialState.columnVisibility ?? {})));}-function HJ(e, t) {- t ??= !UJ(e);- let n = aJ(), r = e.getAllLeafColumns();+function tJ(e, t) {+ t ??= !nJ(e);+ let n = JK(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];- n[i.id] = t || !zJ(i);+ n[i.id] = t || !Qq(i);}- VJ(e, n);+ eJ(e, n);}-function UJ(e) {- return !e.getAllLeafColumns().some((e) => !yJ(e, "getIsVisible", RJ));+function nJ(e) {+ return !e.getAllLeafColumns().some((e) => !dq(e, "getIsVisible", Zq));}-function y_e(e) {- return e.getAllLeafColumns().some((e) => yJ(e, "getIsVisible", RJ));+function x_e(e) {+ return e.getAllLeafColumns().some((e) => dq(e, "getIsVisible", Zq));}-function b_e(e) {+function S_e(e) {return (t) => {- HJ(e, t.target.checked);+ tJ(e, t.target.checked);};}//#endregion//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js-var WJ = {+var rJ = {getInitialState: (e) => ({- columnVisibility: p_e(),+ columnVisibility: h_e(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: sJ("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: XK("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- vJ("columnVisibilityFeature", e, t, {+ uq("columnVisibilityFeature", e, t, {column_getIsVisible: {- fn: (e) => RJ(e),+ fn: (e) => Zq(e),memoDeps: (e) => [t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},- column_getCanHide: { fn: (e) => zJ(e) },- column_getToggleVisibilityHandler: { fn: (e) => m_e(e) },- column_toggleVisibility: { fn: (e, t) => LJ(e, t) }+ column_getCanHide: { fn: (e) => Qq(e) },+ column_getToggleVisibilityHandler: { fn: (e) => g_e(e) },+ column_toggleVisibility: { fn: (e, t) => Xq(e, t) }});},assignRowPrototype: (e, t) => {- vJ("columnVisibilityFeature", e, t, {+ uq("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => h_e(e),+ fn: (e) => __e(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -56127,15 +55970,15 @@ var WJ = {]},row_getVisibleCellsByColumnId: {- fn: (e) => BJ(e),+ fn: (e) => $q(e),memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]}});},constructTableAPIs: (e) => {- _J("columnVisibilityFeature", e, {+ lq("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => g_e(e),+ fn: () => v_e(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56145,7 +55988,7 @@ var WJ = {]},table_getVisibleLeafColumns: {- fn: () => __e(e),+ fn: () => y_e(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56154,51 +55997,51 @@ var WJ = {e.options.groupedColumnMode]},- table_setColumnVisibility: { fn: (t) => VJ(e, t) },- table_resetColumnVisibility: { fn: (t) => v_e(e, t) },- table_toggleAllColumnsVisible: { fn: (t) => HJ(e, t) },- table_getIsAllColumnsVisible: { fn: () => UJ(e) },- table_getIsSomeColumnsVisible: { fn: () => y_e(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => b_e(e) }+ table_setColumnVisibility: { fn: (t) => eJ(e, t) },+ table_resetColumnVisibility: { fn: (t) => b_e(e, t) },+ table_toggleAllColumnsVisible: { fn: (t) => tJ(e, t) },+ table_getIsAllColumnsVisible: { fn: () => nJ(e) },+ table_getIsSomeColumnsVisible: { fn: () => x_e(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => S_e(e) }});}-}, GJ = 0, KJ = 10;-function qJ() {+}, iJ = 0, aJ = 10;+function oJ() {return {- pageIndex: GJ,- pageSize: KJ+ pageIndex: iJ,+ pageSize: aJ};}-function x_e(e) {+function C_e(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {- if ((e.atoms.pagination?.get()?.pageIndex ?? GJ) === GJ) return;- XJ(e, !0);+ if ((e.atoms.pagination?.get()?.pageIndex ?? iJ) === iJ) return;+ lJ(e, !0);}}-function JJ(e, t) {- pJ(e, "pagination", t);+function sJ(e, t) {+ nq(e, "pagination", t);}-function S_e(e, t) {- JJ(e, t ? qJ() : rJ(e.initialState.pagination ?? qJ()));+function w_e(e, t) {+ sJ(e, t ? oJ() : KK(e.initialState.pagination ?? oJ()));}-function YJ(e, t) {- JJ(e, (n) => {- let r = nJ(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+function cJ(e, t) {+ sJ(e, (n) => {+ let r = GK(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;return r = Math.max(0, Math.min(r, i)), {...n,pageIndex: r};});}-function XJ(e, t) {- YJ(e, t ? GJ : e.initialState.pagination?.pageIndex ?? GJ);+function lJ(e, t) {+ cJ(e, t ? iJ : e.initialState.pagination?.pageIndex ?? iJ);}-function C_e(e, t) {- ZJ(e, t ? KJ : e.initialState.pagination?.pageSize ?? KJ);+function T_e(e, t) {+ uJ(e, t ? aJ : e.initialState.pagination?.pageSize ?? aJ);}-function ZJ(e, t) {- JJ(e, (e) => {- let n = Math.max(1, nJ(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);+function uJ(e, t) {+ sJ(e, (e) => {+ let n = Math.max(1, GK(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -56206,233 +56049,233 @@ function ZJ(e, t) {};});}-function w_e(e) {- let t = QJ(e), n = [];- return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;-}-function T_e(e) {- return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;-}function E_e(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? GJ, n = QJ(e);- return n === -1 || n !== 0 && t < n - 1;+ let t = dJ(e), n = [];+ return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}function D_e(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? GJ, n = QJ(e);- return Number.isFinite(n) && n > 0 && t < n - 1;+ return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}function O_e(e) {- return YJ(e, (e) => e - 1);+ let t = e.atoms.pagination?.get()?.pageIndex ?? iJ, n = dJ(e);+ return n === -1 || n !== 0 && t < n - 1;}function k_e(e) {- return YJ(e, (e) => e + 1);+ let t = e.atoms.pagination?.get()?.pageIndex ?? iJ, n = dJ(e);+ return Number.isFinite(n) && n > 0 && t < n - 1;}function A_e(e) {- return YJ(e, 0);+ return cJ(e, (e) => e - 1);}function j_e(e) {- let t = QJ(e);- if (!(!Number.isFinite(t) || t <= 0)) return YJ(e, t - 1);+ return cJ(e, (e) => e + 1);}-function QJ(e) {+function M_e(e) {+ return cJ(e, 0);+}+function N_e(e) {+ let t = dJ(e);+ if (!(!Number.isFinite(t) || t <= 0)) return cJ(e, t - 1);+}+function dJ(e) {let t = e.options.pageCount;if (t != null) return t;- let n = $J(e), r = e.atoms.pagination?.get()?.pageSize ?? KJ;+ let n = fJ(e), r = e.atoms.pagination?.get()?.pageSize ?? aJ;return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);}-function $J(e) {+function fJ(e) {return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js-var eY = {+var pJ = {getInitialState: (e) => ({...e,pagination: {- ...qJ(),+ ...oJ(),...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: sJ("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: XK("pagination", e) }),constructTableAPIs: (e) => {- _J("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => x_e(e) },- table_setPagination: { fn: (t) => JJ(e, t) },- table_resetPagination: { fn: (t) => S_e(e, t) },- table_setPageIndex: { fn: (t) => YJ(e, t) },- table_resetPageIndex: { fn: (t) => XJ(e, t) },- table_setPageSize: { fn: (t) => ZJ(e, t) },- table_getPageCount: { fn: () => QJ(e) },- table_resetPageSize: { fn: (t) => C_e(e, t) },- table_getPageOptions: { fn: () => w_e(e) },- table_getCanPreviousPage: { fn: () => T_e(e) },- table_getCanNextPage: { fn: () => E_e(e) },- table_getCanLastPage: { fn: () => D_e(e) },- table_previousPage: { fn: () => O_e(e) },- table_nextPage: { fn: () => k_e(e) },- table_firstPage: { fn: () => A_e(e) },- table_lastPage: { fn: () => j_e(e) },- table_getRowCount: { fn: () => $J(e) }+ lq("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => C_e(e) },+ table_setPagination: { fn: (t) => sJ(e, t) },+ table_resetPagination: { fn: (t) => w_e(e, t) },+ table_setPageIndex: { fn: (t) => cJ(e, t) },+ table_resetPageIndex: { fn: (t) => lJ(e, t) },+ table_setPageSize: { fn: (t) => uJ(e, t) },+ table_getPageCount: { fn: () => dJ(e) },+ table_resetPageSize: { fn: (t) => T_e(e, t) },+ table_getPageOptions: { fn: () => E_e(e) },+ table_getCanPreviousPage: { fn: () => D_e(e) },+ table_getCanNextPage: { fn: () => O_e(e) },+ table_getCanLastPage: { fn: () => k_e(e) },+ table_previousPage: { fn: () => A_e(e) },+ table_nextPage: { fn: () => j_e(e) },+ table_firstPage: { fn: () => M_e(e) },+ table_lastPage: { fn: () => N_e(e) },+ table_getRowCount: { fn: () => fJ(e) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function M_e() {- return aJ();+function P_e() {+ return JK();}-function tY(e, t) {+function mJ(e, t) {e.options.onRowSelectionChange?.(t);}-function N_e(e, t) {- e._lastSelectedRowId = null, tY(e, t ? aJ() : Object.assign(aJ(), rJ(e.initialState.rowSelection ?? {})));+function F_e(e, t) {+ e._lastSelectedRowId = null, mJ(e, t ? JK() : Object.assign(JK(), KK(e.initialState.rowSelection ?? {})));}-function nY(e, t, n) {- e._lastSelectedRowId = null, tY(e, (r) => {- if (t = t === void 0 ? !yJ(e, "getIsAllRowsSelected", aY) : t, n?.deselectAll && !t) return aJ();- let i = Object.assign(aJ(), r), a = e.getPreGroupedRowModel().flatRows;+function hJ(e, t, n) {+ e._lastSelectedRowId = null, mJ(e, (r) => {+ if (t = t === void 0 ? !dq(e, "getIsAllRowsSelected", vJ) : t, n?.deselectAll && !t) return JK();+ let i = Object.assign(JK(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {- hY(t, e) && (i[t.id] = !0);+ OJ(t, e) && (i[t.id] = !0);});} else a.forEach((e) => {- dY(e) && delete i[e.id];+ wJ(e) && delete i[e.id];});return i;});}-function rY(e, t, n) {- e._lastSelectedRowId = null, tY(e, (r) => {- let i = t === void 0 ? !yJ(e, "getIsAllPageRowsSelected", oY) : t;- if (n?.deselectAll && !i) return aJ();- let a = Object.assign(aJ(), r);+function gJ(e, t, n) {+ e._lastSelectedRowId = null, mJ(e, (r) => {+ let i = t === void 0 ? !dq(e, "getIsAllPageRowsSelected", yJ) : t;+ if (n?.deselectAll && !i) return JK();+ let a = Object.assign(JK(), r);return e.getRowModel().rows.forEach((t) => {- mY(a, t.id, i, !0, e, !0);+ DJ(a, t.id, i, !0, e, !0);}), a;});}-function P_e(e) {+function I_e(e) {return e.getCoreRowModel();}-function F_e(e) {+function L_e(e) {let t = e.getCoreRowModel();- return yJ(e, "getIsSomeRowsSelected", sY) ? vY(t, e) : {+ return dq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: aJ()+ rowsById: JK()};}-function I_e(e) {+function R_e(e) {let t = e.getFilteredRowModel();- return yJ(e, "getIsSomeRowsSelected", sY) ? vY(t, e) : {+ return dq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: aJ()+ rowsById: JK()};}-function L_e(e) {+function z_e(e) {let t = e.getSortedRowModel();- return yJ(e, "getIsSomeRowsSelected", sY) ? vY(t, e) : {+ return dq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: aJ()+ rowsById: JK()};}-function iY(e) {+function _J(e) {return Object.keys(e.atoms.rowSelection?.get() ?? {});}-function aY(e) {+function vJ(e) {let t = e.getFilteredRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = !!(t.length && Object.keys(n).length);if (r) {let e = /* @__PURE__ */ new Map();- t.some((t) => !yY(t, n) && hY(t, e)) && (r = !1);+ t.some((t) => !MJ(t, n) && OJ(t, e)) && (r = !1);}return r;}-function oY(e) {+function yJ(e) {let t = e.getPaginatedRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = /* @__PURE__ */ new Map(), i = !1;for (let e = 0; e < t.length; e++) {let a = t[e];- if (yY(a, n)) !i && hY(a, r) && (i = !0);- else if (hY(a, r)) return !1;+ if (MJ(a, n)) !i && OJ(a, r) && (i = !0);+ else if (OJ(a, r)) return !1;}return i;}-function sY(e) {- return yJ(e, "getSelectedRowIds", iY).length > 0;+function bJ(e) {+ return dq(e, "getSelectedRowIds", _J).length > 0;}-function R_e(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => dY(e)).some((e) => lY(e) || yJ(e, "getIsSomeSelected", uY));+function B_e(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => wJ(e)).some((e) => SJ(e) || dq(e, "getIsSomeSelected", CJ));}-function z_e(e) {+function V_e(e) {return (t) => {- nY(e, t.target.checked);+ hJ(e, t.target.checked);};}-function B_e(e) {+function H_e(e) {return (t) => {- rY(e, t.target.checked);+ gJ(e, t.target.checked);};}-function cY(e, t, n) {- let r = lY(e);- tY(e.table, (i) => {+function xJ(e, t, n) {+ let r = SJ(e);+ mJ(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(aJ(), i);- return mY(a, e.id, t, (n?.selectChildren ?? !0) && pY(e), e.table), !t && n?.deselectParents && gY(a, e), a;+ let a = Object.assign(JK(), i);+ return DJ(a, e.id, t, (n?.selectChildren ?? !0) && EJ(e), e.table), !t && n?.deselectParents && kJ(a, e), a;});}-function lY(e) {- return yY(e, e.table.atoms.rowSelection?.get() ?? {});+function SJ(e) {+ return MJ(e, e.table.atoms.rowSelection?.get() ?? {});}-function uY(e) {- return bY(e) === "some";+function CJ(e) {+ return NJ(e) === "some";}-function V_e(e) {- return bY(e) === "all";+function U_e(e) {+ return NJ(e) === "all";}-function dY(e) {+function wJ(e) {let t = e.table.options;return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;}-function fY(e) {+function TJ(e) {let t = e.table.options;return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;}-function pY(e) {+function EJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function H_e(e, t) {- let n = dY(e);+function W_e(e, t) {+ let n = wJ(e);return (r) => {if (!n) return;let i = r, a = e.table, o = i.target.checked, s = a._lastSelectedRowId;- (!(a.options.enableRowRangeSelection !== !1 && s !== null && pY(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !U_e(e, s, o, t)) && cY(e, o, t), a._lastSelectedRowId = e.id;+ (!(a.options.enableRowRangeSelection !== !1 && s !== null && EJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !G_e(e, s, o, t)) && xJ(e, o, t), a._lastSelectedRowId = e.id;};}-function U_e(e, t, n, r) {+function G_e(e, t, n, r) {let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];if (!s) return !1;let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];- if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !pY(s) || !pY(e)) return !1;+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !EJ(s) || !EJ(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);- return tY(a, (e) => {- let t = Object.assign(aJ(), e);+ return mJ(a, (e) => {+ let t = Object.assign(JK(), e);for (let e = f; e <= p; e++) {let s = o[e];- dY(s) && pY(s) && (mY(t, s.id, n, i, a), !n && r?.deselectParents && gY(t, s));+ wJ(s) && EJ(s) && (DJ(t, s.id, n, i, a), !n && r?.deselectParents && kJ(t, s));}return t;}), !0;}-function mY(e, t, n, r, i, a) {+function DJ(e, t, n, r, i, a) {let o = i.getRow(t, !0);- n ? (pY(o) || Object.keys(e).forEach((t) => delete e[t]), dY(o) && (e[t] = !0)) : (!a || dY(o)) && delete e[t], r && o.subRows.length && fY(o) && o.subRows.forEach((t) => mY(e, t.id, n, r, i, a));+ n ? (EJ(o) || Object.keys(e).forEach((t) => delete e[t]), wJ(o) && (e[t] = !0)) : (!a || wJ(o)) && delete e[t], r && o.subRows.length && TJ(o) && o.subRows.forEach((t) => DJ(e, t.id, n, r, i, a));}-function hY(e, t) {- if (!dY(e)) return !1;+function OJ(e, t) {+ if (!wJ(e)) return !1;let n = e.table;if (n.options.enableSubRowSelection === !0) return !0;let r = e.parentId;@@ -56448,7 +56291,7 @@ function hY(e, t) {}o.push(c);let r = a[c] ?? n.getRow(c, !0);- if (!fY(r)) {+ if (!TJ(r)) {s = !1;break;}@@ -56456,43 +56299,43 @@ function hY(e, t) {}return o.forEach((e) => t.set(e, s)), s;}-function gY(e, t) {+function kJ(e, t) {let n = t.table.getCoreRowModel().rowsById, r = t.parentId;for (; r !== void 0;) delete e[r], r = (n[r] ?? t.table.getRow(r, !0)).parentId;}-function _Y(e, t, n, r) {+function AJ(e, t, n, r) {let i = [];for (let a = 0; a < e.length; a++) {- let o = e[a], s = yY(o, t);+ let o = e[a], s = MJ(o, t);if (s && (n.push(o), r[o.id] = o), o.subRows.length) {- let e = _Y(o.subRows, t, n, r);+ let e = AJ(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- iJ(t, o), t.subRows = e, i.push(t);+ qK(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}-function vY(e, t) {- let n = [], r = aJ(), i = t.atoms.rowSelection?.get() ?? {};+function jJ(e, t) {+ let n = [], r = JK(), i = t.atoms.rowSelection?.get() ?? {};return {- rows: _Y(e.rows, i, n, r),+ rows: AJ(e.rows, i, n, r),flatRows: n,rowsById: r};}-function yY(e, t) {- return !!(oJ(t, e.id) && t[e.id]);+function MJ(e, t) {+ return !!(YK(t, e.id) && t[e.id]);}-function bY(e) {+function NJ(e) {if (!e.subRows.length) return !1;let t = e.table.atoms.rowSelection?.get() ?? {}, n = !1, r = !0, i = !1;for (let a = 0; a < e.subRows.length; a++) {let o = e.subRows[a];if (n && !r) break;- if (dY(o) && (i = !0, yY(o, t) ? n = !0 : r = !1), o.subRows.length) {- let e = bY(o);+ if (wJ(o) && (i = !0, MJ(o, t) ? n = !0 : r = !1), o.subRows.length) {+ let e = NJ(o);e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;}}@@ -56500,7 +56343,7 @@ function bY(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js-var xY = {+var PJ = {initTableInstanceData: (e) => {e._lastSelectedRowId = null;},@@ -56508,11 +56351,11 @@ var xY = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: M_e(),+ rowSelection: P_e(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: sJ("rowSelection", e),+ onRowSelectionChange: XK("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -56523,11 +56366,11 @@ var xY = {}}),assignRowPrototype: (e, t) => {- vJ("rowSelectionFeature", e, t, {- row_toggleSelected: { fn: (e, t, n) => cY(e, t, n) },- row_getIsSelected: { fn: (e) => lY(e) },+ uq("rowSelectionFeature", e, t, {+ row_toggleSelected: { fn: (e, t, n) => xJ(e, t, n) },+ row_getIsSelected: { fn: (e) => SJ(e) },row_getIsSomeSelected: {- fn: (e) => uY(e),+ fn: (e) => CJ(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -56535,44 +56378,44 @@ var xY = {]},row_getIsAllSubRowsSelected: {- fn: (e) => V_e(e),+ fn: (e) => U_e(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),e.table.options.enableRowSelection]},- row_getCanSelect: { fn: (e) => dY(e) },- row_getCanSelectSubRows: { fn: (e) => fY(e) },- row_getCanMultiSelect: { fn: (e) => pY(e) },- row_getToggleSelectedHandler: { fn: (e, t) => H_e(e, t) }+ row_getCanSelect: { fn: (e) => wJ(e) },+ row_getCanSelectSubRows: { fn: (e) => TJ(e) },+ row_getCanMultiSelect: { fn: (e) => EJ(e) },+ row_getToggleSelectedHandler: { fn: (e, t) => W_e(e, t) }});},constructTableAPIs: (e) => {- _J("rowSelectionFeature", e, {- table_setRowSelection: { fn: (t) => tY(e, t) },- table_resetRowSelection: { fn: (t) => N_e(e, t) },- table_toggleAllRowsSelected: { fn: (t, n) => nY(e, t, n) },- table_toggleAllPageRowsSelected: { fn: (t, n) => rY(e, t, n) },- table_getPreSelectedRowModel: { fn: () => P_e(e) },+ lq("rowSelectionFeature", e, {+ table_setRowSelection: { fn: (t) => mJ(e, t) },+ table_resetRowSelection: { fn: (t) => F_e(e, t) },+ table_toggleAllRowsSelected: { fn: (t, n) => hJ(e, t, n) },+ table_toggleAllPageRowsSelected: { fn: (t, n) => gJ(e, t, n) },+ table_getPreSelectedRowModel: { fn: () => I_e(e) },table_getSelectedRowModel: {- fn: () => F_e(e),+ fn: () => L_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => I_e(e),+ fn: () => R_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => L_e(e),+ fn: () => z_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {- fn: () => iY(e),+ fn: () => _J(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsAllRowsSelected: {- fn: () => aY(e),+ fn: () => vJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getFilteredRowModel(),@@ -56581,7 +56424,7 @@ var xY = {]},table_getIsAllPageRowsSelected: {- fn: () => oY(e),+ fn: () => yJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),@@ -56590,49 +56433,49 @@ var xY = {]},table_getIsSomeRowsSelected: {- fn: () => sY(e),+ fn: () => bJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => R_e(e),+ fn: () => B_e(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => z_e(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => B_e(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => V_e(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => H_e(e) }});}-}, W_e = /([0-9]+)/gm;+}, K_e = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function G_e(e) {+function q_e(e) {let t = Object.assign((e, n, r) => {let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);}, e);return t;}-var SY = /* @__PURE__ */ G_e({ sort: (e, t) => K_e(e, t) });-function K_e(e, t) {+var FJ = /* @__PURE__ */ q_e({ sort: (e, t) => J_e(e, t) });+function J_e(e, t) {return e === t ? 0 : e > t ? 1 : -1;}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function q_e() {+function Y_e() {return [];}-function CY(e, t) {- pJ(e, "sorting", t);+function IJ(e, t) {+ nq(e, "sorting", t);}-function wY(e, t) {- CY(e, t ? [] : rJ(e.initialState.sorting ?? []));+function LJ(e, t) {+ IJ(e, t ? [] : KK(e.initialState.sorting ?? []));}-function J_e(e) {- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && wY(e);+function X_e(e) {+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && LJ(e);}-function TY(e) {+function RJ(e) {let t = e.table._rowModelFns.sortFns, n = e.table.getFilteredRowModel().flatRows.slice(0, 10), r, i = !1;for (let t = 0; t < n.length; t++) {let a = n[t].getValue(e.id);@@ -56640,7 +56483,7 @@ function TY(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(W_e).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(K_e).length > 1)) {r = "alphanumeric";break;}@@ -56649,9 +56492,9 @@ function TY(e) {let e = t?.[r];if (e || r === "alphanumeric" && (e = t?.text), e) return e;}- return SY;+ return FJ;}-function EY(e) {+function zJ(e) {let t = e.table.getFilteredRowModel().flatRows.slice(0, 10);for (let n = 0; n < t.length; n++) {let r = t[n].getValue(e.id);@@ -56659,14 +56502,14 @@ function EY(e) {}return "desc";}-function DY(e) {+function BJ(e) {let t = e.table._rowModelFns.sortFns;- return Jhe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? TY(e) : t?.[e.columnDef.sortFn] ?? SY;+ return rq(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? RJ(e) : t?.[e.columnDef.sortFn] ?? FJ;}-function OY(e, t, n) {- let r = AY(e, n && MY(e)), i = t !== void 0;- CY(e.table, (a) => {- let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && MY(e) && n);+function VJ(e, t, n) {+ let r = UJ(e, n && GJ(e)), i = t !== void 0;+ IJ(e.table, (a) => {+ let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && GJ(e) && n);return l = d ? s ? "toggle" : "add" : s ? "toggle" : "replace", l === "toggle" && (i || r || (l = "remove")), l === "add" ? (c = [...a, {id: e.id,desc: u@@ -56682,41 +56525,41 @@ function OY(e, t, n) {}], c;});}-function kY(e) {- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? EY(e) === "desc" ? "desc" : "asc";+function HJ(e) {+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? zJ(e) === "desc" ? "desc" : "asc";}-function AY(e, t) {- let n = kY(e), r = NY(e);+function UJ(e, t) {+ let n = HJ(e), r = KJ(e);return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;}-function jY(e) {+function WJ(e) {return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;}-function MY(e) {+function GJ(e) {return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;}-function NY(e) {+function KJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function Y_e(e) {+function Z_e(e) {return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}-function X_e(e) {- CY(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+function Q_e(e) {+ IJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);}-function Z_e(e) {- let t = jY(e);+function $_e(e) {+ let t = WJ(e);return (n) => {- t && OY(e, void 0, MY(e) ? e.table.options.isMultiSortEvent?.(n) : !1);+ t && VJ(e, void 0, GJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);};}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js-var PY = {+var qJ = {getInitialState(e) {return {- sorting: q_e(),+ sorting: Y_e(),...e};},@@ -56729,58 +56572,58 @@ var PY = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: sJ("sorting", e),+ onSortingChange: XK("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},assignColumnPrototype(e, t) {- vJ("rowSortingFeature", e, t, {- column_getAutoSortFn: { fn: (e) => TY(e) },- column_getAutoSortDir: { fn: (e) => EY(e) },- column_getSortFn: { fn: (e) => DY(e) },- column_toggleSorting: { fn: (e, t, n) => OY(e, t, n) },- column_getFirstSortDir: { fn: (e) => kY(e) },- column_getNextSortingOrder: { fn: (e, t) => AY(e, t) },- column_getCanSort: { fn: (e) => jY(e) },- column_getCanMultiSort: { fn: (e) => MY(e) },- column_getIsSorted: { fn: (e) => NY(e) },- column_getSortIndex: { fn: (e) => Y_e(e) },- column_clearSorting: { fn: (e) => X_e(e) },- column_getToggleSortingHandler: { fn: (e) => Z_e(e) }+ uq("rowSortingFeature", e, t, {+ column_getAutoSortFn: { fn: (e) => RJ(e) },+ column_getAutoSortDir: { fn: (e) => zJ(e) },+ column_getSortFn: { fn: (e) => BJ(e) },+ column_toggleSorting: { fn: (e, t, n) => VJ(e, t, n) },+ column_getFirstSortDir: { fn: (e) => HJ(e) },+ column_getNextSortingOrder: { fn: (e, t) => UJ(e, t) },+ column_getCanSort: { fn: (e) => WJ(e) },+ column_getCanMultiSort: { fn: (e) => GJ(e) },+ column_getIsSorted: { fn: (e) => KJ(e) },+ column_getSortIndex: { fn: (e) => Z_e(e) },+ column_clearSorting: { fn: (e) => Q_e(e) },+ column_getToggleSortingHandler: { fn: (e) => $_e(e) }});},constructTableAPIs(e) {- _J("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => J_e(e) },- table_setSorting: { fn: (t) => CY(e, t) },- table_resetSorting: { fn: (t) => wY(e, t) }+ lq("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => X_e(e) },+ table_setSorting: { fn: (t) => IJ(e, t) },+ table_resetSorting: { fn: (t) => LJ(e, t) }});}-}, Q_e = typeof window > "u" ? D.useEffect : D.useLayoutEffect;-function FY(e, t) {+}, eve = typeof window > "u" ? D.useEffect : D.useLayoutEffect;+function JJ(e, t) {let [{ table: n, rootSource: r }] = (0, D.useState)(() => {- let t = f_e({+ let t = m_e({...e,features: {- coreReactivityFeature: tJ(),+ coreReactivityFeature: WK(),...e.features}});- return t.Subscribe = ((e) => Zq({+ return t.Subscribe = ((e) => BK({...e,source: e.source ?? t.store- })), t.FlexRender = Tq, {+ })), t.FlexRender = mK, {table: t,- rootSource: eJ(t.store, Wq)+ rootSource: UK(t.store, NK)};}), i = n;- PJ(i, (t) => ({+ qq(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = Xq(r, t, { compare: Wq });- return Q_e(() => {- r.markCommitted(o), NJ(i, a ?? null, Wq);+ let a = i.options.state, o = r.get(), s = zK(r, t, { compare: NK });+ return eve(() => {+ r.markCommitted(o), Kq(i, a ?? null, NK);}), (0, D.useMemo)(() => ({...n,options: e,@@ -56793,19 +56636,19 @@ function FY(e, t) {}//#endregion//#region src/react/boardui/components/base/table/table.tsx-function IY({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function YJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("div", {- className: GF("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, O.jsx)(Wue, {+ className: eF("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, O.jsx)(sde, {ref: r,...i,- className: GF("bui-table", e === "sm" && "bui-table-sm", t)+ className: eF("bui-table", e === "sm" && "bui-table-sm", t)})});}//#endregion//#region src/react/catalog-grid/catalog-table-columns.ts-var LY = "peach.catalog-column-widths.v1", RY = "peach.catalog-column-visibility.v1", $_e = {+var XJ = "peach.catalog-column-widths.v1", ZJ = "peach.catalog-column-visibility.v1", tve = {select: {width: 48,min: 48,@@ -56871,13 +56714,13 @@ var LY = "peach.catalog-column-widths.v1", RY = "peach.catalog-column-visibilitymin: 144,max: 560}-}, eve = {+}, nve = {code: !1,o: !1,new: !1,played: !1,release: !1-}, tve = {+}, rve = {select: "选择",name: "作品",dur: "时长",@@ -56891,7 +56734,7 @@ var LY = "peach.catalog-column-widths.v1", RY = "peach.catalog-column-visibilityrelease: "发行时间",code: "番号",tags: "标签"-}, zY = [+}, QJ = ["select","name","tags",@@ -56907,13 +56750,13 @@ var LY = "peach.catalog-column-widths.v1", RY = "peach.catalog-column-visibility"release"].map((e) => ({id: e,- label: tve[e],- ...$_e[e],+ label: rve[e],+ ...tve[e],flex: e === "name",required: e === "select" || e === "name",- visible: eve[e] !== !1+ visible: nve[e] !== !1}));-function BY(e) {+function $J(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -56921,9 +56764,9 @@ function BY(e) {return {};}}-function nve() {- let e = BY(LY), t = BY(RY);- return zY.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {+function ive() {+ let e = $J(XJ), t = $J(ZJ);+ return QJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);return {id: t.id,@@ -56935,31 +56778,31 @@ function nve() {}//#endregion//#region src/react/library-processing/completion-row.ts-var VY = "peach.catalog.completion-row";-function HY() {+var eY = "peach.catalog.completion-row";+function tY() {try {- return localStorage.getItem(VY) === "1";+ return localStorage.getItem(eY) === "1";} catch {return !1;}}-function rve(e) {+function ave(e) {try {- e ? localStorage.setItem(VY, "1") : localStorage.removeItem(VY);+ e ? localStorage.setItem(eY, "1") : localStorage.removeItem(eY);} catch {}}-var ive = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var ove = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";//#endregion//#region src/catalog-content-skeleton.ts-function UY(e) {+function nY(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function ave(e) {- let t = nve(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${UY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (HY() ? ive : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;+function sve(e) {+ let t = ive(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${nY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (tY() ? ove : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;}-function WY(e, t) {- return lM() === "list" ? ave(e) : _s(e, {+function rY(e, t) {+ return fM() === "list" ? sve(e) : _s(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t@@ -56967,7 +56810,7 @@ function WY(e, t) {}//#endregion//#region src/react/components/data-table-frame.tsx-function GY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {+function iY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let i = (0, D.useRef)(null);return (0, D.useEffect)(() => {let e = i.current?.querySelector(".overflow-x-auto") ?? null;@@ -56981,9 +56824,9 @@ function GY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let t = e.target;if (!(t instanceof Element)) return;let r = t.closest("[role=\"row\"][data-key]");- r && WG(e, r) && n(r.dataset.key);+ r && NW(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, O.jsx)(Hue, {+ children: r ? /* @__PURE__ */ (0, O.jsx)(ade, {className: "relative min-w-0",onResize: r.resize,onResizeEnd: r.save,@@ -56993,8 +56836,8 @@ function GY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {}//#endregion//#region src/react/components/select.tsx-function KY({ prefix: e, renderValue: t, size: n, ...r }) {- if (e == null) return /* @__PURE__ */ (0, O.jsx)(nW, {+function aY({ prefix: e, renderValue: t, size: n, ...r }) {+ if (e == null) return /* @__PURE__ */ (0, O.jsx)(dU, {...r,size: n,renderValue: t@@ -57004,7 +56847,7 @@ function KY({ prefix: e, renderValue: t, size: n, ...r }) {className: `shrink-0 text-text-tertiary ${i}`,children: e}), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });- return /* @__PURE__ */ (0, O.jsx)(nW, {+ return /* @__PURE__ */ (0, O.jsx)(dU, {...r,size: n,renderValue: a@@ -57012,13 +56855,13 @@ function KY({ prefix: e, renderValue: t, size: n, ...r }) {}//#endregion//#region src/react/components/table-pagination.tsx-function qY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function oY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, O.jsxs)("nav", {"aria-label": r,"data-pagination-layout": "",className: "inline-grid min-w-0 max-w-full items-center gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",disabled: e <= 1,@@ -57031,7 +56874,7 @@ function qY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {"aria-hidden": !0,className: "px-1 text-body-2-regular text-text-tertiary",children: "…"- }) : /* @__PURE__ */ (0, O.jsx)(q, {+ }) : /* @__PURE__ */ (0, O.jsx)(J, {variant: t === e ? "secondary" : "ghost",size: "small","aria-label": `第 ${t} 页`,@@ -57040,7 +56883,7 @@ function qY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {children: t}) }, t === "…" ? `dots-${r}` : t))}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",disabled: e >= t,@@ -57052,11 +56895,11 @@ function qY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {}//#endregion//#region src/react/components/table-controls.tsx-function JY({ label: e, options: t, sorting: n, onChange: r }) {+function sY({ label: e, options: t, sorting: n, onChange: r }) {let i = n[0];return /* @__PURE__ */ (0, O.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsxs)(KY, {+ children: [/* @__PURE__ */ (0, O.jsxs)(aY, {"aria-label": `${e}排序`,prefix: "排序",selectedKey: i?.id ?? "default",@@ -57066,18 +56909,18 @@ function JY({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, O.jsx)(rW, {+ children: [/* @__PURE__ */ (0, O.jsx)(fU, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(rW, {+ }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {id: e.id,children: e.label}, e.id))]- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: bW,+ leadingIcon: TU,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -57089,7 +56932,7 @@ function JY({ label: e, options: t, sorting: n, onChange: r }) {})]});}-function YY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {+function cY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {let o = Math.max(1, Math.ceil(t / n.pageSize)), s = Math.min(n.pageIndex, o - 1), c = t ? s * n.pageSize + 1 : 0, l = Math.min((s + 1) * n.pageSize, t);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-table-pagination": !0,@@ -57099,7 +56942,7 @@ function YY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记children: `${c.toLocaleString()}–${l.toLocaleString()} / ${t.toLocaleString()} ${i}`}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, O.jsx)(KY, {+ children: [/* @__PURE__ */ (0, O.jsx)(aY, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(n.pageSize),@@ -57114,11 +56957,11 @@ function YY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记20,50,100- ].map((e) => /* @__PURE__ */ (0, O.jsx)(rW, {+ ].map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {id: String(e),children: `每页 ${e} ${a}`}, e))- }), /* @__PURE__ */ (0, O.jsx)(qY, {+ }), /* @__PURE__ */ (0, O.jsx)(oY, {label: `${e}分页`,page: s + 1,pages: o,@@ -57132,7 +56975,7 @@ function YY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记}//#endregion//#region src/react/components/table-column-preferences.ts-function XY(e) {+function lY(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -57140,17 +56983,17 @@ function XY(e) {return {};}}-function ZY(e, t) {+function uY(e, t) {try {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function ove(e, t) {+function cve(e, t) {let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {let r = e[t];return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];})), [r, i] = (0, D.useState)(() => {- let r = XY(e);+ let r = lY(e);for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];return n(r);});@@ -57167,7 +57010,7 @@ function ove(e, t) {...r,...Object.fromEntries(t)});- i(a), ZY(e, a);+ i(a), uY(e, a);},reset: () => {i(n({}));@@ -57177,26 +57020,26 @@ function ove(e, t) {}};}-function sve(e, t, n, r = {}) {+function lve(e, t, n, r = {}) {let i = (e) => ({...r,...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))- }), [a, o] = (0, D.useState)(() => i(XY(e)));+ }), [a, o] = (0, D.useState)(() => i(lY(e)));return {visibility: a,change: (t) => {let n = i(typeof t == "function" ? t(a) : t);- o(n), ZY(e, n);+ o(n), uY(e, n);}};}-function QY(e, t, n) {+function dY(e, t, n) {let r = (0, D.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {width: e.width ?? 180,min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = ove(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = sve(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");+ }])), [t]), i = cve(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = lve(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");return {...i,...a,@@ -57216,16 +57059,16 @@ function QY(e, t, n) {}//#endregion//#region src/react/catalog-grid/catalog-column-widths.ts-function cve() {- return QY("catalog", zY, {- widths: LY,- visibility: RY+function uve() {+ return dY("catalog", QJ, {+ widths: XJ,+ visibility: ZJ});}//#endregion//#region src/react/components/rating-stars.tsx-var $Y = nB("star");-function eX({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {+var fY = Rz("star");+function pY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, O.jsx)("span", {"data-rating-stars": "",@@ -57248,16 +57091,16 @@ function eX({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {onClick: () => {n || t(e);},- children: n === e ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns("正在保存评分") } }) : /* @__PURE__ */ (0, O.jsx)($Y, {})+ children: n === e ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns("正在保存评分") } }) : /* @__PURE__ */ (0, O.jsx)(fY, {})}, e) : /* @__PURE__ */ (0, O.jsx)("span", {"data-rate": e,"data-on": String(i >= e),children: /* @__PURE__ */ (0, O.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, O.jsx)($Y, {}), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(fY, {}), /* @__PURE__ */ (0, O.jsx)("span", {"data-rating-fill": "",style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },- children: /* @__PURE__ */ (0, O.jsx)($Y, {})+ children: /* @__PURE__ */ (0, O.jsx)(fY, {})})]})}, e))@@ -57265,9 +57108,9 @@ function eX({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {}//#endregion//#region src/react/catalog-grid/catalog-table-controls.tsx-function lve({ item: e, actions: t }) {- let { rating: n } = e, r = JH(), i = (0, D.useRef)(0), a = vM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- hM(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {+function dve({ item: e, actions: t }) {+ let { rating: n } = e, r = AH(), i = (0, D.useRef)(0), a = IM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ NM(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -57279,13 +57122,13 @@ function lve({ item: e, actions: t }) {role: "group","aria-label": o,title: o,- children: [/* @__PURE__ */ (0, O.jsx)(eX, {+ children: [/* @__PURE__ */ (0, O.jsx)(pY, {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0- }), r.error ? /* @__PURE__ */ (0, O.jsx)($z, {+ }), r.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small","aria-label": "立即重试评分",@@ -57296,7 +57139,7 @@ function lve({ item: e, actions: t }) {}) : null]});}-function tX(e) {+function mY(e) {if (e == null || e === "") return "—";let t = String(e);if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;@@ -57312,14 +57155,14 @@ function tX(e) {}//#endregion//#region src/react/components/table-column-controls.tsx-function nX({ preferences: e, label: t = "表格" }) {+function hY({ preferences: e, label: t = "表格" }) {let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1), a = e.columns.filter((e) => !e.required);return /* @__PURE__ */ (0, O.jsxs)("div", {role: "group","aria-label": `${t}列设置`,className: "flex flex-none gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {ref: n,variant: "secondary",size: "medium",@@ -57328,18 +57171,18 @@ function nX({ preferences: e, label: t = "表格" }) {onClick: () => i(!0),children: "显示列"}),- /* @__PURE__ */ (0, O.jsx)(xR, {+ /* @__PURE__ */ (0, O.jsx)(rR, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: `${mV} overscroll-contain`,- children: /* @__PURE__ */ (0, O.jsxs)(VH, {+ className: `${XB} overscroll-contain`,+ children: /* @__PURE__ */ (0, O.jsxs)(CH, {"aria-label": `${t}显示列`,className: "flex w-48 flex-col gap-2 outline-none",children: [- a.map((t) => /* @__PURE__ */ (0, O.jsx)(xV, {+ a.map((t) => /* @__PURE__ */ (0, O.jsx)(rV, {isSelected: e.visibility[t.id] !== !1,onChange: (n) => e.change((e) => ({...e,@@ -57347,13 +57190,13 @@ function nX({ preferences: e, label: t = "表格" }) {})),children: t.label}, t.id)),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "ghost",size: "small",onClick: () => e.change(Object.fromEntries(a.map((e) => [e.id, !0]))),children: "显示全部列"}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "ghost",size: "small",onClick: () => e.change({}),@@ -57362,7 +57205,7 @@ function nX({ preferences: e, label: t = "表格" }) {]})}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "medium",onClick: e.reset,@@ -57371,41 +57214,41 @@ function nX({ preferences: e, label: t = "表格" }) {]});}-function rX({ preferences: e, id: t }) {+function gY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, O.jsx)($ue, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, O.jsx)(gde, { "aria-label": `调整${n.label}列宽` }) : null;}//#endregion//#region src/react/components/table-selection-header.tsx-function iX(e, t) {+function _Y(e, t) {let n = (t ? e.getPaginatedRowModel() : e.getFilteredRowModel()).flatRows.filter((e) => e.getCanSelect()), r = n.filter((e) => e.getIsSelected()).length;return {all: n.length > 0 && r === n.length,some: r > 0 && r < n.length};}-function aX({ table: e, label: t, page: n = !1, disabled: r = !1 }) {- let { all: i, some: a } = iX(e, n);- return /* @__PURE__ */ (0, O.jsx)(xV, {+function vY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {+ let { all: i, some: a } = _Y(e, n);+ return /* @__PURE__ */ (0, O.jsx)(rV, {slot: null,"aria-label": t,isDisabled: r,isSelected: i,isIndeterminate: a,onChange: () => {- let t = !iX(e, n).all;+ let t = !_Y(e, n).all;n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);}});}//#endregion//#region src/react/catalog-grid/catalog-list-page.tsx-var uve = IJ({- rowSortingFeature: PY,- rowSelectionFeature: xY,- rowPaginationFeature: eY,- columnVisibilityFeature: WJ-}), dve = [+var fve = Yq({+ rowSortingFeature: qJ,+ rowSelectionFeature: PJ,+ rowPaginationFeature: pJ,+ columnVisibilityFeature: rJ+}), pve = [{id: "name",label: "名称"@@ -57442,12 +57285,12 @@ var uve = IJ({id: "played",label: "观看时间"}-], oX = /* @__PURE__ */ new Map();-function fve(e) {- let t = cve(), n = HG(), r = dM(e.filters || {}, !1), [i] = (0, D.useState)(() => {+], yY = /* @__PURE__ */ new Map();+function mve(e) {+ let t = uve(), n = jW(), r = gM(e.filters || {}, !1), [i] = (0, D.useState)(() => {let t = new URLSearchParams(r);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;- }), [a, o] = (0, D.useState)(() => oX.get(i) || {+ }), [a, o] = (0, D.useState)(() => yY.get(i) || {sorting: [],pagination: {pageIndex: 0,@@ -57455,7 +57298,7 @@ function fve(e) {}}), { sorting: s, pagination: c } = a;(0, D.useEffect)(() => {- oX.set(i, a);+ yY.set(i, a);}, [i, a]);let l = c.pageIndex * c.pageSize, u = s[0], d = St({queryKey: [@@ -57481,9 +57324,9 @@ function fve(e) {let i = new URLSearchParams(r);return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), V(`/api/items?${i}`, t);}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : vq(f, e.layout.javImage), [h] = (0, D.useState)(HY);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : sK(f, e.layout.javImage), [h] = (0, D.useState)(tY);(0, D.useEffect)(() => {- d.data && !d.isPlaceholderData && rve(m.length > 0);+ d.data && !d.isPlaceholderData && ave(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -57515,19 +57358,19 @@ function fve(e) {p,c.pageIndex]);- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = FY({- features: uve,+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = JJ({+ features: fve,columns: (0, D.useMemo)(() => {- let t = FJ();+ let t = Jq();return t.columns([t.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, O.jsx)(aX, {+ header: ({ table: e }) => /* @__PURE__ */ (0, O.jsx)(vY, {table: e,label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(xV, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(rV, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -57539,7 +57382,7 @@ function fve(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(pve, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(hve, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -57596,7 +57439,7 @@ function fve(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(lve, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(dve, {item: t.original,actions: e.actions})@@ -57617,13 +57460,13 @@ function fve(e) {id: "played",header: "观看时间",enableSorting: !0,- cell: ({ row: e }) => tX(e.original.last_played)+ cell: ({ row: e }) => mY(e.original.last_played)}),t.accessor((e) => e.first_seen, {id: "new",header: "入库时间",enableSorting: !0,- cell: ({ row: e }) => tX(e.original.first_seen)+ cell: ({ row: e }) => mY(e.original.first_seen)}),t.accessor((e) => e.release_date, {id: "release",@@ -57683,9 +57526,9 @@ function fve(e) {"aria-label": "作品列表工具栏",children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, O.jsx)(nX, { preferences: t }), /* @__PURE__ */ (0, O.jsx)(JY, {+ children: [/* @__PURE__ */ (0, O.jsx)(hY, { preferences: t }), /* @__PURE__ */ (0, O.jsx)(sY, {label: "作品列表",- options: dve,+ options: pve,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -57695,21 +57538,21 @@ function fve(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, O.jsx)(yq, {+ }) : null : /* @__PURE__ */ (0, O.jsx)(cK, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, O.jsx)(xG, {+ d.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {message: Ut(d.error),onRetry: () => void d.refetch()}) : null,- /* @__PURE__ */ (0, O.jsx)(GY, {+ /* @__PURE__ */ (0, O.jsx)(iY, {follow: !0,preferences: t,onRowClick: e.selectMode ? (t) => {d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);} : void 0,- children: /* @__PURE__ */ (0, O.jsxs)(IY, {+ children: /* @__PURE__ */ (0, O.jsxs)(YJ, {"aria-label": "作品列表",size: "sm",sortDescriptor: u ? {@@ -57720,47 +57563,47 @@ function fve(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, O.jsxs)(lz, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(uz, {+ children: [/* @__PURE__ */ (0, O.jsxs)(GR, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(KR, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {className: "flex items-center gap-0.5",- children: [wq(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {+ children: [pK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, O.jsx)(dV, {})+ children: /* @__PURE__ */ (0, O.jsx)(qB, {})}) : null]- }), /* @__PURE__ */ (0, O.jsx)(rX, {+ }), /* @__PURE__ */ (0, O.jsx)(gY, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, O.jsx)(uz, {+ }, e.id)), /* @__PURE__ */ (0, O.jsx)(KR, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, O.jsx)(pz, {+ })] }), /* @__PURE__ */ (0, O.jsx)(YR, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(gz, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(QR, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(vz, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: UY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)(vz, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(gz, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(ez, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: nY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)(ez, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(QR, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(vz, { children: wq(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)(vz, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(ez, { children: pK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)(ez, { "data-table-space": "" })]}, e.id))})]})}),- d.data ? /* @__PURE__ */ (0, O.jsx)(YY, {+ d.data ? /* @__PURE__ */ (0, O.jsx)(cY, {label: "作品列表",total: p,pagination: c,@@ -57771,8 +57614,8 @@ function fve(e) {]});}-function pve({ item: e, props: t, disabled: n }) {- let r = Ga(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = eK(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = HG({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, O.jsx)("svg", {+function hve({ item: e, props: t, disabled: n }) {+ let r = Ga(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = UW(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = jW({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })@@ -57797,7 +57640,7 @@ function pve({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, O.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, O.jsx)(SG, {+ r.html ? /* @__PURE__ */ (0, O.jsx)(dW, {artwork: r,relayout: (e) => tl(e, "small")}) : /* @__PURE__ */ (0, O.jsx)("span", { children: "无预览" }),@@ -57852,7 +57695,7 @@ function pve({ item: e, props: t, disabled: n }) {children: [p?.name ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-list-library": "",title: `媒体库:${p.name}`,- children: [/* @__PURE__ */ (0, O.jsx)(RU, { mark: p.icon }), p.name]+ children: [/* @__PURE__ */ (0, O.jsx)(qH, { mark: p.icon }), p.name]}) : null, u]})]})@@ -57861,20 +57704,20 @@ function pve({ item: e, props: t, disabled: n }) {}//#endregion//#region src/react/catalog-grid/catalog-grid-page.tsx-function sX(e) {- let t = uM();- if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(hve, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${dM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(fve, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(gve, { ...e }, n);+function bY(e) {+ let t = hM();+ if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(_ve, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${gM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(mve, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(vve, { ...e }, n);}-function mve({ name: e }) {+function gve({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function cX({ children: e, selectMode: t }) {+function xY({ children: e, selectMode: t }) {let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1);return (0, D.useLayoutEffect)(() => {let e = n.current;@@ -57890,8 +57733,8 @@ function cX({ children: e, selectMode: t }) {children: e});}-function hve(e) {- let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(cK, {+function _ve(e) {+ let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(ZW, {item: i,variant: r,layout: e.layout,@@ -57905,13 +57748,13 @@ function hve(e) {return r === "next" ? /* @__PURE__ */ (0, O.jsx)("div", {"data-media-next-row": "",children: i- }) : /* @__PURE__ */ (0, O.jsx)(cX, {+ }) : /* @__PURE__ */ (0, O.jsx)(xY, {selectMode: e.selectMode,children: i});}-function gve(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Nse(e) : fM(e), [s] = (0, D.useState)(() => e.wall ? Fse(o.queryKey) : void 0), c = s || (i && e.initial ? {+function vve(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? CM(e) : SM(e), [s] = (0, D.useState)(() => e.wall ? TM(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -57932,7 +57775,7 @@ function gve(e) {(0, D.useEffect)(() => {l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));}, [l.isPending]);- let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => Lse(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => kM(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -57942,7 +57785,7 @@ function gve(e) {e.mix,a,r.javImage- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || JK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && zK(e.item) ? [e.item] : []), v = a ? [] : vq(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = bG(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = _ve(e, l.data, d, f, b);+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || LG(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && OG(e.item) ? [e.item] : []), v = a ? [] : sK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = lW(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = yve(e, l.data, d, f, b);(0, D.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -57969,12 +57812,12 @@ function gve(e) {let C = (0, D.useCallback)((e, t) => n.open(e, t), [n]), w = (0, D.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, D.useCallback)((e) => n.openShort(e), [n]), E = (0, D.useCallback)(async () => {let e = await l.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(yve, {+ }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(xve, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(cK, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(ZW, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -57992,10 +57835,10 @@ function gve(e) {"data-grid-reveal": y.fading ? "" : void 0,children: [!e.wall && y.layer,- /* @__PURE__ */ (0, O.jsx)(yq, { assetIds: v }),+ /* @__PURE__ */ (0, O.jsx)(cK, { assetIds: v }),(() => {- if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)(uq, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${dM(e.filters || {}, !!e.excludeVertical)}`,+ if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)($G, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${gM(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,@@ -58003,7 +57846,7 @@ function gve(e) {loading: l.isPending || !l.data && l.isFetching,error: !l.data && !l.isPending ? Ut(l.error) : "",retry: () => void l.refetch(),- emptyHtml: l.data && !_.length ? hq({+ emptyHtml: l.data && !_.length ? iK({libraryEmpty: !!l.data.pages[0]?.libraryEmpty,matches: m,hasMore: !!l.hasNextPage,@@ -58018,7 +57861,7 @@ function gve(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, O.jsx)(xG, {+ if (!l.data) return /* @__PURE__ */ (0, O.jsx)(uW, {message: Ut(l.error),onRetry: () => void l.refetch()});@@ -58035,12 +57878,12 @@ function gve(e) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: Bse(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(cX, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(vve, {+ children: MM(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(xY, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(bve, {cut: t.strip,props: e,onOpen: T}) : null] }, t.start))- }), l.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(lX, {+ }), l.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(SY, {entity: i,load: E,enabled: () => e.canLoadMore?.() !== !1@@ -58049,7 +57892,7 @@ function gve(e) {]});}-function lX({ entity: e, load: t, enabled: n, children: r }) {+function SY({ entity: e, load: t, enabled: n, children: r }) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(!1), s = (0, D.useRef)(!1), [c, l] = (0, D.useState)({busy: !1,error: ""@@ -58091,7 +57934,7 @@ function lX({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: yG });+ }, { rootMargin: cW });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -58114,12 +57957,12 @@ function lX({ entity: e, load: t, enabled: n, children: r }) {hidden: !!c.error,onClick: () => void d(!0),dangerouslySetInnerHTML: { __html: is(rs) }- }), c.error ? /* @__PURE__ */ (0, O.jsx)(xG, {+ }), c.error ? /* @__PURE__ */ (0, O.jsx)(uW, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function _ve(e, t, n, r, i) {+function yve(e, t, n, r, i) {let [a, o] = (0, D.useState)([]), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(0), u = (0, D.useRef)(0), d = (0, D.useRef)({parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()@@ -58131,7 +57974,7 @@ function _ve(e, t, n, r, i) {let r = new AbortController();f.current.push(r);let i = n - 1;- V(`/api/items?${zse(e.filters || {}, l.current)}`, r.signal).then((e) => {+ V(`/api/items?${jM(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -58143,9 +57986,9 @@ function _ve(e, t, n, r, i) {}, [t]), (0, D.useLayoutEffect)(() => {if (!s) return;c(null);- let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = Rse(n.length - t, m, p);+ let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = AM(n.length - t, m, p);if (!h.length) return;- let g = pM(s.items, d.current, e.groupCollapse !== !1);+ let g = EM(s.items, d.current, e.groupCollapse !== !1);if (l.current = s.more ? l.current + 18 : 0, !g.length) return;let _ = t + (h[Math.floor(Math.random() * h.length)] ?? 0);o((e) => [...e, {@@ -58155,7 +57998,7 @@ function _ve(e, t, n, r, i) {}]);}, [s]), a;}-function vve({ cut: e, props: t, onOpen: n }) {+function bve({ cut: e, props: t, onOpen: n }) {let r = (0, D.useRef)(null), { wireDrag: i } = t;return (0, D.useEffect)(() => {r.current && i(r.current);@@ -58171,12 +58014,12 @@ function vve({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, O.jsx)(mve, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, O.jsx)(gve, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, O.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(cK, {+ children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(ZW, {item: e,variant: "short",layout: t.layout,@@ -58191,17 +58034,17 @@ function vve({ cut: e, props: t, onOpen: n }) {})]});}-function uX(e, t, n) {+function CY(e, t, n) {return Ka(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function yve({ seed: e, layout: t, helpers: n, actions: r }) {+function xve({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, D.useRef)(/* @__PURE__ */ new Map()), a = (0, D.useRef)(t);a.current = t;let o = Qa(e, n.tagLabel), s = (0, D.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => mM(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), uX(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = uX(e, t, !1);- return /* @__PURE__ */ (0, O.jsx)(vK, {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => DM(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), CY(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = CY(e, t, !1);+ return /* @__PURE__ */ (0, O.jsx)(sG, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -58211,12 +58054,12 @@ function yve({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : uX(e, {+ artworkIdentity: c === "small" ? l.html : CY(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => tl(e, c),- ratio: $G(e, "grid", t),+ ratio: HW(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -58228,37 +58071,37 @@ function yve({ seed: e, layout: t, helpers: n, actions: r }) {}//#endregion//#region src/react/media-sources.ts-async function dX(e) {+async function wY(e) {await U.fetchQuery({queryKey: Bn,queryFn: () => Vn(e)});}-var bve = (e) => (e?.sources ?? []).filter((e) => Bt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), xve = "/api/duplicates?limit=120", fX = ["duplicates"], pX = "/api/batch", mX = (e) => V(xve, e), Sve = /[\s\-_.()[\]【】/\\]/;-function Cve(e) {+var Sve = (e) => (e?.sources ?? []).filter((e) => Bt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Cve = "/api/duplicates?limit=120", TY = ["duplicates"], EY = "/api/batch", DY = (e) => V(Cve, e), wve = /[\s\-_.()[\]【】/\\]/;+function Tve(e) {if (e.length < 2) return "";let t = 0, n = e[0];for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));let r = t;- for (; r > 0 && !Sve.test(n[r - 1]);) --r;+ for (; r > 0 && !wve.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var wve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function Tve(e) {+var Eve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function Dve(e) {await Promise.all([U.fetchQuery({- queryKey: fX,- queryFn: () => mX(e)- }), dX(e)]);+ queryKey: TY,+ queryFn: () => DY(e)+ }), wY(e)]);}-var Eve = {+var Ove = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, Dve = (e, t) => t.filter((t) => e.some((e) => e.location === t)), hX = (e, t) => Dve(e, t).filter((t) => e.some((e) => e.location !== t)), Ove = (e, t) => t.filter((t) => e.some((e) => hX(e.files, [t]).length));-function kve(e, t) {+}, kve = (e, t) => t.filter((t) => e.some((e) => e.location === t)), OY = (e, t) => kve(e, t).filter((t) => e.some((e) => e.location !== t)), Ave = (e, t) => t.filter((t) => e.some((e) => OY(e.files, [t]).length));+function jve(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -58277,12 +58120,12 @@ function kve(e, t) {}return n;}-function Ave(e, t) {+function Mve(e, t) {let n = new Set(t);return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);}-async function jve(e, t) {- for (let n = 0; n < e.length; n += 200) await H(pX, {+async function Nve(e, t) {+ for (let n = 0; n < e.length; n += 200) await H(EY, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}@@ -58290,7 +58133,7 @@ async function jve(e, t) {}//#endregion//#region src/react/media-repair/media-repair.ts-var gX = "/api/media-repair", _X = ["media-repair"], vX = ["media-repair", "libraries"], Mve = {+var kY = "/api/media-repair", AY = ["media-repair"], jY = ["media-repair", "libraries"], Pve = {status: "idle",library: "",stage: "",@@ -58302,41 +58145,41 @@ var gX = "/api/media-repair", _X = ["media-repair"], vX = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, yX = (e) => V(gX, e), bX = async (e) => (await V("/api/libraries", e)).libraries || [];-async function Nve(e) {+}, MY = (e) => V(kY, e), NY = async (e) => (await V("/api/libraries", e)).libraries || [];+async function Fve(e) {await Promise.all([U.fetchQuery({- queryKey: _X,- queryFn: () => yX(e)+ queryKey: AY,+ queryFn: () => MY(e)}), U.fetchQuery({- queryKey: vX,- queryFn: () => bX(e)+ queryKey: jY,+ queryFn: () => NY(e)})]);}-var xX = (e) => Number(e).toLocaleString();-function Pve(e) {+var PY = (e) => Number(e).toLocaleString();+function Ive(e) {if (e.status === "running") {- let t = e.total ? `${xX(Math.min(e.checked || 0, e.total))} / ${xX(e.total)}` : "准备中";+ let t = e.total ? `${PY(Math.min(e.checked || 0, e.total))} / ${PY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${xX(e.repaired)} 部,${xX(e.failed)} 部修不了` : `修好 ${xX(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${PY(e.repaired)} 部,${PY(e.failed)} 部修不了` : `修好 ${PY(e.repaired)} 部` : "";}-var Fve = (e) => `${xX(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Ive = "/api/quality-goals?limit=200", SX = ["quality-goals"], CX = (e) => V(Ive, e);-async function Lve(e) {+var Lve = (e) => `${PY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Rve = "/api/quality-goals?limit=200", FY = ["quality-goals"], IY = (e) => V(Rve, e);+async function zve(e) {await U.fetchQuery({- queryKey: SX,- queryFn: () => CX(e)+ queryKey: FY,+ queryFn: () => IY(e)});}-var Rve = (e) => e.has_cover ? Aa(e) : `/poster?id=${e.id}&c=4`;+var Bve = (e) => e.has_cover ? Aa(e) : `/poster?id=${e.id}&c=4`;//#endregion//#region src/selection.ts-function wX(e, t, n, r, i, a = i || !e.has(r)) {+function LY(e, t, n, r, i, a = i || !e.has(r)) {let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;}//#endregion//#region src/react/review/review.ts-var zve = "/api/review", Bve = "/api/review/decision", Vve = "/api/review/genre", TX = ["review"], EX = {+var Vve = "/api/review", Hve = "/api/review/decision", Uve = "/api/review/genre", RY = ["review"], zY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -58346,15 +58189,15 @@ var zve = "/api/review", Bve = "/api/review/decision", Vve = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, Hve = Object.keys(EX), Uve = "metadata_fields", DX = (e) => typeof e == "string" && Object.hasOwn(EX, e), Wve = {+}, Wve = Object.keys(zY), Gve = "metadata_fields", BY = (e) => typeof e == "string" && Object.hasOwn(zY, e), Kve = {creator_tags: "creator",western_identity: "creator"};-function Gve(e, t) {+function qve(e, t) {let n = [["candidates", t ? "按来源数量" : "全部待复核"]];return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;}-function OX(e, t) {+function VY(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -58371,10 +58214,10 @@ function OX(e, t) {}return [...n.values()];}-function Kve(e, t, n) {- return n && OX(e, t).find((e) => e.key === n)?.rows || e;+function Jve(e, t, n) {+ return n && VY(e, t).find((e) => e.key === n)?.rows || e;}-function qve(e, t) {+function Yve(e, t) {let n = Ln(e.length, 20), r = Rn(t, n);return {page: r,@@ -58382,32 +58225,32 @@ function qve(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function Jve(e) {+function Xve(e) {return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];}-function Yve(e, t, n, r, i, a) {- return wX(e, t, n, r, i, a);+function Zve(e, t, n, r, i, a) {+ return LY(e, t, n, r, i, a);}-function Xve(e, t) {+function Qve(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function kX(e, t) {+function HY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var AX = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function Zve(e, t) {- let n = kX(e, t), r = AX(e, t);+var UY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function $ve(e, t) {+ let n = HY(e, t), r = UY(e, t);return r ? `${n} · ${r}` : n;}-var Qve = (e) => e.reason || e.evidence || e.note || e.decision_note || "", $ve = (e) => String(e.tags || "").split("|").filter(Boolean), eye = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function tye(e) {+var eye = (e) => e.reason || e.evidence || e.note || e.decision_note || "", tye = (e) => String(e.tags || "").split("|").filter(Boolean), nye = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function rye(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function nye(e, t, n, r) {+function iye(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -58423,12 +58266,12 @@ function nye(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var rye = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", jX = (e) => V(zve, e);-async function iye(e) {- let t = await H(Bve, e);+var aye = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", WY = (e) => V(Vve, e);+async function oye(e) {+ let t = await H(Hve, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- U.setQueryData(TX, (t) => t && {+ U.setQueryData(RY, (t) => t && {...t,sections: {...t.sections,@@ -58444,22 +58287,22 @@ async function iye(e) {}return t;}-function aye(e, t) {- return U.getQueryData(TX)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;+function sye(e, t) {+ return U.getQueryData(RY)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;}-var oye = (e, t) => H(Vve, {+var cye = (e, t) => H(Uve, {genre: e,tag: t});-async function sye(e) {+async function lye(e) {await U.fetchQuery({- queryKey: TX,- queryFn: () => jX(e)+ queryKey: RY,+ queryFn: () => WY(e)});}-function cye(e, t) {+function uye(e, t) {let n = new Set(t);- n.size && U.setQueryData(TX, (t) => {+ n.size && U.setQueryData(RY, (t) => {if (!t) return t;let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));return i.length === r.length ? t : {@@ -58475,228 +58318,228 @@ function cye(e, t) {};});}-var lye = () => U.invalidateQueries({- queryKey: TX,+var dye = () => U.invalidateQueries({+ queryKey: RY,exact: !0});-function uye(e, t) {+function fye(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Wn(e.fetched_at)} 的缓存` : e?.error || t;}//#endregion//#region src/react/data-cleanup/links.ts-var dye = "/api/links", MX = "/api/links/check", NX = "/api/links/prune", PX = ["links"], FX = ["links", "check"], IX = ["links", "prune"], fye = {+var pye = "/api/links", GY = "/api/links/check", KY = "/api/links/prune", qY = ["links"], JY = ["links", "check"], YY = ["links", "prune"], mye = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function LX(e) {+async function XY(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var RX = (e) => V(dye, e), zX = (e) => H(MX, { status_only: !0 }, "POST", e), pye = ({ retry: e, checkId: t }) => LX(H(MX, e ? {+var ZY = (e) => V(pye, e), QY = (e) => H(GY, { status_only: !0 }, "POST", e), hye = ({ retry: e, checkId: t }) => XY(H(GY, e ? {retry: e,check_id: t-} : { restart: !0 })), BX = (e) => V(NX, e), mye = ({ checkId: e, ids: t }) => LX(H(NX, {+} : { restart: !0 })), $Y = (e) => V(KY, e), gye = ({ checkId: e, ids: t }) => XY(H(KY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), VX = (e) => Number(e || 0).toLocaleString(), hye = (e) => `已删除 ${VX(e.removed)} 条;${e.marked ? `已隐退女优的 ${VX(e.marked)} 条留作不可点的记录;` : ""}保留 ${VX(e.recovered)} 条未确认失效的链接。`;-function gye(e) {+})), eX = (e) => Number(e || 0).toLocaleString(), _ye = (e) => `已删除 ${eX(e.removed)} 条;${e.marked ? `已隐退女优的 ${eX(e.marked)} 条留作不可点的记录;` : ""}保留 ${eX(e.recovered)} 条未确认失效的链接。`;+function vye(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${VX(e.checked)} / ${VX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${eX(e.checked)} / ${eX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}//#endregion//#region src/configuration-endpoints.ts-var HX = "/api/configuration", UX = "/api/pick-folder", WX = "/api/settings", GX = "/api/follow/schedule", KX = "/api/feeds/schedule", qX = "/api/thumbnail-jobs", JX = ["settings"], YX = ["follow-schedule"], XX = ["feed-schedule"], ZX = ["thumbnail-jobs"], QX = "/api/media-processing", _ye = ["media-processing"], vye = (e) => V(QX, e), $X = (e) => V(WX, e), yye = (e) => V(GX, e), bye = (e) => V(KX, e), xye = (e) => V(qX, e);-function Sye(e = U) {+var tX = "/api/configuration", nX = "/api/pick-folder", rX = "/api/settings", iX = "/api/follow/schedule", aX = "/api/feeds/schedule", oX = "/api/thumbnail-jobs", sX = ["settings"], cX = ["follow-schedule"], lX = ["feed-schedule"], uX = ["thumbnail-jobs"], dX = "/api/media-processing", yye = ["media-processing"], bye = (e) => V(dX, e), fX = (e) => V(rX, e), xye = (e) => V(iX, e), Sye = (e) => V(aX, e), Cye = (e) => V(oX, e);+function wye(e = U) {return e.fetchQuery({- queryKey: JX,- queryFn: ({ signal: e }) => $X(e),+ queryKey: sX,+ queryFn: ({ signal: e }) => fX(e),staleTime: 0}).catch(() => null);}-function eZ() {+function pX() {return Ct({- mutationFn: (e) => H(WX, e),- onSuccess: (e) => U.setQueryData(JX, e)+ mutationFn: (e) => H(rX, e),+ onSuccess: (e) => U.setQueryData(sX, e)});}-function Cye() {+function Tye() {return Ct({- mutationFn: (e) => H(GX, {+ mutationFn: (e) => H(iX, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => U.setQueryData(YX, e)+ onSuccess: (e) => U.setQueryData(cX, e)});}-var wye = {+var Eye = {follow: {- url: `${GX}/run`,- key: YX+ url: `${iX}/run`,+ key: cX},feed: {- url: `${KX}/run`,- key: XX+ url: `${aX}/run`,+ key: lX}};-function Tye(e) {- let { url: t, key: n } = wye[e];+function Dye(e) {+ let { url: t, key: n } = Eye[e];return Ct({mutationFn: () => H(t, {}),onSuccess: (e) => U.setQueryData(n, e)});}-var Eye = (e) => e?.running ? 3e3 : !1;-function Dye() {+var Oye = (e) => e?.running ? 3e3 : !1;+function kye() {return Ct({- mutationFn: (e) => H(qX, { mode: e }),- onSuccess: (e) => U.setQueryData(ZX, e)+ mutationFn: (e) => H(oX, { mode: e }),+ onSuccess: (e) => U.setQueryData(uX, e)});}//#endregion//#region src/react/data-cleanup/organize.ts-var Oye = "/api/organize", kye = "/api/organize/preview", Aye = "/api/organize/apply", jye = "/api/organize/rollback", tZ = ["organize"], Mye = "/api/organize/example", Nye = (e, t, n) => V(`${Mye}?${new URLSearchParams({+var Aye = "/api/organize", jye = "/api/organize/preview", Mye = "/api/organize/apply", Nye = "/api/organize/rollback", mX = ["organize"], Pye = "/api/organize/example", Fye = (e, t, n) => V(`${Pye}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), nZ = (e) => V(Oye, e);-async function Pye(e) {+})}`, n), hX = (e) => V(Aye, e);+async function Iye(e) {await U.fetchQuery({- queryKey: tZ,- queryFn: () => nZ(e)+ queryKey: mX,+ queryFn: () => hX(e)});}-var Fye = (e) => H(kye, e), Iye = (e) => H(UX, { initial: e }), Lye = (e) => e.kind === "apply" ? H(Aye, {+var Lye = (e) => H(jye, e), Rye = (e) => H(nX, { initial: e }), zye = (e) => e.kind === "apply" ? H(Mye, {...e.request,confirm: !0-}) : H(jye, { confirm: !0 });-async function Rye(e) {- U.setQueryData(tZ, (t) => t && {+}) : H(Nye, { confirm: !0 });+async function Bye(e) {+ U.setQueryData(mX, (t) => t && {...t,templates: e});try {- await H(WX, { organizeTemplates: e });+ await H(rX, { organizeTemplates: e });} catch {}}-var zye = (e, t) => e && {+var Vye = (e, t) => e && {...e,...t-}, Bye = /目录模板|分隔符|盘符|`\.`/;-function Vye(e) {+}, Hye = /目录模板|分隔符|盘符|`\.`/;+function Uye(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var rZ = (e) => Number(e || 0).toLocaleString();-function Hye(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${rZ(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${rZ(e.counts.change)} 个文件会改名或移动,${rZ(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+var gX = (e) => Number(e || 0).toLocaleString();+function Wye(e) {+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${gX(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${gX(e.counts.change)} 个文件会改名或移动,${gX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function Uye(e) {+function Gye(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${rZ(r)} 个文件${n ? `,${rZ(n)} 行未能退回` : ""}。` : `已整理 ${rZ(r)} 个文件${n ? `,${rZ(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${gX(r)} 个文件${n ? `,${gX(n)} 行未能退回` : ""}。` : `已整理 ${gX(r)} 个文件${n ? `,${gX(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}//#endregion//#region src/react/data-cleanup/orphan-records.ts-var Wye = "/api/orphan-records", Gye = "/api/orphan-records/attach", iZ = ["orphan-records"], Kye = [+var Kye = "/api/orphan-records", qye = "/api/orphan-records/attach", _X = ["orphan-records"], Jye = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], aZ = (e) => V(Wye, e), qye = (e, t) => H(Gye, {+], vX = (e) => V(Kye, e), Yye = (e, t) => H(qye, {id: e,target: t-}), Jye = (e) => H(pX, {+}), Xye = (e) => H(EY, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), Yye = (e) => [+}), Zye = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], Xye = (e) => [...Kye.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Yye(e)].filter(Boolean).join(" · "), Zye = (e) => e ? `${Math.round(e / 60)} 分钟` : "", Qye = (e) => [e.name, Zye(e.duration)].filter(Boolean).join(" · "), oZ = "/api/resource-sync/scan", sZ = "/api/resource-sync/apply", cZ = ["resource-sync", "scan"], lZ = ["resource-sync", "apply"], uZ = (e) => H(oZ, {+], Qye = (e) => [...Jye.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Zye(e)].filter(Boolean).join(" · "), $ye = (e) => e ? `${Math.round(e / 60)} 分钟` : "", ebe = (e) => [e.name, $ye(e.duration)].filter(Boolean).join(" · "), yX = "/api/resource-sync/scan", bX = "/api/resource-sync/apply", xX = ["resource-sync", "scan"], SX = ["resource-sync", "apply"], CX = (e) => H(yX, {background: !0,status_only: !0-}, "POST", e), $ye = () => H(oZ, {+}, "POST", e), tbe = () => H(yX, {background: !0,restart: !0-}), dZ = (e) => V(sZ, e), ebe = (e) => H(sZ, {+}), wX = (e) => V(bX, e), nbe = (e) => H(bX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), fZ = (e) => (e?.sources ?? []).some((e) => zt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function tbe(e) {- fZ(U.getQueryData(Bn)) && await Promise.all([U.fetchQuery({- queryKey: cZ,- queryFn: () => uZ(e)+}), TX = (e) => (e?.sources ?? []).some((e) => zt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function rbe(e) {+ TX(U.getQueryData(Bn)) && await Promise.all([U.fetchQuery({+ queryKey: xX,+ queryFn: () => CX(e)}), U.fetchQuery({- queryKey: lZ,- queryFn: () => dZ(e)+ queryKey: SX,+ queryFn: () => wX(e)})]);}-var nbe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), pZ = (e) => Number(e || 0).toLocaleString(), rbe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", mZ = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), hZ = (e) => e.vanish ? `${pZ(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", gZ = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", ibe = (e) => `将永久删除文件已不在盘上的 ${pZ(mZ(e))} 条记录和 ${pZ(e.empty)} 个空文件夹,并清理 ${pZ(e.cache?.files)} 个闲置缓存。${gZ(e)}${hZ(e)}`, abe = (e) => `将永久删除文件已不在盘上的 ${pZ(mZ(e))} 条记录(含回收站里的)、${pZ(e.empty)} 个空文件夹,并清理 ${pZ(e.cache?.files)} 个闲置缓存。来源根目录保留。${gZ(e)}${hZ(e)}`, obe = (e) => e.online ? [- `找不到文件 · 共 ${pZ(e.total)} 项`,- e.vanish ? `${pZ(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${pZ(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${pZ(e.total)} 项`;-function _Z(e) {+var ibe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), EX = (e) => Number(e || 0).toLocaleString(), abe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", DX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), OX = (e) => e.vanish ? `${EX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", kX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", obe = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录和 ${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。${kX(e)}${OX(e)}`, sbe = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录(含回收站里的)、${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。来源根目录保留。${kX(e)}${OX(e)}`, cbe = (e) => e.online ? [+ `找不到文件 · 共 ${EX(e.total)} 项`,+ e.vanish ? `${EX(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${EX(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${EX(e.total)} 项`;+function AX(e) {let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");return {done: i,left: a,rest: [- t.length ? `${pZ(t.length)} 条记录没有删除(${o})` : "",- n ? `${pZ(n)} 个文件夹没有删除` : "",- r.length ? `${pZ(r.length)} 个缓存没有清理` : ""+ t.length ? `${EX(t.length)} 条记录没有删除(${o})` : "",+ n ? `${EX(n)} 个文件夹没有删除` : "",+ r.length ? `${EX(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var sbe = (e, t) => {- let { rest: n } = _Z(e), r = `已永久删除 ${pZ(e.purged)} 条失效记录和 ${pZ(e.dirs_removed)} 个空文件夹,清理 ${pZ(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${pZ(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${pZ(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var lbe = (e, t) => {+ let { rest: n } = AX(e), r = `已永久删除 ${EX(e.purged)} 条失效记录和 ${EX(e.dirs_removed)} 个空文件夹,清理 ${EX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${EX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${EX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, cbe = "/api/review?counts=1", vZ = ["review", "counts"], lbe = "/api/ads?limit=1", yZ = ["junk-summary"], bZ = "/api/items?state=trash&limit=1", xZ = ["trash-summary"], ube = [+}, ube = "/api/review?counts=1", jX = ["review", "counts"], dbe = "/api/ads?limit=1", MX = ["junk-summary"], NX = "/api/items?state=trash&limit=1", PX = ["trash-summary"], fbe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], SZ = (e) => V(cbe, e), CZ = (e) => V(lbe, e), wZ = (e) => {+], FX = (e) => V(ube, e), IX = (e) => V(dbe, e), LX = (e) => {let t = sessionStorage.getItem("peach.library");- return V(t ? `${bZ}&library=${encodeURIComponent(t)}` : bZ, e);-}, TZ = (e) => Number(e || 0).toLocaleString();-function dbe(e) {- let t = EX, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);+ return V(t ? `${NX}&library=${encodeURIComponent(t)}` : NX, e);+}, RX = (e) => Number(e || 0).toLocaleString();+function pbe(e) {+ let t = zY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);return a && i.push(`其余 ${a.toLocaleString()}`), {figure: `${r.toLocaleString()} 条待复核`,meta: i.join(" · ")};}-function fbe(e) {+function mbe(e) {if (!e) return "";- let t = ube.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${TZ(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${TZ(e.dismissed_total)}`), t.join(" · ");-}-var pbe = [- [vZ, ({ signal: e }) => SZ(e)],- [SX, ({ signal: e }) => CX(e)],- [xZ, ({ signal: e }) => wZ(e)],- [PX, ({ signal: e }) => RX(e)],- [FX, ({ signal: e }) => zX(e)],- [IX, ({ signal: e }) => BX(e)],- [iZ, ({ signal: e }) => aZ(e)]+ let t = fbe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${RX(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${RX(e.dismissed_total)}`), t.join(" · ");+}+var hbe = [+ [jX, ({ signal: e }) => FX(e)],+ [FY, ({ signal: e }) => IY(e)],+ [PX, ({ signal: e }) => LX(e)],+ [qY, ({ signal: e }) => ZY(e)],+ [JY, ({ signal: e }) => QY(e)],+ [YY, ({ signal: e }) => $Y(e)],+ [_X, ({ signal: e }) => vX(e)]];-async function mbe(e) {- let t = !!location.hash, n = pbe.map(([n, r]) => {+async function gbe(e) {+ let t = !!location.hash, n = hbe.map(([n, r]) => {if (t) return U.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })@@ -58709,23 +58552,23 @@ async function mbe(e) {await Promise.all([...n,U.fetchQuery({- queryKey: yZ,- queryFn: () => CZ(e)+ queryKey: MX,+ queryFn: () => IX(e)}),U.fetchQuery({- queryKey: fX,- queryFn: () => mX(e)+ queryKey: TY,+ queryFn: () => DY(e)}),- dX(e).then(() => tbe(e)),- MH(e),- Nve(e),- Pye(e)+ wY(e).then(() => rbe(e)),+ mH(e),+ Fve(e),+ Iye(e)]);}//#endregion//#region src/react/feed-new/feed-new.ts-var EZ = (e) => ["feed-new", e ?? "home"], hbe = 8, gbe = 1500;-function _be(e, t, n) {+var zX = (e) => ["feed-new", e ?? "home"], _be = 8, vbe = 1500;+function ybe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -58736,34 +58579,34 @@ function _be(e, t, n) {setTimeout(e, n);})]);}-async function vbe(e, t, n) {- let r = new URLSearchParams({ limit: String(sA().value.feedLimit) });+async function bbe(e, t, n) {+ let r = new URLSearchParams({ limit: String(iA().value.feedLimit) });e && r.set("entity", String(e));let i = await z(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await _be(s, hbe, gbe), {+ return n && o.length && await ybe(s, _be, vbe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)};}-var DZ = (e, t, n = !1) => ({- queryKey: EZ(e),- queryFn: () => vbe(e, t, n),+var BX = (e, t, n = !1) => ({+ queryKey: zX(e),+ queryFn: () => bbe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), OZ = (e, t) => z("/api/feeds/discovery", {+}), VX = (e, t) => z("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function ybe(e) {- U.removeQueries({ queryKey: EZ(null) }), await U.fetchQuery(DZ(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function xbe(e) {+ U.removeQueries({ queryKey: zX(null) }), await U.fetchQuery(BX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}//#endregion//#region src/react/entity-page/entity-page.ts-var kZ = [+var HX = ["loc","creator","tag",@@ -58776,52 +58619,52 @@ var kZ = ["browse","folder","folder_recursive"-], AZ = {+], UX = {media: "videos",set: 0-}, jZ = (e, t) => [+}, WX = (e, t) => ["entity",e,t-], bbe = (e, t, n, r) => [+], Sbe = (e, t, n, r) => ["entity-items",e,t,n,r-], MZ = (e, t, n, r) => [+], GX = (e, t, n, r) => ["entity-photos",e,t,n,r-], NZ = (e) => String(e || "").split(",").filter(Boolean), xbe = (e, t) => NZ(e).includes(t);-function PZ(e, t, n, r, i = 0) {+], KX = (e) => String(e || "").split(",").filter(Boolean), Cbe = (e, t) => KX(e).includes(t);+function qX(e, t, n, r, i = 0) {let a = new URLSearchParams();- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...NZ(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");- for (let t of kZ) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...KX(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");+ for (let t of HX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function FZ(e, t, n, r, i, a, o) {- let s = PZ(e, t, n, r, i);+async function JX(e, t, n, r, i, a, o) {+ let s = qX(e, t, n, r, i);return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await z(`/api/items?${s}`, a ? { signal: a } : {});}-var IZ = (e) => {+var YX = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = PZ(e.kind, e.name, e.filters, t).toString();+ }, n = qX(e.kind, e.name, e.filters, t).toString();return {- queryKey: bbe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => FZ(e.kind, e.name, e.filters, t, 0, n),+ queryKey: Sbe(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => JX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, LZ = (e, t) => ({- queryKey: jZ(e, t),+}, XX = (e, t) => ({+ queryKey: WX(e, t),queryFn: ({ signal: n }) => z(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function Sbe(e, t, n, r, i, a) {+function wbe(e, t, n, r, i, a) {let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;if (i) {let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;@@ -58830,10 +58673,10 @@ function Sbe(e, t, n, r, i, a) {let s = r ? `&seed=${encodeURIComponent(r)}` : "";return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;}-var RZ = (e, t, n, r) => ({- queryKey: MZ(e, t, n, r),+var ZX = (e, t, n, r) => ({+ queryKey: GX(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await z(Sbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await z(wbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -58846,8 +58689,8 @@ var RZ = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), zZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function Cbe(e) {+}), QX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function Tbe(e) {let { kind: t, name: n } = e;for (let e of ["entity",@@ -58858,26 +58701,26 @@ async function Cbe(e) {t,n] });- e.resolvedEntity?.id && U.setQueryData(jZ(t, n), e.resolvedEntity), await Promise.all([- U.fetchQuery(LZ(t, n)).then((t) => !t || t.error || !t.id ? null : (U.removeQueries({ queryKey: EZ(Number(t.id)) }), U.fetchQuery(DZ(Number(t.id), e.helpers.feedRowHtml, !0)))),- U.fetchQuery(IZ(e)),- U.fetchInfiniteQuery(RZ(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? U.fetchInfiniteQuery(RZ(t, n, e.media.set, "")) : null+ e.resolvedEntity?.id && U.setQueryData(WX(t, n), e.resolvedEntity), await Promise.all([+ U.fetchQuery(XX(t, n)).then((t) => !t || t.error || !t.id ? null : (U.removeQueries({ queryKey: zX(Number(t.id)) }), U.fetchQuery(BX(Number(t.id), e.helpers.feedRowHtml, !0)))),+ U.fetchQuery(YX(e)),+ U.fetchInfiniteQuery(ZX(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? U.fetchInfiniteQuery(ZX(t, n, e.media.set, "")) : null]);}//#endregion//#region src/identity-filter.ts-var BZ = [+var $X = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], VZ = "mb-4 flex flex-wrap gap-2";-function wbe(e) {- let t = BZ.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${VZ}">${BZ.map(([e, n]) => Wo({+], eZ = "mb-4 flex flex-wrap gap-2";+function Ebe(e) {+ let t = $X.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${eZ}">${$X.map(([e, n]) => Wo({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -58886,43 +58729,43 @@ function wbe(e) {}//#endregion//#region src/react/follow/online-vocab.ts-var Tbe = "/api/follow/authors", Ebe = "/api/follow/tags", Dbe = (e) => [+var Dbe = "/api/follow/authors", Obe = "/api/follow/tags", kbe = (e) => ["follow","authors",e-], Obe = (e, t) => [+], Abe = (e, t) => ["follow","tags",e,t];-function kbe(e, t, n) {+function jbe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${Tbe}?${r}`;+ return e && r.set("q", e), `${Dbe}?${r}`;}-function Abe(e, t, n, r) {+function Mbe(e, t, n, r) {let i = new URLSearchParams({types: "all",limit: String(n),offset: String(r)});- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Ebe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Obe}?${i}`;}-var jbe = (e, t, n, r) => V(kbe(e, t, n), r), Mbe = (e, t, n, r, i) => V(Abe(e, t, n, r), i), Nbe = "/api/index", HZ = {+var Nbe = (e, t, n, r) => V(jbe(e, t, n), r), Pbe = (e, t, n, r, i) => V(Mbe(e, t, n, r), i), Fbe = "/api/index", tZ = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, Pbe = {+}, Ibe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency"-}, UZ = [+}, nZ = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -58932,31 +58775,31 @@ var jbe = (e, t, n, r) => V(kbe(e, t, n), r), Mbe = (e, t, n, r, i) => V(Abe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], WZ = [+], rZ = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], GZ = {+], iZ = {people: 120,tags: 180-}, KZ = (e) => e !== "tags", qZ = (e) => e === "studios" || e === "agencies";-function JZ(e) {- if (e.kind === "creators" && e.category === "animation") return JZ({+}, aZ = (e) => e !== "tags", oZ = (e) => e === "studios" || e === "agencies";+function sZ(e) {+ if (e.kind === "creators" && e.category === "animation") return sZ({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? WZ : UZ : e.kind === "performers" && t === "local" ? BZ : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? rZ : nZ : e.kind === "performers" && t === "local" ? $X : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function YZ(e) {+function cZ(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -58976,50 +58819,50 @@ function YZ(e) {...i && i !== "all" ? { category: i } : {}};}-var XZ = (e, t, n = "all") => [+var lZ = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function ZZ(e, t, n, r, i) {+function uZ(e, t, n, r, i) {let a = new URLSearchParams({kind: e,limit: String(r),offset: String(i)});- return t && a.set("q", t), n !== "all" && a.set("category", n), `${Nbe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Fbe}?${a}`;}-function QZ(e) {- let t = e.what === "people" || e.what === "online-authors" ? GZ.people : GZ.tags, n = {+function dZ(e) {+ let t = e.what === "people" || e.what === "online-authors" ? iZ.people : iZ.tags, n = {initialPageParam: 0,getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0};switch (e.what) {case "people": return {...n,- queryKey: XZ(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: n, signal: r }) => V(ZZ(e.kind, e.q, e.category || "all", t, n), r)+ queryKey: lZ(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: n, signal: r }) => V(uZ(e.kind, e.q, e.category || "all", t, n), r)};case "tags": return {...n,- queryKey: XZ("tags", e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => V(ZZ("tags", e.q, e.category, t, n), r)+ queryKey: lZ("tags", e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => V(uZ("tags", e.q, e.category, t, n), r)};case "online-authors": return {...n,- queryKey: Dbe(e.q),- queryFn: ({ pageParam: n, signal: r }) => jbe(e.q, t, n, r)+ queryKey: kbe(e.q),+ queryFn: ({ pageParam: n, signal: r }) => Nbe(e.q, t, n, r)};case "online-tags": return {...n,- queryKey: Obe(e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => Mbe(e.q, e.category, t, n, r)+ queryKey: Abe(e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => Pbe(e.q, e.category, t, n, r)};}}-async function Fbe(e, t) {- let n = QZ(YZ(JZ(e)));+async function Lbe(e, t) {+ let n = dZ(cZ(sZ(e)));U.removeQueries({queryKey: n.queryKey,exact: !0@@ -59033,13 +58876,13 @@ async function Fbe(e, t) {getNextPageParam: n.getNextPageParam});}-var Ibe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Lbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, $Z = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Rbe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, zbe = {+var Rbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], zbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, fZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Bbe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Vbe = {numeric: !0,sensitivity: "base"};-function eQ(e, t) {+function pZ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", zbe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Vbe))) {let e = xn(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);a ? a.push(r) : n.set(i, [r]);}@@ -59047,7 +58890,7 @@ function eQ(e, t) {}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var tQ = KF({+var mZ = tF({base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",variant: {bold: "py-0.5 text-body-medium",@@ -59066,16 +58909,16 @@ var tQ = KF({soft: "bg-background-secondary-default text-text-secondary"}});-function nQ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function hZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("span", {ref: r,- className: GF(tQ.base, tQ.variant[e], tQ.color[t], n),+ className: eF(mZ.base, mZ.variant[e], mZ.color[t], n),...i});}//#endregion//#region src/react/index/index-people.tsx-function rQ({ html: e, face: t, company: n, big: r }) {+function gZ({ html: e, face: t, company: n, big: r }) {let i = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -59087,18 +58930,18 @@ function rQ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var Bbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Vbe = nB("rss");-function iQ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var Hbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Ube = Rz("rss");+function _Z({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: XH({+ className: MH({radius: "plain",padding: "none",interactive: !0,- className: `${Bbe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${Hbe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -59107,10 +58950,10 @@ function iQ({ name: e, readout: t, big: n, children: r, following: i, onPress: arole: "img","aria-label": "已订阅新作",className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",- children: /* @__PURE__ */ (0, O.jsx)(nQ, {+ children: /* @__PURE__ */ (0, O.jsx)(hZ, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, O.jsx)(Vbe, {})+ children: /* @__PURE__ */ (0, O.jsx)(Ube, {})})}) : null,/* @__PURE__ */ (0, O.jsx)("span", {@@ -59126,24 +58969,24 @@ function iQ({ name: e, readout: t, big: n, children: r, following: i, onPress: a]});}-function aQ({ kind: e, items: t, layout: n, props: r }) {- let i = qZ(e), a = n === "big";+function vZ({ kind: e, items: t, layout: n, props: r }) {+ let i = oZ(e), a = n === "big";return /* @__PURE__ */ (0, O.jsx)("div", {"data-index-grid": "","data-layout": n,"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || Pbe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, O.jsx)(iQ, {+ let n = t.entity_kind || Ibe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, O.jsx)(_Z, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${Rbe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${Bbe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, O.jsx)(rQ, {+ children: /* @__PURE__ */ (0, O.jsx)(gZ, {html: o.html,face: o.face,company: i,@@ -59153,14 +58996,14 @@ function aQ({ kind: e, items: t, layout: n, props: r }) {})});}-function Hbe({ items: e, layout: t, props: n }) {+function Wbe({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, O.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(iQ, {+ children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(_Z, {"data-follow-author": e.key,"data-kind": "performer",name: e.k,@@ -59169,7 +59012,7 @@ function Hbe({ items: e, layout: t, props: n }) {onPress: () => {e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);},- children: /* @__PURE__ */ (0, O.jsx)(rQ, {+ children: /* @__PURE__ */ (0, O.jsx)(gZ, {html: n.authorAvatar(e),company: !1,big: r@@ -59179,8 +59022,8 @@ function Hbe({ items: e, layout: t, props: n }) {}//#endregion//#region src/board-tooltip.ts-var oQ = (e) => e.replace(/\s+/g, " ").trim();-function sQ(e) {+var yZ = (e) => e.replace(/\s+/g, " ").trim();+function bZ(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -59188,12 +59031,12 @@ function sQ(e) {let t = document.createRange();t.selectNodeContents(r), [...t.getClientRects()].some((e) => e.width > 0 && e.height > 0) && getComputedStyle(e).visibility === "visible" && (n += r.textContent);}- return oQ(n);+ return yZ(n);}-function cQ(e) {+function xZ(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && sQ(e) && !lQ(e)) {+ if (e.matches("a") && bZ(e) && !SZ(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -59206,7 +59049,7 @@ function cQ(e) {let r = Math.min(...n.map((e) => e.left)), i = Math.min(...n.map((e) => e.top));return new DOMRect(r, i, Math.max(...n.map((e) => e.right)) - r, Math.max(...n.map((e) => e.bottom)) - i);}-function lQ(e) {+function SZ(e) {if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;let t = document.createRange();t.selectNodeContents(e);@@ -59217,19 +59060,19 @@ function lQ(e) {}return !1;}-function Ube() {+function Gbe() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a = (t) => {- let n = cQ(t), r = e.getBoundingClientRect();+ let n = xZ(t), r = e.getBoundingClientRect();n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);}, o = () => {clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null;}, s = (s, c) => {if (!(s instanceof Element)) return;let l = s.closest("[title]");- (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (sQ(l) !== oQ(n) || lQ(l)) && (i = setTimeout(() => {- t === l && l.isConnected && cQ(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));+ (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (bZ(l) !== yZ(n) || SZ(l)) && (i = setTimeout(() => {+ t === l && l.isConnected && xZ(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));}, c)));};document.addEventListener("pointerover", (e) => s(e.target, 400)), document.addEventListener("pointerout", (e) => {@@ -59238,33 +59081,33 @@ function Ube() {e.key === "Escape" && o();}), document.addEventListener("scroll", (n) => {if (!t || !Do(n, t)) return;- let r = cQ(t);+ let r = xZ(t);t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && a(t) : o();}, !0), window.addEventListener("resize", o);}//#endregion//#region src/board-controls.ts-function uQ(e) {+function CZ(e) {let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;e.style.setProperty("--board-range-value", `${i}%`);}-var dQ = /* @__PURE__ */ new WeakSet();-function Wbe() {- if (dQ.has(document)) return;- dQ.add(document);+var wZ = /* @__PURE__ */ new WeakSet();+function Kbe() {+ if (wZ.has(document)) return;+ wZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(uQ), Kbe(e), Gbe(e);+ e.querySelectorAll("input[type=range]").forEach(CZ), Jbe(e), qbe(e);};e(document), new MutationObserver((t) => {- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && uQ(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && CZ(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && uQ(e.target);- }), Ube();+ e.target instanceof HTMLInputElement && e.target.type === "range" && CZ(e.target);+ }), Gbe();}-function Gbe(e) {+function qbe(e) {let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-tabs")) return;@@ -59288,15 +59131,15 @@ function Gbe(e) {r.observe(e);});}-var fQ = /* @__PURE__ */ new Map();-function Kbe(e) {+var TZ = /* @__PURE__ */ new Map();+function Jbe(e) {let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;e.dataset.boardSegments = "true";let t = document.createElement("span");t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = fQ.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = TZ.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -59305,7 +59148,7 @@ function Kbe(e) {w: i.offsetWidth,h: i.offsetHeight};- nc(t, r, a, "x"), r = a, fQ.set(n, a);+ nc(t, r, a, "x"), r = a, TZ.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -59322,8 +59165,8 @@ function Kbe(e) {}//#endregion//#region src/react/photo-lightbox/photo-lightbox.ts-var pQ = "/vendor/swiper/14.3.0/", mQ = null, qbe = () => mQ ??= Promise.all([new Promise((e, t) => {- let n = `${pQ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var EZ = "/vendor/swiper/14.3.0/", DZ = null, Ybe = () => DZ ??= Promise.all([new Promise((e, t) => {+ let n = `${EZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -59337,11 +59180,11 @@ var pQ = "/vendor/swiper/14.3.0/", mQ = null, qbe = () => mQ ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${pQ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${EZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);})]).then(([, e]) => e).catch((e) => {- throw mQ = null, e;+ throw DZ = null, e;});-function Jbe(e, t, n) {+function Xbe(e, t, n) {let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {let e = i();return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);@@ -59362,47 +59205,47 @@ function Jbe(e, t, n) {}};}-var hQ = (e) => {+var OZ = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : _n(t)).replace(" ", "\xA0") : "大小未知";-}, Ybe = (e) => e.asset?.name || e.name || "未命名图片";-function Xbe(e, t) {+}, Zbe = (e) => e.asset?.name || e.name || "未命名图片";+function Qbe(e, t) {let n = e.asset;- if (n) return [Cn[n.location ?? ""] || n.location || "来源未知", hQ(n.size)].join(" · ");+ if (n) return [Cn[n.location ?? ""] || n.location || "来源未知", OZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? hQ(e.size) : ""+ e.size ? OZ(e.size) : ""].filter(Boolean).join(" · ");}//#endregion//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx-var gQ = null, _Q = null, Zbe = 0;-function Qbe() {- return (!_Q || !gQ?.isConnected) && (_Q?.unmount(), gQ = document.createElement("div"), gQ.className = "peach-react", gQ.dataset.photoLightboxHost = "", document.body.append(gQ), _Q = (0, Et.createRoot)(gQ)), _Q;+var kZ = null, AZ = null, $be = 0;+function exe() {+ return (!AZ || !kZ?.isConnected) && (AZ?.unmount(), kZ = document.createElement("div"), kZ.className = "peach-react", kZ.dataset.photoLightboxHost = "", document.body.append(kZ), AZ = (0, Et.createRoot)(kZ)), AZ;}-async function vQ(e, t, n) {+async function jZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await qbe();+ r = await Ybe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = Qbe();- (0, Tt.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)($be, {+ let i = exe();+ (0, Tt.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)(txe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++Zbe)));+ }, ++$be)));}-function yQ() {- _Q && (0, Tt.flushSync)(() => _Q.render(null));+function MZ() {+ AZ && (0, Tt.flushSync)(() => AZ.render(null));}-function $be({ slides: e, index: t, Swiper: n, host: r }) {+function txe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, D.useId)(), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), [_, v] = (0, D.useState)(t), [y, b] = (0, D.useState)(100), [x, S] = (0, D.useState)({}), [C, w] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, D.useState)(!1), [j, M] = (0, D.useState)({at: t,text: ""@@ -59445,7 +59288,7 @@ function $be({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = Jbe(e, a, b);+ i(t, 0), h.current = Xbe(e, a, b);let m = gc(e, f.current, p.current), _ = (e = !1) => {m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();};@@ -59462,13 +59305,13 @@ function $be({ slides: e, index: t, Swiper: n, host: r }) {});y.observe(e);let x = (e) => {- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : yQ());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : MZ());};return document.addEventListener("keydown", x, !0), () => {document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");};}, []), (0, D.useLayoutEffect)(() => {- m.current && uQ(m.current);+ m.current && CZ(m.current);}, [y]);let N = e[_], P = N.asset ?? null, ee = async (e) => {if (!P || !r || e.getAttribute("aria-busy") === "true") return;@@ -59499,18 +59342,18 @@ function $be({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), yQ();+ e.preventDefault(), MZ();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && yQ();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && MZ();},children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: yQ,+ onClick: MZ,dangerouslySetInnerHTML: { __html: R("x") }}),/* @__PURE__ */ (0, O.jsxs)("div", {@@ -59646,10 +59489,10 @@ function $be({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: Ybe(N)+ children: Zbe(N)}, _), /* @__PURE__ */ (0, O.jsx)("span", {"data-photo-detail-meta": "",- children: Xbe(N, x[_])+ children: Qbe(N, x[_])})]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -59688,40 +59531,40 @@ function $be({ slides: e, index: t, Swiper: n, host: r }) {}//#endregion//#region src/react/entity-body/entity-body-page.tsx-function exe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)(txe, {+function nxe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)(rxe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(nxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(axe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(ixe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(sxe, {photos: e.photos,props: e}, e.photos.revision) : null;}-var bQ = GZ.people;-function txe({ roster: e, props: t }) {+var NZ = iZ.people;+function rxe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, D.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, D.useState)(bQ), s = (0, D.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, D.useCallback)(async () => {- o((e) => e + bQ);+ }), [n, r]), [a, o] = (0, D.useState)(NZ), s = (0, D.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, D.useCallback)(async () => {+ o((e) => e + NZ);}, []);- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(aQ, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(vZ, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, O.jsx)(lX, {+ }), a < e.people.length ? /* @__PURE__ */ (0, O.jsx)(SY, {entity: !0,load: c,enabled: () => !0}, a) : null] });}-function nxe(e) {- let t = bG(!e.items, e.skeletonHtml);+function ixe(e) {+ let t = lW(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,- children: [t.layer, e.items ? /* @__PURE__ */ (0, O.jsx)(sX, {+ children: [t.layer, e.items ? /* @__PURE__ */ (0, O.jsx)(bY, {mode: "entity",entityKey: `${e.kind}:${e.name}`,revision: e.revision,@@ -59741,33 +59584,33 @@ function nxe(e) {}) : null]});}-var rxe = (e) => Array.from({ length: e.n }, (t, n) => ({+var axe = (e) => Array.from({ length: e.n }, (t, n) => ({sample: !0,code: e.code,position: n + 1,total: e.n,name: `${e.code} 样张 ${n + 1}`,source: e.site_label || "官方样张"-})), xQ = (e) => e.sample === !0, SQ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, CQ = (e) => xQ(e) ? `/sample-thumb?${SQ(e)}` : `/photo-thumb?id=${e.id}`, ixe = (e) => xQ(e) ? {- src: `/sample-image?${SQ(e)}`,- thumb: CQ(e),+})), PZ = (e) => e.sample === !0, FZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, IZ = (e) => PZ(e) ? `/sample-thumb?${FZ(e)}` : `/photo-thumb?id=${e.id}`, oxe = (e) => PZ(e) ? {+ src: `/sample-image?${FZ(e)}`,+ thumb: IZ(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: CQ(e),+ thumb: IZ(e),name: e.name || "",asset: e};-function axe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(rxe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {+function sxe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(axe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, D.useCallback)((e) => {- vQ(e, o.map(ixe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(oxe, {+ jZ(e, o.map(oxe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(cxe, {item: e,index: t,lost: s.has(t),@@ -59785,7 +59628,7 @@ function axe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(wQ, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(LZ, {label: e.code,title: e.name,meta: [@@ -59797,7 +59640,7 @@ function axe({ photos: e, props: t }) {...f,children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))})] }, e.code)),- m.length && e.total ? /* @__PURE__ */ (0, O.jsx)(wQ, {+ m.length && e.total ? /* @__PURE__ */ (0, O.jsx)(LZ, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -59806,14 +59649,14 @@ function axe({ photos: e, props: t }) {"data-local-wall": "",children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))}),- e.hasMore ? /* @__PURE__ */ (0, O.jsx)(lX, {+ e.hasMore ? /* @__PURE__ */ (0, O.jsx)(SY, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function wQ({ label: e, title: t, meta: n }) {+function LZ({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-photo-group": "",children: [@@ -59830,7 +59673,7 @@ function wQ({ label: e, title: t, meta: n }) {]});}-function oxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function cxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -59839,7 +59682,7 @@ function oxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, O.jsx)("img", {- src: CQ(e),+ src: IZ(e),alt: a,loading: "lazy",decoding: "async",@@ -59850,9 +59693,9 @@ function oxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {}//#endregion//#region src/react/background-job.ts-var sxe = 2e3, cxe = (e) => e, lxe = (e, t) => t;-function TQ(e) {- let { queryKey: t, jobOf: n = cxe, withJob: r = lxe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);+var lxe = 2e3, uxe = (e) => e, dxe = (e, t) => t;+function RZ(e) {+ let { queryKey: t, jobOf: n = uxe, withJob: r = dxe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);(0, D.useEffect)(() => {l.current = e;});@@ -59861,7 +59704,7 @@ function TQ(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? sxe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? lxe : i ?? !1;}}), d = Ct({mutationFn: (e) => l.current.start(e),@@ -59886,14 +59729,14 @@ function TQ(e) {}//#endregion//#region src/react/follow-feed/follow-check.ts-var EQ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function uxe(e, t) {- return t ? EQ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];+var zZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+function fxe(e, t) {+ return t ? zZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}//#endregion//#region src/react/follow-feed/follow-check-button.tsx-function dxe({ sources: e, report: t }) {- let n = EQ(e), [r, i] = (0, D.useState)(""), { running: a, start: o } = TQ({+function pxe({ sources: e, report: t }) {+ let n = zZ(e), [r, i] = (0, D.useState)(""), { running: a, start: o } = RZ({queryKey: or,queryFn: ({ signal: e }) => zr(e),start: (e) => Hr(e),@@ -59904,15 +59747,15 @@ function dxe({ sources: e, report: t }) {}), s = a || o.isPending;return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(q, {+ children: [/* @__PURE__ */ (0, O.jsx)(J, {size: "small",disabled: !n.length,- ...iB(s),+ ...Bz(s),onClick: () => {n.length && !s && (i(""), o.mutate(n));},children: "检查更新"- }), r ? /* @__PURE__ */ (0, O.jsx)($z, {+ }), r ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: r}) : null]@@ -59920,8 +59763,8 @@ function dxe({ sources: e, report: t }) {}//#endregion//#region src/react/follow-feed/follow-card.tsx-var fxe = (e) => Number(e) > 0;-function DQ({ name: e, actions: t, children: n, ...r }) {+var mxe = (e) => Number(e) > 0;+function BZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, O.jsx)("a", {...r,href: en("creator", e),@@ -59931,15 +59774,15 @@ function DQ({ name: e, actions: t, children: n, ...r }) {children: n});}-var OQ = ({ provider: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var VZ = ({ provider: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: wW(e) }+ dangerouslySetInnerHTML: { __html: kU(e) }});-function pxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function hxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);return (0, D.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, O.jsx)(OQ, { provider: i }) : /* @__PURE__ */ (0, O.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, O.jsx)(VZ, { provider: i }) : /* @__PURE__ */ (0, O.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -59958,8 +59801,8 @@ function pxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function mxe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Li(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => HW(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? zi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Vi({+function gxe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Li(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => sge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? zi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Vi({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -59967,7 +59810,7 @@ function mxe(e) {limit: 9}), S = (0, D.useRef)(x.faces);S.current = x.faces;- let C = pK({+ let C = nG({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -59975,7 +59818,7 @@ function mxe(e) {w.current = C.onPointerLeave;let T = (0, D.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = kW(u, n, i), k = TW(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = MW(u, i), N = jW(t, u), P = u.status === "saved", ee = (e) => {+ }, []), E = PU(u, n, i), k = AU(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = LU(u, i), N = IU(t, u), P = u.status === "saved", ee = (e) => {e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));}, F = (e, t) => {e.stopPropagation(), t();@@ -59990,7 +59833,7 @@ function mxe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: GG,+ onMouseDown: PW,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -60004,7 +59847,7 @@ function mxe(e) {}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, O.jsx)(pxe, {+ p ? /* @__PURE__ */ (0, O.jsx)(hxe, {src: p,fallback: m,width: _?.width,@@ -60012,7 +59855,7 @@ function mxe(e) {provider: A,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, O.jsx)(OQ, { provider: A }),+ }, p) : /* @__PURE__ */ (0, O.jsx)(VZ, { provider: A }),x.faces.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -60032,7 +59875,7 @@ function mxe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: wW(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: kU(u.provider, u.provider_label) }}), N ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: N }@@ -60045,7 +59888,7 @@ function mxe(e) {},dangerouslySetInnerHTML: { __html: R("check") }}) : null,- fxe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {+ mxe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-duration": "",children: hn(u.duration)}) : null,@@ -60117,7 +59960,7 @@ function mxe(e) {/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-meta": "",children: [- E.entityName ? /* @__PURE__ */ (0, O.jsx)(DQ, {+ E.entityName ? /* @__PURE__ */ (0, O.jsx)(BZ, {name: E.entityName,actions: l,"data-media-avatar": "",@@ -60136,12 +59979,12 @@ function mxe(e) {/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: AW(t, u) + B(k) }+ dangerouslySetInnerHTML: { __html: FU(t, u) + B(k) }}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-byline": "",children: [- E.entityName ? /* @__PURE__ */ (0, O.jsx)(DQ, {+ E.entityName ? /* @__PURE__ */ (0, O.jsx)(BZ, {name: E.entityName,actions: l,"data-follow-author": "",@@ -60154,8 +59997,8 @@ function mxe(e) {}),/* @__PURE__ */ (0, O.jsx)("time", {dateTime: u.published_at || "",- title: IW(u),- children: LW(u)+ title: zU(u),+ children: oge(u)}),E.credited ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-credit": "",@@ -60190,10 +60033,10 @@ function mxe(e) {]});}-var kQ = (0, D.memo)(mxe);+var HZ = (0, D.memo)(gxe);//#endregion//#region src/react/components/use-masonry-grid.ts-function hxe(e, t) {+function _xe(e, t) {let n = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {let t = n.current;@@ -60229,27 +60072,27 @@ function hxe(e, t) {}//#endregion//#region src/react/follow-manage/manage-route.ts-var gxe = [+var vxe = ["list","add","feeds"];-function AQ(e) {+function UZ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: gxe.find((e) => e === n) || "list",+ tab: vxe.find((e) => e === n) || "list",page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),sort: t.get("sort") || "",dir: t.get("dir") || ""};}-function jQ(e) {+function WZ(e) {let t = new URLSearchParams();return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/subscriptions" + (t.size ? `?${t}` : "");}-function MQ(e, t) {- return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : jQ({- tab: t || AQ(e).tab,+function GZ(e, t) {+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : WZ({+ tab: t || UZ(e).tab,page: 1,sort: "",dir: ""@@ -60257,10 +60100,10 @@ function MQ(e, t) {}//#endregion//#region src/react/follow-feed/follow-feed-page.tsx-var NQ = () => /* @__PURE__ */ (0, O.jsx)("span", {+var KZ = () => /* @__PURE__ */ (0, O.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), _xe = nB("settings"), PQ = nB("chevron-down"), vxe = nB("history"), yxe = nB("arrow-up"), bxe = nB("arrow-down"), xxe = [[+}), yxe = Rz("settings"), qZ = Rz("chevron-down"), bxe = Rz("history"), xxe = Rz("arrow-up"), Sxe = Rz("arrow-down"), Cxe = [["fixed","固定比例","layout-grid"@@ -60269,7 +60112,7 @@ var NQ = () => /* @__PURE__ */ (0, O.jsx)("span", {"瀑布流","columns-2"]];-function Sxe(e, t, n) {+function wxe(e, t, n) {return (0, D.useMemo)(() => {let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();a.forEach((e) => {@@ -60317,7 +60160,7 @@ function Sxe(e, t, n) {n]);}-function Cxe(e) {+function Txe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = wi(t, r), o = wt(a), s = St({queryKey: Ti,queryFn: ({ signal: e }) => Ei(e)@@ -60325,7 +60168,7 @@ function Cxe(e) {sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = Sxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({+ }), [c, l]), d = wxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({tags: xl(d.visible.flatMap(Ai).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,@@ -60351,10 +60194,10 @@ function Cxe(e) {m,i]);- let h = Txe(e, !!c);+ let h = Dxe(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, O.jsx)(FQ, {}), /* @__PURE__ */ (0, O.jsx)(xG, {+ children: [/* @__PURE__ */ (0, O.jsx)(JZ, {}), /* @__PURE__ */ (0, O.jsx)(uW, {message: Ut(o.error),onRetry: () => void o.refetch()})]@@ -60367,7 +60210,7 @@ function Cxe(e) {author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, EW(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, jU(t, u)])),providers: d.providers,works: d.workNames}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);@@ -60376,7 +60219,7 @@ function Cxe(e) {ref: h.host,"data-follow-progress": ""}, h.generation),- !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)($z, {+ !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",title: "检查结果",children: h.report@@ -60385,7 +60228,7 @@ function Cxe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(FQ, { children: d.sources.length ? /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(JZ, { children: d.sources.length ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary","data-follow-recheck": "","aria-label": "检查每个来源的更新",@@ -60396,20 +60239,20 @@ function Cxe(e) {dangerouslySetInnerHTML: { __html: ns("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, O.jsx)(Exe, {+ /* @__PURE__ */ (0, O.jsx)(Oxe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, O.jsx)(Dxe, {+ /* @__PURE__ */ (0, O.jsx)(kxe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, O.jsx)(Oxe, {+ /* @__PURE__ */ (0, O.jsx)(Axe, {facets: d,view: t,total: v,@@ -60417,7 +60260,7 @@ function Cxe(e) {props: e,route: g}),- /* @__PURE__ */ (0, O.jsx)(kxe, {+ /* @__PURE__ */ (0, O.jsx)(jxe, {conditions: _,onDrop: (e) => i.route(qi(t, e)),onClear: () => g({@@ -60429,15 +60272,15 @@ function Cxe(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, O.jsx)(Axe, { count: d.broken.length }) : null,- /* @__PURE__ */ (0, O.jsx)(jxe, {+ d.broken.length ? /* @__PURE__ */ (0, O.jsx)(Mxe, { count: d.broken.length }) : null,+ /* @__PURE__ */ (0, O.jsx)(Nxe, {retryKey: o.dataUpdatedAt,pending: f,facets: d,data: c,context: u,props: e,- checkAction: /* @__PURE__ */ (0, O.jsx)(q, {+ checkAction: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "secondary","aria-label": "检查每个来源的更新",@@ -60453,14 +60296,14 @@ function Cxe(e) {"data-follow-pagination": "",children: [c.has_more ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-page-action": "",- children: c.groups.length < 500 ? /* @__PURE__ */ (0, O.jsxs)(lX, {+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, O.jsxs)(SY, {entity: !0,enabled: () => !h.busyRef.current,load: async () => {await o.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, O.jsx)(PQ, { className: "size-(--icon-inline)" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(wxe, {+ children: [/* @__PURE__ */ (0, O.jsx)(qZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(Exe, {busy: o.isFetchingNextPage,error: o.isFetchNextPageError ? Ut(o.error) : "",load: () => {@@ -60469,9 +60312,9 @@ function Cxe(e) {})}) : null, y ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-follow-page-action": "",- children: [/* @__PURE__ */ (0, O.jsx)(q, {+ children: [/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : vxe,+ leadingIcon: h.olderBusy ? void 0 : bxe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -60489,7 +60332,7 @@ function Cxe(e) {})] });}-function FQ({ children: e }) {+function JZ({ children: e }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, O.jsx)("h2", {@@ -60497,30 +60340,30 @@ function FQ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, O.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, O.jsx)(OI, {+ children: [/* @__PURE__ */ (0, O.jsx)(JF, {variant: "secondary",- leadingIcon: _xe,+ leadingIcon: yxe,"data-follow-manage": "",- href: IQ(),+ href: YZ(),children: "管理关注"}), e]})]});}-function wxe({ busy: e, error: t, load: n }) {+function Exe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, O.jsx)(PQ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, O.jsx)(xG, {+ children: [/* @__PURE__ */ (0, O.jsx)(qZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, O.jsx)(uW, {message: t,onRetry: n}) : null] });}-function Txe(e, t) {+function Dxe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, D.useState)(0), [o, s] = (0, D.useState)(!1), [c, l] = (0, D.useState)(""), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(!1), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useRef)({helpers: n,actions: r@@ -60582,12 +60425,12 @@ function Txe(e, t) {olderBusy: c === "older" || f && o};}-function Exe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function Oxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, D.useRef)(null);(0, D.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => EW(e.authorSources.get(t) || [], n);+ let o = (t) => jU(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, O.jsx)("div", {@@ -60595,14 +60438,14 @@ function Exe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {"data-follow-authors": "","aria-label": "创作者",children: e.authorOrder.map((n) => {- let a = e.authorSources.get(n) || [], s = DW(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = MU(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: OW(a, o(n)) }+ dangerouslySetInnerHTML: { __html: NU(a, o(n)) }}), /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, O.jsx)(DQ, {+ return s ? /* @__PURE__ */ (0, O.jsx)(BZ, {name: s,actions: r.actions,"data-follow-author": n,@@ -60619,7 +60462,7 @@ function Exe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function Dxe({ rows: e, pressed: t, props: n, onPick: r }) {+function kxe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, D.useRef)(null);return (0, D.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -60640,13 +60483,13 @@ function Dxe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function Oxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = EI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = EI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = KF(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = KF(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, D.useEffect)(() => {o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);}, [o]);let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";- return /* @__PURE__ */ (0, O.jsx)(xI, {+ return /* @__PURE__ */ (0, O.jsx)(zF, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -60698,7 +60541,7 @@ function Oxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: R(i) }}, e);})- }), /* @__PURE__ */ (0, O.jsx)(NQ, {})] }) : null, /* @__PURE__ */ (0, O.jsxs)("div", {+ }), /* @__PURE__ */ (0, O.jsx)(KZ, {})] }) : null, /* @__PURE__ */ (0, O.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -60718,7 +60561,7 @@ function Oxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, O.jsx)(NQ, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, O.jsx)(KZ, {}) : null]}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -60731,10 +60574,10 @@ function Oxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {title: n,"aria-label": `来源:${n}`,onClick: () => a({ provider: e.provider === t ? "" : t }),- dangerouslySetInnerHTML: { __html: wW(t, n) }+ dangerouslySetInnerHTML: { __html: kU(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, O.jsx)(NQ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(SI, {+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, O.jsx)(KZ, {}) : null,+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(VF, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${Ji(e.groups, n)}`,@@ -60754,18 +60597,18 @@ function Oxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-readout": "",children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`}),- /* @__PURE__ */ (0, O.jsx)(_B, {+ /* @__PURE__ */ (0, O.jsx)($z, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(rG, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(nG, {+ /* @__PURE__ */ (0, O.jsx)(qU, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(KU, {label: "图片布局",value: i.photoLayout,- options: xxe,+ options: Cxe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",@@ -60795,9 +60638,9 @@ function Oxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let n = Ui(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, O.jsx)(yW, {- a: yxe,- b: bxe,+ children: [n, r ? /* @__PURE__ */ (0, O.jsx)(wU, {+ a: xxe,+ b: Sxe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -60808,7 +60651,7 @@ function Oxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function kxe({ conditions: e, onDrop: t, onClear: n }) {+function jxe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -60833,19 +60676,19 @@ function kxe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function Axe({ count: e }) {+function Mxe({ count: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-broken": "",- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${B(IQ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${B(YZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}-var IQ = () => MQ(window.location.search);-function jxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {- let { view: s, helpers: c } = i, l = s.media === "images", u = bG(e, () => c.listSkeletonHtml(s.media));+var YZ = () => GZ(window.location.search);+function Nxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+ let { view: s, helpers: c } = i, l = s.media === "images", u = lW(e, () => c.listSkeletonHtml(s.media));return /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": u.fading ? "" : void 0,- children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(Mxe, {+ children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(Pxe, {facets: t,data: n,context: r,@@ -60856,29 +60699,29 @@ function jxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})]});}-function Mxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {- let { view: s, actions: c } = r, l = RQ(r), u = i ? {+function Pxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+ let { view: s, actions: c } = r, l = ZZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = hxe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = _xe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;return f = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;- return /* @__PURE__ */ (0, O.jsx)(kQ, {+ return /* @__PURE__ */ (0, O.jsx)(HZ, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(LQ(t, s)),+ selected: r.selected.has(XZ(t, s)),selectMode: r.selectMode,- busy: l.busy.get(LQ(t, s)) || "",- failure: l.failures.get(LQ(t, s)) || "",+ busy: l.busy.get(XZ(t, s)) || "",+ failure: l.failures.get(XZ(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, O.jsx)(Nxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Fxe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -60901,22 +60744,22 @@ function Mxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function LQ(e, t) {+function XZ(e, t) {return Li(e, t.media).id;}-function Nxe({ data: e, filtered: t, clear: n, checkAction: r }) {+function Fxe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, O.jsx)(eB, {- icon: nB(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, O.jsx)(Iz, {+ icon: Rz(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",- actions: i ? /* @__PURE__ */ (0, O.jsx)(q, {+ actions: i ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, O.jsx)(OI, {+ }) : a ? r : /* @__PURE__ */ (0, O.jsx)(JF, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60925,12 +60768,12 @@ function Nxe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var Pxe = {+var Ixe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function RQ(e) {+function ZZ(e) {let { view: t, revision: n, actions: r } = e, [i, a] = (0, D.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, D.useState)(() => /* @__PURE__ */ new Map()), c = wi(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;@@ -60953,7 +60796,7 @@ function RQ(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(Pxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(Ixe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await H($n, {item: t,to: i@@ -60999,9 +60842,9 @@ function RQ(e) {}//#endregion//#region src/react/entity-body/entity-online.tsx-function Fxe(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = bG(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(xG, {+function Lxe(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = lW(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {message: Ut(t.error),onRetry: () => {t.refetch();@@ -61012,11 +60855,11 @@ function Fxe(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, O.jsx)(Ixe, {+ a || !n ? null : /* @__PURE__ */ (0, O.jsx)(Rxe, {...e,data: n}),- !a && n?.has_more ? /* @__PURE__ */ (0, O.jsx)(lX, {+ !a && n?.has_more ? /* @__PURE__ */ (0, O.jsx)(SY, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -61026,8 +60869,8 @@ function Fxe(e) {]});}-function Ixe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = RQ({+function Rxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+ let u = ZZ({view: e,revision: 0,actions: c@@ -61045,7 +60888,7 @@ function Ixe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,"data-images-only": String(s)} : {}, m = r.length ? r.map((e) => {let n = Li(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, O.jsx)(kQ, {+ return /* @__PURE__ */ (0, O.jsx)(HZ, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -61058,11 +60901,11 @@ function Ixe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, O.jsx)(Lxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(zxe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: uxe(n.sources || [], e.author)+ sources: fxe(n.sources || [], e.author)});return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-list": "",@@ -61071,21 +60914,21 @@ function Ixe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function Lxe({ searched: e, clear: t, actions: n, sources: r }) {+function zxe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, O.jsx)(eB, {- icon: nB(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, O.jsx)(Iz, {+ icon: Rz(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",- actions: e ? /* @__PURE__ */ (0, O.jsx)(q, {+ actions: e ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, O.jsx)(dxe, {+ }) : r.length ? /* @__PURE__ */ (0, O.jsx)(pxe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, O.jsx)(OI, {+ }) : /* @__PURE__ */ (0, O.jsx)(JF, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -61094,7 +60937,7 @@ function Lxe({ searched: e, clear: t, actions: n, sources: r }) {})});}-function zQ(e) {+function QZ(e) {return {x0: 0,y0: 0,@@ -61102,7 +60945,7 @@ function zQ(e) {y1: e.height};}-function BQ(e) {+function $Z(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -61110,40 +60953,40 @@ function BQ(e) {y1: Math.round(e.y1)};}-function VQ(e) {+function eQ(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function HQ(e, t) {- if (!VQ(e)) return {+function tQ(e, t) {+ if (!eQ(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return zQ(e);+ if (t == null || !(t > 0)) return QZ(e);let n = e.width, r = n / t;r > e.height && (r = e.height, n = r * t);let i = (e.width - n) / 2, a = (e.height - r) / 2;- return BQ({+ return $Z({x0: i,y0: a,x1: i + n,y1: a + r});}-function Rxe(e, t) {- if (!VQ(e) || !(t > 0)) return zQ(e);+function Bxe(e, t) {+ if (!eQ(e) || !(t > 0)) return QZ(e);let n = Math.min(e.width, e.height * t);- return BQ({+ return $Z({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function zxe(e, t, n) {- if (!VQ(t) || !(n > 0)) return zQ(t);- let r = UQ(e, t), i = HQ({+function Vxe(e, t, n) {+ if (!eQ(t) || !(n > 0)) return QZ(t);+ let r = nQ(e, t), i = tQ({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -61154,8 +60997,8 @@ function zxe(e, t, n) {y1: r.y0 + i.y1};}-function UQ(e, t, n = null, r = "width") {- if (!VQ(t)) return {+function nQ(e, t, n = null, r = "width") {+ if (!eQ(t)) return {x0: 0,y0: 0,x1: 0,@@ -61164,43 +61007,43 @@ function UQ(e, t, n = null, r = "width") {let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));- return BQ({+ return $Z({x0: s,y0: c,x1: s + a,y1: c + o});}-function WQ(e, t, n, r) {+function rQ(e, t, n, r) {let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));- return BQ({+ return $Z({x0: o,y0: s,x1: o + i,y1: s + a});}-function GQ(e, t, n, r = null) {- if (!VQ(n) || !(t > 0)) return e;+function iQ(e, t, n, r = null) {+ if (!eQ(n) || !(t > 0)) return e;let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;- return UQ({+ return nQ({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function Bxe(e, t, n, r, i = null) {+function Hxe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,x1: Math.max(e.x0 + 1, t),y1: Math.max(e.y0 + 1, n)};- return UQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return nQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function Vxe(e, t) {- return VQ(t) ? {+function Uxe(e, t) {+ return eQ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -61212,8 +61055,8 @@ function Vxe(e, t) {height: 0};}-function Hxe(e, t) {- if (!VQ(t)) return {+function Wxe(e, t) {+ if (!eQ(t)) return {size: "cover",position: "50% 50%"};@@ -61223,7 +61066,7 @@ function Hxe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function Uxe(e, t) {+function Gxe(e, t) {let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);return {left: `${-e.x0 / n * 100}%`,@@ -61232,16 +61075,16 @@ function Uxe(e, t) {height: `${t.height / r * 100}%`};}-function KQ(e, t, n) {+function aQ(e, t, n) {return t > 0 ? e * n / t : 0;}-function Wxe(e, t) {+function Kxe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}//#endregion//#region src/react/crop/crop-frame.tsx-var Gxe = .02, qQ = 1.08;-function JQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var qxe = .02, oQ = 1.08;+function sQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, D.useRef)(null), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);(0, D.useEffect)(() => {u(!1);@@ -61260,8 +61103,8 @@ function JQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: KQ(e, n.clientWidth, r.width),- dy: KQ(t, n.clientHeight, r.height)+ dx: aQ(e, n.clientWidth, r.width),+ dy: aQ(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -61278,22 +61121,22 @@ function JQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: olet n = c.current, a = s.current;if (!n || !a || !r) return;let o = p(e.clientX - n.x, e.clientY - n.y);- n.mode === "move" ? i(WQ(n.box, o.dx, o.dy, r)) : i(Bxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));+ n.mode === "move" ? i(rQ(n.box, o.dx, o.dy, r)) : i(Hxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));}function g(e) {c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));}function _(e) {if (!n || !r) return;- let a = Math.max(1, (n.x1 - n.x0) * Gxe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * qxe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(WQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(GQ(n, e.key === "-" ? 1 / qQ : qQ, r, t)));+ o[e.key] ? (e.preventDefault(), i(rQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(iQ(n, e.key === "-" ? 1 / oQ : oQ, r, t)));}- let v = n && r ? Vxe(UQ(n, r, t), r) : null, y = v ? Wxe(v, d) : !1, b = v ? {+ let v = n && r ? Uxe(nQ(n, r, t), r) : null, y = v ? Kxe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -61312,7 +61155,7 @@ function JQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- VQ({+ eQ({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -61351,7 +61194,7 @@ function JQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(GQ(n, e.deltaY > 0 ? qQ : 1 / qQ, r, t));+ n && r && i(iQ(n, e.deltaY > 0 ? oQ : 1 / oQ, r, t));},className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",children: /* @__PURE__ */ (0, O.jsx)("span", {@@ -61374,13 +61217,13 @@ function JQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}//#endregion//#region src/react/avatar-picker/avatar-picker.ts-var Kxe = "/api/avatar-choices", YQ = "/api/avatar-pick", qxe = "/api/avatar-code-cover", XQ = "/api/avatar-frame", Jxe = "/avatar-choice", ZQ = (e, t) => [+var Jxe = "/api/avatar-choices", cQ = "/api/avatar-pick", Yxe = "/api/avatar-code-cover", lQ = "/api/avatar-frame", Xxe = "/avatar-choice", uQ = (e, t) => ["avatar-choices",e,t-], QQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, $Q = (e, t, n, r = "") => `${Jxe}${QQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), e$ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Yxe = (e, t, n) => V(Kxe + QQ(e, t), n), Xxe = (e) => H(qxe, { code: e });-async function Zxe(e, t, n) {- let r = await H(XQ, {+], dQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, fQ = (e, t, n, r = "") => `${Xxe}${dQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), pQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Zxe = (e, t, n) => V(Jxe + dQ(e, t), n), Qxe = (e) => H(Yxe, { code: e });+async function $xe(e, t, n) {+ let r = await H(lQ, {kind: e,id: t,ref: n.ref@@ -61393,12 +61236,12 @@ async function Zxe(e, t, n) {bases: r.bases};}-var Qxe = (e, t, n) => H(XQ, {+var eSe = (e, t, n) => H(lQ, {kind: e,id: t,url: n-}), $xe = (e, t, n) => t$(`${XQ}${QQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function t$(e, t) {+}), tSe = (e, t, n) => mQ(`${lQ}${dQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function mQ(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -61407,17 +61250,17 @@ async function t$(e, t) {if (n.ok) return r;throw new On(r?.error || `请求失败(${n.status})`, n.status, r);}-function n$(e, t, n) {+function hQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? zxe(e.focus, t, n) : HQ(t, n);+ return e.focus && r ? Vxe(e.focus, t, n) : tQ(t, n);}-var eSe = (e) => e.crop && VQ({+var nSe = (e) => e.crop && eQ({width: e.width,height: e.height});-async function tSe(e, t, n) {+async function rSe(e, t, n) {if (!("file" in n)) {- await H(YQ, {+ await H(cQ, {kind: e,id: t,...n@@ -61430,19 +61273,19 @@ async function tSe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await t$(`${YQ}${QQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await mQ(`${cQ}${dQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var r$ = 2;-function nSe(e, t) {+var gQ = 2;+function iSe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, r$).join("」「")}」`}${n.length > r$ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, gQ).join("」「")}」`}${n.length > gQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var rSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function iSe(e) {- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${rSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var aSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function oSe(e) {+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${aSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var i$ = (e) => e.cast > 1, aSe = (e) => i$(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, oSe = {+var _Q = (e) => e.cast > 1, sSe = (e) => _Q(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, cSe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -61452,7 +61295,7 @@ var i$ = (e) => e.cast > 1, aSe = (e) => i$(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function sSe(e) {+function lSe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -61463,19 +61306,19 @@ function sSe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var cSe = (e) => `${oSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (i$(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), lSe = 8, uSe = 3 / 4;-async function dSe(e, t, n) {+var uSe = (e) => `${cSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (_Q(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), dSe = 8, fSe = 3 / 4;+async function pSe(e, t, n) {switch (n.via) {- case "choice": return { choice: await Zxe(e, t, n.choice) };- case "code": return { choice: await Xxe(n.code) };- case "url": return { choice: await Qxe(e, t, n.url) };+ case "choice": return { choice: await $xe(e, t, n.choice) };+ case "code": return { choice: await Qxe(n.code) };+ case "url": return { choice: await eSe(e, t, n.url) };case "file": return {- choice: await $xe(e, t, n.file),+ choice: await tSe(e, t, n.file),file: n.file};}}-function fSe({ kind: e, entityId: t, name: n, onPicked: r }) {+function mSe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -61485,17 +61328,17 @@ function fSe({ kind: e, entityId: t, name: n, onPicked: r }) {"aria-label": `更换${n}的头像`,onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",- children: /* @__PURE__ */ (0, O.jsx)(Mde, {+ children: /* @__PURE__ */ (0, O.jsx)(Yde, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, O.jsx)(Zz, {+ }), /* @__PURE__ */ (0, O.jsx)(Nz, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, O.jsx)(pSe, {+ children: /* @__PURE__ */ (0, O.jsx)(hSe, {kind: e,entityId: t,name: n,@@ -61504,22 +61347,22 @@ function fSe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function pSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, D.useRef)(null), o = SV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = ZQ(e, t), m = (0, D.useRef)(!1), h = St({+function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, D.useRef)(null), o = iV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = uQ(e, t), m = (0, D.useRef)(!1), h = St({queryKey: p,- queryFn: ({ signal: n }) => Yxe(e, t, n),+ queryFn: ({ signal: n }) => Zxe(e, t, n),retryOnMount: !0});(0, D.useEffect)(() => () => {- m.current && U.removeQueries({ queryKey: ZQ(e, t) });+ m.current && U.removeQueries({ queryKey: uQ(e, t) });}, [e, t]);let g = Ct({- mutationFn: (n) => tSe(e, t, n),+ mutationFn: (n) => rSe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = Ct({- mutationFn: (n) => dSe(e, t, n),+ mutationFn: (n) => pSe(e, t, n),onMutate: () => {g.reset();},@@ -61540,39 +61383,39 @@ function pSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {crop: e.crop} : { file: n }) : g.mutate(e ?? { ref: t.ref });}- let x = h.data, S = x?.choices ?? [], C = (g.error ? An(g.error) : "") || (!d && _.error ? An(_.error) : "") || (h.error ? An(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : iSe(x), E = !!C && !!h.error && C === An(h.error), k = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? An(g.error) : "") || (!d && _.error ? An(_.error) : "") || (h.error ? An(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : oSe(x), E = !!C && !!h.error && C === An(h.error), k = h.isPending || S.length > 0;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, O.jsx)(Qz, { children: /* @__PURE__ */ (0, O.jsx)(Hz, { className: "size-6" }) }),+ /* @__PURE__ */ (0, O.jsx)(Pz, { children: /* @__PURE__ */ (0, O.jsx)(wz, { className: "size-6" }) }),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(XI, {+ children: [/* @__PURE__ */ (0, O.jsx)(xI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && S.length ? /* @__PURE__ */ (0, O.jsxs)(nQ, {+ }), !d && S.length ? /* @__PURE__ */ (0, O.jsxs)(hZ, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? aSe(d.choice) : nSe(n, x)+ children: d ? sSe(d.choice) : iSe(n, x)}),- T ? /* @__PURE__ */ (0, O.jsx)($z, {+ T ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",children: T}) : null,- C ? /* @__PURE__ */ (0, O.jsx)($z, {+ C ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",- action: E ? /* @__PURE__ */ (0, O.jsx)(q, {+ action: E ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...iB(h.isFetching),+ ...Bz(h.isFetching),onClick: () => {h.isFetching || h.refetch();},@@ -61582,14 +61425,14 @@ function pSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, O.jsx)(gI, {- icon: Az,+ /* @__PURE__ */ (0, O.jsx)(MF, {+ icon: fz,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, O.jsx)(hSe, {+ }), d ? /* @__PURE__ */ (0, O.jsx)(_Se, {kind: e,entityId: t,choice: d.choice,@@ -61609,7 +61452,7 @@ function pSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {"aria-busy": h.isPending || void 0,"data-skeleton": h.isPending ? "avatar-choices" : void 0,className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",- children: h.isPending ? Array.from({ length: lSe }, (e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {+ children: h.isPending ? Array.from({ length: dSe }, (e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": !0,"data-avatar-skeleton": !0,className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",@@ -61622,8 +61465,8 @@ function pSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: cSe(n),- ...iB(w),+ title: uSe(n),+ ...Bz(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({via: "choice",@@ -61632,8 +61475,8 @@ function pSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",children: [- /* @__PURE__ */ (0, O.jsx)(mSe, {- src: $Q(e, t, n.ref, e$(n, n.ref)),+ /* @__PURE__ */ (0, O.jsx)(gSe, {+ src: fQ(e, t, n.ref, pQ(n, n.ref)),choice: n}),/* @__PURE__ */ (0, O.jsx)("span", {@@ -61642,15 +61485,15 @@ function pSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, O.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, O.jsx)(nQ, {+ children: /* @__PURE__ */ (0, O.jsx)(hZ, {variant: "caption",color: "gray",children: "在用"})}) : null,- i$(n) ? /* @__PURE__ */ (0, O.jsx)("span", {+ _Q(n) ? /* @__PURE__ */ (0, O.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, O.jsxs)(nQ, {+ children: /* @__PURE__ */ (0, O.jsxs)(hZ, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -61672,26 +61515,26 @@ function pSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(Xz, {+ children: /* @__PURE__ */ (0, O.jsx)(Mz, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,onChange: u})- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {type: "submit",variant: "secondary",disabled: !l.trim(),- ...iB(v("code")),+ ...Bz(v("code")),children: "取封面来框"})]}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: () => a.current?.click(),- ...iB(v("file")),+ ...Bz(v("file")),children: "从本机选图片"}),/* @__PURE__ */ (0, O.jsx)("input", {@@ -61711,17 +61554,17 @@ function pSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "flex min-w-0 flex-1 basis-56 items-center gap-2",children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(Xz, {+ children: /* @__PURE__ */ (0, O.jsx)(Mz, {type: "url","aria-label": "图片地址",placeholder: "https://…",value: s,onChange: c})- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",disabled: !s.trim(),- ...iB(v("url")),+ ...Bz(v("url")),onClick: () => {w || _.mutate({via: "url",@@ -61735,7 +61578,7 @@ function pSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function mSe({ src: e, choice: t }) {+function gSe({ src: e, choice: t }) {let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1), [a, o] = (0, D.useState)(!1);(0, D.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -61743,7 +61586,7 @@ function mSe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = eSe(t) ? Uxe(n$(t, s, uSe), s) : null, l = r || a ? !0 : void 0;+ }, c = nSe(t) ? Gxe(hQ(t, s, fSe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, O.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -61769,23 +61612,23 @@ function mSe({ src: e, choice: t }) {})]});}-function hSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = e$(n, s), m = $Q(e, t, s, p), h = SV();+function _Se({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = pQ(n, s), m = fQ(e, t, s, p), h = iV();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? Hxe(d, l) : null;+ let _ = d && l ? Wxe(d, l) : null;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {ref: h,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [m ? /* @__PURE__ */ (0, O.jsx)(JQ, {+ children: [m ? /* @__PURE__ */ (0, O.jsx)(sQ, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), VQ(e) && f(s === n.ref ? n$(n, e, 1) : HQ(e, 1));+ u(e), eQ(e) && f(s === n.ref ? hQ(n, e, 1) : tQ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -61799,7 +61642,7 @@ function hSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })"data-crop-base": !0,onClick: () => g(e),className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",- children: sSe(e)+ children: lSe(e)}, e))}) : null]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -61816,23 +61659,23 @@ function hSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-1 flex-wrap items-center justify-end gap-3",children: [- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: i,- ...iB(r),+ ...Bz(r),children: "返回备选图片"}),- n.crop ? null : /* @__PURE__ */ (0, O.jsx)(q, {+ n.crop ? null : /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...iB(r),+ ...Bz(r),onClick: () => {r || a(null);},children: "整张使用"}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {disabled: !d || !l,- ...iB(r),+ ...Bz(r),onClick: () => {d && !r && a({ref: s,@@ -61848,8 +61691,8 @@ function hSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}//#endregion//#region src/react/components/source-picture.tsx-var a$ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;-function o$({ item: e, image: t, thumbnail: n = !1 }) {+var vQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function yQ({ item: e, image: t, thumbnail: n = !1 }) {let [r, i] = (0, D.useState)(0), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(""), l = t === "cover" && e.has_cover, u = !l && (t !== "cover" || e.source_image), d = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`;if (!u) {let r = l ? Aa(e, !0) : t === "cover" && !e.source_image ? e.cover_url : "";@@ -61860,18 +61703,18 @@ function o$({ item: e, image: t, thumbnail: n = !1 }) {referrerPolicy: "no-referrer"}) : n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, O.jsx)($z, {+ children: /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",children: "封面未取得"})});}- let f = a$(e.code, t, r);+ let f = vQ(e.code, t, r);if (s === f) return n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, O.jsx)($z, {+ children: /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: () => i((e) => e + 1),children: "立即重试"@@ -61902,7 +61745,7 @@ function o$({ item: e, image: t, thumbnail: n = !1 }) {}//#endregion//#region src/react/components/source-avatar.tsx-function s$({ code: e, person: t, detail: n = !1 }) {+function bQ({ code: e, person: t, detail: n = !1 }) {let r = (0, D.useRef)(null), [i, a] = (0, D.useState)(n || typeof IntersectionObserver > "u");(0, D.useEffect)(() => {if (!r.current || i) return;@@ -61916,7 +61759,7 @@ function s$({ code: e, person: t, detail: n = !1 }) {"data-source-initial": "",children: xn(t.name)}), i && t.source_actor_id ? /* @__PURE__ */ (0, O.jsx)("img", {- src: a$(e, `actor:${t.source_actor_id}`),+ src: vQ(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -61927,8 +61770,8 @@ function s$({ code: e, person: t, detail: n = !1 }) {}//#endregion//#region src/react/feed-new/feed-new-row.tsx-function c$({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, D.useContext)(eW), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";+function xQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, D.useContext)(lU), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";(0, D.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -61960,7 +61803,7 @@ function c$({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(s$, {+ }), s.map((e, t) => (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(bQ, {code: e.dataset.code,person: {name: e.dataset.name,@@ -61970,7 +61813,7 @@ function c$({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}//#endregion//#region src/react/entity-hero/glyph.tsx-function l$({ name: e }) {+function SQ({ name: e }) {let { wide: t, viewBox: n } = Gt(e);return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: n,@@ -61981,20 +61824,20 @@ function l$({ name: e }) {}//#endregion//#region src/react/entity-hero/hero-pop.tsx-function u$(e, t) {+function CQ(e, t) {t.style.removeProperty("max-height");let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;}-var d$ = (e) => !!e?.isConnected && e.matches(":popover-open");-function f$(e, t, n, r) {+var wQ = (e) => !!e?.isConnected && e.matches(":popover-open");+function TQ(e, t, n, r) {let i = (0, D.useRef)(r);i.current = r, (0, D.useEffect)(() => {if (!e) return;let r = () => {- t.current && d$(n.current) ? u$(t.current, n.current) : i.current();+ t.current && wQ(n.current) ? CQ(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -62008,17 +61851,17 @@ function f$(e, t, n, r) {n]);}-function p$({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function EQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = (0, D.useRef)(!1), d = (0, D.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, d$(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, wQ(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !d$(s.current) && (s.current.showPopover(), u$(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !wQ(s.current) && (s.current.showPopover(), CQ(o.current, s.current), l(!0));}, m = () => {clearTimeout(d.current), d.current = window.setTimeout(() => {!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();}, 150);};- return f$(c, o, s, f), (0, D.useEffect)(() => {+ return TQ(c, o, s, f), (0, D.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -62044,7 +61887,7 @@ function p$({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && d$(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && wQ(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -62062,16 +61905,16 @@ function p$({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function gSe({ following: e, busy: t, onToggle: n, tip: r }) {+function vSe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(!1), l = (0, D.useRef)(!1), u = () => {- d$(o.current) && o.current.hidePopover(), c(!1);+ wQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !d$(o.current) && (o.current.showPopover(), u$(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !wQ(o.current) && (o.current.showPopover(), CQ(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return f$(s, i, o, () => c(!1)), (0, D.useEffect)(() => {- i.current && d$(o.current) && u$(i.current, o.current);+ return TQ(s, i, o, () => c(!1)), (0, D.useEffect)(() => {+ i.current && wQ(o.current) && CQ(i.current, o.current);}, [r]), /* @__PURE__ */ (0, O.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -62080,7 +61923,7 @@ function gSe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, O.jsx)(l$, { name: "rss" }),+ /* @__PURE__ */ (0, O.jsx)(SQ, { name: "rss" }),/* @__PURE__ */ (0, O.jsx)("input", {ref: a,type: "checkbox",@@ -62115,29 +61958,29 @@ function gSe({ following: e, busy: t, onToggle: n, tip: r }) {}//#endregion//#region src/react/entity-hero/name-picker.tsx-function _Se({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function ySe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, D.useState)(!1), o = (0, D.useRef)(null);return (0, D.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, O.jsxs)(tue, {+ }, []), /* @__PURE__ */ (0, O.jsxs)(vue, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, O.jsx)(JI, {+ children: [/* @__PURE__ */ (0, O.jsx)(_I, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, O.jsx)(l$, { name: "chevron-down" })- }), /* @__PURE__ */ (0, O.jsx)(xR, {+ children: /* @__PURE__ */ (0, O.jsx)(SQ, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, O.jsx)(rR, {placement: "bottom start",offset: 8,containerPadding: 8,- className: mV,+ className: XB,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, O.jsxs)(rue, {+ children: /* @__PURE__ */ (0, O.jsxs)(bue, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, O.jsx)(kR, {+ /* @__PURE__ */ (0, O.jsx)(dR, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -62145,31 +61988,31 @@ function _Se({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(jR, {+ children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(pR, {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]}, e))}),- /* @__PURE__ */ (0, O.jsx)(Rle, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, O.jsx)(kR, { children: /* @__PURE__ */ (0, O.jsxs)(jR, {+ /* @__PURE__ */ (0, O.jsx)(tue, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, O.jsx)(dR, { children: /* @__PURE__ */ (0, O.jsxs)(pR, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "plus" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "plus" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var vSe = (e) => e === "studio" || e === "agency", m$ = (e) => e === "performer" || e === "creator", ySe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function bSe(e) {+var bSe = (e) => e === "studio" || e === "agency", DQ = (e) => e === "performer" || e === "creator", xSe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function SSe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function h$(e) {+function OQ(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -62181,13 +62024,13 @@ function h$(e) {linked: !1} : null;}-function g$(e, t) {+function kQ(e, t) {let n = pn(e, "performer"), r = un(t);return r && [e.label, n].map(un).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var _$ = (e) => ({ site: on(e) });-function xSe(e, t) {- let n = h$(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var AQ = (e) => ({ site: on(e) });+function CSe(e, t) {+ let n = OQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -62197,7 +62040,7 @@ function xSe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${g$(e, n)} · ${t}`+ title: `${kQ(e, n)} · ${t}`};}let r = e.url || "";@@ -62205,11 +62048,11 @@ function xSe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (m$(t) && e.link_kind !== "social") return {+ if (DQ(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: g$(e, n),- mark: _$(e)+ title: kQ(e, n),+ mark: AQ(e)};if (e.link_kind === "social") {let t = ln(r);@@ -62217,7 +62060,7 @@ function xSe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : _$(e)+ mark: t ? { brand: t } : AQ(e)};}return {@@ -62225,12 +62068,12 @@ function xSe(e, t) {url: r,title: e.label || "",text: pn(e, t, i),- mark: _$(e)+ mark: AQ(e)};});- return [...r, ...SSe(a)];+ return [...r, ...wSe(a)];}-function SSe(e) {+function wSe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -62238,8 +62081,8 @@ function SSe(e) {sources: t.map((e) => e.label)}];}-var v$ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function CSe(e) {+var jQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function TSe(e) {return [["legal_name",@@ -62295,7 +62138,7 @@ function CSe(e) {}]}] : []);}-function wSe(e) {+function ESe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -62352,14 +62195,14 @@ function wSe(e) {tags: e.tags}), t;}-function y$(e, t = 4) {+function MQ(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function TSe(e) {+function DSe(e) {if (!e) return null;let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;return n.length || r > 0 ? {@@ -62370,7 +62213,7 @@ function TSe(e) {}//#endregion//#region src/react/entity-hero/entity-hero-page.tsx-function ESe(e) {+function OSe(e) {return Ia({id: e.id,hasImage: e.has_image,@@ -62381,8 +62224,8 @@ function ESe(e) {standIn: e.avatar_stand_in});}-function DSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = m$(e), c = vSe(e), l = s ? wSe(n.profile) : c ? CSe(n.company_profile) : [], u = xSe(n, e), d = v$(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);+function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = DQ(e), c = bSe(e), l = s ? ESe(n.profile) : c ? TSe(n.company_profile) : [], u = CSe(n, e), d = jQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);return (0, D.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, D.useEffect)(() => {@@ -62395,7 +62238,7 @@ function DSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, O.jsx)(OSe, {+ children: [/* @__PURE__ */ (0, O.jsx)(ASe, {kind: e,name: t,helpers: o,@@ -62403,7 +62246,7 @@ function DSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, O.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, O.jsx)(fSe, {+ children: /* @__PURE__ */ (0, O.jsx)(mSe, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -62418,13 +62261,13 @@ function DSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, O.jsx)("h2", { children: n.canonical_name }),- e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(_Se, {+ e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(ySe, {current: n.canonical_name,- choices: bSe(n),+ choices: SSe(n),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, O.jsx)(gB, { item: {+ n.id ? /* @__PURE__ */ (0, O.jsx)(Qz, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -62432,7 +62275,7 @@ function DSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,} }) : null]}),- /* @__PURE__ */ (0, O.jsx)(kSe, {+ /* @__PURE__ */ (0, O.jsx)(jSe, {kind: e,entity: n,actions: a@@ -62453,14 +62296,14 @@ function DSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, O.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(FSe, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(LSe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(ISe, {+ d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(RSe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(MSe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(PSe, {follow: n.follow,entity: n,actions: a@@ -62469,11 +62312,11 @@ function DSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, O.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(NSe, {+ children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(FSe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, O.jsx)(PSe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, O.jsx)(ISe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -62492,7 +62335,7 @@ function DSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${B(xn(e.k))}</span>${ESe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${B(xn(e.k))}</span>${OSe(e)}` }}), /* @__PURE__ */ (0, O.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -62500,14 +62343,14 @@ function DSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(c$, {+ }), i ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(xQ, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function OSe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function ASe({ kind: e, name: t, helpers: n, people: r, company: i }) {let [a] = (0, D.useState)(() => `${n.portraitImg()}<span>${B(xn(t))}</span>`);return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -62516,8 +62359,8 @@ function OSe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function kSe({ kind: e, entity: t, actions: n }) {- let r = h$(t), i = (e, t) => (r) => {+function jSe({ kind: e, entity: t, actions: n }) {+ let r = OQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, O.jsx)("a", {href: en("agency", r.name, r.id),@@ -62526,41 +62369,41 @@ function kSe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = TSe(t.name_groups);+ let e = DSe(t.name_groups);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, O.jsx)(b$, { entity: t }),+ /* @__PURE__ */ (0, O.jsx)(NQ, { entity: t }),/* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "film" }), /* @__PURE__ */ (0, O.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "film" }), /* @__PURE__ */ (0, O.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(jSe, {+ t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(NSe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]}) : null,e ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, O.jsx)(l$, { name: "id-card" }),+ /* @__PURE__ */ (0, O.jsx)(SQ, { name: "id-card" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, O.jsx)("span", { children: e }, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, O.jsx)(p$, {+ e.rest > 0 ? /* @__PURE__ */ (0, O.jsx)(EQ, {id: "entityAliasPop",hook: "alias",rest: e.rest,label: `另外 ${e.rest.toLocaleString()} 个别名`,heading: `${e.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, O.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, O.jsx)(x$, {+ children: /* @__PURE__ */ (0, O.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, O.jsx)(PQ, {label: e.label,names: e.names}, t)) })@@ -62582,61 +62425,61 @@ function kSe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, O.jsx)(b$, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, O.jsx)(NQ, { entity: t }) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "film" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "film" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "clapperboard" }), /* @__PURE__ */ (0, O.jsx)("a", {+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "clapperboard" }), /* @__PURE__ */ (0, O.jsx)("a", {href: en("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, O.jsx)(ASe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, O.jsx)(MSe, { aliases: s }) : null]});}-function ASe({ aliases: e }) {- let { shown: t, rest: n } = y$(e, 3);+function MSe({ aliases: e }) {+ let { shown: t, rest: n } = MQ(e, 3);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, O.jsx)(l$, { name: "id-card" }),+ /* @__PURE__ */ (0, O.jsx)(SQ, { name: "id-card" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, O.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, O.jsx)(p$, {+ n ? /* @__PURE__ */ (0, O.jsx)(EQ, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, O.jsx)("dl", { children: /* @__PURE__ */ (0, O.jsx)(x$, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, O.jsx)("dl", { children: /* @__PURE__ */ (0, O.jsx)(PQ, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function jSe({ follow: e, actions: t }) {+function NSe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "rss" }), /* @__PURE__ */ (0, O.jsxs)("a", {+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "rss" }), /* @__PURE__ */ (0, O.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -62645,7 +62488,7 @@ function jSe({ follow: e, actions: t }) {})]});}-function MSe({ follow: e, entity: t, actions: n }) {+function PSe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, D.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -62659,12 +62502,12 @@ function MSe({ follow: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-held": "",className: "flex flex-col gap-2",- children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)($z, {+ children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)(Fz, {tone: "info",title: `关注里有同名作者 ${e.name}`,- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",- ...iB(r === e.key),+ ...Bz(r === e.key),onClick: () => {a(e.key, e.name);},@@ -62679,14 +62522,14 @@ function MSe({ follow: e, entity: t, actions: n }) {}, e.key))});}-function b$({ entity: e }) {+function NQ({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function x$({ label: e, names: t }) {+function PQ({ label: e, names: t }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, O.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {@@ -62695,20 +62538,20 @@ function x$({ label: e, names: t }) {}, t))})] });}-function NSe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("dt", { children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: e }), t] }), /* @__PURE__ */ (0, O.jsx)("dd", {+function FSe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("dt", { children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: e }), t] }), /* @__PURE__ */ (0, O.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function PSe({ tags: e }) {- let { shown: t, rest: n } = y$(e);+function ISe({ tags: e }) {+ let { shown: t, rest: n } = MQ(e);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, O.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, O.jsx)(p$, {+ }, e)), n ? /* @__PURE__ */ (0, O.jsx)(EQ, {id: "entityTagPop",hook: "fact",rest: n,@@ -62724,10 +62567,10 @@ function PSe({ tags: e }) {})}) : null] });}-function S$({ mark: e }) {+function FQ({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, O.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, O.jsx)(l$, { name: e.brand })+ children: /* @__PURE__ */ (0, O.jsx)(SQ, { name: e.brand })});let t = R("globe") + ("site" in e ? `<img src="${B(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, O.jsx)("span", {@@ -62735,7 +62578,7 @@ function S$({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function FSe({ link: e }) {+function LSe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, O.jsx)("a", {"data-link": "icon",@@ -62744,19 +62587,19 @@ function FSe({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, O.jsx)(S$, { mark: e.mark })+ children: /* @__PURE__ */ (0, O.jsx)(FQ, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, O.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, O.jsx)(S$, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, O.jsx)(FQ, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, O.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, O.jsx)(S$, { mark: { globe: !0 } }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(FQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, O.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -62768,7 +62611,7 @@ function FSe({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, O.jsx)(S$, { mark: e.mark }),+ /* @__PURE__ */ (0, O.jsx)(FQ, { mark: e.mark }),/* @__PURE__ */ (0, O.jsx)("span", {"data-link-label": "",children: e.text@@ -62783,7 +62626,7 @@ function FSe({ link: e }) {});}}-function ISe({ entity: e, actions: t, helpers: n }) {+function RSe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, D.useState)(!!e.feed?.following), [a, o] = (0, D.useState)(!1), s = (0, D.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -62801,34 +62644,34 @@ function ISe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entry-marks": "",- children: [v$(e).map((e, t) => /* @__PURE__ */ (0, O.jsxs)("a", {+ children: [jQ(e).map((e, t) => /* @__PURE__ */ (0, O.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noopener noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, O.jsx)(l$, { name: e.mark }) : /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, O.jsx)(SQ, { name: e.mark }) : /* @__PURE__ */ (0, O.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, O.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(gSe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(vSe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: ySe(r)+ tip: xSe(r)}) : null]});}//#endregion//#region src/react/entity-page/use-entity-online.ts-var LSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function RSe(e, t, n) {+var zSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function BSe(e, t, n) {let [r, i] = (0, D.useState)(() => Ri(e));r.author !== e && i(Ri(e));let [a, o] = (0, D.useState)({@@ -62907,7 +62750,7 @@ function RSe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => T({sort: xi,- seed: LSe()+ seed: zSe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),@@ -62938,8 +62781,8 @@ function RSe(e, t, n) {}//#endregion//#region src/react/entity-page/entity-page-view.tsx-function zSe(e) {- let { kind: t, name: n } = e, r = St(LZ(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+function VSe(e) {+ let { kind: t, name: n } = e, r = St(XX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {kind: t,name: a} : void 0), { actions: s } = e;@@ -62957,17 +62800,17 @@ function zSe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(xG, {+ ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {message: An(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)(HSe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)(WSe, {...e,entity: r.data});}-function C$(e) {+function IQ(e) {let [t, n] = (0, D.useState)({key: e,n: 1@@ -62979,22 +62822,22 @@ function C$(e) {};return n(r), r.n;}-var BSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function VSe(e, t) {+var HSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function USe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function HSe(e) {- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = wt(RZ(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || zZ(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+function WSe(e) {+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = wt(ZX(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || QX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {media: "online",set: 0- } : AZ, [y, b] = (0, D.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, D.useState)(x);+ } : UX, [y, b] = (0, D.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, D.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = RSe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = BSe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), E = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, D.useState)(0), j = IZ(e), M = St(j), N = C$(JSON.stringify([j.queryKey, k])), [P] = (0, D.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));+ }), E = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, D.useState)(0), j = YX(e), M = St(j), N = IQ(JSON.stringify([j.queryKey, k])), [P] = (0, D.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));(0, D.useLayoutEffect)(() => {s.javContext(P);}, [s, P]);@@ -63004,26 +62847,26 @@ function HSe(e) {}, [e.layout, P]), F = {jav: e.jav,seed: e.seed- }, te = (0, D.useCallback)((e, r, a) => FZ(t, n, i, F, e, r, a), [N]), [I, ne] = (0, D.useState)({}), re = v.set, ie = I[re] || "", ae = wt({- ...RZ(t, n, re, ie),+ }, te = (0, D.useCallback)((e, r, a) => JX(t, n, i, F, e, r, a), [N]), [I, ne] = (0, D.useState)({}), re = v.set, ie = I[re] || "", ae = wt({+ ...ZX(t, n, re, ie),enabled: w === "photos"- }), oe = ae.data?.pages[0], se = C$(JSON.stringify(MZ(t, n, re, ie))), ce = (0, D.useMemo)(() => {+ }), oe = ae.data?.pages[0], se = IQ(JSON.stringify(GX(t, n, re, ie))), ce = (0, D.useMemo)(() => {let e = ae.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: se,- codeSets: t.id ? [] : zZ(t),+ codeSets: t.id ? [] : QX(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};}, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = St({- ...DZ(d, o.feedRowHtml),+ ...BX(d, o.feedRowHtml),enabled: !!d}), fe = (0, D.useRef)(e.feedRevision);(0, D.useEffect)(() => {- fe.current !== e.feedRevision && (fe.current = e.feedRevision, U.invalidateQueries({ queryKey: EZ(d) }));+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, U.invalidateQueries({ queryKey: zX(d) }));}, [d, e.feedRevision]);let pe = !!M.data;(0, D.useEffect)(() => {@@ -63042,7 +62885,7 @@ function HSe(e) {me.current = !1;}, []);let he = (0, D.useCallback)(async () => {- await U.invalidateQueries({ queryKey: ["entity-route"] }), await U.invalidateQueries({ queryKey: jZ(t, n) }), await U.invalidateQueries({ queryKey: [+ await U.invalidateQueries({ queryKey: ["entity-route"] }), await U.invalidateQueries({ queryKey: WX(t, n) }), await U.invalidateQueries({ queryKey: ["entity-items",t,n@@ -63076,7 +62919,7 @@ function HSe(e) {enabled: e})}),- onSuccess: (e, r) => U.setQueryData(jZ(t, n), (e) => e && {+ onSuccess: (e, r) => U.setQueryData(WX(t, n), (e) => e && {...e,feed: {...e.feed,@@ -63130,10 +62973,10 @@ function HSe(e) {let e = await z("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- me.current && await U.invalidateQueries({ queryKey: EZ(d) });+ me.current && await U.invalidateQueries({ queryKey: zX(d) });})();},- feedAction: OZ,+ feedAction: VX,avatarPicked: () => {s.avatarChanged(), he().then(() => {me.current && A((e) => e + 1);@@ -63181,19 +63024,19 @@ function HSe(e) {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : AZ));+ } : UX));},setState: (e) => s.route({...i,state: e- }, AZ),+ }, UX),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (w !== "photos") {- let r = s.reshuffleVideos(), a = IZ({+ let r = s.reshuffleVideos(), a = YX({kind: t,name: n,filters: {@@ -63207,7 +63050,7 @@ function HSe(e) {await U.fetchQuery(a).catch(() => null);return;}- let r = BSe(), a = await U.fetchInfiniteQuery(RZ(t, n, re, r)).catch(() => null);+ let r = HSe(), a = await U.fetchInfiniteQuery(ZX(t, n, re, r)).catch(() => null);me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({...e,[re]: r@@ -63242,7 +63085,7 @@ function HSe(e) {k: e.k,label: fl(e.k),n: e.n,- selected: xbe(i.tag, e.k)+ selected: Cbe(i.tag, e.k)})), Te = [u.length,!_,@@ -63277,14 +63120,14 @@ function HSe(e) {creator: "",studio: "",owner: ""- }, AZ), Ne = "", Pe = !1;+ }, UX), Ne = "", Pe = !1;if (w === "people") Ne = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;else if (w === "online") Pe = T.busy, Ne = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;else if (w === "videos") {Pe = !M.data;- let e = NZ(i.tag).length;+ let e = KX(i.tag).length;Ne = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : VSe(oe, zZ(oe).length) : Pe = ae.isPending;+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : USe(oe, QX(oe).length) : Pe = ae.isPending;let Fe = (0, D.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -63301,7 +63144,7 @@ function HSe(e) {u]);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(DSe, {+ /* @__PURE__ */ (0, O.jsx)(kSe, {kind: t,name: n,entity: r,@@ -63311,7 +63154,7 @@ function HSe(e) {actions: be,helpers: xe}, k),- (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(JW, {+ (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(fge, {kind: t,name: n,view: w,@@ -63328,9 +63171,9 @@ function HSe(e) {actions: Se,helpers: Ce}), c.filter),- (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(Khe, {+ (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(Qhe, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(Fxe, {+ children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(Lxe, {view: T.view,media: T.media,result: T.result,@@ -63344,16 +63187,16 @@ function HSe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(xG, {+ }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {message: An(M.error),onRetry: () => {M.refetch();}- }) : je ? /* @__PURE__ */ (0, O.jsx)(USe, {+ }) : je ? /* @__PURE__ */ (0, O.jsx)(GSe, {filtered: Ae,onShowAll: Me,onOnline: g ? () => Se.setView("online") : void 0- }) : /* @__PURE__ */ (0, O.jsx)(exe, {+ }) : /* @__PURE__ */ (0, O.jsx)(nxe, {kind: t,name: n,view: w,@@ -63385,24 +63228,24 @@ function HSe(e) {}), c.body)] });}-function USe({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, O.jsx)(eB, {- icon: nB("search"),+function GSe({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, O.jsx)(Iz, {+ icon: Rz("search"),title: "没有符合条件的视频",- actions: /* @__PURE__ */ (0, O.jsx)(q, {+ actions: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: t,children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, O.jsx)(eB, {- icon: nB("film"),+ }) : /* @__PURE__ */ (0, O.jsx)(Iz, {+ icon: Rz("film"),title: "还没有视频",- actions: n ? /* @__PURE__ */ (0, O.jsx)(q, {+ actions: n ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, O.jsx)(OI, {+ }) : /* @__PURE__ */ (0, O.jsx)(JF, {size: "small",href: "/",children: "浏览馆藏"@@ -63412,40 +63255,40 @@ function USe({ filtered: e, onShowAll: t, onOnline: n }) {}//#endregion//#region src/react/diagnostics/diagnostics.ts-var w$ = ["diagnostics"], T$ = (e) => V("/api/diagnostics", e);-async function WSe(e) {+var LQ = ["diagnostics"], RQ = (e) => V("/api/diagnostics", e);+async function KSe(e) {await U.fetchQuery({- queryKey: w$,- queryFn: () => T$(e),+ queryKey: LQ,+ queryFn: () => RQ(e),staleTime: 1e4});}//#endregion//#region src/react/feed-new/feed-new-page.tsx-function GSe({ host: e, revision: t, helpers: n, actions: r }) {- let i = St(DZ(null, n.feedRowHtml)), a = (0, D.useRef)(t);+function qSe({ host: e, revision: t, helpers: n, actions: r }) {+ let i = St(BX(null, n.feedRowHtml)), a = (0, D.useRef)(t);return (0, D.useEffect)(() => {- a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: EZ(null) }));- }, [t]), (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(c$, {+ a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: zX(null) }));+ }, [t]), (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(xQ, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: OZ,+ act: VX,settled: r.settled}), e);}//#endregion//#region src/react/components/board-tabs.tsx-function E$({ value: e }) {+function zQ({ value: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {"data-tab-count": "",className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",children: e.toLocaleString()});}-var KSe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";-function D$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, D.useRef)(null), o = yI(a);+var JSe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";+function BQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, D.useRef)(null), o = FF(a);return (0, D.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -63454,7 +63297,7 @@ function D$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"let n = t.offsetLeft, r = n + t.offsetWidth;n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);})();- }, [t]), /* @__PURE__ */ (0, O.jsx)(JF, {+ }, [t]), /* @__PURE__ */ (0, O.jsx)(rF, {ref: o,role: "tablist","aria-label": n,@@ -63469,7 +63312,7 @@ function D$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"},className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,children: e.map((e) => {- let n = e.symbol ? nB(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? Rz(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",@@ -63478,7 +63321,7 @@ function D$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5""data-pill-selected": i ? "" : void 0,"data-pill-variant": "gray",tabIndex: i ? 0 : -1,- className: KSe,+ className: JSe,onClick: () => {i || r(e.value);},@@ -63489,11 +63332,11 @@ function D$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"}//#endregion//#region src/react/index/index-tags.tsx-var O$ = () => /* @__PURE__ */ (0, O.jsx)("span", {+var VQ = () => /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), k$ = nB("pencil"), A$ = (e, t) => ({+}), HQ = Rz("pencil"), UQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -63502,7 +63345,7 @@ var O$ = () => /* @__PURE__ */ (0, O.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function qSe({ tag: e, actions: t }) {+function YSe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -63511,13 +63354,13 @@ function qSe({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": $Z(t.online, e.cat),+ "data-tag-cat": fZ(t.online, e.cat),"aria-pressed": n,title: e.label,onClick: () => t.press(e.k),className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [- /* @__PURE__ */ (0, O.jsx)(O$, {}),+ /* @__PURE__ */ (0, O.jsx)(VQ, {}),/* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -63528,32 +63371,32 @@ function qSe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(gB, { item: A$(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, O.jsx)(hB, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(Qz, { item: UQ(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, O.jsx)(Zz, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, O.jsx)(k$, {})+ children: /* @__PURE__ */ (0, O.jsx)(HQ, {})}) : null]});}-function j$({ groups: e, actions: t }) {+function WQ({ groups: e, actions: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, O.jsxs)("section", {"data-alpha-group": r,- className: XH({+ className: MH({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, O.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, O.jsx)(E$, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, O.jsx)(zQ, { value: n.length })]}), /* @__PURE__ */ (0, O.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(qSe, {+ children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(YSe, {tag: e,actions: t}, e.k))@@ -63561,26 +63404,26 @@ function j$({ groups: e, actions: t }) {}, e))});}-var JSe = "\xA0";-function M$({ tags: e, actions: t }) {+var XSe = "\xA0";+function GQ({ tags: e, actions: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("span", {"data-tag-token": "",- "data-tag-cat": $Z(t.online, e.cat),+ "data-tag-cat": fZ(t.online, e.cat),className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-lg border p-1",children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": $Z(t.online, e.cat),+ "data-tag-cat": fZ(t.online, e.cat),"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 truncate",- children: e.label + JSe+ children: e.label + XSe}), /* @__PURE__ */ (0, O.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -63589,16 +63432,16 @@ function M$({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(gB, { item: A$(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(hB, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(Qz, { item: UQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(Zz, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, O.jsx)(k$, {})+ children: /* @__PURE__ */ (0, O.jsx)(HQ, {})}) : null]}) : null]}, e.k))});}-var YSe = [[+var ZSe = [["cloud","标签云","tags"@@ -63607,28 +63450,28 @@ var YSe = [["字母表","text-aa"]];-function N$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {- let d = yI();- return /* @__PURE__ */ (0, O.jsx)(xI, {+function KQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+ let d = FF();+ return /* @__PURE__ */ (0, O.jsx)(zF, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [l ? /* @__PURE__ */ (0, O.jsx)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(SI, {+ children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(VF, {"data-tag-pill": "","data-tag-cat": "all",pressed: l.hidden === e,onPress: () => l.onChange(!!e),children: t}, String(e)))- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(SI, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(VF, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : $Z(n, e),+ "data-tag-cat": e === "all" ? "all" : fZ(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, O.jsx)(O$, {}), r]+ children: [/* @__PURE__ */ (0, O.jsx)(VQ, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {@@ -63649,19 +63492,19 @@ function N$({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, O.jsx)(VR, {+ /* @__PURE__ */ (0, O.jsx)(CR, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${gW}`,- children: YSe.map(([e, t, n]) => {- let r = nB(n);- return /* @__PURE__ */ (0, O.jsx)(HR, {+ className: `ml-auto ${xU}`,+ children: ZSe.map(([e, t, n]) => {+ let r = Rz(n);+ return /* @__PURE__ */ (0, O.jsx)(wR, {value: e,"aria-label": t,"data-glass-segment": "",- className: _W,+ className: SU,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -63673,13 +63516,13 @@ function N$({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function XSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, O.jsxs)(Dk, {+function QSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, O.jsxs)(Ck, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, O.jsx)(xV, {+ /* @__PURE__ */ (0, O.jsx)(rV, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, O.jsxs)("span", {@@ -63693,13 +63536,13 @@ function XSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {})]})}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",onClick: r,children: "清空"}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",size: "small",disabled: !e,@@ -63711,29 +63554,29 @@ function XSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {}//#endregion//#region src/react/toaster.tsx-var P$ = (e, t) => /* @__PURE__ */ (0, O.jsx)("span", {+var qQ = (e, t) => /* @__PURE__ */ (0, O.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), F$ = null, I$ = { "--floating-radius": "var(--radius-2xl)" };-function L$() {- let e = F$;- F$ = null, e?.root.unmount();-}-var R$ = (e, t) => {- if (F$?.host === e) return;- L$();+}), JQ = null, YQ = { "--floating-radius": "var(--radius-2xl)" };+function XQ() {+ let e = JQ;+ JQ = null, e?.root.unmount();+}+var ZQ = (e, t) => {+ if (JQ?.host === e) return;+ XQ();let n = (0, Et.createRoot)(e);- F$ = {+ JQ = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, O.jsxs)(vH, { children: [/* @__PURE__ */ (0, O.jsx)(EH, {+ }, n.render(/* @__PURE__ */ (0, O.jsxs)(eH, { children: [/* @__PURE__ */ (0, O.jsx)(cH, {id: "receipts",position: "bottom-right",closeButton: !0,gap: 8,style: {- ...I$,+ ...YQ,"--width": "min(560px, calc(100vw - 48px))"},offset: {@@ -63748,16 +63591,16 @@ var R$ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: P$(t.success, !0),- error: P$(t.error, !1)+ success: qQ(t.success, !0),+ error: qQ(t.error, !1)}- }), /* @__PURE__ */ (0, O.jsx)(EH, {+ }), /* @__PURE__ */ (0, O.jsx)(cH, {id: "processing",position: "bottom-right",gap: 8,expand: !0,style: {- ...I$,+ ...YQ,"--width": "min(400px, calc(100vw - 32px))"},offset: {@@ -63772,13 +63615,13 @@ var R$ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, ZSe = 6e3, z$ = (e, t) => {+}, $Se = 6e3, QQ = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? xH.error : xH.success, r = t.action;+ let n = t.alert ? rH.error : rH.success, r = t.action;n(/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : ZSe,+ duration: t.timeout > 0 ? t.timeout : $Se,action: r ? {label: r.label,onClick: (e) => {@@ -63786,32 +63629,32 @@ var R$ = (e, t) => {}} : void 0});-}, B$ = (e) => e.id ?? e.entity_id, V$ = {+}, $Q = (e) => e.id ?? e.entity_id, e$ = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",restore: "恢复标签",repair: "整理重复标签"-}, H$ = (e, t) => H("/api/tag-management/preview", e, "POST", t);-async function U$(e, t, n) {+}, t$ = (e, t) => H("/api/tag-management/preview", e, "POST", t);+async function n$(e, t, n) {if (n?.aborted) return !1;let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;return !(await xc({- title: V$[e.operation],+ title: e$[e.operation],body: i,- confirmLabel: V$[e.operation],+ confirmLabel: e$[e.operation],onConfirm: () => H("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await U.invalidateQueries(), z$(`tag-management-${Date.now()}`, {- html: `已${V$[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await U.invalidateQueries(), QQ(`tag-management-${Date.now()}`, {+ html: `已${e$[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function QSe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function eCe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, D.useRef)({operation: e,selected: t,@@ -63820,24 +63663,24 @@ function QSe({ operation: e, selected: t, close: n, done: r, scope: i = "local"scope: i}), o = (0, D.useRef)({name: t[0]?.k || "",- target_id: t[0] ? B$(t[0]) : 0+ target_id: t[0] ? $Q(t[0]) : 0}), [s, c] = (0, D.useState)(null);return (0, D.useEffect)(() => {let e = new AbortController(), t = a.current, n = yc({- title: V$[t.operation],+ title: e$[t.operation],confirmLabel: "预览影响范围",confirmDisabled: !0,body: "<div class=\"peach-react\" data-tag-editor-fields></div>",onConfirm: async () => {let n = {operation: t.operation,- ids: t.selected.map(B$),+ ids: t.selected.map($Q),...t.scope === "online" ? { scope: t.scope } : {},...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }};return {command: n,- plan: await H$(n, e.signal)+ plan: await t$(n, e.signal)};}});@@ -63848,14 +63691,14 @@ function QSe({ operation: e, selected: t, close: n, done: r, scope: i = "local"if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await U$(r.command, r.plan, e.signal) && t.done();+ await n$(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)($Se, {+ }, []), s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(tCe, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -63864,8 +63707,8 @@ function QSe({ operation: e, selected: t, close: n, done: r, scope: i = "local"}}), s.host) : null;}-function $Se({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, D.useState)(t[0]?.k || ""), [o, s] = (0, D.useState)(t[0] ? B$(t[0]) : 0);+function tCe({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, D.useState)(t[0]?.k || ""), [o, s] = (0, D.useState)(t[0] ? $Q(t[0]) : 0);return (0, D.useEffect)(() => {r({name: i,@@ -63878,46 +63721,46 @@ function $Se({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(Xz, {+ ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(Mz, {autoFocus: !0,"aria-label": "标签名称",value: i,onChange: a,maxLength: 80- }) : /* @__PURE__ */ (0, O.jsx)(KY, {+ }) : /* @__PURE__ */ (0, O.jsx)(aY, {"aria-label": "保留的标签",prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(B$(t)) === String(e));- n && s(B$(n));+ let n = t.find((t) => String($Q(t)) === String(e));+ n && s($Q(n));},- children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(rW, {- id: String(B$(e)),+ children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {+ id: String($Q(e)),children: e.k- }, B$(e)))+ }, $Q(e)))});}//#endregion//#region src/react/index/tag-manager.tsx-function eCe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = St({queryKey: ["tag-management", o],queryFn: ({ signal: e }) => V(`/api/tag-management${s ? "?scope=online" : ""}`, e)- }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = JH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? WZ : UZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({+ }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = AH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? rZ : nZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({...e,label: e.k- })), x = n === "alphabet" ? eQ(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {+ })), x = n === "alphabet" ? pZ(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {h.run(e.operation, async (t) => {let n = s ? {...e,scope: o} : e;- return U$(n, await H$(n, t), t);+ return n$(n, await t$(n, t), t);}, (e) => {e && f(/* @__PURE__ */ new Set());});- }, w = S.map(B$), T = {+ }, w = S.map($Q), T = {online: s,favorites: s,picked: d,@@ -63934,7 +63777,7 @@ function eCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor"data-tag-manager": "",className: "flex min-w-0 flex-col",children: [- /* @__PURE__ */ (0, O.jsx)(N$, {+ /* @__PURE__ */ (0, O.jsx)(KQ, {categories: y,category: t,online: s,@@ -63953,7 +63796,7 @@ function eCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}},actions: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(CI, {+ c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(UF, {busy: h.busy === "repair",onPress: () => C({operation: "repair",@@ -63961,11 +63804,11 @@ function eCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}),children: "整理重复标签"}) : null,- v.length ? /* @__PURE__ */ (0, O.jsx)(CI, {+ v.length ? /* @__PURE__ */ (0, O.jsx)(UF, {onPress: () => f(new Set(v.map((e) => e.k))),children: "选择当前结果"}) : null,- d.size ? /* @__PURE__ */ (0, O.jsx)(CI, {+ d.size ? /* @__PURE__ */ (0, O.jsx)(UF, {onPress: () => f(/* @__PURE__ */ new Set()),children: "清空选择"}) : null@@ -63975,52 +63818,52 @@ function eCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor"aria-busy": "true","data-skeleton": "",className: "h-24 rounded-lg bg-background-tertiary-default",- children: /* @__PURE__ */ (0, O.jsx)(HC, { children: "正在读取标签" })- }) : c.isError ? /* @__PURE__ */ (0, O.jsx)($z, {+ children: /* @__PURE__ */ (0, O.jsx)(uw, { children: "正在读取标签" })+ }) : c.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: () => void c.refetch(),children: "立即重试"}),children: "无法读取标签"- }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(j$, {+ }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(WQ, {groups: x,actions: T- }) : /* @__PURE__ */ (0, O.jsx)(M$, {+ }) : /* @__PURE__ */ (0, O.jsx)(GQ, {tags: b,actions: T- }) : /* @__PURE__ */ (0, O.jsx)($z, {+ }) : /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",children: "没有符合条件的标签。"}),- h.error ? /* @__PURE__ */ (0, O.jsx)($z, {+ h.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: h.error}) : null,- /* @__PURE__ */ (0, O.jsxs)(Dk, {+ /* @__PURE__ */ (0, O.jsxs)(Ck, {label: "标签管理操作",count: `已选 ${d.size} 个标签`,visible: d.size > 0,children: [- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",disabled: S.length !== 1,onClick: () => m("rename"),children: "重命名"}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",disabled: S.length < 2 || s && new Set(S.map((e) => e.cat)).size > 1,onClick: () => m("merge"),children: "合并"}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...iB(!!h.busy),+ ...Bz(!!h.busy),onClick: () => C({operation: l ? "restore" : "hide",ids: w@@ -64029,7 +63872,7 @@ function eCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor})]}),- p ? /* @__PURE__ */ (0, O.jsx)(QSe, {+ p ? /* @__PURE__ */ (0, O.jsx)(eCe, {operation: p,selected: S,scope: o,@@ -64041,7 +63884,7 @@ function eCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}//#endregion//#region src/react/index/index-page.tsx-var tCe = [{+var rCe = [{value: "studios",label: "厂牌",symbol: "clapperboard"@@ -64049,7 +63892,7 @@ var tCe = [{value: "agencies",label: "事务所",symbol: "briefcase"-}], nCe = [{+}], iCe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -64057,7 +63900,7 @@ var tCe = [{value: "online",label: "在线",symbol: "rss"-}], rCe = [+}], aCe = [{value: "performers",label: "艺人",@@ -64073,7 +63916,7 @@ var tCe = [{label: "在线",symbol: "rss"}-], iCe = {+], oCe = {people: [["big","大图 · 竖幅头像",@@ -64093,20 +63936,20 @@ var tCe = [{"layout-grid"]]};-function aCe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, O.jsx)(fW, {- "aria-label": `${HZ[e]}索引版式`,+function sCe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, O.jsx)(vU, {+ "aria-label": `${tZ[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${pW}`,- children: iCe[qZ(e) ? "company" : "people"].map(([e, t, n]) => {- let r = nB(n);- return /* @__PURE__ */ (0, O.jsx)(HR, {+ className: `flex-none ${yU}`,+ children: oCe[oZ(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = Rz(n);+ return /* @__PURE__ */ (0, O.jsx)(wR, {value: e,"aria-label": t,- className: hW,+ className: rge,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -64116,8 +63959,8 @@ function aCe({ kind: e, layout: t, onChange: n }) {})});}-var oCe = nB("search");-function sCe({ label: e, value: t, onQuery: n }) {+var cCe = Rz("search");+function lCe({ label: e, value: t, onQuery: n }) {let [r, i] = (0, D.useState)(t), a = (0, D.useRef)(!1), o = (0, D.useRef)(void 0);(0, D.useEffect)(() => {clearTimeout(o.current), i(t);@@ -64134,15 +63977,15 @@ function sCe({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, O.jsx)(qz, {+ children: /* @__PURE__ */ (0, O.jsx)(kz, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, O.jsx)(Yz, {+ children: /* @__PURE__ */ (0, O.jsx)(jz, {type: "search",- leadingIcon: oCe,+ leadingIcon: cCe,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -64153,14 +63996,14 @@ function sCe({ label: e, value: t, onQuery: n }) {})});}-function cCe(e) {- let [t, n] = (0, D.useState)(!1), [r, i] = (0, D.useState)(() => JZ({+function uCe(e) {+ let [t, n] = (0, D.useState)(!1), [r, i] = (0, D.useState)(() => sZ({kind: e.kind,q: e.q,scope: e.scope,view: e.view,category: e.category- })), [a, o] = (0, D.useState)(e.layout), [s, c] = (0, D.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, D.useState)("any"), d = (0, D.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = HZ[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";+ })), [a, o] = (0, D.useState)(e.layout), [s, c] = (0, D.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, D.useState)("any"), d = (0, D.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = tZ[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";(0, D.useEffect)(() => {if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;let t = !0;@@ -64179,7 +64022,7 @@ function cCe(e) {...t};x(Object.keys(t).every((e) => e === "q")), i(o), e.route(o, { replace: a });- }, C = QZ(YZ(r)), w = wt({+ }, C = dZ(cZ(r)), w = wt({queryKey: C.queryKey,queryFn: ({ pageParam: e, signal: t }) => C.queryFn({pageParam: e,@@ -64188,7 +64031,7 @@ function cCe(e) {initialPageParam: 0,getNextPageParam: C.getNextPageParam,placeholderData: b ? _e : void 0- }), T = Ibe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = Lbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;+ }), T = Rbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = zbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;M && !w.isPlaceholderData && (j.current = {key: A,counts: M@@ -64204,15 +64047,15 @@ function cCe(e) {T,f,v- ]), te = (0, D.useMemo)(() => f === "tags" && h === "alphabet" ? eQ(F, (t) => v ? t : e.tagLabel(t)) : [], [+ ]), te = (0, D.useMemo)(() => f === "tags" && h === "alphabet" ? pZ(F, (t) => v ? t : e.tagLabel(t)) : [], [F,h,f,v]), I = (t) => {o(t), e.savePreference({ layout: t });- }, ne = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(D$, {- tabs: nCe,+ }, ne = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(BQ, {+ tabs: iCe,value: m,label: "词表",onChange: (e) => {@@ -64222,8 +64065,8 @@ function cCe(e) {view: e === "online" ? "alphabet" : h});}- }) : qZ(f) ? /* @__PURE__ */ (0, O.jsx)(D$, {- tabs: tCe,+ }) : oZ(f) ? /* @__PURE__ */ (0, O.jsx)(BQ, {+ tabs: rCe,value: f,label: "公司类型",onChange: (e) => S({ kind: e })@@ -64232,7 +64075,7 @@ function cCe(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : F.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, ie = (v ? WZ : UZ).filter(ee);+ }, ie = (v ? rZ : nZ).filter(ee);return /* @__PURE__ */ (0, O.jsxs)("div", {ref: d,"data-index-page": f,@@ -64247,23 +64090,23 @@ function cCe(e) {className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: _}),- KZ(f) ? /* @__PURE__ */ (0, O.jsx)("span", {+ aZ(f) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-index-count": "",className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",children: w.isPending || w.isError ? "" : k}) : null,- KZ(f) ? /* @__PURE__ */ (0, O.jsx)(aCe, {+ aZ(f) ? /* @__PURE__ */ (0, O.jsx)(sCe, {kind: f,layout: a,onChange: I}) : null,- /* @__PURE__ */ (0, O.jsx)(_B, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),- f === "tags" ? /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)($z, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),+ f === "tags" ? /* @__PURE__ */ (0, O.jsx)(J, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: nB("pencil"),+ leadingIcon: Rz("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -64271,7 +64114,7 @@ function cCe(e) {e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, O.jsx)(sCe, {+ /* @__PURE__ */ (0, O.jsx)(lCe, {label: `过滤${_}`,value: p,onQuery: (e) => {@@ -64280,8 +64123,8 @@ function cCe(e) {})]}),- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, O.jsx)(D$, {- tabs: rCe,+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, O.jsx)(BQ, {+ tabs: aCe,value: y ? "online" : f,label: "人物名册",onChange: (t) => {@@ -64293,7 +64136,7 @@ function cCe(e) {}}) : null,ne,- t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)(eCe, {+ t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)(nCe, {scope: m,search: p,category: g,@@ -64307,8 +64150,8 @@ function cCe(e) {}, m) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [f === "performers" && m === "local" ? /* @__PURE__ */ (0, O.jsx)("div", {"aria-label": "身份分类",- className: VZ,- children: BZ.filter((e) => e[0] === g || ee(e)).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(q, {+ className: eZ,+ children: $X.filter((e) => e[0] === g || ee(e)).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(J, {variant: g === e ? "primary" : "secondary",size: "small","aria-pressed": g === e,@@ -64316,7 +64159,7 @@ function cCe(e) {children: t}, e))}) : null,- f === "tags" ? /* @__PURE__ */ (0, O.jsx)(N$, {+ f === "tags" ? /* @__PURE__ */ (0, O.jsx)(KQ, {categories: ie,category: g,online: v,@@ -64341,17 +64184,17 @@ function cCe(e) {mode: h}) }});- if (w.isError) return /* @__PURE__ */ (0, O.jsx)(eB, {- icon: nB("alert"),+ if (w.isError) return /* @__PURE__ */ (0, O.jsx)(Iz, {+ icon: Rz("alert"),title: `没能读取${_}`,- actions: /* @__PURE__ */ (0, O.jsx)(q, {+ actions: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: () => void w.refetch(),children: "立即重试"}),children: Ut(w.error)});- if (!T.length) return /* @__PURE__ */ (0, O.jsx)(uCe, {+ if (!T.length) return /* @__PURE__ */ (0, O.jsx)(fCe, {kind: f,filtered: !!p || g !== "all",online: v || y,@@ -64360,12 +64203,12 @@ function cCe(e) {category: "all"})});- if (y) return /* @__PURE__ */ (0, O.jsx)(Hbe, {+ if (y) return /* @__PURE__ */ (0, O.jsx)(Wbe, {items: T,layout: a,props: e});- if (KZ(f)) return /* @__PURE__ */ (0, O.jsx)(aQ, {+ if (aZ(f)) return /* @__PURE__ */ (0, O.jsx)(vZ, {kind: f,items: T,layout: a,@@ -64376,10 +64219,10 @@ function cCe(e) {picked: s,press: re};- return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(j$, {+ return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(WQ, {groups: te,actions: t- }) : /* @__PURE__ */ (0, O.jsx)(M$, {+ }) : /* @__PURE__ */ (0, O.jsx)(GQ, {tags: F,actions: t});@@ -64387,7 +64230,7 @@ function cCe(e) {}),E ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-5 flex justify-center",- children: /* @__PURE__ */ (0, O.jsxs)(q, {+ children: /* @__PURE__ */ (0, O.jsxs)(J, {variant: "secondary","data-index-more": "",className: "min-w-31",@@ -64400,7 +64243,7 @@ function cCe(e) {}) : null, "载入更多"]})}) : null,- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(XSe, {+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(QSe, {count: s.size,match: l,onMatch: u,@@ -64414,34 +64257,34 @@ function cCe(e) {]});}-var lCe = {+var dCe = {tags: "标签",performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所"};-function uCe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, O.jsx)(eB, {- icon: nB("search"),+function fCe({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, O.jsx)(Iz, {+ icon: Rz("search"),title: "没有符合条件的内容",- actions: /* @__PURE__ */ (0, O.jsx)(q, {+ actions: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: r,children: "清除筛选"}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : lCe[e], a = /* @__PURE__ */ (0, O.jsx)(OI, {+ let i = n && e === "performers" ? "创作者" : dCe[e], a = /* @__PURE__ */ (0, O.jsx)(JF, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, O.jsx)(eB, {- icon: nB(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, O.jsx)(Iz, {+ icon: Rz(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(OI, {+ actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(JF, {size: "small",href: "/settings/library",children: "添加媒体"@@ -64449,15 +64292,15 @@ function uCe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var W$ = {+var r$ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, dCe = (e) => W$[e.junk_kind || "other"] || W$.other;-function fCe(e) {+}, pCe = (e) => r$[e.junk_kind || "other"] || r$.other;+function mCe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -64468,21 +64311,21 @@ function fCe(e) {glyph: "check"};}-var G$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), pCe = (e, t) => [+var i$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), hCe = (e, t) => ["junk-queue",e.view,e.kind,t];-function mCe({ kind: e, view: t }) {+function gCe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function hCe(e, t) {- let n = await V(`/api/ads?${mCe(e)}`, t);+async function _Ce(e, t) {+ let n = await V(`/api/ads?${gCe(e)}`, t);return {...n,items: n.items || []@@ -64490,19 +64333,19 @@ async function hCe(e, t) {}//#endregion//#region src/react/junk-queue/junk-card.tsx-function K$({ name: e }) {+function a$({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-var q$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function gCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = dCe(e), m = String(e.name || ""), h = fCe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {- t.target.closest("[data-junk-actions]") || q$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var o$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function vCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = pCe(e), m = String(e.name || ""), h = mCe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {+ t.target.closest("[data-junk-actions]") || o$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), q$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), o$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);}, b = (t) => {t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));}, x = (t) => (n) => {@@ -64533,7 +64376,7 @@ function gCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: GG,+ onMouseDown: PW,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",@@ -64541,7 +64384,7 @@ function gCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, O.jsx)(K$, { name: p }), /* @__PURE__ */ (0, O.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, O.jsx)(a$, { name: p }), /* @__PURE__ */ (0, O.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-art": "thumb",@@ -64553,7 +64396,7 @@ function gCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(K$, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(a$, { name: "check" })})]}),@@ -64590,7 +64433,7 @@ function gCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: ns("正在定位") }- }) : /* @__PURE__ */ (0, O.jsx)(K$, { name: "folder-open" }), /* @__PURE__ */ (0, O.jsx)("span", {+ }) : /* @__PURE__ */ (0, O.jsx)(a$, { name: "folder-open" }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -64602,7 +64445,7 @@ function gCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": h.label,...S(h.operation),onClick: x(h.operation),- children: [/* @__PURE__ */ (0, O.jsx)(K$, { name: h.glyph }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(a$, { name: h.glyph }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -64614,7 +64457,7 @@ function gCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, O.jsx)(K$, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(a$, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -64629,7 +64472,7 @@ function gCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var _Ce = (0, D.memo)(gCe), J$ = [+var yCe = (0, D.memo)(vCe), s$ = [["","全部",@@ -64665,41 +64508,41 @@ var _Ce = (0, D.memo)(gCe), J$ = ["其它","hard-drive"]-], vCe = (e) => J$.find(([t]) => t === e)?.[0] ?? "";-function Y$(e) {+], bCe = (e) => s$.find(([t]) => t === e)?.[0] ?? "";+function c$(e) {let t = new URLSearchParams(e);return {- kind: vCe(t.get("type")),+ kind: bCe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function X$(e = "", t = "pending") {+function l$(e = "", t = "pending") {let n = new URLSearchParams();e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");let r = n.toString();return `/junk-files${r ? `?${r}` : ""}`;}-function Z$(e) {+function u$(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: X$("", "pending")+ href: l$("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: X$("", "dismissed")+ href: l$("", "dismissed")};}-var Q$ = (e) => e === "dismissed" ? "已排除" : "待判断", $$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function yCe({ kind: e, view: t }) {- let n = J$.map(([n, r, i]) => `<a href="${X$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${$$(i)}${B(r)}</a>`).join(""), r = Z$(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Qo(Q$(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${$$(r.glyph)}${r.label}</a></nav></div></div></div>`;+var d$ = (e) => e === "dismissed" ? "已排除" : "待判断", f$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function xCe({ kind: e, view: t }) {+ let n = s$.map(([n, r, i]) => `<a href="${l$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${f$(i)}${B(r)}</a>`).join(""), r = u$(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Qo(d$(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${f$(r.glyph)}${r.label}</a></nav></div></div></div>`;}//#endregion//#region src/react/components/collection-summary.tsx-function e1({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function p$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-collection-summary": "",className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5@@ -64726,31 +64569,31 @@ function e1({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !}//#endregion//#region src/react/junk-queue/junk-count.tsx-function t1({ name: e }) {+function m$({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function n1({ scope: e, count: t }) {+function h$({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [" ", /* @__PURE__ */ (0, O.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function bCe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = SV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = EI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? J$.map(([e]) => G$(t, e)).join(",") : ""}`), l = Z$(s), u = (e) => {+function SCe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = iV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = KF(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? s$.map(([e]) => i$(t, e)).join(",") : ""}`), l = u$(s), u = (e) => {let t = e.target.closest("a");- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || X$()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || l$()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, O.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, O.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, O.jsx)(e1, {- label: Q$(s),+ children: /* @__PURE__ */ (0, O.jsx)(p$, {+ label: d$(s),figure: d,pending: !t && !n,flush: !0@@ -64770,17 +64613,17 @@ function bCe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- J$.map(([e, n, r]) => /* @__PURE__ */ (0, O.jsxs)("a", {- href: X$(e, s),+ s$.map(([e, n, r]) => /* @__PURE__ */ (0, O.jsxs)("a", {+ href: l$(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, O.jsx)(t1, { name: r }),+ /* @__PURE__ */ (0, O.jsx)(m$, { name: r }),n,- /* @__PURE__ */ (0, O.jsx)(n1, {+ /* @__PURE__ */ (0, O.jsx)(h$, {scope: e,- count: t ? G$(t, e) : 0+ count: t ? i$(t, e) : 0})]}, e || "all")),@@ -64794,9 +64637,9 @@ function bCe({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": s === "dismissed" ? "page" : void 0,onPointerEnter: s === "dismissed" ? void 0 : c.hover,children: [- /* @__PURE__ */ (0, O.jsx)(t1, { name: l.glyph }),+ /* @__PURE__ */ (0, O.jsx)(m$, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, O.jsx)(n1, {+ /* @__PURE__ */ (0, O.jsx)(h$, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -64809,33 +64652,33 @@ function bCe({ route: e, page: t, failed: n, onNavigate: r }) {}//#endregion//#region src/react/junk-queue/junk-queue-page.tsx-var xCe = nB("check"), SCe = (e, t) => e[1] === t.view && e[2] === t.kind;-function CCe(e) {+var CCe = Rz("check"), wCe = (e, t) => e[1] === t.view && e[2] === t.kind;+function TCe(e) {let t = {kind: e.kind,view: e.view}, n = St({- queryKey: pCe(t, e.revision),- queryFn: ({ signal: e }) => hCe(t, e),- placeholderData: (e, n) => n && SCe(n.queryKey, t) ? e : void 0+ queryKey: hCe(t, e.revision),+ queryFn: ({ signal: e }) => _Ce(t, e),+ placeholderData: (e, n) => n && wCe(n.queryKey, t) ? e : void 0});(0, D.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = wCe(e.countRow), i = n.isPending;+ let r = ECe(e.countRow), i = n.isPending;(0, D.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, D.useLayoutEffect)(() => {r && n.data && ms(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(bCe, {+ let { navigate: a } = e.actions, o = r ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(SCe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(TCe, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(DCe, {props: e,data: n.data,pending: i,@@ -64843,7 +64686,7 @@ function CCe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function wCe(e) {+function ECe(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!e) return;@@ -64853,8 +64696,8 @@ function wCe(e) {};}, [e]), t;}-function TCe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = bG(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {+function DCe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = lW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -64862,16 +64705,16 @@ function TCe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-grid-reveal": a.fading ? "" : void 0,children: [a.layer, (() => {if (n) return null;- if (!t) return /* @__PURE__ */ (0, O.jsx)(xG, {+ if (!t) return /* @__PURE__ */ (0, O.jsx)(uW, {message: Ut(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, O.jsx)(eB, {- icon: xCe,+ return /* @__PURE__ */ (0, O.jsx)(Iz, {+ icon: CCe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, O.jsx)(OI, {+ actions: t ? /* @__PURE__ */ (0, O.jsx)(JF, {size: "small",href: "/junk-files",children: "查看待判断"@@ -64884,7 +64727,7 @@ function TCe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-media-grid": "","data-junk-grid": "","data-select-mode": e.selectMode ? "" : void 0,- children: u.map((t) => /* @__PURE__ */ (0, O.jsx)(_Ce, {+ children: u.map((t) => /* @__PURE__ */ (0, O.jsx)(yCe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -64893,7 +64736,7 @@ function TCe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(ECe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(OCe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, O.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -64903,14 +64746,14 @@ function TCe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function ECe({ onMore: e }) {+function OCe({ onMore: e }) {let t = (0, D.useRef)(null);return (0, D.useEffect)(() => {let n = t.current;if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: yG });+ }, { rootMargin: cW });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, O.jsx)("div", {ref: t,@@ -64921,18 +64764,18 @@ function ECe({ onMore: e }) {}//#endregion//#region src/react/wants/wants.ts-var r1 = "/api/wants", i1 = ["wants"], DCe = (e) => [+var g$ = "/api/wants", _$ = ["wants"], kCe = (e) => ["wants","follow",e-], OCe = [+], ACe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], a1 = (e) => V(r1, e);-function kCe(e, t) {- U.setQueryData(i1, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], v$ = (e) => V(g$, e);+function jCe(e, t) {+ U.setQueryData(_$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -64940,39 +64783,39 @@ function kCe(e, t) {} : n)} : n);}-var ACe = (e, t) => V(`${r1}?follow=${encodeURIComponent(e)}`, t), o1 = (e, t) => H(r1, {+var MCe = (e, t) => V(`${g$}?follow=${encodeURIComponent(e)}`, t), y$ = (e, t) => H(g$, {action: "add",...e-}, "POST", t), s1 = (e, t) => H(r1, {+}, "POST", t), b$ = (e, t) => H(g$, {action: "remove",ids: e-}, "POST", t), jCe = (e, t) => H(r1, {+}, "POST", t), NCe = (e, t) => H(g$, {action: "reset",ids: e-}, "POST", t), c1 = () => U.invalidateQueries({ queryKey: i1 }), MCe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function NCe(e) {+}, "POST", t), x$ = () => U.invalidateQueries({ queryKey: _$ }), PCe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function FCe(e) {return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";}//#endregion//#region src/react/jav/jav-navigation.ts-var l1 = [+var S$ = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], u1 = (e) => l1.some(([t]) => t === e) ? e : "library", PCe = (e) => u1(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function FCe(e) {+], C$ = (e) => S$.some(([t]) => t === e) ? e : "library", ICe = (e) => C$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function LCe(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}//#endregion//#region src/react/jav/jav.ts-var d1 = (e, t = "taste", n = "desc") => [+var w$ = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function f1(e, t, n = {}) {+function T$(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -64981,7 +64824,7 @@ function f1(e, t, n = {}) {});return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), V(`/api/jav/discoveries?${r}`, t);}-function ICe(e, t, n) {+function RCe(e, t, n) {let r = Wa({...e,is_jav: !0@@ -64990,84 +64833,84 @@ function ICe(e, t, n) {let i = B(Ma(e));return Ha(e, t).replace(/ src="[^"]*"/, ` src="${i}" data-jav-image="${e.id}" data-jav-cover="${i}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"media-nopic\"");}-async function LCe(e, t) {+async function zCe(e, t) {e === "wants" ? await U.ensureQueryData({- queryKey: i1,- queryFn: () => a1(t),+ queryKey: _$,+ queryFn: () => v$(t),staleTime: 3e4,revalidateIfStale: !0}) : e === "discover" && await U.ensureQueryData({- queryKey: d1("external"),- queryFn: () => f1("external", t),+ queryKey: w$("external"),+ queryFn: () => T$("external", t),staleTime: 3e4,revalidateIfStale: !0});}//#endregion//#region src/react/components/fieldset-layout.ts-var p1 = XH({+var E$ = MH({padding: "none",bordered: "line",className: "overflow-hidden"-}), m1 = {+}), D$ = {split: "min-w-0 p-6",stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"-}, h1 = {+}, O$ = {split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"};-function g1(e) {- return `${p1} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function k$(e) {+ return `${E$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}//#endregion//#region src/management.ts-var _1 = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", v1 = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", y1 = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", b1 = "disabled data-skeleton-action", RCe = "aria-disabled=\"true\"", x1 = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, S1 = (e, t, n) => `<div class="${m1[n]}"><div class="flex flex-col gap-2">+var A$ = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", j$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", M$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", N$ = "disabled data-skeleton-action", BCe = "aria-disabled=\"true\"", P$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, F$ = (e, t, n) => `<div class="${D$[n]}"><div class="flex flex-col gap-2"><h3 class="text-title-2-medium text-text-primary">${e}</h3><p class="text-body-2-regular text-text-secondary">${t}</p></div></div>`;-function zCe() {- return x1(`<section aria-label="扫描与采集" class="${g1("stack")}" data-cleanup-task data-cleanup-processing>- ${S1("扫描与采集", _1, "stack")}- <footer class="${h1.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Vo("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Wo({+function VCe() {+ return P$(`<section aria-label="扫描与采集" class="${k$("stack")}" data-cleanup-task data-cleanup-processing>+ ${F$("扫描与采集", A$, "stack")}+ <footer class="${O$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Vo("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Wo({label: "同步媒体库",- attrs: b1+ attrs: N$})}${Wo({glyph: "chevron-down",- attrs: `${b1} aria-label="更多同步方式"`+ attrs: `${N$} aria-label="更多同步方式"`})}</span></footer></section>`);}-function BCe() {- return x1(`<section aria-label="媒体修复" class="${g1("split")}" data-cleanup-task data-cleanup-processing>- ${S1("媒体修复", v1, "split")}- <footer class="${h1.split}">${Ko(y1, {+function HCe() {+ return P$(`<section aria-label="媒体修复" class="${k$("split")}" data-cleanup-task data-cleanup-processing>+ ${F$("媒体修复", j$, "split")}+ <footer class="${O$.split}">${Ko(M$, {className: "w-48",- attrs: RCe+ attrs: BCe})}${Wo({label: "开始修复",- attrs: b1+ attrs: N$})}</footer></section>`);}-function C1() {+function I$() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["回收站", "trash"]- ], t = p1, n = m1.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${h1.stack}">${Wo({+ ], t = E$, n = D$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${O$.stack}">${Wo({label: e,- attrs: b1+ attrs: N$})}</footer>`, a = (e) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${e}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Vo(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${y1}</strong><span class="text-caption-1-regular">${y1}</span></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Vo(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${M$}</strong><span class="text-caption-1-regular">${M$}</span></div>`).join("")}</div><div class="flex flex-col gap-4 max-cleanup-tight:gap-3">- <div id="libraryProcessing">${zCe()}</div><div id="mediaRepair">${BCe()}</div>+ <div id="libraryProcessing">${VCe()}</div><div id="mediaRepair">${HCe()}</div><section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>- <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${Ko(y1)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Wo({+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${Ko(M$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Wo({variant: "secondary",- label: y1,- attrs: b1+ label: M$,+ attrs: N$})).join("")}</div></div></div>${i("预览")}</section></div><section id="link-manager" class="flex scroll-mt-20 flex-col gap-4"><div class="${t} flex flex-col"><div class="${n}">${r("链接管理")}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${[@@ -65075,60 +64918,60 @@ function C1() {"官网/事务所","社交账号","作品资料站"- ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${y1}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${y1}</div></div>${i("检查死链")}</div></section>+ ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${M$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${M$}</div></div>${i("检查死链")}</div></section></div></div>`;}//#endregion//#region src/react/components/fieldset.tsx-var VCe = XH({+var UCe = MH({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), HCe = "border-t border-border-button-default p-4 first:border-t-0";-function w1({ id: e, gap: t = "none", children: n }) {+}), WCe = "border-t border-border-button-default p-4 first:border-t-0";+function L$({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, O.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function T1({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function R$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, O.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: g1(e),+ className: k$(e),children: [/* @__PURE__ */ (0, O.jsx)("div", {- className: m1[e],+ className: D$[e],children: a}), i ? /* @__PURE__ */ (0, O.jsx)("footer", {- className: h1[e],+ className: O$[e],children: i}) : null]});}//#endregion//#region src/react/components/status-label.tsx-var UCe = {+var GCe = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function E1({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, O.jsx)(nQ, {+function z$({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, O.jsx)(hZ, {"data-status-tone": e,variant: "caption",- color: UCe[e],+ color: GCe[e],...t});}//#endregion//#region src/react/components/path-line.tsx-function WCe({ className: e }) {+function KCe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -65141,8 +64984,8 @@ function WCe({ className: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-folder-open" })});}-var GCe = "打开文件管理器失败,请重试";-function D1({ path: e, prefix: t, className: n, onRevealed: r }) {+var qCe = "打开文件管理器失败,请重试";+function B$({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(!0);(0, D.useEffect)(() => () => {c.current = !1;@@ -65153,7 +64996,7 @@ function D1({ path: e, prefix: t, className: n, onRevealed: r }) {try {await H("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof On ? e.message : GCe);+ c.current && s(e instanceof On ? e.message : qCe);} finally {c.current && a(!1);}@@ -65164,15 +65007,15 @@ function D1({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, O.jsxs)("p", {- className: GF("min-w-0 break-all", n),+ className: eF("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, O.jsx)(gI, {- icon: WCe,+ }), /* @__PURE__ */ (0, O.jsx)(MF, {+ icon: KCe,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",onClick: () => void l(),- ...iB(i)+ ...Bz(i)})]}), o ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-caption-1-regular text-text-error-primary",@@ -65182,27 +65025,27 @@ function D1({ path: e, prefix: t, className: n, onRevealed: r }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var KCe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", qCe = (e) => {+var JCe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", YCe = (e) => {let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;if (!t && !n && !r && !i) return "";let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];return r && a.push(`${r} 项同名人物资料需要确认是否为同一人`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;-}, JCe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + qCe(e);-function YCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = Ame(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Dme(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = SV();+}, XCe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + YCe(e);+function ZCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = qme(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Wme(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = iV();return /* @__PURE__ */ (0, O.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)($z, {+ e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "warning",title: "处理较慢",- children: KCe+ children: JCe}) : null,- c ? /* @__PURE__ */ (0, O.jsx)($z, {+ c ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",className: "gap-0 p-3",- action: o ? /* @__PURE__ */ (0, O.jsx)(q, {+ action: o ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small","aria-label": "立即重试未完成项",@@ -65211,7 +65054,7 @@ function YCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,extra: a ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3",- children: /* @__PURE__ */ (0, O.jsxs)(LU, {+ children: /* @__PURE__ */ (0, O.jsxs)(KH, {summary: a.label,contentClassName: "gap-0",children: [/* @__PURE__ */ (0, O.jsx)("div", {@@ -65243,7 +65086,7 @@ function YCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-border-error-default/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, O.jsx)(D1, {+ children: /* @__PURE__ */ (0, O.jsx)(B$, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65254,17 +65097,17 @@ function YCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,children: t || e.error || "处理未完成,请重试"}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)($z, {+ n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "success",title: "处理完成",- children: JCe(n)+ children: XCe(n)}) : null,- !kH(e) && s ? /* @__PURE__ */ (0, O.jsx)($z, {+ !dH(e) && s ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",className: "gap-0 p-3",extra: e.issues_log && !l ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, O.jsx)(D1, {+ children: /* @__PURE__ */ (0, O.jsx)(B$, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65276,38 +65119,38 @@ function YCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function O1(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = YH(e), o = Ct({- mutationFn: (e) => H(DH, e),+function V$(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = jH(e), o = Ct({+ mutationFn: (e) => H(lH, e),onSuccess: (e) => {- a(), U.setQueryData(OH, e), U.invalidateQueries({ queryKey: OH });+ a(), U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });}});(0, D.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? An(o.error) : r.isError ? r.data ? NH : An(r.error) : "", l = o.isPending || kH(s), u = async (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? An(o.error) : r.isError ? r.data ? hH : An(r.error) : "", l = o.isPending || dH(s), u = async (e) => {l || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, O.jsx)(T1, {+ children: [/* @__PURE__ */ (0, O.jsx)(R$, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(zH, {+ /* @__PURE__ */ (0, O.jsx)(xH, {href: "/sources",size: "small",- trailingIcon: Oz,+ trailingIcon: uz,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, O.jsx)(zH, {+ s.candidates ? /* @__PURE__ */ (0, O.jsx)(xH, {href: "/review",size: "small",- trailingIcon: Oz,+ trailingIcon: uz,children: "复核资料"}) : null,- /* @__PURE__ */ (0, O.jsx)(_q, {+ /* @__PURE__ */ (0, O.jsx)(oK, {scan: !0,busy: l,metadataOnly: s?.metadata_only,@@ -65318,24 +65161,24 @@ function O1(e) {children: /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(w1, { children: "扫描与采集" }),+ /* @__PURE__ */ (0, O.jsx)(L$, { children: "扫描与采集" }),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: _1+ children: A$}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, O.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, O.jsx)(E1, { children: "已暂停" })- }) : kH(s) ? /* @__PURE__ */ (0, O.jsx)(qme, { state: s }) : null,- kH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {+ children: /* @__PURE__ */ (0, O.jsx)(z$, { children: "已暂停" })+ }) : dH(s) ? /* @__PURE__ */ (0, O.jsx)(uhe, { state: s }) : null,+ dH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: AH(s)+ children: fH(s)}) : null,- kH(s) ? /* @__PURE__ */ (0, O.jsx)(GU, { traffic: s.traffic }) : null+ dH(s) ? /* @__PURE__ */ (0, O.jsx)(eU, { traffic: s.traffic }) : null]})- }), /* @__PURE__ */ (0, O.jsx)(YCe, {+ }), /* @__PURE__ */ (0, O.jsx)(ZCe, {state: s,problem: c,settled: i,@@ -65351,32 +65194,32 @@ function O1(e) {}//#endregion//#region src/react/playlists/playlists.ts-var XCe = "/api/playlists", k1 = "/api/playlist", A1 = ["playlists"], j1 = (e) => V(XCe, e);-async function ZCe(e) {+var QCe = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => V(QCe, e);+async function $Ce(e) {await U.fetchQuery({- queryKey: A1,- queryFn: () => j1(e),+ queryKey: U$,+ queryFn: () => W$(e),staleTime: 0});}-var QCe = () => U.invalidateQueries({- queryKey: A1,+var ewe = () => U.invalidateQueries({+ queryKey: U$,exact: !0-}), $Ce = (e) => e.current_asset_id || e.preview_asset_id || null, ewe = (e) => `/poster?id=${e}&c=4`, twe = (e) => H(k1, {+}), twe = (e) => e.current_asset_id || e.preview_asset_id || null, nwe = (e) => `/poster?id=${e}&c=4`, rwe = (e) => H(H$, {action: "create",name: e,asset_ids: []-}), nwe = (e, t) => H(k1, {+}), iwe = (e, t) => H(H$, {action: "rename",id: e,name: t-}), rwe = (e) => H(k1, {+}), awe = (e) => H(H$, {action: "delete",id: e-}), iwe = (e) => V(`${k1}?id=${e}`).catch(() => null);-function awe(e) {+}), owe = (e) => V(`${H$}?id=${e}`).catch(() => null);+function swe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return H(k1, {+ return H(H$, {action: "create",name: e.name,asset_ids: t,@@ -65386,53 +65229,53 @@ function awe(e) {}//#endregion//#region src/react/scraping/custom-source-data.ts-var M1 = "/api/custom-metadata", N1 = ["custom-metadata"], P1 = (e) => V(M1, e), owe = "/api/scraping", swe = "/api/scraping/settings", cwe = "/api/scraping/check", F1 = "/api/scraping/cover", lwe = "/api/scraping/amane-bridge", uwe = "/api/scraping/amane-bridge/check", dwe = "/api/scraping/amane-bridge/rebuild", I1 = ["scraping"], L1 = ["scraping", "cover"], R1 = ["scraping", "amane-bridge"], fwe = 262144, z1 = (e) => V(owe, e), B1 = (e) => V(F1, e), V1 = (e) => V(lwe, e);-async function pwe(e) {+var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => V(G$, e), cwe = "/api/scraping", lwe = "/api/scraping/settings", uwe = "/api/scraping/check", J$ = "/api/scraping/cover", dwe = "/api/scraping/amane-bridge", fwe = "/api/scraping/amane-bridge/check", pwe = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], mwe = 262144, Q$ = (e) => V(cwe, e), $$ = (e) => V(J$, e), e1 = (e) => V(dwe, e);+async function hwe(e) {await Promise.all([U.fetchQuery({- queryKey: I1,- queryFn: () => z1(e)+ queryKey: Y$,+ queryFn: () => Q$(e)}),U.fetchQuery({- queryKey: L1,- queryFn: () => B1(e)+ queryKey: X$,+ queryFn: () => $$(e)}),U.fetchQuery({- queryKey: R1,- queryFn: () => V1(e)+ queryKey: Z$,+ queryFn: () => e1(e)}),U.fetchQuery({- queryKey: N1,- queryFn: () => P1(e)+ queryKey: K$,+ queryFn: () => q$(e)})]);}-function mwe(e, t) {+function gwe(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");}//#endregion//#region src/react/search/search.ts-var H1 = /* @__PURE__ */ new Set([+var t1 = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), U1 = /* @__PURE__ */ new Set([+]), n1 = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), W1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function hwe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function _we({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {let c = 0, l = [], u = (e) => {let t = {...e,index: c++};return l.push(t), t;- }, d = t.filter((t) => !e || W1(t).includes(W1(e)));+ }, d = t.filter((t) => !e || r1(t).includes(r1(e)));if (!e) {if (s.length) {let e = s.map((e) => ({@@ -65453,8 +65296,8 @@ function hwe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: avalue: e}))} : null,- left: e.filter((e) => !U1.has(e.kind)),- right: e.filter((e) => U1.has(e.kind)),+ left: e.filter((e) => !n1.has(e.kind)),+ right: e.filter((e) => n1.has(e.kind)),empty: !1,options: l};@@ -65504,7 +65347,7 @@ function hwe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !U1.has(e.kind)).map(h), _ = m.filter((e) => U1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !n1.has(e.kind)).map(h), _ = m.filter((e) => n1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -65514,17 +65357,17 @@ function hwe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function gwe(e, t, n = Math.random) {+function vwe(e, t, n = Math.random) {let r = [...e];for (let e = r.length - 1; e > 0; --e) {let t = Math.floor(n() * (e + 1));[r[e], r[t]] = [r[t], r[e]];}- return r.filter((e) => !t.some((t) => W1(t) === W1(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => r1(t) === r1(e))).slice(0, 5);}//#endregion//#region src/react/search/search-page.tsx-var _we = () => ({+var ywe = () => ({history: [],pool: [],poolRequest: 0,@@ -65542,7 +65385,7 @@ var _we = () => ({active: -1,reveal: !1,rewind: !1-}), G1 = (e) => hwe({+}), i1 = (e) => _we({query: e.query,history: e.history,picks: e.picks,@@ -65551,18 +65394,18 @@ var _we = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), vwe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), K1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {+}), bwe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});-function ywe(e) {+function xwe(e) {let t = (0, D.useRef)(e);t.current = e;let n = (0, D.useRef)(null);- n.current ??= _we();+ n.current ??= ywe();let r = n.current, i = (0, D.useRef)(null), [, a] = (0, D.useReducer)((e) => e + 1, 0), o = (0, D.useRef)(null);- o.current ??= bwe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= Swe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, D.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();@@ -65575,7 +65418,7 @@ function ywe(e) {let e = i.current?.closest("[data-search-menu]");r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;});- let c = G1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, O.jsx)(Swe, {+ let c = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, O.jsx)(wwe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -65588,7 +65431,7 @@ function ywe(e) {children: [/* @__PURE__ */ (0, O.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, O.jsx)("a", {href: e.href,- onMouseDown: q1,+ onMouseDown: o1,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -65607,7 +65450,7 @@ function ywe(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, O.jsx)(xwe, {+ c.tabs ? /* @__PURE__ */ (0, O.jsx)(Cwe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -65634,7 +65477,7 @@ function ywe(e) {]});}-function bwe(e, t, n, r) {+function Swe(e, t, n, r) {let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {t.history = n.slice(0, e().historyLimit);}, c = async () => {@@ -65645,7 +65488,7 @@ function bwe(e, t, n, r) {t.history = Array.isArray(e.items) ? e.items.map(String) : [];} catch {}}, l = (t) => {- t && e().historyLimit && (s([t, ...o().filter((e) => W1(e) !== W1(t))]), H("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => r1(e) !== r1(t))]), H("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -65691,9 +65534,9 @@ function bwe(e, t, n, r) {let i = n();i && e().helpers.dismiss(i), t.active = -1, r();}, h = () => {- t.query = i().value.trim(), t.picks = t.query ? [] : gwe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : vwe(t.pool, o()), t.active = -1;let a = n();- a && (vwe(G1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (bwe(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -65705,7 +65548,7 @@ function bwe(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {a() && t.kind === e && h();}));- }, v = () => p() ? G1(t).options : [], y = (e) => {+ }, v = () => p() ? i1(t).options : [], y = (e) => {let n = v();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, b = (t, n) => {@@ -65714,7 +65557,7 @@ function bwe(e, t, n, r) {}, x = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, S = (t) => {- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && H1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && t1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));}, C = (t) => {m(), i().blur(), e().actions.openPath?.(t);};@@ -65760,13 +65603,13 @@ function bwe(e, t, n, r) {await H("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => W1(t) !== W1(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => r1(t) !== r1(e))), t.active = -1, r();},pickKind: _,openPath: C};}-function xwe({ tabs: e, kind: t, onPick: n, wire: r }) {+function Cwe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {r(i.current);@@ -65780,9 +65623,9 @@ function xwe({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, O.jsx)(E$, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, O.jsx)(zQ, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, O.jsxs)(JF, {+ return /* @__PURE__ */ (0, O.jsxs)(rF, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -65791,8 +65634,8 @@ function xwe({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var q1 = (e) => e.preventDefault();-function Swe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var o1 = (e) => e.preventDefault();+function wwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -65804,33 +65647,33 @@ function Swe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: q1,+ onMouseDown: o1,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, O.jsx)(K1, { name: "chevron-right" })+ /* @__PURE__ */ (0, O.jsx)(a1, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, O.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, O.jsx)(K1, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, O.jsx)(a1, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, O.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: q1,+ onMouseDown: o1,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, O.jsx)(K1, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(a1, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = H1.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = t1.has(c) ? c : void 0;if (["asset","jav",@@ -65844,8 +65687,8 @@ function Swe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "work","data-open-item": c === "asset" ? s.id : void 0,...o,- onMouseDown: q1,- children: [/* @__PURE__ */ (0, O.jsx)(J1, {+ onMouseDown: o1,+ children: [/* @__PURE__ */ (0, O.jsx)(s1, {card: s.card,helpers: n}), /* @__PURE__ */ (0, O.jsxs)("span", {@@ -65870,9 +65713,9 @@ function Swe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: q1,+ onMouseDown: o1,children: [- /* @__PURE__ */ (0, O.jsx)(Y1, {+ /* @__PURE__ */ (0, O.jsx)(c1, {item: s,kind: c}),@@ -65895,11 +65738,11 @@ function Swe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-open-work": e.id,"aria-label": `打开 ${e.code || s.value}`,- onMouseDown: q1,+ onMouseDown: o1,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, O.jsx)(J1, {+ children: /* @__PURE__ */ (0, O.jsx)(s1, {card: e,helpers: n})@@ -65913,7 +65756,7 @@ function Swe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, O.jsx)(Y1, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, O.jsx)(c1, {item: s,kind: c}) : null,@@ -65926,13 +65769,13 @@ function Swe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function J1({ card: e, helpers: t }) {+function s1({ card: e, helpers: t }) {return /* @__PURE__ */ (0, O.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function Y1({ item: e, kind: t }) {+function c1({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, O.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -65952,25 +65795,25 @@ function Y1({ item: e, kind: t }) {}//#endregion//#region src/react/settings/configuration.ts-var X1 = ["configuration"], Z1 = (e) => V(HX, e);-async function Cwe(e) {+var l1 = ["configuration"], u1 = (e) => V(tX, e);+async function Twe(e) {await U.fetchQuery({- queryKey: X1,- queryFn: () => Z1(e)+ queryKey: l1,+ queryFn: () => u1(e)});}//#endregion//#region src/react/settings-panel/legacy-controls.tsx-var Q1 = (e) => e.map(([e, t, n]) => n ? [+var d1 = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function $1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(l);return f.current = l, (0, D.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = dc(t, n, Q1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = dc(t, n, d1(r), i, {attr: a,className: o,text: s@@ -65988,13 +65831,13 @@ function $1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function e0({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {+function p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(-1), m = (0, D.useRef)(l);return m.current = l, (0, D.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = Ao(Q1(n), r, { label: t });+ e.innerHTML = Ao(d1(n), r, { label: t });let i = jo(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -66007,7 +65850,7 @@ function e0({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function wwe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function Ewe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)({onStep: a,onSettle: o@@ -66042,7 +65885,7 @@ function wwe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet}//#endregion//#region src/react/settings-panel/glow-settings.tsx-var Twe = [+var Dwe = [["strength","强度",@@ -66069,8 +65912,8 @@ var Twe = [100]];-function Ewe({ host: e, spot: t, index: n, glow: r }) {- let i = uoe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = SV(), [l, u] = (0, D.useState)("all");+function Owe({ host: e, spot: t, index: n, glow: r }) {+ let i = poe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = iV(), [l, u] = (0, D.useState)("all");(0, D.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -66083,7 +65926,7 @@ function Ewe({ host: e, spot: t, index: n, glow: r }) {}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = $k(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), So(), o.current?.focus();+ r[t].color = Xk(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), So(), o.current?.focus();};return /* @__PURE__ */ (0, O.jsxs)("div", {"data-glow-stop": t,@@ -66108,7 +65951,7 @@ function Ewe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-down" })+ /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })]}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "popmenu",@@ -66120,7 +65963,7 @@ function Ewe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: poe.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: Jk.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -66134,7 +65977,7 @@ function Ewe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: moe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: goe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -66151,8 +65994,8 @@ function Ewe({ host: e, spot: t, index: n, glow: r }) {})]});}-function Dwe({ host: e }) {- let t = e.store.value.homeGlow, n = Kk(t.preset);+function kwe({ host: e }) {+ let t = e.store.value.homeGlow, n = Hk(t.preset);return /* @__PURE__ */ (0, O.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -66171,10 +66014,10 @@ function Dwe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, O.jsx)("b", {"data-glow-preset-name": "",- children: doe(t.preset)+ children: moe(t.preset)})]}),- /* @__PURE__ */ (0, O.jsx)(WA, {+ /* @__PURE__ */ (0, O.jsx)(HA, {store: e.store,label: "光晕配色"}),@@ -66185,7 +66028,7 @@ function Dwe({ host: e }) {}),/* @__PURE__ */ (0, O.jsx)("div", {"data-glow-fields": "",- children: Twe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(wwe, {+ children: Dwe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(Ewe, {field: r,label: i,max: a,@@ -66206,7 +66049,7 @@ function Dwe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = tA(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = Qk(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -66225,7 +66068,7 @@ function Dwe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, O.jsx)("div", {"data-glow-stops": "",- children: Uk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(Ewe, {+ children: zk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(Owe, {host: e,spot: n,index: r,@@ -66238,7 +66081,7 @@ function Dwe({ host: e }) {}//#endregion//#region src/react/settings-panel/number-setting.tsx-var Owe = {+var Awe = {batchSizeSetting: {min: 1,max: 200,@@ -66285,22 +66128,22 @@ var Owe = {optional: !0,fallback: 60}-}, t0 = (e) => `peach.number.${e}`;-function n0(e, t) {+}, m1 = (e) => `peach.number.${e}`;+function h1(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function r0({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = Owe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);- d.current ||= Mk(Number(localStorage.getItem(t0(e))), o, s, n && n > 0 ? n : l);+function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = Awe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);+ d.current ||= Ok(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, D.useState)(n ?? 0), [m, h] = (0, D.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, D.useState)(""), v = (0, D.useRef)(null), y = (0, D.useRef)(i);y.current = i, (0, D.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let b = () => {let t = v.current;- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(t0(e), String(d.current)), y.current(d.current)));+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(m1(e), String(d.current)), y.current(d.current)));}, x = (0, D.useRef)(b);x.current = b, (0, D.useEffect)(() => {let e = v.current;@@ -66310,7 +66153,7 @@ function r0({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}, []);let S = f > 0, C = () => {let t = v.current;- t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(t0(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(m1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, w = r || n === null;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-number-setting": "",@@ -66347,7 +66190,7 @@ function r0({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": "true",- children: [c, n0(Number(m), c) ? ` · ${n0(Number(m), c)}` : ""]+ children: [c, h1(Number(m), c) ? ` · ${h1(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, O.jsx)("small", {id: `${e}-error`,@@ -66361,13 +66204,13 @@ function r0({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}//#endregion//#region src/react/sidebar/sidebar-order.ts-function i0(e) {- let { mutate: t } = eZ();+function _1(e) {+ let { mutate: t } = pX();return (0, D.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function a0(e, t, n, r) {+function v1(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -66377,17 +66220,17 @@ function a0(e, t, n, r) {}//#endregion//#region src/react/settings-panel/sidebar-order.tsx-var kwe = "__home__", o0 = (e) => e === "" ? kwe : e;-function Awe({ host: e }) {- let t = i0(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, D.useState)(null), [c, l] = (0, D.useState)(!1), [u, d] = (0, D.useState)(null), [f, p] = (0, D.useState)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (e, r, i) => {- let a = a0(n, e, r, i);+var jwe = "__home__", y1 = (e) => e === "" ? jwe : e;+function Mwe({ host: e }) {+ let t = _1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, D.useState)(null), [c, l] = (0, D.useState)(!1), [u, d] = (0, D.useState)(null), [f, p] = (0, D.useState)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (e, r, i) => {+ let a = v1(n, e, r, i);a && t(a);}, _ = (e, r) => {let i = n.indexOf(e), a = i + r;if (i < 0 || a < 0 || a >= n.length) return;let o = [...n];[o[i], o[a]] = [o[a], o[i]], t(o);- }, v = a.find(([e]) => o0(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => y1(e) === o) ?? a[0], y = () => {h.current && To(h.current), l(!1);}, b = () => {let e = h.current;@@ -66408,7 +66251,7 @@ function Awe({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", o0(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", y1(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -66440,9 +66283,9 @@ function Awe({ host: e }) {/* @__PURE__ */ (0, O.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(uP, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, O.jsx)(uP, { name: a ?? "" }),+ /* @__PURE__ */ (0, O.jsx)(lP, { name: a ?? "" }),/* @__PURE__ */ (0, O.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, O.jsxs)("span", {@@ -66456,7 +66299,7 @@ function Awe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-up" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66466,7 +66309,7 @@ function Awe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66478,11 +66321,11 @@ function Awe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, O.jsx)(uP, { name: "eye-off" })+ children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "eye-off" })})]})]- }, o0(e))), /* @__PURE__ */ (0, O.jsxs)("div", {+ }, y1(e))), /* @__PURE__ */ (0, O.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-sidebar-add-picker": "",@@ -66498,13 +66341,13 @@ function Awe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(uP, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, O.jsx)(lP, { name: v[2] ?? "" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(uP, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, O.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -66515,15 +66358,15 @@ function Awe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": o0(e),+ "data-sidebar-add-option": y1(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(o0(e)), y(), m.current?.focus();+ s(y1(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, O.jsx)(uP, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]- }, o0(e)))+ children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]+ }, y1(e)))}) : null]}), /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66540,13 +66383,13 @@ function Awe({ host: e }) {}//#endregion//#region src/react/settings-panel/settings-panel.tsx-var s0 = [+var b1 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], jwe = [+], Nwe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -66555,7 +66398,7 @@ var s0 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Mwe = [["desc", "降序"], ["asc", "升序"]], Nwe = [[+], Pwe = [["desc", "降序"], ["asc", "升序"]], Fwe = [["cover","官方封面",""@@ -66563,7 +66406,7 @@ var s0 = ["thumbnail","预览图",""-]], Pwe = [+]], Iwe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -66582,88 +66425,88 @@ var s0 = ["切片","隐藏切片"]-], Fwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", c0 = null, l0 = {+], Lwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, u0 = 0, d0 = null, f0 = /* @__PURE__ */ new Set();-function Iwe(e) {- return f0.add(e), () => {- f0.delete(e);+}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();+function Rwe(e) {+ return T1.add(e), () => {+ T1.delete(e);};}-function Lwe() {- for (let e of [...f0]) e();+function zwe() {+ for (let e of [...T1]) e();}-function p0(e) {- l0 = {- ...l0,+function E1(e) {+ S1 = {+ ...S1,...e- }, (0, Tt.flushSync)(Lwe);+ }, (0, Tt.flushSync)(zwe);}-async function Rwe(e) {- let t = l0.epoch, n = await e.configurable();- l0.open && l0.epoch === t && p0({ configurable: n });+async function Bwe(e) {+ let t = S1.epoch, n = await e.configurable();+ S1.open && S1.epoch === t && E1({ configurable: n });}-function zwe(e = "") {- let t = c0;+function Vwe(e = "") {+ let t = x1;if (!t) return;- let n = s0.findIndex(([t]) => t === e);- if (l0.open && !l0.closing) {- n >= 0 && n !== l0.tab && p0({ tab: n });+ let n = b1.findIndex(([t]) => t === e);+ if (S1.open && !S1.closing) {+ n >= 0 && n !== S1.tab && E1({ tab: n });return;}- So(), u0 += 1, d0 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = Sye();- p0({+ So(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let r = wye();+ E1({open: !0,closing: !1,configurable: null,- epoch: l0.epoch + 1,- tab: n >= 0 ? n : l0.tab+ epoch: S1.epoch + 1,+ tab: n >= 0 ? n : S1.tab}), r.then((e) => {e && t.syncRemote(e);- }), Rwe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), Bwe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function m0(e = !0) {- if (!l0.open || l0.closing) return;- let t = ++u0;- e && c0?.closed?.(), p0({ closing: !0 });+function D1(e = !0) {+ if (!S1.open || S1.closing) return;+ let t = ++C1;+ e && x1?.closed?.(), E1({ closing: !0 });let n = () => {- t === u0 && l0.closing && (p0({+ t === C1 && S1.closing && (E1({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), d0 instanceof HTMLElement && document.contains(d0) && d0.focus(), d0 = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), w1 instanceof HTMLElement && document.contains(w1) && w1.focus(), w1 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var Bwe = {- open: zwe,- close: m0,- isOpen: () => l0.open,+var Hwe = {+ open: Vwe,+ close: D1,+ isOpen: () => S1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function Vwe(e) {- return c0 = e, Bwe;+function Uwe(e) {+ return x1 = e, Hwe;}-function Hwe() {- let e = (0, D.useSyncExternalStore)(Iwe, () => l0);- return c0 ? /* @__PURE__ */ (0, O.jsx)(Gwe, {- host: c0,+function Wwe() {+ let e = (0, D.useSyncExternalStore)(Rwe, () => S1);+ return x1 ? /* @__PURE__ */ (0, O.jsx)(qwe, {+ host: x1,view: e}) : null;}-function Uwe(e) {+function Gwe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(Fwe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(Lwe)].filter((e) => e.getClientRects().length > 0);if (!t.length) return;let n = t[0], r = t[t.length - 1];e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());}-var h0 = (e) => `settings-tab-${e}`, g0 = (e) => `settings-group-${e}`;-function Wwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;+function Kwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(e), l = (0, D.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -66691,7 +66534,7 @@ function Wwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectc.current = e, d.current(l.current[e], t);}, [e, t]);let f = (e, t) => {- let n = s0.length, r = t;+ let n = b1.length, r = t;if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;else if (e.key === "Home") r = 0;@@ -66720,11 +66563,11 @@ function Wwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- s0.map(([t, n], r) => /* @__PURE__ */ (0, O.jsxs)("button", {+ b1.map(([t, n], r) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",- id: h0(r),- "aria-controls": g0(r),+ id: O1(r),+ "aria-controls": k1(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -66735,7 +66578,7 @@ function Wwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(uP, { name: n }) : /* @__PURE__ */ (0, O.jsx)(dP, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(lP, { name: n }) : /* @__PURE__ */ (0, O.jsx)(Cce, { name: n }), t]}, t)),/* @__PURE__ */ (0, O.jsx)("div", {"data-settings-service": "",@@ -66746,27 +66589,27 @@ function Wwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(uP, { name: "folder-cog" }),+ /* @__PURE__ */ (0, O.jsx)(lP, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-right" })+ /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-right" })]})})]});}-function _0({ index: e, tab: t, children: n, cards: r = !1 }) {+function A1({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, O.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: g0(e),+ id: k1(e),role: "tabpanel",- "aria-labelledby": h0(e),+ "aria-labelledby": O1(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, O.jsx)("h3", { children: s0[e][0] }), n]+ children: [/* @__PURE__ */ (0, O.jsx)("h3", { children: b1[e][0] }), n]});}-function v0({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, O.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, O.jsxs)("span", { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, O.jsx)("small", {@@ -66783,7 +66626,7 @@ function v0({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function y0({ title: e, description: t, kind: n, children: r }) {+function M1({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -66791,7 +66634,7 @@ function y0({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("span", { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, O.jsx)("small", { children: t }) : t] }), r]});}-function Gwe({ host: e, view: t }) {+function qwe({ host: e, view: t }) {(0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -66812,7 +66655,7 @@ function Gwe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== l0.tab && (p0({ tab: t }), e.selectSection?.(s0[t][0]));+ t !== S1.tab && (E1({ tab: t }), e.selectSection?.(b1[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, O.jsx)("section", {"data-settings-panel": "",@@ -66823,9 +66666,9 @@ function Gwe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: Uwe,+ onKeyDown: Gwe,onClick: (e) => {- e.target === e.currentTarget && m0();+ e.target === e.currentTarget && D1();},children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-settings-card": "",@@ -66836,27 +66679,27 @@ function Gwe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, O.jsx)("h2", {id: "settingsTitle",- children: s0[t.tab][0]- }), /* @__PURE__ */ (0, O.jsx)(rB, {+ children: b1[t.tab][0]+ }), /* @__PURE__ */ (0, O.jsx)(zz, {id: "settingsClose",label: "关闭设置",- onPress: () => m0()+ onPress: () => D1()})]}),- /* @__PURE__ */ (0, O.jsx)(Wwe, {+ /* @__PURE__ */ (0, O.jsx)(Kwe, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- m0(!1), e.openConfiguration();+ D1(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, O.jsxs)(_0, {+ /* @__PURE__ */ (0, O.jsxs)(A1, {index: 0,tab: t.tab,cards: !0,@@ -66864,9 +66707,9 @@ function Gwe({ host: e, view: t }) {/* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "主题",- children: /* @__PURE__ */ (0, O.jsx)($1, {+ children: /* @__PURE__ */ (0, O.jsx)(f1, {id: "themeSetting",name: "theme",legend: "主题",@@ -66894,7 +66737,7 @@ function Gwe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, O.jsx)(v0, {+ /* @__PURE__ */ (0, O.jsx)(j1, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -66902,7 +66745,7 @@ function Gwe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, O.jsx)(v0, {+ /* @__PURE__ */ (0, O.jsx)(j1, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -66912,7 +66755,7 @@ function Gwe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, O.jsx)(Dwe, { host: e }),+ /* @__PURE__ */ (0, O.jsx)(kwe, { host: e }),/* @__PURE__ */ (0, O.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -66924,35 +66767,35 @@ function Gwe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, O.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, O.jsx)(Awe, { host: e })+ children: /* @__PURE__ */ (0, O.jsx)(Mwe, { host: e })})})]})]}),- /* @__PURE__ */ (0, O.jsx)(qwe, {+ /* @__PURE__ */ (0, O.jsx)(Ywe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, O.jsx)(Jwe, {+ /* @__PURE__ */ (0, O.jsx)(Xwe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, O.jsxs)(_0, {+ /* @__PURE__ */ (0, O.jsxs)(A1, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, O.jsx)(Zwe, {+ /* @__PURE__ */ (0, O.jsx)($we, {host: e,epoch: d}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "相关推荐数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(r0, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -66962,24 +66805,24 @@ function Gwe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "口味与记录",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(OI, {+ children: /* @__PURE__ */ (0, O.jsx)(JF, {variant: "secondary",href: "/taste",- onClick: () => m0(!1),+ onClick: () => D1(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, O.jsx)(_0, {+ /* @__PURE__ */ (0, O.jsx)(A1, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, O.jsx)(v0, {+ children: /* @__PURE__ */ (0, O.jsx)(j1, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -66994,7 +66837,7 @@ function Gwe({ host: e, view: t }) {})});}-function Kwe(e, t) {+function Jwe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = cs("arrow-up", "arrow-down", "a", {@@ -67004,9 +66847,9 @@ function Kwe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function qwe({ host: e, tab: t, epoch: n }) {+function Ywe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";- return /* @__PURE__ */ (0, O.jsxs)(_0, {+ return /* @__PURE__ */ (0, O.jsxs)(A1, {index: 1,tab: t,children: [@@ -67014,11 +66857,11 @@ function qwe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "每批加载作品",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, O.jsx)(r0, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -67028,24 +66871,24 @@ function qwe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, O.jsx)(e0, {+ children: [/* @__PURE__ */ (0, O.jsx)(p1, {id: "defaultSortSetting",label: "默认排序",- options: jwe,+ options: Nwe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, O.jsx)(e0, {+ }), /* @__PURE__ */ (0, O.jsx)(p1, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: Mwe,+ options: Pwe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -67053,13 +66896,13 @@ function qwe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => Kwe(e, o)+ decorate: (e) => Jwe(e, o)})]})}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, O.jsx)($1, {+ children: /* @__PURE__ */ (0, O.jsx)(f1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -67085,16 +66928,16 @@ function qwe({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, O.jsx)(r0, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = Mk(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = Ok(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -67103,16 +66946,16 @@ function qwe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, O.jsx)(Xwe, {+ /* @__PURE__ */ (0, O.jsx)(Qwe, {host: e,epoch: n})]});}-function Jwe({ host: e, tab: t, epoch: n }) {+function Xwe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, O.jsxs)(_0, {+ return /* @__PURE__ */ (0, O.jsxs)(A1, {index: 2,tab: t,children: [@@ -67120,13 +66963,13 @@ function Jwe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "默认图片",- children: /* @__PURE__ */ (0, O.jsx)($1, {+ children: /* @__PURE__ */ (0, O.jsx)(f1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: Nwe,+ options: Fwe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -67141,21 +66984,21 @@ function Jwe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "显示数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(r0, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = Mk(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = Ok(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})}),- /* @__PURE__ */ (0, O.jsx)(v0, {+ /* @__PURE__ */ (0, O.jsx)(j1, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -67163,7 +67006,7 @@ function Jwe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- Pwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(Ywe, {+ Iwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(Zwe, {host: e,id: t,settingKey: n,@@ -67173,8 +67016,8 @@ function Jwe({ host: e, tab: t, epoch: n }) {]});}-function Ywe({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = eZ(), [o, s] = (0, D.useState)(null), c = (0, D.useRef)(null), l = e.store.value, u = (t) => {+function Zwe({ host: e, id: t, settingKey: n, label: r, title: i }) {+ let a = pX(), [o, s] = (0, D.useState)(null), c = (0, D.useRef)(null), l = e.store.value, u = (t) => {s(t), cc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);@@ -67198,10 +67041,10 @@ function Ywe({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function Xwe({ host: e, epoch: t }) {+function Qwe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(v0, {+ /* @__PURE__ */ (0, O.jsx)(j1, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -67209,7 +67052,7 @@ function Xwe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, O.jsx)(v0, {+ /* @__PURE__ */ (0, O.jsx)(j1, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -67217,11 +67060,11 @@ function Xwe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, O.jsx)(r0, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -67233,18 +67076,18 @@ function Xwe({ host: e, epoch: t }) {})] });}-function Zwe({ host: e, epoch: t }) {- let n = e.store.value, r = eZ();- return /* @__PURE__ */ (0, O.jsx)(y0, {+function $we({ host: e, epoch: t }) {+ let n = e.store.value, r = pX();+ return /* @__PURE__ */ (0, O.jsx)(M1, {title: "搜索记录数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(r0, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = Mk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = Ok(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})@@ -67252,68 +67095,68 @@ function Zwe({ host: e, epoch: t }) {}//#endregion//#region src/react/sidebar/sidebar-island.tsx-var b0 = "__home__", Qwe = {+var N1 = "__home__", eTe = {creator: 26,tag: 30,tech: 16-}, x0 = 180, S0 = null, C0 = {+}, P1 = 180, F1 = null, I1 = {props: {content: null,filters: {},latest: null},epoch: 0-}, w0 = /* @__PURE__ */ new Set();-function $we(e) {- return w0.add(e), () => {- w0.delete(e);+}, L1 = /* @__PURE__ */ new Set();+function tTe(e) {+ return L1.add(e), () => {+ L1.delete(e);};}-function T0() {- for (let e of [...w0]) e();+function R1() {+ for (let e of [...L1]) e();}-var eTe = {+var nTe = {render(e) {- C0 = {- ...C0,+ I1 = {+ ...I1,props: e- }, (0, Tt.flushSync)(T0);+ }, (0, Tt.flushSync)(R1);},navChanged() {- C0 = {- ...C0,- epoch: C0.epoch + 1- }, (0, Tt.flushSync)(T0);+ I1 = {+ ...I1,+ epoch: I1.epoch + 1+ }, (0, Tt.flushSync)(R1);}};-function tTe(e) {- return S0 = e, C0 = {- ...C0,+function rTe(e) {+ return F1 = e, I1 = {+ ...I1,props: {content: null,filters: {},latest: null}- }, eTe;+ }, nTe;}-function nTe() {- let e = (0, D.useSyncExternalStore)($we, () => C0);- return S0 ? /* @__PURE__ */ (0, O.jsx)(rTe, {- host: S0,+function iTe() {+ let e = (0, D.useSyncExternalStore)(tTe, () => I1);+ return F1 ? /* @__PURE__ */ (0, O.jsx)(aTe, {+ host: F1,props: e.props,epoch: e.epoch}) : null;}-function rTe({ host: e, props: t, epoch: n }) {+function aTe({ host: e, props: t, epoch: n }) {let r = (0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, O.jsx)(iTe, {+ /* @__PURE__ */ (0, O.jsx)(oTe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, O.jsx)(oTe, {+ t.content ? /* @__PURE__ */ (0, O.jsx)(cTe, {host: e,content: t.content,filters: t.filters,@@ -67321,8 +67164,8 @@ function rTe({ host: e, props: t, epoch: n }) {}) : null] });}-function iTe({ host: e, epoch: t, version: n }) {- let r = i0(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = EI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || b0 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function oTe({ host: e, epoch: t, version: n }) {+ let r = _1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = KF(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, D.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -67346,7 +67189,7 @@ function iTe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || b0);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || N1);},onDragOver: (t) => {if (f === null || f === e) return;@@ -67361,7 +67204,7 @@ function iTe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : a0(i, n, e, a);+ let o = n === null ? null : v1(i, n, e, a);o && r(o);},onDragEnd: g@@ -67389,16 +67232,16 @@ function iTe({ host: e, epoch: t, version: n }) {height: 24,alt: "",decoding: "async"- }) : /* @__PURE__ */ (0, O.jsx)(uP, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]- }, t || b0))+ }) : /* @__PURE__ */ (0, O.jsx)(lP, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ }, t || N1))}), v ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var E0 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function aTe(e) {+var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function sTe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -67411,7 +67254,7 @@ function aTe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function oTe({ host: e, content: t, filters: n, latest: r }) {+function cTe({ host: e, content: t, filters: n, latest: r }) {let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, D.useLayoutEffect)(() => {t.kind === "catalog" && ms(e.scroll, "drawer");@@ -67420,8 +67263,8 @@ function oTe({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? sTe(e, t.facets, n, r, i) : cTe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(lTe, {+ let a = t.kind === "catalog" ? lTe(e, t.facets, n, r, i) : uTe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(dTe, {title: e.title,kind: e.kind,active: e.active,@@ -67430,11 +67273,11 @@ function oTe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function sTe(e, t, n, r, i) {- let a = aTe(r), o = (t, r, i) => {+function lTe(e, t, n, r, i) {+ let a = sTe(r), o = (t, r, i) => {if (!t.length) return null;- let o = E0(n, r);- return /* @__PURE__ */ (0, O.jsx)(k0, {+ let o = z1(n, r);+ return /* @__PURE__ */ (0, O.jsx)(H1, {rows: t,filterKey: r,multi: i,@@ -67444,7 +67287,7 @@ function sTe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = E0(n, l), p = c.some((e) => f.includes(e.value));+ let f = z1(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -67456,12 +67299,12 @@ function sTe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, O.jsx)(dTe, {+ body: /* @__PURE__ */ (0, O.jsx)(pTe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: Qwe[d],+ limit: eTe[d],filterKey: l,selected: f,counts: a,@@ -67476,7 +67319,7 @@ function sTe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(M0, {+ body: /* @__PURE__ */ (0, O.jsx)(G1, {host: e,filters: n})@@ -67490,7 +67333,7 @@ function sTe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(A0, {+ body: /* @__PURE__ */ (0, O.jsx)(U1, {rows: t.followTags,host: e,selected: null,@@ -67499,14 +67342,14 @@ function sTe(e, t, n, r, i) {} : null];}-function cTe(e, t, n) {- let r = t.providers || [], i = E0(n, "provider"), a = new Set(t.selected);+function uTe(e, t, n) {+ let r = t.providers || [], i = z1(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, O.jsx)(k0, {+ body: /* @__PURE__ */ (0, O.jsx)(H1, {rows: r,filterKey: "provider",multi: !1,@@ -67520,7 +67363,7 @@ function cTe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(M0, {+ body: /* @__PURE__ */ (0, O.jsx)(G1, {host: e,filters: n,commit: e.setFollowDuration@@ -67530,7 +67373,7 @@ function cTe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, O.jsx)(A0, {+ body: /* @__PURE__ */ (0, O.jsx)(U1, {rows: t.tags,host: e,selected: a,@@ -67539,19 +67382,19 @@ function cTe(e, t, n) {} : null];}-function D0(e, t) {+function B1(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function lTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(() => D0(e, n)), u = (0, D.useRef)(!1);+function dTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(() => B1(e, n)), u = (0, D.useRef)(!1);(0, D.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? D0(e, n) : c;+ let i = u.current ? B1(e, n) : c;u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));}, [i]);let d = (t) => {@@ -67572,7 +67415,7 @@ function lTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, O.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -67583,7 +67426,7 @@ function lTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, O.jsx)(O0.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(V1.Provider, {value: d,children: a})@@ -67592,15 +67435,15 @@ function lTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var O0 = (0, D.createContext)(() => {});-function uTe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(uP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {+var V1 = (0, D.createContext)(() => {});+function fTe({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(lP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, O.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function k0({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -67617,7 +67460,7 @@ function k0({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, O.jsx)(uTe, { dot: e.dot }),+ /* @__PURE__ */ (0, O.jsx)(fTe, { dot: e.dot }),/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -67632,8 +67475,8 @@ function k0({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function dTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, D.useContext)(O0), [d, f] = (0, D.useState)(null), [p, m] = (0, D.useState)(e);+function pTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, D.useContext)(V1), [d, f] = (0, D.useState)(null), [p, m] = (0, D.useState)(e);p !== e && (m(e), f(null));let h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, D.useLayoutEffect)(() => {@@ -67648,7 +67491,7 @@ function dTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), ao(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(k0, {+ }, [d, _]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(H1, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -67673,10 +67516,10 @@ function dTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })}) : null] });}-function A0({ rows: e, host: t, selected: n, badges: r }) {+function U1({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {@@ -67698,10 +67541,10 @@ function A0({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var j0 = (e, t) => e ? Math.min(x0, Number(e) / 60) : t;-function M0({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, D.useState)(r), [o, s] = (0, D.useState)(() => [j0(t.dur_min, 0), j0(t.dur_max, x0)]), [c, l] = (0, D.useState)("max");- i !== r && (a(r), s([j0(t.dur_min, 0), j0(t.dur_max, x0)]));+var W1 = (e, t) => e ? Math.min(P1, Number(e) / 60) : t;+function G1({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, D.useState)(r), [o, s] = (0, D.useState)(() => [W1(t.dur_min, 0), W1(t.dur_max, P1)]), [c, l] = (0, D.useState)("max");+ i !== r && (a(r), s([W1(t.dur_min, 0), W1(t.dur_max, P1)]));let [u, d] = o, f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(o);h.current = o;let g = (e, t) => {@@ -67714,11 +67557,11 @@ function M0({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, D.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / x0 * 100}%`), e.style.setProperty("--hi", `${d / x0 * 100}%`);+ e.style.setProperty("--lo", `${u / P1 * 100}%`), e.style.setProperty("--hi", `${d / P1 * 100}%`);let t = e.getBoundingClientRect();e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {let n = e.dataset.rangeEnd === "max" ? d : u;- e.style.left = `${n / x0 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / P1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);});@@ -67728,7 +67571,7 @@ function M0({ host: e, filters: t, commit: n = e.setDuration }) {"data-range-end": e,"data-range-active": c === e ? "" : void 0,"aria-hidden": "true",- children: e === "max" && t >= x0 ? "不限" : `${t} 分钟`+ children: e === "max" && t >= P1 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-duration": "",@@ -67743,7 +67586,7 @@ function M0({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: x0,+ max: P1,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -67754,7 +67597,7 @@ function M0({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: x0,+ max: P1,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -67768,8 +67611,302 @@ function M0({ host: e, filters: t, commit: n = e.setDuration }) {});}//#endregion+//#region src/diagnostics-skeleton.ts+function K1() {+ let e = (e) => Wo({+ label: e,+ variant: "secondary",+ attrs: "disabled data-skeleton-action"+ }), t = (e) => `<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3"><div class="flex flex-col gap-4 py-4 pr-3">${e}</div></div>`, n = "<span class=\"skeleton h-5 w-1/3\"></span><span class=\"skeleton h-4 w-2/3\"></span>", r = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p>${t}</section>`;+ return `<div data-skeleton="diagnostics" aria-busy="true" aria-label="正在读取系统诊断" class="flex min-w-0 flex-col gap-6"><div aria-hidden="true" inert class="flex flex-col gap-6">+ <div class="flex flex-wrap justify-end gap-2">${e("下载诊断报告")}${e("重新检查")}</div>+ ${r("需要关注", t(`<div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex min-w-0 flex-1 flex-col gap-2">${n}<span class="skeleton h-4 w-1/2"></span></div>${e("打开相关页面")}</div>`))}+ ${r("库健康", t(n))}+ ${r("来源会话", `<div class="flex flex-col gap-3">${t(n)}${t(n)}</div>`)}+ </div></div>`;+}+//#endregion+//#region src/react/settings/library-policy-copy.ts+var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", mTe = [+ "自动补全",+ "仅使用本地资料",+ "自定义"+], hTe = [+ [+ "读本地 NFO 和图片",+ "✓",+ "✓",+ "✓"+ ],+ [+ "读取视频信息、生成九宫格",+ "✓",+ "✓",+ "可选"+ ],+ [+ "联网补资料",+ "✓",+ "—",+ "可选"+ ],+ [+ "联网补封面",+ "✓",+ "—",+ "可选"+ ],+ [+ "联网补人物图片",+ "✓",+ "—",+ "可选"+ ]+], gTe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", _Te = [+ {+ provider: "coomer",+ label: "Coomer",+ requirement: "none"+ },+ {+ provider: "f95zone",+ label: "F95zone",+ requirement: "optional",+ fields: ["cookie"],+ why: "发现更新不需要登录;只有取附件和 masked 下载链接才需要会话。",+ where: "https://f95zone.to/",+ howto: "登录后从浏览器复制整条 Cookie 请求头,写进凭据文件的 cookie 字段。"+ },+ {+ provider: "fanbox",+ label: "FANBOX",+ requirement: "optional",+ fields: ["cookie"],+ why: "公开列表不需要登录;帖子详情被 FANBOX 验证页拦住时,可用浏览器会话取得正文、多图和外部资源链接。",+ where: "https://www.fanbox.cc/",+ howto: "登录 FANBOX 后,从一次成功的 api.fanbox.cc/post.info 请求复制整条 Cookie 请求头。"+ },+ {+ provider: "gofile",+ label: "Gofile",+ requirement: "optional",+ fields: ["api_token"],+ why: "用于展开 Gofile 文件页,取得其中的图片和视频列表;Gofile 当前要求 Premium 才能读取 contents API,不配置仍会保留文件页链接。",+ where: "https://gofile.io/myprofile",+ howto: "登录 Premium Gofile 账户后,在个人资料页复制 API token。"+ },+ {+ provider: "kemono",+ label: "Kemono",+ requirement: "none"+ },+ {+ provider: "patreon",+ label: "Patreon",+ requirement: "none"+ },+ {+ provider: "pawchive",+ label: "Pawchive",+ requirement: "none"+ },+ {+ provider: "rule34paheal",+ label: "Rule34 Paheal",+ requirement: "none"+ },+ {+ provider: "rule34video",+ label: "Rule34Video",+ requirement: "none"+ },+ {+ provider: "rule34xxx",+ label: "Rule34.xxx",+ requirement: "required",+ fields: ["user_id", "api_key"],+ why: "网页版挂了 Cloudflare 验证码,Peach 不绕验证码,只能走官方 API。",+ where: "https://rule34.xxx/index.php?page=account&s=options",+ howto: "登录后在账号设置页生成 API key,把 user_id 和 api_key 写进凭据文件。"+ },+ {+ provider: "simpcity",+ label: "SimpCity",+ requirement: "required",+ fields: ["cookie"],+ why: "站点不让游客读帖,检查更新必须带登录会话;前面的 DDoS-Guard 对标准桌面浏览器标识不出质询,Peach 也不解任何质询,cookie 失效就原样报错。",+ where: "https://simpcity.cr/",+ howto: "登录后从浏览器复制整条 Cookie 请求头,写进凭据文件的 cookie 字段。"+ },+ {+ provider: "subscribestar",+ label: "SubscribeStar",+ requirement: "none"+ }+], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", vTe = "peach.configuration.shape.v1";+function Q1() {+ try {+ let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");+ return e && typeof e == "object" ? e : {};+ } catch {+ return {};+ }+}+function yTe(e, t) {+ try {+ let n = Q1();+ if (JSON.stringify(n[e]) === JSON.stringify(t)) return;+ localStorage.setItem(vTe, JSON.stringify({+ ...n,+ [e]: t+ }));+ } catch {}+}+var $1 = (e) => Q1()[e], e0 = (e) => e === !0, t0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, n0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], r0 = "disabled data-skeleton-action", i0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, a0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, o0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, s0 = (e = "3em") => o0(e, "24px"), c0 = () => o0("var(--icon-inline)", "var(--icon-inline)"), l0 = (e, t = "primary", n = "medium") => Wo({+ label: e,+ variant: t,+ size: n,+ attrs: r0+}), u0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, bTe = (e, t, n) => {+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${c0()}${e}</span>` : e}</p>`;+ return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;+}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${bTe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "4em") => p0(e, "", i0(t)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${Ko(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Vo("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, xTe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${xTe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, STe = _Te;+function CTe(e = $1("credentials")) {+ let t = new Set(n0(e?.done, 64, String));+ return STe.map((e) => {+ let n = t.has(e.provider);+ return {+ ...e,+ done: n,+ open: e.requirement === "required" && !n+ };+ });+}+function wTe(e) {+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = s0() + (n && !e.done ? t.map(() => s0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${o0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${B(e.label)}</b>${r}</span>`;+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? g0(B(e.why)) : ""}</div>`;+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${B(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(B(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(B(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${l0("保存配置")}</div>${S0("凭据文件")}</div></div>` : "";+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${S0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;+}+function w0() {+ let e = CTe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;+ return f0("来源凭据", d0(`<div class="flex flex-col gap-4">${[+ ["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],+ ["不需要凭据", e.filter((e) => e.requirement === "none")],+ ["暂不支持", e.filter((e) => e.requirement === "blocked")]+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(wTe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });+}+function T0() {+ let e = n0($1("indexers")?.open, 20, e0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Vo("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${i0("6em")}${i0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${v0("名称")}${v0("Torznab 地址")}${v0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${b0("启用")}${l0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");+ return f0("资源搜索", d0(`<div class="flex min-w-0 flex-col gap-4">${S0("索引器连接帮助")}${e}</div>`), l0("添加索引器", "secondary") + l0("保存配置"));+}+function E0() {+ let e = $1("javBrowser"), t = e0(e?.enabled);+ return f0("浏览器添加 JAV", d0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${i0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${s0()}</div><p class="text-caption-1-regular text-text-secondary">${i0("70%")}</p><div class="flex flex-wrap items-center gap-2">${l0("重新检测", "secondary")}</div></div>`}${y0("浏览器添加的下载渠道")}${e0(e?.ready) ? "" : g0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${v0("Peach 地址")}</div>`), (t ? l0("关闭浏览器添加", "secondary") : "") + l0(t ? "更新渠道与令牌" : "启用并生成令牌"));+}+var D0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${_0(e)}${Ko(i0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${v0(`${e}地址`)}</div><div class="w-full sm:w-28">${v0(`${e}端口`)}</div></div>${S0("代理认证")}` : "") + "</div>";+function O0() {+ let e = $1("cloudProxy"), t = n0(e?.accounts, 12, (e) => Array.isArray(e) ? [e0(e[0]), e0(e[1])] : [!1, !1]), n = t0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${_0(x0(i0("6em")))}${g0(i0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${_0(x0(i0("8em")))}${g0(i0("50%"))}${D0("数据代理", e)}${D0("API 代理", t)}<div class="flex justify-end">${l0("保存配置")}</div></div>`).join("") : g0(i0("60%"));+ return f0("CloudDrive 代理", d0(`${g0(Z1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), l0("重新读取", "secondary"));+}+var k0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, TTe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${Wo({+ glyph: "folder-search",+ variant: "secondary",+ attrs: r0+})}</div>+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${k0("来源", Ko(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", Ko(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", Ko(i0("4em")), "w-full @lg:w-48") : ""}</div></div>+ </div>`, ETe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">+ <div data-library-head>${Wo({+ label: "自动识别",+ variant: "secondary",+ attrs: r0+})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Ko(i0("4em"), { prefix: "处理方式" })}</div>+ <div data-library-folders>${TTe(t).repeat(e)}<div class="flex">${Wo({+ label: "添加文件夹",+ variant: "secondary",+ attrs: r0+})}</div></div></div>`, DTe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, OTe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";+function kTe(e = $1("media")) {+ let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);+ return t.length ? {+ folders: t,+ cloud: e0(e?.cloud)+ } : {+ folders: [1],+ cloud: !1+ };+}+function ATe() {+ let e = $1("discovery"), t = e0(e?.enabled), n = t && e0(e?.cloud), r = n && e0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${Ko(i0("4em"), { prefix: "对应目录" })}${Wo({+ glyph: "trash",+ variant: "secondary",+ attrs: r0+ })}</div>`;+ return f0("自动发现新文件", d0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${s0()}</div>`) + m0("发现新文件后自动入库", t ? i0("10em") : "") + m0("监视本机文件夹", t && e0(e?.watchLocal) ? i0("12em") : "") + m0("接收 CloudDrive2 通知") + (n ? p0("Webhook 配置", i0("20em"), "") : "") + (r ? d0(S0("查看配置"), !0) : "") + (n ? d0(`<div class="flex flex-col gap-3">${_0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(t0(e?.prefixes, 20))}</div><div>${l0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? l0("更换密钥", "secondary") : "") + l0("保存配置"));+}+var jTe = () => {+ let e = kTe();+ return f0("媒体库与目录", d0(`${DTe}<div class="flex flex-col gap-4">${e.folders.map((t) => ETe(t, e.folders.length)).join("")}</div>+ <div class="self-start">${l0("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${J1}</p>+ ${e.cloud ? OTe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + ATe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, MTe = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + h0("订阅源拉取") + m0("首次采集范围", "", "ui-configuration-skeleton-select") + h0("头像刷新") + h0("favicon 刷新")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), NTe = () => {+ let e = $1("downloads"), t = e0(e?.pikpak), n = e0(e?.pikpakRoots) ? y0(x0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${_0(x0("PikPak 根目录对应的媒体目录"))}${g0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = e0(e?.cloud) ? f0("云下载", d0(v0("CloudDrive2 地址") + v0("CloudDrive2 API 令牌", "需要离线任务权限。") + (e0(e?.has115) ? v0(x0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? v0(x0("PikPak 目标目录"), "目录要已经存在。") + n : "") + v0("等待上限(小时)", i0("14em"))), l0("检查连接", "secondary") + l0("保存配置")) : "", i = e0(e?.pikpakLoggedIn);+ return r + (t ? f0("PikPak 账号", i ? C0(["账号", i0("4em")]) : d0(v0("账号") + v0("密码") + b0("保存密码,登录过期时自动重新登录")), i ? l0("登出", "secondary") : (e0(e?.browserLogin) ? l0("用浏览器登录", "secondary") : "") + l0("登录"), {+ aside: s0(),+ mark: !0+ }) : "") + E0();+}, A0 = {+ legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",+ locked: "访问设置无法读取,请在本机检查配置文件。",+ password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"+}, j0 = {+ quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",+ named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"+};+function PTe(e) {+ let t = e === "locked" ? "" : v0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + v0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");+ return (A0[e] ? g0(A0[e]) : "") + (e === "open" ? o0("100%", "64px") : "") + (e === "password" || e === "legacy" ? b0("关闭访问密码") : "") + (e === "password" ? v0("当前访问密码 *") : "") + t;+}+var FTe = () => {+ let e = $1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = e0(e?.tunnelNamed), r = (n && e0(e?.tunnelNamedMode) ? g0(j0.named) + v0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + v0("隧道令牌", i0("16em")) : g0(j0.quick)) + (e0(e?.tunnelNote) ? o0("100%", "64px") : "");+ return (e0(e?.port) ? f0("本机访问端口", d0(a0("128px")), l0("保存配置"), { status: "保存后 Peach 会重启,并跳转到新地址。" }) : "") + f0("Peach 代理", m0("连接方式", "", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置")) + f0("访问密码", d0(PTe(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() });+}, ITe = [+ "版本",+ "操作系统",+ "数据目录",+ "设置文件",+ "日志目录"+], LTe = () => {+ let e = $1("maintenance"), t = [+ "当前版本",+ "安装方式",+ "更新通道",+ "最新版本",+ "下载内容"+ ].slice(0, Math.max(4, t0(e?.releaseFacts, 5))), n = t0(e?.releaseNotes, 4), r = t0(e?.storageRows, 12), i = t0(e?.storageNotes, 3), a = n0(e?.facts, 12, (e) => B(String(e))), o = `<span class="self-start">${s0("6em")}</span>`, s = (t) => !e || e0(t), c = s(e?.reporting) ? m0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (e0(e?.reportingIdle) ? d0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${m0("上传馆藏与口味明细", e0(e?.sharingNotice) ? i0("12em") : "")}${e0(e?.sharingIdle) ? d0(o, !0) : ""}${u0(l0("预览上传内容", "secondary"))}</div>` : "";+ return f0("检查更新", C0(t) + (n ? d0(g0(i0("50%")).repeat(n), !0) : ""), l0("检查更新"), {+ aside: s0("4em"),+ status: i0("5em")+ }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : ITe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("安装教程", "", l0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("16em") }) : "");+};+function RTe(e) {+ switch (e) {+ case "系统诊断": return K1();+ case "来源与订阅": return MTe();+ case "下载渠道": return NTe();+ case "网络与访问": return FTe();+ case "应用与维护": return LTe();+ default: return jTe();+ }+}+function zTe(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(oV).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${RTe(e)}</div></div></div>`;+}+//#endregion//#region src/react/jav/discovery-sorts.ts-var N0 = [+var M0 = [["taste","口味",@@ -67777,7 +67914,7 @@ var N0 = [],["release_date",- Pk[1],+ Ak[1],"按发行日期排序"],[@@ -67796,10 +67933,10 @@ var N0 = ["按番号排序"]];-function fTe(e) {+function BTe(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function pTe(e) {+function VTe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -67825,8 +67962,8 @@ function pTe(e) {}//#endregion//#region src/jav-skeleton.ts-var P0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, mTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, F0 = "w-full min-w-0";-function I0() {+var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, HTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";+function F0() {return ["w-20","w-16",@@ -67836,26 +67973,26 @@ function I0() {"w-24"].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");}-function L0(e, t = vA()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${P0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${mTe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${P0("80%")}${P0("60%")}${P0("40%")}</div></div>`).join("")}</div>`;- let n = EA({- ...TA({+function I0(e, t = gA()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${HTe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;+ let n = wA({+ ...CA({active: !0,home: !1,portrait: !1}),size: t});- return `<div data-media-grid class="${F0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">+ return `<div data-media-grid class="${P0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span><div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>- <div data-media-title>${P0("85%")}${P0("65%")}</div><div data-media-byline>${P0("55%")}</div>+ <div data-media-title>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("55%")}</div><div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div></div></div><div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div></div>`).join("")}</div>`;}-function hTe(e) {+function UTe(e) {let t = e === "wants" ? "筛选想要" : "筛选推荐";return `<div class="peach-react"><div class="flex w-full flex-col gap-6"><div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${Wo({@@ -67863,29 +68000,29 @@ function hTe(e) {label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${l1.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${S$.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div><form aria-label="${t}">${Uo("筛选番号、女优或标题", "", t)}</form>- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${P0("100%")}</div>${L0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${gTe()}${L0(e)}</section>`}</div></div>`;+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${WTe()}${I0(e)}</section>`}</div></div>`;}-function gTe() {- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${vA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Vo(t, "size-4")}</span>`;+function WTe() {+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${gA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Vo(t, "size-4")}</span>`;return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${I0()}</div></div>+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${F0()}</div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2"><span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ho()}<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Vo("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>- ${N0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Vo("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${M0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Vo("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}//#endregion//#region src/management-skeletons.ts-var R0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", z0 = (e = "60%") => `<span class="${R0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, B0 = "disabled data-skeleton-action", V0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function _Te() {+var L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function GTe() {let e = ["馆藏视频","看过",@@ -67893,27 +68030,27 @@ function _Te() {"使用空间"].map((e, t) => `<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${z0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${V0}" data-stats-chart>- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${z0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${R0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${B0}" data-stats-chart>+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${R0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header><svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[76,54,32].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${z0()}</span><b class="text-title-2-medium">${z0("3em")}</b><small class="text-caption-1-regular">${z0()}</small></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</small></div>`).join("")}</div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${z0("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${R0("12em")}</p><div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div><div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div><div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${["时长","画质","文件类型"- ].map((e) => `<section class="${V0}"><h3 class="text-title-2-medium">${e}</h3><div class="${R0} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -67922,11 +68059,11 @@ function _Te() {"最近看过","标签来源"].map((e) => `<span>${e}</span>`).join("")}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div></section></div></div>`;}-function vTe() {+function KTe() {let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = ["浏览记录","口味维度",@@ -67934,20 +68071,20 @@ function vTe() {"私有导出"].map((e) => `<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${z0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${R0} h-6"></div>`).join(""), r = (e) => `<section class="${V0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${R0} h-40"></div></section>`;+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${R0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${L0} h-6"></div>`).join(""), r = (e) => `<section class="${B0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${L0} h-40"></div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8"><div class="flex flex-col gap-5"><div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}<div class="flex flex-wrap items-center gap-2">${Ko("全部时间")}<span data-button-group data-split-button data-variant="primary">${Wo({glyph: "compass",label: "读取浏览器历史",- attrs: B0+ attrs: z0})}${Wo({glyph: "chevron-down",- attrs: B0+ attrs: z0})}</span></div></div><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>@@ -67965,11 +68102,11 @@ function vTe() {4,5].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>- <small class="text-caption-1-regular">${z0("8em")}</small></div>+ <small class="text-caption-1-regular">${R0("8em")}</small></div><div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div></section><div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>- <section class="${V0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${R0} h-72 max-sm:h-48"></div></section>+ <section class="${B0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${L0} h-72 max-sm:h-48"></div></section><section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col"><div class="px-4 pt-3">${e(["标签",@@ -67977,20 +68114,20 @@ function vTe() {"常访问网站","浏览线索"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function yTe() {+function qTe() {let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">- <span class="${R0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${z0("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${z0("3em")}</span>`).join("")}- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${z0("75%")}</span>+ <span class="${L0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${R0("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${R0("3em")}</span>`).join("")}+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${R0("75%")}</span></div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group><div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">- <b class="text-title-2-medium">${z0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${z0("8em")}</span>+ <b class="text-title-2-medium">${R0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${R0("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长",@@ -67999,27 +68136,27 @@ function yTe() {variant: "secondary",size: "small",label: e,- attrs: B0+ attrs: z0})).join("")}</span></div>${e.repeat(2)}</section>`;return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5"><div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${z0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${z0("12em")}</p>+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${R0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${R0("12em")}</p></div>- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${B0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${z0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}-function bTe() {+function JTe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">- <div class="flex min-w-0 gap-4"><span class="${R0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${z0("80%")}</h3><p class="text-body-2-regular">${z0("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${L0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div></div><footer class="flex justify-end">${Wo({variant: "secondary",size: "small",label: "查看版本",- attrs: B0+ attrs: z0})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">@@ -68029,24 +68166,24 @@ function bTe() {}//#endregion//#region src/board-skeleton.ts-var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, xTe = () => `${H0("80%")}${H0("48%")}`, U0 = (e, t) => e.repeat(t), W0 = "disabled data-skeleton-action", G0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, K0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, STe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", q0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YTe = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, XTe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", K0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${["关注创作者","启用来源","检查失败","未看更新","JAV 订阅","未看新作"-].map((e) => `<div class="${STe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${G0("3em")}</b></div>`).join("")}</div>`, J0 = [+].map((e) => `<div class="${XTe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, q0 = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], CTe = (e = "") => J0.some(([t]) => t === e) ? e : "list", Y0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${J0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, X0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, wTe = ({ table: e, sort: t, dir: n }) => {+], ZTe = (e = "") => q0.some(([t]) => t === e) ? e : "list", J0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${q0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Y0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, QTe = ({ table: e, sort: t, dir: n }) => {let r = jn.find(([e]) => e === t)[1];- return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${G0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Wo({+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${W0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Wo({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: W0+ attrs: U0})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Wo({variant: "ghost",glyph: "layout-grid",@@ -68063,42 +68200,42 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, xTeglyph: "chevron-up",label: "全部收起",compact: !0,- attrs: W0+ attrs: U0})}</span></div></div>`;-}, Z0 = () => `<span class="flex shrink-0 items-center gap-1">${Wo({+}, X0 = () => `<span class="flex shrink-0 items-center gap-1">${Wo({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: W0+ attrs: U0})}${Wo({variant: "secondary",size: "small",glyph: "trash",- attrs: W0-})}</span>`, TTe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${X0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${G0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${K0(14, 14)}</span>${K0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${G0("113px")}</span>${Z0()}</span></div>`, Q0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${K0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${G0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Wo({+ attrs: U0+})}</span>`, $Te = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Y0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${W0("113px")}</span>${X0()}</span></div>`, Z0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Wo({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: W0-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${K0(14, 14)}${K0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Wo({+ attrs: U0+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${G0(14, 14)}${G0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Wo({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: W0+ attrs: U0})}${Wo({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: W0-})}</span></span></div><div data-source-divider>${U0(TTe(), e)}</div></section>`, ETe = () => {+ attrs: U0+})}</span></span></div><div data-source-divider>${H0($Te(), e)}</div></section>`, eEe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, DTe = [+}, tEe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -68106,83 +68243,83 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, xTe["status", "状态"],["checked", "上次检查"],["actions", ""]-], OTe = {+], nEe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, kTe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", ATe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${DTe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${OTe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${kTe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${U0(`<tr>${[- X0(),- `<span class="flex min-w-0 items-center gap-2">${K0(32, 32, !0)}${G0("5em")}</span>`,- G0("10em"),- `<span class="flex items-center gap-1.5">${K0(14, 14)}${G0("4em")}</span>`,- K0(48, 24),- G0("113px"),- Z0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, jTe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${G0("111px")}</span><div data-toolbar-actions>${Ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${K0(204, 32)}</div></div>`, MTe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${G0("120px")}</h3>${[+}, rEe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", iEe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${tEe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${nEe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${rEe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[+ Y0(),+ `<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,+ W0("10em"),+ `<span class="flex items-center gap-1.5">${G0(14, 14)}${W0("4em")}</span>`,+ G0(48, 24),+ W0("113px"),+ X0()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, aEe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${Ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, oEe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${W0("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${G0(e)}</span>`).join("")}</div>`, NTe = (e) => {- let t = CTe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${Y0(t)}<div class="flex flex-col gap-4">${MTe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = Fn(e.followSort, e.followDir), i = e.followPageSize || ETe(), a = n ? ATe(i, r) : `${X0("全选本页")}<div class="flex flex-col gap-3">${Q0(3)}${Q0(4)}${Q0(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${Y0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${wTe({+].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, sEe = (e) => {+ let t = ZTe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4">${oEe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = Fn(e.followSort, e.followDir), i = e.followPageSize || eEe(), a = n ? iEe(i, r) : `${Y0("全选本页")}<div class="flex flex-col gap-3">${Z0(3)}${Z0(4)}${Z0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${QTe({table: n,...r- })}${a}${jTe(n, i)}</div></div></div></div></div>`;+ })}${a}${aEe(n, i)}</div></div></div></div></div>`;};-function PTe() {- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${H0("85%")}${H0("65%")}${U0(xTe(), 4)}</div></aside></div>`;+function cEe() {+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${V0("85%")}${V0("65%")}${H0(YTe(), 4)}</div></aside></div>`;}-function FTe(e, t = {}) {+function lEe(e, t = {}) {let n = "";- if (e === "/stats") n = _Te();- else if (e === "/jav") n = hTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = vTe();- else if (e === "/subscriptions") n = NTe(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in wV) n = ahe(wV[e.split("/")[2]]);+ if (e === "/stats") n = GTe();+ else if (e === "/jav") n = UTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = KTe();+ else if (e === "/subscriptions") n = sEe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in oV) n = zTe(oV[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${G0("8em")}</span><span class="text-caption-1-regular">${G0("14em")}</span>${G0("60%")}${G0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${G0("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = yTe();- else if (e === "/quality-goals") n = bTe();+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;+ else if (e === "/duplicates") n = qTe();+ else if (e === "/quality-goals") n = JTe();else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${Wo({label: "新建",- attrs: W0- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${U0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: U0+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${H0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}//#endregion//#region src/react/components/overlay-host.ts-function ITe(e) {+function uEe(e) {let t = e.querySelector(":scope > [data-react-overlays]");if (t) return t;let n = e.ownerDocument.createElement("div");return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;}-function $0(e) {+function Q0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return ITe(n ?? t.body);+ return uEe(n ?? t.body);}-function e2(e) {+function $0(e) {let t = document.getElementById("toasts"), n = e?.open ? e : document.body;t && t.parentElement !== n && n.append(t);}//#endregion//#region src/react/follow-detail/follow-detail.ts-var t2 = (e) => ["follow-item", e], LTe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, RTe = "/api/follow/save", zTe = "/api/follow/media/hide", n2 = class extends Error {+var e2 = (e) => ["follow-item", e], dEe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, fEe = "/api/follow/save", pEe = "/api/follow/media/hide", t2 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function r2(e, t) {- let n = await V(LTe(e), t);+async function n2(e, t) {+ let n = await V(dEe(e), t);for (let t of n.groups || []) {let r = Ai(t).find((t) => t.id === e);if (r) return {@@ -68192,9 +68329,9 @@ async function r2(e, t) {aliases: n.author_aliases || []};}- throw new n2();+ throw new t2();}-function BTe(e) {+function mEe(e) {for (let [, t] of U.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = Ai(t.group).find((t) => t.id === e);@@ -68205,20 +68342,20 @@ function BTe(e) {}return null;}-async function i2(e, t) {- let n = t2(e.id), r = ji(e.id), i = U.getQueryData(Ti) ? null : U.fetchQuery({+async function r2(e, t) {+ let n = e2(e.id), r = ji(e.id), i = U.getQueryData(Ti) ? null : U.fetchQuery({queryKey: Ti,queryFn: () => Ei(t)}), a = r ? {...r,item: r.item- } : U.getQueryData(n) ?? BTe(e.id);+ } : U.getQueryData(n) ?? mEe(e.id);a ? U.setQueryData(n, a) : await U.fetchQuery({queryKey: n,- queryFn: () => r2(e.id, t)+ queryFn: () => n2(e.id, t)}), await i;}-function VTe(e, t, n, r) {+function hEe(e, t, n, r) {let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && zi(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);return {embedded: i,@@ -68233,32 +68370,32 @@ function VTe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var HTe = (e) => Ai(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), UTe = {+var gEe = (e) => Ai(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), _Ee = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, WTe = {+}, vEe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function GTe(e) {+function yEe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return UTe[t] || t;+ return _Ee[t] || t;} catch {return "外部文件页";}}-function a2(e, t) {- return WTe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function i2(e, t) {+ return vEe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function KTe(e, t, n = "") {+function bEe(e, t, n = "") {let r = n;!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;@@ -68267,54 +68404,54 @@ function KTe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var qTe = (e) => String(e.name || "").trim(), o2 = (e, t) => e.tag_types?.[t] || "unknown", JTe = /* @__PURE__ */ new Set([+var xEe = (e) => String(e.name || "").trim(), a2 = (e, t) => e.tag_types?.[t] || "unknown", SEe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function YTe(e, t) {- let n = o2(e, t);- return `r34-${JTe.has(n) ? n : "general"}`;+function CEe(e, t) {+ let n = a2(e, t);+ return `r34-${SEe.has(n) ? n : "general"}`;}-var s2 = [+var o2 = ["copyright","character","artist","general","metadata"];-function XTe(e, t) {+function wEe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = s2.indexOf(o2(e, t));- return n < 0 ? s2.length : n;+ let n = o2.indexOf(a2(e, t));+ return n < 0 ? o2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function c2(e, t) {+function s2(e, t) {let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);return !r.length && n && r.push(n), r;}-var ZTe = (e, t) => ({+var TEe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), l2 = (e) => e?.size ? { size: e.size } : {};-function QTe(e, t) {+}), c2 = (e) => e?.size ? { size: e.size } : {};+function EEe(e, t) {let { images: n, kind: r, src: i, selected: a } = t;return n.length ? n.map((t) => ({src: `/follow-stream?id=${e.id}&media=${t.index}`,thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,name: t.name || e.title,- source: a2(t, e),- ...l2(t)+ source: i2(t, e),+ ...c2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: a2(a, e),- ...l2(a)+ source: i2(a, e),+ ...c2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -68322,7 +68459,7 @@ function QTe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var $Te = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => _s(e, {+var DEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", l2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => _s(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -68330,7 +68467,7 @@ var $Te = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), eEe = [+}), OEe = ["元数据字段","创作者标签","厂牌 Logo",@@ -68340,39 +68477,39 @@ var $Te = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], tEe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">+], kEe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${eEe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${OEe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div><div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, nEe = {- "/data-cleanup": () => C1(),- "/resource-sync": () => C1(),- "/review": () => tEe(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, AEe = {+ "/data-cleanup": () => I$(),+ "/resource-sync": () => I$(),+ "/review": () => kEe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${u2("正在读取采集来源", {+ ${l2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function d2(e, { followLayout: t, followSort: n, followDir: r }) {- return FTe(e, {+function u2(e, { followLayout: t, followSort: n, followDir: r }) {+ return lEe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (nEe[e] ?? (() => u2("正在读取页面")))();+ }) || (AEe[e] ?? (() => l2("正在读取页面")))();}-var f2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function p2(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = f2(t);+var d2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function f2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = d2(t);(!r || r !== n) && (e.innerHTML = t, Ts(e));}//#endregion//#region src/react/components/related-section.tsx-function m2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function p2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, D.useCallback)((e) => {e && (Ts(e), t(e));}, [t]);@@ -68385,17 +68522,17 @@ function m2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, O.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, O.jsx)(xG, {+ children: /* @__PURE__ */ (0, O.jsx)(uW, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, O.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, O.jsx)(eB, {+ children: /* @__PURE__ */ (0, O.jsx)(Iz, {size: "compact",- icon: Uz,+ icon: Tz,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, O.jsx)(OI, {+ actions: /* @__PURE__ */ (0, O.jsx)(JF, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -68412,7 +68549,7 @@ function m2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,}//#endregion//#region src/react/components/detail-continuation.tsx-function h2({ queue: e, children: t, editionCards: n }) {+function m2({ queue: e, children: t, editionCards: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-detail-continuation": "","data-edition-cards": n == null ? void 0 : Math.min(3, n),@@ -68421,7 +68558,7 @@ function h2({ queue: e, children: t, editionCards: n }) {}//#endregion//#region src/react/components/media-carousel.tsx-function g2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function h2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, D.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, D.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");@@ -68501,7 +68638,7 @@ function g2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(rEe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(jEe, {item: e,selected: r === t,onSelect: n,@@ -68520,7 +68657,7 @@ function g2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function rEe({ item: e, selected: t, onSelect: n, render: r }) {+function jEe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(typeof IntersectionObserver > "u");return (0, D.useEffect)(() => {if (!i.current || a) return;@@ -68547,14 +68684,14 @@ function rEe({ item: e, selected: t, onSelect: n, render: r }) {}//#endregion//#region src/react/follow-detail/follow-related.ts-var iEe = (e, t, n) => [+var MEe = (e, t, n) => ["follow-feed","related",e,t,n];-function _2(e, t, n, r) {+function g2(e, t, n, r) {let i = new Set((t.group ? Ai(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));return e.flatMap((e) => e.groups || []).filter((e) => {let t = Ai(e);@@ -68569,7 +68706,7 @@ function _2(e, t, n, r) {};}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);}-async function aEe(e, t, n, r) {+async function NEe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {...Ri(i),status: "new",@@ -68583,29 +68720,29 @@ async function aEe(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 0);- return _2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && _2(o, e, t, n).length < n && await s("", 0), {+ return g2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && g2(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}//#endregion//#region src/react/follow-detail/follow-detail-page.tsx-var v2 = (e) => Number(e) > 0, oEe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var _2 = (e) => Number(e) > 0, PEe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), y2 = R("external-link", "ui-externalmark");-function sEe(e) {+}), v2 = R("external-link", "ui-externalmark");+function FEe(e) {let { id: t, actions: n } = e, r = St({- queryKey: t2(t),- queryFn: ({ signal: e }) => r2(t, e)+ queryKey: e2(t),+ queryFn: ({ signal: e }) => n2(t, e)}), i = St({queryKey: Ti,queryFn: ({ signal: e }) => Ei(e)}), a = (0, D.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, D.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, O.jsx)(uEe, {+ return r.data ? /* @__PURE__ */ (0, O.jsx)(REe, {...e,data: r.data,- context: ZTe(r.data, a),+ context: TEe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, O.jsx)("div", {@@ -68614,9 +68751,9 @@ function sEe(e) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, O.jsx)(b2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {+ children: [/* @__PURE__ */ (0, O.jsx)(y2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? cEe(r.error) ? /* @__PURE__ */ (0, O.jsx)(lEe, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(xG, {+ children: r.isError ? IEe(r.error) ? /* @__PURE__ */ (0, O.jsx)(LEe, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(uW, {message: Ut(r.error),onRetry: () => void r.refetch()}) : null@@ -68624,8 +68761,8 @@ function sEe(e) {})});}-var cEe = (e) => e instanceof n2 || e instanceof On && e.status === 404;-function lEe({ onBack: e }) {+var IEe = (e) => e instanceof t2 || e instanceof On && e.status === 404;+function LEe({ onBack: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -68634,7 +68771,7 @@ function lEe({ onBack: e }) {dangerouslySetInnerHTML: { __html: ts("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -68643,8 +68780,8 @@ var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function uEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = VTe(c, l, n, i), d = gEe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({+function REe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = hEe(c, l, n, i), d = WEe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({key: "",kind: ""}), h = {@@ -68664,20 +68801,20 @@ function uEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? HTe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(w2, {+ let g = !u.embedded.length && u.collection ? gEe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(C2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, O.jsx)(w2, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, O.jsx)(C2, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, O.jsx)(pEe, {+ }) : /* @__PURE__ */ (0, O.jsx)(VEe, {group: u.collection,itemId: c.id,helpers: o,@@ -68687,14 +68824,14 @@ function uEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel"data-stage-grid": "","data-with-queue": _ ? "" : void 0,"data-follow-detail": "",- children: [/* @__PURE__ */ (0, O.jsx)(fEe, {+ children: [/* @__PURE__ */ (0, O.jsx)(BEe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, O.jsx)(mEe, {+ }, f), /* @__PURE__ */ (0, O.jsx)(HEe, {item: c,data: e,context: t,@@ -68704,9 +68841,9 @@ function uEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, O.jsx)(h2, {+ }), /* @__PURE__ */ (0, O.jsx)(m2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(dEe, {+ children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(zEe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -68716,23 +68853,23 @@ function uEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function dEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function zEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = St({- queryKey: iEe(e.item.id, t, n),- queryFn: ({ signal: r }) => aEe(e, t, n, r)- }), [s] = (0, D.useState)(() => u2("正在读取推荐", {+ queryKey: MEe(e.item.id, t, n),+ queryFn: ({ signal: r }) => NEe(e, t, n, r)+ }), [s] = (0, D.useState)(() => l2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, D.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = _2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = g2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {...r,sources: u,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases};- return /* @__PURE__ */ (0, O.jsx)(m2, {+ return /* @__PURE__ */ (0, O.jsx)(p2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,@@ -68742,11 +68879,11 @@ function dEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }onRetry: () => {o.refetch();},- children: o.data ? l.map((e) => /* @__PURE__ */ (0, O.jsx)(kQ, {+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, O.jsx)(HZ, {variant: "next",group: e,media: t,- authorSources: c2(e.primary, u),+ authorSources: s2(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -68759,8 +68896,8 @@ function dEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function fEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, D.useRef)(null), p = QTe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, D.useState)(g), b = (0, D.useRef)({+function BEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, D.useRef)(null), p = EEe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, D.useState)(g), b = (0, D.useRef)({item: e,selected: o}), x = (0, D.useRef)(i.failed);@@ -68774,14 +68911,14 @@ function fEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-framed": d ? "" : void 0,style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },children: [- /* @__PURE__ */ (0, O.jsx)(b2, { onClose: n.close }),+ /* @__PURE__ */ (0, O.jsx)(y2, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, O.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void vQ(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void jZ(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -68789,10 +68926,10 @@ function fEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: CW(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: OU(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, O.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, O.jsx)(g2, {+ u ? /* @__PURE__ */ (0, O.jsx)(h2, {items: c,position: l,onSelect: r,@@ -68809,11 +68946,11 @@ function fEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var x2 = ({ kind: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var b2 = ({ kind: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }});-function S2({ src: e }) {+function x2({ src: e }) {let [t, n] = (0, D.useState)(!1);return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {src: e,@@ -68823,27 +68960,27 @@ function S2({ src: e }) {onError: () => n(!0)});}-function C2(e) {+function S2(e) {return (0, D.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function pEe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = zi(e), a = C2(n);- return /* @__PURE__ */ (0, O.jsx)(tq, {+function VEe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = zi(e), a = S2(n);+ return /* @__PURE__ */ (0, O.jsx)(WG, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${TW(e.primary)} · ${i.length} 个视频`,+ summary: `${AU(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = KTe(e, n, i ? n.provider_label : ""), o = i ? CW(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, O.jsxs)(nq, {+ let i = e.duplicates.includes(n), a = bEe(e, n, i ? n.provider_label : ""), o = i ? OU(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, O.jsxs)(GG, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(x2, { kind: "video" }), v2(n.duration) ? /* @__PURE__ */ (0, O.jsx)("i", {+ pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(b2, { kind: "video" }), _2(n.duration) ? /* @__PURE__ */ (0, O.jsx)("i", {className: "mono","data-mix-item-duration": "",children: hn(n.duration)@@ -68861,15 +68998,15 @@ function pEe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, O.jsx)("time", {dateTime: n.published_at || "",- children: IW(n)+ children: zU(n)})]})]}, n.id);})});}-function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = C2(r), c = [];+function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = S2(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -68879,26 +69016,26 @@ function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, O.jsx)(tq, {+ return /* @__PURE__ */ (0, O.jsx)(WG, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${TW(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)(rq, {+ summary: `${AU(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)(KG, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)(nq, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)(GG, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(x2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(b2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, O.jsx)("b", {"data-middle-truncate": "",- children: qTe(n)+ children: xEe(n)}), /* @__PURE__ */ (0, O.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -68906,13 +69043,13 @@ function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function mEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {let { kind: c, selected: l, src: u } = r, d = {primary: e,variants: [],duplicates: [],has_wip: e.variant_kind === "wip"- }, f = jW(d, e), p = kW(e, c2(e, t.sources), n), m = p.credited ? "" : e.author && un(e.author) !== un(p.author) ? e.author : "", h = MW(e, n), g = XTe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = IU(d, e), p = PU(e, s2(e, t.sources), n), m = p.credited ? "" : e.author && un(e.author) !== un(p.author) ? e.author : "", h = LU(e, n), g = wEe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -68928,7 +69065,7 @@ function mEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-title": "","data-follow-detail-name": "","data-reveal-line": "",- dangerouslySetInnerHTML: { __html: AW(d, e) + B(TW(e)) }+ dangerouslySetInnerHTML: { __html: FU(d, e) + B(AU(e)) }}), e.url ? /* @__PURE__ */ (0, O.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -68936,7 +69073,7 @@ function mEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: y2 }+ dangerouslySetInnerHTML: { __html: v2 }}) : null]}),/* @__PURE__ */ (0, O.jsxs)("div", {@@ -68944,8 +69081,8 @@ function mEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, O.jsx)("span", { children: IW(e) }),- v2(e.duration) ? /* @__PURE__ */ (0, O.jsx)("span", { children: hn(e.duration) }) : null,+ /* @__PURE__ */ (0, O.jsx)("span", { children: zU(e) }),+ _2(e.duration) ? /* @__PURE__ */ (0, O.jsx)("span", { children: hn(e.duration) }) : null,f ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -68962,7 +69099,7 @@ function mEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: "创作者"}), /* @__PURE__ */ (0, O.jsx)("div", {"data-id-row": "",- children: p.entityName ? /* @__PURE__ */ (0, O.jsxs)(DQ, {+ children: p.entityName ? /* @__PURE__ */ (0, O.jsxs)(BZ, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -68994,7 +69131,7 @@ function mEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, O.jsx)(hEe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, O.jsx)(UEe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, O.jsx)("p", {"data-follow-media-issue": "",children: h@@ -69017,9 +69154,9 @@ function mEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [GTe(e), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [yEe(e), /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: y2 }+ dangerouslySetInnerHTML: { __html: v2 }})]}, e))}) : null,@@ -69119,7 +69256,7 @@ function mEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...y(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(oEe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, O.jsx)(x2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(PEe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -69133,7 +69270,7 @@ function mEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-follow-detail-tags": "",children: g.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",- "data-tag-cat": YTe(e, t),+ "data-tag-cat": CEe(e, t),"data-follow-tag": t,onClick: () => s.openTag(t),children: o.tagLabel(t)@@ -69143,7 +69280,7 @@ function mEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function hEe({ text: e }) {+function UEe({ text: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(!1);return (0, D.useLayoutEffect)(() => {let e = t.current;@@ -69157,7 +69294,7 @@ function hEe({ text: e }) {"data-follow-detail-summary": "","data-clamped": n ? void 0 : "",children: e- }), i || n ? /* @__PURE__ */ (0, O.jsx)(q, {+ }), i || n ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "ghost",size: "small","data-follow-summary-toggle": "",@@ -69166,8 +69303,8 @@ function hEe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function gEe(e, t, n) {- let r = e.id, i = t2(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), l = (e, t) => o((n) => {+function WEe(e, t, n) {+ let r = e.id, i = e2(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -69186,7 +69323,7 @@ function gEe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && c1(), t.toast($Te(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && x$(), t.toast(DEe(n), { undo: i === "saved" ? void 0 : async () => {await H($n, {item: r,to: i@@ -69196,7 +69333,7 @@ function gEe(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = Ct({- mutationFn: () => H(RTe, { item: r }),+ mutationFn: () => H(fEe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},@@ -69204,7 +69341,7 @@ function gEe(e, t, n) {onSettled: () => l("save", !1)}), m = Ct({mutationFn: async ({ index: e, hidden: t }) => {- await H(zTe, {+ await H(pEe, {item: r,media: e,hidden: t@@ -69220,12 +69357,12 @@ function gEe(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = St({- queryKey: DCe(r),- queryFn: ({ signal: e }) => ACe(r, e)+ queryKey: kCe(r),+ queryFn: ({ signal: e }) => MCe(r, e)}).data?.want ?? null, g = Ct({- mutationFn: async (e) => (e ? await s1([e.id]) : await o1({ follow: r }), !e),+ mutationFn: async (e) => (e ? await b$([e.id]) : await y$({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), c1();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), x$();},onError: d,onSettled: () => l("want", !1)@@ -69265,7 +69402,7 @@ function gEe(e, t, n) {}//#endregion//#region src/react/components/identity-cell.tsx-function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${B(xn(t.name))}</span>` + Ia({@@ -69311,7 +69448,7 @@ function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function E2({ people: e, onOpen: t }) {+function T2({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "contents",@@ -69345,7 +69482,7 @@ function E2({ people: e, onOpen: t }) {}//#endregion//#region src/react/components/folded-title.ts-function D2(e) {+function E2(e) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(!1);return (0, D.useLayoutEffect)(() => {let e = t.current;@@ -69363,9 +69500,9 @@ function D2(e) {}//#endregion//#region src/react/item-detail/catalog-picture.tsx-function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, O.jsx)(o$, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, O.jsx)(yQ, {item: {code: e.code,has_cover: !1,@@ -69379,9 +69516,9 @@ function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {src: c,alt: "",onError: () => a(!0)- }) : i ? /* @__PURE__ */ (0, O.jsx)($z, {+ }) : i ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: () => {a(!1), s((e) => e + 1);@@ -69398,81 +69535,81 @@ function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}//#endregion//#region src/react/jav-detail/jav-detail.ts-var k2 = (e) => ["jav-detail", e], A2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), _Ee = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), j2 = (e, t) => U.ensureQueryData({- queryKey: k2(e.code),- queryFn: () => A2(e.code, t),+var O2 = (e) => ["jav-detail", e], k2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), GEe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), A2 = (e, t) => U.ensureQueryData({+ queryKey: O2(e.code),+ queryFn: () => k2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function vEe(e, t) {+function KEe(e, t) {if (!e.ok || !e.more) return;let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}//#endregion//#region src/react/item-detail/external-playback.tsx-var M2 = "peach.external-player.v1", N2 = [+var j2 = "peach.external-player.v1", M2 = [["m3u", "M3U 播放列表"],["vlc-ios", "VLC(iPhone / iPad)"],["iina", "IINA(Mac)"]];-function yEe(e, t, n) {+function qEe(e, t, n) {return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;}-function P2({ id: e }) {+function N2({ id: e }) {let [t, n] = (0, D.useState)(() => {try {- return N2.find(([e]) => e === localStorage.getItem(M2))?.[0] || "m3u";+ return M2.find(([e]) => e === localStorage.getItem(j2))?.[0] || "m3u";} catch {return "m3u";}- }), [r, i] = (0, D.useState)(null), a = JH();- return /* @__PURE__ */ (0, O.jsx)(LU, {+ }), [r, i] = (0, D.useState)(null), a = AH();+ return /* @__PURE__ */ (0, O.jsx)(KH, {summary: "外部播放器 / VR",- children: /* @__PURE__ */ (0, O.jsxs)(MU, { children: [- /* @__PURE__ */ (0, O.jsx)(e0, {+ children: /* @__PURE__ */ (0, O.jsxs)(HH, { children: [+ /* @__PURE__ */ (0, O.jsx)(p1, {id: `external-player-${e}`,label: "此设备的外部播放器",- options: N2,+ options: M2,value: t,epoch: 0,onPick: (e) => {- let t = N2.find(([t]) => t === e)?.[0] || "m3u";+ let t = M2.find(([t]) => t === e)?.[0] || "m3u";n(t);try {- localStorage.setItem(M2, t);+ localStorage.setItem(j2, t);} catch {}}}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...iB(a.busy === "prepare"),+ ...Bz(a.busy === "prepare"),onClick: () => void a.run("prepare", (t) => H(`/api/external-playback?id=${e}`, {}, "POST", t), (e) => i({url: new URL(e.url, location.origin).href,playlist: new URL(e.playlist, location.origin).href})),children: "生成播放链接"}),- a.error ? /* @__PURE__ */ (0, O.jsx)(FU, { children: a.error }) : null,+ a.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: a.error }) : null,r ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("a", {- href: yEe(t, r.url, r.playlist),+ href: qEe(t, r.url, r.playlist),rel: "noreferrer",- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${N2.find(([e]) => e === t)?.[1]}`+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${M2.find(([e]) => e === t)?.[1]}`}),- /* @__PURE__ */ (0, O.jsx)(Xz, {+ /* @__PURE__ */ (0, O.jsx)(Mz, {label: "网络播放地址",value: r.url,isReadOnly: !0}),- /* @__PURE__ */ (0, O.jsx)(PU, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })+ /* @__PURE__ */ (0, O.jsx)(UH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null] })}, e);}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var bEe = KF({+var JEe = tF({sm: {track: "h-4 w-7",trackRadius: {@@ -69534,23 +69671,23 @@ var bEe = KF({}}});-function xEe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = bEe[t];+function YEe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = JEe[t];return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: GF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? GF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: eF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? eF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, O.jsx)("span", {- className: GF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),- children: /* @__PURE__ */ (0, O.jsx)("span", { className: GF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })+ className: eF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),+ children: /* @__PURE__ */ (0, O.jsx)("span", { className: eF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })})});}-function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(Eue, {+function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(Uue, {ref: i,...a,- className: (t) => GF("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(xEe, {+ className: (t) => eF("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(YEe, {state: e,size: n,shape: r@@ -69562,13 +69699,13 @@ function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/cover-crop/cover-crop.ts-var SEe = "/api/cover-crop", CEe = (e, t) => H(SEe, {+var XEe = "/api/cover-crop", ZEe = (e, t) => H(XEe, {code: e,box: t});//#endregion//#region src/react/cover-crop/cover-crop-page.tsx-function I2({ className: e }) {+function F2({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -69581,7 +69718,7 @@ function I2({ className: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-crop" })});}-function wEe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function QEe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -69591,13 +69728,13 @@ function wEe({ code: e, coverUrl: t, box: n, onSaved: r }) {title: "裁剪封面:框出正封那一块",onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, O.jsx)(I2, { className: "size-3.75" })- }), /* @__PURE__ */ (0, O.jsx)(Zz, {+ children: /* @__PURE__ */ (0, O.jsx)(F2, { className: "size-3.75" })+ }), /* @__PURE__ */ (0, O.jsx)(Nz, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, O.jsx)(TEe, {+ children: /* @__PURE__ */ (0, O.jsx)($Ee, {code: e,coverUrl: t,box: n,@@ -69606,9 +69743,9 @@ function wEe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function TEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = SV(), f = Ct({- mutationFn: (t) => CEe(e, t),+function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = iV(), f = Ct({+ mutationFn: (t) => ZEe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -69620,19 +69757,19 @@ function TEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : Rxe(e, Ca);- c(UQ(t, e, null));+ } : Bxe(e, Ca);+ c(nQ(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, O.jsx)(Qz, { children: /* @__PURE__ */ (0, O.jsx)(I2, { className: "size-6" }) }),+ /* @__PURE__ */ (0, O.jsx)(Pz, { children: /* @__PURE__ */ (0, O.jsx)(F2, { className: "size-6" }) }),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(XI, {+ /* @__PURE__ */ (0, O.jsx)(xI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -69641,14 +69778,14 @@ function TEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, O.jsx)($z, {+ f.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: An(f.error)}) : null]}),- /* @__PURE__ */ (0, O.jsx)(gI, {- icon: Az,+ /* @__PURE__ */ (0, O.jsx)(MF, {+ icon: fz,size: "small","aria-label": "关闭",onClick: i@@ -69658,24 +69795,24 @@ function TEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, O.jsx)("div", {ref: d,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: /* @__PURE__ */ (0, O.jsx)(JQ, {+ children: /* @__PURE__ */ (0, O.jsx)(sQ, {src: t,aspect: l ? Ca : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- VQ(e) && p(e);+ eQ(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, O.jsx)(F2, {+ children: [/* @__PURE__ */ (0, O.jsx)(P2, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(UQ(s, a, Ca));+ u(e), e && s && a && c(nQ(s, a, Ca));},children: /* @__PURE__ */ (0, O.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -69683,16 +69820,16 @@ function TEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {})}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-1 flex-wrap items-center justify-end gap-3",- children: [/* @__PURE__ */ (0, O.jsx)(q, {+ children: [/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...iB(m),+ ...Bz(m),onClick: () => {m || f.mutate(null);},children: "恢复默认"- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {disabled: !s || !a,- ...iB(m),+ ...Bz(m),onClick: () => {s && !m && f.mutate(s);},@@ -69704,21 +69841,21 @@ function TEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}//#endregion//#region src/react/item-detail/item-detail-page.tsx-var L2 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var I2 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), R2 = ({ html: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+}), L2 = ({ html: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), z2 = (e) => Number(e) > 0 ? _n(Number(e)) : "大小未知";-function EEe(e) {+}), R2 = (e) => Number(e) > 0 ? _n(Number(e)) : "大小未知";+function eDe(e) {let { queue: t, actions: n } = e, r = St({- queryKey: t ? xM(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => AM(t, e.helpers, n),+ queryKey: t ? BM(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => YM(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? NM(i, e.id) : t ? null : e.id, o = St({- queryKey: bM(a ?? 0),- queryFn: ({ signal: e }) => kM(a, e),+ }), i = t && r.data || null, a = i ? QM(i, e.id) : t ? null : e.id, o = St({+ queryKey: zM(a ?? 0),+ queryFn: ({ signal: e }) => JM(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -69729,9 +69866,9 @@ function EEe(e) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, O.jsx)(B2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {+ children: [/* @__PURE__ */ (0, O.jsx)(z2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, O.jsx)(xG, {+ children: e ? /* @__PURE__ */ (0, O.jsx)(uW, {message: Ut(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -69741,13 +69878,13 @@ function EEe(e) {})});}- return /* @__PURE__ */ (0, O.jsx)(DEe, {+ return /* @__PURE__ */ (0, O.jsx)(tDe, {...e,- item: Gse(o.data, i),+ item: Tse(o.data, i),queue: i}, o.data.id);}-var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -69756,23 +69893,23 @@ var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function DEe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = UEe(t, r, i.tagLabel), o = (0, D.useRef)(t);+function tDe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = _De(t, r, i.tagLabel), o = (0, D.useRef)(t);(0, D.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, D.useEffect)(() => {- n?.kind === "playlist" && H(SM, {+ n?.kind === "playlist" && H(VM, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = nce(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = PM(n, t.id);+ let s = Ise(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = $M(n, t.id);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, O.jsx)(OEe, {+ children: [/* @__PURE__ */ (0, O.jsx)(nDe, {item: t,gate: s,helpers: i,@@ -69785,22 +69922,22 @@ function DEe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, O.jsx)(NEe, {+ }), /* @__PURE__ */ (0, O.jsx)(sDe, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, O.jsx)(h2, {+ }), /* @__PURE__ */ (0, O.jsx)(m2, {editionCards: n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, O.jsx)(AEe, {+ queue: n ? /* @__PURE__ */ (0, O.jsx)(iDe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(HEe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(gDe, {...e,item: n ? {...t,@@ -69809,12 +69946,12 @@ function DEe(e) {}) : null})] });}-function OEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function nDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, D.useState)(t ? "" : "auto"), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(-2), d = (0, D.useRef)(!1), f = St({- queryKey: k2(e.code || ""),+ queryKey: O2(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, A2(e.code, t, n);+ return d.current = !1, k2(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -69859,26 +69996,26 @@ function OEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-item-gallery": h ? "" : void 0,"data-item-picture": l === -2 ? void 0 : "",children: [- /* @__PURE__ */ (0, O.jsx)(B2, { onClose: r.close }),+ /* @__PURE__ */ (0, O.jsx)(z2, { onClose: r.close }),h ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, O.jsx)(O2, {+ l === -2 ? null : /* @__PURE__ */ (0, O.jsx)(D2, {item: e,image: l,source: p.find((e) => e.index === l)?.source}, l),- /* @__PURE__ */ (0, O.jsx)(g2, {+ /* @__PURE__ */ (0, O.jsx)(h2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, O.jsx)(O2, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, O.jsx)(D2, {item: e,image: t.index === -2 ? m[0].index : t.index,source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,@@ -69893,9 +70030,9 @@ function OEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","aria-label": "正在读取样图",className: "relative block h-12 w-20 skeleton-sheen"- }) : /* @__PURE__ */ (0, O.jsx)(q, {+ }) : /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...iB(f.isFetching),+ ...Bz(f.isFetching),title: f.data?.message || Ut(f.error),"aria-label": "立即重试样图",onClick: () => {@@ -69904,7 +70041,7 @@ function OEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, O.jsx)(kEe, {+ t === "offline" ? /* @__PURE__ */ (0, O.jsx)(rDe, {item: e,badge: y,helpers: n,@@ -69915,14 +70052,14 @@ function OEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, O.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, O.jsx)(P2, { id: e.id })+ /* @__PURE__ */ (0, O.jsx)(N2, { id: e.id })]}) : t === "online" ? /* @__PURE__ */ (0, O.jsxs)("div", {id: "onlineGate",role: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, O.jsx)(R2, { html: y }),+ /* @__PURE__ */ (0, O.jsx)(L2, { html: y }),/* @__PURE__ */ (0, O.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, O.jsx)("button", {@@ -69937,12 +70074,12 @@ function OEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, O.jsx)(R2, { html: y }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["点此开始拉流 · ", z2(e.size)] })]+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { html: y }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["点此开始拉流 · ", R2(e.size)] })]}) : null]});}-function kEe({ item: e, badge: t, helpers: n, actions: r }) {+function rDe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -69953,7 +70090,7 @@ function kEe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, O.jsx)(R2, { html: t }),+ /* @__PURE__ */ (0, O.jsx)(L2, { html: t }),/* @__PURE__ */ (0, O.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, O.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, O.jsx)("button", {@@ -69967,8 +70104,8 @@ function kEe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function AEe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Qse(e), a = (0, D.useRef)(null), o = MEe(e, t, r), s = (0, D.useRef)(o);+function iDe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Mse(e), a = (0, D.useRef)(null), o = oDe(e, t, r), s = (0, D.useRef)(o);s.current = o;let c = (0, D.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -69976,7 +70113,7 @@ function AEe({ queue: e, itemId: t, helpers: n, actions: r }) {attribute: "data-queue-row",onMove: (e, t, n) => s.current.move(+e, +t, n)}));- }, [n, e.kind]), l = jEe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {+ }, [n, e.kind]), l = aDe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -69995,7 +70132,7 @@ function AEe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, O.jsx)(tq, {+ return /* @__PURE__ */ (0, O.jsx)(WG, {kind: e.kind,title: i.title,summary: i.summary,@@ -70004,11 +70141,11 @@ function AEe({ queue: e, itemId: t, helpers: n, actions: r }) {listRef: c,children: e.items.map((i) => {let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, O.jsx)("i", {- className: `javedition ${Xse[i.edition_label] || "censored"}`,+ className: `javedition ${Ase[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && MM(i);- return /* @__PURE__ */ (0, O.jsxs)(nq, {+ }) : null, s = e.kind === "playlist" && ZM(i);+ return /* @__PURE__ */ (0, O.jsxs)(GG, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -70018,25 +70155,25 @@ function AEe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(R2, { html: Ja(i, n.javImage()) }), /* @__PURE__ */ (0, O.jsx)("i", {+ pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(L2, { html: Ja(i, n.javImage()) }), /* @__PURE__ */ (0, O.jsx)("i", {className: "mono","data-mix-item-duration": "",children: hn(i.duration)})] }),- lead: /* @__PURE__ */ (0, O.jsx)(R2, { html: Za(i) }),+ lead: /* @__PURE__ */ (0, O.jsx)(L2, { html: Za(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, O.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "grip-vertical" })}), /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, O.jsxs)("span", {@@ -70047,14 +70184,14 @@ function AEe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, O.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? VM(i.part_label) : Qa(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? oN(i.part_label) : Qa(i, n.tagLabel)})]}, i.id);})});}-function jEe(e, t) {- let n = Ct({ mutationFn: (t) => H(SM, {+function aDe(e, t) {+ let n = Ct({ mutationFn: (t) => H(VM, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -70067,11 +70204,11 @@ function jEe(e, t) {save: (e) => n.mutateAsync(e)});}-function MEe(e, t, n) {- let r = xM({+function oDe(e, t, n) {+ let r = BM({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (U.setQueryData(r, jM(e)), e), a = (t) => H(SM, {+ }), i = (e) => (U.setQueryData(r, XM(e)), e), a = (t) => H(VM, {id: e.playlistId,...t}).then((e) => e.playlist), o = Ct({@@ -70087,8 +70224,8 @@ function MEe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = ece(s, t, r, c);- if (tce(l, s)) return;+ let l = Pse(s, t, r, c);+ if (Fse(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -70130,7 +70267,7 @@ function MEe(e, t, n) {}};}-function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-side": "",@@ -70138,7 +70275,7 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, O.jsx)(PEe, {+ /* @__PURE__ */ (0, O.jsx)(cDe, {item: e,queue: t,helpers: r,@@ -70150,7 +70287,7 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, O.jsx)(IEe, {+ /* @__PURE__ */ (0, O.jsx)(uDe, {item: e,write: n}),@@ -70161,7 +70298,7 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "monitor" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "monitor" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.width,"×",e.height@@ -70169,11 +70306,11 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "hard-drive" }), /* @__PURE__ */ (0, O.jsx)("span", { children: z2(e.size) })]+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "hard-drive" }), /* @__PURE__ */ (0, O.jsx)("span", { children: R2(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "calendar" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "calendar" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",@@ -70181,29 +70318,29 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"data-open-region": e.region || "",title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",onClick: () => i.openRegion(e.region || ""),- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "globe" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "globe" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- /* @__PURE__ */ (0, O.jsx)(LEe, {+ /* @__PURE__ */ (0, O.jsx)(dDe, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, O.jsx)(REe, {+ /* @__PURE__ */ (0, O.jsx)(fDe, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, O.jsx)(yq, {- assetIds: vq([e], r.javImage()),+ /* @__PURE__ */ (0, O.jsx)(cK, {+ assetIds: sK([e], r.javImage()),onComplete: () => {- U.invalidateQueries({ queryKey: bM(e.id) });+ U.invalidateQueries({ queryKey: zM(e.id) });}}),- /* @__PURE__ */ (0, O.jsx)(BEe, { item: e }),- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, O.jsx)(P2, { id: e.id }, e.id) : null,+ /* @__PURE__ */ (0, O.jsx)(mDe, { item: e }),+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, O.jsx)(N2, { id: e.id }, e.id) : null,/* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -70217,7 +70354,7 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.liked,...o("like"),onClick: () => n.preference({ liked: !e.liked }),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "thumbs-up" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70229,7 +70366,7 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-controls": "preferencePanel","data-has-reason": String(!!e.like_reason),onClick: () => c((e) => !e),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "notebook-pen" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70240,7 +70377,7 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "thumbs-down" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70251,7 +70388,7 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "eye" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "eye" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70262,7 +70399,7 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70271,7 +70408,7 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "playlist" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "playlist" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70282,7 +70419,7 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "sparkles" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "sparkles" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70293,11 +70430,11 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "trash" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "trash" })})]}),- /* @__PURE__ */ (0, O.jsx)(VEe, {+ /* @__PURE__ */ (0, O.jsx)(hDe, {item: e,open: s,write: n@@ -70308,7 +70445,7 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, O.jsx)(L2, { name: "sperm" }),+ /* @__PURE__ */ (0, O.jsx)(I2, { name: "sperm" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, O.jsx)("b", {className: "mono",@@ -70321,8 +70458,8 @@ function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function PEe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = D2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + $se(e, t);+function cDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = E2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Nse(e, t);return /* @__PURE__ */ (0, O.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, O.jsxs)("div", {@@ -70349,23 +70486,23 @@ function PEe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, O.jsx)(rU, {})+ children: /* @__PURE__ */ (0, O.jsx)(zH, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, O.jsx)(wEe, {+ children: /* @__PURE__ */ (0, O.jsx)(QEe, {code: e.cover_key || e.code || "",coverUrl: Aa(e),box: e.poster_box || null,onSaved: (t) => {U.invalidateQueries({- queryKey: bM(e.id),+ queryKey: zM(e.id),exact: !0- }), gM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), PM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(FEe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(lDe, {id: e.id,actions: r,onStatus: i@@ -70375,7 +70512,7 @@ function PEe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function FEe({ id: e, actions: t, onStatus: n }) {+function lDe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, D.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -70405,18 +70542,18 @@ function FEe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "folder-sync" })})] });}-function IEe({ item: e, write: t }) {- let n = vM(e.rating);+function uDe({ item: e, write: t }) {+ let n = IM(e.rating);return /* @__PURE__ */ (0, O.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": _M(e.rating),- children: [/* @__PURE__ */ (0, O.jsx)(eX, {+ "data-value": FM(e.rating),+ children: [/* @__PURE__ */ (0, O.jsx)(pY, {value: n,onRate: (e) => t.rate(e),busyStar: [@@ -70430,14 +70567,14 @@ function IEe({ item: e, write: t }) {}), /* @__PURE__ */ (0, O.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: Vse(e.rating)+ children: LM(e.rating)})]});}-function LEe({ item: e, actions: t }) {- let n = (0, D.useMemo)(() => Kse(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+function dDe({ item: e, actions: t }) {+ let n = (0, D.useMemo)(() => Ese(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, O.jsx)(T2, {+ return /* @__PURE__ */ (0, O.jsx)(w2, {kind: e,person: n,onOpen: t.openEntity,@@ -70469,19 +70606,19 @@ function LEe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "user-round" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "user-round" })}), /* @__PURE__ */ (0, O.jsx)("span", {"data-id-name": "",children: "未归属"})]})})]- }, "unowned") : s(Fa(e), "performer", n.cast, a && !r ? /* @__PURE__ */ (0, O.jsxs)(q, {+ }, "unowned") : s(Fa(e), "performer", n.cast, a && !r ? /* @__PURE__ */ (0, O.jsxs)(J, {variant: "secondary",size: "small",id: "castMore","data-cast-more": "",- trailingIcon: Dz,+ trailingIcon: lz,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -70500,14 +70637,14 @@ function LEe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, O.jsx)(E2, {+ }) : null, /* @__PURE__ */ (0, O.jsx)(T2, {people: n.series,onOpen: t.openEntity})]});}-function REe({ item: e, write: t, helpers: n, actions: r }) {- let i = qse(e, n);+function fDe({ item: e, write: t, helpers: n, actions: r }) {+ let i = Dse(e, n);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-tags": "",id: "detailTags",@@ -70527,16 +70664,16 @@ function REe({ item: e, write: t, helpers: n, actions: r }) {"aria-label": `删除标签 ${n.tagLabel(e.k)}`,...t.busyAttrs(`tag:${e.k}`),onClick: () => t.removeTag(e),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, O.jsx)(zEe, {+ }, e.k)), /* @__PURE__ */ (0, O.jsx)(pDe, {item: e,write: t,helpers: n})]});}-function zEe({ item: e, write: t, helpers: n }) {+function pDe({ item: e, write: t, helpers: n }) {let r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(!1), [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(-1), h = (0, D.useCallback)(() => {i.current && To(i.current), c(!1);}, []);@@ -70550,7 +70687,7 @@ function zEe({ item: e, write: t, helpers: n }) {clearTimeout(t), document.removeEventListener("pointerdown", e, !0);};}, [s, h]);- let g = s ? Yse(d, n.tagCandidates(), BM()) : {+ let g = s ? kse(d, n.tagCandidates(), aN()) : {recent: [],results: [],create: ""@@ -70573,12 +70710,12 @@ function zEe({ item: e, write: t, helpers: n }) {} else if (n.key === "Enter") {n.preventDefault();let r = p >= 0 ? _[p] : null;- r ? v(r, r.n !== -1 && IM(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));+ r ? v(r, r.n !== -1 && tN(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));}}}, b = -1, x = (t) => {b += 1;- let r = b, i = IM(e, t.k);+ let r = b, i = tN(e, t.k);return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-pick": t.k,@@ -70586,7 +70723,7 @@ function zEe({ item: e, write: t, helpers: n }) {"aria-pressed": i,onClick: () => v(t, i),children: [- /* @__PURE__ */ (0, O.jsx)(L2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, O.jsx)(I2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-pick-name": "",children: n.tagLabel(t.k)@@ -70609,7 +70746,7 @@ function zEe({ item: e, write: t, helpers: n }) {onClick: () => {i.current && (wo(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));},- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "plus" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "plus" })}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: i,id: "tagPicker",@@ -70619,7 +70756,7 @@ function zEe({ item: e, write: t, helpers: n }) {hidden: !0,children: [/* @__PURE__ */ (0, O.jsxs)("label", {"data-tag-search": "",- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "search" }), /* @__PURE__ */ (0, O.jsx)("input", {+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "search" }), /* @__PURE__ */ (0, O.jsx)("input", {ref: a,id: "tagPickSearch",maxLength: 80,@@ -70660,7 +70797,7 @@ function zEe({ item: e, write: t, helpers: n }) {onClick: () => {h(), t.addTag(g.create);},- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "plus" }), /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "plus" }), /* @__PURE__ */ (0, O.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -70675,8 +70812,8 @@ function zEe({ item: e, write: t, helpers: n }) {})]})] });}-function BEe({ item: e }) {- let t = rce(e);+function mDe({ item: e }) {+ let t = Lse(e);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -70710,7 +70847,7 @@ function BEe({ item: e }) {})]});}-function VEe({ item: e, open: t, write: n }) {+function hDe({ item: e, open: t, write: n }) {let [r, i] = (0, D.useState)(e.like_reason || ""), a = (0, D.useRef)(null);(0, D.useEffect)(() => {t && a.current?.focus();@@ -70749,12 +70886,12 @@ function VEe({ item: e, open: t, write: n }) {})]});}-function HEe(e) {+function gDe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = St({- queryKey: Hse(t.id, n),- queryFn: async ({ signal: e }) => (await V(Wse(t.id, n), e)).items || []+ queryKey: Sse(t.id, n),+ queryFn: async ({ signal: e }) => (await V(wse(t.id, n), e)).items || []}), [o] = (0, D.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, O.jsx)(m2, {+ return /* @__PURE__ */ (0, O.jsx)(p2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -70762,7 +70899,7 @@ function HEe(e) {onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, O.jsx)(sX, {+ children: a.data ? /* @__PURE__ */ (0, O.jsx)(bY, {mode: "items",variant: "next",items: a.data,@@ -70775,11 +70912,11 @@ function HEe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, O.jsx)(R2, { html: o })+ }) : /* @__PURE__ */ (0, O.jsx)(L2, { html: o })});}-function UEe(e, t, n) {- let r = e.id, i = bM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {+function _De(e, t, n) {+ let r = e.id, i = zM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => U.getQueryData(i) || e, p = (e) => {@@ -70795,7 +70932,7 @@ function UEe(e, t, n) {rating: t.rating,o_count: t.o_count};- return hM(r, n), t;+ return NM(r, n), t;}, m = (e, t) => H(e, {id: r,...t@@ -70810,7 +70947,7 @@ function UEe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(CM, t === void 0 ? { kind: e } : {+ let n = await m(HM, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -70830,21 +70967,21 @@ function UEe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = yM(n, e);- await _("rate", r), t.toast(r ? `已评 ${vM(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = RM(n, e);+ await _("rate", r), t.toast(r ? `已评 ${IM(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(HM(e, r), { undo: async () => {+ t.toast(sN(e, r), { undo: async () => {e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);}),later: () => g("later", "更新稍后看", async () => {- let e = await m(TM, {});+ let e = await m(WM, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(TM, {})).watch_later });+ p({ watch_later: (await m(WM, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -70854,9 +70991,9 @@ function UEe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(EM, { wanted: !e.wanted });+ }), r = await m(GM, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(EM, e));+ n(await m(GM, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -70870,7 +71007,7 @@ function UEe(e, t, n) {});u("保存中…");try {- o(await m(DM, {+ o(await m(KM, {liked: a,reason: i}));@@ -70880,7 +71017,7 @@ function UEe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(DM, r));+ o(await m(KM, r));} });});},@@ -70889,30 +71026,30 @@ function UEe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => LM(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(wM, {+ p((t) => nN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(UM, {operation: "add",tag: e.k- }), p((t) => RM(t, e));+ }), p((t) => rN(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(wM, {+ let e = await m(UM, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- IM(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => RM(e, {+ tN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => rN(e, {k: i,cat: "general"- })), Jse(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(wM, {+ })), Ose(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(UM, {operation: "remove",tag: i- }), p((e) => LM(e, i));+ }), p((e) => nN(e, i));} }));});}@@ -70920,7 +71057,7 @@ function UEe(e, t, n) {}//#endregion//#region src/react/activity/downloads-panel.tsx-var V2 = "/api/downloads", H2 = ["downloads"], WEe = "/api/downloads/cancel", GEe = "/api/downloads/postprocess", U2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, KEe = {+var B2 = "/api/downloads", V2 = ["downloads"], vDe = "/api/downloads/cancel", yDe = "/api/downloads/postprocess", H2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, bDe = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -70929,21 +71066,21 @@ var V2 = "/api/downloads", H2 = ["downloads"], WEe = "/api/downloads/cancel", GEremote_done: "lime",landed: "lime",submitted: "neutral"-}, W2 = (e) => {- let t = e.display_code || e.code || "", { title: n } = QF({+}, U2 = (e) => {+ let t = e.display_code || e.code || "", { title: n } = sF({is_jav: !!t,code: t,name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name});return [t, n].filter(Boolean).join(" · ") || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`;-}, G2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", qEe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function JEe() {+}, W2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", xDe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function SDe() {let e = (0, D.useId)(), t = wt({- queryKey: [...H2, "pages"],+ queryKey: [...V2, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => V(`${V2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => V(`${B2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,- refetchInterval: (e) => e.state.data?.pages.some((e) => U2(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => H2(e) === 5e3) ? 5e3 : 3e4}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];return !r.length && !t.error ? null : /* @__PURE__ */ (0, O.jsxs)("section", {id: "cloudDownloads",@@ -70955,24 +71092,24 @@ function JEe() {className: "text-title-2-medium text-text-primary",children: "云下载"}),- t.error ? /* @__PURE__ */ (0, O.jsx)($z, {+ t.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: An(t.error)}) : null,r.length ? /* @__PURE__ */ (0, O.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(YEe, {+ children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(CDe, {task: e,writable: n[0]?.available ?? !1}, e.id))}) : null,- t.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(q, {+ t.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: Dz,+ leadingIcon: lz,className: "self-start",- ...iB(t.isFetchingNextPage),+ ...Bz(t.isFetchingNextPage),onClick: () => {t.isFetching || t.fetchNextPage();},@@ -70981,15 +71118,15 @@ function JEe() {]});}-function YEe({ task: e, writable: t }) {- let n = A(), r = JH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = G2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [+function CDe({ task: e, writable: t }) {+ let n = A(), r = AH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = W2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [e.display_code || e.code ? "" : "番号未识别",e.target,- pI(e.submitted_at)+ EF(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: H2 });+ n.invalidateQueries({ queryKey: V2 });}, g = () => {- r.run("cancel", (t) => H(WEe, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => H(vDe, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -70999,16 +71136,16 @@ function YEe({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => H(V2, t, "POST", e), h);+ r.run("resubmit", (e) => H(B2, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => H(GEe, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => H(yDe, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, O.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: XH({+ className: MH({padding: "none",bordered: "line",className: p ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -71019,14 +71156,14 @@ function YEe({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(gA) },+ style: { "--card-ratio": String(mA) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, O.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(SG, {+ u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(dW, {artwork: {kind: "cover",html: Ha(u, "big")@@ -71036,7 +71173,7 @@ function YEe({ task: e, writable: t }) {f ? /* @__PURE__ */ (0, O.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${W2(e)}`,+ "aria-label": `打开作品详情:${U2(e)}`,className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"}) : null]@@ -71047,19 +71184,19 @@ function YEe({ task: e, writable: t }) {className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",children: [/* @__PURE__ */ (0, O.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: W2(e),+ title: U2(e),children: f ? /* @__PURE__ */ (0, O.jsx)("a", {"data-download-title-link": "",href: f,className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",- children: W2(e)- }) : W2(e)+ children: U2(e)+ }) : U2(e)}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(nQ, {- color: KEe[e.state] ?? "neutral",+ children: [/* @__PURE__ */ (0, O.jsx)(hZ, {+ color: bDe[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, O.jsx)(nQ, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, O.jsx)(hZ, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -71069,7 +71206,7 @@ function YEe({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, O.jsx)(VU, {+ children: /* @__PURE__ */ (0, O.jsx)(XH, {source: e.provider,label: e.provider_label})@@ -71096,7 +71233,7 @@ function YEe({ task: e, writable: t }) {children: [d.map((e) => e.name).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)($H, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)(FH, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -71106,12 +71243,12 @@ function YEe({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, O.jsx)(FU, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: r.error }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",children: [- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "ghost",size: "small","aria-expanded": o,@@ -71119,7 +71256,7 @@ function YEe({ task: e, writable: t }) {onClick: () => s(!o),children: o ? "收起标题" : "展开标题"}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "ghost",size: "small",onClick: v,@@ -71128,24 +71265,24 @@ function YEe({ task: e, writable: t }) {t && (e.cancellable || e.resubmittable || e.postprocess_retryable) ? /* @__PURE__ */ (0, O.jsxs)("div", {className: "ml-auto flex flex-wrap items-center gap-2",children: [- e.cancellable ? /* @__PURE__ */ (0, O.jsx)(q, {+ e.cancellable ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...iB(r.busy === "cancel"),+ ...Bz(r.busy === "cancel"),onClick: g,children: "取消"}) : null,- e.resubmittable ? /* @__PURE__ */ (0, O.jsx)(q, {+ e.resubmittable ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...iB(r.busy === "resubmit"),+ ...Bz(r.busy === "resubmit"),onClick: _,children: "重新提交"}) : null,- e.postprocess_retryable ? /* @__PURE__ */ (0, O.jsx)(q, {+ e.postprocess_retryable ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...iB(r.busy === "postprocess"),+ ...Bz(r.busy === "postprocess"),onClick: y,children: "重试入库后整理"}) : null@@ -71160,13 +71297,13 @@ function YEe({ task: e, writable: t }) {id: c,"data-download-title-full": !0,className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",- children: W2(e)+ children: U2(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",children: /* @__PURE__ */ (0, O.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || qEe(e)+ children: l || xDe(e)})}) : null]@@ -71174,21 +71311,21 @@ function YEe({ task: e, writable: t }) {}//#endregion//#region src/react/activity/work-code.ts-var K2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), q2 = (e, t) => !!K2(e) && K2(e) === K2(t);+var G2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), K2 = (e, t) => !!G2(e) && G2(e) === G2(t);//#endregion//#region src/react/activity/resource-search.tsx-function XEe({ className: e }) {+function wDe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: ns("") }});}-function ZEe(e) {+function TDe(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function QEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => ZEe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = JH(), b = (0, D.useRef)(null);+function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => TDe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = AH(), b = (0, D.useRef)(null);(0, D.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -71204,7 +71341,7 @@ function QEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {let e = new AbortController();b.current = e, V(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => q2(e.code, t));+ let r = (n.items || []).find((e) => K2(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -71225,18 +71362,18 @@ function QEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {"aria-busy": !!y.busy,className: "flex min-w-0 flex-col gap-4",children: [- t ? /* @__PURE__ */ (0, O.jsxs)(PU, { children: [+ t ? /* @__PURE__ */ (0, O.jsxs)(UH, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, O.jsx)(Xz, {+ /* @__PURE__ */ (0, O.jsx)(Mz, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? XEe : Vz,+ leadingIcon: y.busy ? wDe : Cz,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -71246,7 +71383,7 @@ function QEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, O.jsx)(IU, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(nW, {+ children: [/* @__PURE__ */ (0, O.jsx)(GH, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(dU, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -71254,15 +71391,15 @@ function QEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, O.jsx)(rW, {+ /* @__PURE__ */ (0, O.jsx)(fU, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, O.jsx)(rW, {+ /* @__PURE__ */ (0, O.jsx)(fU, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, O.jsx)(rW, {+ /* @__PURE__ */ (0, O.jsx)(fU, {id: "uncensored",children: "无码"})@@ -71271,32 +71408,32 @@ function QEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, O.jsx)(Xz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Mz, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, O.jsx)(Xz, {+ }), /* @__PURE__ */ (0, O.jsx)(Mz, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, O.jsx)(PU, {+ y.busy ? /* @__PURE__ */ (0, O.jsx)(UH, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, O.jsx)(FU, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, O.jsx)(PU, {+ y.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, O.jsx)(UH, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(PU, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(UH, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(PU, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(UH, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {@@ -71306,7 +71443,7 @@ function QEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {className: "break-words text-body-2-medium text-text-primary",children: e.name}),- /* @__PURE__ */ (0, O.jsx)(PU, { children: [+ /* @__PURE__ */ (0, O.jsx)(UH, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -71315,7 +71452,7 @@ function QEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e.uncensored ? "无码" : "",e.origins.join("、")].filter(Boolean).join(" · ") }),- /* @__PURE__ */ (0, O.jsx)("div", { children: /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)("div", { children: /* @__PURE__ */ (0, O.jsx)(J, {type: "button",variant: "secondary",onClick: () => {@@ -71331,19 +71468,19 @@ function QEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}//#endregion//#region src/react/activity/cloud-download-dialog.tsx-var $Ee = {+var DDe = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function J2({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, O.jsx)(Zz, {+function q2({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, O.jsx)(Nz, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, O.jsx)(eDe, {+ children: e ? /* @__PURE__ */ (0, O.jsx)(ODe, {prefill: e,close: t,receipt: n,@@ -71351,26 +71488,26 @@ function J2({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function eDe({ prefill: e, close: t, receipt: n, provider: r }) {+function ODe({ prefill: e, close: t, receipt: n, provider: r }) {let i = St({- queryKey: H2,- queryFn: ({ signal: e }) => V(`${V2}?limit=50`, e),- refetchInterval: (e) => U2(e.state.data)+ queryKey: V2,+ queryFn: ({ signal: e }) => V(`${B2}?limit=50`, e),+ refetchInterval: (e) => H2(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, O.jsx)(XI, {+ children: [/* @__PURE__ */ (0, O.jsx)(xI, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {variant: "ghost",iconOnly: !0,- leadingIcon: Az,+ leadingIcon: fz,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, O.jsx)(tDe, {+ return a ? /* @__PURE__ */ (0, O.jsx)(kDe, {header: o,snapshot: a,prefill: e,@@ -71383,14 +71520,14 @@ function eDe({ prefill: e, close: t, receipt: n, provider: r }) {o,/* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",- children: i.error ? /* @__PURE__ */ (0, O.jsx)($z, {+ children: i.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: An(i.error)}) : null}),/* @__PURE__ */ (0, O.jsx)("div", {className: "flex justify-end p-3",- children: /* @__PURE__ */ (0, O.jsx)(q, {+ children: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: t,children: "关闭"@@ -71399,8 +71536,8 @@ function eDe({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function tDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = JH(), C = (0, D.useRef)(null), w = (e) => {+function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = AH(), C = (0, D.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, O.jsxs)("form", {@@ -71416,14 +71553,14 @@ function tDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => H(V2, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: H2 });- let t = $Ee[e.outcome];+ b(""), S.run("submit", (e) => H(B2, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: V2 });+ let t = DDe[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = G2(e.task);+ let n = W2(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -71447,7 +71584,7 @@ function tDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, O.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, O.jsx)(PU, { children: [+ }), _ ? /* @__PURE__ */ (0, O.jsx)(UH, { children: [_.performers,_.studio,_.release_date,@@ -71455,22 +71592,22 @@ function tDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, O.jsx)(QEe, {+ /* @__PURE__ */ (0, O.jsx)(EDe, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- q2(e, _?.code) || (v(q2(e, n.code) ? n : null), f("")), m(e);+ K2(e, _?.code) || (v(K2(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? q2(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? K2(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : q2(t?.code, n.code) ? t : null),+ } : e : K2(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, O.jsx)(Xz, {+ /* @__PURE__ */ (0, O.jsx)(Mz, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -71482,38 +71619,38 @@ function tDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, O.jsx)(IU, { children: "下载到" }),- /* @__PURE__ */ (0, O.jsx)(nW, {+ /* @__PURE__ */ (0, O.jsx)(GH, { children: "下载到" }),+ /* @__PURE__ */ (0, O.jsx)(dU, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(rW, {+ children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, O.jsx)(VU, {+ children: /* @__PURE__ */ (0, O.jsx)(XH, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, O.jsx)(PU, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, O.jsx)(UH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- t.available ? null : /* @__PURE__ */ (0, O.jsx)($z, {+ t.available ? null : /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}),- s.length ? null : /* @__PURE__ */ (0, O.jsxs)($z, {+ s.length ? null : /* @__PURE__ */ (0, O.jsxs)(Fz, {tone: "neutral",children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, O.jsx)("a", {href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",children: "下载渠道设置"})]}),- /* @__PURE__ */ (0, O.jsx)(Xz, {+ /* @__PURE__ */ (0, O.jsx)(Mz, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -71521,29 +71658,29 @@ function tDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, O.jsx)(Xz, {+ n.code ? null : /* @__PURE__ */ (0, O.jsx)(Mz, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), q2(e, _?.code) || v(null);+ m(e), K2(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, O.jsx)(FU, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex justify-between gap-4 p-3",- children: [/* @__PURE__ */ (0, O.jsx)(q, {+ children: [/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: r,children: "取消"- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {type: "submit",disabled: !d.trim() || !x,- ...iB(S.busy === "submit"),+ ...Bz(S.busy === "submit"),children: "提交下载"})]})@@ -71552,11 +71689,11 @@ function tDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}//#endregion//#region src/react/publication-cache.ts-var Y2 = 864e5, X2 = (e) => {+var J2 = 864e5, Y2 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function Z2(e) {+function X2(e) {let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");if (!t) return;let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));@@ -71564,26 +71701,26 @@ function Z2(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function nDe(e, t = Date.now()) {- let n = Z2(e);- return n !== void 0 && X2(t) > n ? Infinity : Y2;+function ADe(e, t = Date.now()) {+ let n = X2(e);+ return n !== void 0 && Y2(t) > n ? Infinity : J2;}-function Q2(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : nDe(t, n) === Infinity ? X2(e) > Z2(t) : n - e < Y2;+function Z2(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : ADe(t, n) === Infinity ? Y2(e) > X2(t) : n - e < J2;}//#endregion//#region src/react/wants/resource-cache.ts-var $2 = "peach.want-resources.v1";-function e4(e) {+var Q2 = "peach.want-resources.v1";+function $2(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function t4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !e4(e) ? Date.now() - t < 6e4 : Q2(t, n));+function e4(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !$2(e) ? Date.now() - t < 6e4 : Z2(t, n));}-function n4() {+function t4() {try {- let e = JSON.parse(localStorage.getItem($2) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && e4(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem(Q2) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && $2(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -71592,23 +71729,23 @@ function n4() {return [];}}-function rDe(e, t) {- let n = n4().find((t) => t.code === e);- return n && Q2(n.saved, t) ? n : void 0;+function jDe(e, t) {+ let n = t4().find((t) => t.code === e);+ return n && Z2(n.saved, t) ? n : void 0;}-function iDe(e) {- let t = new Map(n4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function MDe(e) {+ let t = new Map(t4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;let e = t.get(`all-sources:${r.code}`);- e && Q2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && Z2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}-function aDe(e, t) {- if (t.state === "ready" && e4(t)) try {- let n = n4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem($2, JSON.stringify([{+function NDe(e, t) {+ if (t.state === "ready" && $2(t)) try {+ let n = t4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(Q2, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -71617,16 +71754,16 @@ function aDe(e, t) {}//#endregion//#region src/react/wants/resource-display.ts-function oDe(e) {+function PDe(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? _n(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function sDe(e) {+function FDe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}//#endregion//#region src/react/wants/want-magnets.tsx-function r4({ icon: e, children: t, title: n }) {+function n4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, O.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -71636,8 +71773,8 @@ function r4({ icon: e, children: t, title: n }) {}), t]});}-function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = JH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => rDe(h, e.release_date), [h, e.release_date]);+function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = AH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => jDe(h, e.release_date), [h, e.release_date]);(0, D.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -71657,22 +71794,22 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc],queryFn: async ({ signal: t }) => {let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await V(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", aDe(h, i), i;+ return m.current = n && i.state === "busy", NDe(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});(0, D.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, D.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && kCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && jCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -71680,7 +71817,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc]);let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {- let n = await H(V2, {+ let n = await H(B2, {magnet: r.uri,provider: v.key,target: v.target,@@ -71691,7 +71828,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcif (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");return n;}, (e) => {- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: H2 });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: V2 });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -71706,42 +71843,42 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcchildren: [/* @__PURE__ */ (0, O.jsxs)("h4", {className: "text-body-medium text-text-primary",children: ["资源链接", _.data?.items.length ? ` · ${_.data.items.length}` : ""]- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: Bz,- ...iB(x),+ leadingIcon: Sz,+ ...Bz(x),onClick: () => {x || (m.current = !0, _.refetch());},children: "重新查询"})]}),- x ? /* @__PURE__ */ (0, O.jsx)(ZH, { label: "正在查找资源链接" }) : null,- S ? /* @__PURE__ */ (0, O.jsx)($z, {+ x ? /* @__PURE__ */ (0, O.jsx)(NH, { label: "正在查找资源链接" }) : null,+ S ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",title: "资源链接未取得",children: S}) : null,- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)($z, {+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",- children: sDe(e)+ children: FDe(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(OI, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(JF, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: jz,+ trailingIcon: pz,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",children: "查看来源页"}) : null,- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)($z, {+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",children: "暂未找到资源链接。"}) : null,- f.error ? /* @__PURE__ */ (0, O.jsx)($z, {+ f.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",title: "操作未完成",children: f.error@@ -71756,7 +71893,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(nQ, {+ children: [/* @__PURE__ */ (0, O.jsx)(hZ, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -71770,26 +71907,26 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, O.jsx)(r4, {- icon: sfe,+ /* @__PURE__ */ (0, O.jsx)(n4, {+ icon: wfe,children: e.source}),- /* @__PURE__ */ (0, O.jsx)(r4, {- icon: Fz,+ /* @__PURE__ */ (0, O.jsx)(n4, {+ icon: _z,title: `来源大小:${e.size}`,- children: oDe(e.size)+ children: PDe(e.size)}),- e.files ? /* @__PURE__ */ (0, O.jsx)(r4, {- icon: Qde,+ e.files ? /* @__PURE__ */ (0, O.jsx)(n4, {+ icon: hfe,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, O.jsx)(r4, {- icon: Rde,+ /* @__PURE__ */ (0, O.jsx)(n4, {+ icon: tfe,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, O.jsx)(r4, {- icon: zz,+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, O.jsx)(n4, {+ icon: xz,children: e}, e))]@@ -71798,31 +71935,31 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(OI, {+ /* @__PURE__ */ (0, O.jsx)(JF, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: jz,+ trailingIcon: pz,href: e.source_url,target: "_blank",rel: "noopener noreferrer",children: "链接来源"}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: Xde,- ...iB(f.busy === `copy:${e.id}`),+ leadingIcon: pfe,+ ...Bz(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),- e.protocol === "magnet" ? /* @__PURE__ */ (0, O.jsx)(q, {+ e.protocol === "magnet" ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",size: "small",- leadingIcon: v ? BU(v.key) : Wde,+ leadingIcon: v ? YH(v.key) : sfe,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,- ...iB(f.busy === e.id),+ ...Bz(f.busy === e.id),onClick: () => y(e),children: r ? "已添加" : "添加下载"}) : null@@ -71833,7 +71970,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(LU, {+ }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(KH, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -71846,10 +71983,10 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}//#endregion//#region src/react/jav-detail/review-cache.ts-var a4 = "peach.jav-reviews.v1";-function o4() {+var i4 = "peach.jav-reviews.v1";+function a4() {try {- let e = localStorage.getItem(a4) || "[]";+ let e = localStorage.getItem(i4) || "[]";if (e.length > 2e6) return [];let t = JSON.parse(e);return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];@@ -71857,21 +71994,21 @@ function o4() {return [];}}-function cDe(e, t) {+function IDe(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...o4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(a4, i);+ }, ...a4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(i4, i);} catch {}}-function lDe(e, t) {- let n = o4(), r = [], i = Infinity;+function LDe(e, t) {+ let n = a4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !Q2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !Z2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -71879,17 +72016,17 @@ function lDe(e, t) {saved: i} : void 0;}-function uDe(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Q2(Date.parse(e.checked_at || "") || t, n));+function RDe(e, t, n) {+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Z2(Date.parse(e.checked_at || "") || t, n));}//#endregion//#region src/react/jav-detail/jav-detail-page.tsx-function dDe(e) {+function zDe(e) {let t = (0, D.useRef)(!1), n = St({- queryKey: k2(e.code),+ queryKey: O2(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, A2(e.code, n, r);+ return t.current = !1, k2(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -71899,21 +72036,21 @@ function dDe(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, O.jsx)(fDe, {+ children: n.data ? /* @__PURE__ */ (0, O.jsx)(BDe, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, O.jsx)(s4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(xG, {+ children: [/* @__PURE__ */ (0, O.jsx)(o4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(uW, {message: An(n.error),onRetry: r}) : null]})});}-var s4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var o4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -71922,7 +72059,7 @@ var s4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function fDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, D.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, D.useEffect)(() => {@@ -71942,13 +72079,13 @@ function fDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = JH(), m = () => {- p.run("want", async (e) => d ? (await s1([d], e), null) : (await o1({ code: t.code }, e)).want.id, (t) => {- f(t), U.setQueryData(k2(e), (e) => e && {+ ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = AH(), m = () => {+ p.run("want", async (e) => d ? (await b$([d], e), null) : (await y$({ code: t.code }, e)).want.id, (t) => {+ f(t), U.setQueryData(O2(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), c1(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), x$(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [@@ -71957,24 +72094,24 @@ function fDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-art": "","data-jav-playing": o === -2 ? "" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(s4, { close: n.close }),+ /* @__PURE__ */ (0, O.jsx)(o4, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(hDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(o$, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(UDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(yQ, {item: t,image: o === -1 ? "cover" : String(o)}, o),- /* @__PURE__ */ (0, O.jsx)(g2, {+ /* @__PURE__ */ (0, O.jsx)(h2, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, O.jsx)(o$, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, O.jsx)(yQ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -71988,33 +72125,33 @@ function fDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, O.jsx)(pDe, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(u4, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, O.jsx)(VDe, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(l4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, O.jsx)(l4, {+ children: [/* @__PURE__ */ (0, O.jsx)(c4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, O.jsx)(l4, {+ }), /* @__PURE__ */ (0, O.jsx)(c4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, O.jsx)(mDe, {+ /* @__PURE__ */ (0, O.jsx)(HDe, {item: t,navigate: n.navigate}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, O.jsx)(l4, {+ children: [/* @__PURE__ */ (0, O.jsx)(c4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, O.jsx)(l4, {+ }), /* @__PURE__ */ (0, O.jsx)(c4, {glyph: "clapperboard",label: "导演",value: t.director@@ -72043,11 +72180,11 @@ function fDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-summary": "",children: t.summary}) : null,- t.message ? /* @__PURE__ */ (0, O.jsx)($z, {+ t.message ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...iB(a),+ ...Bz(a),onClick: i,children: "立即重试"}),@@ -72056,24 +72193,24 @@ function fDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, O.jsx)(OI, {+ t.source_url ? /* @__PURE__ */ (0, O.jsx)(JF, {"data-button-link": "",variant: "secondary",- trailingIcon: jz,+ trailingIcon: pz,href: t.source_url,target: "_blank",rel: "noopener noreferrer",children: "作品来源"}) : null,- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",disabled: r,"aria-pressed": !!d,- ...iB(!!p.busy),+ ...Bz(!!p.busy),onClick: m,children: d ? "取消想要" : "想要"}),- /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",onClick: () => u({code: t.code,@@ -72087,16 +72224,16 @@ function fDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})]}),- p.error ? /* @__PURE__ */ (0, O.jsx)($z, {+ p.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, O.jsx)(gDe, {+ /* @__PURE__ */ (0, O.jsx)(WDe, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, O.jsx)(_De, {+ /* @__PURE__ */ (0, O.jsx)(GDe, {item: t,actions: n,readOnly: r@@ -72104,24 +72241,24 @@ function fDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, O.jsx)(J2, {+ /* @__PURE__ */ (0, O.jsx)(q2, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var c4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var s4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: R(e) }-}), l4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, O.jsxs)("span", {+}), c4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: e }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: e }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]}) : null;-function pDe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = D2(e.title), a = e.title === e.code ? "" : e.title;+function VDe({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = E2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, O.jsx)("h1", {@@ -72148,25 +72285,25 @@ function pDe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, O.jsx)(rU, {})+ children: /* @__PURE__ */ (0, O.jsx)(zH, {})})})]});}-function u4({ score: e, review: t = !1 }) {+function l4({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-rating": "","data-jav-rating": "","data-review-rating": t ? "" : void 0,role: "img","aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,- children: [/* @__PURE__ */ (0, O.jsx)(eX, { value: e }), /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(pY, { value: e }), /* @__PURE__ */ (0, O.jsxs)("span", {"data-rating-value": "",children: [e.toFixed(1), " / 5"]})]});}-function mDe({ item: e, navigate: t }) {+function HDe({ item: e, navigate: t }) {let n = (e, n) => t(en(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, O.jsxs)("section", {"data-id-group": t,"data-id-gender": a,@@ -72175,14 +72312,14 @@ function mDe({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, O.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, O.jsx)(T2, {+ children: i.map((r) => /* @__PURE__ */ (0, O.jsx)(w2, {kind: t,person: {...r,id: r.id ?? null},onOpen: n,- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, O.jsx)(s$, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, O.jsx)(bQ, {code: e.code,person: r,detail: !0@@ -72199,7 +72336,7 @@ function mDe({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, O.jsx)(E2, {+ }), /* @__PURE__ */ (0, O.jsx)(T2, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -72208,20 +72345,20 @@ function mDe({ item: e, navigate: t }) {})]});}-function hDe({ src: e }) {+function UDe({ src: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(0);return (0, D.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), Tse(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), cM(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));}, [e, i]), /* @__PURE__ */ (0, O.jsx)("div", {ref: t,"data-jav-video": "",- children: n ? /* @__PURE__ */ (0, O.jsx)($z, {+ children: n ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: () => {r(!1), a((e) => e + 1);@@ -72232,8 +72369,8 @@ function hDe({ src: e }) {}) : null});}-function gDe({ code: e, count: t, released: n }) {- let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => lDe(e, n), [e, n]), s = (0, D.useRef)(!1), c = wt({+function WDe({ code: e, count: t, released: n }) {+ let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => LDe(e, n), [e, n]), s = (0, D.useRef)(!1), c = wt({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -72242,12 +72379,12 @@ function gDe({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => uDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => RDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await _Ee(e, n, t, s.current);- if (cDe(e, i), !i.ok || i.cache_stale) {+ let i = await GEe(e, n, t, s.current);+ if (IDe(e, i), !i.ok || i.cache_stale) {let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);if (t?.ok) return {...t,@@ -72257,7 +72394,7 @@ function gDe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: vEe+ getNextPageParam: KEe});(0, D.useEffect)(() => {c.isFetching || (s.current = !1);@@ -72265,10 +72402,10 @@ function gDe({ code: e, count: t, released: n }) {let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? An(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, O.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, O.jsxs)(LU, {+ children: /* @__PURE__ */ (0, O.jsxs)(KH, {trailing: !0,summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(zde, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(nfe, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -72305,7 +72442,7 @@ function gDe({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, O.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(u4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(l4, {score: Number(e.score),review: !0}) : null,@@ -72317,38 +72454,38 @@ function gDe({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, O.jsx)("p", { children: e.content })]}, e.id)),- d ? /* @__PURE__ */ (0, O.jsx)($z, {+ d ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",- action: /* @__PURE__ */ (0, O.jsx)(q, {+ action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...iB(c.isFetching),+ ...Bz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "立即重试"}),children: d- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)($z, {+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)(Fz, {tone: "neutral",children: "暂无评论"}) : null,- !d && l.length ? /* @__PURE__ */ (0, O.jsx)(q, {+ !d && l.length ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...iB(c.isFetching),+ ...Bz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "刷新评论"}) : null,- c.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(q, {+ c.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...iB(c.isFetchingNextPage),+ ...Bz(c.isFetchingNextPage),onClick: () => {c.isFetchingNextPage || c.fetchNextPage();},children: "更多评论"}) : null,- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)($z, {+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)(Fz, {tone: "neutral",children: ["已显示 ",@@ -72360,21 +72497,21 @@ function gDe({ code: e, count: t, released: n }) {})});}-function _De({ item: e, actions: t, readOnly: n }) {+function GDe({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, D.useState)(!1), a = St({- queryKey: H2,+ queryKey: V2,enabled: r,- queryFn: ({ signal: e }) => V(`${V2}?limit=50`, e)+ queryFn: ({ signal: e }) => V(`${B2}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, O.jsx)(LU, {+ children: /* @__PURE__ */ (0, O.jsx)(KH, {trailing: !0,- summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, O.jsx)(i4, {+ children: s ? /* @__PURE__ */ (0, O.jsx)(r4, {want: {id: 0,code: e.code,@@ -72392,31 +72529,31 @@ function _De({ item: e, actions: t, readOnly: n }) {}//#endregion//#region src/react/stage/stage-player.ts-var d4 = null, f4 = null, p4 = null, m4 = null, h4 = null, g4 = !1, _4 = 0, v4 = null, y4 = () => !1, b4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function vDe(e, t) {- d4 = e, y4 = () => t.isOpen(), v4 = () => t.requestClose(), Woe({+var u4 = null, d4 = null, f4 = null, p4 = null, m4 = null, h4 = !1, g4 = 0, _4 = null, v4 = () => !1, y4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function KDe(e, t) {+ u4 = e, v4 = () => t.isOpen(), _4 = () => t.requestClose(), KA({...e.player,stage: () => document.getElementById("stage")- }), Goe({- inMiniplayer: (e) => f4?.player === e,- kind: (e) => f4?.player === e ? f4.kind : p4?.kind ?? m4?.kind ?? "item",- expand: () => B4(),- toMiniplayer: () => V4()- }), x4 || (x4 = !0, addEventListener("pagehide", () => Kj()));-}-var x4 = !1;-function S4() {- if (!d4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return d4;-}-function C4(e) {- m4 = e;-}-var yDe = () => m4;-function w4(e, t) {- let { kind: n, item: r, media: i = null } = t, a = b4(n, r.id, i?.index ?? null);- if (f4 && f4.key === a) return xDe(e, f4);- f4 && z4();+ }), YA({+ inMiniplayer: (e) => d4?.player === e,+ kind: (e) => d4?.player === e ? d4.kind : f4?.kind ?? p4?.kind ?? "item",+ expand: () => z4(),+ toMiniplayer: () => B4()+ }), b4 || (b4 = !0, addEventListener("pagehide", () => Jj()));+}+var b4 = !1;+function x4() {+ if (!u4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return u4;+}+function S4(e) {+ p4 = e;+}+var qDe = () => p4;+function C4(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = y4(n, r.id, i?.index ?? null);+ if (d4 && d4.key === a) return YDe(e, d4);+ d4 && R4();let o = {player: null,kind: n,@@ -72424,52 +72561,52 @@ function w4(e, t) {mediaIndex: i?.index ?? null,key: a};- p4 = o;+ f4 = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);- let c = rM(s, {+ let c = aM(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- p4 === o && (o.player = e);+ f4 === o && (o.player = e);},- handedOff: (e) => f4?.player === e+ handedOff: (e) => d4?.player === e});return () => {- let e = !!o.player && f4?.player === o.player;- p4 === o && (p4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), Kj());+ let e = !!o.player && d4?.player === o.player;+ f4 === o && (f4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), Jj());};}-async function bDe(e, t, n) {+async function JDe(e, t, n) {let r = await z(`/api/item?id=${e.id}`, { signal: n });if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await S4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(S4().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await x4().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(x4().player.offlineReason(String(r.root_id || r.location || "")));let a = {kind: "item",item: r,title: String(r.title || r.name || ""),sub: String(r.performers?.[0] || r.creator || "未归属")};- C4(a);- let o = w4(t, {+ S4(a);+ let o = C4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && m4 === a && E4(!0), o(), m4 === a && C4(null));+ s || (s = !0, e && p4 === a && T4(!0), o(), p4 === a && S4(null));};}-function xDe(e, t) {+function YDe(e, t) {let { player: n } = t;- L4(t), f4 = null, R4(), n.el().classList.remove("vjs-peach-mini"), tM(e), e.append(n.el()), ej(n);+ I4(t), d4 = null, L4(), n.el().classList.remove("vjs-peach-mini"), rM(e), e.append(n.el()), nj(n);let r = {player: n,kind: t.kind,@@ -72477,23 +72614,23 @@ function xDe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- p4 = r;- let i = nM(n, e);- return tj(n), () => {- p4 === r && (p4 = null), i(), f4?.player !== n && ($A() === n && ej(null), Lj(n), Kj());+ f4 = r;+ let i = iM(n, e);+ return rj(n), () => {+ f4 === r && (f4 = null), i(), d4?.player !== n && (tj() === n && nj(null), zj(n), Jj());};}-var T4 = () => {- let e = p4?.player;+var w4 = () => {+ let e = f4?.player;return e && !e.isDisposed() ? e : null;};-function E4(e) {- let t = g4;- g4 = !1, f4?.pending && z4();- let n = p4, r = n?.player, i = m4;- if (!n || !r || r.isDisposed() || !i || !h4) return;- let a = S4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && TDe({+function T4(e) {+ let t = h4;+ h4 = !1, d4?.pending && R4();+ let n = f4, r = n?.player, i = p4;+ if (!n || !r || r.isDisposed() || !i || !m4) return;+ let a = x4().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && $De({player: r,kind: n.kind,item: n.item,@@ -72501,46 +72638,46 @@ function E4(e) {key: n.key}, i);}-function D4(e, t) {- g4 = !1, f4 && (f4.kind === e && f4.item.id === t ? (f4.pending = !0, R4()) : z4());+function E4(e, t) {+ h4 = !1, d4 && (d4.kind === e && d4.item.id === t ? (d4.pending = !0, L4()) : R4());}-function O4(e) {- h4 = e, h4 && F4();+function D4(e) {+ m4 = e, m4 && P4();}-var k4 = () => !!f4 && !f4.pending && !f4.player.isDisposed();-function SDe() {- return k4() ? h4?.frame.querySelector("video") ?? null : null;+var O4 = () => !!d4 && !d4.pending && !d4.player.isDisposed();+function XDe() {+ return O4() ? m4?.frame.querySelector("video") ?? null : null;}-function CDe() {- return y4() ? document.getElementById("stage")?.querySelector("video") ?? null : T4()?.el().querySelector("video") ?? SDe();+function ZDe() {+ return v4() ? document.getElementById("stage")?.querySelector("video") ?? null : w4()?.el().querySelector("video") ?? XDe();}-function A4(e) {- h4 && (h4.title.textContent = e.title || "", h4.sub.textContent = e.sub || "", h4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function k4(e) {+ m4 && (m4.title.textContent = e.title || "", m4.sub.textContent = e.sub || "", m4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function j4(e = f4?.item) {- if (!h4) return;- let t = h4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- h4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function A4(e = d4?.item) {+ if (!m4) return;+ let t = m4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ m4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function M4() {- let e = f4?.player;- if (!e || e.isDisposed() || !h4) return;+function j4() {+ let e = d4?.player;+ if (!e || e.isDisposed() || !m4) return;let t = e.paused();- h4.play.setAttribute("aria-label", t ? "播放" : "暂停"), h4.play.querySelector("[data-icon-swap]") || (h4.play.innerHTML = cs("player-pause", "player-play", t ? "b" : "a")), ls(h4.play, t ? "b" : "a");+ m4.play.setAttribute("aria-label", t ? "播放" : "暂停"), m4.play.querySelector("[data-icon-swap]") || (m4.play.innerHTML = cs("player-pause", "player-play", t ? "b" : "a")), ls(m4.play, t ? "b" : "a");}-function N4() {- let e = f4?.player;- if (!e || e.isDisposed() || !h4) return;- let t = mn(f4?.item.duration) || mn(e.duration());- h4.time.textContent = `${gn(e.currentTime())} / ${t ? gn(t) : "0:00"}`;-}-var P4 = () => Math.max(1, Number(S4().player.settings().seekSeconds) || 10);-function F4() {- if (!h4 || !d4) return;- let e = P4();- for (let [t, n] of [[h4.back, `后退 ${e} 秒`], [h4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;-}-function I4(e) {+function M4() {+ let e = d4?.player;+ if (!e || e.isDisposed() || !m4) return;+ let t = mn(d4?.item.duration) || mn(e.duration());+ m4.time.textContent = `${gn(e.currentTime())} / ${t ? gn(t) : "0:00"}`;+}+var N4 = () => Math.max(1, Number(x4().player.settings().seekSeconds) || 10);+function P4() {+ if (!m4 || !u4) return;+ let e = N4();+ for (let [t, n] of [[m4.back, `后退 ${e} 秒`], [m4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function F4(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -72552,17 +72689,17 @@ function I4(e) {"play","pause","ended"- ], M4), t([+ ], j4), t(["timeupdate","durationchange","loadedmetadata"- ], N4), t("loadedmetadata", () => j4()), M4(), N4(), j4(), F4();+ ], M4), t("loadedmetadata", () => A4()), j4(), M4(), A4(), P4();}-function L4(e) {+function I4(e) {e.off.forEach((e) => e()), e.off = [];}-function wDe() {- let e = h4?.root;+function QDe() {+ let e = m4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -72570,8 +72707,8 @@ function wDe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function R4() {- let e = h4?.root;+function L4() {+ let e = m4?.root;if (e) {e.hidden = !0;for (let t of [@@ -72582,73 +72719,73 @@ function R4() {e.style.transform = "";}}-function TDe(e, t) {- if (!h4) return;+function $De(e, t) {+ if (!m4) return;let n = {...e,meta: t,off: [],pending: !1};- f4 = n, _4++, e.player.el().classList.add("vjs-peach-mini"), h4.frame.prepend(e.player.el()), A4(t), I4(n), wDe(), tj(e.player);+ d4 = n, g4++, e.player.el().classList.add("vjs-peach-mini"), m4.frame.prepend(e.player.el()), k4(t), F4(n), QDe(), rj(e.player);}-function z4() {- let e = f4;- e && L4(e), f4 = null, _4++;+function R4() {+ let e = d4;+ e && I4(e), d4 = null, g4++;let t = e?.player ?? null;- t && $A() === t && ej(null), Lj(t), t && Kj(), h4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), ZA(), R4();+ t && tj() === t && nj(null), zj(t), t && Jj(), m4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), $A(), L4();}-function B4() {- if (!k4() || !f4) return;- let { kind: e, item: t, mediaIndex: n } = f4;- S4().expand(e, t.id, n);+function z4() {+ if (!O4() || !d4) return;+ let { kind: e, item: t, mediaIndex: n } = d4;+ x4().expand(e, t.id, n);}-function V4() {- k4() && !y4() ? B4() : y4() && T4() && v4 && (g4 = !0, v4());+function B4() {+ O4() && !v4() ? z4() : v4() && w4() && _4 && (h4 = !0, _4());}-function EDe() {- let e = f4?.player;+function eOe() {+ let e = d4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function H4(e) {- let t = f4?.player;+function V4(e) {+ let t = d4?.player;if (!t || t.isDisposed()) return;- let n = mn(t.duration()) || mn(f4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + P4() * e);+ let n = mn(t.duration()) || mn(d4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + N4() * e);t.currentTime(n ? Math.min(n, r) : r);}-function U4(e) {- return !(!k4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || S4().sourceOffline(String(e.root_id || e.location || "")));-}-async function DDe(e) {- if (!k4() || !f4 || !h4) return;- let t = ++_4, n = await z(`/api/item?id=${e}`).catch(() => null);- if (t !== _4 || !k4() || !f4 || !h4 || !n || n.error) return;- if (!U4(n)) {- S4().openItem(e);+function H4(e) {+ return !(!O4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || x4().sourceOffline(String(e.root_id || e.location || "")));+}+async function tOe(e) {+ if (!O4() || !d4 || !m4) return;+ let t = ++g4, n = await z(`/api/item?id=${e}`).catch(() => null);+ if (t !== g4 || !O4() || !d4 || !m4 || !n || n.error) return;+ if (!H4(n)) {+ x4().openItem(e);return;}- let r = f4;- L4(r), $A() === r.player && ej(null), Lj(r.player), Kj(), h4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = d4;+ I4(r), tj() === r.player && nj(null), zj(r.player), Jj(), m4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", h4.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", m4.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- A4(a), rM(i, {+ k4(a), aM(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== _4) {- r && $A() === r && ej(null), Lj(r);+ if (t !== g4) {+ r && tj() === r && nj(null), zj(r);return;}if (!r) {- z4(), S4().openItem(e);+ R4(), x4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -72657,26 +72794,26 @@ async function DDe(e) {kind: "item",item: n,mediaIndex: null,- key: b4("item", n.id, null),+ key: y4("item", n.id, null),meta: a,off: [],pending: !1};- f4 = i, I4(i);+ d4 = i, F4(i);}- }), j4(n);+ }), A4(n);}//#endregion//#region src/react/stage/miniplayer.tsx-var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {+var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })-}), ODe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, G4 = (e) => (t) => {+}), nOe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, W4 = (e) => (t) => {t.stopPropagation(), e();-}, kDe = (0, D.memo)(function() {+}, rOe = (0, D.memo)(function() {let e = (0, D.useRef)(null), t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null);- return (0, D.useLayoutEffect)(() => (O4({+ return (0, D.useLayoutEffect)(() => (D4({root: e.current,frame: n.current,play: r.current,@@ -72686,7 +72823,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => O4(null)), []), (0, D.useEffect)(() => jDe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {+ }), () => D4(null)), []), (0, D.useEffect)(() => aOe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -72710,24 +72847,24 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: G4(B4),- children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "maximize-2" })+ onClick: W4(z4),+ children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "maximize-2" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: G4(z4),- children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "x" })+ onClick: W4(R4),+ children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "x" })}),/* @__PURE__ */ (0, O.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: G4(() => H4(-1)),- children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "rotate-ccw" })+ onClick: W4(() => V4(-1)),+ children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, O.jsx)("button", {ref: r,@@ -72736,16 +72873,16 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: G4(EDe),- dangerouslySetInnerHTML: ODe+ onClick: W4(eOe),+ dangerouslySetInnerHTML: nOe}),/* @__PURE__ */ (0, O.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: G4(() => H4(1)),- children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "rotate-cw" })+ onClick: W4(() => V4(1)),+ children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "rotate-cw" })}),/* @__PURE__ */ (0, O.jsx)("span", {ref: i,@@ -72762,7 +72899,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => B4(),+ onClick: () => z4(),children: [/* @__PURE__ */ (0, O.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -72776,7 +72913,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {})});});-function ADe(e, t, n) {+function iOe(e, t, n) {let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {left: r.left - t,top: r.top - n@@ -72798,7 +72935,7 @@ function ADe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function jDe(e, t) {+function aOe(e, t) {let n = null, r = (e) => {if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {n = {@@ -72824,7 +72961,7 @@ function jDe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), ADe(e, i.dx, i.dy));+ }, 0), iOe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -72836,49 +72973,49 @@ function jDe(e, t) {}//#endregion//#region src/react/stage/stage.tsx-var K4 = null, q4 = null, J4 = /* @__PURE__ */ new Set(), Y4 = 0, X4 = null, Z4 = !1, Q4 = !1, $4 = () => {+var G4 = null, K4 = null, q4 = /* @__PURE__ */ new Set(), J4 = 0, Y4 = null, X4 = !1, Z4 = !1, Q4 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function e3() {- if (!K4) throw Error("舞台还没有接上宿主(configureStage)");- return K4;+function $4() {+ if (!G4) throw Error("舞台还没有接上宿主(configureStage)");+ return G4;}-function MDe(e) {- return J4.add(e), () => {- J4.delete(e);+function oOe(e) {+ return q4.add(e), () => {+ q4.delete(e);};}-function NDe() {- for (let e of [...J4]) e();+function sOe() {+ for (let e of [...q4]) e();}-function t3() {- (0, Tt.flushSync)(NDe);+function e3() {+ (0, Tt.flushSync)(sOe);}-function PDe({ view: e }) {- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(FDe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(kDe, {})] });+function cOe({ view: e }) {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(lOe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(rOe, {})] });}-var n3 = () => /* @__PURE__ */ (0, O.jsx)("div", {+var t3 = () => /* @__PURE__ */ (0, O.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: PTe() }+ dangerouslySetInnerHTML: { __html: cEe() }});-function r3(e) {+function n3(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}-function FDe({ view: e }) {+function lOe({ view: e }) {let t = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), i3());+ t.target === e && (t.preventDefault(), r3());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(EEe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(dDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(sEe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(eDe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(zDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(FEe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, O.jsxs)("dialog", {ref: t,id: "stage",@@ -72886,27 +73023,27 @@ function FDe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), i3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), r3());},onPointerDown: (e) => {- Q4 = r3(e);+ Z4 = n3(e);},onClick: (e) => {- Q4 && r3(e) && i3();+ Z4 && n3(e) && r3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, O.jsx)(n3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, O.jsx)(t3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(n3, {})+ children: /* @__PURE__ */ (0, O.jsx)(t3, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-scroll": "",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(tT, {- getContainer: () => $0(t.current),+ children: /* @__PURE__ */ (0, O.jsx)(CT, {+ getContainer: () => Q0(t.current),children: i})})@@ -72914,14 +73051,14 @@ function FDe({ view: e }) {]});}-function i3() {- q4 && !Z4 && (Z4 = !0, q4.request.actions.close());+function r3() {+ K4 && !X4 && (X4 = !0, K4.request.actions.close());}-function a3(e, t) {- let n = $4();+function i3(e, t) {+ let n = Q4();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function o3(e) {+function a3(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -72929,30 +73066,30 @@ function o3(e) {readOnly: e.readOnly,actions: {...e.actions,- close: i3+ close: r3}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => e3().player.settings(), i = () => q4?.request === e;+ }, r = () => $4().player.settings(), i = () => K4?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: i3,+ close: r3,present: (e, t) => {let n = e.performers;- C4({+ S4({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), a3(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), i3(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => w4(e, {+ mountPlayer: (e, t, r, i) => C4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -72970,18 +73107,18 @@ function o3(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: i3,+ close: r3,present: (e, t) => {- C4({+ S4({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), a3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), i3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => w4(e, {+ mountPlayer: (e, t, r, i) => C4(e, {kind: "follow",item: t,media: r,@@ -72998,101 +73135,101 @@ function o3(e) {}};}-function IDe(e, t) {+function uOe(e, t) {let n = e.querySelector(":scope > [data-stage-fade]");e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");let r = 0, i = () => {- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), q4?.generation === t && q4.phase === "reveal" && (q4 = {- ...q4,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), K4?.generation === t && K4.phase === "reveal" && (K4 = {+ ...K4,phase: "content"- }, t3());+ }, e3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function s3(e) {- let t = $4();- return !q4 || q4.content.kind !== e || Z4 || !t?.open || t.hasAttribute("data-closing") ? null : t;+function o3(e) {+ let t = Q4();+ return !K4 || K4.content.kind !== e || X4 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function LDe(e) {- let t = s3(e.kind);+async function dOe(e) {+ let t = o3(e.kind);if (t) {- await zDe(e, t);+ await pOe(e, t);return;}- q4 && c3({ miniplayer: !1 });- let n = ++Y4, r = new AbortController();- X4 = r, Z4 = !1, Q4 = !1, e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN);- let i = o3(e);- q4 = {+ K4 && s3({ miniplayer: !1 });+ let n = ++J4, r = new AbortController();+ Y4 = r, X4 = !1, Z4 = !1, e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN);+ let i = a3(e);+ K4 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? FM(i.props, r.signal) : i.kind === "jav" ? j2(i.props, r.signal) : i2(i.props, r.signal);- if (n !== Y4 || q4?.request !== e) {+ let a = i.kind === "item" ? eN(i.props, r.signal) : i.kind === "jav" ? A2(i.props, r.signal) : r2(i.props, r.signal);+ if (n !== J4 || K4?.request !== e) {await a.catch(() => {});return;}- let o = RDe(i);- q4 = {- ...q4,+ let o = fOe(i);+ K4 = {+ ...K4,phase: o ? "content" : "skeleton"- }, t3();- let s = $4();+ }, e3();+ let s = Q4();if (!s) {await a.catch(() => {});return;}- o || Ts(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), e2(s);+ o || Ts(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), $0(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== Y4 || !q4 || o) return;+ if (n !== J4 || !K4 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- q4 = {- ...q4,+ K4 = {+ ...K4,phase: c ? "content" : "reveal"- }, t3(), c || IDe(s, n), hs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, e3(), c || uOe(s, n), hs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();}-function RDe(e) {- if (e.kind === "jav") return !!U.getQueryData(k2(e.props.code));- if (e.kind === "follow") return !!U.getQueryData(t2(e.props.id));- let { queue: t, id: n } = e.props, r = t ? U.getQueryData(xM(t)) : null;+function fOe(e) {+ if (e.kind === "jav") return !!U.getQueryData(O2(e.props.code));+ if (e.kind === "follow") return !!U.getQueryData(e2(e.props.id));+ let { queue: t, id: n } = e.props, r = t ? U.getQueryData(BM(t)) : null;if (t && !r) return !1;- let i = r ? NM(r, n) : n;- return i != null && !!U.getQueryData(bM(i));+ let i = r ? QM(r, n) : n;+ return i != null && !!U.getQueryData(zM(i));}-async function zDe(e, t) {- let n = ++Y4;- X4?.abort();+async function pOe(e, t) {+ let n = ++J4;+ Y4?.abort();let r = new AbortController();- X4 = r, Q4 = !1;- let i = o3(e);+ Y4 = r, Z4 = !1;+ let i = a3(e);try {- i.kind === "item" ? await FM(i.props, r.signal) : i.kind === "jav" ? await j2(i.props, r.signal) : await i2(i.props, r.signal);+ i.kind === "item" ? await eN(i.props, r.signal) : i.kind === "jav" ? await A2(i.props, r.signal) : await r2(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== Y4 || !q4 || s3(e.kind) !== t) return;- e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN), cl(t), ZA(), q4 = {- ...q4,+ if (n !== J4 || !K4 || o3(e.kind) !== t) return;+ e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN), cl(t), $A(), K4 = {+ ...K4,request: e,content: i,phase: "content"- }, t3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), hs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, e3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), hs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");let a = document.activeElement;(a === t || !t.contains(a)) && (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });}-function BDe() {- e2(null);- let e = $4();+function mOe() {+ $0(null);+ let e = Q4();return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {let n = 0, r = () => {clearTimeout(n), e.removeEventListener("animationend", i), t();@@ -73102,85 +73239,85 @@ function BDe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function c3({ miniplayer: e = !0 } = {}) {- if (Y4++, X4?.abort(), X4 = null, E4(e), !q4) return;- let t = $4();- t && cl(t), ZA(), e2(null), t?.open && t.close(), q4 = null, Z4 = !1, Q4 = !1, t3(), C4(null), document.body.removeAttribute("data-detail-open");+function s3({ miniplayer: e = !0 } = {}) {+ if (J4++, Y4?.abort(), Y4 = null, T4(e), !K4) return;+ let t = Q4();+ t && cl(t), $A(), $0(null), t?.open && t.close(), K4 = null, X4 = !1, Z4 = !1, e3(), S4(null), document.body.removeAttribute("data-detail-open");}-function VDe(e) {- q4 && (q4 = {- ...q4,- content: q4.content.kind === "item" ? {+function hOe(e) {+ K4 && (K4 = {+ ...K4,+ content: K4.content.kind === "item" ? {kind: "item",props: {- ...q4.content.props,+ ...K4.content.props,...e}- } : q4.content.kind === "jav" ? q4.content : {+ } : K4.content.kind === "jav" ? K4.content : {kind: "follow",props: {- ...q4.content.props,+ ...K4.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, t3());+ }, e3());}-function HDe() {- let e = yDe(), t = e?.kind === "item" ? e.item : null, n = t ? Ya(t, e3().player.settings().javImage) : "";+function gOe() {+ let e = qDe(), t = e?.kind === "item" ? e.item : null, n = t ? Ya(t, $4().player.settings().javImage) : "";if (!n) return;- let r = T4();+ let r = w4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var UDe = {- open: LDe,- update: VDe,- exit: BDe,- dispose: c3,- requestClose: i3,- repaintPoster: HDe,- isOpen: () => !!q4,- showing: () => q4 && s3(q4.content.kind) ? q4.content.kind : null,- activeVideo: () => CDe(),- mountWallPlayer: bDe,+var _Oe = {+ open: dOe,+ update: hOe,+ exit: mOe,+ dispose: s3,+ requestClose: r3,+ repaintPoster: gOe,+ isOpen: () => !!K4,+ showing: () => K4 && o3(K4.content.kind) ? K4.content.kind : null,+ activeVideo: () => ZDe(),+ mountWallPlayer: JDe,toggleTheater: () => {- q4 && wj(!e3().player.settings().theaterMode);+ K4 && Ej(!$4().player.settings().theaterMode);},- toggleMiniplayer: () => V4(),- closeMiniplayer: () => z4(),- miniplayerActive: () => k4(),- miniplayerTakesCard: (e) => U4(e),+ toggleMiniplayer: () => B4(),+ closeMiniplayer: () => R4(),+ miniplayerActive: () => O4(),+ miniplayerTakesCard: (e) => H4(e),miniplayerPlay: (e) => {- DDe(e);+ tOe(e);}};-function WDe(e) {- return K4 = e, vDe(e, {- isOpen: () => !!q4,- requestClose: i3- }), UDe;+function vOe(e) {+ return G4 = e, KDe(e, {+ isOpen: () => !!K4,+ requestClose: r3+ }), _Oe;}-function GDe() {- let e = (0, D.useSyncExternalStore)(MDe, () => q4);- return K4 ? /* @__PURE__ */ (0, O.jsx)(PDe, { view: e }) : null;+function yOe() {+ let e = (0, D.useSyncExternalStore)(oOe, () => K4);+ return G4 ? /* @__PURE__ */ (0, O.jsx)(cOe, { view: e }) : null;}//#endregion//#region src/react/stats/stats.ts-var KDe = "/api/stats", l3 = ["stats"], u3 = (e) => V(KDe, e);-async function qDe(e) {+var bOe = "/api/stats", c3 = ["stats"], l3 = (e) => V(bOe, e);+async function xOe(e) {await U.fetchQuery({- queryKey: l3,- queryFn: () => u3(e)+ queryKey: c3,+ queryFn: () => l3(e)});}-var d3 = (e) => e != null && Number.isFinite(e), JDe = (e) => d3(e) ? e.toLocaleString() : "未取得", YDe = (e, t) => d3(e) && d3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, XDe = (e, t) => {- let n = YDe(e, t);- return !n && d3(e) && e > 0 && d3(t) && t > 0 ? "<1%" : `${n}%`;-}, f3 = (e) => {- if (!d3(e)) return "未取得";+var u3 = (e) => e != null && Number.isFinite(e), SOe = (e) => u3(e) ? e.toLocaleString() : "未取得", COe = (e, t) => u3(e) && u3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, wOe = (e, t) => {+ let n = COe(e, t);+ return !n && u3(e) && e > 0 && u3(t) && t > 0 ? "<1%" : `${n}%`;+}, d3 = (e) => {+ if (!u3(e)) return "未取得";let t = Math.max(0, e);return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;-}, p3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, m3 = (e) => (e.max_reached || 0) * 100, ZDe = (e) => e.kind === "online" ? "在线直接观看" : p3(e) < m3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", QDe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function $De(e, t = 6) {+}, f3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, p3 = (e) => (e.max_reached || 0) * 100, TOe = (e) => e.kind === "online" ? "在线直接观看" : f3(e) < p3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", EOe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function DOe(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);@@ -73190,7 +73327,7 @@ function $De(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var eOe = (e) => Math.max(1, ...e) * 1.1, tOe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, nOe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), rOe = {+var OOe = (e) => Math.max(1, ...e) * 1.1, kOe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, AOe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), jOe = {video: "视频",image: "图片",illustration: "插画",@@ -73198,18 +73335,18 @@ var eOe = (e) => Math.max(1, ...e) * 1.1, tOe = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, iOe = (e) => e.map((e) => ({- name: rOe[e.k] ?? e.k,+}, MOe = (e) => e.map((e) => ({+ name: jOe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), aOe = {+})).sort((e, t) => t.value - e.value), NOe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, h3 = (e, t = {}) => e.map((e) => ({+}, m3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), oOe = (e) => h3(e, aOe), sOe = [+})), POe = (e) => m3(e, NOe), FOe = [[1,1,@@ -73245,13 +73382,13 @@ var eOe = (e) => Math.max(1, ...e) * 1.1, tOe = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], cOe = (e) => sOe.map(([t, n, r]) => ({+], IOe = (e) => FOe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));//#endregion//#region node_modules/d3-array/src/max.js-function g3(e, t) {+function h3(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);else {@@ -73262,7 +73399,7 @@ function g3(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function _3(e, t) {+function g3(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);else {@@ -73273,7 +73410,7 @@ function _3(e, t) {}//#endregion//#region node_modules/d3-array/src/sum.js-function v3(e, t) {+function _3(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -73284,66 +73421,66 @@ function v3(e, t) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function lOe(e, t) {+function LOe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion//#region node_modules/d3-sankey/src/constant.js-function y3(e) {+function v3(e) {return function() {return e;};}//#endregion//#region node_modules/d3-sankey/src/sankey.js+function y3(e, t) {+ return x3(e.source, t.source) || e.index - t.index;+}function b3(e, t) {- return S3(e.source, t.source) || e.index - t.index;+ return x3(e.target, t.target) || e.index - t.index;}function x3(e, t) {- return S3(e.target, t.target) || e.index - t.index;-}-function S3(e, t) {return e.y0 - t.y0;}-function C3(e) {+function S3(e) {return e.value;}-function uOe(e) {+function ROe(e) {return e.index;}-function dOe(e) {+function zOe(e) {return e.nodes;}-function fOe(e) {+function BOe(e) {return e.links;}-function w3(e, t) {+function C3(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function T3({ nodes: e }) {+function w3({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function pOe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = uOe, c = lOe, l, u, d = dOe, f = fOe, p = 6;+function VOe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = ROe, c = LOe, l, u, d = zOe, f = BOe, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), T3(e), e;+ return h(e), g(e), _(e), v(e), x(e), w3(e), e;}m.update = function(e) {- return T3(e), e;+ return w3(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : y3(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : v3(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : y3(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : v3(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -73351,9 +73488,9 @@ function pOe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : y3(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : v3(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : y3(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : v3(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -73369,12 +73506,12 @@ function pOe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = w3(n, t)), typeof i != "object" && (i = r.target = w3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = C3(n, t)), typeof i != "object" && (i = r.target = C3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}function g({ nodes: e }) {- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(v3(t.sourceLinks, C3), v3(t.targetLinks, C3)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(_3(t.sourceLinks, S3), _3(t.targetLinks, S3)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -73399,7 +73536,7 @@ function pOe() {}}function y({ nodes: t }) {- let r = g3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = h3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);for (let n of t) {let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];@@ -73408,7 +73545,7 @@ function pOe() {return o;}function b(e) {- let n = _3(e, (e) => (r - t - (e.length - 1) * o) / v3(e, C3));+ let n = g3(e, (e) => (r - t - (e.length - 1) * o) / _3(e, S3));for (let i of e) {let e = t;for (let t of i) {@@ -73425,7 +73562,7 @@ function pOe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (g3(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (h3(n, (e) => e.length) - 1)), b(n);for (let e = 0; e < p; ++e) {let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);C(n, t, r), S(n, t, r);@@ -73444,7 +73581,7 @@ function pOe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(S3), w(i, n);+ l === void 0 && i.sort(x3), w(i, n);}}function C(e, t, n) {@@ -73460,7 +73597,7 @@ function pOe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(S3), w(i, n);+ l === void 0 && i.sort(x3), w(i, n);}}function w(e, n) {@@ -73481,12 +73618,12 @@ function pOe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(x3);- for (let { target: { targetLinks: t } } of e) t.sort(b3);+ for (let { source: { sourceLinks: e } } of t) e.sort(b3);+ for (let { target: { targetLinks: t } } of e) t.sort(y3);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(x3), n.sort(b3);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(b3), n.sort(y3);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -73516,15 +73653,15 @@ function pOe() {}//#endregion//#region node_modules/d3-path/src/path.js-var E3 = Math.PI, D3 = 2 * E3, O3 = 1e-6, mOe = D3 - O3;-function k3() {+var T3 = Math.PI, E3 = 2 * T3, D3 = 1e-6, HOe = E3 - D3;+function O3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function A3() {- return new k3();+function k3() {+ return new O3();}-k3.prototype = A3.prototype = {- constructor: k3,+O3.prototype = k3.prototype = {+ constructor: O3,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -73545,11 +73682,11 @@ k3.prototype = A3.prototype = {var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (i < 0) throw Error("negative radius: " + i);if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);- else if (d > O3) {- if (!(Math.abs(u * s - c * l) > O3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > D3) {+ if (!(Math.abs(u * s - c * l) > D3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((E3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > O3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((T3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > D3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}},@@ -73557,7 +73694,7 @@ k3.prototype = A3.prototype = {e = +e, t = +t, n = +n, a = !!a;var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;if (n < 0) throw Error("negative radius: " + n);- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > O3 || Math.abs(this._y1 - l) > O3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % D3 + D3), d > mOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > O3 && (this._ += "A" + n + "," + n + ",0," + +(d >= E3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > D3 || Math.abs(this._y1 - l) > D3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % E3 + E3), d > HOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > D3 && (this._ += "A" + n + "," + n + ",0," + +(d >= T3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));},rect: function(e, t, n, r) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";@@ -73568,98 +73705,98 @@ k3.prototype = A3.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function j3(e) {+function A3(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function hOe(e) {+function UOe(e) {return e[0];}-function gOe(e) {+function WOe(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var _Oe = Array.prototype.slice;+var GOe = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function vOe(e) {+function KOe(e) {return e.source;}-function yOe(e) {+function qOe(e) {return e.target;}-function bOe(e) {- var t = vOe, n = yOe, r = hOe, i = gOe, a = null;+function JOe(e) {+ var t = KOe, n = qOe, r = UOe, i = WOe, a = null;function o() {- var o, s = _Oe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = A3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = GOe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = k3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : j3(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : A3(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : j3(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : A3(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function xOe(e, t, n, r, i) {+function YOe(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function SOe() {- return bOe(xOe);+function XOe() {+ return JOe(YOe);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function COe(e) {+function ZOe(e) {return [e.source.x1, e.y0];}-function wOe(e) {+function QOe(e) {return [e.target.x0, e.y1];}-function TOe() {- return SOe().source(COe).target(wOe);+function $Oe() {+ return XOe().source(ZOe).target(QOe);}//#endregion//#region src/react/taste/taste.ts-var EOe = "/api/taste", M3 = "/api/taste/refresh", DOe = "/api/taste/import", N3 = "/api/taste/source", P3 = (e) => ["taste", e], OOe = ["taste", "refresh"], kOe = [+var eke = "/api/taste", j3 = "/api/taste/refresh", tke = "/api/taste/import", M3 = "/api/taste/source", N3 = (e) => ["taste", e], nke = ["taste", "refresh"], rke = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], AOe = 2e3, jOe = (e) => e?.stale && !e.error ? AOe : !1, MOe = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], ike = 2e3, ake = (e) => e?.stale && !e.error ? ike : !1, oke = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", NOe = (e, t) => H(N3, {+}) : "—", ske = (e, t) => H(M3, {...e,window: t-}), F3 = (e, t, n = !1) => V(`${EOe}?window=${e}${n ? "&retry=1" : ""}`, t), POe = (e) => V(M3, e);-async function FOe(e, t) {+}), P3 = (e, t, n = !1) => V(`${eke}?window=${e}${n ? "&retry=1" : ""}`, t), cke = (e) => V(j3, e);+async function lke(e, t) {await U.fetchQuery({- queryKey: P3(e),- queryFn: () => F3(e, t)+ queryKey: N3(e),+ queryFn: () => P3(e, t)});}-var IOe = (e) => H(M3, {+var uke = (e) => H(j3, {window: e,background: !0-}), LOe = (e, t) => H(N3, {+}), dke = (e, t) => H(M3, {operation: "remove",source_key: e,window: t});-async function ROe(e) {- let t = await fetch(DOe, {+async function fke(e) {+ let t = await fetch(tke, {method: "POST",credentials: "same-origin",headers: {@@ -73677,52 +73814,52 @@ async function ROe(e) {}return n;}-var zOe = 1e4, I3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function BOe(e) {+var pke = 1e4, F3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function mke(e) {let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;if (!e.range_start && !e.range_end) return t;let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {month: "numeric",day: "numeric"- }) : I3(e);+ }) : F3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var VOe = f3, HOe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), UOe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function WOe(e) {+var hke = d3, gke = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), _ke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function vke(e) {if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;return r > 0 && t.push(`浏览 ${r.toLocaleString()}`), n && t.push(`书签 ${n.toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");}-function GOe(e) {- let t = e.map(UOe), n = Math.max(1, ...t);+function yke(e) {+ let t = e.map(_ke), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var L3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var I3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({name: e.name,value: Number(e.score)})).sort((e, t) => t.value - e.value).slice(0, t);-function KOe(e) {- let t = L3(e, 6);+function bke(e) {+ let t = I3(e, 6);return t.length < 3 ? [] : t;}-var R3 = {+var L3 = {width: 720,height: 435-}, qOe = {+}, xke = {source: 145,target: 545-}, z3 = 30, JOe = 240;-function B3(e, t, n) {+}, R3 = 30, Ske = 240;+function z3(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);if (r.size <= 12) return (e) => e;let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);return (e) => a.has(e) ? e : o;}-function YOe(e = []) {+function Cke(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = B3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = B3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = z3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = z3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();for (let e of t) {let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);s ? s.value += e.value : i.set(o, {@@ -73731,7 +73868,7 @@ function YOe(e = []) {value: e.value});}- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * z3 + JOe), u = pOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(z3).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * R3 + Ske), u = VOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(R3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -73746,7 +73883,7 @@ function YOe(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = TOe();+ }), d = a.reduce((e, t) => e + t.value, 0), f = $Oe();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -73774,16 +73911,16 @@ function YOe(e = []) {};}),total: d,- height: l + R3.height - 404+ height: l + L3.height - 404};}-var XOe = (e) => Sn(e, 17), V3 = {+var wke = (e) => Sn(e, 17), B3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, ZOe = [[+}, Tke = [["big","大图 · 竖幅头像","maximize"@@ -73791,7 +73928,7 @@ var XOe = (e) => Sn(e, 17), V3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], QOe = [[+]], Eke = [["big","大图 · 完整标识","maximize"@@ -73799,7 +73936,7 @@ var XOe = (e) => Sn(e, 17), V3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], $Oe = [[+]], Dke = [["studios","厂牌","clapperboard"@@ -73807,7 +73944,7 @@ var XOe = (e) => Sn(e, 17), V3 = {"agencies","事务所","briefcase"-]], eke = [[+]], Oke = [["local","本地","hard-drive"@@ -73815,7 +73952,7 @@ var XOe = (e) => Sn(e, 17), V3 = {"online","在线","rss"-]], tke = [+]], kke = [["performers","艺人",@@ -73831,7 +73968,7 @@ var XOe = (e) => Sn(e, 17), V3 = {"在线","rss"]-], nke = [[+], Ake = [["cloud","标签云","tags"@@ -73839,8 +73976,8 @@ var XOe = (e) => Sn(e, 17), V3 = {"alphabet","字母表","text-aa"-]], H3 = (e) => e === "compact" ? "compact" : "big";-function U3(e, t) {+]], V3 = (e) => e === "compact" ? "compact" : "big";+function H3(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -73850,7 +73987,7 @@ function U3(e, t) {category: n.get("category") || "all"};}-var W3 = (e, t, n) => as(e.map(([e, t, n]) => ({+var U3 = (e, t, n) => as(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -73858,12 +73995,12 @@ var W3 = (e, t, n) => as(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), rke = (e) => `<div class="board-filter-frame" data-filter-frame>+}), jke = (e) => `<div class="board-filter-frame" data-filter-frame><div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div><div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>- ${dc("tag-view", "标签视图", nke, e)}</div></div>`;-function ike({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = V3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? dc("people-layout", o + "索引版式", c ? QOe : ZOe, a) : "";+ ${dc("tag-view", "标签视图", Ake, e)}</div></div>`;+function Mke({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = B3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? dc("people-layout", o + "索引版式", c ? Eke : Tke, a) : "";return `<div class="ihead peach-react" data-index-head><h2 class="disp indexheading">${o}</h2>${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}@@ -73875,27 +74012,27 @@ function ike({ kind: e, q: t, scope: n, view: r, category: i }, a) {}) : ""}<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Uo("", t, "过滤" + o)}</div></div>- ${e === "tags" ? W3(eke, n, "词表") : e === "performers" || e === "creators" ? W3(tke, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? W3($Oe, e, "公司类型") : ""}- ${e === "tags" ? rke(r) : ""}- ${e === "performers" && n !== "online" ? wbe(i) : ""}+ ${e === "tags" ? U3(Oke, n, "词表") : e === "performers" || e === "creators" ? U3(kke, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? U3(Dke, e, "公司类型") : ""}+ ${e === "tags" ? jke(r) : ""}+ ${e === "performers" && n !== "online" ? Ebe(i) : ""}${vs({kind: e,layout: a,mode: r})}`;}-var ake = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function G3(e, t, n) {- let r = ike(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== ake(r) && (e.innerHTML = r, Ts(e));+var Nke = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function W3(e, t, n) {+ let r = Mke(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== Nke(r) && (e.innerHTML = r, Ts(e));}//#endregion//#region src/react/router/pages/index-entity.tsx-var oke = () => Hl, ske = () => Dl, K3 = () => document.getElementById("index");-function q3(e, t, n = {}) {- let r = (0, D.useSyncExternalStore)($l, oke);- tV();- let i = PV(pH.navigation.location.pathname), a = (0, D.useRef)({+var Pke = () => Hl, Fke = () => Dl, G3 = () => document.getElementById("index");+function K3(e, t, n = {}) {+ let r = (0, D.useSyncExternalStore)($l, Pke);+ LB();+ let i = gV(YV.navigation.location.pathname), a = (0, D.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -73920,7 +74057,7 @@ function q3(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== Hl, r = t.opens !== Hl;- if (t.epoch = e, t.opens = Hl, PV(pH.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = Hl, gV(YV.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -73941,13 +74078,13 @@ function q3(e, t, n = {}) {i]);}-async function cke(e, t, n, r) {- let i = K3();+async function Ike(e, t, n, r) {+ let i = G3();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = U3(t, n), s = H3(sA().value.peopleLayout);- G3(i, o, s), await nH(a, {+ let o = H3(t, n), s = V3(iA().value.peopleLayout);+ W3(i, o, s), await RV(a, {...o,layout: s,selectMode: Dl,@@ -73957,23 +74094,23 @@ async function cke(e, t, n, r) {isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function lke(e) {- let t = K3(), n = t ? QV(t) : null;+function Lke(e) {+ let t = G3(), n = t ? PV(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function uke({ epoch: e }) {- let t = (0, D.useContext)(eW), n = tV(), r = n.pathname.split("/").filter(Boolean)[0];- return q3(e, (e, i) => {- t && cke(t, r, n.search, i);- }, { shown: () => lke(`/${r}`) }), null;+function Rke({ epoch: e }) {+ let t = (0, D.useContext)(lU), n = LB(), r = n.pathname.split("/").filter(Boolean)[0];+ return K3(e, (e, i) => {+ t && Ike(t, r, n.search, i);+ }, { shown: () => Lke(`/${r}`) }), null;}-function dke() {- let e = $U(), t = (0, D.useSyncExternalStore)($l, ske), n = (0, D.useRef)(t);+function zke() {+ let e = cU(), t = (0, D.useSyncExternalStore)($l, Fke), n = (0, D.useRef)(t);return (0, D.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && rH(K3(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, O.jsx)(uke, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && zV(G3(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, O.jsx)(Rke, { epoch: e }, e);}-function J3(e) {+function q3(e) {let t;try {t = decodeURIComponent(e);@@ -73987,9 +74124,9 @@ function J3(e) {name: a} : null;}-var Y3 = /* @__PURE__ */ new WeakMap();-function fke(e) {- let t = Y3.get(e);+var J3 = /* @__PURE__ */ new WeakMap();+function Bke(e) {+ let t = J3.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -73999,14 +74136,14 @@ function fke(e) {...e.grid.actions,revealSource: e.revealSource}- }, Y3.set(e, t)), t;+ }, J3.set(e, t)), t;}-function X3() {- let e = K3(), t = e ? QV(e) : null;+function Y3() {+ let e = G3(), t = e ? PV(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function pke(e, t, n, r, i, a, o) {- let s = K3();+async function Vke(e, t, n, r, i, a, o) {+ let s = G3();if (!s) return;let { segment: c, kind: l, name: u } = n;if (e.surfaceChanged("entity", r), await t.loading(l, u, a), !a()) return;@@ -74020,7 +74157,7 @@ async function pke(e, t, n, r, i, a, o) {}, h = t.props(l, u, i), g = {...h,hosts: m,- card: fke(e),+ card: Bke(e),resolvedEntity: o,actions: {...h.actions,@@ -74029,18 +74166,18 @@ async function pke(e, t, n, r, i, a, o) {}}};- await nH(`/${c}/*`, g, {+ await RV(`/${c}/*`, g, {container: s,isCurrent: a,place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && X3() && (e.surfaceShown?.("entity", r), window.scrollTo({+ }) && a() && Y3() && (e.surfaceShown?.("entity", r), window.scrollTo({top: 0,behavior: "smooth"}));}-function mke({ target: e }) {- let t = (0, D.useContext)(eW), n = $U(), r = tV();- return q3(n, (n, i) => {+function Hke({ target: e }) {+ let t = (0, D.useContext)(lU), n = cU(), r = LB();+ return K3(n, (n, i) => {let a = t?.entity;t && a && (async () => {let o = new URLSearchParams({ kind: e.kind });@@ -74056,9 +74193,9 @@ function mke({ target: e }) {}).catch(() => null);if (!i()) return;if (s?.redirect) {- mH(en(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ XV(en(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: pH.navigation.location.state+ state: YV.navigation.location.state});return;}@@ -74067,23 +74204,23 @@ function mke({ target: e }) {return;}let c = String(s.canonical_name || e.name), l = en(e.kind, c, Number(s.id));- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && pke(t, a, {+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Vke(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : mH(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : XV(l + r.search + r.hash, {replace: !0,- state: pH.navigation.location.state+ state: YV.navigation.location.state});})();- }, { shown: () => X3() && !K3()?.hidden }), null;+ }, { shown: () => Y3() && !G3()?.hidden }), null;}-function hke() {- let e = J3(tV().pathname);- return e ? /* @__PURE__ */ (0, O.jsx)(mke, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function Uke() {+ let e = q3(LB().pathname);+ return e ? /* @__PURE__ */ (0, O.jsx)(Hke, { target: e }, JSON.stringify([e.kind, e.name])) : null;}//#endregion//#region src/react/jav/jav-header.tsx-function Z3({ tab: e, navigate: t, find: n }) {+function X3({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -74092,30 +74229,30 @@ function Z3({ tab: e, navigate: t, find: n }) {"data-page-title": "",className: "text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium",children: "JAV"- }), /* @__PURE__ */ (0, O.jsx)(q, {+ }), /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, O.jsx)(D$, {- tabs: l1.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, O.jsx)(BQ, {+ tabs: S$.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(PCe(e))+ onChange: (e) => t(ICe(e))})]});}-function gke({ navigate: e, receipt: t }) {+function Wke({ navigate: e, receipt: t }) {let [n, r] = (0, D.useState)(null);- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Z3, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(X3, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, O.jsx)(J2, {+ }), /* @__PURE__ */ (0, O.jsx)(q2, {prefill: n,close: () => r(null),receipt: t@@ -74123,21 +74260,21 @@ function gke({ navigate: e, receipt: t }) {}//#endregion//#region src/react/router/pages/catalog.tsx-var _ke = () => Hl, Q3 = pH.navigation.seq, $3 = pH.navigation.openEpoch, e6 = pH.navigation.location.pathname, t6 = {- seq: Q3,+var Gke = () => Hl, Z3 = YV.navigation.seq, Q3 = YV.navigation.openEpoch, $3 = YV.navigation.location.pathname, e6 = {+ seq: Z3,claimed: !0,- from: e6+ from: $3};-pH.listen((e) => {- t6 = {+YV.listen((e) => {+ e6 = {seq: e.seq,- claimed: e.openEpoch === $3,- from: e6- }, $3 = e.openEpoch, e6 = e.location.pathname;+ claimed: e.openEpoch === Q3,+ from: $3+ }, Q3 = e.openEpoch, $3 = e.location.pathname;});-var n6 = !1;-function r6(e) {- let { seq: t, openEpoch: n, location: r } = pH.navigation, i = PV(r.pathname), a = gH() ?? r, o = W ?? {};+var t6 = !1;+function n6(e) {+ let { seq: t, openEpoch: n, location: r } = YV.navigation, i = gV(r.pathname), a = QV() ?? r, o = W ?? {};return {seq: t,epoch: n,@@ -74148,7 +74285,7 @@ function r6(e) {opened: e};}-function vke(e, t, n, r) {+function Kke(e, t, n, r) {let i = { ...W };if (e === "/trash") return {...i,@@ -74159,7 +74296,7 @@ function vke(e, t, n, r) {state: "trash",q: ""};- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = sA().value;+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = iA().value;return {...i,loc: a.get("loc") ?? r.defaultLoc(),@@ -74173,7 +74310,7 @@ function vke(e, t, n, r) {dur_max: a.get("dur_max") || "",orient: a.get("orient") || "",state: Yt[e] || a.get("state") || "",- ...Hk(a.get("sort"), a.get("dir"), o, s),+ ...Rk(a.get("sort"), a.get("dir"), o, s),seed: a.get("seed") || (n ? Tn() : i.seed || Tn()),q: a.get("q") || "",jav: a.get("jav") || "",@@ -74184,13 +74321,13 @@ function vke(e, t, n, r) {folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""};}-function yke(e, t) {- let n = { ...e }, r = r6(n.opened);+function qke(e, t) {+ let n = { ...e }, r = n6(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- gH() || i.fill();+ QV() || i.fill();return;}let a = !1;@@ -74200,41 +74337,41 @@ function yke(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = pH.navigation.action === "POP" && t6.from !== "/");+ r.epoch !== n.epoch && (a = YV.navigation.action === "POP" && e6.from !== "/");}- let { pathname: o, search: s } = pH.navigation.location;+ let { pathname: o, search: s } = YV.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = Y$(s);- n6 = !0, mH(X$(e, t), { replace: !0 });+ let { kind: e, view: t } = c$(s);+ t6 = !0, XV(l$(e, t), { replace: !0 });return;}- let c = n6;- n6 = !1, a &&= o === "/", e.opened = !0, Zl({ state: vke(o, s, a, i) }), i.open(o, {+ let c = t6;+ t6 = !1, a &&= o === "/", e.opened = !0, Zl({ state: Kke(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function bke(e) {- return Zt(e) || e === "/trash" || PV(e) || e === "/immerse" || !!J3(e);+function Jke(e) {+ return Zt(e) || e === "/trash" || gV(e) || e === "/immerse" || !!q3(e);}-function xke() {- let e = (0, D.useContext)(eW), t = $U(), n = (0, D.useSyncExternalStore)($l, _ke), r = tV(), i = (0, D.useRef)(null), a = (0, D.useRef)({+function Yke() {+ let e = (0, D.useContext)(lU), t = cU(), n = (0, D.useSyncExternalStore)($l, Gke), r = LB(), i = (0, D.useRef)(null), a = (0, D.useRef)({mounted: !0,queued: !1});return (0, D.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = r6(!PV(pH.navigation.location.pathname));- return !n.covered && n.opens > 0 && (n6 || t6.seq === Q3 ? n.opens = -1 : t6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {+ let n = n6(!gV(YV.navigation.location.pathname));+ return !n.covered && n.opens > 0 && (t6 || e6.seq === Z3 ? n.opens = -1 : e6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !bke(pH.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !Jke(YV.navigation.location.pathname) && e.catalog.release();});};}, []), (0, D.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && yke(i.current, e);+ t.queued = !1, t.mounted && i.current && qke(i.current, e);}));}, [t,@@ -74243,8 +74380,8 @@ function xke() {e]), null;}-function i6() {- let { pathname: e, search: t } = tV();+function r6() {+ let { pathname: e, search: t } = LB();(0, D.useLayoutEffect)(() => {if (e !== "/wall") return;document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");@@ -74257,15 +74394,15 @@ function i6() {});};}, [e]);- let n = (0, D.useContext)(eW), r = document.getElementById("javLibraryHeader"), i = Zt(e) && new URLSearchParams(t).get("jav") === "1";+ let n = (0, D.useContext)(lU), r = document.getElementById("javLibraryHeader"), i = Zt(e) && new URLSearchParams(t).get("jav") === "1";return (0, D.useLayoutEffect)(() => {if (r) return r.hidden = !i, () => {r.hidden = !0;};- }, [r, i]), PV(e) && !NV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(xke, {}, e === "/junk-files" ? "/junk-files" : "/"),- Zt(e) ? /* @__PURE__ */ (0, O.jsx)(cW, {}) : null,- i && r && n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(gke, {+ }, [r, i]), gV(e) && !hV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+ /* @__PURE__ */ (0, O.jsx)(Yke, {}, e === "/junk-files" ? "/junk-files" : "/"),+ Zt(e) ? /* @__PURE__ */ (0, O.jsx)(_U, {}) : null,+ i && r && n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(Wke, {navigate: n.navigate,receipt: (e) => n.receipt(e)}), r) : null@@ -74273,21 +74410,21 @@ function i6() {}//#endregion//#region src/react/router/pages/follow.tsx-var a6 = () => document.getElementById("stats"), Ske = () => Jl;-function Cke(e) {+var i6 = () => document.getElementById("stats"), Xke = () => Jl;+function Zke(e) {let t = document.createElement("div");return t.className = "peach-react", gs(e, () => {e.textContent = "", e.append(t);}), t;}-async function wke(e, t) {- let n = a6(), r = e.follow;+async function Qke(e, t) {+ let n = i6(), r = e.follow;if (!n || !r || r.refresh()) return;let i = ql;- e.surfaceChanged("follow", "/follow"), p2(n, r.skeleton()), await nH("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), f2(n, r.skeleton()), await RV("/follow", r.props(), {container: n,isCurrent: t,- place: Cke+ place: Zke}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -74296,32 +74433,32 @@ async function wke(e, t) {behavior: "smooth"});}-function Tke() {- let e = a6(), t = e ? QV(e) : null;+function $ke() {+ let e = i6(), t = e ? PV(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function Eke() {- let e = (0, D.useContext)(eW);- return q3($U(), (t, n) => {- e && wke(e, n);+function eAe() {+ let e = (0, D.useContext)(lU);+ return K3(cU(), (t, n) => {+ e && Qke(e, n);}, {- shown: Tke,+ shown: $ke,onCovered: () => {- pH.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ YV.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function o6(e) {- let t = e ? QV(e) : null;+function a6(e) {+ let t = e ? PV(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function Dke(e, t) {- let n = a6();- n && (e.surfaceChanged("playlists", "/playlists"), p2(n, d2("/playlists", {+async function tAe(e, t) {+ let n = i6();+ n && (e.surfaceChanged("playlists", "/playlists"), f2(n, u2("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await nH("/playlists", { revision: Jl }, {+ })), await RV("/playlists", { revision: Jl }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -74329,39 +74466,39 @@ async function Dke(e, t) {behavior: "smooth"}));}-function Oke() {- let e = (0, D.useContext)(eW), t = (0, D.useSyncExternalStore)($l, Ske), n = (0, D.useRef)(t);+function nAe() {+ let e = (0, D.useContext)(lU), t = (0, D.useSyncExternalStore)($l, Xke), n = (0, D.useRef)(t);return (0, D.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = a6();- o6(e) && rH(e, { revision: t });- }, [t]), q3($U(), (t, n) => {- e && Dke(e, n);+ let e = i6();+ a6(e) && zV(e, { revision: t });+ }, [t]), K3(cU(), (t, n) => {+ e && tAe(e, n);}, { shown: () => {- let e = a6();- return o6(e) && !e.hidden;+ let e = i6();+ return a6(e) && !e.hidden;} }), null;}//#endregion//#region src/react/router/pages/immerse.tsx-function kke() {- let e = new URLSearchParams(pH.navigation.location.search).get("id");+function rAe() {+ let e = new URLSearchParams(YV.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function Ake() {- let e = (0, D.useContext)(eW);- return ZU(() => {- e?.openImmerse(kke());+function iAe() {+ let e = (0, D.useContext)(lU);+ return oU(() => {+ e?.openImmerse(rAe());}, !0), null;}-function jke() {- return /* @__PURE__ */ (0, O.jsx)(Ake, {}, $U());+function aAe() {+ return /* @__PURE__ */ (0, O.jsx)(iAe, {}, cU());}//#endregion//#region src/ui-kit/anchor-scroll.ts-var s6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";-async function c6(e, t) {+var o6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";+async function s6(e, t) {let n;try {n = decodeURIComponent(e.slice(1));@@ -74376,42 +74513,42 @@ async function c6(e, t) {let r = document.getElementById(n);r?.getClientRects().length && r.scrollIntoView({block: "start",- behavior: s6()+ behavior: o6()});}//#endregion//#region src/react/router/pages/managed.tsx-var Mke = [+var oAe = ["list","add","feeds"-], Nke = () => Hl > 0, l6 = () => (0, D.useSyncExternalStore)($l, Nke), u6 = () => sA().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);-function Pke(e) {- let t = d6();- return d2(e, {- followLayout: u6(),+], sAe = () => Hl > 0, c6 = () => (0, D.useSyncExternalStore)($l, sAe), l6 = () => iA().value.followLayout === "table" ? "table" : "default", u6 = () => new URLSearchParams(window.location.search);+function cAe(e) {+ let t = u6();+ return u2(e, {+ followLayout: l6(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""});}-function f6(e) {+function d6(e) {return z("/healthz", { signal: e.controller.signal }).catch((e) => {if (Kt(e)) return null;throw e;});}-function p6(e, t) {+function f6(e, t) {return {readOnly: !!e?.ledger_read_only,readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function Fke(e, t) {+async function lAe(e, t) {if (e === "/jav") {- let e = await f6(t);+ let e = await d6(t);return t.live ? {- tab: u1(d6().get("tab")),+ tab: C$(u6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -74422,40 +74559,40 @@ async function Fke(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && Zl({ configurationRequestedSection: "网络与访问" });- let t = d6().get("section") || zl || TV(e);+ let t = u6().get("section") || zl || sV(e);return t ? { section: t } : {};}if (e === "/review") {- let e = d6().get("category") || "", n = await f6(t);+ let e = u6().get("category") || "", n = await d6(t);return t.live ? {- category: DX(e) ? e : "",- ...p6(n, "/review")+ category: BY(e) ? e : "",+ ...f6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = d6(), n = e.get("tab") || "", r = {- tab: Mke.includes(n) ? n : "list",+ let e = u6(), n = e.get("tab") || "", r = {+ tab: oAe.includes(n) ? n : "list",page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),sort: e.get("sort") || "",dir: e.get("dir") || ""- }, i = await f6(t);+ }, i = await d6(t);if (!t.live) return null;- let a = sA().value;+ let a = iA().value;return {...r,pageSize: Number(a.followPageSize) || 20,- layout: u6(),- ...p6(i, "/subscriptions")+ layout: l6(),+ ...f6(i, "/subscriptions")};}return {};}-var Ike = () => {+var uAe = () => {window.scrollTo({top: 0,- behavior: s6()+ behavior: o6()});-}, Lke = /* @__PURE__ */ new Set([+}, dAe = /* @__PURE__ */ new Set(["/stats","/taste","/review",@@ -74463,18 +74600,18 @@ var Ike = () => {"/tasks","/subscriptions"]);-async function Rke(e, t, n) {- let r = pH.navigation.seq, i = () => n.live && pH.navigation.seq === r;- if (e === "/jav" && u1(d6().get("tab")) === "library") {- pH.replace(FCe(window.location.search));+async function fAe(e, t, n) {+ let r = YV.navigation.seq, i = () => n.live && YV.navigation.seq === r;+ if (e === "/jav" && C$(u6().get("tab")) === "library") {+ YV.replace(LCe(window.location.search));return;}- if (e === "/subscriptions" && d6().get("tab") === "wants") {- mH("/jav?tab=wants", { replace: !0 });+ if (e === "/subscriptions" && u6().get("tab") === "wants") {+ XV("/jav?tab=wants", { replace: !0 });return;}- if (e === "/subscriptions" && d6().get("tab") === "source") {- mH("/settings/subscriptions", { replace: !0 });+ if (e === "/subscriptions" && u6().get("tab") === "source") {+ XV("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");@@ -74496,38 +74633,38 @@ async function Rke(e, t, n) {state: "",q: "",jav: ""- } }), t.clearSearch()), p2(a, Pke(e));- let o = await Fke(e, n);+ } }), t.clearSearch()), f2(a, cAe(e));+ let o = await lAe(e, n);if (!o) return;- let s = await nH(e, o, {+ let s = await RV(e, o, {container: a,isCurrent: () => n.live});- if (s && (n.revision = QV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Zl({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = PV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Zl({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {- i() && mH("/data-cleanup#libraryProcessing", {+ i() && XV("/data-cleanup#libraryProcessing", {replace: !0,state: null});- }) : t ? c6(t, i) : (Lke.has(e) || e === "/settings/library") && Ike();+ }) : t ? s6(t, i) : (dAe.has(e) || e === "/settings/library") && uAe();}}-function m6({ path: e }) {- let t = $U();- tV();- let n = PV(pH.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.useRef)(n);+function p6({ path: e }) {+ let t = cU();+ LB();+ let n = gV(YV.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.useRef)(n);!n && (!i.current || r.current === null) && (r.current = t), i.current = n;let a = e.startsWith("/settings/") ? "/settings/configuration" : e;- return /* @__PURE__ */ (0, O.jsx)(zke, {+ return /* @__PURE__ */ (0, O.jsx)(pAe, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function zke({ path: e, covered: t }) {- let n = (0, D.useContext)(eW), r = l6(), i = (0, D.useRef)(null);+function pAe({ path: e, covered: t }) {+ let n = (0, D.useContext)(lU), r = c6(), i = (0, D.useRef)(null);return (0, D.useEffect)(() => {- e.startsWith("/settings/") && rH(document.getElementById("stats"), { section: TV(e) });+ e.startsWith("/settings/") && zV(document.getElementById("stats"), { section: sV(e) });}, [e]), (0, D.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -74536,7 +74673,7 @@ function zke({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && Rke(e, n, a);+ a.live && fAe(e, n, a);});}, [r]), (0, D.useEffect)(() => () => {let e = i.current;@@ -74544,18 +74681,18 @@ function zke({ path: e, covered: t }) {e.live = !1, e.controller.abort();let t = document.getElementById("stats");queueMicrotask(() => {- t && e.revision && !t.hidden && QV(t)?.revision === e.revision && iH(t);+ t && e.revision && !t.hidden && PV(t)?.revision === e.revision && BV(t);});}, []), null;}-function Bke() {- let e = l6(), t = (0, D.useRef)(!1);+function mAe() {+ let e = c6(), t = (0, D.useRef)(!1);return (0, D.useEffect)(() => {- if (!e || t.current || PV(pH.navigation.location.pathname)) return;+ if (!e || t.current || gV(YV.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && mH("/data-cleanup#resource-sync", { replace: !0 });+ n && XV("/data-cleanup#resource-sync", { replace: !0 });}), () => {n = !1;};@@ -74563,24 +74700,24 @@ function Bke() {}//#endregion//#region src/react/router/route-chunk.ts-var h6 = [], g6 = "peach.chunkReloadAt", Vke = 3e4;-async function Hke() {+var m6 = [], h6 = "peach.chunkReloadAt", hAe = 3e4;+async function gAe() {try {- let e = Number(sessionStorage.getItem(g6) || 0);- if (Date.now() - e < Vke || !(await fetch("/healthz", {+ let e = Number(sessionStorage.getItem(h6) || 0);+ if (Date.now() - e < hAe || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;- sessionStorage.setItem(g6, String(Date.now())), location.reload();+ sessionStorage.setItem(h6, String(Date.now())), location.reload();} catch {}}-function _6(e) {+function g6(e) {let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {throw n = null, e;});- return h6.push(r), {+ return m6.push(r), {preload: () => r().catch(async (e) => {- throw await Hke(), e;+ throw await gAe(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -74588,10 +74725,10 @@ function _6(e) {}};}-function Uke() {+function _Ae() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;- let t = [...h6], n = () => {+ let t = [...m6], n = () => {let r = t.shift();r && e(() => {r().catch(() => {}).finally(n);@@ -74601,31 +74738,31 @@ function Uke() {}//#endregion//#region src/react/router/managed-routes.tsx-async function v6(e, t) {+async function _6(e, t) {let [n, r] = await Promise.allSettled([e.preload(), t]);if (r.status === "rejected") throw r.reason;if (n.status === "rejected") throw n.reason;}-var y6 = _6(() => import("./peach-app.jav-page-BylXQgrV.js")), b6 = _6(() => import("./peach-app.stats-page-Dl0lm7Yt.js")), x6 = _6(() => import("./peach-app.taste-page-CidGJvZ7.js")), S6 = _6(() => import("./peach-app.review-page-CPsgIxd6.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-DPCNx1GU.js")), w6 = _6(() => import("./peach-app.duplicates-page-CoHPntSW.js")), T6 = _6(() => import("./peach-app.quality-goals-page-CjcBIXAC.js")), E6 = _6(() => import("./peach-app.scraping-page-DM0a_K9-.js")), D6 = _6(async () => {- let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-9ebGwo83.js"), import("./peach-app.diagnostics-page-bdA2qUuj.js")]);+var v6 = g6(() => import("./peach-app.jav-page-BylXQgrV.js")), y6 = g6(() => import("./peach-app.stats-page-Dl0lm7Yt.js")), b6 = g6(() => import("./peach-app.taste-page-CidGJvZ7.js")), x6 = g6(() => import("./peach-app.review-page-CPsgIxd6.js")), S6 = g6(() => import("./peach-app.data-cleanup-page-DPCNx1GU.js")), C6 = g6(() => import("./peach-app.duplicates-page-CoHPntSW.js")), w6 = g6(() => import("./peach-app.quality-goals-page-CjcBIXAC.js")), T6 = g6(() => import("./peach-app.scraping-page-DM0a_K9-.js")), E6 = g6(async () => {+ let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-Bxq5ZZc_.js"), import("./peach-app.diagnostics-page-bdA2qUuj.js")]);return {ConfigurationPage: e,DiagnosticsPage: t};-}), O6 = _6(() => import("./peach-app.activity-page-ClyZLUeQ.js")), k6 = _6(() => import("./peach-app.follow-manage-page-K8kzYRBb.js")), A6 = _6(() => import("./peach-app.playlists-page-DKMNf-v5.js"));-function Wke(e, t, n) {+}), D6 = g6(() => import("./peach-app.activity-page-ClyZLUeQ.js")), O6 = g6(() => import("./peach-app.follow-manage-page-K8kzYRBb.js")), k6 = g6(() => import("./peach-app.playlists-page-DKMNf-v5.js"));+function vAe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- N6(r) ? n(r) : t.openManage(e);+ M6(r) ? n(r) : t.openManage(e);}-var j6 = (e) => ({- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: e }),- prefetch: (t, n) => v6(D6, Promise.all([Cwe(n), ...e === "/settings/diagnostics" ? [WSe(n)] : []]).then(() => {})),+var A6 = (e) => ({+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: e }),+ prefetch: (t, n) => _6(E6, Promise.all([Twe(n), ...e === "/settings/diagnostics" ? [KSe(n)] : []]).then(() => {})),page: (t, n) => {- let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();+ let { ConfigurationPage: r, DiagnosticsPage: i } = E6.get();return /* @__PURE__ */ (0, O.jsx)(r, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,@@ -74636,12 +74773,12 @@ var j6 = (e) => ({})});}-}), M6 = {+}), j6 = {"/jav": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/jav" }),- prefetch: (e, t) => v6(y6, LCe(e.tab, t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/jav" }),+ prefetch: (e, t) => _6(v6, zCe(e.tab, t)),page: (e, t) => {- let { JavPage: n } = y6.get();+ let { JavPage: n } = v6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,navigate: t.navigate,@@ -74650,10 +74787,10 @@ var j6 = (e) => ({}},"/stats": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/stats" }),- prefetch: (e, t) => v6(b6, qDe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/stats" }),+ prefetch: (e, t) => _6(y6, xOe(t)),page: (e, t) => {- let { StatsPage: n } = b6.get();+ let { StatsPage: n } = y6.get();return /* @__PURE__ */ (0, O.jsx)(n, {tagLabel: fl,onTag: t.openTag@@ -74661,10 +74798,10 @@ var j6 = (e) => ({}},"/taste": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/taste" }),- prefetch: (e, t) => v6(x6, FOe("all", t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/taste" }),+ prefetch: (e, t) => _6(b6, lke("all", t)),page: (e, t, n) => {- let { TastePage: r } = x6.get();+ let { TastePage: r } = b6.get();return /* @__PURE__ */ (0, O.jsx)(r, {onSignal: t.openTasteSignal,navigate: n,@@ -74674,10 +74811,10 @@ var j6 = (e) => ({}},"/review": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/review" }),- prefetch: (e, t) => v6(S6, sye(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/review" }),+ prefetch: (e, t) => _6(x6, lye(t)),page: (e, t) => {- let { ReviewPage: n } = S6.get();+ let { ReviewPage: n } = x6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,route: t.routeReview,@@ -74689,22 +74826,22 @@ var j6 = (e) => ({}},"/data-cleanup": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/data-cleanup" }),- prefetch: (e, t) => v6(C6, mbe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/data-cleanup" }),+ prefetch: (e, t) => _6(S6, gbe(t)),page: (e, t, n) => {- let { DataCleanupPage: r } = C6.get();+ let { DataCleanupPage: r } = S6.get();return /* @__PURE__ */ (0, O.jsx)(r, {failure: t.failure,- open: (e) => Wke(e, t, n),+ open: (e) => vAe(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/duplicates" }),- prefetch: (e, t) => v6(w6, Tve(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/duplicates" }),+ prefetch: (e, t) => _6(C6, Dve(t)),page: (e, t) => {- let { DuplicatesPage: n } = w6.get();+ let { DuplicatesPage: n } = C6.get();return /* @__PURE__ */ (0, O.jsx)(n, {openItem: t.openItem,failure: t.failure,@@ -74713,46 +74850,46 @@ var j6 = (e) => ({}},"/quality-goals": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/quality-goals" }),- prefetch: (e, t) => v6(T6, Lve(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/quality-goals" }),+ prefetch: (e, t) => _6(w6, zve(t)),page: (e, t) => {- let { QualityGoalsPage: n } = T6.get();+ let { QualityGoalsPage: n } = w6.get();return /* @__PURE__ */ (0, O.jsx)(n, {openItem: t.openItem,- javTitleHtml: eI,- javDisplayName: $F,+ javTitleHtml: lF,+ javDisplayName: cF,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});}},"/sources": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/sources" }),- prefetch: (e, t) => v6(E6, pwe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/sources" }),+ prefetch: (e, t) => _6(T6, hwe(t)),page: (e, t) => {- let { ScrapingPage: n } = E6.get();+ let { ScrapingPage: n } = T6.get();return /* @__PURE__ */ (0, O.jsx)(n, { toast: (e) => t.toast(e) });}},- "/settings/library": j6("/settings/library"),- "/settings/subscriptions": j6("/settings/subscriptions"),- "/settings/downloads": j6("/settings/downloads"),- "/settings/network": j6("/settings/network"),- "/settings/maintenance": j6("/settings/maintenance"),- "/settings/diagnostics": j6("/settings/diagnostics"),+ "/settings/library": A6("/settings/library"),+ "/settings/subscriptions": A6("/settings/subscriptions"),+ "/settings/downloads": A6("/settings/downloads"),+ "/settings/network": A6("/settings/network"),+ "/settings/maintenance": A6("/settings/maintenance"),+ "/settings/diagnostics": A6("/settings/diagnostics"),"/tasks": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/tasks" }),- prefetch: (e, t) => v6(O6, Gce(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/tasks" }),+ prefetch: (e, t) => _6(D6, Fle(t)),page: () => {- let { ActivityPage: e } = O6.get();+ let { ActivityPage: e } = D6.get();return /* @__PURE__ */ (0, O.jsx)(e, {});}},"/subscriptions": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/subscriptions" }),- prefetch: (e, t) => v6(k6, ai(t, e.tab)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/subscriptions" }),+ prefetch: (e, t) => _6(O6, ai(t, e.tab)),page: (e, t) => {- let { FollowManagePage: n } = k6.get();+ let { FollowManagePage: n } = O6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,route: t.routeFollowManage,@@ -74762,12 +74899,12 @@ var j6 = (e) => ({});}}-}, N6 = (e) => Object.hasOwn(M6, e), Gke = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(Bke, {}) } }, Kke = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(jke, {}) } }, P6 = {+}, M6 = (e) => Object.hasOwn(j6, e), yAe = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(mAe, {}) } }, bAe = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(aAe, {}) } }, N6 = {"/playlists": {- element: /* @__PURE__ */ (0, O.jsx)(Oke, {}),- prefetch: (e, t) => v6(A6, ZCe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(nAe, {}),+ prefetch: (e, t) => _6(k6, $Ce(t)),page: (e, t) => {- let { PlaylistsPage: n } = A6.get();+ let { PlaylistsPage: n } = k6.get();return /* @__PURE__ */ (0, O.jsx)(n, {revision: e.revision,openPlaylist: t.openPlaylist,@@ -74778,14 +74915,14 @@ var j6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, O.jsx)(Eke, {}),+ element: /* @__PURE__ */ (0, O.jsx)(eAe, {}),prefetch: (e, t) => Di(e, t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(Cxe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(Txe, { ...e })}-}, F6 = (e) => Object.hasOwn(P6, e), I6 = {- element: /* @__PURE__ */ (0, O.jsx)(dke, {}),- prefetch: (e, t) => Fbe(e, t),- page: (e, t) => /* @__PURE__ */ (0, O.jsx)(cCe, {+}, P6 = (e) => Object.hasOwn(N6, e), F6 = {+ element: /* @__PURE__ */ (0, O.jsx)(zke, {}),+ prefetch: (e, t) => Lbe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, O.jsx)(uCe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -74798,81 +74935,81 @@ var j6 = (e) => ({openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})+}, I6 = {+ "/performers": F6,+ "/creators": F6,+ "/studios": F6,+ "/agencies": F6,+ "/tags": F6}, L6 = {- "/performers": I6,- "/creators": I6,- "/studios": I6,- "/agencies": I6,- "/tags": I6+ element: /* @__PURE__ */ (0, O.jsx)(Uke, {}),+ prefetch: (e) => Tbe(e),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(VSe, { ...e })}, R6 = {- element: /* @__PURE__ */ (0, O.jsx)(hke, {}),- prefetch: (e) => Cbe(e),- page: (e) => /* @__PURE__ */ (0, O.jsx)(zSe, { ...e })+ "/performers/*": L6,+ "/studios/*": L6,+ "/creators/*": L6,+ "/series/*": L6,+ "/agencies/*": L6,+ "/tags/*": L6}, z6 = {- "/performers/*": R6,- "/studios/*": R6,- "/creators/*": R6,- "/series/*": R6,- "/agencies/*": R6,- "/tags/*": R6-}, B6 = {"/": {- element: /* @__PURE__ */ (0, O.jsx)(i6, {}),- prefetch: (e, t) => Pse(e, t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(sX, { ...e })+ element: /* @__PURE__ */ (0, O.jsx)(r6, {}),+ prefetch: (e, t) => wM(e, t),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(bY, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, O.jsx)(i6, {}),+ element: /* @__PURE__ */ (0, O.jsx)(r6, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(CCe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(TCe, { ...e })}-}, V6 = (e) => Object.hasOwn(B6, e), qke = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(yhe, { ...e }) : /* @__PURE__ */ (0, O.jsx)(O1, { ...e }), H6 = {+}, B6 = (e) => Object.hasOwn(z6, e), xAe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(The, { ...e }) : /* @__PURE__ */ (0, O.jsx)(V$, { ...e }), V6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(lG, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(QU, { ...e })},"feed-new": {- prefetch: (e) => ybe(e),- page: (e) => /* @__PURE__ */ (0, O.jsx)(GSe, { ...e })+ prefetch: (e) => xbe(e),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(qSe, { ...e })},"library-processing": {- prefetch: (e, t) => MH(t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(qke, { ...e })+ prefetch: (e, t) => mH(t),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(xAe, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(ywe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(xwe, { ...e })}-}, U6 = (e) => Object.hasOwn(H6, e), W6 = {+}, H6 = (e) => Object.hasOwn(V6, e), U6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(soe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(uoe, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(Hoe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(Uoe, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(jce, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(xle, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)($N, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(_ce, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(Hwe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(Wwe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(nTe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(iTe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(GDe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(yOe, {})}-}, G6 = (e) => Object.hasOwn(W6, e), K6 = [+}, W6 = (e) => Object.hasOwn(U6, e), G6 = ["/","/wall","/unseen",@@ -74882,101 +75019,101 @@ var j6 = (e) => ({"/junk-files"];[- ...Object.keys(M6),- ...Object.keys(P6),- ...Object.keys(L6),- ...Object.keys(z6),- ...K6+ ...Object.keys(j6),+ ...Object.keys(N6),+ ...Object.keys(I6),+ ...Object.keys(R6),+ ...G6];-var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);-function J6(e) {- return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];+var K6 = (e) => M6(e) || P6(e) || Object.hasOwn(I6, e) || Object.hasOwn(R6, e) || B6(e) || H6(e) || W6(e);+function q6(e) {+ return M6(e) ? j6[e] : P6(e) ? N6[e] : B6(e) ? z6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : Object.hasOwn(I6, e) ? I6[e] : R6[e];}-function Jke(e, t, n) {- return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function SAe(e, t, n) {+ return K6(e) ? q6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function Yke(e, t, n, r) {- return J6(e).page(t, n, r);+function CAe(e, t, n, r) {+ return q6(e).page(t, n, r);}//#endregion//#region src/react/application-residents.ts-var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();-function Xke(e) {- return Y6 = e, X6 && e(X6), () => {- Y6 === e && (Y6 = null);+var J6 = null, Y6 = null, X6 = 0, Z6 = /* @__PURE__ */ new Set();+function wAe(e) {+ return J6 = e, Y6 && e(Y6), () => {+ J6 === e && (J6 = null);};}-function Zke(e) {- return Y6 && (X6 = e, Y6(e), qpe(Promise.resolve(Jke)), Uke()), Promise.resolve();+function TAe(e) {+ return J6 && (Y6 = e, J6(e), ume(Promise.resolve(SAe)), _Ae()), Promise.resolve();}-async function $6(e, t, n = (e) => e) {- let r = Z6;- if (t.isConnected || Q6.add(t), !await nH(e, {}, {+async function Q6(e, t, n = (e) => e) {+ let r = X6;+ if (t.isConnected || Z6.add(t), !await RV(e, {}, {container: t,resident: !0,- isCurrent: () => !!Y6 && r === Z6,+ isCurrent: () => !!J6 && r === X6,place: () => n(t)- }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");-}-function Qke() {- Z6 += 1, Y6 = null, X6 = null, e8 = null, t8 = null, i8 = null, a8 = null, s8 = null, c8 = null, u8 = null, d8 = null, p8 = null, m8 = null, g8 = null, _8 = null, y8 = null;- for (let e of Q6) e.remove();- Q6.clear(), L$();-}-var e8 = null, t8 = null;-function n8(e) {- return e8 ??= (async () => {- let t = WDe(e), n = document.createElement("div");- return n.dataset.stageHost = "", await $6("stage", n, (e) => (document.body.append(e), e)), t8 = t, t;- })(), e8;-}-var r8 = () => t8, i8 = null, a8 = null;-function $ke(e) {- return i8 ??= (async () => {- let t = QN(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await $6("immerse", n, (e) => (document.body.append(e), e)), a8 = t, t;- })(), i8;-}-var o8 = () => a8, s8 = null, c8 = null;-function eAe(e) {- return s8 ??= (async () => {- let t = Vwe(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;- })(), s8;-}-var l8 = () => c8, u8 = null, d8 = null;-function tAe(e) {- return u8 ??= (async () => {- let t = tTe(e);- return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;- })(), u8;-}-var f8 = () => d8, p8 = null, m8 = null;-function nAe(e) {- return p8 ??= (async () => {- let t = Ace(e);- return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;- })(), p8;-}-var h8 = () => m8, g8 = null, _8 = null;-function rAe(e) {- return g8 ??= (async () => {- let t = ooe(e);- return await $6("batch-dock", e.root), _8 = t, t;- })(), g8;-}-var v8 = () => _8, y8 = null;-function iAe(e) {- return y8 ??= (async () => {- Voe(e), await $6("glow-picker", e.root);- })(), y8;-}-function b8(e, t, n, r) {- R$(e, t), z$(n, r);+ }) || r !== X6 || !J6) throw new DOMException("应用已卸载", "AbortError");+}+function EAe() {+ X6 += 1, J6 = null, Y6 = null, $6 = null, e8 = null, r8 = null, i8 = null, o8 = null, s8 = null, l8 = null, u8 = null, f8 = null, p8 = null, h8 = null, g8 = null, v8 = null;+ for (let e of Z6) e.remove();+ Z6.clear(), XQ();+}+var $6 = null, e8 = null;+function t8(e) {+ return $6 ??= (async () => {+ let t = vOe(e), n = document.createElement("div");+ return n.dataset.stageHost = "", await Q6("stage", n, (e) => (document.body.append(e), e)), e8 = t, t;+ })(), $6;+}+var n8 = () => e8, r8 = null, i8 = null;+function DAe(e) {+ return r8 ??= (async () => {+ let t = gce(e), n = document.createElement("div");+ return n.dataset.immerseHost = "", await Q6("immerse", n, (e) => (document.body.append(e), e)), i8 = t, t;+ })(), r8;+}+var a8 = () => i8, o8 = null, s8 = null;+function OAe(e) {+ return o8 ??= (async () => {+ let t = Uwe(e), n = document.createElement("div");+ return n.dataset.settingsHost = "", await Q6("settings-panel", n, (e) => (document.body.append(e), e)), s8 = t, t;+ })(), o8;+}+var c8 = () => s8, l8 = null, u8 = null;+function kAe(e) {+ return l8 ??= (async () => {+ let t = rTe(e);+ return await Q6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), u8 = t, t;+ })(), l8;+}+var d8 = () => u8, f8 = null, p8 = null;+function AAe(e) {+ return f8 ??= (async () => {+ let t = ble(e);+ return await Q6("manage-header", e.root, (e) => (e.replaceChildren(), e)), p8 = t, t;+ })(), f8;+}+var m8 = () => p8, h8 = null, g8 = null;+function jAe(e) {+ return h8 ??= (async () => {+ let t = loe(e);+ return await Q6("batch-dock", e.root), g8 = t, t;+ })(), h8;+}+var _8 = () => g8, v8 = null;+function MAe(e) {+ return v8 ??= (async () => {+ Hoe(e), await Q6("glow-picker", e.root);+ })(), v8;+}+function y8(e, t, n, r) {+ ZQ(e, t), QQ(n, r);}//#endregion//#region src/application/effects.ts-var x8 = class {+var b8 = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -75057,13 +75194,13 @@ var x8 = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, J = new x8();-function aAe() {- return J.dispose(), J = new x8(), J;+}, Y = new b8();+function NAe() {+ return Y.dispose(), Y = new b8(), Y;}//#endregion//#region src/application/receipts.js-var S8 = {+var x8 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -75073,13 +75210,13 @@ var S8 = {rollSeed: void 0,seededSample: void 0};-function oAe() {- R$(L("#toasts"), {+function PAe() {+ ZQ(L("#toasts"), {success: R("check"),error: R("circle-alert")- }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), S8.toastSeq = 0, S8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {- let a = `toast-${++S8.toastSeq}`, o = (e, t, n, r) => {- mo(i || (t ? "error" : "success")), b8(L("#toasts"), {+ }), x8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), x8.toastSeq = 0, x8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {+ let a = `toast-${++x8.toastSeq}`, o = (e, t, n, r) => {+ mo(i || (t ? "error" : "success")), y8(L("#toasts"), {success: R("check"),error: R("circle-alert")}, a, {@@ -75094,13 +75231,13 @@ function oAe() {} : null});};- return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };- }, S8.liftToastsOverTutorial = () => {+ return o(x8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(x8.toastBody(e), t, n, null) };+ }, x8.liftToastsOverTutorial = () => {let e = L("#postSetupTutorial"), t = L("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;e.hidden || !e.offsetHeight || n < 160 ? t.style.removeProperty("--toast-bottom") : t.style.setProperty("--toast-bottom", `${Math.round(innerHeight - n + 12)}px`);- }, J.resize(S8.liftToastsOverTutorial).observe(L("#postSetupTutorial")), J.listen.bind(J, window)("resize", S8.liftToastsOverTutorial), S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ }, Y.resize(x8.liftToastsOverTutorial).observe(L("#postSetupTutorial")), Y.listen.bind(Y, window)("resize", x8.liftToastsOverTutorial), x8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {let r = null;- return r = S8.toast({ text: e }, {+ return r = x8.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -75113,7 +75250,7 @@ function oAe() {}} : null}), r;- }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => Tn(), S8.seededSample = (e, t, n, r = (e) => e.k) => {+ }, x8.actionFailure = (e, t) => x8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), x8.rollSeed = () => Tn(), x8.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;let i = new Set([...e].sort((e, t) => wn(n, r(e)) - wn(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));@@ -75121,7 +75258,7 @@ function oAe() {}//#endregion//#region src/react/catalog-grid/catalog-state.ts-var sAe = [+var FAe = ["loc","creator","studio",@@ -75141,10 +75278,10 @@ var sAe = ["folder","folder_recursive"];-function C8(e, t, n, r = n.defaultSort) {- return Hk(e, t, n.defaultSort, n.defaultSortDirection, r);+function S8(e, t, n, r = n.defaultSort) {+ return Rk(e, t, n.defaultSort, n.defaultSortDirection, r);}-function cAe(e, t, n) {+function IAe(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Zt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -75159,7 +75296,7 @@ function cAe(e, t, n) {orient: o("orient") || "",region: o("region") || "",state: Yt[r] || o("state") || "",- ...C8(o("sort"), o("dir"), t),+ ...S8(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -75169,18 +75306,18 @@ function cAe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function lAe(e, t) {+function LAe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function uAe(e) {+function RAe(e) {let t = Jt[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of sAe) {+ for (let t of FAe) {let r = e[t];- r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== zk(e.sort ?? "")) && n.set(t, r);+ r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== Fk(e.sort ?? "")) && n.set(t, r);}return !Jt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function dAe(e, t, n) {+function zAe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -75195,7 +75332,7 @@ function dAe(e, t, n) {region: "",state: "",sort: t.defaultSort,- dir: Vk(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: Lk(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -75205,7 +75342,7 @@ function dAe(e, t, n) {folder_recursive: ""};}-function w8(e) {+function C8(e) {return {state: e,barsContext: {@@ -75217,7 +75354,7 @@ function w8(e) {}//#endregion//#region src/react/catalog-grid/catalog-controller.ts-var fAe = class {+var BAe = class {currentRevision = 0;currentPage = "";painting = null;@@ -75262,44 +75399,44 @@ var fAe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, T8 = 3e4, E8 = 0, pAe = (e, t = E8) => [+}, w8 = 3e4, T8 = 0, VAe = (e, t = T8) => ["facets",e,t-], mAe = (e, t, n = E8) => [+], HAe = (e, t, n = T8) => ["tops",e,t,n-], hAe = (e, t = E8) => [+], UAe = (e, t = T8) => ["tops",e,t];-async function D8(e) {+async function E8(e) {let t = String(e), n = await z(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await z(`/api/tops?${r}`));}-function gAe(e, t) {+function WAe(e, t) {return Promise.all([U.fetchQuery({- queryKey: pAe(e),+ queryKey: VAe(e),queryFn: () => z(`/api/facets${e ? `?${e}` : ""}`),- staleTime: T8+ staleTime: w8}), U.fetchQuery({- queryKey: mAe(t, e),- queryFn: () => D8(t),- staleTime: T8+ queryKey: HAe(t, e),+ queryFn: () => E8(t),+ staleTime: w8})]);}-function _Ae(e) {+function GAe(e) {return U.fetchQuery({- queryKey: hAe(e),- queryFn: () => D8(e),- staleTime: T8+ queryKey: UAe(e),+ queryFn: () => E8(e),+ staleTime: w8});}-function O8() {- E8 += 1;+function D8() {+ T8 += 1;let e = (e) => e.state.fetchStatus === "idle";U.removeQueries({queryKey: ["facets"],@@ -75311,7 +75448,7 @@ function O8() {}//#endregion//#region src/application/navigation-items.ts-var k8 = [+var O8 = [["","首页",@@ -75362,7 +75499,7 @@ var k8 = ["管理","wrench"]-], A8 = [+], k8 = [["stats","统计",@@ -75408,18 +75545,18 @@ var k8 = ["Peach 配置","folder-cog"]-], j8 = [+], A8 = ["stats","taste","cleanup","follow","activity","configuration"-], vAe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], KAe = (e) => k8.filter(([t]) => A8.includes(t) && (t !== "configuration" || e)), j8 = k8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), yAe = [...k8, ...M8], bAe = {+]]), qAe = [...O8, ...j8], JAe = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -75427,7 +75564,7 @@ var k8 = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, N8 = [+}, M8 = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],@@ -75435,11 +75572,11 @@ var k8 = [];//#endregion//#region src/react/index/index-controller.ts-function P8({ kind: e, q: t, scope: n, view: r, category: i }) {+function N8({ kind: e, q: t, scope: n, view: r, category: i }) {let a = new URLSearchParams();return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");}-function F8(e, t, n) {+function P8(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: La(e.k, r ? {@@ -75452,20 +75589,20 @@ function F8(e, t, n) {face: za(e.avatar_focus)};}-function I8(e) {+function F8(e) {let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${B(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${ca({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${B(n)}</span>${r}`;}-function xAe(e) {+function YAe(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(Xi(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(P8(t), n);+ e.route(N8(t), n);},- personAvatar: F8,- authorAvatar: I8,+ personAvatar: P8,+ authorAvatar: F8,openFollowAuthor(n) {t(Zi(e.followView(), n));},@@ -75476,7 +75613,7 @@ function xAe(e) {}//#endregion//#region src/application/source-action.ts-function SAe(e) {+function XAe(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -75492,36 +75629,36 @@ function SAe(e) {}//#endregion//#region src/react/entity-page/entity-route.ts-var L8 = () => Object.fromEntries(kZ.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function R8(e, t) {- let n = new URLSearchParams(e), r = L8();- for (let e of kZ) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+var I8 = () => Object.fromEntries(HX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function L8(e, t) {+ let n = new URLSearchParams(e), r = I8();+ for (let e of HX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...Hk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...Rk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function z8(e) {+function R8(e) {let t = new URLSearchParams();- for (let n of kZ) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== zk(e.sort || "")) && t.set(n, e[n]);+ for (let n of HX) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== Fk(e.sort || "")) && t.set(n, e[n]);return t.toString();}-function B8(e) {+function z8(e) {let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");return {media: r === "photos" || r === "online" ? r : "videos",set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0};}-function V8(e, t) {- let n = new URLSearchParams(z8(e));+function B8(e, t) {+ let n = new URLSearchParams(R8(e));return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();}-function CAe(e, t, n, r) {- let i = V8(n, r);+function ZAe(e, t, n, r) {+ let i = B8(n, r);return en(e, t) + (i ? `?${i}` : "");}-function wAe() {+function QAe() {let e = "";return {fresh(t, n) {@@ -75530,23 +75667,23 @@ function wAe() {read(t, n, r, i) {let a = e === en(t, n) && !r;e = "";- let o = a ? L8() : { ...R8(r, i) };+ let o = a ? I8() : { ...L8(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : B8(r)+ } : z8(r)};}};}//#endregion//#region src/react/entity-page/photo-surface.ts-function TAe(e, t) {+function $Ae(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function EAe(e) {+function eje(e) {let t = () => {let t = e.preferences();for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);@@ -75569,12 +75706,12 @@ function EAe(e) {}//#endregion//#region src/react/entity-page/entity-controller.ts-function DAe(e, t, n) {+function tje(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(CAe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(ZAe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -75588,7 +75725,7 @@ function DAe(e, t, n) {if (s) return s;let c = () => {let n = e.context();- return n?.kind === t && n.name === a ? n.filters : L8();+ return n?.kind === t && n.name === a ? n.filters : I8();}, l = {...n,route: (e, n) => {@@ -75601,7 +75738,7 @@ function DAe(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = Bk(e, n.sort || "new", n.dir || "");+ let n = c(), i = Ik(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -75653,7 +75790,7 @@ function DAe(e, t, n) {}//#endregion//#region src/react/entity-page/entity-loading.ts-function OAe(e) {+function nje(e) {return async (t, n, r) => {!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -75662,7 +75799,7 @@ function OAe(e) {}//#endregion//#region src/react/entity-page/entity-portrait.ts-function kAe(e, t) {+function rje(e, t) {let n = e === "studio" || e === "agency", r = t.id ? Ia({kind: e,id: t.id,@@ -75685,11 +75822,11 @@ function kAe(e, t) {}//#endregion//#region src/react/entity-page/entity-application.ts-function AAe(e) {- let t = wAe(), n = {+function ije(e) {+ let t = QAe(), n = {...e.helpers,- portraitImg: kAe- }, r = DAe(e.controller, n, e.actions);+ portraitImg: rje+ }, r = tje(e.controller, n, e.actions);return {...r,helpers: n,@@ -75698,13 +75835,13 @@ function AAe(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: OAe(e.loading),- photos: EAe(e.photos)+ loading: nje(e.loading),+ photos: eje(e.photos)};}//#endregion//#region src/card-art/feed-identity.ts-function jAe(e) {+function aje(e) {let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${B(e.code)}" data-actor="${B(t.source_actor_id)}" data-name="${B(t.name)}"` : "", i = n ? "" : La(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${B(en("performer", t.name, t.id))}" aria-label="打开女优页:${B(t.name)}">${i}</a>` : `<span class="mav"${r} title="${B(t.name)}">${i}</span>`;@@ -75713,7 +75850,7 @@ function jAe(e) {}//#endregion//#region src/application/feed.js-var H8 = {+var V8 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -75729,56 +75866,56 @@ var H8 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function U8(e) {+function H8(e) {return e.has_cover ? Ha(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${is("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : Ha(e, "big").replace(/ src="[^"]*"/, ` src="${B(Ma(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function MAe(e) {- let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = U8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? eI({+function oje(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = H8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? lF({is_jav: !0,code: e.code,name: e.code,display_title: e.title || ""}) : B(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${B(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${gA}">${n}+ ${a}<div class="pic" style="--card-ratio:${mA}">${n}<div class="hovertools feednewtools"><button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${B(r)}">${R("star")}</button><button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${B(r)}">${R("x")}</button><button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${B(r)}">${R("check")}</button></div></div>- <div class="meta">${jAe(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${aje(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function NAe() {+function sje() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;- H8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${un(e)}`, t.parts]));+ V8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${un(e)}`, t.parts]));} catch {}}-async function W8() {- let e = J, t = await z("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (H8.entityShapesComplete = !0, H8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && K8(t.home.feed), X8(location.pathname) && q8(L("#feedNew"))), H8.entityShapes;+async function U8() {+ let e = Y, t = await z("/api/entity/shapes", { signal: e.signal }).catch(() => null);+ return e.isActive && t && !t.error && (V8.entityShapesComplete = !0, V8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && G8(t.home.feed), Y8(location.pathname) && K8(L("#feedNew"))), V8.entityShapes;}-var G8 = "peach.home-feed.v1";-function K8(e) {+var W8 = "peach.home-feed.v1";+function G8(e) {X.homeHasFeed = e;try {- localStorage.setItem(G8, e ? "1" : "0");+ localStorage.setItem(W8, e ? "1" : "0");} catch {}}-function PAe() {+function cje() {try {- let e = localStorage.getItem(G8);+ let e = localStorage.getItem(W8);return e === "1" || e !== "0" && null;} catch {return null;}}-function q8(e) {- !e || $V(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = H8.feedNewSkeletonHtml())));+function K8(e) {+ !e || FV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = V8.feedNewSkeletonHtml())));}-function FAe(e, t) {+function lje(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : ts(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -75786,56 +75923,56 @@ function FAe(e, t) {actionHref: "/sources"});}-function J8(e) {+function q8(e) {let t = e && !e.error && e.items || [];- return FAe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(MAe).join("")}</div>`;+ return lje(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(oje).join("")}</div>`;}-function Y8(e) {+function J8(e) {e && ($7(e), Z.appSettings.feedAutoScroll && Qs(e));}-function X8(e) {+function Y8(e) {return Zt(e) && e !== "/junk-files";}-function IAe() {+function uje() {let e = L("#feedNew");- $V(e) ? rH(e, { revision: ++H8.feedRevision }) : (q8(e), nH("feed-new", {+ FV(e) ? zV(e, { revision: ++V8.feedRevision }) : (K8(e), RV("feed-new", {host: e,- revision: H8.feedRevision,- helpers: H8.feedNewHelpers,- actions: H8.feedNewActions+ revision: V8.feedRevision,+ helpers: V8.feedNewHelpers,+ actions: V8.feedNewActions}, {container: e,- isCurrent: () => X8(location.pathname)+ isCurrent: () => Y8(location.pathname)}));}-function Z8() {+function X8() {let e = L("#feedNew");- e.querySelectorAll(".feednewrow").forEach($s), iH(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");+ e.querySelectorAll(".feednewrow").forEach($s), BV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}-function Q8() {- H8.feedRevision += 1, rH(L("#feedNew"), { revision: H8.feedRevision }), a5({ feedRevision: H8.feedRevision });+function Z8() {+ V8.feedRevision += 1, zV(L("#feedNew"), { revision: V8.feedRevision }), a5({ feedRevision: V8.feedRevision });}-function LAe() {+function dje() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Qs(e) : $s(e));}-var $8 = 0;-function RAe([e]) {- let t = e.contentRect.width >= H8.HERO_WIDE_PX;- cancelAnimationFrame($8), $8 = requestAnimationFrame(() => {- $8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);+var Q8 = 0;+function fje([e]) {+ let t = e.contentRect.width >= V8.HERO_WIDE_PX;+ cancelAnimationFrame(Q8), Q8 = requestAnimationFrame(() => {+ Q8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);});}-function zAe() {- H8.FEED_SKELETON_CARDS = 8, H8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${gA}"></div>+function pje() {+ V8.FEED_SKELETON_CARDS = 8, V8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${mA}"></div><div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>- <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(H8.FEED_SKELETON_CARDS)}</div>`, H8.entityShapes = null, H8.entityShapesComplete = !1, H8.hasEntityShape = (e, t) => H8.entityShapesComplete || !!H8.entityShapes?.has(`${e}/${un(t)}`), H8.hasEntityPart = (e, t, n) => !!t && !!H8.entityShapes?.get(`${e}/${un(t)}`)?.includes(n), H8.feedNewSkeletonSection = () => `<section class="feednew">${H8.feedNewSkeletonHtml()}</section>`, H8.COSTAR_SKELETON_PEOPLE = 12, H8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(H8.COSTAR_SKELETON_PEOPLE)}</div></div>`, H8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, H8.feedRevision = 0, H8.feedNewHelpers = {- feedRowHtml: J8,- wireFeedRow: (e) => Y8(e)- }, H8.feedNewActions = { settled: (e) => K8(e) }, H8.HERO_WIDE_PX = 900, J.resize(RAe).observe(L("#index"));+ <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(V8.FEED_SKELETON_CARDS)}</div>`, V8.entityShapes = null, V8.entityShapesComplete = !1, V8.hasEntityShape = (e, t) => V8.entityShapesComplete || !!V8.entityShapes?.has(`${e}/${un(t)}`), V8.hasEntityPart = (e, t, n) => !!t && !!V8.entityShapes?.get(`${e}/${un(t)}`)?.includes(n), V8.feedNewSkeletonSection = () => `<section class="feednew">${V8.feedNewSkeletonHtml()}</section>`, V8.COSTAR_SKELETON_PEOPLE = 12, V8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(V8.COSTAR_SKELETON_PEOPLE)}</div></div>`, V8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, V8.feedRevision = 0, V8.feedNewHelpers = {+ feedRowHtml: q8,+ wireFeedRow: (e) => J8(e)+ }, V8.feedNewActions = { settled: (e) => G8(e) }, V8.HERO_WIDE_PX = 900, Y.resize(fje).observe(L("#index"));}//#endregion//#region src/entity-skeleton.ts-function BAe(e, t, n, r = "") {+function mje(e, t, n, r = "") {let i = e === "studio" || e === "agency", a = new URLSearchParams(location.search), o = a.get("browse") === "folders" || a.get("folder") ? `<div class="peach-react entity-folder-workspace" data-folder-workspace data-folder-browse><aside data-folder-tree-host><div class="flex flex-col gap-3"><span class="skeleton ui-configuration-skeleton-input"></span>${"<span class=\"skeleton\" style=\"width:75%;height:32px\"></span>".repeat(8)}</div></aside><div class="min-w-0"><div data-folder-header-host><span class="skeleton" style="width:160px;height:32px"></span></div>${n}</div></div>` : n;return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料"><span class="sr-only">正在读取资料</span><div aria-hidden="true" inert><div class="peach-react contents">@@ -75850,10 +75987,10 @@ function BAe(e, t, n, r = "") {}//#endregion//#region src/filter-controls-skeleton.ts-var e5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Vo(e, "size-4 shrink-0"), t5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", n5 = (e, t, n) => `<span data-entity-layout="" class="${gW}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${_W}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${t5}>${e5(r)}</span>`).join("")}</span>`;-function r5(e, t) {- let n = lM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? n5(t.label, t.value, t.options) : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${t5}>${e5("shuffle")}</button>${i}${n5("馆藏显示方式", n, [[+var $8 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Vo(e, "size-4 shrink-0"), e5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", t5 = (e, t, n) => `<span data-entity-layout="" class="${xU}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${SU}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${e5}>${$8(r)}</span>`).join("")}</span>`;+function n5(e, t) {+ let n = fM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? t5(t.label, t.value, t.options) : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${e5}>${$8("shuffle")}</button>${i}${t5("馆藏显示方式", n, [["cards","卡片","ri-layout-grid-line"@@ -75861,11 +75998,11 @@ function r5(e, t) {"list","列表","ri-list-unordered"- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${t5}>${e5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${t5}>${B(e.label)}${e.dir ? e5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${e5}>${$8("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${e5}>${B(e.label)}${e.dir ? $8(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;}//#endregion//#region src/application/entity.js-var Y = {+var r5 = {ENTITY_FILTER_KEYS: void 0,emptyEntityFilters: void 0,parseEntityFilters: void 0,@@ -75891,11 +76028,11 @@ var Y = {application: void 0};function i5() {- let e = QV(L("#index"));+ let e = PV(L("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}function a5(e) {- Y.entityPageCurrent() && rH(L("#index"), e);+ r5.entityPageCurrent() && zV(L("#index"), e);}function o5() {if (Cl.type === "item") return Cl;@@ -75912,24 +76049,24 @@ function o5() {return Cl;}function s5(e, t, n = e7()) {- return Pje(n).map(([n, r]) => {- let i = e === n, a = Bk(n, e, t);+ return cMe(n).map(([n, r]) => {+ let i = e === n, a = Ik(n, e, t);return {key: n,label: r,pressed: i,- dir: i && Rk(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? Rk(a.sort, a.dir) : ""}排序` : ""+ dir: i && Pk(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? Pk(a.sort, a.dir) : ""}排序` : ""};});}-function c5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {- return Y.application.route(e, t, n, r, i);+function c5(e, t, n, r = r5.EMPTY_ENTITY_MEDIA, i = {}) {+ return r5.application.route(e, t, n, r, i);}function l5() {- return TAe({- entityWall: Y.entityPageWall,- entityCurrent: Y.entityPageCurrent(),+ return $Ae({+ entityWall: r5.entityPageWall,+ entityCurrent: r5.entityPageCurrent(),indexVisible: !L("#index").hidden,pathname: location.pathname,followMedia: $.followMediaView,@@ -75937,27 +76074,27 @@ function l5() {}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}function u5() {- Y.photos.sync();+ r5.photos.sync();}function d5() {- l5() ? Foe(SA()) : FA();+ l5() ? Ioe(bA()) : NA();}-function VAe(e) {- Y.photos.setSize(e);+function hje(e) {+ r5.photos.setSize(e);}-var f5 = SAe({+var f5 = XAe({request: (e) => z("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })}),- success: () => S8.toast({ text: "已在资源管理器中显示" }),- failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))+ success: () => x8.toast({ text: "已在资源管理器中显示" }),+ failureText: (e) => r5.sourceHint(e instanceof Error ? e.message : String(e))});async function p5(e) {let t = { textContent: "" };return await f5(e, t), t.textContent;}-async function HAe(e) {+async function gje(e) {let t = { textContent: "" }, n = [];return await m5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));@@ -75974,12 +76111,12 @@ async function m5(e, t, n) {body: JSON.stringify({ id: e })});if (r.ok === !1) {- t.textContent = Y.sourceHint(r.error);+ t.textContent = r5.sourceHint(r.error);return;}- if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {+ if (t.textContent = r.removed ? `${r5.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);- n && n(r), S8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {+ n && n(r), x8.actionReceipt(r5.syncedText(r), { undo: e.length ? async () => {await z("/api/batch", {method: "POST",body: JSON.stringify({@@ -75991,22 +76128,22 @@ async function m5(e, t, n) {restored: e.length});} : null });- } else S8.actionReceipt("目录核对完成,无需改动");+ } else x8.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);+ t.textContent = r5.sourceHint(e.message), x8.actionFailure("核对目录", e);}}-function UAe(e) {- return `<div class="srctools">${Y.sourceToolButtons(e)}+function _je(e) {+ return `<div class="srctools">${r5.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function WAe(e, t) {+function vje(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && J.handler(r, "onclick", () => f5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => m5(Number(i.dataset.sync), n, t));+ r && Y.handler(r, "onclick", () => f5(Number(r.dataset.reveal), n, { button: r })), i && Y.handler(i, "onclick", () => m5(Number(i.dataset.sync), n, t));}-async function GAe(e, t) {+async function yje(e, t) {let n = yc({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -76018,9 +76155,9 @@ async function GAe(e, t) {confirmDisabled: !0,onConfirm: () => t({ alias: r.value.trim() })}), r = n.dialog.querySelector("[name=alias]");- J.handler(r, "oninput", () => {+ Y.handler(r, "oninput", () => {n.confirmButton.disabled = !r.value.trim();- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => J.handler(e, "onclick", async () => {+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => Y.handler(e, "onclick", async () => {let r = e.dataset.aliasDrop;n.close();try {@@ -76029,31 +76166,31 @@ async function GAe(e, t) {remove: !0});} catch (e) {- S8.actionFailure("撤销别名", e);+ x8.actionFailure("撤销别名", e);return;}- S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ x8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? x8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));+ } }) : x8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}function h5(e, t) {- let n = ["performer", "studio"].includes(e) && H8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ho()}${e === "agency" ? "" : r5(s5(W.sort, W.dir, n), n ? {+ let n = ["performer", "studio"].includes(e) && V8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ho()}${e === "agency" ? "" : n5(s5(W.sort, W.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: vA(),- options: pA- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${t5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${t5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${W.state === e.k}" ${t5}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = BAe(e, r, e === "agency" ? vs({+ value: gA(),+ options: dA+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${e5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${e5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${W.state === e.k}" ${e5}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = mje(e, r, e === "agency" ? vs({kind: "performers",layout: j5.peopleIndexLayout()- }) : WY("正在读取作品", EA(TA({+ }) : rY("正在读取作品", wA(CA({active: n,home: !1,portrait: !1@@ -76066,17 +76203,17 @@ function g5(e, t) {let r = (e, t, n) => {t && !e ? n() : !t && e && e.remove();};- r(n.querySelector(".entityfoot"), e !== "agency" && H8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", H8.costarSkeletonFoot())), r(n.querySelector(".feednew"), H8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", H8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && H8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", H8.factsSkeleton()));+ r(n.querySelector(".entityfoot"), e !== "agency" && V8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", V8.costarSkeletonFoot())), r(n.querySelector(".feednew"), V8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", V8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && V8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", V8.factsSkeleton()));}function _5(e) {- let t = Qt[e] || e, n = V3[t] || "条目", r = V3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+ let t = Qt[e] || e, n = B3[t] || "条目", r = B3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}function v5(e, t) {- y9(Y.application.fresh(e, t));+ y9(r5.application.fresh(e, t));}-function KAe() {- Y.ENTITY_FILTER_KEYS = [+function bje() {+ r5.ENTITY_FILTER_KEYS = ["loc","creator","tag",@@ -76086,71 +76223,71 @@ function KAe() {"orient","sort","dir"- ], Y.emptyEntityFilters = L8, Y.parseEntityFilters = (e) => R8(e, {+ ], r5.emptyEntityFilters = I8, r5.parseEntityFilters = (e) => L8(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), Y.entityFilterSearch = z8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), r5.entityFilterSearch = R8, r5.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }- } : e, Y.activeFilterState = () => {+ } : e, r5.activeFilterState = () => {let e = o5();return e.type === "home" ? W : e.filters;}, L("#q").value = W.q, X.rememberSearchValue();}-function qAe() {- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!i5(), Y.entityPageLive = (e, t) => {+function xje() {+ r5.entityPageView = "", r5.entityPageWall = !1, r5.entityPageRevision = 0, r5.entityPageCurrent = () => !!i5(), r5.entityPageLive = (e, t) => {let n = i5();return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;- }, Y.EMPTY_ENTITY_MEDIA = {+ }, r5.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, Y.parseMediaView = B8, Y.entityViewSearch = V8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => G7(), Y.entityPageHelpers = {+ }, r5.parseMediaView = z8, r5.entityViewSearch = B8, r5.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, r5.entityBodySkeleton = () => G7(), r5.entityPageHelpers = {wireDrag: (e) => {e && $7(e);},wireScroller: (e) => {e && Hs(e);},- wireFeedRow: (e) => Y8(e),- feedRowHtml: J8,- receipt: (e, t) => S8.actionReceipt(e, t),- failure: (e, t) => S8.actionFailure(e, t),- aliasForm: (e, t) => GAe(e, t),- sourceToolsHtml: (e) => UAe(e),- wireSourceTools: (e, t) => WAe(e, t),+ wireFeedRow: (e) => J8(e),+ feedRowHtml: q8,+ receipt: (e, t) => x8.actionReceipt(e, t),+ failure: (e, t) => x8.actionFailure(e, t),+ aliasForm: (e, t) => yje(e, t),+ sourceToolsHtml: (e) => _je(e),+ wireSourceTools: (e, t) => vje(e, t),comboItems: (e) => P7(e),sortKeys: (e, t, n) => s5(e, t, n)- }, Y.entityFollowActions = {+ }, r5.entityFollowActions = {...$.followFeedActions,route: () => {},shuffle: () => {},loaded: () => {},toggleSelection: () => {}- }, Y.SOURCE_HINTS = {+ }, r5.SOURCE_HINTS = {"source offline": "媒体库无法访问,暂时无法核对文件;恢复连接后重试","source not mapped": "本机没有映射这个来源的盘符","file missing": "找不到源文件;点击右侧的扫描按钮,重新检查目录并更新数据库记录","unsupported platform": "当前服务端系统不支持直接定位文件","reveal failed": "打开文件管理器失败,请重试"- }, Y.sourceHint = (e) => Y.SOURCE_HINTS[e] || e, Y.syncedText = (e) => [+ }, r5.sourceHint = (e) => r5.SOURCE_HINTS[e] || e, r5.syncedText = (e) => [e.trashed ? `已把 ${e.trashed} 项移入回收站` : "",e.vanished ? `${e.vanished} 项带个人记录,已标为已消失` : "",e.reattached ? `${e.reattached} 项的记录已接到库里的另一个版本` : ""- ].filter(Boolean).join(","), Y.sourceToolButtons = (e) => `+ ].filter(Boolean).join(","), r5.sourceToolButtons = (e) => `<button type="button" data-reveal="${e}" title="在文件管理器里打开源文件所在目录"aria-label="定位源文件">${R("folder-open")}</button><button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${R("folder-sync")}</button>`;}-function JAe() {- Y.application = AAe({+function Sje() {+ r5.application = ije({controller: {context: () => {let e = o5();return e.type === "entity" ? e : null;},- live: (e, t) => Y.entityPageLive(e, t),- current: () => Y.entityPageCurrent(),+ live: (e, t) => r5.entityPageLive(e, t),+ current: () => r5.entityPageCurrent(),route: (e, t = !1) => Q.route(e, t),suffix: () => location.search + location.hash,restoreHomeContext: () => Zl({ barsContext: {@@ -76164,14 +76301,14 @@ function JAe() {jav: W.jav === "1"}),preferences: () => ({- revision: Y.entityPageRevision,- feedRevision: H8.feedRevision,- photoSize: SA(),- photoLayout: CA(),- photoLayouts: hA,+ revision: r5.entityPageRevision,+ feedRevision: V8.feedRevision,+ photoSize: bA(),+ photoLayout: xA(),+ photoLayouts: pA,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: vA(),- javLayouts: pA,+ javLayout: gA(),+ javLayouts: dA,states: X.VIEW_PILLS,peopleLayout: j5.peopleIndexLayout(),layout: W7(),@@ -76180,56 +76317,56 @@ function JAe() {seekSeconds: Z.appSettings.seekSeconds,groupCollapse: Z.appSettings.groupCollapse,wireDrag: $7,- skeletonHtml: Y.entityBodySkeleton,- canLoadMore: Y.entityBodyCanLoadMore,+ skeletonHtml: r5.entityBodySkeleton,+ canLoadMore: r5.entityBodyCanLoadMore,follow: {helpers: $.followFeedHelpers,- actions: Y.entityFollowActions+ actions: r5.entityFollowActions}}),changeFilter: S7,- rollSeed: () => S8.rollSeed(),+ rollSeed: () => x8.rollSeed(),writeSeed: (e) => {W.seed = e, Ql();},setJavLayout: r7,- javLayout: vA,- setPhotoLayout: OA,+ javLayout: gA,+ setPhotoLayout: EA,syncPhotoWalls: u5,openEntity: v5,photoViewActive: l5,recordPainted: (e, t) => {- Y.entityPageView = e, Y.entityPageWall = t;+ r5.entityPageView = e, r5.entityPageWall = t;},syncDensity: d5,scheduleSticky: u7,- releasePage: () => iH(L("#index")),+ releasePage: () => BV(L("#index")),showMissing: _5,- dropBars: O8+ dropBars: D8},loading: {- shapesReady: (e, t) => H8.hasEntityShape(e, t),+ shapesReady: (e, t) => V8.hasEntityShape(e, t),waitShapes: R5,paintSkeleton: h5,resetView: () => {- Zl({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;+ Zl({ detailReturnBarsContext: null }), r5.entityPageView = "", r5.entityPageWall = !1;},- loadShapes: W8,+ loadShapes: U8,syncParts: g5},photos: {preferences: () => ({- size: SA(),- layout: CA(),+ size: bA(),+ layout: xA(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),pushEntity: a5,pushFollow: w9,syncDensity: d5,- storeSize: Noe+ storeSize: Poe},- helpers: Y.entityPageHelpers,+ helpers: r5.entityPageHelpers,actions: {toggleTag: N7,openFollowAuthor: P5,@@ -76239,12 +76376,12 @@ function JAe() {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection})- }), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;+ }), r5.photos = r5.application.photos, r5.entityPageHelpers = r5.application.helpers;}//#endregion//#region src/application/playlists.jsvar y5 = { playlistWrite: void 0 };-function YAe(e, t) {+function Cje(e, t) {e === "tag" ? (Zl({ state: {...W,tag: t,@@ -76260,7 +76397,7 @@ function b5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${B(e)}"></label>`;}-async function XAe({ title: e, count: t, save: n }) {+async function wje({ title: e, count: t, save: n }) {let r = yc({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,@@ -76274,14 +76411,14 @@ async function XAe({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await a9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {+ i && (await a9(a.id, a.current_asset_id, !0), x8.actionReceipt("已保存为播放列表", { undo: async () => {await y5.playlistWrite({action: "delete",id: a.id}), y9("/playlists");} }));}-async function ZAe(e) {+async function Tje(e) {let t = ((await z("/api/playlists")).items || []).map((e) => `<label class="pickrow">${ss(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${B(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = yc({title: "加入播放列表",@@ -76309,11 +76446,11 @@ async function ZAe(e) {let e = n.dialog.querySelector("[name=\"name\"]").value.trim();n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");};- J.listen(n.dialog, "input", r), J.listen(n.dialog, "change", r);+ Y.listen(n.dialog, "input", r), Y.listen(n.dialog, "change", r);let { confirmed: i, result: a } = await n.done;if (!i) return;let o = +!!a.created + a.added.length;- S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ x8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {for (let t of a.added) await y5.playlistWrite({action: "remove",id: t,@@ -76327,16 +76464,16 @@ async function ZAe(e) {}function x5() {cl(), r9(!1), H5();- let e = QV(L("#stats"));+ let e = PV(L("#stats"));e?.path !== "/playlists" || !e.host.isConnected ? Zl({ pageOpens: Hl + 1 }) : (V5({ manage: !1 }), Zl({ playlistsRevision: Jl + 1 }));}-function QAe(e) {+function Eje(e) {Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));}function S5(e) {- Zl({ configurationRequestedSection: e }), Q.navigatePath(kV(e));+ Zl({ configurationRequestedSection: e }), Q.navigatePath(dV(e));}-function $Ae() {+function Dje() {y5.playlistWrite = (e) => z("/api/playlist", {method: "POST",body: JSON.stringify(e)@@ -76356,18 +76493,18 @@ function w5(e, t, n, r, i = !1) {};}function T5(e, t, n, r, i, a = !1) {- let o = n === "follow", s = wX(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+ let o = n === "follow", s = LY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {...w5(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function eje(e, t, n, r) {+function Oje(e, t, n, r) {let i = C5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: Y$(n).view === "dismissed"+ junkDismissed: c$(n).view === "dismissed"};}//#endregion@@ -76390,7 +76527,7 @@ function D5() {}), w9({selected: new Set(El),selectMode: Dl- }), E5.batchDockProps = uje(), v8() && (v8().render(E5.batchDockProps), Z.syncGlassOptics());+ }), E5.batchDockProps = Rje(), _8() && (_8().render(E5.batchDockProps), Z.syncGlassOptics());}function O5(e, t = !1) {Zl(w5({@@ -76398,25 +76535,25 @@ function O5(e, t = !1) {followSelected: El}, A5(), C5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Dl), Dl && cl(), L("#selectMode").setAttribute("aria-pressed", String(Dl)), D5();}-function tje() {+function kje() {return [...F5.gridCards()].map((e) => +e.dataset.id);}function k5(e, t = !1) {Zl(T5({selected: Tl,followSelected: El- }, A5(), C5(location.pathname), tje(), e, t)), O5(!0);+ }, A5(), C5(location.pathname), kje(), e, t)), O5(!0);}-function nje() {+function Aje() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function rje(e, t = !1) {+function jje(e, t = !1) {Zl(T5({selected: Tl,followSelected: El- }, A5(), "follow", nje(), e, t)), O5(!0);+ }, A5(), "follow", Aje(), e, t)), O5(!0);}-async function ije(e, t) {+async function Mje(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -76450,7 +76587,7 @@ async function ije(e, t) {if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));O5(!1, !0), await a7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ x8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [null,"manual",@@ -76485,7 +76622,7 @@ async function ije(e, t) {}});}-async function aje() {+async function Nje() {let e = [...Tl];if (!e.length) return;let t = yc({@@ -76511,13 +76648,13 @@ async function aje() {};}});- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => J.handler(e, "onclick", () => {+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => Y.handler(e, "onclick", () => {t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;}));let { confirmed: n, result: r } = await t.done;- n && (O5(!1, !0), await a7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (O5(!1, !0), await a7(), x8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function oje(e, t) {+async function Pje(e, t) {let n = [...El];if (!n.length) return;let r = {@@ -76543,7 +76680,7 @@ async function oje(e, t) {items: n,to: e})- }), O5(!1, !0), location.pathname === "/follow" && Zl({ pageOpens: Hl + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), O5(!1, !0), location.pathname === "/follow" && Zl({ pageOpens: Hl + 1 }), x8.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {throw cc(t, !1), e;} finally {@@ -76552,7 +76689,7 @@ async function oje(e, t) {}});}-async function sje(e, t) {+async function Fje(e, t) {let n = [...Tl];if (!n.length) return;let r = {@@ -76581,7 +76718,7 @@ async function sje(e, t) {})}), O5(!1, !0), await I7();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;- S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {+ x8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {await z("/api/batch", {method: "POST",body: JSON.stringify({@@ -76598,8 +76735,8 @@ async function sje(e, t) {}});}-function cje() {- rAe({+function Ije() {+ jAe({root: L("[data-batch-dock]"),run: (e, t, n) => {E5.BATCH_RUNNERS[e]?.(t, n);@@ -76608,12 +76745,12 @@ function cje() {e.render(E5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function lje() {+function Lje() {E5.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, E5.trashCount = null, E5.currentSelectSurface = () => C5(location.pathname), J.handler(L("#selectMode"), "onclick", () => O5(!Dl, !!Dl)), E5.REGION_CHOICES = [+ }, E5.trashCount = null, E5.currentSelectSurface = () => C5(location.pathname), Y.handler(L("#selectMode"), "onclick", () => O5(!Dl, !!Dl)), E5.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],@@ -76621,21 +76758,21 @@ function lje() {["other", "其他"],["none", "撤回判定"]], E5.BATCH_RUNNERS = {- batch: ije,- region: aje,- follow: oje,- junk: sje,+ batch: Mje,+ region: Nje,+ follow: Pje,+ junk: Fje,clear: () => O5(!1, !0)- }, J.handler(L("#density"), "onclick", () => {- l5() ? VAe(SA() === "big" ? "small" : "big") : Poe();- }), FA(), ol({+ }, Y.handler(L("#density"), "onclick", () => {+ l5() ? hje(bA() === "big" ? "small" : "big") : Foe();+ }), NA(), ol({selecting: () => Dl,censored: () => Z7(),delaySeconds: () => Z.appSettings.hoverDelaySeconds- }), J.listen(window, "pagehide", () => cl()), J.listen(document, "visibilitychange", () => {+ }), Y.listen(window, "pagehide", () => cl()), Y.listen(document, "visibilitychange", () => {document.hidden && cl();- }), rl(), E5.coverRecheck = 0, J.listen(window, "resize", () => {- el(L("#index")), clearTimeout(E5.coverRecheck), E5.coverRecheck = J.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {+ }), rl(), E5.coverRecheck = 0, Y.listen(window, "resize", () => {+ el(L("#index")), clearTimeout(E5.coverRecheck), E5.coverRecheck = Y.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {e.complete && Gc(e);}), 200);}, { passive: !0 });@@ -76648,8 +76785,8 @@ function A5() {followLastSelectedId: kl};}-function uje() {- return eje({+function Rje() {+ return Oje({selected: Tl,followSelected: El}, location.pathname, location.search, W.state);@@ -76660,31 +76797,31 @@ var j5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function dje() {+function zje() {return Z.appSettings.followLayout === "table" ? "table" : "default";}-function fje() {- return AQ(location.search);+function Bje() {+ return UZ(location.search);}-function pje(e) {- return jQ(e);+function Vje(e) {+ return WZ(e);}-function mje(e) {- Q.route(pje(e));+function Hje(e) {+ Q.route(Vje(e));}-function hje(e = "") {- return MQ(location.search, e);+function Uje(e = "") {+ return GZ(location.search, e);}-function gje(e) {- return I8(e);+function Wje(e) {+ return F8(e);}function M5(e) {- return P8(e);+ return N8(e);}function N5() {L("#stats").hidden = !0, L("#index").hidden = !1, R7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function _je(e, t) {+function Gje(e, t) {Zl({ state: {...W,state: "",@@ -76695,20 +76832,20 @@ function _je(e, t) {function P5(e) {j5.controller.openFollowAuthor(e);}-function vje(e) {+function Kje(e) {j5.controller.openFollowTag(e);}-function yje() {+function qje() {$.FOLLOW_MANAGE_TABS = ["list","add","feeds"- ], J.listen(document, "click", (e) => {+ ], Y.listen(document, "click", (e) => {e.target.closest?.("[data-empty-settings]") && S5("媒体库与入库");- }), j5.peopleIndexLayout = () => H3(Z.appSettings.peopleLayout), j5.personAvatar = F8;+ }), j5.peopleIndexLayout = () => V3(Z.appSettings.peopleLayout), j5.personAvatar = P8;}-function bje() {- j5.controller = xAe({+function Jje() {+ j5.controller = YAe({route: Q.route,followView: x9,adoptFollowView: S9,@@ -76735,12 +76872,12 @@ function I5(e = "正在读取作品") {return;}let t = L("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = yCe(Y$(location.search)), Ts(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && w7({+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = xCe(c$(location.search)), Ts(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && w7({count: null,...D7()})), L("#loadSentinel").hidden = !0, V7()) return;let r = L("#grid"), i = G7(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== f2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== K7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), Ts(L("#grid")));+ (a?.dataset.skeleton !== d2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== K7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), Ts(L("#grid")));}function L5() {L("#catalogFilter").style.display = "none", C7();@@ -76749,38 +76886,38 @@ function R5() {let e = new Promise((e) => {let t = F5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();- t -= Math.min(i - n, 50), n = i, t > 0 ? J.delay(r, Math.min(t, 50)) : e();+ t -= Math.min(i - n, 50), n = i, t > 0 ? Y.delay(r, Math.min(t, 50)) : e();};- J.delay(r, 50);+ Y.delay(r, 50);});- return Promise.race([F5.entityShapesReady ||= W8(), e]);+ return Promise.race([F5.entityShapesReady ||= U8(), e]);}-function xje() {+function Yje() {let e = decodeURIComponent(location.pathname);if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), L5();else if (/^\/assets\/\d+$/.test(e)) L5();else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) L5();else if (e === "/junk-files") I5("正在读取垃圾文件");- else if (e === "/jav" && u1(new URLSearchParams(location.search).get("tab")) === "library") I5("正在读取馆藏");+ else if (e === "/jav" && C$(new URLSearchParams(location.search).get("tab")) === "library") I5("正在读取馆藏");else if (Q.managedPagePath(e)) {L5();let t = L("#stats");t.hidden = !1, R7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : F5.managementPlaceholder(e), Ts(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) L5(), N5(), G3(L("#index"), U3(e.slice(1), location.search), j5.peopleIndexLayout());+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) L5(), N5(), W3(L("#index"), H3(e.slice(1), location.search), j5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {L5(), L("#index").hidden = !1, R7();let t = $t[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (H8.hasEntityShape(t, n) ? Promise.resolve() : R5()).then(() => {+ (V8.hasEntityShape(t, n) ? Promise.resolve() : R5()).then(() => {L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (h5(t, n), Ts(L("#index")));});} else Q.routeMeta(e) ? I5() : (R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function Sje() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => u2(t, {+function Xje() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => l2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: SA()+ gridSize: bA()}), $.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="peach-react"><div class="follow" data-follow-feed><div data-follow-head><h2 data-follow-title>关注</h2></div><div class="tier followauthors" data-skeleton-tier="av"></div>@@ -76790,15 +76927,15 @@ function Sje() {<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = is(rs), F5.setGridCards = (e) => gs(L("#grid"), () => {L("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), F5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), F5.managementPlaceholder = (e) => d2(e, {- followLayout: dje(),+ }), F5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), F5.managementPlaceholder = (e) => u2(e, {+ followLayout: zje(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(fje())+ }))(Bje())}), F5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", F5.entityShapesReady = null, F5.ENTITY_SHAPES_WAIT = 400, F5.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = WV(decodeURIComponent(t.pathname))?.title;+ let t = new URL(e, location.origin), n = EV(decodeURIComponent(t.pathname))?.title;document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, p9();};}@@ -76811,7 +76948,7 @@ var z5 = (e) => e.replace(/[&<>"']/g, (e) => ({"\"": ""","'": "'"})[e]);-function Cje(e, t, n) {+function Zje(e, t, n) {let r = new Map(t.map((e) => [e[0], e]));return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${z5(r)}"/></svg>`;@@ -76820,7 +76957,7 @@ function Cje(e, t, n) {}//#endregion//#region src/application/filter-scroll.js-function wje(e, t, n, r = !1) {+function Qje(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -76862,15 +76999,15 @@ var B5 = {mobileFilterPath: void 0};function V5({ manage: e = !0, placeholder: t = "" } = {}) {- L("#stats").hidden = !1, L("#index").hidden = !0, R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? X5() : (Z5(""), h9()), t && p2(L("#stats"), t);+ L("#stats").hidden = !1, L("#index").hidden = !0, R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? X5() : (Z5(""), h9()), t && f2(L("#stats"), t);}function H5() {X.hideCatalogCombo(), L5(), document.body.classList.remove("entity-open", "index-open");}function U5() {- document.body.classList.remove("entity-open", "index-open"), iH(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, X8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", C7(), X5(), Q5();+ document.body.classList.remove("entity-open", "index-open"), BV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Y8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", C7(), X5(), Q5();}-function Tje() {+function $je() {Q.route("/"), U5();}function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {@@ -76898,7 +77035,7 @@ function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {});}function G5(e) {- jMe({+ aNe({...x9(),...e}), m9({ filters: $.followSidebarFilters() });@@ -76910,33 +77047,33 @@ function q5(e) {let t = L("#drawer"), n = !e && t.contains(document.activeElement);t.inert = !e && K5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");}-function Eje() {+function eMe() {K5() && q5(!1);}-function Dje() {+function tMe() {Bl === null && (Zl({ runtimeConfigurable: !1 }), z("/healthz").then((e) => {Zl({ runtimeConfigurable: !!e.configurable }), Bl && Y5() && X5();}).catch(() => {}));}function J5(e = "", t = !1) {- if (!t && !DV(location.pathname)) {- let t = pH.navigation;- pH.push(kV(e), { settingsBackground: {+ if (!t && !lV(location.pathname)) {+ let t = YV.navigation;+ YV.push(dV(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && mH(kV(e), {+ } else !t && e && XV(dV(e), {replace: !0,- state: pH.navigation.location.state+ state: YV.navigation.location.state});- return e ||= OV(location.pathname), eAe(B5.settingsHost()).then((t) => (t.open(e), t));+ return e ||= uV(location.pathname), OAe(B5.settingsHost()).then((t) => (t.open(e), t));}-function Oje() {- DV(location.pathname) && (AV(pH.navigation.location.state) ? pH.go(-1) : Q.navigatePath("/", !0));+function nMe() {+ lV(location.pathname) && (fV(YV.navigation.location.state) ? YV.go(-1) : Q.navigatePath("/", !0));}-function kje() {+function rMe() {return {scroll: L("#drawerScroll"),store: Z.settingsStore,@@ -76968,31 +77105,31 @@ function kje() {}};}-function Aje() {+function iMe() {let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = Cje(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, s7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {- if (f8()) return;+ e.innerHTML = Zje(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, s7), e.querySelector("[data-sidebar-head]").append(...t), Y.listen(e, "click", (e) => {+ if (d8()) return;let t = e.target.closest?.("[data-nav]");t && c7(t.dataset.nav);- }), tAe(kje()).then((e) => e.render(B5.sidebarProps)).catch(() => {});+ }), kAe(rMe()).then((e) => e.render(B5.sidebarProps)).catch(() => {});}-async function jje() {- let e = J, t = null;+async function aMe() {+ let e = Y, t = null;try {t = await z("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && cA(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && aA(t, (e) => Z.settingsEffects[e]?.());}function Y5() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (W.state === "ads" ? "cleanup" : "");}function X5() {let e = Y5();- Dje(), e && L5(), L("#count").classList.toggle("no-tagbar", !!e), h9(), e !== "trash" && (E5.trashCount = null), Z5(e);+ tMe(), e && L5(), L("#count").classList.toggle("no-tagbar", !!e), h9(), e !== "trash" && (E5.trashCount = null), Z5(e);}-function Mje(e) {+function oMe(e) {return {section: e,path: decodeURIComponent(location.pathname),@@ -77003,26 +77140,26 @@ function Mje(e) {}function Z5(e = Y5()) {Q5();- let t = Mje(e), n = h8();+ let t = oMe(e), n = m8();if (n) n.render(t);else {- let e = cP(t);+ let e = xce(t);e !== B5.manageHeaderSkeleton && (B5.manageHeaderSkeleton = e, B5.manageHeaderRoot().innerHTML = e);}- let r = iP(t)?.title || "";+ let r = aP(t)?.title || "";r !== B5.lastManagePageLabel && (B5.lastManagePageLabel = r, r && hs(B5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function Nje() {+function sMe() {let e = B5.manageHeaderRoot();- J.listen(e, "click", (e) => {- if (h8()) return;+ Y.listen(e, "click", (e) => {+ if (m8()) return;let t = e.target.closest?.("[data-manage]");if (t) $5(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;e.preventDefault(), Q.navigatePath("/data-cleanup");} else e.target.closest?.("[data-empty-trash]") && M7();- }), nAe({+ }), AAe({root: e,openManage: $5,openDataCleanup: () => Q.navigatePath("/data-cleanup"),@@ -77037,46 +77174,46 @@ function Q5() {}function $5(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", Ql(), Q.route(X$()), U5(), h9(), j7());+ t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", Ql(), Q.route(l$()), U5(), h9(), j7());}function e7() {let e = decodeURIComponent(location.pathname);return e === "/" ? W.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? W.jav === "1" || Wl : !1;}-function Pje(e = e7()) {- let t = Nk.filter(([e]) => e !== "seed");- return e ? [Pk, ...t] : t;+function cMe(e = e7()) {+ let t = kk.filter(([e]) => e !== "seed");+ return e ? [Ak, ...t] : t;}function t7() {return decodeURIComponent(location.pathname) === "/" && W.jav !== "1";}function n7() {- return yA(t7());+ return _A(t7());}-function Fje(e) {- joe(e), i7(), L("#grid").hidden || q7();+function lMe(e) {+ Moe(e), i7(), L("#grid").hidden || q7();}function r7(e) {- DA(e), i7(), q7();+ TA(e), i7(), q7();}function i7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {e.checked = e.value === n7();}), X.catalogFilterProps && w7({ layout: E7() });}-function Ije(e) {- Moe(e), i7(), q7();+function uMe(e) {+ Noe(e), i7(), q7();}async function a7() {- O8(), X.mixRelatedCache.clear(), await Promise.all([o7(), j7()]);+ D8(), X.mixRelatedCache.clear(), await Promise.all([o7(), j7()]);}async function o7() {- if (Y.entityPageCurrent() && !L("#index").hidden) {- a5({ revision: ++Y.entityPageRevision });+ if (r5.entityPageCurrent() && !L("#index").hidden) {+ a5({ revision: ++r5.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (WV(e)?.reload === "reopen" || e === "/follow") {+ if (EV(e)?.reload === "reopen" || e === "/follow") {Zl({ pageOpens: Hl + 1 });return;}@@ -77093,7 +77230,7 @@ function s7(e) {return e === "jav" ? t === "/jav" || e7() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !Y5() && !W.state && !e7() && W.orient !== "竖屏" : Jt[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";}function c7(e) {- if (Eje(), B5.DIRECT_MANAGE_NAV[e]) {+ if (eMe(), B5.DIRECT_MANAGE_NAV[e]) {$5(B5.DIRECT_MANAGE_NAV[e]);return;}@@ -77118,11 +77255,11 @@ function l7() {let n = t.length > 1 && Object.prototype.hasOwnProperty.call($t, t[0]), r = Zt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";L("#selectMode").hidden = !i, L("#density").hidden = !a, u5(), !i && Dl && O5(!1, !0);}-function Lje() {+function dMe() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);(t !== B5.mobileFilterHost || location.pathname !== B5.mobileFilterPath) && (B5.mobileFilterScroll = null), B5.mobileFilterHost = t, B5.mobileFilterPath = location.pathname;let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");- B5.mobileFilterScroll = wje(B5.mobileFilterScroll, n, innerWidth <= 760, r);+ B5.mobileFilterScroll = Qje(B5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {let e = n === t && B5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;@@ -77136,52 +77273,52 @@ function Lje() {});}}-function Rje() {- Lje(), [".board-filter-frame", "#count"].forEach((e) => {+function fMe() {+ dMe(), [".board-filter-frame", "#count"].forEach((e) => {let t = L(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);});}function u7() {- B5.stickyFrame ||= J.frame(() => {- B5.stickyFrame = 0, Rje();+ B5.stickyFrame ||= Y.frame(() => {+ B5.stickyFrame = 0, fMe();});}-function zje() {+function pMe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), J.handler(L("#filterBtn"), "onclick", () => q5(!L("#drawer").classList.contains("open"))), B5.SIDEBAR_ITEMS = k8, B5.MANAGE_SECTIONS = A8, B5.MANAGE_MENU_SECTIONS = j8, B5.manageMenuSections = () => vAe(Bl === !0), B5.OPTIONAL_SIDEBAR_ITEMS = M8, B5.NAV_CATALOG = yAe, B5.DIRECT_MANAGE_NAV = bAe, B5.settingsHost = () => ({- selectSection: (e) => mH(kV(e), {+ }), Y.handler(L("#filterBtn"), "onclick", () => q5(!L("#drawer").classList.contains("open"))), B5.SIDEBAR_ITEMS = O8, B5.MANAGE_SECTIONS = k8, B5.MANAGE_MENU_SECTIONS = A8, B5.manageMenuSections = () => KAe(Bl === !0), B5.OPTIONAL_SIDEBAR_ITEMS = j8, B5.NAV_CATALOG = qAe, B5.DIRECT_MANAGE_NAV = JAe, B5.settingsHost = () => ({+ selectSection: (e) => XV(dV(e), {replace: !0,- state: pH.navigation.location.state+ state: YV.navigation.location.state}),- closed: Oje,+ closed: nMe,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => mo(e),navCatalog: B5.NAV_CATALOG,- themeOptions: Eoe,- videoLayouts: pA,- followInitialRanges: N8,+ themeOptions: Ooe,+ videoLayouts: dA,+ followInitialRanges: M8,videoLayout: () => n7(),- setVideoLayout: Ije,+ setVideoLayout: uMe,censored: Z7,- setCensored: cMe,+ setCensored: IMe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: lMe,- receipt: (e) => S8.actionReceipt(e),- failure: S8.actionFailure,- syncRemote: (e) => cA(e, (e) => Z.settingsEffects[e]?.()),+ setHighContrast: LMe,+ receipt: (e) => x8.actionReceipt(e),+ failure: x8.actionFailure,+ syncRemote: (e) => aA(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),configurable: () => z("/healthz").then((e) => (Zl({ runtimeConfigurable: !!e.configurable }), Bl)).catch(() => null)- }), J.handler(L("#settingsBtn"), "onclick", () => void J5()), B5.lastManagePageLabel = "", B5.manageHeaderSkeleton = "", B5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, B5.scrollT = null, B5.stickyFrame = 0, B5.mobileFilterScroll = null, B5.mobileFilterHost = null, B5.mobileFilterPath = "", J.listen(document, "focusin", u7), J.listen(document, "focusout", u7), J.listen(window, "scroll", () => {- u7(), location.pathname === "/follow" && C9() && Zl({ followScrollY: scrollY }), window.__scrolling = !0, cl(), clearTimeout(B5.scrollT), B5.scrollT = J.delay(() => {+ }), Y.handler(L("#settingsBtn"), "onclick", () => void J5()), B5.lastManagePageLabel = "", B5.manageHeaderSkeleton = "", B5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, B5.scrollT = null, B5.stickyFrame = 0, B5.mobileFilterScroll = null, B5.mobileFilterHost = null, B5.mobileFilterPath = "", Y.listen(document, "focusin", u7), Y.listen(document, "focusout", u7), Y.listen(window, "scroll", () => {+ u7(), location.pathname === "/follow" && C9() && Zl({ followScrollY: scrollY }), window.__scrolling = !0, cl(), clearTimeout(B5.scrollT), B5.scrollT = Y.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), J.listen(window, "resize", u7, { passive: !0 }), J.handler(L("#scrim"), "onclick", () => q5(!1));+ }, { passive: !0 }), Y.listen(window, "resize", u7, { passive: !0 }), Y.handler(L("#scrim"), "onclick", () => q5(!1));}//#endregion//#region src/catalog-filter-skeleton.ts@@ -77191,9 +77328,9 @@ var d7 = 64, f7 = (e) => e.replace(/[&<>"]/g, (e) => ({">": ">","\"": """})[e]), p7 = (e) => e.repeat(d7);-function Bje(e, t, n) {+function mMe(e, t, n) {let r = e.map((e) => `<a href="${f7(e.href)}" data-catalog-view="${f7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${f7(e.label)}</a>`).join("");- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + p7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + p7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(d7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ho()}</span>` + (n ? r5(n.sorts, n.layout) : "") + "</div></div></div></div>";+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + p7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + p7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(d7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ho()}</span>` + (n ? n5(n.sorts, n.layout) : "") + "</div></div></div></div>";}//#endregion//#region src/application/catalog.js@@ -77232,25 +77369,25 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function Vje() {+function hMe() {X.initialParams.has("loc") || (W.loc = m7(W.loc), Ql());}function m7(e) {- return lAe(e, Z.sourceOnline);+ return LAe(e, Z.sourceOnline);}function h7(e = W) {- return uAe(e);+ return RAe(e);}-function Hje() {- Zl(w8(dAe(W, Z.appSettings, S8.rollSeed))), O8();+function gMe() {+ Zl(C8(zAe(W, Z.appSettings, x8.rollSeed))), D8();}function g7(e = null, t = !1) {- Hje(), e && (Object.assign(W, e), Ql()), Q.route(e ? h7() : "/"), X.clearSearchField(), r9(!1), U5(), h9(), j7(), t && window.scrollTo({+ gMe(), e && (Object.assign(W, e), Ql()), Q.route(e ? h7() : "/"), X.clearSearchField(), r9(!1), U5(), h9(), j7(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function Uje(e, t = null) {+function _Me(e, t = null) {let n = e.id;!e.medium || e.medium === "video" ? s9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : k5(n);}@@ -77259,19 +77396,19 @@ function _7(e) {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function Wje(e, t) {- r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : v7(e, t);+function vMe(e, t) {+ n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : v7(e, t);}function v7(e, t) {- e.edition_group ? gMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? _Me(e.part_group.seed_id, e.id, !0, t) : s9(e.id, !0, null, t);+ e.edition_group ? WMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? GMe(e.part_group.seed_id, e.id, !0, t) : s9(e.id, !0, null, t);}-async function Gje(e, t) {+async function yMe(e, t) {try {let n = await z("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});- e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {+ e.watch_later = n.watch_later, t(!!n.watch_later), x8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {let n = await z("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })@@ -77279,10 +77416,10 @@ async function Gje(e, t) {e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- S8.actionFailure("更新稍后看", e);+ x8.actionFailure("更新稍后看", e);}}-async function Kje(e, t) {+async function bMe(e, t) {try {await z("/api/batch", {method: "POST",@@ -77292,7 +77429,7 @@ async function Kje(e, t) {})}), await I7();let n = t === "restore" ? "dispose" : "restore";- S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ x8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {await z("/api/batch", {method: "POST",body: JSON.stringify({@@ -77303,11 +77440,11 @@ async function Kje(e, t) {}), await I7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw x8.actionFailure("操作", e), e;}}-async function qje(e, t, n, r) {- let i = Number(e.rating) || 0, a = yM(i, t), o = async (t, r) => {+async function xMe(e, t, n, r) {+ let i = Number(e.rating) || 0, a = RM(i, t), o = async (t, r) => {let i = (await z("/api/feedback", {method: "POST",body: JSON.stringify({@@ -77321,15 +77458,15 @@ async function qje(e, t, n, r) {};try {let e = await o(a, r);- S8.actionReceipt(e ? `已评 ${vM(e)} 星` : "已取消评分", { undo: () => o(i) });+ x8.actionReceipt(e ? `已评 ${IM(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {- throw r?.aborted || S8.actionFailure("评分", e), e;+ throw r?.aborted || x8.actionFailure("评分", e), e;}}async function y7(e) {let t = new URLSearchParams();if (e7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && W.state && t.set("state", W.state), e.type !== "item") {- let e = Y.activeFilterState();+ let e = r5.activeFilterState();["loc","creator",@@ -77349,16 +77486,16 @@ async function y7(e) {e[n] && t.set(n, e[n]);});}- return gAe(t.toString(), X.topsQueryParams(e).toString());+ return WAe(t.toString(), X.topsQueryParams(e).toString());}-function Jje() {+function SMe() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");let t = () => {e.classList.remove("refiltering"), removeEventListener("scrollend", t);};- J.listen.bind(J, window)("scrollend", t), J.delay(t, 1200), scrollTo({+ Y.listen.bind(Y, window)("scrollend", t), Y.delay(t, 1200), scrollTo({top: 0,behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"});@@ -77371,13 +77508,13 @@ async function x7(e) {t === X.facetCountsSeq && (e.type === "home" && (e9.facets = n), m9({ latest: X7(n, e) }));}function S7(e) {- Jje();+ SMe();let t = o5();if (t.type === "entity") {let n = { ...t.filters };e(n), c5(t.kind, t.name, n), b7(n), x7(o5());} else if (t.type === "item") {- let t = Y.cloneBarsContext(wl);+ let t = r5.cloneBarsContext(wl);if (r9(!1), Zl({ detailReturnBarsContext: null }), t && t.type === "entity") {e(t.filters), c5(t.kind, t.name, t.filters) ? j7() : Zl({ pageOpens: Hl + 1 });return;@@ -77388,7 +77525,7 @@ function S7(e) {} }), Q.route(h7()), U5(), j7();} else e(W), Ql(), Q.route(h7()), b7(W), x7(Cl);}-function Yje() {+function CMe() {return {tiers: null,empty: !1,@@ -77423,12 +77560,12 @@ function w7(e) {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || Yje(),+ ...X.catalogFilterProps || CMe(),...e- }, !X.catalogFilterMounting && ($V(t) ? rH(t, e) : (!t.firstChild && !n && (t.innerHTML = Bje(X.catalogViews(), X.catalogFilterProps.state, D7()), Ts(t)), X.catalogFilterMounting = nH("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (FV(t) ? zV(t, e) : (!t.firstChild && !n && (t.innerHTML = mMe(X.catalogViews(), X.catalogFilterProps.state, D7()), Ts(t)), X.catalogFilterMounting = RV("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => rH(t, X.catalogFilterProps)).finally(() => {+ }).then(() => zV(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}@@ -77450,17 +77587,17 @@ function T7() {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = Bk(e, W.sort, W.dir);+ let t = Ik(e, W.sort, W.dir);t && (W.sort = t.sort, W.dir = t.dir, Ql(), Y7());},- reshuffle: () => sMe(),+ reshuffle: () => FMe(),setLayout: (e) => {- e7() ? r7(e) : Fje(e);+ e7() ? r7(e) : lMe(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await _Ae(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ let n = (await GAe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];return e === "performers" ? n.map(k7) : n.map(A7);}};@@ -77469,13 +77606,13 @@ function E7() {return e7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: vA(),- options: pA+ value: gA(),+ options: dA} : t7() ? {name: "home-layout",label: "首页卡片版式",value: n7(),- options: pA+ options: dA} : null;}function D7() {@@ -77513,7 +77650,7 @@ function A7(e) {logo: e.has_logo ? Na(e.k, "icon", e.logo_version) : ""};}-function Xje(e) {+function wMe(e) {X.catalogFilterProps?.tiers || (X.barsRendered = "", w7({tiers: null,state: e.state || ""@@ -77522,14 +77659,14 @@ function Xje(e) {async function j7() {let e = ++X.barsRequestSeq;if (m9(), !bl(location.pathname) || Cl.type === "item") return;- let t = o5(), n = Y.activeFilterState(), r = JSON.stringify([+ let t = o5(), n = r5.activeFilterState(), r = JSON.stringify([t,n,W.state || "",W.seed || "",e7()]);- Xje(n);+ wMe(n);let [i, a] = await y7(t);if (e !== X.barsRequestSeq) return;let o = r + "\n" + JSON.stringify([i, a]);@@ -77549,7 +77686,7 @@ async function j7() {performers: 0,studios: 0};- let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = S8.seededSample(f, X.TAGS_FIRST, `tags:${W.seed || ""}`), m = new Set(p.map((e) => e.k));+ let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = x8.seededSample(f, X.TAGS_FIRST, `tags:${W.seed || ""}`), m = new Set(p.map((e) => e.k));X.catalogTagRows = d.concat(p, f.filter((e) => !m.has(e.k))).map((e) => ({k: e.k,label: fl(e.k),@@ -77575,7 +77712,7 @@ async function j7() {latest: null});}-function Zje(e, t) {+function TMe(e, t) {e9.total = e, W.state === "trash" && (E5.trashCount = {total: e9.total,shown: t@@ -77594,7 +77731,7 @@ function M7() {try {let e = await z("/api/trash/empty", { method: "POST" });if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- S8.actionReceipt(`已永久删除 ${e.purged} 项`);+ x8.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {await I7();}@@ -77640,11 +77777,11 @@ async function I7() {filters: W},detailReturnBarsContext: null- }), r9(!1), W.state === "ads") return eMe(e);- if (X.controller.page === "/junk-files" && R7(), I5(), U5(), X8(location.pathname) && W.browse !== "folders") {+ }), r9(!1), W.state === "ads") return OMe(e);+ if (X.controller.page === "/junk-files" && R7(), I5(), U5(), Y8(location.pathname) && W.browse !== "folders") {if (await F5.entityShapesReady, !Q.surfaceCurrent(e)) return;- IAe();- } else Z8();+ uje();+ } else X8();return F7(), L("#count").classList.remove("manage-static", "junkcount"), z7(e);}function L7(e) {@@ -77652,22 +77789,22 @@ function L7(e) {}function R7() {let e = L("#grid");- cl(e), iH(e), X.controller.clear(), e.innerHTML = "";+ cl(e), BV(e), X.controller.clear(), e.innerHTML = "";}function z7(e) {- return U7("/", $je, e, { place: NMe });+ return U7("/", DMe, e, { place: sNe });}-function Qje(e) {- return U7("/junk-files", nMe, e);+function EMe(e) {+ return U7("/junk-files", AMe, e);}function B7() {- return !!QV(L("#grid"));+ return !!PV(L("#grid"));}function V7() {return X.controller.taken(B7());}function H7(e) {- rH(L("#grid"), e);+ zV(L("#grid"), e);}function U7(e, t, n, r = {}) {let i = L("#grid");@@ -77675,8 +77812,8 @@ function U7(e, t, n, r = {}) {let a = X.controller.begin(e, B7()), o = t();if (!a.mount) return H7(o), a.settled;cl(i);- let s = () => iH(i);- return a.signal.addEventListener("abort", s, { once: !0 }), nH(e, o, {+ let s = () => BV(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), RV(e, o, {...r,container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()@@ -77686,28 +77823,28 @@ function U7(e, t, n, r = {}) {}function W7() {let e = t7();- return TA({+ return CA({active: e7() || e,home: e,portrait: W.orient === "竖屏"});}function G7(e = "正在读取作品") {- return WY(e, K7());+ return rY(e, K7());}function K7() {- return W ? EA(W7()) : 16 / 9;+ return W ? wA(W7()) : 16 / 9;}function q7() {V7() && (cl(L("#grid")), H7({layout: W7(),seekSeconds: Z.appSettings.seekSeconds- })), Y.entityPageCurrent() && (cl(L("#index [data-entity-hero]")), a5({+ })), r5.entityPageCurrent() && (cl(L("#index [data-entity-hero]")), a5({layout: W7(),seekSeconds: Z.appSettings.seekSeconds}));}-function $je() {+function DMe() {let e = decodeURIComponent(location.pathname), t = Zt(e), n = W.state === "trash";return {mode: "catalog",@@ -77729,9 +77866,9 @@ function $je() {mix: t && e !== "/wall" && !n && W.browse !== "folders",shorts: t && e !== "/wall" && !e7() && W.orient !== "竖屏" && !n && W.browse !== "folders",countRow: L("#count"),- onCount: Zje,+ onCount: TMe,onCountFailed: () => w7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : mq({+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : rK({jav: e7() && !t,configurable: Bl,filtered: !t@@ -77739,11 +77876,11 @@ function $je() {canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function eMe(e) {+function OMe(e) {let t = L("#count");- return X.controller.page === "/junk-files" && B7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (R7(), I5("正在读取垃圾文件")), U5(), F7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Qje(e);+ return X.controller.page === "/junk-files" && B7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (R7(), I5("正在读取垃圾文件")), U5(), F7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), EMe(e);}-async function tMe(e, t) {+async function kMe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await z("/api/batch", {@@ -77755,7 +77892,7 @@ async function tMe(e, t) {})}), await I7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ x8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {await z("/api/batch", {method: "POST",body: JSON.stringify({@@ -77765,12 +77902,12 @@ async function tMe(e, t) {}), await I7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw x8.actionFailure("操作", e), e;}}-function nMe() {+function AMe() {return {- ...Y$(location.search),+ ...c$(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,@@ -77779,15 +77916,15 @@ function nMe() {selected: new Set(Tl),countRow: L("#count"),settled: L7,- skeletonHtml: () => u2("正在读取垃圾文件", {+ skeletonHtml: () => l2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function rMe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), Zl(w8(cAe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {+function jMe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => S8(e, t, Z.appSettings, n), Zl(C8(IAe(location, Z.appSettings, x8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {@@ -77808,33 +77945,33 @@ function rMe() {};};}-function iMe() {- J.handler(L("#wallBtn"), "onclick", () => {+function MMe() {+ Y.handler(L("#wallBtn"), "onclick", () => {O5(!1, !0);let e = o5(), t = {- ...Y.activeFilterState(),+ ...r5.activeFilterState(),jav: e7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(aq(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(JG(void 0, t));}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = W.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {let n = X.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, X.gridHelpers = {badgeHtml: (e, t) => Z.srcBadge(e, t),- titleHtml: (e, t) => eI(e, t),- displayName: (e, t) => $F(e, t),+ titleHtml: (e, t) => lF(e, t),+ displayName: (e, t) => cF(e, t),tagLabel: (e) => fl(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await n8(e9.stageHost);+ let r = await t8(e9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},wallDetails: v7,- open: (e, t) => Wje(e, t),- openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : Uje(e, t),- openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : u9(e.id),+ open: (e, t) => vMe(e, t),+ openResource: (e, t) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : _Me(e, t),+ openShort: (e) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : u9(e.id),openShorts: () => u9(),- openMix: (e, t) => hMe(e, e, !0, t),+ openMix: (e, t) => UMe(e, e, !0, t),openEntity: (e, t) => v5(e, t),openUnowned: () => g7({ owner: "none" }, !0),toggleTag: (e) => {@@ -77846,9 +77983,9 @@ function iMe() {});},toggleSelection: (e, t) => k5(e, t),- watchLater: (e, t) => Gje(e, t),- rate: (e, t, n, r) => qje(e, t, n, r),- resourceOperation: (e, t) => Kje(e, t),+ watchLater: (e, t) => yMe(e, t),+ rate: (e, t, n, r) => xMe(e, t, n, r),+ resourceOperation: (e, t) => bMe(e, t),mixRelated: (e) => _7(e),canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {@@ -77877,7 +78014,7 @@ function iMe() {], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({...e,href: e.k ? Jt[e.k] : "/"- })), X.TAGS_FIRST = 26, J.listen(L("#catalogFilter"), "click", (e) => {+ })), X.TAGS_FIRST = 26, Y.listen(L("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");t && !e.defaultPrevented && (e.preventDefault(), T7().setView(t.dataset.catalogView));}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {@@ -77888,7 +78025,7 @@ function iMe() {X.catalogFilterProps && w7({ comboHidden: !0 });};}-function aMe() {+function NMe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {Dl && O5(!1, !0), Q.route(e);@@ -77900,15 +78037,15 @@ function aMe() {return await z("/api/reveal", {method: "POST",body: JSON.stringify({ id: e.id })- }), S8.toast({ text: "已在资源管理器中显示" }), "";+ }), x8.toast({ text: "已在资源管理器中显示" }), "";} catch (e) {- return Y.sourceHint(e.message);+ return r5.sourceHint(e.message);}},- operate: (e, t) => tMe(e, t)+ operate: (e, t) => kMe(e, t)};}-X.controller = new fAe();+X.controller = new BAe();//#endregion//#region src/application/preferences.jsvar Z = {@@ -77933,7 +78070,7 @@ var Z = {CENSOR_KEY: void 0};async function J7() {- let e = J;+ let e = Y;try {let t = await Un(e.signal);if (!e.isActive) return Z.sourceOnline;@@ -77943,18 +78080,18 @@ async function J7() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), Vje(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), hMe(), Z.sourceOnline;}function Y7() {let e = Q.surfacePath();if (!Zt(e) || e === "/junk-files") return I7();let t = Z.nextCatalogLoad();- return mH(h7(), {+ return XV(h7(), {replace: !0,- state: pH.navigation.location.state+ state: YV.navigation.location.state}), t;}-function oMe(e) {+function PMe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -77986,7 +78123,7 @@ function X7(e, t) {value: e.k,label: Cn[e.k] || e.k,n: e.n ?? null,- dot: oMe(e.k),+ dot: PMe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -77998,7 +78135,7 @@ function X7(e, t) {duration: !!e.stats?.duration};}-async function sMe(e = !1) {+async function FMe(e = !1) {if (e && (document.hidden || !Zt(decodeURIComponent(location.pathname)) || e9.stageOpen() || e9.immerseOpen() || Dl || Tl.size || document.activeElement === L("#q"))) return !1;if (!L("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;@@ -78008,9 +78145,9 @@ async function sMe(e = !1) {return;}let n = t === "reopen" ? e : "/stats";- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, pH.navigation.location.state) : Q.navigatePath(n);+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, YV.navigation.location.state) : Q.navigatePath(n);} else if (L("#index").hidden) {- W.sort = "seed", W.dir = "", W.seed = S8.rollSeed(), Ql(), O8(), w7({ refreshing: !0 });+ W.sort = "seed", W.dir = "", W.seed = x8.rollSeed(), Ql(), D8(), w7({ refreshing: !0 });try {let e = Y7();await null, await Promise.all([e, j7()]);@@ -78029,44 +78166,44 @@ function Z7() {function Q7(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function cMe(e) {+function IMe(e) {localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Q7(e), e && cl();}-function lMe(e) {+function LMe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}function $7(e) {return Hs(e, { drag: !0 });}-function uMe() {+function RMe() {["#nrow", "#count"].forEach((e) => $7(L(e))), document.querySelectorAll(".tier,.srow").forEach($7);}-function dMe() {+function zMe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function fMe() {+function BMe() {Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {local: "无法读取媒体目录,请检查目录是否存在及读取权限。",115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = sA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), po(Z.appSettings.uiSounds), yo(), dA(), koe(), IA(), zA(), BA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {- theme: () => dA(),+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = iA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), po(Z.appSettings.uiSounds), yo(), cA(), uA(), PA(), LA(), RA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {+ theme: () => cA(),uiSounds: () => {po(Z.appSettings.uiSounds), Z.appSettings.uiSounds && mo("toggle-on");},- glowFrame: () => RA(),+ glowFrame: () => IA(),glow: () => {- RA(), zA();+ IA(), LA();},batchSize: () => {location.pathname === "/" && I7();},defaultSort: () => {- W.sort = Z.appSettings.defaultSort, W.dir = Vk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && Y7();+ W.sort = Z.appSettings.defaultSort, W.dir = Lk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && Y7();},sortDirection: () => {- W.dir = Vk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && Y7();+ W.dir = Lk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && Y7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {@@ -78075,16 +78212,16 @@ function fMe() {},seekSeconds: () => q7(),groupCollapse: () => o7(),- feedAutoScroll: () => LAe(),- feedLimit: () => Q8(),- feedCompilations: () => Q8(),+ feedAutoScroll: () => dje(),+ feedLimit: () => Z8(),+ feedCompilations: () => Z8(),miniplayer: () => {- Z.appSettings.miniplayer || r8()?.closeMiniplayer();+ Z.appSettings.miniplayer || n8()?.closeMiniplayer();},javImage: () => {- Ea(document, Z.appSettings.javImage), q7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Vc), mMe();+ Ea(document, Z.appSettings.javImage), q7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Vc), HMe();},- searchHistoryLimit: () => rH(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => zV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {...Object.fromEntries(Object.entries(No).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : R(t)])),online: R("rss")@@ -78093,7 +78230,7 @@ function fMe() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${B(r)}" aria-label="${B(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = os;}-function pMe() {+function VMe() {Z.CENSOR_KEY = "peach-censor", Q7(localStorage.getItem(Z.CENSOR_KEY) === "1");}//#endregion@@ -78117,10 +78254,10 @@ function t9() {} : null;}function n9() {- return r8()?.exit() || Promise.resolve();+ return n8()?.exit() || Promise.resolve();}function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && g9(), r8()?.dispose({ miniplayer: n }), Zl({+ Q.queueOpenRequest !== r && g9(), n8()?.dispose({ miniplayer: n }), Zl({activeQueue: null,pendingQueueRoute: null,presentedItem: null@@ -78130,13 +78267,13 @@ function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailReturnNeedsRestore: !1}), u7(), e && Q.route(jl || "/");}-function mMe() {- r8()?.repaintPoster();+function HMe() {+ n8()?.repaintPoster();}function i9(e, t, n, r, i = null, a = {}) {t = +t;let o = Fl?.kind === e && (e === "playlist" ? Fl.playlistId : Fl.seedId) === t;- r && !o && Zl({ detailReturnPath: location.pathname + location.search }), r && RV();+ r && !o && Zl({ detailReturnPath: location.pathname + location.search }), r && bV();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -78149,19 +78286,19 @@ function i9(e, t, n, r, i = null, a = {}) {if (a.autoplay && (s.autoplay = !0), r) {g9();let e = Q.queueOpenRequest = {- seq: pH.navigation.seq,+ seq: YV.navigation.seq,cancelled: !1};Q.requestedQueue = () => s9(n == null ? null : +n, !1, s, i, !0, e), Zl({ queueOpens: Ul + 1 });} else return s9(n == null ? null : +n, !1, s, i, r);}-function hMe(e, t = e, n = !0, r = null) {+function UMe(e, t = e, n = !0, r = null) {return i9("mix", e, t, n, r);}-function gMe(e, t = e, n = !0, r = null) {+function WMe(e, t = e, n = !0, r = null) {return i9("editions", e, t, n, r);}-function _Me(e, t = e, n = !0, r = null) {+function GMe(e, t = e, n = !0, r = null) {return i9("parts", e, t, n, r);}function a9(e, t = null, n = !0) {@@ -78177,8 +78314,8 @@ async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {return;}cl(), e = e == null ? null : +e;- let o = r?.isConnected ? r : Ml?.isConnected ? Ml : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Nl, c = o9(), l = Pl || !t && !c, u = Cl.type === "item" ? wl : Y.cloneBarsContext(o5());- t ? Zl({ detailReturnPath: location.pathname + location.search }) : i || Zl({ detailReturnPath: BV() || jl }), t && RV(), r8()?.showing() !== "item" && r9(!1, !0, {+ let o = r?.isConnected ? r : Ml?.isConnected ? Ml : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Nl, c = o9(), l = Pl || !t && !c, u = Cl.type === "item" ? wl : r5.cloneBarsContext(o5());+ t ? Zl({ detailReturnPath: location.pathname + location.search }) : i || Zl({ detailReturnPath: SV() || jl }), t && bV(), n8()?.showing() !== "item" && r9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), Zl({@@ -78189,8 +78326,8 @@ async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), Zl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, VV("item"));- let d = await n8(e9.stageHost);+ } }), Zl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, CV("item"));+ let d = await t8(e9.stageHost);if (a?.cancelled) return;let f = a ? {...e9.itemDetailActions,@@ -78220,8 +78357,8 @@ async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {}), u7();}async function c9() {- let e = Y.cloneBarsContext(wl), t = jl || "/", n = Pl;- await n9(), r9(!1, !1, { miniplayer: !1 }), Zl({ detailReturnBarsContext: null }), zV(), Zl({ barsContext: e || {+ let e = r5.cloneBarsContext(wl), t = jl || "/", n = Pl;+ await n9(), r9(!1, !1, { miniplayer: !1 }), Zl({ detailReturnBarsContext: null }), xV(), Zl({ barsContext: e || {type: "home",filters: W} }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Zl({ pageOpens: Hl + 1 }) : (j7(), location.pathname === "/playlists" && Zl({ pageOpens: Hl + 1 })));@@ -78231,14 +78368,14 @@ async function l9(e, t = !0) {Zl({ detailReturnPath: location.pathname + location.search }), _9("/works/" + encodeURIComponent(e), "jav", () => l9(e, !1));return;}- let n = pH.navigation.seq, r = Y.cloneBarsContext(o5()), i = !o9(), a = BV() || (i ? "/jav?tab=discover" : jl) || "/jav?tab=discover";- r8()?.showing() !== "jav" && r9(!1, !0, { miniplayer: !1 }), Zl({+ let n = YV.navigation.seq, r = r5.cloneBarsContext(o5()), i = !o9(), a = SV() || (i ? "/jav?tab=discover" : jl) || "/jav?tab=discover";+ n8()?.showing() !== "jav" && r9(!1, !0, { miniplayer: !1 }), Zl({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), cl();- let [o, s] = await Promise.all([n8(e9.stageHost), V("/healthz")]);- pH.navigation.seq === n && (await o.open({+ let [o, s] = await Promise.all([t8(e9.stageHost), V("/healthz")]);+ YV.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,@@ -78246,9 +78383,9 @@ async function l9(e, t = !0) {close: () => void c9(),navigate: (e) => Q.navigatePath(e),canonicalCode: (t) => {- pH.navigation.seq === n && t && t !== e && mH("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ YV.navigation.seq === n && t && t !== e && XV("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: pH.navigation.location.state+ state: YV.navigation.location.state});},openTag: (e) => {@@ -78259,19 +78396,19 @@ async function l9(e, t = !0) {behavior: "smooth"});},- receipt: (e) => S8.toast({ text: e })+ receipt: (e) => x8.toast({ text: e })}}), u7());}async function u9(e = null, t = !0) {- t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await $ke(e9.immerseHost)).open(e));+ t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : (n8()?.closeMiniplayer(), await (await DAe(e9.immerseHost)).open(e));}-function vMe() {+function KMe() {e9.total = 0, e9.facets = null, e9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => S8.toast({ text: e }, t),+ toast: (e, t) => x8.toast({ text: e }, t),loadSourceStatus: () => J7(),offlineReason: (e) => Z.offlineReason(e)},@@ -78280,20 +78417,20 @@ function vMe() {e === "follow" ? E9(t, !0, n) : s9(t, !0);},openItem: (e) => void s9(e)- }, e9.stageOpen = () => !!r8()?.isOpen();+ }, e9.stageOpen = () => !!n8()?.isOpen();}-function yMe() {+function qMe() {e9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => eI(e),- displayName: (e) => $F(e),+ titleHtml: (e) => lF(e),+ displayName: (e) => cF(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => fl(e),isDurationTag: (e) => En.has(e),tagCandidates: () => e9.facets && e9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => u2("正在读取推荐", {+ relatedSkeletonHtml: () => l2("正在读取推荐", {cards: !0,className: "related-skeleton"}),@@ -78308,15 +78445,15 @@ function yMe() {Zl({ barsContext: {type: "item",id: e.id,- filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()- } }), Il && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Il}`, !1, VV("item")), Zl({ pendingQueueRoute: null })), j7();+ filters: t?.type === "entity" ? { ...t.filters } : r5.emptyEntityFilters()+ } }), Il && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Il}`, !1, CV("item")), Zl({ pendingQueueRoute: null })), j7();},redirect: (e) => {let t = !!Il;e.kind === "follow" ? (Q.queueOpenRequest = null, Zl({pendingQueueRoute: null,followDetailReturnPath: jl || "/"- }), Q.route(`/posts/${e.id}`, !t, VV("follow")), E9(e.id, !1, null, !0)) : e.kind === "item" ? s9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? y9("/playlists") : x5() : r9(!1);+ }), Q.route(`/posts/${e.id}`, !t, CV("follow")), E9(e.id, !1, null, !0)) : e.kind === "item" ? s9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? y9("/playlists") : x5() : r9(!1);},openQueueItem: (e, t, n = !0) => void i9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {@@ -78340,31 +78477,31 @@ function yMe() {behavior: "smooth"});},- addToPlaylist: (e) => ZAe(e),- saveMix: (e) => XAe(e),+ addToPlaylist: (e) => Tje(e),+ saveMix: (e) => wje(e),editPlaylist: () => y9("/playlists"),openPlaylists: () => y9("/playlists"),reveal: (e) => p5(e),- sync: (e) => HAe(e),+ sync: (e) => gje(e),trashChanged: async (e, t) => {- W.state === "ads" && (t || e === "trash") && (t || (zV(), r9(!0, !1, { miniplayer: !1 })), await I7());+ W.state === "ads" && (t || e === "trash") && (t || (xV(), r9(!0, !1, { miniplayer: !1 })), await I7());},- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: (e, t) => S8.actionFailure(e, t)+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ failure: (e, t) => x8.actionFailure(e, t)}, e9.immerseHost = {filters: () => W,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => $F(e),+ displayName: (e) => cF(e),route: (e) => Q.route("/immerse?id=" + e, !0),closed: () => g7(),openItem: (e) => void s9(e),openEntity: (e, t) => v5(e, t),openUnowned: () => g7({ owner: "none" }, !0),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- warn: (e) => S8.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => S8.actionFailure(e, t)- }, e9.immerseOpen = () => !!o8()?.isOpen(), J.handler(L("#immerseBtn"), "onclick", () => u9());+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ warn: (e) => x8.toast({ text: e }, { sound: "warning" }),+ failure: (e, t) => x8.actionFailure(e, t)+ }, e9.immerseOpen = () => !!a8()?.isOpen(), Y.handler(L("#immerseBtn"), "onclick", () => u9());}//#endregion//#region src/application/tutorial.js@@ -78377,7 +78514,7 @@ var d9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function bMe() {+async function JMe() {Lc(), await d9.writePostSetupTutorialDone(!1), await f9();}async function f9() {@@ -78409,42 +78546,42 @@ async function f9() {}e.innerHTML = d9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");let l = s[0], u = e.querySelector("[data-tutorial-collapse]"), d = e.querySelector(".post-setup-collapse-body");- d.inert = kc(), d.classList.toggle("ui-fcollapse-settled", !d.inert), J.handler(u, "onclick", () => {+ d.inert = kc(), d.classList.toggle("ui-fcollapse-settled", !d.inert), Y.handler(u, "onclick", () => {let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";t.dataset.collapsed = String(n), Ac(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), no(d, !n);- }), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => J.handler(e, "onclick", () => {+ }), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => Y.handler(e, "onclick", () => {let t = jc(), n = e.dataset.tutorialSkip;- t.add(n), Mc(t), S8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {+ t.add(n), Mc(t), x8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {let e = jc();e.delete(n), Mc(e), Oc("pending"), await f9();} }), f9();}));let f = new Map(o.map((e) => [e.key, e]));- e.querySelectorAll("[data-tutorial-task]").forEach((e) => J.handler(e, "onclick", (t) => {+ e.querySelectorAll("[data-tutorial-task]").forEach((e) => Y.handler(e, "onclick", (t) => {let n = f.get(e.dataset.tutorialTask);!n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), d9.openTutorialTarget(n));- })), J.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => d9.openTutorialTarget(l));+ })), Y.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => d9.openTutorialTarget(l));} catch {if (!Ic(n)) return;- e.innerHTML = Rc(R("alert")), e.removeAttribute("aria-busy"), J.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {+ e.innerHTML = Rc(R("alert")), e.removeAttribute("aria-busy"), Y.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {delete e.dataset.tutorialSignature, e.innerHTML = "", f9();- }), J.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);+ }), Y.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function xMe() {+function YMe() {if (Zl({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), d9.postSetupTutorialDone = null, d9.postSetupTutorialNeedsReopen = !1, Vl) {Oc("pending"), d9.postSetupTutorialDone = !1, d9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);- e.searchParams.delete("onboarding"), mH(e, {+ e.searchParams.delete("onboarding"), XV(e, {replace: !0,- state: pH.navigation.location.state+ state: YV.navigation.location.state});}{let e = new URL(location.href), t = e.searchParams.get("agentation");- localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), mH(e, {+ localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), XV(e, {replace: !0,- state: pH.navigation.location.state+ state: YV.navigation.location.state})), t === "on" && import("/dev/agentation.js").catch(() => {});}d9.postSetupTutorialTasks = async () => {@@ -78559,7 +78696,7 @@ var Q = {initialOverlayOpened: void 0};function p9() {- let e = f8();+ let e = d8();e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(s7(e.dataset.nav))));}function m9(e = {}) {@@ -78571,7 +78708,7 @@ function m9(e = {}) {}), B5.sidebarProps = {...B5.sidebarProps,...e- }, f8()?.render(B5.sidebarProps);+ }, d8()?.render(B5.sidebarProps);}function h9() {m9(), p9(), l7();@@ -78580,26 +78717,26 @@ function g9() {Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Zl({ pendingQueueRoute: null });}function _9(e, t, n) {- g9(), RV(), Q.requestedOverlay = {+ g9(), bV(), Q.requestedOverlay = {path: e,open: n- }, Q.route(e, !1, VV(t));+ }, Q.route(e, !1, CV(t));}function v9() {- Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), m9(), zV(), f9();+ Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), m9(), xV(), f9();}function y9(e) {Q.route(e), Zl({ pageOpens: Hl + 1 });}-function SMe() {+function XMe() {Q.routeMeta = (e) => {- let t = WV(e);+ let t = EV(e);return t ? { route: t } : null;- }, Q.routePathOf = (e, t) => Object.keys(UV).find((n) => UV[n][e] === t), Q.catalogPage = (e) => Zt(e) || e === "/trash", Q.managedPagePath = (e) => {- let t = WV(e);- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !PV(e) && e !== "/immerse";+ }, Q.routePathOf = (e, t) => Object.keys(TV).find((n) => TV[n][e] === t), Q.catalogPage = (e) => Zt(e) || e === "/trash", Q.managedPagePath = (e) => {+ let t = EV(e);+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !gV(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? u9(dMe()) : e === "/follow" ? T9() : e === "/playlists" || Q.catalogPage(e) ? y9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? hje() : e) : (O5(!1, !0), y9(M5({+ e === "/immerse" ? u9(zMe()) : e === "/follow" ? T9() : e === "/playlists" || Q.catalogPage(e) ? y9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? Uje() : e) : (O5(!1, !0), y9(M5({kind: e.slice(1),q: "",scope: "local",@@ -78608,35 +78745,35 @@ function SMe() {})));};}-function CMe() {+function ZMe() {Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({epoch: Q.surfaceEpoch,path: e,signal: Q.surfaceRequests?.signal- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (X8(e) || Z8(), iH(L("#stats"), L("#index")), !Zt(e) && e !== "/trash" && R7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {- Q.surfaceEpoch++, X.barsRequestSeq++, mH(e, {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Y8(e) || X8(), BV(L("#stats"), L("#index")), !Zt(e) && e !== "/trash" && R7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ Q.surfaceEpoch++, X.barsRequestSeq++, XV(e, {replace: t,state: n}), F5.syncPageTitle(e), queueMicrotask(() => {l7(), Q5(), m9(), f9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? pH.replace(e, n) : pH.push(e, n), queueMicrotask(() => {+ t ? YV.replace(e, n) : YV.push(e, n), queueMicrotask(() => {l7(), Q5();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}//#endregion//#region src/jobs.ts-function wMe(e, t, n) {+function QMe(e, t, n) {if (!Number.isFinite(n) || n <= 0) return "";let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;return `<div class="ui-board-job-progress" role="progressbar" aria-label="${B(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${B(e)}<small>${Math.round(i)}%</small></span></div>`;}-function TMe(e, t = 0, n = 0) {- return n > 0 ? wMe(e, t, n) : is(e);+function $Me(e, t = 0, n = 0) {+ return n > 0 ? QMe(e, t, n) : is(e);}-async function EMe(e) {+async function eNe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -78651,14 +78788,14 @@ async function EMe(e) {await t(2e3);}}-function DMe(e) {+function tNe(e) {let t = e.note || ((e) => ts(e, {label: "任务状态",variant: "error"- })), n = e.loading || is, r = e.progress || ((e, t, n) => TMe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");+ })), n = e.loading || is, r = e.progress || ((e, t, n) => $Me(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;- EMe({+ eNe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -78708,9 +78845,9 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function OMe(e) {+function nNe(e) {let t = (e.results || []).filter((e) => !e.ok).length;- S8.toast({ text: li(e) }, {+ x8.toast({ text: li(e) }, {warn: !!t,timeout: t ? 8e3 : 6e3,sound: t ? "warning" : "success",@@ -78723,7 +78860,7 @@ function OMe(e) {function b9() {return Xi(x9());}-function kMe() {+function rNe() {return $.controller.read();}function x9() {@@ -78744,17 +78881,17 @@ function x9() {function S9(e) {$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;}-function AMe() {- let e = QV(L("#stats"));+function iNe() {+ let e = PV(L("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}function C9() {- return !!AMe();+ return !!iNe();}function w9(e) {- C9() && rH(L("#stats"), e);+ C9() && zV(L("#stats"), e);}-function jMe(e, t = {}) {+function aNe(e, t = {}) {return $.controller.route(e, t);}function T9(e = !1) {@@ -78767,7 +78904,7 @@ async function E9(e, t = !0, n = null, r = !1) {}cl(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Zl({ followDetailReturnPath: BV() || "/follow" }), t && RV(), r8()?.showing() !== "follow" && r9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, VV("follow")), await (await n8(e9.stageHost)).open({+ t && i && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Zl({ followDetailReturnPath: SV() || "/follow" }), t && bV(), n8()?.showing() !== "follow" && r9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, CV("follow")), await (await t8(e9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -78778,16 +78915,16 @@ async function E9(e, t = !0, n = null, r = !1) {resume: t ? null : t9()}), u7();}-async function MMe() {- await n9(), r9(!1, !1, { miniplayer: !1 }), zV(), Q.route(Rl || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && C9() ? (kMe(), w9({ view: x9() })) : Zl({ pageOpens: Hl + 1 }));+async function oNe() {+ await n9(), r9(!1, !1, { miniplayer: !1 }), xV(), Q.route(Rl || "/follow"), !(r5.entityPageView && r5.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && C9() ? (rNe(), w9({ view: x9() })) : Zl({ pageOpens: Hl + 1 }));}-function NMe(e) {+function sNe(e) {let t = document.createElement("div");return t.className = "peach-react", gs(e, () => {e.textContent = "", e.append(t);}), t;}-function PMe() {+function cNe() {$.followFeedHelpers = ml({wireDrag: (e) => {e && $7(e);@@ -78796,41 +78933,41 @@ function PMe() {e && Hs(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: DMe+ jobProgress: tNe}), $.followFeedActions = {loaded: (e) => W5(e),openDetail: (e) => E9(e),openAuthor: (e) => Q.navigatePath(en("creator", e)),- toggleSelection: (e, t) => rje(e, t),+ toggleSelection: (e, t) => jje(e, t),setImagesOnly: (e) => {Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), u5();},setPhotoLayout: (e) => {- OA(e), u5();+ EA(e), u5();},canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: (e, t) => S8.actionFailure(e, t),- checkReport: (e) => OMe(e)+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ failure: (e, t) => x8.actionFailure(e, t),+ checkReport: (e) => nNe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- r8()?.showing() !== "follow" && (cl(), r9(!1), H5(), !C9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), L("#stats").querySelector(".peach-react") && iH(L("#stats")), L("#stats").replaceChildren()));+ n8()?.showing() !== "follow" && (cl(), r9(!1), H5(), !C9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), L("#stats").querySelector(".peach-react") && BV(L("#stats")), L("#stats").replaceChildren()));}}, $.followDetailActions = Sl({view: x9,adoptView: S9,rememberReturn: (e) => Zl({ followDetailReturnPath: e }),- close: () => void MMe(),+ close: () => void oNe(),open: (e, t, n) => void E9(e, !0, t, n),drawer: W5,openAuthor: (e) => Q.navigatePath(en("creator", e))}, {- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: S8.actionFailure+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ failure: x8.actionFailure});}-function FMe() {+function lNe() {$.controller = $i({location: () => location,view: x9,@@ -78848,15 +78985,15 @@ function FMe() {preferences: () => ({selectMode: Dl,selected: El,- photoSize: SA(),- photoLayout: CA(),+ photoSize: bA(),+ photoLayout: xA(),imagesOnly: !!Z.appSettings.followImagesOnly}),live: C9,push: w9,route: Q.route,openPage: y9,- rollSeed: () => Number(S8.rollSeed()),+ rollSeed: () => Number(x8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {cl(), H5(), V5({ manage: !1 });@@ -78871,15 +79008,15 @@ function FMe() {//#endregion//#region src/application/lifecycle.jsvar D9 = { overlayScan: void 0 };-function O9() {- Wbe(), uc(document), $a(document.documentElement, { variant: "page" }), $a(L("#drawerScroll")), D9.overlayScan = 0, J.mutation(() => {- D9.overlayScan ||= J.delay(() => {+function uNe() {+ Kbe(), uc(document), $a(document.documentElement, { variant: "page" }), $a(L("#drawerScroll")), D9.overlayScan = 0, Y.mutation(() => {+ D9.overlayScan ||= Y.delay(() => {D9.overlayScan = 0, sc();});}).observe(document.body, {childList: !0,subtree: !0- }), sc(), da(document.body), X.homeHasFeed = PAe(), X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {+ }), sc(), da(document.body), X.homeHasFeed = cje(), X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {content: null,filters: {},latest: null@@ -78891,7 +79028,7 @@ function O9() {}//#endregion//#region src/react/search/recommendations.ts-async function IMe(e) {+async function dNe(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -78915,9 +79052,9 @@ async function IMe(e) {let t = Ii(e);for (let n of ["videos", "images"]) {if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;- let r = Li(e, n), i = l.sources.find((e) => e.id === r.source_id), a = kW(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;+ let r = Li(e, n), i = l.sources.find((e) => e.id === r.source_id), a = PU(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;(n === "images" ? c : s).push({- value: TW(r),+ value: AU(r),id: r.id,who: a.author,href: `/posts/${r.id}`,@@ -78933,7 +79070,7 @@ async function IMe(e) {let u = (t[4]?.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: OW(l.sources.filter((t) => t.author_key === e.key), e.k),+ avatarHtml: NU(l.sources.filter((t) => t.author_key === e.key), e.k),subtitle: "关注中的作者"})), d = /* @__PURE__ */ new Map();for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {@@ -79004,7 +79141,7 @@ async function IMe(e) {}//#endregion//#region src/application/search-morph.js-function LMe(e, t, n, r, i, a, o) {+function fNe(e, t, n, r, i, a, o) {let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];return s.map((a, c) => {let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);@@ -79020,52 +79157,52 @@ function LMe(e, t, n, r, i, a, o) {}//#endregion//#region src/application/search.js-var k9 = {+var O9 = {searchControl: void 0,searchActions: void 0,searchHelpers: void 0,searchMorph: void 0,searchMorphViewport: void 0};-function A9() {- k9.searchControl?.close();+function k9() {+ O9.searchControl?.close();}-function RMe(e) {+function pNe(e) {let t = e ? Sa({...e,is_jav: !!e.code}, Z.appSettings.javImage) : "";return t === "cover" ? Ha(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";}-function j9() {- k9.searchMorph?.cancel(), k9.searchMorph = null, L(".search").classList.remove("search-morphing");+function A9() {+ O9.searchMorph?.cancel(), O9.searchMorph = null, L(".search").classList.remove("search-morphing");}-function M9(e) {+function j9(e) {let t = L(".search"), n = L("#searchBtn");if (t.classList.contains("open") === e) return;- let r = !!k9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);- j9(), t.classList.remove("open");+ let r = !!O9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);+ A9(), t.classList.remove("open");let o = n.getBoundingClientRect();if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = tc();t.classList.add("search-morphing");- let h = t.animate(LMe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(fNe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"});- k9.searchMorph = h, J.handler(h, "onfinish", () => {- k9.searchMorph === h && j9();+ O9.searchMorph = h, Y.handler(h, "onfinish", () => {+ O9.searchMorph === h && A9();});}-function zMe() {- return e9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;+function mNe() {+ return e9.immerseOpen() ? a8().activeVideo() : n8()?.activeVideo() || null;}-function BMe(e) {+function hNe(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function VMe() {- k9.searchControl = null, k9.searchActions = {+function gNe() {+ O9.searchControl = null, O9.searchActions = {search: (e) => {X.rememberSearchValue(), r9(!1), W.q = e, Ql(), Q.route(W.jav === "1" ? h7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);},@@ -79075,10 +79212,10 @@ function VMe() {openFollow: (e, t, n) => {$.followMediaView = t, E9(e, !0, n);}- }, k9.searchHelpers = {- pool: () => pq(W, z),- recommendations: () => IMe(z),- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? U8(e) : RMe(e)}</span>`,+ }, O9.searchHelpers = {+ pool: () => nK(W, z),+ recommendations: () => dNe(z),+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? H8(e) : pNe(e)}</span>`,present: (e) => wo(e),dismiss: (e) => To(e),wireScroller: (e) => Hs(e),@@ -79093,55 +79230,55 @@ function VMe() {text: e.value,scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft})- }, nH("search", {+ }, RV("search", {input: L("#q"),historyLimit: Z.appSettings.searchHistoryLimit,- actions: k9.searchActions,- helpers: k9.searchHelpers,+ actions: O9.searchActions,+ helpers: O9.searchHelpers,expose: (e) => {- k9.searchControl = e;+ O9.searchControl = e;}}, {container: L("#searchMenu"),isCurrent: () => !0- }), J.listen(L("#q"), "beforeinput", (e) => {+ }), Y.listen(L("#q"), "beforeinput", (e) => {e.isComposing || X.rememberSearchValue(e.currentTarget);- }), J.listen(L("#q"), "scroll", (e) => {+ }), Y.listen(L("#q"), "scroll", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);- }), J.listen(L("#q"), "pointerdown", (e) => {+ }), Y.listen(L("#q"), "pointerdown", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function HMe() {- k9.searchMorph = null, k9.searchMorphViewport = innerWidth, J.listen.bind(J, window)("resize", () => {- innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());- }, { passive: !0 }), J.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), J.handler(L("#searchBtn"), "onclick", () => {- M9(!0), L("#q").focus({ preventScroll: !0 });- }), J.handler(L("#searchBack"), "onclick", () => {- M9(!1), A9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });+function _Ne() {+ O9.searchMorph = null, O9.searchMorphViewport = innerWidth, Y.listen.bind(Y, window)("resize", () => {+ innerWidth !== O9.searchMorphViewport && (O9.searchMorphViewport = innerWidth, A9());+ }, { passive: !0 }), Y.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", A9), Y.handler(L("#searchBtn"), "onclick", () => {+ j9(!0), L("#q").focus({ preventScroll: !0 });+ }), Y.handler(L("#searchBack"), "onclick", () => {+ j9(!1), k9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });});let e = (e) => {- e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || M9(!1), A9());+ e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || j9(!1), k9());};- J.listen(document, "pointerdown", e, !0), J.listen(document, "focusin", e), J.handler(L("#brandHome"), "onclick", (e) => {+ Y.listen(document, "pointerdown", e, !0), Y.listen(document, "focusin", e), Y.handler(L("#brandHome"), "onclick", (e) => {e.preventDefault(), g7(null, !0);- }), J.listen(document, "keydown", (e) => {+ }), Y.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = l8();+ let t = c8();if (t?.isOpen()) {t.close();return;}if (!L("#searchMenu").hidden) {- A9();+ k9();return;}if (e9.immerseOpen()) {- o8().close();+ a8().close();return;}if (e9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), r8().requestClose());+ e.defaultPrevented || (e.preventDefault(), n8().requestClose());return;}if (L("#drawer").classList.contains("open")) {@@ -79154,7 +79291,7 @@ function HMe() {}return;}- if (BMe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (hNe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;if (e.key === "ArrowLeft" || e.key === "ArrowRight") {let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);if (t) {@@ -79162,30 +79299,30 @@ function HMe() {return;}}- let t = zMe();+ let t = mNe();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), r8()?.toggleTheater();+ e.preventDefault(), n8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), aM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), sM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), iM(t);+ e.preventDefault(), oM(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), xj(t, ".vjs-mute-control");+ e.preventDefault(), Cj(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), xj(t, ".vjs-fullscreen-control");+ e.preventDefault(), Cj(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), r8()?.toggleMiniplayer();+ e.preventDefault(), n8()?.toggleMiniplayer();return;}}@@ -79193,7 +79330,7 @@ function HMe() {}//#endregion//#region src/history/links.ts-function UMe(e) {+function vNe(e) {if (e.defaultPrevented || e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) return null;let t = e.target instanceof Element ? e.target.closest("a[href]") : null;if (!t || t.hasAttribute("download") || t.target && t.target.toLowerCase() !== "_self") return null;@@ -79207,54 +79344,54 @@ function UMe(e) {} catch {return null;}- if (i.origin !== window.location.origin || n.startsWith("#") && PV(i.pathname)) return null;- let a = WV(i.pathname);- return n.startsWith("#") && !a?.section || !NV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;+ if (i.origin !== window.location.origin || n.startsWith("#") && gV(i.pathname)) return null;+ let a = EV(i.pathname);+ return n.startsWith("#") && !a?.section || !hV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;}//#endregion//#region src/application/composition.js-var N9 = {+var M9 = {shellActions: void 0,routing: void 0};-function WMe() {- let e = J, t = (e) => {+function yNe() {+ let e = Y, t = (e) => {e.kind === "item" ? s9(e.id, !1) : e.kind === "jav" ? l9(e.code, !1) : e.kind === "follow" ? E9(e.id, !1) : i9(e.queue, e.key, e.item, !1);};- if (NAe(), F5.entityShapesReady = W8(), xje(), location.pathname === "/") {+ if (sje(), F5.entityShapesReady = U8(), Yje(), location.pathname === "/") {let e = new URLSearchParams(location.search);!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);}- X8(decodeURIComponent(location.pathname)) && q8(L("#feedNew")), Aje(), N9.shellActions = {+ Y8(decodeURIComponent(location.pathname)) && K8(L("#feedNew")), iMe(), M9.shellActions = {openSettings: (e) => J5(e, !0),- closeSettings: () => l8()?.close(!1),+ closeSettings: () => c8()?.close(!1),openItem: (e) => void s9(e),openEntity: (e, t) => void v5(e, t),openTag: (e) => {- Tje(), N7(e);+ $je(), N7(e);},- openTasteSignal: YAe,+ openTasteSignal: Cje,navigate: (e) => {- let n = new URL(e, location.href), r = NV(n.pathname, n.search);+ let n = new URL(e, location.href), r = hV(n.pathname, n.search);if (r) {let e = r.kind === "queue" ? "item" : r.kind;_9(n.pathname + n.search + n.hash, e, () => t(r));- } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !PV(location.pathname)) {+ } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !gV(location.pathname)) {Q.route(e);- let t = pH.navigation.seq;- c6(n.hash, () => pH.navigation.seq === t);+ let t = YV.navigation.seq;+ s6(n.hash, () => YV.navigation.seq === t);} else Q.navigatePath(e);},openManage: $5,managePath: (e) => Q.routePathOf("section", e) || "",openFollow: () => T9(),- receipt: (e, t) => S8.actionReceipt(e, t),- toast: (e, t) => S8.toast(e, t),- failure: S8.actionFailure,+ receipt: (e, t) => x8.actionReceipt(e, t),+ toast: (e, t) => x8.toast(e, t),+ failure: x8.actionFailure,revealSource: p5,- reopenTutorial: bMe,- routeReview: QAe,- routeFollowManage: mje,+ reopenTutorial: JMe,+ routeReview: Eje,+ routeFollowManage: Hje,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},@@ -79265,10 +79402,10 @@ function WMe() {},exitSelectMode: () => O5(!1, !1),personAvatar: (e, t, n) => j5.personAvatar(e, t, n),- authorAvatar: (e) => gje(e),- showIndexTags: _je,+ authorAvatar: (e) => Wje(e),+ showIndexTags: Gje,openFollowAuthor: P5,- openFollowTag: vje,+ openFollowTag: Kje,openPlaylist: (e, t) => void a9(e, t, !0),canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {@@ -79288,7 +79425,7 @@ function WMe() {},openOverlay: (e) => {let n = Q.requestedOverlay;- Q.requestedOverlay = null, pH.navigation.claimed && (!hH() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (hH() && (Q.initialOverlayOpened = !0), t(e));+ Q.requestedOverlay = null, YV.navigation.claimed && (!ZV() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (ZV() && (Q.initialOverlayOpened = !0), t(e));},closeStage: () => {e9.stageOpen() && r9(!1);@@ -79303,61 +79440,61 @@ function WMe() {},entity: {missing: (e) => {- N9.shellActions.surfaceChanged("entity", location.pathname), _5(e);+ M9.shellActions.surfaceChanged("entity", location.pathname), _5(e);},- loading: (e, t, n) => Y.application.loading(e, t, n),- props: (e, t, n) => Y.application.addressProps(e, t, n),+ loading: (e, t, n) => r5.application.loading(e, t, n),+ props: (e, t, n) => r5.application.addressProps(e, t, n),refresh: (e, t, n) => {- let r = Y.parseEntityFilters(n);+ let r = r5.parseEntityFilters(n);e === "creator" && (r.creator = "");let i = o5();- return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (b7(r), x7(o5()), !0);+ return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, r5.parseMediaView(n), { push: !1 }) ? !1 : (b7(r), x7(o5()), !0);}},follow: $.followFeedShell,catalog: {defaultLoc: () => m7("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {- n && (v9(), l7(), Q5()), t && O8(), e === "/trash" ? (X.clearSearchField(), U5()) : (L("#q").value = W.q, X.rememberSearchValue()), h9(), j7(), Z.handOff(I7());+ n && (v9(), l7(), Q5()), t && D8(), e === "/trash" ? (X.clearSearchField(), U5()) : (L("#q").value = W.q, X.rememberSearchValue()), h9(), j7(), Z.handOff(I7());},load: () => {Z.handOff(I7());},fill: () => {- if (V7() || !hH() && !L("#grid").querySelector(".catalog-skeleton")) return;+ if (V7() || !ZV() && !L("#grid").querySelector(".catalog-skeleton")) return;let e = L("#count");e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), z7(Q.surfaceToken(Q.surfacePath()));},release: () => {- R7(), Z8();+ R7(), X8();}}- }, N9.routing = !1, e.listen(document, "click", (e) => {- let t = UMe(e);- t && (e.preventDefault(), N9.shellActions.navigate(t));- }), J.own(pH.listen((e) => {- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !PV(e.location.pathname) && r9(!1), N9.routing && !e.claimed && v9();- })), Zke(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Nje(), cje(), X5(), Promise.all([+ }, M9.routing = !1, e.listen(document, "click", (e) => {+ let t = vNe(e);+ t && (e.preventDefault(), M9.shellActions.navigate(t));+ }), Y.own(YV.listen((e) => {+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !gV(e.location.pathname) && r9(!1), M9.routing && !e.claimed && v9();+ })), TAe(M9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), sMe(), Ije(), X5(), Promise.all([J7(),- jje(),+ aMe(),F5.entityShapesReady]).then(() => {- e.isActive && (F5.wantsDiscoveryBars() && j7().catch((e) => console.error("首页横条装载失败", e)), h9(), uMe(), N9.routing = !0, Zl({ pageOpens: 1 }), v9(), u7());+ e.isActive && (F5.wantsDiscoveryBars() && j7().catch((e) => console.error("首页横条装载失败", e)), h9(), RMe(), M9.routing = !0, Zl({ pageOpens: 1 }), v9(), u7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}//#endregion//#region src/theme-transition.ts-var P9 = !1;-async function GMe(e, t) {- if (P9) return;+var N9 = !1;+async function bNe(e, t) {+ if (N9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();return;}let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = Math.hypot(Math.max(r, innerWidth - r), Math.max(i, innerHeight - i)) * 2.5, o = document.createElement("style");- o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, P9 = !0, document.head.append(o);+ o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, N9 = !0, document.head.append(o);let s = document.documentElement;s.dataset.themeSnapshot = "true";let c = !1, l = () => {@@ -79368,14 +79505,14 @@ async function GMe(e, t) {} catch {l();} finally {- delete s.dataset.themeSnapshot, o.remove(), P9 = !1;+ delete s.dataset.themeSnapshot, o.remove(), N9 = !1;}}//#endregion//#region src/application/chrome.js-function KMe() {+function xNe() {(() => {- let e = J, t = [+ let e = Y, t = ["#brandHome","#filterBtn","#settingsBtn"@@ -79435,7 +79572,7 @@ function KMe() {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());}), z("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- DG(t.libraries);+ gW(t.libraries);let n = [["","全部媒体库",@@ -79473,14 +79610,14 @@ function KMe() {(document.querySelector(".top") || m.closest("header")).prepend(h), e.own(() => h.remove());let g = document.createElement("div");g.className = "board-sidebar-foot", e.own(() => g.remove()), g.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${R("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${R("moon")}</button></div>`, g.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), g.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(g), g.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {- t.getAttribute("aria-pressed") !== "true" && GMe(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), dA();+ t.getAttribute("aria-pressed") !== "true" && bNe(t, () => {+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), cA();});- })), dA();+ })), cA();let _ = document.createElement("div");_.className = "popmenu board-glow-menu", _.id = "boardGlowMenu", _.hidden = !0, _.setAttribute("popover", "manual"), _.setAttribute("role", "dialog"), _.setAttribute("aria-label", "配色"), document.body.append(_), e.own(() => _.remove());let v = g.querySelector("#boardGlowBtn"), y = Oo(g, v, _);- e.own(y.dispose), e.own(Boe(v)), iAe({+ e.own(y.dispose), e.own(Voe(v)), MAe({root: _,store: Z.settingsStore,openDetails: () => {@@ -79499,14 +79636,14 @@ function KMe() {let r = n.classList.contains("open"), i = !K5();i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;}- Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(J, window)("resize", b);+ Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(Y, window)("resize", b);let x = !1;function S() {x = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);}- if (e.listen.bind(J, window)("scroll", () => {+ if (e.listen.bind(Y, window)("scroll", () => {x || (x = !0, e.frame(S));- }, { passive: !0 }), e.listen.bind(J, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {+ }, { passive: !0 }), e.listen.bind(Y, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";let r = document.createElementNS(t, "defs");@@ -79624,13 +79761,13 @@ function KMe() {}//#endregion//#region src/application/initialize.js-function qMe() {- O9(), SMe(), Sje(), CMe(), fMe(), oAe(), rMe(), xMe(), KAe(), vMe(), lje(), iMe(), zAe(), $Ae(), PMe(), yje(), qAe(), FMe(), bje(), JAe(), zje(), aMe(), VMe(), yMe(), HMe(), pMe(), WMe(), KMe(), J.own(R7), J.own(g9);+function P9() {+ uNe(), XMe(), Xje(), ZMe(), BMe(), PAe(), jMe(), YMe(), bje(), KMe(), Lje(), MMe(), pje(), Dje(), cNe(), qje(), xje(), lNe(), Jje(), Sje(), pMe(), NMe(), gNe(), qMe(), _Ne(), VMe(), yNe(), xNe(), Y.own(R7), Y.own(g9);}//#endregion//#region src/ui-kit/middle-truncate.tsvar F9 = "…", I9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, L9 = /* @__PURE__ */ new WeakMap(), R9 = /* @__PURE__ */ new WeakSet(), z9 = null, B9 = null, V9 = /* @__PURE__ */ new Set(), H9 = (e) => I9 ? [...I9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function JMe(e, t) {+function SNe(e, t) {let n = H9(e);if (!n.length || t(e)) return String(e ?? "");let r = 0, i = Math.max(0, n.length - 1), a = F9;@@ -79648,7 +79785,7 @@ var U9 = Object.assign((e, t) => {Number.isFinite(a) && (i += Math.max(0, H9(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), YMe = (e) => {+}, { canvas: null }), CNe = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -79658,17 +79795,17 @@ var U9 = Object.assign((e, t) => {n === e ? a++ : t > 0 && (i += t, a++);}return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);-}, XMe = (e) => {+}, wNe = (e) => {let t = L9.get(e);if (!t || !e.isConnected) return;- let n = YMe(e), r = n > 0 ? JMe(t.full, (t) => U9(e, t) <= n) : t.full;+ let n = CNe(e), r = n > 0 ? SNe(t.full, (t) => U9(e, t) <= n) : t.full;t.rendered = r, e.textContent !== r && (e.textContent = r);let i = r !== t.full;e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");}, W9 = (e) => {let t = L9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, XMe(e);+ t.raf = 0, wNe(e);}));}, G9 = (e) => {e instanceof HTMLElement && (L9.has(e) || L9.set(e, {@@ -79681,7 +79818,7 @@ var U9 = Object.assign((e, t) => {let t = e;t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);};-function ZMe(e = document) {+function TNe(e = document) {B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();let t = V9, n = !0;z9 = new ResizeObserver((e) => e.forEach((e) => {@@ -79756,7 +79893,7 @@ var q9 = ["jav-detail","wants","index"-], QMe = {+], ENe = {catalog: [...q9,...J9,@@ -79777,10 +79914,10 @@ var q9 = ["avatar-choices"]};-function $Me() {+function DNe() {let e = /* @__PURE__ */ new Set(), t = null;return (n, r) => {- for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of QMe[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of ENe[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -79793,12 +79930,12 @@ function $Me() {})), t || Promise.resolve();};}-function eNe() {+function ONe() {let e = St({- queryKey: nI,- queryFn: ({ signal: e }) => iI(e),- refetchInterval: (e) => rI(e.state.data)- }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)($Me), r = e.data?.result_versions;+ queryKey: dF,+ queryFn: ({ signal: e }) => pF(e),+ refetchInterval: (e) => fF(e.state.data)+ }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)(DNe), r = e.data?.result_versions;return (0, D.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -79809,54 +79946,54 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function tNe() {+function kNe() {if (!X9) {- let e = aAe();+ let e = NAe();X9 = {effects: e,owners: 0- }, e.own(ZMe(document)), e.own(() => {+ }, e.own(TNe(document)), e.own(() => {cl(), U.cancelQueries();- }), e.own(Qke), e.own(Xpe), e.own(So);+ }), e.own(EAe), e.own(pme), e.own(So);}return X9.owners += 1, X9.effects.resume(), X9;}-function nNe() {+function ANe() {let [e, t] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {- let e = X9 === null, n = tNe(), r = Xke(t);+ let e = X9 === null, n = kNe(), r = wAe(t);if (e) try {- qMe();+ P9();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}return () => {r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));};- }, []), /* @__PURE__ */ (0, O.jsx)(zhe, {+ }, []), /* @__PURE__ */ (0, O.jsx)(Ghe, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, O.jsx)(eNe, {}) : null+ background: e ? /* @__PURE__ */ (0, O.jsx)(ONe, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function rNe(e) {+function jNe(e) {let t = Q9.get(e);if (t) return t;- let n = (0, Et.createRoot)(e, Bhe);+ let n = (0, Et.createRoot)(e, Khe);Q9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));- }, (0, Tt.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(nNe, {}))), n;+ }, (0, Tt.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(ANe, {}))), n;}//#endregion//#region src/react/bootstrap.tsxg();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-rNe($9);+jNe($9);//#endregion-export { XI as $2ec61d1d4f780267$export$a8a3e93435678ff9, iL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, xR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, tT as $72abaeab4d80592f$export$78efe591171d7d45, pz as $76d00c5a4edb230a$export$76ccd210b9029917, uz as $76d00c5a4edb230a$export$816b5d811295e6bc, gz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, vz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, lz as $76d00c5a4edb230a$export$f850895b287ef28e, hde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, mde as $b4f18e3395fe64d7$export$3e41faf802a29e71, dde as $b4f18e3395fe64d7$export$b2539bed5023c21c, Sz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, vde as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, HC as $ea3928288112382f$export$439d29a4e110a164, PR as $f2ff30fde7b014be$export$3ddf2d174ce01153, VR as $fe21c36db05242bb$export$a98f0dcb43a68a25, HR as $fe21c36db05242bb$export$d7b12c4107be0d61, efe as $l, HA as ACCENT_CHOICES, uwe as AMANE_BRIDGE_CHECK_URL, R1 as AMANE_BRIDGE_KEY, dwe as AMANE_BRIDGE_REBUILD_URL, On as ApiError, SG as ArtSlot, q as Button, OI as ButtonLink, lfe as Bx, Bt as CLOUD_LOCATIONS, xU as CLOUD_PROXY_HELP, pr as COLUMN_SORT, X1 as CONFIGURATION_KEY, HX as CONFIGURATION_URL, fwe as COOKIE_TEXT_LIMIT, L1 as COVER_JOB_KEY, gi as CREDENTIAL_STATE, N1 as CUSTOM_SOURCES_KEY, M1 as CUSTOM_SOURCES_URL, xV as Checkbox, bV as CheckboxGlyph, dV as ChevronSortDown, nQ as Chip, J2 as CloudDownloadDialog, rU as CollapseChevron, nU as CollapseRegion, e1 as CollectionSummary, Uve as DEFAULT_CATEGORY, Mn as DEFAULT_SORT, w$ as DIAGNOSTICS_KEY, Bye as DIRECTORY_TEMPLATE_ERROR, N0 as DISCOVERY_SORTS, H2 as DOWNLOADS_KEY, V2 as DOWNLOADS_URL, fX as DUPLICATES_KEY, YY as DataTableFooter, GY as DataTableFrame, JY as DataTableSort, LU as Disclosure, JEe as DownloadsPanel, Gde as E3, Wve as ENTITY_REVIEW_KINDS, sU as ENTRY_LINKS_HELP, cU as ENTRY_LINKS_HINT, rfe as Ea, bfe as EmptyFocusButton, eB as EmptyState, FU as ErrorText, uhe as ExternalLink, cr as FEEDS_KEY, XX as FEED_SCHEDULE_KEY, qOe as FLOW_LABEL_X, R3 as FLOW_VIEWBOX, or as FOLLOW_CHECK_KEY, ar as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, ir as FOLLOW_MANAGE_KEY, sr as FOLLOW_RESOLVE_KEY, YX as FOLLOW_SCHEDULE_KEY, fhe as Fact, dhe as FactList, IU as FieldLabel, T1 as Fieldset, w1 as FieldsetTitle, fle as FilterGlass, xI as FilterGlassRows, bI as FilterIconButton, SI as FilterPill, NU as Footer, Rz as Gg, CI as GlassPill, PU as Help, Gz as HintText, zOe as IDLE_POLL_MS, Mve as IDLE_REPAIR, gI as IconButton, Xz as Input, Yz as InputBase, pA as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, yZ as JUNK_KEY, Z3 as JavHeader, Eve as KEEP_LABELS, ur as LAYOUTS, oU as LIBRARY_FOLDER_HELP, OH as LIBRARY_PROCESSING_KEY, PX as LINKS_KEY, FX as LINK_CHECK_KEY, fye as LINK_KINDS, IX as LINK_PRUNE_KEY, Cn as LOC, Wz as Label, O1 as LibraryProcessingCard, _B as LibraryShortcuts, zH as LinkButton, ZH as LoadingDots, qde as M6, _ye as MEDIA_PROCESSING_KEY, QX as MEDIA_PROCESSING_URL, _X as MEDIA_REPAIR_KEY, gX as MEDIA_REPAIR_URL, Bn as MEDIA_SOURCES_KEY, No as MEDIA_SOURCE_ICONS, Rt as MEDIA_SOURCE_OPTIONS, hV as MENU_ITEM, gV as MENU_ITEM_INTERACTIVE, mV as MENU_POPOVER_SURFACE, VH as MenuDialog, vK as MixCard, Zz as ModalFrame, vv as MotionConfigContext, Uz as NR, $z as Note, gfe as OA, tZ as ORGANIZE_KEY, iZ as ORPHAN_RECORDS_KEY, Lz as OV, Az as P7, OCe as PHASES, UX as PICK_FOLDER_URL, A1 as PLAYLISTS_KEY, Jme as POLICY_COLUMNS, Xme as POLICY_COVER_NOTE, Yme as POLICY_MATRIX, aU as POLICY_SUMMARY, qY as Pagination, D1 as PathLine, JF as PillTabList, $H as Progress, SX as QUALITY_GOALS_KEY, v1 as REPAIR_CARD_TEXT, vX as REPAIR_LIBRARIES_KEY, lZ as RESOURCE_APPLY_KEY, cZ as RESOURCE_SCAN_KEY, VCe as RESULT_PANEL, HCe as RESULT_SECTION, Hve as REVIEW_CATEGORIES, vZ as REVIEW_COUNTS_KEY, TX as REVIEW_KEY, EX as REVIEW_LABELS, xG as RetryNote, hfe as Rf, she as Rows, cwe as SCRAPING_CHECK_URL, F1 as SCRAPING_COVER_URL, I1 as SCRAPING_KEY, swe as SCRAPING_SETTINGS_URL, mW as SEGMENT, pW as SEGMENTED_TRACK, JX as SETTINGS_KEY, WX as SETTINGS_URL, Nn as SORT_DEFAULT_DIR, jn as SORT_OPTIONS, Vt as SOURCE_LABELS, l3 as STATS_KEY, jU as Section, che as SectionSkeleton, fW as SegmentedRadioGroup, dW as SegmentedTabList, nG as Segments, KY as Select, nW as Select$1, e0 as SelectField, rW as SelectItem, Dk as SelectionDock, kU as SettingsCard, ohe as SettingsRow, AU as SettingsSectionLabel, ghe as SiteLabel, bW as SortDirectionIcon, aG as SortKeys, s$ as SourceAvatar, VU as SourceLabel, RU as SourceMark, MU as Stack, E1 as StatusLabel, F2 as Switch, nI as TASKS_KEY, OOe as TASTE_REFRESH_KEY, kOe as TASTE_WINDOWS, ZX as THUMBNAIL_JOBS_KEY, xZ as TRASH_KEY, Kce as TRIGGER_LABELS, IY as Table, nX as TableColumnControls, rX as TableColumnResizer, aX as TableSelectionHeader, eU as TaskProgress, qz as TextField, Kz as TextFieldContext, Iz as Un, i1 as WANTS_KEY, i4 as WantMagnets, Yf as WithPromise, jz as Wt, Fz as Xc, Hz as Xf, Yde as Xt, Kde as _8, o as __commonJSMin, s as __exportAll, l as __toESM, mfe as aB, qr as addAlias, Kr as addSource, o1 as addWant, V as apiGet, H as apiSend, sA as appSettingsStore, abe as applyConfirmText, _Z as applyLeftovers, ibe as applyPlanText, sbe as applyText, dA as applyTheme, Yg as asNumber, qye as attachOrphan, kr as authorAvatar, jr as authorGroups, Or as authorInitial, Dr as authorName, wJ as autoResetPageIndex, La as avatarInner, h3 as bandRows, Vye as baseName, jve as batchOperate, Mk as boundedPreference, Ove as bulkCloudPreferences, iB as busyProps, pfe as cB, iDe as cachedMagnetStates, zf as calcGeneratorVelocity, Xve as canApprove, uf as cancelFrame, Qye as candidateText, XH as cardClass, EA as cardRatio, Pz as cc, fi as checkEvidenceGap, di as checkFailures, ni as checkFeeds, gye as checkLine, li as checkReceipt, ui as checkSummary, mwe as checkText, pi as checkedText, WG as clickedBlank, bve as cloudLocations, fx as clsx, ofe as cn, Gm as collectMotionValues, WJ as columnVisibilityFeature, jY as column_getCanSort, DY as column_getSortFn, Jve as commonReviewSources, TV as configurationSection, NOe as configureTasteBrowser, xc as confirmModal, iJ as copyInstancePropertiesWithoutMemos, Aa as coverUrl, FJ as createColumnHelper, twe as createPlaylist, _i as credentialDone, aye as currentReviewRow, GF as cx, Bz as dZ, nye as decisionPayload, rye as decisionReceipt, tye as defaultChoice, rwe as deletePlaylist, iU as diagnosticsSkeleton, ICe as discoveryArtwork, d1 as discoveryKey, fTe as discoveryScore, wve as distinctName, cye as dropReviewRows, si as dropSources, ffe as du, kve as duplicateVictims, lI as elapsedText, Ia as entityFaceImg, en as entityPath, Sr as errorHeadline, An as errorMessage, B as esc, CJ as expandRowModel, Dz as f1, xr as feedIntervalText, V1 as fetchAmaneBridge, zr as fetchCheckJob, Z1 as fetchConfiguration, B1 as fetchCoverJob, Rr as fetchCredentials, P1 as fetchCustomSources, T$ as fetchDiagnostics, f1 as fetchDiscoveries, mX as fetchDuplicates, Vce as fetchEarlier, bye as fetchFeedSchedule, $r as fetchFeeds, Lr as fetchFollow, yye as fetchFollowSchedule, CZ as fetchJunkSummary, zX as fetchLinkCheck, BX as fetchLinkPrune, RX as fetchLinkStats, vye as fetchMediaProcessing, yX as fetchMediaRepair, Vn as fetchMediaSources, nZ as fetchOrganize, Nye as fetchOrganizeExample, aZ as fetchOrphanRecords, Qr as fetchPending, j1 as fetchPlaylists, CX as fetchQualityGoals, bX as fetchRepairLibraries, Br as fetchResolveJob, dZ as fetchResourceApply, uZ as fetchResourceScan, jX as fetchReview, SZ as fetchReviewCounts, $X as fetchSettings, z1 as fetchSources, u3 as fetchStats, Vr as fetchSuggestions, iI as fetchTasks, F3 as fetchTaste, POe as fetchTasteJob, xye as fetchThumbnailJobs, wZ as fetchTrashSummary, a1 as fetchWants, Kve as filterReviewRows, xn as firstGrapheme, wq as flexRender, YOe as flowGraph, XOe as flowLabel, JDe as fmtCount, hn as fmtDur, _n as fmtSize, tle as foldRoutine, ii as followFeedByName, lr as followSuggestKey, rle as followupDetail, lf as frame, Ide as g4, qJ as getDefaultPaginationState, TA as gridLayout, Ar as groupByAuthor, ele as groupFollowups, OX as groupReviewRows, nbe as hasChanges, fZ as hasResourceRoots, oI as hasResultProblems, BOe as historySpan, Oz as i2, ROe as importTasteExport, jf as interpolate, c1 as invalidateWants, cI as isActive, br as isBroken, mr as isLayout, gh as isMotionValue, DX as isReviewCategory, nle as isRoutine, L0 as javContentSkeleton, vA as javLayout, I0 as javTagSkeleton, fbe as junkBreakdown, iwe as keepPlaylist, _e as keepPreviousData, Pr as keepSelected, d3 as known, Bde as l7, $ce as latestOfKind, oOe as lengthRows, Wn as localTime, ri as lookupFeedActor, Ude as m7, zz as mM, qt as mapLimit, Zr as markItem, g3 as max, iOe as mediumRows, Hce as mergeFinished, _3 as min, uye as mirrorText, Fve as missingToolText, hX as mixedCloudPreferences, pI as momentText, Py as motion, qm as motionValue, Uye as organizeOutcome, $0 as overlayHost, hr as pageSizeOf, Nr as pageWindow, In as paginationRange, oi as patchSource, pH as peachHistory, pH as peachHistory$1, eye as pendingGenres, XDe as percentText, Iye as pickOrganizeFolder, Hye as planSummary, f3 as playedFor, QDe as playedItemUrl, rI as pollInterval, ds as popCount, ewe as posterUrl, BG as previewLibraryColor, Fye as previewOrganize, Rve as previewUrl, Qce as problemDestination, uI as progressText, BU as providerIcon, hye as pruneText, mZ as purgeCount, Jye as purgeOrphan, Vz as pv, dfe as qE, U as queryClient, kz as r2, KOe as radarRows, tOe as radialArc, nOe as radialBarSize, eOe as radialCeiling, $De as radialSlices, Rj as randomId, WOe as rankDetail, GOe as rankShares, m3 as reachedShare, dI as readableErrorHeadline, pTe as recommendationScore, oye as recordGenre, Xye as recordsText, awe as recreatePlaylist, QCe as refreshPlaylists, tl as relayoutCovers, ci as reloadFollowManage, lye as reloadReview, Qme as rememberMediaShape, CU as rememberSectionHeight, Rye as rememberTemplates, wU as rememberedSectionHeight, Jr as removeAlias, ti as removeFeed, Gr as removeSource, LOe as removeTasteSource, s1 as removeWants, Yr as renameAliasGroup, nwe as renamePlaylist, cOe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, qq as require_with_selector, jCe as resetWants, Fn as resolveFollowSort, Gf as resolveStartTime, $Ce as resumeAssetId, Gve as reviewGroupingOptions, dbe as reviewSummary, qve as reviewWindow, Qve as rowEvidence, AX as rowFieldName, eY as rowPaginationFeature, xY as rowSelectionFeature, PY as rowSortingFeature, kX as rowSubject, $ve as rowTags, Zve as rowTitle, Lde as s5, Xr as saveCredential, rbe as scanLine, Eye as schedulePollInterval, NCe as searchNote, Yve as selectReviewRange, Fr as selectionState, ei as setFeedEnabled, Wr as setSourceEnabled, kV as settingsPath, Cve as sharedNamePrefix, mH as shellNavigate, b8 as showToast, sn as siteMarkUrl, mJ as skipFirstRun, KF as sortCx, _r as sortLabel, Ht as sourceDefaultCost, hi as sourceIconUrl, obe as sourceMeta, ns as spinnerHtml, Of as spring, nB as spriteGlyph, Hr as startCheck, pye as startLinkCheck, mye as startLinkPrune, Lye as startOrganize, Ur as startResolve, ebe as startResourceApply, $ye as startResourceScan, IOe as startTasteRefresh, Jce as statusLabel, Pve as statusLine, yr as statusText, DA as storeJavLayout, iye as submitDecision, mI as summaryItems, IJ as tableFeatures, hJ as tableMemo, Mr as tableRows, Zce as taskIssues, I3 as tasteDate, HOe as tasteDimensions, VOe as tasteHours, P3 as tasteKey, jOe as tasteRefetchInterval, MOe as tasteTime, Uu as time, $de as tl, Ir as toggleGroup, L3 as topScores, nfe as uo, JH as useAction, TQ as useBackgroundJob, tu as useConstant, yI as useHorizontalScroller, nu as useIsomorphicLayoutEffect, HG as useLibraryTints, Ct as useMutation, SV as useOverlayScrollbar, St as useQuery, A as useQueryClient, xy as useReducedMotion, lhe as useRememberedBody, Tye as useRunSchedule, Cye as useSaveFollowSchedule, eZ as useSaveSettings, Dye as useSaveThumbnailMode, FY as useTable, QY as useTablePreferences, Ave as victimBytes, MCe as wantName, ZDe as watchNote, p3 as watchedShare, Hs as wireHorizontalScroller, zye as withOrganizeJob };+export { xI as $2ec61d1d4f780267$export$a8a3e93435678ff9, PI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, rR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, CT as $72abaeab4d80592f$export$78efe591171d7d45, YR as $76d00c5a4edb230a$export$76ccd210b9029917, KR as $76d00c5a4edb230a$export$816b5d811295e6bc, QR as $76d00c5a4edb230a$export$b59bdbef9ce70de2, ez as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, GR as $76d00c5a4edb230a$export$f850895b287ef28e, Mde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, jde as $b4f18e3395fe64d7$export$3e41faf802a29e71, Ode as $b4f18e3395fe64d7$export$b2539bed5023c21c, iz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Fde as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, uw as $ea3928288112382f$export$439d29a4e110a164, gR as $f2ff30fde7b014be$export$3ddf2d174ce01153, CR as $fe21c36db05242bb$export$a98f0dcb43a68a25, wR as $fe21c36db05242bb$export$d7b12c4107be0d61, _fe as $l, BA as ACCENT_CHOICES, fwe as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, pwe as AMANE_BRIDGE_REBUILD_URL, On as ApiError, dW as ArtSlot, J as Button, JF as ButtonLink, Efe as Bx, Bt as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, pr as COLUMN_SORT, l1 as CONFIGURATION_KEY, tX as CONFIGURATION_URL, mwe as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, gi as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, rV as Checkbox, nV as CheckboxGlyph, qB as ChevronSortDown, hZ as Chip, q2 as CloudDownloadDialog, zH as CollapseChevron, RH as CollapseRegion, p$ as CollectionSummary, Gve as DEFAULT_CATEGORY, Mn as DEFAULT_SORT, LQ as DIAGNOSTICS_KEY, Hye as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, V2 as DOWNLOADS_KEY, B2 as DOWNLOADS_URL, TY as DUPLICATES_KEY, cY as DataTableFooter, iY as DataTableFrame, sY as DataTableSort, KH as Disclosure, SDe as DownloadsPanel, cfe as E3, Kve as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, bfe as Ea, Lfe as EmptyFocusButton, Iz as EmptyState, WH as ErrorText, ghe as ExternalLink, cr as FEEDS_KEY, lX as FEED_SCHEDULE_KEY, xke as FLOW_LABEL_X, L3 as FLOW_VIEWBOX, or as FOLLOW_CHECK_KEY, ar as FOLLOW_CREDENTIALS_KEY, M8 as FOLLOW_INITIAL_RANGE_OPTIONS, ir as FOLLOW_MANAGE_KEY, sr as FOLLOW_RESOLVE_KEY, cX as FOLLOW_SCHEDULE_KEY, vhe as Fact, _he as FactList, GH as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, RF as FilterGlass, zF as FilterGlassRows, LF as FilterIconButton, VF as FilterPill, hhe as Footer, bz as Gg, UF as GlassPill, UH as Help, Dz as HintText, pke as IDLE_POLL_MS, Pve as IDLE_REPAIR, MF as IconButton, Mz as Input, jz as InputBase, dA as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, MX as JUNK_KEY, X3 as JavHeader, Ove as KEEP_LABELS, ur as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, uH as LIBRARY_PROCESSING_KEY, qY as LINKS_KEY, JY as LINK_CHECK_KEY, mye as LINK_KINDS, YY as LINK_PRUNE_KEY, Cn as LOC, Ez as Label, V$ as LibraryProcessingCard, $z as LibraryShortcuts, xH as LinkButton, NH as LoadingDots, ufe as M6, yye as MEDIA_PROCESSING_KEY, dX as MEDIA_PROCESSING_URL, AY as MEDIA_REPAIR_KEY, kY as MEDIA_REPAIR_URL, Bn as MEDIA_SOURCES_KEY, No as MEDIA_SOURCE_ICONS, Rt as MEDIA_SOURCE_OPTIONS, ZB as MENU_ITEM, QB as MENU_ITEM_INTERACTIVE, XB as MENU_POPOVER_SURFACE, CH as MenuDialog, sG as MixCard, Nz as ModalFrame, Ev as MotionConfigContext, Tz as NR, Fz as Note, Nfe as OA, mX as ORGANIZE_KEY, _X as ORPHAN_RECORDS_KEY, yz as OV, fz as P7, ACe as PHASES, nX as PICK_FOLDER_URL, U$ as PLAYLISTS_KEY, mTe as POLICY_COLUMNS, gTe as POLICY_COVER_NOTE, hTe as POLICY_MATRIX, q1 as POLICY_SUMMARY, oY as Pagination, B$ as PathLine, rF as PillTabList, FH as Progress, FY as QUALITY_GOALS_KEY, j$ as REPAIR_CARD_TEXT, jY as REPAIR_LIBRARIES_KEY, SX as RESOURCE_APPLY_KEY, xX as RESOURCE_SCAN_KEY, UCe as RESULT_PANEL, WCe as RESULT_SECTION, Wve as REVIEW_CATEGORIES, jX as REVIEW_COUNTS_KEY, RY as REVIEW_KEY, zY as REVIEW_LABELS, uW as RetryNote, Mfe as Rf, phe as Rows, uwe as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, lwe as SCRAPING_SETTINGS_URL, bU as SEGMENT, yU as SEGMENTED_TRACK, sX as SETTINGS_KEY, rX as SETTINGS_URL, Nn as SORT_DEFAULT_DIR, jn as SORT_OPTIONS, Vt as SOURCE_LABELS, c3 as STATS_KEY, fhe as Section, mhe as SectionSkeleton, vU as SegmentedRadioGroup, nge as SegmentedTabList, KU as Segments, aY as Select, dU as Select$1, p1 as SelectField, fU as SelectItem, Ck as SelectionDock, BH as SettingsCard, dhe as SettingsRow, VH as SettingsSectionLabel, She as SiteLabel, TU as SortDirectionIcon, JU as SortKeys, bQ as SourceAvatar, XH as SourceLabel, qH as SourceMark, HH as Stack, z$ as StatusLabel, P2 as Switch, dF as TASKS_KEY, nke as TASTE_REFRESH_KEY, rke as TASTE_WINDOWS, uX as THUMBNAIL_JOBS_KEY, PX as TRASH_KEY, Ile as TRIGGER_LABELS, YJ as Table, hY as TableColumnControls, gY as TableColumnResizer, vY as TableSelectionHeader, IH as TaskProgress, kz as TextField, Oz as TextFieldContext, vz as Un, _$ as WANTS_KEY, r4 as WantMagnets, Jf as WithPromise, pz as Wt, _z as Xc, wz as Xf, ffe as Xt, lfe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, jfe as aB, qr as addAlias, Kr as addSource, y$ as addWant, V as apiGet, H as apiSend, iA as appSettingsStore, sbe as applyConfirmText, AX as applyLeftovers, obe as applyPlanText, lbe as applyText, cA as applyTheme, Zg as asNumber, Yye as attachOrphan, kr as authorAvatar, jr as authorGroups, Or as authorInitial, Dr as authorName, wq as autoResetPageIndex, La as avatarInner, m3 as bandRows, Uye as baseName, Nve as batchOperate, Ok as boundedPreference, Ave as bulkCloudPreferences, Bz as busyProps, Afe as cB, MDe as cachedMagnetStates, Rf as calcGeneratorVelocity, Qve as canApprove, lf as cancelFrame, ebe as candidateText, MH as cardClass, wA as cardRatio, gz as cc, fi as checkEvidenceGap, di as checkFailures, ni as checkFeeds, vye as checkLine, li as checkReceipt, ui as checkSummary, gwe as checkText, pi as checkedText, NW as clickedBlank, Sve as cloudLocations, O0 as cloudProxySkeleton, Dx as clsx, Cfe as cn, Wm as collectMotionValues, rJ as columnVisibilityFeature, WJ as column_getCanSort, BJ as column_getSortFn, Xve as commonReviewSources, sV as configurationSection, ske as configureTasteBrowser, xc as confirmModal, qK as copyInstancePropertiesWithoutMemos, Aa as coverUrl, Jq as createColumnHelper, rwe as createPlaylist, _i as credentialDone, w0 as credentialsSkeleton, sye as currentReviewRow, eF as cx, Sz as dZ, iye as decisionPayload, aye as decisionReceipt, rye as defaultChoice, awe as deletePlaylist, K1 as diagnosticsSkeleton, RCe as discoveryArtwork, w$ as discoveryKey, BTe as discoveryScore, Eve as distinctName, uye as dropReviewRows, si as dropSources, kfe as du, jve as duplicateVictims, vF as elapsedText, Ia as entityFaceImg, en as entityPath, Sr as errorHeadline, An as errorMessage, B as esc, Sq as expandRowModel, lz as f1, xr as feedIntervalText, e1 as fetchAmaneBridge, zr as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, Rr as fetchCredentials, q$ as fetchCustomSources, RQ as fetchDiagnostics, T$ as fetchDiscoveries, DY as fetchDuplicates, jle as fetchEarlier, Sye as fetchFeedSchedule, $r as fetchFeeds, Lr as fetchFollow, xye as fetchFollowSchedule, IX as fetchJunkSummary, QY as fetchLinkCheck, $Y as fetchLinkPrune, ZY as fetchLinkStats, bye as fetchMediaProcessing, MY as fetchMediaRepair, Vn as fetchMediaSources, hX as fetchOrganize, Fye as fetchOrganizeExample, vX as fetchOrphanRecords, Qr as fetchPending, W$ as fetchPlaylists, IY as fetchQualityGoals, NY as fetchRepairLibraries, Br as fetchResolveJob, wX as fetchResourceApply, CX as fetchResourceScan, WY as fetchReview, FX as fetchReviewCounts, fX as fetchSettings, Q$ as fetchSources, l3 as fetchStats, Vr as fetchSuggestions, pF as fetchTasks, P3 as fetchTaste, cke as fetchTasteJob, Cye as fetchThumbnailJobs, LX as fetchTrashSummary, v$ as fetchWants, Jve as filterReviewRows, xn as firstGrapheme, pK as flexRender, Cke as flowGraph, wke as flowLabel, SOe as fmtCount, hn as fmtDur, _n as fmtSize, Gle as foldRoutine, ii as followFeedByName, lr as followSuggestKey, qle as followupDetail, cf as frame, $de as g4, oJ as getDefaultPaginationState, CA as gridLayout, Ar as groupByAuthor, Wle as groupFollowups, VY as groupReviewRows, ibe as hasChanges, TX as hasResourceRoots, hF as hasResultProblems, mke as historySpan, uz as i2, fke as importTasteExport, T0 as indexersSkeleton, Af as interpolate, x$ as invalidateWants, _F as isActive, br as isBroken, mr as isLayout, hh as isMotionValue, BY as isReviewCategory, Kle as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, gA as javLayout, F0 as javTagSkeleton, mbe as junkBreakdown, owe as keepPlaylist, _e as keepPreviousData, Pr as keepSelected, u3 as known, rfe as l7, Ule as latestOfKind, POe as lengthRows, Wn as localTime, ri as lookupFeedActor, ofe as m7, xz as mM, qt as mapLimit, Zr as markItem, h3 as max, MOe as mediumRows, Mle as mergeFinished, g3 as min, fye as mirrorText, Lve as missingToolText, OY as mixedCloudPreferences, EF as momentText, Ry as motion, Km as motionValue, Gye as organizeOutcome, Q0 as overlayHost, hr as pageSizeOf, Nr as pageWindow, In as paginationRange, oi as patchSource, YV as peachHistory, YV as peachHistory$1, nye as pendingGenres, wOe as percentText, Rye as pickOrganizeFolder, Wye as planSummary, d3 as playedFor, EOe as playedItemUrl, fF as pollInterval, ds as popCount, nwe as posterUrl, kW as previewLibraryColor, Lye as previewOrganize, Bve as previewUrl, Hle as problemDestination, yF as progressText, YH as providerIcon, _ye as pruneText, DX as purgeCount, Xye as purgeOrphan, Cz as pv, Ofe as qE, U as queryClient, dz as r2, bke as radarRows, kOe as radialArc, AOe as radialBarSize, OOe as radialCeiling, DOe as radialSlices, Bj as randomId, vke as rankDetail, yke as rankShares, p3 as reachedShare, xF as readableErrorHeadline, VTe as recommendationScore, cye as recordGenre, Qye as recordsText, swe as recreatePlaylist, ewe as refreshPlaylists, tl as relayoutCovers, ci as reloadFollowManage, dye as reloadReview, yTe as rememberShape, Bye as rememberTemplates, Jr as removeAlias, ti as removeFeed, Gr as removeSource, dke as removeTasteSource, b$ as removeWants, Yr as renameAliasGroup, iwe as renamePlaylist, IOe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, IK as require_with_selector, NCe as resetWants, Fn as resolveFollowSort, Wf as resolveStartTime, twe as resumeAssetId, qve as reviewGroupingOptions, pbe as reviewSummary, Yve as reviewWindow, eye as rowEvidence, UY as rowFieldName, pJ as rowPaginationFeature, PJ as rowSelectionFeature, qJ as rowSortingFeature, HY as rowSubject, tye as rowTags, $ve as rowTitle, efe as s5, Xr as saveCredential, abe as scanLine, Oye as schedulePollInterval, FCe as searchNote, Zve as selectReviewRange, Fr as selectionState, ei as setFeedEnabled, Wr as setSourceEnabled, dV as settingsPath, Tve as sharedNamePrefix, XV as shellNavigate, y8 as showToast, sn as siteMarkUrl, oq as skipFirstRun, tF as sortCx, _r as sortLabel, Ht as sourceDefaultCost, hi as sourceIconUrl, cbe as sourceMeta, ns as spinnerHtml, Df as spring, Rz as spriteGlyph, Hr as startCheck, hye as startLinkCheck, gye as startLinkPrune, zye as startOrganize, Ur as startResolve, nbe as startResourceApply, tbe as startResourceScan, uke as startTasteRefresh, Rle as statusLabel, Ive as statusLine, yr as statusText, TA as storeJavLayout, oye as submitDecision, OF as summaryItems, Yq as tableFeatures, sq as tableMemo, Mr as tableRows, Vle as taskIssues, F3 as tasteDate, gke as tasteDimensions, hke as tasteHours, N3 as tasteKey, ake as tasteRefetchInterval, oke as tasteTime, Uu as time, gfe as tl, Ir as toggleGroup, I3 as topScores, yfe as uo, AH as useAction, RZ as useBackgroundJob, tu as useConstant, FF as useHorizontalScroller, nu as useIsomorphicLayoutEffect, jW as useLibraryTints, Ct as useMutation, iV as useOverlayScrollbar, St as useQuery, A as useQueryClient, Ay as useReducedMotion, Dye as useRunSchedule, Tye as useSaveFollowSchedule, pX as useSaveSettings, kye as useSaveThumbnailMode, JJ as useTable, dY as useTablePreferences, Mve as victimBytes, PCe as wantName, TOe as watchNote, f3 as watchedShare, Hs as wireHorizontalScroller, Vye as withOrganizeJob };-//# debugId=8ab42d12-2a1c-4a62-816c-896b583719ac\ No newline at end of file+//# debugId=003e0830-a951-4549-8fe0-edbab82a74ef\ No newline at end of file